Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libSM 1.2.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libsm/-/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/libsm/-/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='libSM'
    684 PACKAGE_TARNAME='libSM'
    685 PACKAGE_VERSION='1.2.4'
    686 PACKAGE_STRING='libSM 1.2.4'
    687 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libsm/-/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 WITH_LIBUUID_FALSE
    728 WITH_LIBUUID_TRUE
    729 UUID_PC
    730 UUID_LIB_PRIVATE
    731 LIBUUID_LIBS
    732 LIBUUID_CFLAGS
    733 SM_LIBS
    734 SM_CFLAGS
    735 HAVE_STYLESHEETS_FALSE
    736 HAVE_STYLESHEETS_TRUE
    737 XSL_STYLESHEET
    738 STYLESHEET_SRCDIR
    739 XORG_SGML_PATH
    740 HAVE_XSLTPROC_FALSE
    741 HAVE_XSLTPROC_TRUE
    742 XSLTPROC
    743 HAVE_FOP_FALSE
    744 HAVE_FOP_TRUE
    745 FOP
    746 HAVE_XMLTO_FALSE
    747 HAVE_XMLTO_TRUE
    748 HAVE_XMLTO_TEXT_FALSE
    749 HAVE_XMLTO_TEXT_TRUE
    750 XMLTO
    751 ENABLE_DOCS_FALSE
    752 ENABLE_DOCS_TRUE
    753 MAN_SUBSTS
    754 XORG_MAN_PAGE
    755 ADMIN_MAN_DIR
    756 DRIVER_MAN_DIR
    757 MISC_MAN_DIR
    758 FILE_MAN_DIR
    759 LIB_MAN_DIR
    760 APP_MAN_DIR
    761 ADMIN_MAN_SUFFIX
    762 DRIVER_MAN_SUFFIX
    763 MISC_MAN_SUFFIX
    764 FILE_MAN_SUFFIX
    765 LIB_MAN_SUFFIX
    766 APP_MAN_SUFFIX
    767 INSTALL_CMD
    768 PKG_CONFIG_LIBDIR
    769 PKG_CONFIG_PATH
    770 PKG_CONFIG
    771 CHANGELOG_CMD
    772 STRICT_CFLAGS
    773 CWARNFLAGS
    774 BASE_CFLAGS
    775 LT_SYS_LIBRARY_PATH
    776 OTOOL64
    777 OTOOL
    778 LIPO
    779 NMEDIT
    780 DSYMUTIL
    781 MANIFEST_TOOL
    782 RANLIB
    783 ac_ct_AR
    784 AR
    785 DLLTOOL
    786 OBJDUMP
    787 FILECMD
    788 LN_S
    789 NM
    790 ac_ct_DUMPBIN
    791 DUMPBIN
    792 LD
    793 FGREP
    794 EGREP
    795 GREP
    796 SED
    797 am__fastdepCC_FALSE
    798 am__fastdepCC_TRUE
    799 CCDEPMODE
    800 am__nodep
    801 AMDEPBACKSLASH
    802 AMDEP_FALSE
    803 AMDEP_TRUE
    804 am__include
    805 DEPDIR
    806 OBJEXT
    807 EXEEXT
    808 ac_ct_CC
    809 CPPFLAGS
    810 LDFLAGS
    811 CFLAGS
    812 CC
    813 host_os
    814 host_vendor
    815 host_cpu
    816 host
    817 build_os
    818 build_vendor
    819 build_cpu
    820 build
    821 LIBTOOL
    822 AM_BACKSLASH
    823 AM_DEFAULT_VERBOSITY
    824 AM_DEFAULT_V
    825 AM_V
    826 CSCOPE
    827 ETAGS
    828 CTAGS
    829 am__untar
    830 am__tar
    831 AMTAR
    832 am__leading_dot
    833 SET_MAKE
    834 AWK
    835 mkdir_p
    836 MKDIR_P
    837 INSTALL_STRIP_PROGRAM
    838 STRIP
    839 install_sh
    840 MAKEINFO
    841 AUTOHEADER
    842 AUTOMAKE
    843 AUTOCONF
    844 ACLOCAL
    845 VERSION
    846 PACKAGE
    847 CYGPATH_W
    848 am__isrc
    849 INSTALL_DATA
    850 INSTALL_SCRIPT
    851 INSTALL_PROGRAM
    852 target_alias
    853 host_alias
    854 build_alias
    855 LIBS
    856 ECHO_T
    857 ECHO_N
    858 ECHO_C
    859 DEFS
    860 mandir
    861 localedir
    862 libdir
    863 psdir
    864 pdfdir
    865 dvidir
    866 htmldir
    867 infodir
    868 docdir
    869 oldincludedir
    870 includedir
    871 runstatedir
    872 localstatedir
    873 sharedstatedir
    874 sysconfdir
    875 datadir
    876 datarootdir
    877 libexecdir
    878 sbindir
    879 bindir
    880 program_transform_name
    881 prefix
    882 exec_prefix
    883 PACKAGE_URL
    884 PACKAGE_BUGREPORT
    885 PACKAGE_STRING
    886 PACKAGE_VERSION
    887 PACKAGE_TARNAME
    888 PACKAGE_NAME
    889 PATH_SEPARATOR
    890 SHELL
    891 am__quote'
    892 ac_subst_files=''
    893 ac_user_opts='
    894 enable_option_checking
    895 enable_silent_rules
    896 enable_shared
    897 enable_static
    898 with_pic
    899 enable_fast_install
    900 with_aix_soname
    901 enable_dependency_tracking
    902 with_gnu_ld
    903 with_sysroot
    904 enable_libtool_lock
    905 enable_selective_werror
    906 enable_strict_compilation
    907 enable_docs
    908 with_xmlto
    909 with_fop
    910 with_xsltproc
    911 enable_unix_transport
    912 enable_tcp_transport
    913 enable_ipv6
    914 enable_local_transport
    915 with_libuuid
    916 '
    917       ac_precious_vars='build_alias
    918 host_alias
    919 target_alias
    920 CC
    921 CFLAGS
    922 LDFLAGS
    923 LIBS
    924 CPPFLAGS
    925 LT_SYS_LIBRARY_PATH
    926 PKG_CONFIG
    927 PKG_CONFIG_PATH
    928 PKG_CONFIG_LIBDIR
    929 XMLTO
    930 FOP
    931 XSLTPROC
    932 SM_CFLAGS
    933 SM_LIBS
    934 LIBUUID_CFLAGS
    935 LIBUUID_LIBS'
    936 
    937 
    938 # Initialize some variables set by options.
    939 ac_init_help=
    940 ac_init_version=false
    941 ac_unrecognized_opts=
    942 ac_unrecognized_sep=
    943 # The variables have the same names as the options, with
    944 # dashes changed to underlines.
    945 cache_file=/dev/null
    946 exec_prefix=NONE
    947 no_create=
    948 no_recursion=
    949 prefix=NONE
    950 program_prefix=NONE
    951 program_suffix=NONE
    952 program_transform_name=s,x,x,
    953 silent=
    954 site=
    955 srcdir=
    956 verbose=
    957 x_includes=NONE
    958 x_libraries=NONE
    959 
    960 # Installation directory options.
    961 # These are left unexpanded so users can "make install exec_prefix=/foo"
    962 # and all the variables that are supposed to be based on exec_prefix
    963 # by default will actually change.
    964 # Use braces instead of parens because sh, perl, etc. also accept them.
    965 # (The list follows the same order as the GNU Coding Standards.)
    966 bindir='${exec_prefix}/bin'
    967 sbindir='${exec_prefix}/sbin'
    968 libexecdir='${exec_prefix}/libexec'
    969 datarootdir='${prefix}/share'
    970 datadir='${datarootdir}'
    971 sysconfdir='${prefix}/etc'
    972 sharedstatedir='${prefix}/com'
    973 localstatedir='${prefix}/var'
    974 runstatedir='${localstatedir}/run'
    975 includedir='${prefix}/include'
    976 oldincludedir='/usr/include'
    977 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    978 infodir='${datarootdir}/info'
    979 htmldir='${docdir}'
    980 dvidir='${docdir}'
    981 pdfdir='${docdir}'
    982 psdir='${docdir}'
    983 libdir='${exec_prefix}/lib'
    984 localedir='${datarootdir}/locale'
    985 mandir='${datarootdir}/man'
    986 
    987 ac_prev=
    988 ac_dashdash=
    989 for ac_option
    990 do
    991   # If the previous option needs an argument, assign it.
    992   if test -n "$ac_prev"; then
    993     eval $ac_prev=\$ac_option
    994     ac_prev=
    995     continue
    996   fi
    997 
    998   case $ac_option in
    999   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1000   *=)   ac_optarg= ;;
   1001   *)    ac_optarg=yes ;;
   1002   esac
   1003 
   1004   case $ac_dashdash$ac_option in
   1005   --)
   1006     ac_dashdash=yes ;;
   1007 
   1008   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1009     ac_prev=bindir ;;
   1010   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1011     bindir=$ac_optarg ;;
   1012 
   1013   -build | --build | --buil | --bui | --bu)
   1014     ac_prev=build_alias ;;
   1015   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1016     build_alias=$ac_optarg ;;
   1017 
   1018   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1019   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1020     ac_prev=cache_file ;;
   1021   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1022   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1023     cache_file=$ac_optarg ;;
   1024 
   1025   --config-cache | -C)
   1026     cache_file=config.cache ;;
   1027 
   1028   -datadir | --datadir | --datadi | --datad)
   1029     ac_prev=datadir ;;
   1030   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1031     datadir=$ac_optarg ;;
   1032 
   1033   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1034   | --dataroo | --dataro | --datar)
   1035     ac_prev=datarootdir ;;
   1036   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1037   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1038     datarootdir=$ac_optarg ;;
   1039 
   1040   -disable-* | --disable-*)
   1041     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1042     # Reject names that are not valid shell variable names.
   1043     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1044       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1045     ac_useropt_orig=$ac_useropt
   1046     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1047     case $ac_user_opts in
   1048       *"
   1049 "enable_$ac_useropt"
   1050 "*) ;;
   1051       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1052 	 ac_unrecognized_sep=', ';;
   1053     esac
   1054     eval enable_$ac_useropt=no ;;
   1055 
   1056   -docdir | --docdir | --docdi | --doc | --do)
   1057     ac_prev=docdir ;;
   1058   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1059     docdir=$ac_optarg ;;
   1060 
   1061   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1062     ac_prev=dvidir ;;
   1063   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1064     dvidir=$ac_optarg ;;
   1065 
   1066   -enable-* | --enable-*)
   1067     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1068     # Reject names that are not valid shell variable names.
   1069     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1070       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1071     ac_useropt_orig=$ac_useropt
   1072     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1073     case $ac_user_opts in
   1074       *"
   1075 "enable_$ac_useropt"
   1076 "*) ;;
   1077       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1078 	 ac_unrecognized_sep=', ';;
   1079     esac
   1080     eval enable_$ac_useropt=\$ac_optarg ;;
   1081 
   1082   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1083   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1084   | --exec | --exe | --ex)
   1085     ac_prev=exec_prefix ;;
   1086   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1087   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1088   | --exec=* | --exe=* | --ex=*)
   1089     exec_prefix=$ac_optarg ;;
   1090 
   1091   -gas | --gas | --ga | --g)
   1092     # Obsolete; use --with-gas.
   1093     with_gas=yes ;;
   1094 
   1095   -help | --help | --hel | --he | -h)
   1096     ac_init_help=long ;;
   1097   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1098     ac_init_help=recursive ;;
   1099   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1100     ac_init_help=short ;;
   1101 
   1102   -host | --host | --hos | --ho)
   1103     ac_prev=host_alias ;;
   1104   -host=* | --host=* | --hos=* | --ho=*)
   1105     host_alias=$ac_optarg ;;
   1106 
   1107   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1108     ac_prev=htmldir ;;
   1109   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1110   | --ht=*)
   1111     htmldir=$ac_optarg ;;
   1112 
   1113   -includedir | --includedir | --includedi | --included | --include \
   1114   | --includ | --inclu | --incl | --inc)
   1115     ac_prev=includedir ;;
   1116   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1117   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1118     includedir=$ac_optarg ;;
   1119 
   1120   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1121     ac_prev=infodir ;;
   1122   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1123     infodir=$ac_optarg ;;
   1124 
   1125   -libdir | --libdir | --libdi | --libd)
   1126     ac_prev=libdir ;;
   1127   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1128     libdir=$ac_optarg ;;
   1129 
   1130   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1131   | --libexe | --libex | --libe)
   1132     ac_prev=libexecdir ;;
   1133   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1134   | --libexe=* | --libex=* | --libe=*)
   1135     libexecdir=$ac_optarg ;;
   1136 
   1137   -localedir | --localedir | --localedi | --localed | --locale)
   1138     ac_prev=localedir ;;
   1139   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1140     localedir=$ac_optarg ;;
   1141 
   1142   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1143   | --localstate | --localstat | --localsta | --localst | --locals)
   1144     ac_prev=localstatedir ;;
   1145   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1146   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1147     localstatedir=$ac_optarg ;;
   1148 
   1149   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1150     ac_prev=mandir ;;
   1151   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1152     mandir=$ac_optarg ;;
   1153 
   1154   -nfp | --nfp | --nf)
   1155     # Obsolete; use --without-fp.
   1156     with_fp=no ;;
   1157 
   1158   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1159   | --no-cr | --no-c | -n)
   1160     no_create=yes ;;
   1161 
   1162   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1163   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1164     no_recursion=yes ;;
   1165 
   1166   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1167   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1168   | --oldin | --oldi | --old | --ol | --o)
   1169     ac_prev=oldincludedir ;;
   1170   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1171   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1172   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1173     oldincludedir=$ac_optarg ;;
   1174 
   1175   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1176     ac_prev=prefix ;;
   1177   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1178     prefix=$ac_optarg ;;
   1179 
   1180   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1181   | --program-pre | --program-pr | --program-p)
   1182     ac_prev=program_prefix ;;
   1183   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1184   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1185     program_prefix=$ac_optarg ;;
   1186 
   1187   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1188   | --program-suf | --program-su | --program-s)
   1189     ac_prev=program_suffix ;;
   1190   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1191   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1192     program_suffix=$ac_optarg ;;
   1193 
   1194   -program-transform-name | --program-transform-name \
   1195   | --program-transform-nam | --program-transform-na \
   1196   | --program-transform-n | --program-transform- \
   1197   | --program-transform | --program-transfor \
   1198   | --program-transfo | --program-transf \
   1199   | --program-trans | --program-tran \
   1200   | --progr-tra | --program-tr | --program-t)
   1201     ac_prev=program_transform_name ;;
   1202   -program-transform-name=* | --program-transform-name=* \
   1203   | --program-transform-nam=* | --program-transform-na=* \
   1204   | --program-transform-n=* | --program-transform-=* \
   1205   | --program-transform=* | --program-transfor=* \
   1206   | --program-transfo=* | --program-transf=* \
   1207   | --program-trans=* | --program-tran=* \
   1208   | --progr-tra=* | --program-tr=* | --program-t=*)
   1209     program_transform_name=$ac_optarg ;;
   1210 
   1211   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1212     ac_prev=pdfdir ;;
   1213   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1214     pdfdir=$ac_optarg ;;
   1215 
   1216   -psdir | --psdir | --psdi | --psd | --ps)
   1217     ac_prev=psdir ;;
   1218   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1219     psdir=$ac_optarg ;;
   1220 
   1221   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1222   | -silent | --silent | --silen | --sile | --sil)
   1223     silent=yes ;;
   1224 
   1225   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1226   | --runstate | --runstat | --runsta | --runst | --runs \
   1227   | --run | --ru | --r)
   1228     ac_prev=runstatedir ;;
   1229   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1230   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1231   | --run=* | --ru=* | --r=*)
   1232     runstatedir=$ac_optarg ;;
   1233 
   1234   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1235     ac_prev=sbindir ;;
   1236   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1237   | --sbi=* | --sb=*)
   1238     sbindir=$ac_optarg ;;
   1239 
   1240   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1241   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1242   | --sharedst | --shareds | --shared | --share | --shar \
   1243   | --sha | --sh)
   1244     ac_prev=sharedstatedir ;;
   1245   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1246   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1247   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1248   | --sha=* | --sh=*)
   1249     sharedstatedir=$ac_optarg ;;
   1250 
   1251   -site | --site | --sit)
   1252     ac_prev=site ;;
   1253   -site=* | --site=* | --sit=*)
   1254     site=$ac_optarg ;;
   1255 
   1256   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1257     ac_prev=srcdir ;;
   1258   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1259     srcdir=$ac_optarg ;;
   1260 
   1261   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1262   | --syscon | --sysco | --sysc | --sys | --sy)
   1263     ac_prev=sysconfdir ;;
   1264   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1265   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1266     sysconfdir=$ac_optarg ;;
   1267 
   1268   -target | --target | --targe | --targ | --tar | --ta | --t)
   1269     ac_prev=target_alias ;;
   1270   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1271     target_alias=$ac_optarg ;;
   1272 
   1273   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1274     verbose=yes ;;
   1275 
   1276   -version | --version | --versio | --versi | --vers | -V)
   1277     ac_init_version=: ;;
   1278 
   1279   -with-* | --with-*)
   1280     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1281     # Reject names that are not valid shell variable names.
   1282     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1283       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1284     ac_useropt_orig=$ac_useropt
   1285     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1286     case $ac_user_opts in
   1287       *"
   1288 "with_$ac_useropt"
   1289 "*) ;;
   1290       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1291 	 ac_unrecognized_sep=', ';;
   1292     esac
   1293     eval with_$ac_useropt=\$ac_optarg ;;
   1294 
   1295   -without-* | --without-*)
   1296     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1297     # Reject names that are not valid shell variable names.
   1298     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1299       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1300     ac_useropt_orig=$ac_useropt
   1301     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1302     case $ac_user_opts in
   1303       *"
   1304 "with_$ac_useropt"
   1305 "*) ;;
   1306       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1307 	 ac_unrecognized_sep=', ';;
   1308     esac
   1309     eval with_$ac_useropt=no ;;
   1310 
   1311   --x)
   1312     # Obsolete; use --with-x.
   1313     with_x=yes ;;
   1314 
   1315   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1316   | --x-incl | --x-inc | --x-in | --x-i)
   1317     ac_prev=x_includes ;;
   1318   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1319   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1320     x_includes=$ac_optarg ;;
   1321 
   1322   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1323   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1324     ac_prev=x_libraries ;;
   1325   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1326   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1327     x_libraries=$ac_optarg ;;
   1328 
   1329   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1330 Try \`$0 --help' for more information"
   1331     ;;
   1332 
   1333   *=*)
   1334     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1335     # Reject names that are not valid shell variable names.
   1336     case $ac_envvar in #(
   1337       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1338       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1339     esac
   1340     eval $ac_envvar=\$ac_optarg
   1341     export $ac_envvar ;;
   1342 
   1343   *)
   1344     # FIXME: should be removed in autoconf 3.0.
   1345     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1346     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1347       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1348     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1349     ;;
   1350 
   1351   esac
   1352 done
   1353 
   1354 if test -n "$ac_prev"; then
   1355   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1356   as_fn_error $? "missing argument to $ac_option"
   1357 fi
   1358 
   1359 if test -n "$ac_unrecognized_opts"; then
   1360   case $enable_option_checking in
   1361     no) ;;
   1362     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1363     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1364   esac
   1365 fi
   1366 
   1367 # Check all directory arguments for consistency.
   1368 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1369 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1370 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1371 		libdir localedir mandir runstatedir
   1372 do
   1373   eval ac_val=\$$ac_var
   1374   # Remove trailing slashes.
   1375   case $ac_val in
   1376     */ )
   1377       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1378       eval $ac_var=\$ac_val;;
   1379   esac
   1380   # Be sure to have absolute directory names.
   1381   case $ac_val in
   1382     [\\/$]* | ?:[\\/]* )  continue;;
   1383     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1384   esac
   1385   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1386 done
   1387 
   1388 # There might be people who depend on the old broken behavior: `$host'
   1389 # used to hold the argument of --host etc.
   1390 # FIXME: To remove some day.
   1391 build=$build_alias
   1392 host=$host_alias
   1393 target=$target_alias
   1394 
   1395 # FIXME: To remove some day.
   1396 if test "x$host_alias" != x; then
   1397   if test "x$build_alias" = x; then
   1398     cross_compiling=maybe
   1399   elif test "x$build_alias" != "x$host_alias"; then
   1400     cross_compiling=yes
   1401   fi
   1402 fi
   1403 
   1404 ac_tool_prefix=
   1405 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1406 
   1407 test "$silent" = yes && exec 6>/dev/null
   1408 
   1409 
   1410 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1411 ac_ls_di=`ls -di .` &&
   1412 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1413   as_fn_error $? "working directory cannot be determined"
   1414 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1415   as_fn_error $? "pwd does not report name of working directory"
   1416 
   1417 
   1418 # Find the source files, if location was not specified.
   1419 if test -z "$srcdir"; then
   1420   ac_srcdir_defaulted=yes
   1421   # Try the directory containing this script, then the parent directory.
   1422   ac_confdir=`$as_dirname -- "$as_myself" ||
   1423 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1424 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1425 	 X"$as_myself" : 'X\(//\)$' \| \
   1426 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1427 printf "%s\n" X"$as_myself" |
   1428     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1429 	    s//\1/
   1430 	    q
   1431 	  }
   1432 	  /^X\(\/\/\)[^/].*/{
   1433 	    s//\1/
   1434 	    q
   1435 	  }
   1436 	  /^X\(\/\/\)$/{
   1437 	    s//\1/
   1438 	    q
   1439 	  }
   1440 	  /^X\(\/\).*/{
   1441 	    s//\1/
   1442 	    q
   1443 	  }
   1444 	  s/.*/./; q'`
   1445   srcdir=$ac_confdir
   1446   if test ! -r "$srcdir/$ac_unique_file"; then
   1447     srcdir=..
   1448   fi
   1449 else
   1450   ac_srcdir_defaulted=no
   1451 fi
   1452 if test ! -r "$srcdir/$ac_unique_file"; then
   1453   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1454   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1455 fi
   1456 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1457 ac_abs_confdir=`(
   1458 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1459 	pwd)`
   1460 # When building in place, set srcdir=.
   1461 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1462   srcdir=.
   1463 fi
   1464 # Remove unnecessary trailing slashes from srcdir.
   1465 # Double slashes in file names in object file debugging info
   1466 # mess up M-x gdb in Emacs.
   1467 case $srcdir in
   1468 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1469 esac
   1470 for ac_var in $ac_precious_vars; do
   1471   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1472   eval ac_env_${ac_var}_value=\$${ac_var}
   1473   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1474   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1475 done
   1476 
   1477 #
   1478 # Report the --help message.
   1479 #
   1480 if test "$ac_init_help" = "long"; then
   1481   # Omit some internal or obsolete options to make the list less imposing.
   1482   # This message is too long to be a string in the A/UX 3.1 sh.
   1483   cat <<_ACEOF
   1484 \`configure' configures libSM 1.2.4 to adapt to many kinds of systems.
   1485 
   1486 Usage: $0 [OPTION]... [VAR=VALUE]...
   1487 
   1488 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1489 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1490 
   1491 Defaults for the options are specified in brackets.
   1492 
   1493 Configuration:
   1494   -h, --help              display this help and exit
   1495       --help=short        display options specific to this package
   1496       --help=recursive    display the short help of all the included packages
   1497   -V, --version           display version information and exit
   1498   -q, --quiet, --silent   do not print \`checking ...' messages
   1499       --cache-file=FILE   cache test results in FILE [disabled]
   1500   -C, --config-cache      alias for \`--cache-file=config.cache'
   1501   -n, --no-create         do not create output files
   1502       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1503 
   1504 Installation directories:
   1505   --prefix=PREFIX         install architecture-independent files in PREFIX
   1506                           [$ac_default_prefix]
   1507   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1508                           [PREFIX]
   1509 
   1510 By default, \`make install' will install all the files in
   1511 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1512 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1513 for instance \`--prefix=\$HOME'.
   1514 
   1515 For better control, use the options below.
   1516 
   1517 Fine tuning of the installation directories:
   1518   --bindir=DIR            user executables [EPREFIX/bin]
   1519   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1520   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1521   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1522   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1523   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1524   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1525   --libdir=DIR            object code libraries [EPREFIX/lib]
   1526   --includedir=DIR        C header files [PREFIX/include]
   1527   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1528   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1529   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1530   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1531   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1532   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1533   --docdir=DIR            documentation root [DATAROOTDIR/doc/libSM]
   1534   --htmldir=DIR           html documentation [DOCDIR]
   1535   --dvidir=DIR            dvi documentation [DOCDIR]
   1536   --pdfdir=DIR            pdf documentation [DOCDIR]
   1537   --psdir=DIR             ps documentation [DOCDIR]
   1538 _ACEOF
   1539 
   1540   cat <<\_ACEOF
   1541 
   1542 Program names:
   1543   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1544   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1545   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1546 
   1547 System types:
   1548   --build=BUILD     configure for building on BUILD [guessed]
   1549   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1550 _ACEOF
   1551 fi
   1552 
   1553 if test -n "$ac_init_help"; then
   1554   case $ac_init_help in
   1555      short | recursive ) echo "Configuration of libSM 1.2.4:";;
   1556    esac
   1557   cat <<\_ACEOF
   1558 
   1559 Optional Features:
   1560   --disable-option-checking  ignore unrecognized --enable/--with options
   1561   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1562   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1563   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1564   --disable-silent-rules  verbose build output (undo: "make V=0")
   1565   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1566   --enable-static[=PKGS]  build static libraries [default=yes]
   1567   --enable-fast-install[=PKGS]
   1568                           optimize for fast installation [default=yes]
   1569   --enable-dependency-tracking
   1570                           do not reject slow dependency extractors
   1571   --disable-dependency-tracking
   1572                           speeds up one-time build
   1573   --disable-libtool-lock  avoid locking (might break parallel builds)
   1574   --disable-selective-werror
   1575                           Turn off selective compiler errors. (default:
   1576                           enabled)
   1577   --enable-strict-compilation
   1578                           Enable all warnings from compiler and make them
   1579                           errors (default: disabled)
   1580   --enable-docs           Enable building the documentation (default: yes)
   1581   --enable-unix-transport Enable UNIX domain socket transport
   1582   --enable-tcp-transport  Enable TCP socket transport
   1583   --enable-ipv6           Enable IPv6 support
   1584   --enable-local-transport
   1585                           Enable os-specific local transport
   1586 
   1587 Optional Packages:
   1588   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1589   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1590   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1591                           both]
   1592   --with-aix-soname=aix|svr4|both
   1593                           shared library versioning (aka "SONAME") variant to
   1594                           provide on AIX, [default=aix].
   1595   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1596   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1597                           compiler's sysroot if not specified).
   1598   --with-xmlto            Use xmlto to regenerate documentation (default:
   1599                           auto)
   1600   --with-fop              Use fop to regenerate documentation (default: auto)
   1601   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1602                           (default: auto)
   1603   --with-libuuid          Build with libuuid support for client IDs
   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   SM_CFLAGS   C compiler flags for SM, overriding pkg-config
   1624   SM_LIBS     linker flags for SM, overriding pkg-config
   1625   LIBUUID_CFLAGS
   1626               C compiler flags for LIBUUID, overriding pkg-config
   1627   LIBUUID_LIBS
   1628               linker flags for LIBUUID, overriding pkg-config
   1629 
   1630 Use these variables to override the choices made by `configure' or to help
   1631 it to find libraries and programs with nonstandard names/locations.
   1632 
   1633 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libsm/-/issues>.
   1634 _ACEOF
   1635 ac_status=$?
   1636 fi
   1637 
   1638 if test "$ac_init_help" = "recursive"; then
   1639   # If there are subdirs, report their specific --help.
   1640   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1641     test -d "$ac_dir" ||
   1642       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1643       continue
   1644     ac_builddir=.
   1645 
   1646 case "$ac_dir" in
   1647 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1648 *)
   1649   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1650   # A ".." for each directory in $ac_dir_suffix.
   1651   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1652   case $ac_top_builddir_sub in
   1653   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1654   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1655   esac ;;
   1656 esac
   1657 ac_abs_top_builddir=$ac_pwd
   1658 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1659 # for backward compatibility:
   1660 ac_top_builddir=$ac_top_build_prefix
   1661 
   1662 case $srcdir in
   1663   .)  # We are building in place.
   1664     ac_srcdir=.
   1665     ac_top_srcdir=$ac_top_builddir_sub
   1666     ac_abs_top_srcdir=$ac_pwd ;;
   1667   [\\/]* | ?:[\\/]* )  # Absolute name.
   1668     ac_srcdir=$srcdir$ac_dir_suffix;
   1669     ac_top_srcdir=$srcdir
   1670     ac_abs_top_srcdir=$srcdir ;;
   1671   *) # Relative name.
   1672     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1673     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1674     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1675 esac
   1676 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1677 
   1678     cd "$ac_dir" || { ac_status=$?; continue; }
   1679     # Check for configure.gnu first; this name is used for a wrapper for
   1680     # Metaconfig's "Configure" on case-insensitive file systems.
   1681     if test -f "$ac_srcdir/configure.gnu"; then
   1682       echo &&
   1683       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1684     elif test -f "$ac_srcdir/configure"; then
   1685       echo &&
   1686       $SHELL "$ac_srcdir/configure" --help=recursive
   1687     else
   1688       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1689     fi || ac_status=$?
   1690     cd "$ac_pwd" || { ac_status=$?; break; }
   1691   done
   1692 fi
   1693 
   1694 test -n "$ac_init_help" && exit $ac_status
   1695 if $ac_init_version; then
   1696   cat <<\_ACEOF
   1697 libSM configure 1.2.4
   1698 generated by GNU Autoconf 2.71
   1699 
   1700 Copyright (C) 2021 Free Software Foundation, Inc.
   1701 This configure script is free software; the Free Software Foundation
   1702 gives unlimited permission to copy, distribute and modify it.
   1703 _ACEOF
   1704   exit
   1705 fi
   1706 
   1707 ## ------------------------ ##
   1708 ## Autoconf initialization. ##
   1709 ## ------------------------ ##
   1710 
   1711 # ac_fn_c_try_compile LINENO
   1712 # --------------------------
   1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1714 ac_fn_c_try_compile ()
   1715 {
   1716   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1717   rm -f conftest.$ac_objext conftest.beam
   1718   if { { ac_try="$ac_compile"
   1719 case "(($ac_try" in
   1720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1721   *) ac_try_echo=$ac_try;;
   1722 esac
   1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1724 printf "%s\n" "$ac_try_echo"; } >&5
   1725   (eval "$ac_compile") 2>conftest.err
   1726   ac_status=$?
   1727   if test -s conftest.err; then
   1728     grep -v '^ *+' conftest.err >conftest.er1
   1729     cat conftest.er1 >&5
   1730     mv -f conftest.er1 conftest.err
   1731   fi
   1732   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1733   test $ac_status = 0; } && {
   1734 	 test -z "$ac_c_werror_flag" ||
   1735 	 test ! -s conftest.err
   1736        } && test -s conftest.$ac_objext
   1737 then :
   1738   ac_retval=0
   1739 else $as_nop
   1740   printf "%s\n" "$as_me: failed program was:" >&5
   1741 sed 's/^/| /' conftest.$ac_ext >&5
   1742 
   1743 	ac_retval=1
   1744 fi
   1745   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1746   as_fn_set_status $ac_retval
   1747 
   1748 } # ac_fn_c_try_compile
   1749 
   1750 # ac_fn_c_try_link LINENO
   1751 # -----------------------
   1752 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1753 ac_fn_c_try_link ()
   1754 {
   1755   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1756   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1757   if { { ac_try="$ac_link"
   1758 case "(($ac_try" in
   1759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1760   *) ac_try_echo=$ac_try;;
   1761 esac
   1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1763 printf "%s\n" "$ac_try_echo"; } >&5
   1764   (eval "$ac_link") 2>conftest.err
   1765   ac_status=$?
   1766   if test -s conftest.err; then
   1767     grep -v '^ *+' conftest.err >conftest.er1
   1768     cat conftest.er1 >&5
   1769     mv -f conftest.er1 conftest.err
   1770   fi
   1771   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1772   test $ac_status = 0; } && {
   1773 	 test -z "$ac_c_werror_flag" ||
   1774 	 test ! -s conftest.err
   1775        } && test -s conftest$ac_exeext && {
   1776 	 test "$cross_compiling" = yes ||
   1777 	 test -x conftest$ac_exeext
   1778        }
   1779 then :
   1780   ac_retval=0
   1781 else $as_nop
   1782   printf "%s\n" "$as_me: failed program was:" >&5
   1783 sed 's/^/| /' conftest.$ac_ext >&5
   1784 
   1785 	ac_retval=1
   1786 fi
   1787   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1788   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1789   # interfere with the next link command; also delete a directory that is
   1790   # left behind by Apple's compiler.  We do this before executing the actions.
   1791   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1792   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1793   as_fn_set_status $ac_retval
   1794 
   1795 } # ac_fn_c_try_link
   1796 
   1797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1798 # -------------------------------------------------------
   1799 # Tests whether HEADER exists and can be compiled using the include files in
   1800 # INCLUDES, setting the cache variable VAR accordingly.
   1801 ac_fn_c_check_header_compile ()
   1802 {
   1803   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1805 printf %s "checking for $2... " >&6; }
   1806 if eval test \${$3+y}
   1807 then :
   1808   printf %s "(cached) " >&6
   1809 else $as_nop
   1810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1811 /* end confdefs.h.  */
   1812 $4
   1813 #include <$2>
   1814 _ACEOF
   1815 if ac_fn_c_try_compile "$LINENO"
   1816 then :
   1817   eval "$3=yes"
   1818 else $as_nop
   1819   eval "$3=no"
   1820 fi
   1821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1822 fi
   1823 eval ac_res=\$$3
   1824 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1825 printf "%s\n" "$ac_res" >&6; }
   1826   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1827 
   1828 } # ac_fn_c_check_header_compile
   1829 
   1830 # ac_fn_c_check_func LINENO FUNC VAR
   1831 # ----------------------------------
   1832 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1833 ac_fn_c_check_func ()
   1834 {
   1835   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1836   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1837 printf %s "checking for $2... " >&6; }
   1838 if eval test \${$3+y}
   1839 then :
   1840   printf %s "(cached) " >&6
   1841 else $as_nop
   1842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1843 /* end confdefs.h.  */
   1844 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1846 #define $2 innocuous_$2
   1847 
   1848 /* System header to define __stub macros and hopefully few prototypes,
   1849    which can conflict with char $2 (); below.  */
   1850 
   1851 #include <limits.h>
   1852 #undef $2
   1853 
   1854 /* Override any GCC internal prototype to avoid an error.
   1855    Use char because int might match the return type of a GCC
   1856    builtin and then its argument prototype would still apply.  */
   1857 #ifdef __cplusplus
   1858 extern "C"
   1859 #endif
   1860 char $2 ();
   1861 /* The GNU C library defines this for functions which it implements
   1862     to always fail with ENOSYS.  Some functions are actually named
   1863     something starting with __ and the normal name is an alias.  */
   1864 #if defined __stub_$2 || defined __stub___$2
   1865 choke me
   1866 #endif
   1867 
   1868 int
   1869 main (void)
   1870 {
   1871 return $2 ();
   1872   ;
   1873   return 0;
   1874 }
   1875 _ACEOF
   1876 if ac_fn_c_try_link "$LINENO"
   1877 then :
   1878   eval "$3=yes"
   1879 else $as_nop
   1880   eval "$3=no"
   1881 fi
   1882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1883     conftest$ac_exeext conftest.$ac_ext
   1884 fi
   1885 eval ac_res=\$$3
   1886 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1887 printf "%s\n" "$ac_res" >&6; }
   1888   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1889 
   1890 } # ac_fn_c_check_func
   1891 
   1892 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1893 # ------------------------------------------------------------------
   1894 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1895 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1896 ac_fn_check_decl ()
   1897 {
   1898   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1899   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1901 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1902 if eval test \${$3+y}
   1903 then :
   1904   printf %s "(cached) " >&6
   1905 else $as_nop
   1906   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1907   eval ac_save_FLAGS=\$$6
   1908   as_fn_append $6 " $5"
   1909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1910 /* end confdefs.h.  */
   1911 $4
   1912 int
   1913 main (void)
   1914 {
   1915 #ifndef $as_decl_name
   1916 #ifdef __cplusplus
   1917   (void) $as_decl_use;
   1918 #else
   1919   (void) $as_decl_name;
   1920 #endif
   1921 #endif
   1922 
   1923   ;
   1924   return 0;
   1925 }
   1926 _ACEOF
   1927 if ac_fn_c_try_compile "$LINENO"
   1928 then :
   1929   eval "$3=yes"
   1930 else $as_nop
   1931   eval "$3=no"
   1932 fi
   1933 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1934   eval $6=\$ac_save_FLAGS
   1935 
   1936 fi
   1937 eval ac_res=\$$3
   1938 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1939 printf "%s\n" "$ac_res" >&6; }
   1940   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1941 
   1942 } # ac_fn_check_decl
   1943 
   1944 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1945 # ----------------------------------------------------
   1946 # Tries to find if the field MEMBER exists in type AGGR, after including
   1947 # INCLUDES, setting cache variable VAR accordingly.
   1948 ac_fn_c_check_member ()
   1949 {
   1950   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1951   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1952 printf %s "checking for $2.$3... " >&6; }
   1953 if eval test \${$4+y}
   1954 then :
   1955   printf %s "(cached) " >&6
   1956 else $as_nop
   1957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1958 /* end confdefs.h.  */
   1959 $5
   1960 int
   1961 main (void)
   1962 {
   1963 static $2 ac_aggr;
   1964 if (ac_aggr.$3)
   1965 return 0;
   1966   ;
   1967   return 0;
   1968 }
   1969 _ACEOF
   1970 if ac_fn_c_try_compile "$LINENO"
   1971 then :
   1972   eval "$4=yes"
   1973 else $as_nop
   1974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1975 /* end confdefs.h.  */
   1976 $5
   1977 int
   1978 main (void)
   1979 {
   1980 static $2 ac_aggr;
   1981 if (sizeof ac_aggr.$3)
   1982 return 0;
   1983   ;
   1984   return 0;
   1985 }
   1986 _ACEOF
   1987 if ac_fn_c_try_compile "$LINENO"
   1988 then :
   1989   eval "$4=yes"
   1990 else $as_nop
   1991   eval "$4=no"
   1992 fi
   1993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1994 fi
   1995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1996 fi
   1997 eval ac_res=\$$4
   1998 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1999 printf "%s\n" "$ac_res" >&6; }
   2000   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2001 
   2002 } # ac_fn_c_check_member
   2003 
   2004 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2005 # -------------------------------------------
   2006 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2007 # variable VAR accordingly.
   2008 ac_fn_c_check_type ()
   2009 {
   2010   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2012 printf %s "checking for $2... " >&6; }
   2013 if eval test \${$3+y}
   2014 then :
   2015   printf %s "(cached) " >&6
   2016 else $as_nop
   2017   eval "$3=no"
   2018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2019 /* end confdefs.h.  */
   2020 $4
   2021 int
   2022 main (void)
   2023 {
   2024 if (sizeof ($2))
   2025 	 return 0;
   2026   ;
   2027   return 0;
   2028 }
   2029 _ACEOF
   2030 if ac_fn_c_try_compile "$LINENO"
   2031 then :
   2032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2033 /* end confdefs.h.  */
   2034 $4
   2035 int
   2036 main (void)
   2037 {
   2038 if (sizeof (($2)))
   2039 	    return 0;
   2040   ;
   2041   return 0;
   2042 }
   2043 _ACEOF
   2044 if ac_fn_c_try_compile "$LINENO"
   2045 then :
   2046 
   2047 else $as_nop
   2048   eval "$3=yes"
   2049 fi
   2050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2051 fi
   2052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2053 fi
   2054 eval ac_res=\$$3
   2055 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2056 printf "%s\n" "$ac_res" >&6; }
   2057   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2058 
   2059 } # ac_fn_c_check_type
   2060 ac_configure_args_raw=
   2061 for ac_arg
   2062 do
   2063   case $ac_arg in
   2064   *\'*)
   2065     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2066   esac
   2067   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2068 done
   2069 
   2070 case $ac_configure_args_raw in
   2071   *$as_nl*)
   2072     ac_safe_unquote= ;;
   2073   *)
   2074     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2075     ac_unsafe_a="$ac_unsafe_z#~"
   2076     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2077     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2078 esac
   2079 
   2080 cat >config.log <<_ACEOF
   2081 This file contains any messages produced by compilers while
   2082 running configure, to aid debugging if configure makes a mistake.
   2083 
   2084 It was created by libSM $as_me 1.2.4, which was
   2085 generated by GNU Autoconf 2.71.  Invocation command line was
   2086 
   2087   $ $0$ac_configure_args_raw
   2088 
   2089 _ACEOF
   2090 exec 5>>config.log
   2091 {
   2092 cat <<_ASUNAME
   2093 ## --------- ##
   2094 ## Platform. ##
   2095 ## --------- ##
   2096 
   2097 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2098 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2099 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2100 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2101 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2102 
   2103 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2104 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2105 
   2106 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2107 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2108 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2109 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2110 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2111 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2112 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2113 
   2114 _ASUNAME
   2115 
   2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2117 for as_dir in $PATH
   2118 do
   2119   IFS=$as_save_IFS
   2120   case $as_dir in #(((
   2121     '') as_dir=./ ;;
   2122     */) ;;
   2123     *) as_dir=$as_dir/ ;;
   2124   esac
   2125     printf "%s\n" "PATH: $as_dir"
   2126   done
   2127 IFS=$as_save_IFS
   2128 
   2129 } >&5
   2130 
   2131 cat >&5 <<_ACEOF
   2132 
   2133 
   2134 ## ----------- ##
   2135 ## Core tests. ##
   2136 ## ----------- ##
   2137 
   2138 _ACEOF
   2139 
   2140 
   2141 # Keep a trace of the command line.
   2142 # Strip out --no-create and --no-recursion so they do not pile up.
   2143 # Strip out --silent because we don't want to record it for future runs.
   2144 # Also quote any args containing shell meta-characters.
   2145 # Make two passes to allow for proper duplicate-argument suppression.
   2146 ac_configure_args=
   2147 ac_configure_args0=
   2148 ac_configure_args1=
   2149 ac_must_keep_next=false
   2150 for ac_pass in 1 2
   2151 do
   2152   for ac_arg
   2153   do
   2154     case $ac_arg in
   2155     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2156     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2157     | -silent | --silent | --silen | --sile | --sil)
   2158       continue ;;
   2159     *\'*)
   2160       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2161     esac
   2162     case $ac_pass in
   2163     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2164     2)
   2165       as_fn_append ac_configure_args1 " '$ac_arg'"
   2166       if test $ac_must_keep_next = true; then
   2167 	ac_must_keep_next=false # Got value, back to normal.
   2168       else
   2169 	case $ac_arg in
   2170 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2171 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2172 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2173 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2174 	    case "$ac_configure_args0 " in
   2175 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2176 	    esac
   2177 	    ;;
   2178 	  -* ) ac_must_keep_next=true ;;
   2179 	esac
   2180       fi
   2181       as_fn_append ac_configure_args " '$ac_arg'"
   2182       ;;
   2183     esac
   2184   done
   2185 done
   2186 { ac_configure_args0=; unset ac_configure_args0;}
   2187 { ac_configure_args1=; unset ac_configure_args1;}
   2188 
   2189 # When interrupted or exit'd, cleanup temporary files, and complete
   2190 # config.log.  We remove comments because anyway the quotes in there
   2191 # would cause problems or look ugly.
   2192 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2193 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2194 trap 'exit_status=$?
   2195   # Sanitize IFS.
   2196   IFS=" ""	$as_nl"
   2197   # Save into config.log some information that might help in debugging.
   2198   {
   2199     echo
   2200 
   2201     printf "%s\n" "## ---------------- ##
   2202 ## Cache variables. ##
   2203 ## ---------------- ##"
   2204     echo
   2205     # The following way of writing the cache mishandles newlines in values,
   2206 (
   2207   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2208     eval ac_val=\$$ac_var
   2209     case $ac_val in #(
   2210     *${as_nl}*)
   2211       case $ac_var in #(
   2212       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2213 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2214       esac
   2215       case $ac_var in #(
   2216       _ | IFS | as_nl) ;; #(
   2217       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2218       *) { eval $ac_var=; unset $ac_var;} ;;
   2219       esac ;;
   2220     esac
   2221   done
   2222   (set) 2>&1 |
   2223     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2224     *${as_nl}ac_space=\ *)
   2225       sed -n \
   2226 	"s/'\''/'\''\\\\'\'''\''/g;
   2227 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2228       ;; #(
   2229     *)
   2230       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2231       ;;
   2232     esac |
   2233     sort
   2234 )
   2235     echo
   2236 
   2237     printf "%s\n" "## ----------------- ##
   2238 ## Output variables. ##
   2239 ## ----------------- ##"
   2240     echo
   2241     for ac_var in $ac_subst_vars
   2242     do
   2243       eval ac_val=\$$ac_var
   2244       case $ac_val in
   2245       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2246       esac
   2247       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2248     done | sort
   2249     echo
   2250 
   2251     if test -n "$ac_subst_files"; then
   2252       printf "%s\n" "## ------------------- ##
   2253 ## File substitutions. ##
   2254 ## ------------------- ##"
   2255       echo
   2256       for ac_var in $ac_subst_files
   2257       do
   2258 	eval ac_val=\$$ac_var
   2259 	case $ac_val in
   2260 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2261 	esac
   2262 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2263       done | sort
   2264       echo
   2265     fi
   2266 
   2267     if test -s confdefs.h; then
   2268       printf "%s\n" "## ----------- ##
   2269 ## confdefs.h. ##
   2270 ## ----------- ##"
   2271       echo
   2272       cat confdefs.h
   2273       echo
   2274     fi
   2275     test "$ac_signal" != 0 &&
   2276       printf "%s\n" "$as_me: caught signal $ac_signal"
   2277     printf "%s\n" "$as_me: exit $exit_status"
   2278   } >&5
   2279   rm -f core *.core core.conftest.* &&
   2280     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2281     exit $exit_status
   2282 ' 0
   2283 for ac_signal in 1 2 13 15; do
   2284   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2285 done
   2286 ac_signal=0
   2287 
   2288 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2289 rm -f -r conftest* confdefs.h
   2290 
   2291 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2292 
   2293 # Predefined preprocessor variables.
   2294 
   2295 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2296 
   2297 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2298 
   2299 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2300 
   2301 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2302 
   2303 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2304 
   2305 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2306 
   2307 
   2308 # Let the site file select an alternate cache file if it wants to.
   2309 # Prefer an explicitly selected file to automatically selected ones.
   2310 if test -n "$CONFIG_SITE"; then
   2311   ac_site_files="$CONFIG_SITE"
   2312 elif test "x$prefix" != xNONE; then
   2313   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2314 else
   2315   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2316 fi
   2317 
   2318 for ac_site_file in $ac_site_files
   2319 do
   2320   case $ac_site_file in #(
   2321   */*) :
   2322      ;; #(
   2323   *) :
   2324     ac_site_file=./$ac_site_file ;;
   2325 esac
   2326   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2327     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2328 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2329     sed 's/^/| /' "$ac_site_file" >&5
   2330     . "$ac_site_file" \
   2331       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2332 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2333 as_fn_error $? "failed to load site script $ac_site_file
   2334 See \`config.log' for more details" "$LINENO" 5; }
   2335   fi
   2336 done
   2337 
   2338 if test -r "$cache_file"; then
   2339   # Some versions of bash will fail to source /dev/null (special files
   2340   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2341   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2342     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2343 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2344     case $cache_file in
   2345       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2346       *)                      . "./$cache_file";;
   2347     esac
   2348   fi
   2349 else
   2350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2351 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2352   >$cache_file
   2353 fi
   2354 
   2355 # Test code for whether the C compiler supports C89 (global declarations)
   2356 ac_c_conftest_c89_globals='
   2357 /* Does the compiler advertise C89 conformance?
   2358    Do not test the value of __STDC__, because some compilers set it to 0
   2359    while being otherwise adequately conformant. */
   2360 #if !defined __STDC__
   2361 # error "Compiler does not advertise C89 conformance"
   2362 #endif
   2363 
   2364 #include <stddef.h>
   2365 #include <stdarg.h>
   2366 struct stat;
   2367 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2368 struct buf { int x; };
   2369 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2370 static char *e (p, i)
   2371      char **p;
   2372      int i;
   2373 {
   2374   return p[i];
   2375 }
   2376 static char *f (char * (*g) (char **, int), char **p, ...)
   2377 {
   2378   char *s;
   2379   va_list v;
   2380   va_start (v,p);
   2381   s = g (p, va_arg (v,int));
   2382   va_end (v);
   2383   return s;
   2384 }
   2385 
   2386 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2387    function prototypes and stuff, but not \xHH hex character constants.
   2388    These do not provoke an error unfortunately, instead are silently treated
   2389    as an "x".  The following induces an error, until -std is added to get
   2390    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2391    array size at least.  It is necessary to write \x00 == 0 to get something
   2392    that is true only with -std.  */
   2393 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2394 
   2395 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2396    inside strings and character constants.  */
   2397 #define FOO(x) '\''x'\''
   2398 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2399 
   2400 int test (int i, double x);
   2401 struct s1 {int (*f) (int a);};
   2402 struct s2 {int (*f) (double a);};
   2403 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2404                int, int);'
   2405 
   2406 # Test code for whether the C compiler supports C89 (body of main).
   2407 ac_c_conftest_c89_main='
   2408 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2409 '
   2410 
   2411 # Test code for whether the C compiler supports C99 (global declarations)
   2412 ac_c_conftest_c99_globals='
   2413 // Does the compiler advertise C99 conformance?
   2414 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2415 # error "Compiler does not advertise C99 conformance"
   2416 #endif
   2417 
   2418 #include <stdbool.h>
   2419 extern int puts (const char *);
   2420 extern int printf (const char *, ...);
   2421 extern int dprintf (int, const char *, ...);
   2422 extern void *malloc (size_t);
   2423 
   2424 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2425 // dprintf is used instead of fprintf to avoid needing to declare
   2426 // FILE and stderr.
   2427 #define debug(...) dprintf (2, __VA_ARGS__)
   2428 #define showlist(...) puts (#__VA_ARGS__)
   2429 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2430 static void
   2431 test_varargs_macros (void)
   2432 {
   2433   int x = 1234;
   2434   int y = 5678;
   2435   debug ("Flag");
   2436   debug ("X = %d\n", x);
   2437   showlist (The first, second, and third items.);
   2438   report (x>y, "x is %d but y is %d", x, y);
   2439 }
   2440 
   2441 // Check long long types.
   2442 #define BIG64 18446744073709551615ull
   2443 #define BIG32 4294967295ul
   2444 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2445 #if !BIG_OK
   2446   #error "your preprocessor is broken"
   2447 #endif
   2448 #if BIG_OK
   2449 #else
   2450   #error "your preprocessor is broken"
   2451 #endif
   2452 static long long int bignum = -9223372036854775807LL;
   2453 static unsigned long long int ubignum = BIG64;
   2454 
   2455 struct incomplete_array
   2456 {
   2457   int datasize;
   2458   double data[];
   2459 };
   2460 
   2461 struct named_init {
   2462   int number;
   2463   const wchar_t *name;
   2464   double average;
   2465 };
   2466 
   2467 typedef const char *ccp;
   2468 
   2469 static inline int
   2470 test_restrict (ccp restrict text)
   2471 {
   2472   // See if C++-style comments work.
   2473   // Iterate through items via the restricted pointer.
   2474   // Also check for declarations in for loops.
   2475   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2476     continue;
   2477   return 0;
   2478 }
   2479 
   2480 // Check varargs and va_copy.
   2481 static bool
   2482 test_varargs (const char *format, ...)
   2483 {
   2484   va_list args;
   2485   va_start (args, format);
   2486   va_list args_copy;
   2487   va_copy (args_copy, args);
   2488 
   2489   const char *str = "";
   2490   int number = 0;
   2491   float fnumber = 0;
   2492 
   2493   while (*format)
   2494     {
   2495       switch (*format++)
   2496 	{
   2497 	case '\''s'\'': // string
   2498 	  str = va_arg (args_copy, const char *);
   2499 	  break;
   2500 	case '\''d'\'': // int
   2501 	  number = va_arg (args_copy, int);
   2502 	  break;
   2503 	case '\''f'\'': // float
   2504 	  fnumber = va_arg (args_copy, double);
   2505 	  break;
   2506 	default:
   2507 	  break;
   2508 	}
   2509     }
   2510   va_end (args_copy);
   2511   va_end (args);
   2512 
   2513   return *str && number && fnumber;
   2514 }
   2515 '
   2516 
   2517 # Test code for whether the C compiler supports C99 (body of main).
   2518 ac_c_conftest_c99_main='
   2519   // Check bool.
   2520   _Bool success = false;
   2521   success |= (argc != 0);
   2522 
   2523   // Check restrict.
   2524   if (test_restrict ("String literal") == 0)
   2525     success = true;
   2526   char *restrict newvar = "Another string";
   2527 
   2528   // Check varargs.
   2529   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2530   test_varargs_macros ();
   2531 
   2532   // Check flexible array members.
   2533   struct incomplete_array *ia =
   2534     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2535   ia->datasize = 10;
   2536   for (int i = 0; i < ia->datasize; ++i)
   2537     ia->data[i] = i * 1.234;
   2538 
   2539   // Check named initializers.
   2540   struct named_init ni = {
   2541     .number = 34,
   2542     .name = L"Test wide string",
   2543     .average = 543.34343,
   2544   };
   2545 
   2546   ni.number = 58;
   2547 
   2548   int dynamic_array[ni.number];
   2549   dynamic_array[0] = argv[0][0];
   2550   dynamic_array[ni.number - 1] = 543;
   2551 
   2552   // work around unused variable warnings
   2553   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2554 	 || dynamic_array[ni.number - 1] != 543);
   2555 '
   2556 
   2557 # Test code for whether the C compiler supports C11 (global declarations)
   2558 ac_c_conftest_c11_globals='
   2559 // Does the compiler advertise C11 conformance?
   2560 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2561 # error "Compiler does not advertise C11 conformance"
   2562 #endif
   2563 
   2564 // Check _Alignas.
   2565 char _Alignas (double) aligned_as_double;
   2566 char _Alignas (0) no_special_alignment;
   2567 extern char aligned_as_int;
   2568 char _Alignas (0) _Alignas (int) aligned_as_int;
   2569 
   2570 // Check _Alignof.
   2571 enum
   2572 {
   2573   int_alignment = _Alignof (int),
   2574   int_array_alignment = _Alignof (int[100]),
   2575   char_alignment = _Alignof (char)
   2576 };
   2577 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2578 
   2579 // Check _Noreturn.
   2580 int _Noreturn does_not_return (void) { for (;;) continue; }
   2581 
   2582 // Check _Static_assert.
   2583 struct test_static_assert
   2584 {
   2585   int x;
   2586   _Static_assert (sizeof (int) <= sizeof (long int),
   2587                   "_Static_assert does not work in struct");
   2588   long int y;
   2589 };
   2590 
   2591 // Check UTF-8 literals.
   2592 #define u8 syntax error!
   2593 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2594 
   2595 // Check duplicate typedefs.
   2596 typedef long *long_ptr;
   2597 typedef long int *long_ptr;
   2598 typedef long_ptr long_ptr;
   2599 
   2600 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2601 struct anonymous
   2602 {
   2603   union {
   2604     struct { int i; int j; };
   2605     struct { int k; long int l; } w;
   2606   };
   2607   int m;
   2608 } v1;
   2609 '
   2610 
   2611 # Test code for whether the C compiler supports C11 (body of main).
   2612 ac_c_conftest_c11_main='
   2613   _Static_assert ((offsetof (struct anonymous, i)
   2614 		   == offsetof (struct anonymous, w.k)),
   2615 		  "Anonymous union alignment botch");
   2616   v1.i = 2;
   2617   v1.w.k = 5;
   2618   ok |= v1.i != 5;
   2619 '
   2620 
   2621 # Test code for whether the C compiler supports C11 (complete).
   2622 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2623 ${ac_c_conftest_c99_globals}
   2624 ${ac_c_conftest_c11_globals}
   2625 
   2626 int
   2627 main (int argc, char **argv)
   2628 {
   2629   int ok = 0;
   2630   ${ac_c_conftest_c89_main}
   2631   ${ac_c_conftest_c99_main}
   2632   ${ac_c_conftest_c11_main}
   2633   return ok;
   2634 }
   2635 "
   2636 
   2637 # Test code for whether the C compiler supports C99 (complete).
   2638 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2639 ${ac_c_conftest_c99_globals}
   2640 
   2641 int
   2642 main (int argc, char **argv)
   2643 {
   2644   int ok = 0;
   2645   ${ac_c_conftest_c89_main}
   2646   ${ac_c_conftest_c99_main}
   2647   return ok;
   2648 }
   2649 "
   2650 
   2651 # Test code for whether the C compiler supports C89 (complete).
   2652 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2653 
   2654 int
   2655 main (int argc, char **argv)
   2656 {
   2657   int ok = 0;
   2658   ${ac_c_conftest_c89_main}
   2659   return ok;
   2660 }
   2661 "
   2662 
   2663 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2664 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2665 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2666 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2667 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2668 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2669 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2670 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2671 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2672 
   2673 # Auxiliary files required by this configure script.
   2674 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2675 
   2676 # Locations in which to look for auxiliary files.
   2677 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2678 
   2679 # Search for a directory containing all of the required auxiliary files,
   2680 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2681 # If we don't find one directory that contains all the files we need,
   2682 # we report the set of missing files from the *first* directory in
   2683 # $ac_aux_dir_candidates and give up.
   2684 ac_missing_aux_files=""
   2685 ac_first_candidate=:
   2686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2688 as_found=false
   2689 for as_dir in $ac_aux_dir_candidates
   2690 do
   2691   IFS=$as_save_IFS
   2692   case $as_dir in #(((
   2693     '') as_dir=./ ;;
   2694     */) ;;
   2695     *) as_dir=$as_dir/ ;;
   2696   esac
   2697   as_found=:
   2698 
   2699   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2700   ac_aux_dir_found=yes
   2701   ac_install_sh=
   2702   for ac_aux in $ac_aux_files
   2703   do
   2704     # As a special case, if "install-sh" is required, that requirement
   2705     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2706     # and $ac_install_sh is set appropriately for whichever one is found.
   2707     if test x"$ac_aux" = x"install-sh"
   2708     then
   2709       if test -f "${as_dir}install-sh"; then
   2710         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2711         ac_install_sh="${as_dir}install-sh -c"
   2712       elif test -f "${as_dir}install.sh"; then
   2713         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2714         ac_install_sh="${as_dir}install.sh -c"
   2715       elif test -f "${as_dir}shtool"; then
   2716         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2717         ac_install_sh="${as_dir}shtool install -c"
   2718       else
   2719         ac_aux_dir_found=no
   2720         if $ac_first_candidate; then
   2721           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2722         else
   2723           break
   2724         fi
   2725       fi
   2726     else
   2727       if test -f "${as_dir}${ac_aux}"; then
   2728         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2729       else
   2730         ac_aux_dir_found=no
   2731         if $ac_first_candidate; then
   2732           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2733         else
   2734           break
   2735         fi
   2736       fi
   2737     fi
   2738   done
   2739   if test "$ac_aux_dir_found" = yes; then
   2740     ac_aux_dir="$as_dir"
   2741     break
   2742   fi
   2743   ac_first_candidate=false
   2744 
   2745   as_found=false
   2746 done
   2747 IFS=$as_save_IFS
   2748 if $as_found
   2749 then :
   2750 
   2751 else $as_nop
   2752   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2753 fi
   2754 
   2755 
   2756 # These three variables are undocumented and unsupported,
   2757 # and are intended to be withdrawn in a future Autoconf release.
   2758 # They can cause serious problems if a builder's source tree is in a directory
   2759 # whose full name contains unusual characters.
   2760 if test -f "${ac_aux_dir}config.guess"; then
   2761   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2762 fi
   2763 if test -f "${ac_aux_dir}config.sub"; then
   2764   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2765 fi
   2766 if test -f "$ac_aux_dir/configure"; then
   2767   ac_configure="$SHELL ${ac_aux_dir}configure"
   2768 fi
   2769 
   2770 # Check that the precious variables saved in the cache have kept the same
   2771 # value.
   2772 ac_cache_corrupted=false
   2773 for ac_var in $ac_precious_vars; do
   2774   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2775   eval ac_new_set=\$ac_env_${ac_var}_set
   2776   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2777   eval ac_new_val=\$ac_env_${ac_var}_value
   2778   case $ac_old_set,$ac_new_set in
   2779     set,)
   2780       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2781 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2782       ac_cache_corrupted=: ;;
   2783     ,set)
   2784       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2785 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2786       ac_cache_corrupted=: ;;
   2787     ,);;
   2788     *)
   2789       if test "x$ac_old_val" != "x$ac_new_val"; then
   2790 	# differences in whitespace do not lead to failure.
   2791 	ac_old_val_w=`echo x $ac_old_val`
   2792 	ac_new_val_w=`echo x $ac_new_val`
   2793 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2794 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2795 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2796 	  ac_cache_corrupted=:
   2797 	else
   2798 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2799 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2800 	  eval $ac_var=\$ac_old_val
   2801 	fi
   2802 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2803 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2804 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2805 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2806       fi;;
   2807   esac
   2808   # Pass precious variables to config.status.
   2809   if test "$ac_new_set" = set; then
   2810     case $ac_new_val in
   2811     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2812     *) ac_arg=$ac_var=$ac_new_val ;;
   2813     esac
   2814     case " $ac_configure_args " in
   2815       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2816       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2817     esac
   2818   fi
   2819 done
   2820 if $ac_cache_corrupted; then
   2821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2822 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2823   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2824 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2825   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2826 	    and start over" "$LINENO" 5
   2827 fi
   2828 ## -------------------- ##
   2829 ## Main body of script. ##
   2830 ## -------------------- ##
   2831 
   2832 ac_ext=c
   2833 ac_cpp='$CPP $CPPFLAGS'
   2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2837 
   2838 
   2839 
   2840 ac_config_headers="$ac_config_headers config.h"
   2841 
   2842 
   2843 # Initialize Automake
   2844 am__api_version='1.16'
   2845 
   2846 
   2847 
   2848   # Find a good install program.  We prefer a C program (faster),
   2849 # so one script is as good as another.  But avoid the broken or
   2850 # incompatible versions:
   2851 # SysV /etc/install, /usr/sbin/install
   2852 # SunOS /usr/etc/install
   2853 # IRIX /sbin/install
   2854 # AIX /bin/install
   2855 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2856 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2857 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2858 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2859 # OS/2's system install, which has a completely different semantic
   2860 # ./install, which can be erroneously created by make from ./install.sh.
   2861 # Reject install programs that cannot install multiple files.
   2862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2863 printf %s "checking for a BSD-compatible install... " >&6; }
   2864 if test -z "$INSTALL"; then
   2865 if test ${ac_cv_path_install+y}
   2866 then :
   2867   printf %s "(cached) " >&6
   2868 else $as_nop
   2869   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2870 for as_dir in $PATH
   2871 do
   2872   IFS=$as_save_IFS
   2873   case $as_dir in #(((
   2874     '') as_dir=./ ;;
   2875     */) ;;
   2876     *) as_dir=$as_dir/ ;;
   2877   esac
   2878     # Account for fact that we put trailing slashes in our PATH walk.
   2879 case $as_dir in #((
   2880   ./ | /[cC]/* | \
   2881   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2882   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2883   /usr/ucb/* ) ;;
   2884   *)
   2885     # OSF1 and SCO ODT 3.0 have their own names for install.
   2886     # Don't use installbsd from OSF since it installs stuff as root
   2887     # by default.
   2888     for ac_prog in ginstall scoinst install; do
   2889       for ac_exec_ext in '' $ac_executable_extensions; do
   2890 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2891 	  if test $ac_prog = install &&
   2892 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2893 	    # AIX install.  It has an incompatible calling convention.
   2894 	    :
   2895 	  elif test $ac_prog = install &&
   2896 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2897 	    # program-specific install script used by HP pwplus--don't use.
   2898 	    :
   2899 	  else
   2900 	    rm -rf conftest.one conftest.two conftest.dir
   2901 	    echo one > conftest.one
   2902 	    echo two > conftest.two
   2903 	    mkdir conftest.dir
   2904 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2905 	      test -s conftest.one && test -s conftest.two &&
   2906 	      test -s conftest.dir/conftest.one &&
   2907 	      test -s conftest.dir/conftest.two
   2908 	    then
   2909 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2910 	      break 3
   2911 	    fi
   2912 	  fi
   2913 	fi
   2914       done
   2915     done
   2916     ;;
   2917 esac
   2918 
   2919   done
   2920 IFS=$as_save_IFS
   2921 
   2922 rm -rf conftest.one conftest.two conftest.dir
   2923 
   2924 fi
   2925   if test ${ac_cv_path_install+y}; then
   2926     INSTALL=$ac_cv_path_install
   2927   else
   2928     # As a last resort, use the slow shell script.  Don't cache a
   2929     # value for INSTALL within a source directory, because that will
   2930     # break other packages using the cache if that directory is
   2931     # removed, or if the value is a relative name.
   2932     INSTALL=$ac_install_sh
   2933   fi
   2934 fi
   2935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2936 printf "%s\n" "$INSTALL" >&6; }
   2937 
   2938 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2939 # It thinks the first close brace ends the variable substitution.
   2940 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2941 
   2942 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2943 
   2944 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2945 
   2946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2947 printf %s "checking whether build environment is sane... " >&6; }
   2948 # Reject unsafe characters in $srcdir or the absolute working directory
   2949 # name.  Accept space and tab only in the latter.
   2950 am_lf='
   2951 '
   2952 case `pwd` in
   2953   *[\\\"\#\$\&\'\`$am_lf]*)
   2954     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2955 esac
   2956 case $srcdir in
   2957   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2958     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2959 esac
   2960 
   2961 # Do 'set' in a subshell so we don't clobber the current shell's
   2962 # arguments.  Must try -L first in case configure is actually a
   2963 # symlink; some systems play weird games with the mod time of symlinks
   2964 # (eg FreeBSD returns the mod time of the symlink's containing
   2965 # directory).
   2966 if (
   2967    am_has_slept=no
   2968    for am_try in 1 2; do
   2969      echo "timestamp, slept: $am_has_slept" > conftest.file
   2970      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2971      if test "$*" = "X"; then
   2972 	# -L didn't work.
   2973 	set X `ls -t "$srcdir/configure" conftest.file`
   2974      fi
   2975      if test "$*" != "X $srcdir/configure conftest.file" \
   2976 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2977 
   2978 	# If neither matched, then we have a broken ls.  This can happen
   2979 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2980 	# broken ls alias from the environment.  This has actually
   2981 	# happened.  Such a system could not be considered "sane".
   2982 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2983   alias in your environment" "$LINENO" 5
   2984      fi
   2985      if test "$2" = conftest.file || test $am_try -eq 2; then
   2986        break
   2987      fi
   2988      # Just in case.
   2989      sleep 1
   2990      am_has_slept=yes
   2991    done
   2992    test "$2" = conftest.file
   2993    )
   2994 then
   2995    # Ok.
   2996    :
   2997 else
   2998    as_fn_error $? "newly created file is older than distributed files!
   2999 Check your system clock" "$LINENO" 5
   3000 fi
   3001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3002 printf "%s\n" "yes" >&6; }
   3003 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3004 # generated files are strictly newer.
   3005 am_sleep_pid=
   3006 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3007   ( sleep 1 ) &
   3008   am_sleep_pid=$!
   3009 fi
   3010 
   3011 rm -f conftest.file
   3012 
   3013 test "$program_prefix" != NONE &&
   3014   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3015 # Use a double $ so make ignores it.
   3016 test "$program_suffix" != NONE &&
   3017   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3018 # Double any \ or $.
   3019 # By default was `s,x,x', remove it if useless.
   3020 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3021 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3022 
   3023 
   3024 # Expand $ac_aux_dir to an absolute path.
   3025 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3026 
   3027 
   3028   if test x"${MISSING+set}" != xset; then
   3029   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3030 fi
   3031 # Use eval to expand $SHELL
   3032 if eval "$MISSING --is-lightweight"; then
   3033   am_missing_run="$MISSING "
   3034 else
   3035   am_missing_run=
   3036   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3037 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3038 fi
   3039 
   3040 if test x"${install_sh+set}" != xset; then
   3041   case $am_aux_dir in
   3042   *\ * | *\	*)
   3043     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3044   *)
   3045     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3046   esac
   3047 fi
   3048 
   3049 # Installed binaries are usually stripped using 'strip' when the user
   3050 # run "make install-strip".  However 'strip' might not be the right
   3051 # tool to use in cross-compilation environments, therefore Automake
   3052 # will honor the 'STRIP' environment variable to overrule this program.
   3053 if test "$cross_compiling" != no; then
   3054   if test -n "$ac_tool_prefix"; then
   3055   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3056 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3058 printf %s "checking for $ac_word... " >&6; }
   3059 if test ${ac_cv_prog_STRIP+y}
   3060 then :
   3061   printf %s "(cached) " >&6
   3062 else $as_nop
   3063   if test -n "$STRIP"; then
   3064   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3065 else
   3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3067 for as_dir in $PATH
   3068 do
   3069   IFS=$as_save_IFS
   3070   case $as_dir in #(((
   3071     '') as_dir=./ ;;
   3072     */) ;;
   3073     *) as_dir=$as_dir/ ;;
   3074   esac
   3075     for ac_exec_ext in '' $ac_executable_extensions; do
   3076   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3077     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3078     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3079     break 2
   3080   fi
   3081 done
   3082   done
   3083 IFS=$as_save_IFS
   3084 
   3085 fi
   3086 fi
   3087 STRIP=$ac_cv_prog_STRIP
   3088 if test -n "$STRIP"; then
   3089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3090 printf "%s\n" "$STRIP" >&6; }
   3091 else
   3092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3093 printf "%s\n" "no" >&6; }
   3094 fi
   3095 
   3096 
   3097 fi
   3098 if test -z "$ac_cv_prog_STRIP"; then
   3099   ac_ct_STRIP=$STRIP
   3100   # Extract the first word of "strip", so it can be a program name with args.
   3101 set dummy strip; ac_word=$2
   3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3103 printf %s "checking for $ac_word... " >&6; }
   3104 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3105 then :
   3106   printf %s "(cached) " >&6
   3107 else $as_nop
   3108   if test -n "$ac_ct_STRIP"; then
   3109   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3110 else
   3111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3112 for as_dir in $PATH
   3113 do
   3114   IFS=$as_save_IFS
   3115   case $as_dir in #(((
   3116     '') as_dir=./ ;;
   3117     */) ;;
   3118     *) as_dir=$as_dir/ ;;
   3119   esac
   3120     for ac_exec_ext in '' $ac_executable_extensions; do
   3121   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3122     ac_cv_prog_ac_ct_STRIP="strip"
   3123     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3124     break 2
   3125   fi
   3126 done
   3127   done
   3128 IFS=$as_save_IFS
   3129 
   3130 fi
   3131 fi
   3132 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3133 if test -n "$ac_ct_STRIP"; then
   3134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3135 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3136 else
   3137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3138 printf "%s\n" "no" >&6; }
   3139 fi
   3140 
   3141   if test "x$ac_ct_STRIP" = x; then
   3142     STRIP=":"
   3143   else
   3144     case $cross_compiling:$ac_tool_warned in
   3145 yes:)
   3146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3147 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3148 ac_tool_warned=yes ;;
   3149 esac
   3150     STRIP=$ac_ct_STRIP
   3151   fi
   3152 else
   3153   STRIP="$ac_cv_prog_STRIP"
   3154 fi
   3155 
   3156 fi
   3157 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3158 
   3159 
   3160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3161 printf %s "checking for a race-free mkdir -p... " >&6; }
   3162 if test -z "$MKDIR_P"; then
   3163   if test ${ac_cv_path_mkdir+y}
   3164 then :
   3165   printf %s "(cached) " >&6
   3166 else $as_nop
   3167   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3168 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3169 do
   3170   IFS=$as_save_IFS
   3171   case $as_dir in #(((
   3172     '') as_dir=./ ;;
   3173     */) ;;
   3174     *) as_dir=$as_dir/ ;;
   3175   esac
   3176     for ac_prog in mkdir gmkdir; do
   3177 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3178 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3179 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3180 	     'mkdir ('*'coreutils) '* | \
   3181 	     'BusyBox '* | \
   3182 	     'mkdir (fileutils) '4.1*)
   3183 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3184 	       break 3;;
   3185 	   esac
   3186 	 done
   3187        done
   3188   done
   3189 IFS=$as_save_IFS
   3190 
   3191 fi
   3192 
   3193   test -d ./--version && rmdir ./--version
   3194   if test ${ac_cv_path_mkdir+y}; then
   3195     MKDIR_P="$ac_cv_path_mkdir -p"
   3196   else
   3197     # As a last resort, use the slow shell script.  Don't cache a
   3198     # value for MKDIR_P within a source directory, because that will
   3199     # break other packages using the cache if that directory is
   3200     # removed, or if the value is a relative name.
   3201     MKDIR_P="$ac_install_sh -d"
   3202   fi
   3203 fi
   3204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3205 printf "%s\n" "$MKDIR_P" >&6; }
   3206 
   3207 for ac_prog in gawk mawk nawk awk
   3208 do
   3209   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3210 set dummy $ac_prog; ac_word=$2
   3211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3212 printf %s "checking for $ac_word... " >&6; }
   3213 if test ${ac_cv_prog_AWK+y}
   3214 then :
   3215   printf %s "(cached) " >&6
   3216 else $as_nop
   3217   if test -n "$AWK"; then
   3218   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3219 else
   3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3221 for as_dir in $PATH
   3222 do
   3223   IFS=$as_save_IFS
   3224   case $as_dir in #(((
   3225     '') as_dir=./ ;;
   3226     */) ;;
   3227     *) as_dir=$as_dir/ ;;
   3228   esac
   3229     for ac_exec_ext in '' $ac_executable_extensions; do
   3230   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3231     ac_cv_prog_AWK="$ac_prog"
   3232     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3233     break 2
   3234   fi
   3235 done
   3236   done
   3237 IFS=$as_save_IFS
   3238 
   3239 fi
   3240 fi
   3241 AWK=$ac_cv_prog_AWK
   3242 if test -n "$AWK"; then
   3243   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3244 printf "%s\n" "$AWK" >&6; }
   3245 else
   3246   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3247 printf "%s\n" "no" >&6; }
   3248 fi
   3249 
   3250 
   3251   test -n "$AWK" && break
   3252 done
   3253 
   3254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3255 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3256 set x ${MAKE-make}
   3257 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3258 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3259 then :
   3260   printf %s "(cached) " >&6
   3261 else $as_nop
   3262   cat >conftest.make <<\_ACEOF
   3263 SHELL = /bin/sh
   3264 all:
   3265 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3266 _ACEOF
   3267 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3268 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3269   *@@@%%%=?*=@@@%%%*)
   3270     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3271   *)
   3272     eval ac_cv_prog_make_${ac_make}_set=no;;
   3273 esac
   3274 rm -f conftest.make
   3275 fi
   3276 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3278 printf "%s\n" "yes" >&6; }
   3279   SET_MAKE=
   3280 else
   3281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3282 printf "%s\n" "no" >&6; }
   3283   SET_MAKE="MAKE=${MAKE-make}"
   3284 fi
   3285 
   3286 rm -rf .tst 2>/dev/null
   3287 mkdir .tst 2>/dev/null
   3288 if test -d .tst; then
   3289   am__leading_dot=.
   3290 else
   3291   am__leading_dot=_
   3292 fi
   3293 rmdir .tst 2>/dev/null
   3294 
   3295 # Check whether --enable-silent-rules was given.
   3296 if test ${enable_silent_rules+y}
   3297 then :
   3298   enableval=$enable_silent_rules;
   3299 fi
   3300 
   3301 case $enable_silent_rules in # (((
   3302   yes) AM_DEFAULT_VERBOSITY=0;;
   3303    no) AM_DEFAULT_VERBOSITY=1;;
   3304     *) AM_DEFAULT_VERBOSITY=1;;
   3305 esac
   3306 am_make=${MAKE-make}
   3307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3308 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3309 if test ${am_cv_make_support_nested_variables+y}
   3310 then :
   3311   printf %s "(cached) " >&6
   3312 else $as_nop
   3313   if printf "%s\n" 'TRUE=$(BAR$(V))
   3314 BAR0=false
   3315 BAR1=true
   3316 V=1
   3317 am__doit:
   3318 	@$(TRUE)
   3319 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3320   am_cv_make_support_nested_variables=yes
   3321 else
   3322   am_cv_make_support_nested_variables=no
   3323 fi
   3324 fi
   3325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3326 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3327 if test $am_cv_make_support_nested_variables = yes; then
   3328     AM_V='$(V)'
   3329   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3330 else
   3331   AM_V=$AM_DEFAULT_VERBOSITY
   3332   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3333 fi
   3334 AM_BACKSLASH='\'
   3335 
   3336 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3337   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3338   # is not polluted with repeated "-I."
   3339   am__isrc=' -I$(srcdir)'
   3340   # test to see if srcdir already configured
   3341   if test -f $srcdir/config.status; then
   3342     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3343   fi
   3344 fi
   3345 
   3346 # test whether we have cygpath
   3347 if test -z "$CYGPATH_W"; then
   3348   if (cygpath --version) >/dev/null 2>/dev/null; then
   3349     CYGPATH_W='cygpath -w'
   3350   else
   3351     CYGPATH_W=echo
   3352   fi
   3353 fi
   3354 
   3355 
   3356 # Define the identity of the package.
   3357  PACKAGE='libSM'
   3358  VERSION='1.2.4'
   3359 
   3360 
   3361 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3362 
   3363 
   3364 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3365 
   3366 # Some tools Automake needs.
   3367 
   3368 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3369 
   3370 
   3371 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3372 
   3373 
   3374 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3375 
   3376 
   3377 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3378 
   3379 
   3380 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3381 
   3382 # For better backward compatibility.  To be removed once Automake 1.9.x
   3383 # dies out for good.  For more background, see:
   3384 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3385 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3386 mkdir_p='$(MKDIR_P)'
   3387 
   3388 # We need awk for the "check" target (and possibly the TAP driver).  The
   3389 # system "awk" is bad on some platforms.
   3390 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3391 # in the wild :-(  We should find a proper way to deprecate it ...
   3392 AMTAR='$${TAR-tar}'
   3393 
   3394 
   3395 # We'll loop over all known methods to create a tar archive until one works.
   3396 _am_tools='gnutar  pax cpio none'
   3397 
   3398 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3399 
   3400 
   3401 
   3402 
   3403 
   3404 # Variables for tags utilities; see am/tags.am
   3405 if test -z "$CTAGS"; then
   3406   CTAGS=ctags
   3407 fi
   3408 
   3409 if test -z "$ETAGS"; then
   3410   ETAGS=etags
   3411 fi
   3412 
   3413 if test -z "$CSCOPE"; then
   3414   CSCOPE=cscope
   3415 fi
   3416 
   3417 
   3418 
   3419 # POSIX will say in a future version that running "rm -f" with no argument
   3420 # is OK; and we want to be able to make that assumption in our Makefile
   3421 # recipes.  So use an aggressive probe to check that the usage we want is
   3422 # actually supported "in the wild" to an acceptable degree.
   3423 # See automake bug#10828.
   3424 # To make any issue more visible, cause the running configure to be aborted
   3425 # by default if the 'rm' program in use doesn't match our expectations; the
   3426 # user can still override this though.
   3427 if rm -f && rm -fr && rm -rf; then : OK; else
   3428   cat >&2 <<'END'
   3429 Oops!
   3430 
   3431 Your 'rm' program seems unable to run without file operands specified
   3432 on the command line, even when the '-f' option is present.  This is contrary
   3433 to the behaviour of most rm programs out there, and not conforming with
   3434 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3435 
   3436 Please tell bug-automake@gnu.org about your system, including the value
   3437 of your $PATH and any error possibly output before this message.  This
   3438 can help us improve future automake versions.
   3439 
   3440 END
   3441   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3442     echo 'Configuration will proceed anyway, since you have set the' >&2
   3443     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3444     echo >&2
   3445   else
   3446     cat >&2 <<'END'
   3447 Aborting the configuration process, to ensure you take notice of the issue.
   3448 
   3449 You can download and install GNU coreutils to get an 'rm' implementation
   3450 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3451 
   3452 If you want to complete the configuration process using your problematic
   3453 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3454 to "yes", and re-run configure.
   3455 
   3456 END
   3457     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3458   fi
   3459 fi
   3460 
   3461 
   3462 # Initialize libtool
   3463 case `pwd` in
   3464   *\ * | *\	*)
   3465     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3466 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3467 esac
   3468 
   3469 
   3470 
   3471 macro_version='2.4.7'
   3472 macro_revision='2.4.7'
   3473 
   3474 
   3475 
   3476 
   3477 
   3478 
   3479 
   3480 
   3481 
   3482 
   3483 
   3484 
   3485 
   3486 
   3487 ltmain=$ac_aux_dir/ltmain.sh
   3488 
   3489 
   3490 
   3491   # Make sure we can run config.sub.
   3492 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3493   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3494 
   3495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3496 printf %s "checking build system type... " >&6; }
   3497 if test ${ac_cv_build+y}
   3498 then :
   3499   printf %s "(cached) " >&6
   3500 else $as_nop
   3501   ac_build_alias=$build_alias
   3502 test "x$ac_build_alias" = x &&
   3503   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3504 test "x$ac_build_alias" = x &&
   3505   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3506 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3507   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3508 
   3509 fi
   3510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3511 printf "%s\n" "$ac_cv_build" >&6; }
   3512 case $ac_cv_build in
   3513 *-*-*) ;;
   3514 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3515 esac
   3516 build=$ac_cv_build
   3517 ac_save_IFS=$IFS; IFS='-'
   3518 set x $ac_cv_build
   3519 shift
   3520 build_cpu=$1
   3521 build_vendor=$2
   3522 shift; shift
   3523 # Remember, the first character of IFS is used to create $*,
   3524 # except with old shells:
   3525 build_os=$*
   3526 IFS=$ac_save_IFS
   3527 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3528 
   3529 
   3530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3531 printf %s "checking host system type... " >&6; }
   3532 if test ${ac_cv_host+y}
   3533 then :
   3534   printf %s "(cached) " >&6
   3535 else $as_nop
   3536   if test "x$host_alias" = x; then
   3537   ac_cv_host=$ac_cv_build
   3538 else
   3539   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3540     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3541 fi
   3542 
   3543 fi
   3544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3545 printf "%s\n" "$ac_cv_host" >&6; }
   3546 case $ac_cv_host in
   3547 *-*-*) ;;
   3548 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3549 esac
   3550 host=$ac_cv_host
   3551 ac_save_IFS=$IFS; IFS='-'
   3552 set x $ac_cv_host
   3553 shift
   3554 host_cpu=$1
   3555 host_vendor=$2
   3556 shift; shift
   3557 # Remember, the first character of IFS is used to create $*,
   3558 # except with old shells:
   3559 host_os=$*
   3560 IFS=$ac_save_IFS
   3561 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3562 
   3563 
   3564 # Backslashify metacharacters that are still active within
   3565 # double-quoted strings.
   3566 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3567 
   3568 # Same as above, but do not quote variable references.
   3569 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3570 
   3571 # Sed substitution to delay expansion of an escaped shell variable in a
   3572 # double_quote_subst'ed string.
   3573 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3574 
   3575 # Sed substitution to delay expansion of an escaped single quote.
   3576 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3577 
   3578 # Sed substitution to avoid accidental globbing in evaled expressions
   3579 no_glob_subst='s/\*/\\\*/g'
   3580 
   3581 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3582 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3583 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3584 
   3585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3586 printf %s "checking how to print strings... " >&6; }
   3587 # Test print first, because it will be a builtin if present.
   3588 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3589    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3590   ECHO='print -r --'
   3591 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3592   ECHO='printf %s\n'
   3593 else
   3594   # Use this function as a fallback that always works.
   3595   func_fallback_echo ()
   3596   {
   3597     eval 'cat <<_LTECHO_EOF
   3598 $1
   3599 _LTECHO_EOF'
   3600   }
   3601   ECHO='func_fallback_echo'
   3602 fi
   3603 
   3604 # func_echo_all arg...
   3605 # Invoke $ECHO with all args, space-separated.
   3606 func_echo_all ()
   3607 {
   3608     $ECHO ""
   3609 }
   3610 
   3611 case $ECHO in
   3612   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3613 printf "%s\n" "printf" >&6; } ;;
   3614   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3615 printf "%s\n" "print -r" >&6; } ;;
   3616   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3617 printf "%s\n" "cat" >&6; } ;;
   3618 esac
   3619 
   3620 
   3621 
   3622 
   3623 
   3624 
   3625 
   3626 
   3627 
   3628 
   3629 
   3630 
   3631 
   3632 
   3633 
   3634 
   3635 
   3636 
   3637 
   3638 
   3639 
   3640 
   3641 
   3642 DEPDIR="${am__leading_dot}deps"
   3643 
   3644 ac_config_commands="$ac_config_commands depfiles"
   3645 
   3646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3647 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3648 cat > confinc.mk << 'END'
   3649 am__doit:
   3650 	@echo this is the am__doit target >confinc.out
   3651 .PHONY: am__doit
   3652 END
   3653 am__include="#"
   3654 am__quote=
   3655 # BSD make does it like this.
   3656 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3657 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3658 echo 'include confinc.mk # ignored' > confmf.GNU
   3659 _am_result=no
   3660 for s in GNU BSD; do
   3661   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3662    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3663    ac_status=$?
   3664    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3665    (exit $ac_status); }
   3666   case $?:`cat confinc.out 2>/dev/null` in #(
   3667   '0:this is the am__doit target') :
   3668     case $s in #(
   3669   BSD) :
   3670     am__include='.include' am__quote='"' ;; #(
   3671   *) :
   3672     am__include='include' am__quote='' ;;
   3673 esac ;; #(
   3674   *) :
   3675      ;;
   3676 esac
   3677   if test "$am__include" != "#"; then
   3678     _am_result="yes ($s style)"
   3679     break
   3680   fi
   3681 done
   3682 rm -f confinc.* confmf.*
   3683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3684 printf "%s\n" "${_am_result}" >&6; }
   3685 
   3686 # Check whether --enable-dependency-tracking was given.
   3687 if test ${enable_dependency_tracking+y}
   3688 then :
   3689   enableval=$enable_dependency_tracking;
   3690 fi
   3691 
   3692 if test "x$enable_dependency_tracking" != xno; then
   3693   am_depcomp="$ac_aux_dir/depcomp"
   3694   AMDEPBACKSLASH='\'
   3695   am__nodep='_no'
   3696 fi
   3697  if test "x$enable_dependency_tracking" != xno; then
   3698   AMDEP_TRUE=
   3699   AMDEP_FALSE='#'
   3700 else
   3701   AMDEP_TRUE='#'
   3702   AMDEP_FALSE=
   3703 fi
   3704 
   3705 
   3706 ac_ext=c
   3707 ac_cpp='$CPP $CPPFLAGS'
   3708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3711 if test -n "$ac_tool_prefix"; then
   3712   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3713 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3715 printf %s "checking for $ac_word... " >&6; }
   3716 if test ${ac_cv_prog_CC+y}
   3717 then :
   3718   printf %s "(cached) " >&6
   3719 else $as_nop
   3720   if test -n "$CC"; then
   3721   ac_cv_prog_CC="$CC" # Let the user override the test.
   3722 else
   3723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3724 for as_dir in $PATH
   3725 do
   3726   IFS=$as_save_IFS
   3727   case $as_dir in #(((
   3728     '') as_dir=./ ;;
   3729     */) ;;
   3730     *) as_dir=$as_dir/ ;;
   3731   esac
   3732     for ac_exec_ext in '' $ac_executable_extensions; do
   3733   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3734     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3735     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3736     break 2
   3737   fi
   3738 done
   3739   done
   3740 IFS=$as_save_IFS
   3741 
   3742 fi
   3743 fi
   3744 CC=$ac_cv_prog_CC
   3745 if test -n "$CC"; then
   3746   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3747 printf "%s\n" "$CC" >&6; }
   3748 else
   3749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3750 printf "%s\n" "no" >&6; }
   3751 fi
   3752 
   3753 
   3754 fi
   3755 if test -z "$ac_cv_prog_CC"; then
   3756   ac_ct_CC=$CC
   3757   # Extract the first word of "gcc", so it can be a program name with args.
   3758 set dummy gcc; ac_word=$2
   3759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3760 printf %s "checking for $ac_word... " >&6; }
   3761 if test ${ac_cv_prog_ac_ct_CC+y}
   3762 then :
   3763   printf %s "(cached) " >&6
   3764 else $as_nop
   3765   if test -n "$ac_ct_CC"; then
   3766   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3767 else
   3768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3769 for as_dir in $PATH
   3770 do
   3771   IFS=$as_save_IFS
   3772   case $as_dir in #(((
   3773     '') as_dir=./ ;;
   3774     */) ;;
   3775     *) as_dir=$as_dir/ ;;
   3776   esac
   3777     for ac_exec_ext in '' $ac_executable_extensions; do
   3778   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3779     ac_cv_prog_ac_ct_CC="gcc"
   3780     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3781     break 2
   3782   fi
   3783 done
   3784   done
   3785 IFS=$as_save_IFS
   3786 
   3787 fi
   3788 fi
   3789 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3790 if test -n "$ac_ct_CC"; then
   3791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3792 printf "%s\n" "$ac_ct_CC" >&6; }
   3793 else
   3794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3795 printf "%s\n" "no" >&6; }
   3796 fi
   3797 
   3798   if test "x$ac_ct_CC" = x; then
   3799     CC=""
   3800   else
   3801     case $cross_compiling:$ac_tool_warned in
   3802 yes:)
   3803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3804 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3805 ac_tool_warned=yes ;;
   3806 esac
   3807     CC=$ac_ct_CC
   3808   fi
   3809 else
   3810   CC="$ac_cv_prog_CC"
   3811 fi
   3812 
   3813 if test -z "$CC"; then
   3814           if test -n "$ac_tool_prefix"; then
   3815     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3816 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3818 printf %s "checking for $ac_word... " >&6; }
   3819 if test ${ac_cv_prog_CC+y}
   3820 then :
   3821   printf %s "(cached) " >&6
   3822 else $as_nop
   3823   if test -n "$CC"; then
   3824   ac_cv_prog_CC="$CC" # Let the user override the test.
   3825 else
   3826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3827 for as_dir in $PATH
   3828 do
   3829   IFS=$as_save_IFS
   3830   case $as_dir in #(((
   3831     '') as_dir=./ ;;
   3832     */) ;;
   3833     *) as_dir=$as_dir/ ;;
   3834   esac
   3835     for ac_exec_ext in '' $ac_executable_extensions; do
   3836   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3837     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3838     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3839     break 2
   3840   fi
   3841 done
   3842   done
   3843 IFS=$as_save_IFS
   3844 
   3845 fi
   3846 fi
   3847 CC=$ac_cv_prog_CC
   3848 if test -n "$CC"; then
   3849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3850 printf "%s\n" "$CC" >&6; }
   3851 else
   3852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3853 printf "%s\n" "no" >&6; }
   3854 fi
   3855 
   3856 
   3857   fi
   3858 fi
   3859 if test -z "$CC"; then
   3860   # Extract the first word of "cc", so it can be a program name with args.
   3861 set dummy cc; ac_word=$2
   3862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3863 printf %s "checking for $ac_word... " >&6; }
   3864 if test ${ac_cv_prog_CC+y}
   3865 then :
   3866   printf %s "(cached) " >&6
   3867 else $as_nop
   3868   if test -n "$CC"; then
   3869   ac_cv_prog_CC="$CC" # Let the user override the test.
   3870 else
   3871   ac_prog_rejected=no
   3872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3873 for as_dir in $PATH
   3874 do
   3875   IFS=$as_save_IFS
   3876   case $as_dir in #(((
   3877     '') as_dir=./ ;;
   3878     */) ;;
   3879     *) as_dir=$as_dir/ ;;
   3880   esac
   3881     for ac_exec_ext in '' $ac_executable_extensions; do
   3882   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3883     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3884        ac_prog_rejected=yes
   3885        continue
   3886      fi
   3887     ac_cv_prog_CC="cc"
   3888     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3889     break 2
   3890   fi
   3891 done
   3892   done
   3893 IFS=$as_save_IFS
   3894 
   3895 if test $ac_prog_rejected = yes; then
   3896   # We found a bogon in the path, so make sure we never use it.
   3897   set dummy $ac_cv_prog_CC
   3898   shift
   3899   if test $# != 0; then
   3900     # We chose a different compiler from the bogus one.
   3901     # However, it has the same basename, so the bogon will be chosen
   3902     # first if we set CC to just the basename; use the full file name.
   3903     shift
   3904     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3905   fi
   3906 fi
   3907 fi
   3908 fi
   3909 CC=$ac_cv_prog_CC
   3910 if test -n "$CC"; then
   3911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3912 printf "%s\n" "$CC" >&6; }
   3913 else
   3914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3915 printf "%s\n" "no" >&6; }
   3916 fi
   3917 
   3918 
   3919 fi
   3920 if test -z "$CC"; then
   3921   if test -n "$ac_tool_prefix"; then
   3922   for ac_prog in cl.exe
   3923   do
   3924     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3925 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3927 printf %s "checking for $ac_word... " >&6; }
   3928 if test ${ac_cv_prog_CC+y}
   3929 then :
   3930   printf %s "(cached) " >&6
   3931 else $as_nop
   3932   if test -n "$CC"; then
   3933   ac_cv_prog_CC="$CC" # Let the user override the test.
   3934 else
   3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3936 for as_dir in $PATH
   3937 do
   3938   IFS=$as_save_IFS
   3939   case $as_dir in #(((
   3940     '') as_dir=./ ;;
   3941     */) ;;
   3942     *) as_dir=$as_dir/ ;;
   3943   esac
   3944     for ac_exec_ext in '' $ac_executable_extensions; do
   3945   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3946     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3947     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3948     break 2
   3949   fi
   3950 done
   3951   done
   3952 IFS=$as_save_IFS
   3953 
   3954 fi
   3955 fi
   3956 CC=$ac_cv_prog_CC
   3957 if test -n "$CC"; then
   3958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3959 printf "%s\n" "$CC" >&6; }
   3960 else
   3961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3962 printf "%s\n" "no" >&6; }
   3963 fi
   3964 
   3965 
   3966     test -n "$CC" && break
   3967   done
   3968 fi
   3969 if test -z "$CC"; then
   3970   ac_ct_CC=$CC
   3971   for ac_prog in cl.exe
   3972 do
   3973   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3974 set dummy $ac_prog; ac_word=$2
   3975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3976 printf %s "checking for $ac_word... " >&6; }
   3977 if test ${ac_cv_prog_ac_ct_CC+y}
   3978 then :
   3979   printf %s "(cached) " >&6
   3980 else $as_nop
   3981   if test -n "$ac_ct_CC"; then
   3982   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3983 else
   3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3985 for as_dir in $PATH
   3986 do
   3987   IFS=$as_save_IFS
   3988   case $as_dir in #(((
   3989     '') as_dir=./ ;;
   3990     */) ;;
   3991     *) as_dir=$as_dir/ ;;
   3992   esac
   3993     for ac_exec_ext in '' $ac_executable_extensions; do
   3994   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3995     ac_cv_prog_ac_ct_CC="$ac_prog"
   3996     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3997     break 2
   3998   fi
   3999 done
   4000   done
   4001 IFS=$as_save_IFS
   4002 
   4003 fi
   4004 fi
   4005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4006 if test -n "$ac_ct_CC"; then
   4007   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4008 printf "%s\n" "$ac_ct_CC" >&6; }
   4009 else
   4010   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4011 printf "%s\n" "no" >&6; }
   4012 fi
   4013 
   4014 
   4015   test -n "$ac_ct_CC" && break
   4016 done
   4017 
   4018   if test "x$ac_ct_CC" = x; then
   4019     CC=""
   4020   else
   4021     case $cross_compiling:$ac_tool_warned in
   4022 yes:)
   4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4024 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4025 ac_tool_warned=yes ;;
   4026 esac
   4027     CC=$ac_ct_CC
   4028   fi
   4029 fi
   4030 
   4031 fi
   4032 if test -z "$CC"; then
   4033   if test -n "$ac_tool_prefix"; then
   4034   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4035 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4037 printf %s "checking for $ac_word... " >&6; }
   4038 if test ${ac_cv_prog_CC+y}
   4039 then :
   4040   printf %s "(cached) " >&6
   4041 else $as_nop
   4042   if test -n "$CC"; then
   4043   ac_cv_prog_CC="$CC" # Let the user override the test.
   4044 else
   4045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4046 for as_dir in $PATH
   4047 do
   4048   IFS=$as_save_IFS
   4049   case $as_dir in #(((
   4050     '') as_dir=./ ;;
   4051     */) ;;
   4052     *) as_dir=$as_dir/ ;;
   4053   esac
   4054     for ac_exec_ext in '' $ac_executable_extensions; do
   4055   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4056     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4057     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4058     break 2
   4059   fi
   4060 done
   4061   done
   4062 IFS=$as_save_IFS
   4063 
   4064 fi
   4065 fi
   4066 CC=$ac_cv_prog_CC
   4067 if test -n "$CC"; then
   4068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4069 printf "%s\n" "$CC" >&6; }
   4070 else
   4071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4072 printf "%s\n" "no" >&6; }
   4073 fi
   4074 
   4075 
   4076 fi
   4077 if test -z "$ac_cv_prog_CC"; then
   4078   ac_ct_CC=$CC
   4079   # Extract the first word of "clang", so it can be a program name with args.
   4080 set dummy clang; ac_word=$2
   4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4082 printf %s "checking for $ac_word... " >&6; }
   4083 if test ${ac_cv_prog_ac_ct_CC+y}
   4084 then :
   4085   printf %s "(cached) " >&6
   4086 else $as_nop
   4087   if test -n "$ac_ct_CC"; then
   4088   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4089 else
   4090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4091 for as_dir in $PATH
   4092 do
   4093   IFS=$as_save_IFS
   4094   case $as_dir in #(((
   4095     '') as_dir=./ ;;
   4096     */) ;;
   4097     *) as_dir=$as_dir/ ;;
   4098   esac
   4099     for ac_exec_ext in '' $ac_executable_extensions; do
   4100   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4101     ac_cv_prog_ac_ct_CC="clang"
   4102     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4103     break 2
   4104   fi
   4105 done
   4106   done
   4107 IFS=$as_save_IFS
   4108 
   4109 fi
   4110 fi
   4111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4112 if test -n "$ac_ct_CC"; then
   4113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4114 printf "%s\n" "$ac_ct_CC" >&6; }
   4115 else
   4116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4117 printf "%s\n" "no" >&6; }
   4118 fi
   4119 
   4120   if test "x$ac_ct_CC" = x; then
   4121     CC=""
   4122   else
   4123     case $cross_compiling:$ac_tool_warned in
   4124 yes:)
   4125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4126 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4127 ac_tool_warned=yes ;;
   4128 esac
   4129     CC=$ac_ct_CC
   4130   fi
   4131 else
   4132   CC="$ac_cv_prog_CC"
   4133 fi
   4134 
   4135 fi
   4136 
   4137 
   4138 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4139 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4140 as_fn_error $? "no acceptable C compiler found in \$PATH
   4141 See \`config.log' for more details" "$LINENO" 5; }
   4142 
   4143 # Provide some information about the compiler.
   4144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4145 set X $ac_compile
   4146 ac_compiler=$2
   4147 for ac_option in --version -v -V -qversion -version; do
   4148   { { ac_try="$ac_compiler $ac_option >&5"
   4149 case "(($ac_try" in
   4150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4151   *) ac_try_echo=$ac_try;;
   4152 esac
   4153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4154 printf "%s\n" "$ac_try_echo"; } >&5
   4155   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4156   ac_status=$?
   4157   if test -s conftest.err; then
   4158     sed '10a\
   4159 ... rest of stderr output deleted ...
   4160          10q' conftest.err >conftest.er1
   4161     cat conftest.er1 >&5
   4162   fi
   4163   rm -f conftest.er1 conftest.err
   4164   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4165   test $ac_status = 0; }
   4166 done
   4167 
   4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4169 /* end confdefs.h.  */
   4170 
   4171 int
   4172 main (void)
   4173 {
   4174 
   4175   ;
   4176   return 0;
   4177 }
   4178 _ACEOF
   4179 ac_clean_files_save=$ac_clean_files
   4180 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4181 # Try to create an executable without -o first, disregard a.out.
   4182 # It will help us diagnose broken compilers, and finding out an intuition
   4183 # of exeext.
   4184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4185 printf %s "checking whether the C compiler works... " >&6; }
   4186 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4187 
   4188 # The possible output files:
   4189 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4190 
   4191 ac_rmfiles=
   4192 for ac_file in $ac_files
   4193 do
   4194   case $ac_file in
   4195     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4196     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4197   esac
   4198 done
   4199 rm -f $ac_rmfiles
   4200 
   4201 if { { ac_try="$ac_link_default"
   4202 case "(($ac_try" in
   4203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4204   *) ac_try_echo=$ac_try;;
   4205 esac
   4206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4207 printf "%s\n" "$ac_try_echo"; } >&5
   4208   (eval "$ac_link_default") 2>&5
   4209   ac_status=$?
   4210   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4211   test $ac_status = 0; }
   4212 then :
   4213   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4214 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4215 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4216 # so that the user can short-circuit this test for compilers unknown to
   4217 # Autoconf.
   4218 for ac_file in $ac_files ''
   4219 do
   4220   test -f "$ac_file" || continue
   4221   case $ac_file in
   4222     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4223 	;;
   4224     [ab].out )
   4225 	# We found the default executable, but exeext='' is most
   4226 	# certainly right.
   4227 	break;;
   4228     *.* )
   4229 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4230 	then :; else
   4231 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4232 	fi
   4233 	# We set ac_cv_exeext here because the later test for it is not
   4234 	# safe: cross compilers may not add the suffix if given an `-o'
   4235 	# argument, so we may need to know it at that point already.
   4236 	# Even if this section looks crufty: it has the advantage of
   4237 	# actually working.
   4238 	break;;
   4239     * )
   4240 	break;;
   4241   esac
   4242 done
   4243 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4244 
   4245 else $as_nop
   4246   ac_file=''
   4247 fi
   4248 if test -z "$ac_file"
   4249 then :
   4250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4251 printf "%s\n" "no" >&6; }
   4252 printf "%s\n" "$as_me: failed program was:" >&5
   4253 sed 's/^/| /' conftest.$ac_ext >&5
   4254 
   4255 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4256 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4257 as_fn_error 77 "C compiler cannot create executables
   4258 See \`config.log' for more details" "$LINENO" 5; }
   4259 else $as_nop
   4260   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4261 printf "%s\n" "yes" >&6; }
   4262 fi
   4263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4264 printf %s "checking for C compiler default output file name... " >&6; }
   4265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4266 printf "%s\n" "$ac_file" >&6; }
   4267 ac_exeext=$ac_cv_exeext
   4268 
   4269 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4270 ac_clean_files=$ac_clean_files_save
   4271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4272 printf %s "checking for suffix of executables... " >&6; }
   4273 if { { ac_try="$ac_link"
   4274 case "(($ac_try" in
   4275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4276   *) ac_try_echo=$ac_try;;
   4277 esac
   4278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4279 printf "%s\n" "$ac_try_echo"; } >&5
   4280   (eval "$ac_link") 2>&5
   4281   ac_status=$?
   4282   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4283   test $ac_status = 0; }
   4284 then :
   4285   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4286 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4287 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4288 # `rm'.
   4289 for ac_file in conftest.exe conftest conftest.*; do
   4290   test -f "$ac_file" || continue
   4291   case $ac_file in
   4292     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4293     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4294 	  break;;
   4295     * ) break;;
   4296   esac
   4297 done
   4298 else $as_nop
   4299   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4300 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4301 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4302 See \`config.log' for more details" "$LINENO" 5; }
   4303 fi
   4304 rm -f conftest conftest$ac_cv_exeext
   4305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4306 printf "%s\n" "$ac_cv_exeext" >&6; }
   4307 
   4308 rm -f conftest.$ac_ext
   4309 EXEEXT=$ac_cv_exeext
   4310 ac_exeext=$EXEEXT
   4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4312 /* end confdefs.h.  */
   4313 #include <stdio.h>
   4314 int
   4315 main (void)
   4316 {
   4317 FILE *f = fopen ("conftest.out", "w");
   4318  return ferror (f) || fclose (f) != 0;
   4319 
   4320   ;
   4321   return 0;
   4322 }
   4323 _ACEOF
   4324 ac_clean_files="$ac_clean_files conftest.out"
   4325 # Check that the compiler produces executables we can run.  If not, either
   4326 # the compiler is broken, or we cross compile.
   4327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4328 printf %s "checking whether we are cross compiling... " >&6; }
   4329 if test "$cross_compiling" != yes; then
   4330   { { ac_try="$ac_link"
   4331 case "(($ac_try" in
   4332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4333   *) ac_try_echo=$ac_try;;
   4334 esac
   4335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4336 printf "%s\n" "$ac_try_echo"; } >&5
   4337   (eval "$ac_link") 2>&5
   4338   ac_status=$?
   4339   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4340   test $ac_status = 0; }
   4341   if { ac_try='./conftest$ac_cv_exeext'
   4342   { { case "(($ac_try" in
   4343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4344   *) ac_try_echo=$ac_try;;
   4345 esac
   4346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4347 printf "%s\n" "$ac_try_echo"; } >&5
   4348   (eval "$ac_try") 2>&5
   4349   ac_status=$?
   4350   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4351   test $ac_status = 0; }; }; then
   4352     cross_compiling=no
   4353   else
   4354     if test "$cross_compiling" = maybe; then
   4355 	cross_compiling=yes
   4356     else
   4357 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4358 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4359 as_fn_error 77 "cannot run C compiled programs.
   4360 If you meant to cross compile, use \`--host'.
   4361 See \`config.log' for more details" "$LINENO" 5; }
   4362     fi
   4363   fi
   4364 fi
   4365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4366 printf "%s\n" "$cross_compiling" >&6; }
   4367 
   4368 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4369 ac_clean_files=$ac_clean_files_save
   4370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4371 printf %s "checking for suffix of object files... " >&6; }
   4372 if test ${ac_cv_objext+y}
   4373 then :
   4374   printf %s "(cached) " >&6
   4375 else $as_nop
   4376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4377 /* end confdefs.h.  */
   4378 
   4379 int
   4380 main (void)
   4381 {
   4382 
   4383   ;
   4384   return 0;
   4385 }
   4386 _ACEOF
   4387 rm -f conftest.o conftest.obj
   4388 if { { ac_try="$ac_compile"
   4389 case "(($ac_try" in
   4390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4391   *) ac_try_echo=$ac_try;;
   4392 esac
   4393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4394 printf "%s\n" "$ac_try_echo"; } >&5
   4395   (eval "$ac_compile") 2>&5
   4396   ac_status=$?
   4397   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4398   test $ac_status = 0; }
   4399 then :
   4400   for ac_file in conftest.o conftest.obj conftest.*; do
   4401   test -f "$ac_file" || continue;
   4402   case $ac_file in
   4403     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4404     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4405        break;;
   4406   esac
   4407 done
   4408 else $as_nop
   4409   printf "%s\n" "$as_me: failed program was:" >&5
   4410 sed 's/^/| /' conftest.$ac_ext >&5
   4411 
   4412 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4413 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4414 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4415 See \`config.log' for more details" "$LINENO" 5; }
   4416 fi
   4417 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4418 fi
   4419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4420 printf "%s\n" "$ac_cv_objext" >&6; }
   4421 OBJEXT=$ac_cv_objext
   4422 ac_objext=$OBJEXT
   4423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4424 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4425 if test ${ac_cv_c_compiler_gnu+y}
   4426 then :
   4427   printf %s "(cached) " >&6
   4428 else $as_nop
   4429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4430 /* end confdefs.h.  */
   4431 
   4432 int
   4433 main (void)
   4434 {
   4435 #ifndef __GNUC__
   4436        choke me
   4437 #endif
   4438 
   4439   ;
   4440   return 0;
   4441 }
   4442 _ACEOF
   4443 if ac_fn_c_try_compile "$LINENO"
   4444 then :
   4445   ac_compiler_gnu=yes
   4446 else $as_nop
   4447   ac_compiler_gnu=no
   4448 fi
   4449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4450 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4451 
   4452 fi
   4453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4454 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4456 
   4457 if test $ac_compiler_gnu = yes; then
   4458   GCC=yes
   4459 else
   4460   GCC=
   4461 fi
   4462 ac_test_CFLAGS=${CFLAGS+y}
   4463 ac_save_CFLAGS=$CFLAGS
   4464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4465 printf %s "checking whether $CC accepts -g... " >&6; }
   4466 if test ${ac_cv_prog_cc_g+y}
   4467 then :
   4468   printf %s "(cached) " >&6
   4469 else $as_nop
   4470   ac_save_c_werror_flag=$ac_c_werror_flag
   4471    ac_c_werror_flag=yes
   4472    ac_cv_prog_cc_g=no
   4473    CFLAGS="-g"
   4474    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4475 /* end confdefs.h.  */
   4476 
   4477 int
   4478 main (void)
   4479 {
   4480 
   4481   ;
   4482   return 0;
   4483 }
   4484 _ACEOF
   4485 if ac_fn_c_try_compile "$LINENO"
   4486 then :
   4487   ac_cv_prog_cc_g=yes
   4488 else $as_nop
   4489   CFLAGS=""
   4490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4491 /* end confdefs.h.  */
   4492 
   4493 int
   4494 main (void)
   4495 {
   4496 
   4497   ;
   4498   return 0;
   4499 }
   4500 _ACEOF
   4501 if ac_fn_c_try_compile "$LINENO"
   4502 then :
   4503 
   4504 else $as_nop
   4505   ac_c_werror_flag=$ac_save_c_werror_flag
   4506 	 CFLAGS="-g"
   4507 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4508 /* end confdefs.h.  */
   4509 
   4510 int
   4511 main (void)
   4512 {
   4513 
   4514   ;
   4515   return 0;
   4516 }
   4517 _ACEOF
   4518 if ac_fn_c_try_compile "$LINENO"
   4519 then :
   4520   ac_cv_prog_cc_g=yes
   4521 fi
   4522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4523 fi
   4524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4525 fi
   4526 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4527    ac_c_werror_flag=$ac_save_c_werror_flag
   4528 fi
   4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4530 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4531 if test $ac_test_CFLAGS; then
   4532   CFLAGS=$ac_save_CFLAGS
   4533 elif test $ac_cv_prog_cc_g = yes; then
   4534   if test "$GCC" = yes; then
   4535     CFLAGS="-g -O2"
   4536   else
   4537     CFLAGS="-g"
   4538   fi
   4539 else
   4540   if test "$GCC" = yes; then
   4541     CFLAGS="-O2"
   4542   else
   4543     CFLAGS=
   4544   fi
   4545 fi
   4546 ac_prog_cc_stdc=no
   4547 if test x$ac_prog_cc_stdc = xno
   4548 then :
   4549   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4550 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4551 if test ${ac_cv_prog_cc_c11+y}
   4552 then :
   4553   printf %s "(cached) " >&6
   4554 else $as_nop
   4555   ac_cv_prog_cc_c11=no
   4556 ac_save_CC=$CC
   4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4558 /* end confdefs.h.  */
   4559 $ac_c_conftest_c11_program
   4560 _ACEOF
   4561 for ac_arg in '' -std=gnu11
   4562 do
   4563   CC="$ac_save_CC $ac_arg"
   4564   if ac_fn_c_try_compile "$LINENO"
   4565 then :
   4566   ac_cv_prog_cc_c11=$ac_arg
   4567 fi
   4568 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4569   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4570 done
   4571 rm -f conftest.$ac_ext
   4572 CC=$ac_save_CC
   4573 fi
   4574 
   4575 if test "x$ac_cv_prog_cc_c11" = xno
   4576 then :
   4577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4578 printf "%s\n" "unsupported" >&6; }
   4579 else $as_nop
   4580   if test "x$ac_cv_prog_cc_c11" = x
   4581 then :
   4582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4583 printf "%s\n" "none needed" >&6; }
   4584 else $as_nop
   4585   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4586 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4587      CC="$CC $ac_cv_prog_cc_c11"
   4588 fi
   4589   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4590   ac_prog_cc_stdc=c11
   4591 fi
   4592 fi
   4593 if test x$ac_prog_cc_stdc = xno
   4594 then :
   4595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4596 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4597 if test ${ac_cv_prog_cc_c99+y}
   4598 then :
   4599   printf %s "(cached) " >&6
   4600 else $as_nop
   4601   ac_cv_prog_cc_c99=no
   4602 ac_save_CC=$CC
   4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4604 /* end confdefs.h.  */
   4605 $ac_c_conftest_c99_program
   4606 _ACEOF
   4607 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4608 do
   4609   CC="$ac_save_CC $ac_arg"
   4610   if ac_fn_c_try_compile "$LINENO"
   4611 then :
   4612   ac_cv_prog_cc_c99=$ac_arg
   4613 fi
   4614 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4615   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4616 done
   4617 rm -f conftest.$ac_ext
   4618 CC=$ac_save_CC
   4619 fi
   4620 
   4621 if test "x$ac_cv_prog_cc_c99" = xno
   4622 then :
   4623   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4624 printf "%s\n" "unsupported" >&6; }
   4625 else $as_nop
   4626   if test "x$ac_cv_prog_cc_c99" = x
   4627 then :
   4628   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4629 printf "%s\n" "none needed" >&6; }
   4630 else $as_nop
   4631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4632 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4633      CC="$CC $ac_cv_prog_cc_c99"
   4634 fi
   4635   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4636   ac_prog_cc_stdc=c99
   4637 fi
   4638 fi
   4639 if test x$ac_prog_cc_stdc = xno
   4640 then :
   4641   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4642 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4643 if test ${ac_cv_prog_cc_c89+y}
   4644 then :
   4645   printf %s "(cached) " >&6
   4646 else $as_nop
   4647   ac_cv_prog_cc_c89=no
   4648 ac_save_CC=$CC
   4649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4650 /* end confdefs.h.  */
   4651 $ac_c_conftest_c89_program
   4652 _ACEOF
   4653 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4654 do
   4655   CC="$ac_save_CC $ac_arg"
   4656   if ac_fn_c_try_compile "$LINENO"
   4657 then :
   4658   ac_cv_prog_cc_c89=$ac_arg
   4659 fi
   4660 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4661   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4662 done
   4663 rm -f conftest.$ac_ext
   4664 CC=$ac_save_CC
   4665 fi
   4666 
   4667 if test "x$ac_cv_prog_cc_c89" = xno
   4668 then :
   4669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4670 printf "%s\n" "unsupported" >&6; }
   4671 else $as_nop
   4672   if test "x$ac_cv_prog_cc_c89" = x
   4673 then :
   4674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4675 printf "%s\n" "none needed" >&6; }
   4676 else $as_nop
   4677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4678 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4679      CC="$CC $ac_cv_prog_cc_c89"
   4680 fi
   4681   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4682   ac_prog_cc_stdc=c89
   4683 fi
   4684 fi
   4685 
   4686 ac_ext=c
   4687 ac_cpp='$CPP $CPPFLAGS'
   4688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4691 
   4692 
   4693   ac_ext=c
   4694 ac_cpp='$CPP $CPPFLAGS'
   4695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4699 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4700 if test ${am_cv_prog_cc_c_o+y}
   4701 then :
   4702   printf %s "(cached) " >&6
   4703 else $as_nop
   4704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4705 /* end confdefs.h.  */
   4706 
   4707 int
   4708 main (void)
   4709 {
   4710 
   4711   ;
   4712   return 0;
   4713 }
   4714 _ACEOF
   4715   # Make sure it works both with $CC and with simple cc.
   4716   # Following AC_PROG_CC_C_O, we do the test twice because some
   4717   # compilers refuse to overwrite an existing .o file with -o,
   4718   # though they will create one.
   4719   am_cv_prog_cc_c_o=yes
   4720   for am_i in 1 2; do
   4721     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4722    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4723    ac_status=$?
   4724    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4725    (exit $ac_status); } \
   4726          && test -f conftest2.$ac_objext; then
   4727       : OK
   4728     else
   4729       am_cv_prog_cc_c_o=no
   4730       break
   4731     fi
   4732   done
   4733   rm -f core conftest*
   4734   unset am_i
   4735 fi
   4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4737 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4738 if test "$am_cv_prog_cc_c_o" != yes; then
   4739    # Losing compiler, so override with the script.
   4740    # FIXME: It is wrong to rewrite CC.
   4741    # But if we don't then we get into trouble of one sort or another.
   4742    # A longer-term fix would be to have automake use am__CC in this case,
   4743    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4744    CC="$am_aux_dir/compile $CC"
   4745 fi
   4746 ac_ext=c
   4747 ac_cpp='$CPP $CPPFLAGS'
   4748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4751 
   4752 
   4753 depcc="$CC"   am_compiler_list=
   4754 
   4755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4756 printf %s "checking dependency style of $depcc... " >&6; }
   4757 if test ${am_cv_CC_dependencies_compiler_type+y}
   4758 then :
   4759   printf %s "(cached) " >&6
   4760 else $as_nop
   4761   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4762   # We make a subdir and do the tests there.  Otherwise we can end up
   4763   # making bogus files that we don't know about and never remove.  For
   4764   # instance it was reported that on HP-UX the gcc test will end up
   4765   # making a dummy file named 'D' -- because '-MD' means "put the output
   4766   # in D".
   4767   rm -rf conftest.dir
   4768   mkdir conftest.dir
   4769   # Copy depcomp to subdir because otherwise we won't find it if we're
   4770   # using a relative directory.
   4771   cp "$am_depcomp" conftest.dir
   4772   cd conftest.dir
   4773   # We will build objects and dependencies in a subdirectory because
   4774   # it helps to detect inapplicable dependency modes.  For instance
   4775   # both Tru64's cc and ICC support -MD to output dependencies as a
   4776   # side effect of compilation, but ICC will put the dependencies in
   4777   # the current directory while Tru64 will put them in the object
   4778   # directory.
   4779   mkdir sub
   4780 
   4781   am_cv_CC_dependencies_compiler_type=none
   4782   if test "$am_compiler_list" = ""; then
   4783      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4784   fi
   4785   am__universal=false
   4786   case " $depcc " in #(
   4787      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4788      esac
   4789 
   4790   for depmode in $am_compiler_list; do
   4791     # Setup a source with many dependencies, because some compilers
   4792     # like to wrap large dependency lists on column 80 (with \), and
   4793     # we should not choose a depcomp mode which is confused by this.
   4794     #
   4795     # We need to recreate these files for each test, as the compiler may
   4796     # overwrite some of them when testing with obscure command lines.
   4797     # This happens at least with the AIX C compiler.
   4798     : > sub/conftest.c
   4799     for i in 1 2 3 4 5 6; do
   4800       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4801       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4802       # Solaris 10 /bin/sh.
   4803       echo '/* dummy */' > sub/conftst$i.h
   4804     done
   4805     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4806 
   4807     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4808     # mode.  It turns out that the SunPro C++ compiler does not properly
   4809     # handle '-M -o', and we need to detect this.  Also, some Intel
   4810     # versions had trouble with output in subdirs.
   4811     am__obj=sub/conftest.${OBJEXT-o}
   4812     am__minus_obj="-o $am__obj"
   4813     case $depmode in
   4814     gcc)
   4815       # This depmode causes a compiler race in universal mode.
   4816       test "$am__universal" = false || continue
   4817       ;;
   4818     nosideeffect)
   4819       # After this tag, mechanisms are not by side-effect, so they'll
   4820       # only be used when explicitly requested.
   4821       if test "x$enable_dependency_tracking" = xyes; then
   4822 	continue
   4823       else
   4824 	break
   4825       fi
   4826       ;;
   4827     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4828       # This compiler won't grok '-c -o', but also, the minuso test has
   4829       # not run yet.  These depmodes are late enough in the game, and
   4830       # so weak that their functioning should not be impacted.
   4831       am__obj=conftest.${OBJEXT-o}
   4832       am__minus_obj=
   4833       ;;
   4834     none) break ;;
   4835     esac
   4836     if depmode=$depmode \
   4837        source=sub/conftest.c object=$am__obj \
   4838        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4839        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4840          >/dev/null 2>conftest.err &&
   4841        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4842        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4843        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4844        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4845       # icc doesn't choke on unknown options, it will just issue warnings
   4846       # or remarks (even with -Werror).  So we grep stderr for any message
   4847       # that says an option was ignored or not supported.
   4848       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4849       #   icc: Command line warning: ignoring option '-M'; no argument required
   4850       # The diagnosis changed in icc 8.0:
   4851       #   icc: Command line remark: option '-MP' not supported
   4852       if (grep 'ignoring option' conftest.err ||
   4853           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4854         am_cv_CC_dependencies_compiler_type=$depmode
   4855         break
   4856       fi
   4857     fi
   4858   done
   4859 
   4860   cd ..
   4861   rm -rf conftest.dir
   4862 else
   4863   am_cv_CC_dependencies_compiler_type=none
   4864 fi
   4865 
   4866 fi
   4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4868 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4869 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4870 
   4871  if
   4872   test "x$enable_dependency_tracking" != xno \
   4873   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4874   am__fastdepCC_TRUE=
   4875   am__fastdepCC_FALSE='#'
   4876 else
   4877   am__fastdepCC_TRUE='#'
   4878   am__fastdepCC_FALSE=
   4879 fi
   4880 
   4881 
   4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4883 printf %s "checking for a sed that does not truncate output... " >&6; }
   4884 if test ${ac_cv_path_SED+y}
   4885 then :
   4886   printf %s "(cached) " >&6
   4887 else $as_nop
   4888             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4889      for ac_i in 1 2 3 4 5 6 7; do
   4890        ac_script="$ac_script$as_nl$ac_script"
   4891      done
   4892      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4893      { ac_script=; unset ac_script;}
   4894      if test -z "$SED"; then
   4895   ac_path_SED_found=false
   4896   # Loop through the user's path and test for each of PROGNAME-LIST
   4897   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4898 for as_dir in $PATH
   4899 do
   4900   IFS=$as_save_IFS
   4901   case $as_dir in #(((
   4902     '') as_dir=./ ;;
   4903     */) ;;
   4904     *) as_dir=$as_dir/ ;;
   4905   esac
   4906     for ac_prog in sed gsed
   4907    do
   4908     for ac_exec_ext in '' $ac_executable_extensions; do
   4909       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4910       as_fn_executable_p "$ac_path_SED" || continue
   4911 # Check for GNU ac_path_SED and select it if it is found.
   4912   # Check for GNU $ac_path_SED
   4913 case `"$ac_path_SED" --version 2>&1` in
   4914 *GNU*)
   4915   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4916 *)
   4917   ac_count=0
   4918   printf %s 0123456789 >"conftest.in"
   4919   while :
   4920   do
   4921     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4922     mv "conftest.tmp" "conftest.in"
   4923     cp "conftest.in" "conftest.nl"
   4924     printf "%s\n" '' >> "conftest.nl"
   4925     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4926     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4927     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4928     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4929       # Best one so far, save it but keep looking for a better one
   4930       ac_cv_path_SED="$ac_path_SED"
   4931       ac_path_SED_max=$ac_count
   4932     fi
   4933     # 10*(2^10) chars as input seems more than enough
   4934     test $ac_count -gt 10 && break
   4935   done
   4936   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4937 esac
   4938 
   4939       $ac_path_SED_found && break 3
   4940     done
   4941   done
   4942   done
   4943 IFS=$as_save_IFS
   4944   if test -z "$ac_cv_path_SED"; then
   4945     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4946   fi
   4947 else
   4948   ac_cv_path_SED=$SED
   4949 fi
   4950 
   4951 fi
   4952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4953 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4954  SED="$ac_cv_path_SED"
   4955   rm -f conftest.sed
   4956 
   4957 test -z "$SED" && SED=sed
   4958 Xsed="$SED -e 1s/^X//"
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4971 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4972 if test ${ac_cv_path_GREP+y}
   4973 then :
   4974   printf %s "(cached) " >&6
   4975 else $as_nop
   4976   if test -z "$GREP"; then
   4977   ac_path_GREP_found=false
   4978   # Loop through the user's path and test for each of PROGNAME-LIST
   4979   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4981 do
   4982   IFS=$as_save_IFS
   4983   case $as_dir in #(((
   4984     '') as_dir=./ ;;
   4985     */) ;;
   4986     *) as_dir=$as_dir/ ;;
   4987   esac
   4988     for ac_prog in grep ggrep
   4989    do
   4990     for ac_exec_ext in '' $ac_executable_extensions; do
   4991       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4992       as_fn_executable_p "$ac_path_GREP" || continue
   4993 # Check for GNU ac_path_GREP and select it if it is found.
   4994   # Check for GNU $ac_path_GREP
   4995 case `"$ac_path_GREP" --version 2>&1` in
   4996 *GNU*)
   4997   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4998 *)
   4999   ac_count=0
   5000   printf %s 0123456789 >"conftest.in"
   5001   while :
   5002   do
   5003     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5004     mv "conftest.tmp" "conftest.in"
   5005     cp "conftest.in" "conftest.nl"
   5006     printf "%s\n" 'GREP' >> "conftest.nl"
   5007     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5008     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5009     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5010     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5011       # Best one so far, save it but keep looking for a better one
   5012       ac_cv_path_GREP="$ac_path_GREP"
   5013       ac_path_GREP_max=$ac_count
   5014     fi
   5015     # 10*(2^10) chars as input seems more than enough
   5016     test $ac_count -gt 10 && break
   5017   done
   5018   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5019 esac
   5020 
   5021       $ac_path_GREP_found && break 3
   5022     done
   5023   done
   5024   done
   5025 IFS=$as_save_IFS
   5026   if test -z "$ac_cv_path_GREP"; then
   5027     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5028   fi
   5029 else
   5030   ac_cv_path_GREP=$GREP
   5031 fi
   5032 
   5033 fi
   5034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5035 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5036  GREP="$ac_cv_path_GREP"
   5037 
   5038 
   5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5040 printf %s "checking for egrep... " >&6; }
   5041 if test ${ac_cv_path_EGREP+y}
   5042 then :
   5043   printf %s "(cached) " >&6
   5044 else $as_nop
   5045   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5046    then ac_cv_path_EGREP="$GREP -E"
   5047    else
   5048      if test -z "$EGREP"; then
   5049   ac_path_EGREP_found=false
   5050   # Loop through the user's path and test for each of PROGNAME-LIST
   5051   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5052 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5053 do
   5054   IFS=$as_save_IFS
   5055   case $as_dir in #(((
   5056     '') as_dir=./ ;;
   5057     */) ;;
   5058     *) as_dir=$as_dir/ ;;
   5059   esac
   5060     for ac_prog in egrep
   5061    do
   5062     for ac_exec_ext in '' $ac_executable_extensions; do
   5063       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5064       as_fn_executable_p "$ac_path_EGREP" || continue
   5065 # Check for GNU ac_path_EGREP and select it if it is found.
   5066   # Check for GNU $ac_path_EGREP
   5067 case `"$ac_path_EGREP" --version 2>&1` in
   5068 *GNU*)
   5069   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5070 *)
   5071   ac_count=0
   5072   printf %s 0123456789 >"conftest.in"
   5073   while :
   5074   do
   5075     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5076     mv "conftest.tmp" "conftest.in"
   5077     cp "conftest.in" "conftest.nl"
   5078     printf "%s\n" 'EGREP' >> "conftest.nl"
   5079     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5080     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5081     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5082     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5083       # Best one so far, save it but keep looking for a better one
   5084       ac_cv_path_EGREP="$ac_path_EGREP"
   5085       ac_path_EGREP_max=$ac_count
   5086     fi
   5087     # 10*(2^10) chars as input seems more than enough
   5088     test $ac_count -gt 10 && break
   5089   done
   5090   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5091 esac
   5092 
   5093       $ac_path_EGREP_found && break 3
   5094     done
   5095   done
   5096   done
   5097 IFS=$as_save_IFS
   5098   if test -z "$ac_cv_path_EGREP"; then
   5099     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5100   fi
   5101 else
   5102   ac_cv_path_EGREP=$EGREP
   5103 fi
   5104 
   5105    fi
   5106 fi
   5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5108 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5109  EGREP="$ac_cv_path_EGREP"
   5110 
   5111 
   5112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5113 printf %s "checking for fgrep... " >&6; }
   5114 if test ${ac_cv_path_FGREP+y}
   5115 then :
   5116   printf %s "(cached) " >&6
   5117 else $as_nop
   5118   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5119    then ac_cv_path_FGREP="$GREP -F"
   5120    else
   5121      if test -z "$FGREP"; then
   5122   ac_path_FGREP_found=false
   5123   # Loop through the user's path and test for each of PROGNAME-LIST
   5124   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5125 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5126 do
   5127   IFS=$as_save_IFS
   5128   case $as_dir in #(((
   5129     '') as_dir=./ ;;
   5130     */) ;;
   5131     *) as_dir=$as_dir/ ;;
   5132   esac
   5133     for ac_prog in fgrep
   5134    do
   5135     for ac_exec_ext in '' $ac_executable_extensions; do
   5136       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5137       as_fn_executable_p "$ac_path_FGREP" || continue
   5138 # Check for GNU ac_path_FGREP and select it if it is found.
   5139   # Check for GNU $ac_path_FGREP
   5140 case `"$ac_path_FGREP" --version 2>&1` in
   5141 *GNU*)
   5142   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5143 *)
   5144   ac_count=0
   5145   printf %s 0123456789 >"conftest.in"
   5146   while :
   5147   do
   5148     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5149     mv "conftest.tmp" "conftest.in"
   5150     cp "conftest.in" "conftest.nl"
   5151     printf "%s\n" 'FGREP' >> "conftest.nl"
   5152     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5153     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5154     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5155     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5156       # Best one so far, save it but keep looking for a better one
   5157       ac_cv_path_FGREP="$ac_path_FGREP"
   5158       ac_path_FGREP_max=$ac_count
   5159     fi
   5160     # 10*(2^10) chars as input seems more than enough
   5161     test $ac_count -gt 10 && break
   5162   done
   5163   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5164 esac
   5165 
   5166       $ac_path_FGREP_found && break 3
   5167     done
   5168   done
   5169   done
   5170 IFS=$as_save_IFS
   5171   if test -z "$ac_cv_path_FGREP"; then
   5172     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5173   fi
   5174 else
   5175   ac_cv_path_FGREP=$FGREP
   5176 fi
   5177 
   5178    fi
   5179 fi
   5180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5181 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5182  FGREP="$ac_cv_path_FGREP"
   5183 
   5184 
   5185 test -z "$GREP" && GREP=grep
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 # Check whether --with-gnu-ld was given.
   5206 if test ${with_gnu_ld+y}
   5207 then :
   5208   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5209 else $as_nop
   5210   with_gnu_ld=no
   5211 fi
   5212 
   5213 ac_prog=ld
   5214 if test yes = "$GCC"; then
   5215   # Check if gcc -print-prog-name=ld gives a path.
   5216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5217 printf %s "checking for ld used by $CC... " >&6; }
   5218   case $host in
   5219   *-*-mingw*)
   5220     # gcc leaves a trailing carriage return, which upsets mingw
   5221     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5222   *)
   5223     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5224   esac
   5225   case $ac_prog in
   5226     # Accept absolute paths.
   5227     [\\/]* | ?:[\\/]*)
   5228       re_direlt='/[^/][^/]*/\.\./'
   5229       # Canonicalize the pathname of ld
   5230       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5231       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5232 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5233       done
   5234       test -z "$LD" && LD=$ac_prog
   5235       ;;
   5236   "")
   5237     # If it fails, then pretend we aren't using GCC.
   5238     ac_prog=ld
   5239     ;;
   5240   *)
   5241     # If it is relative, then search for the first ld in PATH.
   5242     with_gnu_ld=unknown
   5243     ;;
   5244   esac
   5245 elif test yes = "$with_gnu_ld"; then
   5246   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5247 printf %s "checking for GNU ld... " >&6; }
   5248 else
   5249   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5250 printf %s "checking for non-GNU ld... " >&6; }
   5251 fi
   5252 if test ${lt_cv_path_LD+y}
   5253 then :
   5254   printf %s "(cached) " >&6
   5255 else $as_nop
   5256   if test -z "$LD"; then
   5257   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5258   for ac_dir in $PATH; do
   5259     IFS=$lt_save_ifs
   5260     test -z "$ac_dir" && ac_dir=.
   5261     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5262       lt_cv_path_LD=$ac_dir/$ac_prog
   5263       # Check to see if the program is GNU ld.  I'd rather use --version,
   5264       # but apparently some variants of GNU ld only accept -v.
   5265       # Break only if it was the GNU/non-GNU ld that we prefer.
   5266       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5267       *GNU* | *'with BFD'*)
   5268 	test no != "$with_gnu_ld" && break
   5269 	;;
   5270       *)
   5271 	test yes != "$with_gnu_ld" && break
   5272 	;;
   5273       esac
   5274     fi
   5275   done
   5276   IFS=$lt_save_ifs
   5277 else
   5278   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5279 fi
   5280 fi
   5281 
   5282 LD=$lt_cv_path_LD
   5283 if test -n "$LD"; then
   5284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5285 printf "%s\n" "$LD" >&6; }
   5286 else
   5287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5288 printf "%s\n" "no" >&6; }
   5289 fi
   5290 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5292 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5293 if test ${lt_cv_prog_gnu_ld+y}
   5294 then :
   5295   printf %s "(cached) " >&6
   5296 else $as_nop
   5297   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5298 case `$LD -v 2>&1 </dev/null` in
   5299 *GNU* | *'with BFD'*)
   5300   lt_cv_prog_gnu_ld=yes
   5301   ;;
   5302 *)
   5303   lt_cv_prog_gnu_ld=no
   5304   ;;
   5305 esac
   5306 fi
   5307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5308 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5309 with_gnu_ld=$lt_cv_prog_gnu_ld
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5320 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5321 if test ${lt_cv_path_NM+y}
   5322 then :
   5323   printf %s "(cached) " >&6
   5324 else $as_nop
   5325   if test -n "$NM"; then
   5326   # Let the user override the test.
   5327   lt_cv_path_NM=$NM
   5328 else
   5329   lt_nm_to_check=${ac_tool_prefix}nm
   5330   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5331     lt_nm_to_check="$lt_nm_to_check nm"
   5332   fi
   5333   for lt_tmp_nm in $lt_nm_to_check; do
   5334     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5335     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5336       IFS=$lt_save_ifs
   5337       test -z "$ac_dir" && ac_dir=.
   5338       tmp_nm=$ac_dir/$lt_tmp_nm
   5339       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5340 	# Check to see if the nm accepts a BSD-compat flag.
   5341 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5342 	#   nm: unknown option "B" ignored
   5343 	# Tru64's nm complains that /dev/null is an invalid object file
   5344 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5345 	case $build_os in
   5346 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5347 	*) lt_bad_file=/dev/null ;;
   5348 	esac
   5349 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5350 	*$lt_bad_file* | *'Invalid file or object type'*)
   5351 	  lt_cv_path_NM="$tmp_nm -B"
   5352 	  break 2
   5353 	  ;;
   5354 	*)
   5355 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5356 	  */dev/null*)
   5357 	    lt_cv_path_NM="$tmp_nm -p"
   5358 	    break 2
   5359 	    ;;
   5360 	  *)
   5361 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5362 	    continue # so that we can try to find one that supports BSD flags
   5363 	    ;;
   5364 	  esac
   5365 	  ;;
   5366 	esac
   5367       fi
   5368     done
   5369     IFS=$lt_save_ifs
   5370   done
   5371   : ${lt_cv_path_NM=no}
   5372 fi
   5373 fi
   5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5375 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5376 if test no != "$lt_cv_path_NM"; then
   5377   NM=$lt_cv_path_NM
   5378 else
   5379   # Didn't find any BSD compatible name lister, look for dumpbin.
   5380   if test -n "$DUMPBIN"; then :
   5381     # Let the user override the test.
   5382   else
   5383     if test -n "$ac_tool_prefix"; then
   5384   for ac_prog in dumpbin "link -dump"
   5385   do
   5386     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5387 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5389 printf %s "checking for $ac_word... " >&6; }
   5390 if test ${ac_cv_prog_DUMPBIN+y}
   5391 then :
   5392   printf %s "(cached) " >&6
   5393 else $as_nop
   5394   if test -n "$DUMPBIN"; then
   5395   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5396 else
   5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5398 for as_dir in $PATH
   5399 do
   5400   IFS=$as_save_IFS
   5401   case $as_dir in #(((
   5402     '') as_dir=./ ;;
   5403     */) ;;
   5404     *) as_dir=$as_dir/ ;;
   5405   esac
   5406     for ac_exec_ext in '' $ac_executable_extensions; do
   5407   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5408     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5409     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5410     break 2
   5411   fi
   5412 done
   5413   done
   5414 IFS=$as_save_IFS
   5415 
   5416 fi
   5417 fi
   5418 DUMPBIN=$ac_cv_prog_DUMPBIN
   5419 if test -n "$DUMPBIN"; then
   5420   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5421 printf "%s\n" "$DUMPBIN" >&6; }
   5422 else
   5423   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5424 printf "%s\n" "no" >&6; }
   5425 fi
   5426 
   5427 
   5428     test -n "$DUMPBIN" && break
   5429   done
   5430 fi
   5431 if test -z "$DUMPBIN"; then
   5432   ac_ct_DUMPBIN=$DUMPBIN
   5433   for ac_prog in dumpbin "link -dump"
   5434 do
   5435   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5436 set dummy $ac_prog; ac_word=$2
   5437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5438 printf %s "checking for $ac_word... " >&6; }
   5439 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5440 then :
   5441   printf %s "(cached) " >&6
   5442 else $as_nop
   5443   if test -n "$ac_ct_DUMPBIN"; then
   5444   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5445 else
   5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5447 for as_dir in $PATH
   5448 do
   5449   IFS=$as_save_IFS
   5450   case $as_dir in #(((
   5451     '') as_dir=./ ;;
   5452     */) ;;
   5453     *) as_dir=$as_dir/ ;;
   5454   esac
   5455     for ac_exec_ext in '' $ac_executable_extensions; do
   5456   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5457     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5458     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5459     break 2
   5460   fi
   5461 done
   5462   done
   5463 IFS=$as_save_IFS
   5464 
   5465 fi
   5466 fi
   5467 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5468 if test -n "$ac_ct_DUMPBIN"; then
   5469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5470 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5471 else
   5472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5473 printf "%s\n" "no" >&6; }
   5474 fi
   5475 
   5476 
   5477   test -n "$ac_ct_DUMPBIN" && break
   5478 done
   5479 
   5480   if test "x$ac_ct_DUMPBIN" = x; then
   5481     DUMPBIN=":"
   5482   else
   5483     case $cross_compiling:$ac_tool_warned in
   5484 yes:)
   5485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5486 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5487 ac_tool_warned=yes ;;
   5488 esac
   5489     DUMPBIN=$ac_ct_DUMPBIN
   5490   fi
   5491 fi
   5492 
   5493     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5494     *COFF*)
   5495       DUMPBIN="$DUMPBIN -symbols -headers"
   5496       ;;
   5497     *)
   5498       DUMPBIN=:
   5499       ;;
   5500     esac
   5501   fi
   5502 
   5503   if test : != "$DUMPBIN"; then
   5504     NM=$DUMPBIN
   5505   fi
   5506 fi
   5507 test -z "$NM" && NM=nm
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5515 printf %s "checking the name lister ($NM) interface... " >&6; }
   5516 if test ${lt_cv_nm_interface+y}
   5517 then :
   5518   printf %s "(cached) " >&6
   5519 else $as_nop
   5520   lt_cv_nm_interface="BSD nm"
   5521   echo "int some_variable = 0;" > conftest.$ac_ext
   5522   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5523   (eval "$ac_compile" 2>conftest.err)
   5524   cat conftest.err >&5
   5525   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5526   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5527   cat conftest.err >&5
   5528   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5529   cat conftest.out >&5
   5530   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5531     lt_cv_nm_interface="MS dumpbin"
   5532   fi
   5533   rm -f conftest*
   5534 fi
   5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5536 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5537 
   5538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5539 printf %s "checking whether ln -s works... " >&6; }
   5540 LN_S=$as_ln_s
   5541 if test "$LN_S" = "ln -s"; then
   5542   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5543 printf "%s\n" "yes" >&6; }
   5544 else
   5545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5546 printf "%s\n" "no, using $LN_S" >&6; }
   5547 fi
   5548 
   5549 # find the maximum length of command line arguments
   5550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5551 printf %s "checking the maximum length of command line arguments... " >&6; }
   5552 if test ${lt_cv_sys_max_cmd_len+y}
   5553 then :
   5554   printf %s "(cached) " >&6
   5555 else $as_nop
   5556     i=0
   5557   teststring=ABCD
   5558 
   5559   case $build_os in
   5560   msdosdjgpp*)
   5561     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5562     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5563     # during glob expansion).  Even if it were fixed, the result of this
   5564     # check would be larger than it should be.
   5565     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5566     ;;
   5567 
   5568   gnu*)
   5569     # Under GNU Hurd, this test is not required because there is
   5570     # no limit to the length of command line arguments.
   5571     # Libtool will interpret -1 as no limit whatsoever
   5572     lt_cv_sys_max_cmd_len=-1;
   5573     ;;
   5574 
   5575   cygwin* | mingw* | cegcc*)
   5576     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5577     # about 5 minutes as the teststring grows exponentially.
   5578     # Worse, since 9x/ME are not pre-emptively multitasking,
   5579     # you end up with a "frozen" computer, even though with patience
   5580     # the test eventually succeeds (with a max line length of 256k).
   5581     # Instead, let's just punt: use the minimum linelength reported by
   5582     # all of the supported platforms: 8192 (on NT/2K/XP).
   5583     lt_cv_sys_max_cmd_len=8192;
   5584     ;;
   5585 
   5586   mint*)
   5587     # On MiNT this can take a long time and run out of memory.
   5588     lt_cv_sys_max_cmd_len=8192;
   5589     ;;
   5590 
   5591   amigaos*)
   5592     # On AmigaOS with pdksh, this test takes hours, literally.
   5593     # So we just punt and use a minimum line length of 8192.
   5594     lt_cv_sys_max_cmd_len=8192;
   5595     ;;
   5596 
   5597   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5598     # This has been around since 386BSD, at least.  Likely further.
   5599     if test -x /sbin/sysctl; then
   5600       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5601     elif test -x /usr/sbin/sysctl; then
   5602       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5603     else
   5604       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5605     fi
   5606     # And add a safety zone
   5607     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5608     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5609     ;;
   5610 
   5611   interix*)
   5612     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5613     lt_cv_sys_max_cmd_len=196608
   5614     ;;
   5615 
   5616   os2*)
   5617     # The test takes a long time on OS/2.
   5618     lt_cv_sys_max_cmd_len=8192
   5619     ;;
   5620 
   5621   osf*)
   5622     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5623     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5624     # nice to cause kernel panics so lets avoid the loop below.
   5625     # First set a reasonable default.
   5626     lt_cv_sys_max_cmd_len=16384
   5627     #
   5628     if test -x /sbin/sysconfig; then
   5629       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5630         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5631       esac
   5632     fi
   5633     ;;
   5634   sco3.2v5*)
   5635     lt_cv_sys_max_cmd_len=102400
   5636     ;;
   5637   sysv5* | sco5v6* | sysv4.2uw2*)
   5638     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5639     if test -n "$kargmax"; then
   5640       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5641     else
   5642       lt_cv_sys_max_cmd_len=32768
   5643     fi
   5644     ;;
   5645   *)
   5646     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5647     if test -n "$lt_cv_sys_max_cmd_len" && \
   5648        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5649       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5650       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5651     else
   5652       # Make teststring a little bigger before we do anything with it.
   5653       # a 1K string should be a reasonable start.
   5654       for i in 1 2 3 4 5 6 7 8; do
   5655         teststring=$teststring$teststring
   5656       done
   5657       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5658       # If test is not a shell built-in, we'll probably end up computing a
   5659       # maximum length that is only half of the actual maximum length, but
   5660       # we can't tell.
   5661       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5662 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5663 	      test 17 != "$i" # 1/2 MB should be enough
   5664       do
   5665         i=`expr $i + 1`
   5666         teststring=$teststring$teststring
   5667       done
   5668       # Only check the string length outside the loop.
   5669       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5670       teststring=
   5671       # Add a significant safety factor because C++ compilers can tack on
   5672       # massive amounts of additional arguments before passing them to the
   5673       # linker.  It appears as though 1/2 is a usable value.
   5674       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5675     fi
   5676     ;;
   5677   esac
   5678 
   5679 fi
   5680 
   5681 if test -n "$lt_cv_sys_max_cmd_len"; then
   5682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5683 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5684 else
   5685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5686 printf "%s\n" "none" >&6; }
   5687 fi
   5688 max_cmd_len=$lt_cv_sys_max_cmd_len
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 : ${CP="cp -f"}
   5696 : ${MV="mv -f"}
   5697 : ${RM="rm -f"}
   5698 
   5699 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5700   lt_unset=unset
   5701 else
   5702   lt_unset=false
   5703 fi
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 # test EBCDIC or ASCII
   5710 case `echo X|tr X '\101'` in
   5711  A) # ASCII based system
   5712     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5713   lt_SP2NL='tr \040 \012'
   5714   lt_NL2SP='tr \015\012 \040\040'
   5715   ;;
   5716  *) # EBCDIC based system
   5717   lt_SP2NL='tr \100 \n'
   5718   lt_NL2SP='tr \r\n \100\100'
   5719   ;;
   5720 esac
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5731 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5732 if test ${lt_cv_to_host_file_cmd+y}
   5733 then :
   5734   printf %s "(cached) " >&6
   5735 else $as_nop
   5736   case $host in
   5737   *-*-mingw* )
   5738     case $build in
   5739       *-*-mingw* ) # actually msys
   5740         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5741         ;;
   5742       *-*-cygwin* )
   5743         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5744         ;;
   5745       * ) # otherwise, assume *nix
   5746         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5747         ;;
   5748     esac
   5749     ;;
   5750   *-*-cygwin* )
   5751     case $build in
   5752       *-*-mingw* ) # actually msys
   5753         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5754         ;;
   5755       *-*-cygwin* )
   5756         lt_cv_to_host_file_cmd=func_convert_file_noop
   5757         ;;
   5758       * ) # otherwise, assume *nix
   5759         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5760         ;;
   5761     esac
   5762     ;;
   5763   * ) # unhandled hosts (and "normal" native builds)
   5764     lt_cv_to_host_file_cmd=func_convert_file_noop
   5765     ;;
   5766 esac
   5767 
   5768 fi
   5769 
   5770 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5772 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5779 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5780 if test ${lt_cv_to_tool_file_cmd+y}
   5781 then :
   5782   printf %s "(cached) " >&6
   5783 else $as_nop
   5784   #assume ordinary cross tools, or native build.
   5785 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5786 case $host in
   5787   *-*-mingw* )
   5788     case $build in
   5789       *-*-mingw* ) # actually msys
   5790         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5791         ;;
   5792     esac
   5793     ;;
   5794 esac
   5795 
   5796 fi
   5797 
   5798 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5800 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5807 printf %s "checking for $LD option to reload object files... " >&6; }
   5808 if test ${lt_cv_ld_reload_flag+y}
   5809 then :
   5810   printf %s "(cached) " >&6
   5811 else $as_nop
   5812   lt_cv_ld_reload_flag='-r'
   5813 fi
   5814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5815 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5816 reload_flag=$lt_cv_ld_reload_flag
   5817 case $reload_flag in
   5818 "" | " "*) ;;
   5819 *) reload_flag=" $reload_flag" ;;
   5820 esac
   5821 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5822 case $host_os in
   5823   cygwin* | mingw* | pw32* | cegcc*)
   5824     if test yes != "$GCC"; then
   5825       reload_cmds=false
   5826     fi
   5827     ;;
   5828   darwin*)
   5829     if test yes = "$GCC"; then
   5830       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5831     else
   5832       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5833     fi
   5834     ;;
   5835 esac
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 if test -n "$ac_tool_prefix"; then
   5846   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5847 set dummy ${ac_tool_prefix}file; ac_word=$2
   5848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5849 printf %s "checking for $ac_word... " >&6; }
   5850 if test ${ac_cv_prog_FILECMD+y}
   5851 then :
   5852   printf %s "(cached) " >&6
   5853 else $as_nop
   5854   if test -n "$FILECMD"; then
   5855   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5856 else
   5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5858 for as_dir in $PATH
   5859 do
   5860   IFS=$as_save_IFS
   5861   case $as_dir in #(((
   5862     '') as_dir=./ ;;
   5863     */) ;;
   5864     *) as_dir=$as_dir/ ;;
   5865   esac
   5866     for ac_exec_ext in '' $ac_executable_extensions; do
   5867   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5868     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5869     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5870     break 2
   5871   fi
   5872 done
   5873   done
   5874 IFS=$as_save_IFS
   5875 
   5876 fi
   5877 fi
   5878 FILECMD=$ac_cv_prog_FILECMD
   5879 if test -n "$FILECMD"; then
   5880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5881 printf "%s\n" "$FILECMD" >&6; }
   5882 else
   5883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5884 printf "%s\n" "no" >&6; }
   5885 fi
   5886 
   5887 
   5888 fi
   5889 if test -z "$ac_cv_prog_FILECMD"; then
   5890   ac_ct_FILECMD=$FILECMD
   5891   # Extract the first word of "file", so it can be a program name with args.
   5892 set dummy file; ac_word=$2
   5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5894 printf %s "checking for $ac_word... " >&6; }
   5895 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5896 then :
   5897   printf %s "(cached) " >&6
   5898 else $as_nop
   5899   if test -n "$ac_ct_FILECMD"; then
   5900   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5901 else
   5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5903 for as_dir in $PATH
   5904 do
   5905   IFS=$as_save_IFS
   5906   case $as_dir in #(((
   5907     '') as_dir=./ ;;
   5908     */) ;;
   5909     *) as_dir=$as_dir/ ;;
   5910   esac
   5911     for ac_exec_ext in '' $ac_executable_extensions; do
   5912   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5913     ac_cv_prog_ac_ct_FILECMD="file"
   5914     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5915     break 2
   5916   fi
   5917 done
   5918   done
   5919 IFS=$as_save_IFS
   5920 
   5921 fi
   5922 fi
   5923 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5924 if test -n "$ac_ct_FILECMD"; then
   5925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5926 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5927 else
   5928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5929 printf "%s\n" "no" >&6; }
   5930 fi
   5931 
   5932   if test "x$ac_ct_FILECMD" = x; then
   5933     FILECMD=":"
   5934   else
   5935     case $cross_compiling:$ac_tool_warned in
   5936 yes:)
   5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5938 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5939 ac_tool_warned=yes ;;
   5940 esac
   5941     FILECMD=$ac_ct_FILECMD
   5942   fi
   5943 else
   5944   FILECMD="$ac_cv_prog_FILECMD"
   5945 fi
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 if test -n "$ac_tool_prefix"; then
   5954   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5955 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5957 printf %s "checking for $ac_word... " >&6; }
   5958 if test ${ac_cv_prog_OBJDUMP+y}
   5959 then :
   5960   printf %s "(cached) " >&6
   5961 else $as_nop
   5962   if test -n "$OBJDUMP"; then
   5963   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5964 else
   5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5966 for as_dir in $PATH
   5967 do
   5968   IFS=$as_save_IFS
   5969   case $as_dir in #(((
   5970     '') as_dir=./ ;;
   5971     */) ;;
   5972     *) as_dir=$as_dir/ ;;
   5973   esac
   5974     for ac_exec_ext in '' $ac_executable_extensions; do
   5975   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5976     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5977     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5978     break 2
   5979   fi
   5980 done
   5981   done
   5982 IFS=$as_save_IFS
   5983 
   5984 fi
   5985 fi
   5986 OBJDUMP=$ac_cv_prog_OBJDUMP
   5987 if test -n "$OBJDUMP"; then
   5988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5989 printf "%s\n" "$OBJDUMP" >&6; }
   5990 else
   5991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5992 printf "%s\n" "no" >&6; }
   5993 fi
   5994 
   5995 
   5996 fi
   5997 if test -z "$ac_cv_prog_OBJDUMP"; then
   5998   ac_ct_OBJDUMP=$OBJDUMP
   5999   # Extract the first word of "objdump", so it can be a program name with args.
   6000 set dummy objdump; ac_word=$2
   6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6002 printf %s "checking for $ac_word... " >&6; }
   6003 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6004 then :
   6005   printf %s "(cached) " >&6
   6006 else $as_nop
   6007   if test -n "$ac_ct_OBJDUMP"; then
   6008   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6009 else
   6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6011 for as_dir in $PATH
   6012 do
   6013   IFS=$as_save_IFS
   6014   case $as_dir in #(((
   6015     '') as_dir=./ ;;
   6016     */) ;;
   6017     *) as_dir=$as_dir/ ;;
   6018   esac
   6019     for ac_exec_ext in '' $ac_executable_extensions; do
   6020   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6021     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6022     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6023     break 2
   6024   fi
   6025 done
   6026   done
   6027 IFS=$as_save_IFS
   6028 
   6029 fi
   6030 fi
   6031 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6032 if test -n "$ac_ct_OBJDUMP"; then
   6033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6034 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6035 else
   6036   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6037 printf "%s\n" "no" >&6; }
   6038 fi
   6039 
   6040   if test "x$ac_ct_OBJDUMP" = x; then
   6041     OBJDUMP="false"
   6042   else
   6043     case $cross_compiling:$ac_tool_warned in
   6044 yes:)
   6045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6046 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6047 ac_tool_warned=yes ;;
   6048 esac
   6049     OBJDUMP=$ac_ct_OBJDUMP
   6050   fi
   6051 else
   6052   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6053 fi
   6054 
   6055 test -z "$OBJDUMP" && OBJDUMP=objdump
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6066 printf %s "checking how to recognize dependent libraries... " >&6; }
   6067 if test ${lt_cv_deplibs_check_method+y}
   6068 then :
   6069   printf %s "(cached) " >&6
   6070 else $as_nop
   6071   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6072 lt_cv_file_magic_test_file=
   6073 lt_cv_deplibs_check_method='unknown'
   6074 # Need to set the preceding variable on all platforms that support
   6075 # interlibrary dependencies.
   6076 # 'none' -- dependencies not supported.
   6077 # 'unknown' -- same as none, but documents that we really don't know.
   6078 # 'pass_all' -- all dependencies passed with no checks.
   6079 # 'test_compile' -- check by making test program.
   6080 # 'file_magic [[regex]]' -- check by looking for files in library path
   6081 # that responds to the $file_magic_cmd with a given extended regex.
   6082 # If you have 'file' or equivalent on your system and you're not sure
   6083 # whether 'pass_all' will *always* work, you probably want this one.
   6084 
   6085 case $host_os in
   6086 aix[4-9]*)
   6087   lt_cv_deplibs_check_method=pass_all
   6088   ;;
   6089 
   6090 beos*)
   6091   lt_cv_deplibs_check_method=pass_all
   6092   ;;
   6093 
   6094 bsdi[45]*)
   6095   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6096   lt_cv_file_magic_cmd='$FILECMD -L'
   6097   lt_cv_file_magic_test_file=/shlib/libc.so
   6098   ;;
   6099 
   6100 cygwin*)
   6101   # func_win32_libid is a shell function defined in ltmain.sh
   6102   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6103   lt_cv_file_magic_cmd='func_win32_libid'
   6104   ;;
   6105 
   6106 mingw* | pw32*)
   6107   # Base MSYS/MinGW do not provide the 'file' command needed by
   6108   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6109   # unless we find 'file', for example because we are cross-compiling.
   6110   if ( file / ) >/dev/null 2>&1; then
   6111     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6112     lt_cv_file_magic_cmd='func_win32_libid'
   6113   else
   6114     # Keep this pattern in sync with the one in func_win32_libid.
   6115     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6116     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6117   fi
   6118   ;;
   6119 
   6120 cegcc*)
   6121   # use the weaker test based on 'objdump'. See mingw*.
   6122   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6123   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6124   ;;
   6125 
   6126 darwin* | rhapsody*)
   6127   lt_cv_deplibs_check_method=pass_all
   6128   ;;
   6129 
   6130 freebsd* | dragonfly* | midnightbsd*)
   6131   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6132     case $host_cpu in
   6133     i*86 )
   6134       # Not sure whether the presence of OpenBSD here was a mistake.
   6135       # Let's accept both of them until this is cleared up.
   6136       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6137       lt_cv_file_magic_cmd=$FILECMD
   6138       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6139       ;;
   6140     esac
   6141   else
   6142     lt_cv_deplibs_check_method=pass_all
   6143   fi
   6144   ;;
   6145 
   6146 haiku*)
   6147   lt_cv_deplibs_check_method=pass_all
   6148   ;;
   6149 
   6150 hpux10.20* | hpux11*)
   6151   lt_cv_file_magic_cmd=$FILECMD
   6152   case $host_cpu in
   6153   ia64*)
   6154     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6155     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6156     ;;
   6157   hppa*64*)
   6158     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]'
   6159     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6160     ;;
   6161   *)
   6162     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6163     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6164     ;;
   6165   esac
   6166   ;;
   6167 
   6168 interix[3-9]*)
   6169   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6170   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6171   ;;
   6172 
   6173 irix5* | irix6* | nonstopux*)
   6174   case $LD in
   6175   *-32|*"-32 ") libmagic=32-bit;;
   6176   *-n32|*"-n32 ") libmagic=N32;;
   6177   *-64|*"-64 ") libmagic=64-bit;;
   6178   *) libmagic=never-match;;
   6179   esac
   6180   lt_cv_deplibs_check_method=pass_all
   6181   ;;
   6182 
   6183 # This must be glibc/ELF.
   6184 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6185   lt_cv_deplibs_check_method=pass_all
   6186   ;;
   6187 
   6188 netbsd*)
   6189   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6190     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6191   else
   6192     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6193   fi
   6194   ;;
   6195 
   6196 newos6*)
   6197   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6198   lt_cv_file_magic_cmd=$FILECMD
   6199   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6200   ;;
   6201 
   6202 *nto* | *qnx*)
   6203   lt_cv_deplibs_check_method=pass_all
   6204   ;;
   6205 
   6206 openbsd* | bitrig*)
   6207   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6208     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6209   else
   6210     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6211   fi
   6212   ;;
   6213 
   6214 osf3* | osf4* | osf5*)
   6215   lt_cv_deplibs_check_method=pass_all
   6216   ;;
   6217 
   6218 rdos*)
   6219   lt_cv_deplibs_check_method=pass_all
   6220   ;;
   6221 
   6222 solaris*)
   6223   lt_cv_deplibs_check_method=pass_all
   6224   ;;
   6225 
   6226 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6227   lt_cv_deplibs_check_method=pass_all
   6228   ;;
   6229 
   6230 sysv4 | sysv4.3*)
   6231   case $host_vendor in
   6232   motorola)
   6233     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]'
   6234     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6235     ;;
   6236   ncr)
   6237     lt_cv_deplibs_check_method=pass_all
   6238     ;;
   6239   sequent)
   6240     lt_cv_file_magic_cmd='/bin/file'
   6241     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6242     ;;
   6243   sni)
   6244     lt_cv_file_magic_cmd='/bin/file'
   6245     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6246     lt_cv_file_magic_test_file=/lib/libc.so
   6247     ;;
   6248   siemens)
   6249     lt_cv_deplibs_check_method=pass_all
   6250     ;;
   6251   pc)
   6252     lt_cv_deplibs_check_method=pass_all
   6253     ;;
   6254   esac
   6255   ;;
   6256 
   6257 tpf*)
   6258   lt_cv_deplibs_check_method=pass_all
   6259   ;;
   6260 os2*)
   6261   lt_cv_deplibs_check_method=pass_all
   6262   ;;
   6263 esac
   6264 
   6265 fi
   6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6267 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6268 
   6269 file_magic_glob=
   6270 want_nocaseglob=no
   6271 if test "$build" = "$host"; then
   6272   case $host_os in
   6273   mingw* | pw32*)
   6274     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6275       want_nocaseglob=yes
   6276     else
   6277       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6278     fi
   6279     ;;
   6280   esac
   6281 fi
   6282 
   6283 file_magic_cmd=$lt_cv_file_magic_cmd
   6284 deplibs_check_method=$lt_cv_deplibs_check_method
   6285 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 if test -n "$ac_tool_prefix"; then
   6309   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6310 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6312 printf %s "checking for $ac_word... " >&6; }
   6313 if test ${ac_cv_prog_DLLTOOL+y}
   6314 then :
   6315   printf %s "(cached) " >&6
   6316 else $as_nop
   6317   if test -n "$DLLTOOL"; then
   6318   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6319 else
   6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6321 for as_dir in $PATH
   6322 do
   6323   IFS=$as_save_IFS
   6324   case $as_dir in #(((
   6325     '') as_dir=./ ;;
   6326     */) ;;
   6327     *) as_dir=$as_dir/ ;;
   6328   esac
   6329     for ac_exec_ext in '' $ac_executable_extensions; do
   6330   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6331     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6332     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6333     break 2
   6334   fi
   6335 done
   6336   done
   6337 IFS=$as_save_IFS
   6338 
   6339 fi
   6340 fi
   6341 DLLTOOL=$ac_cv_prog_DLLTOOL
   6342 if test -n "$DLLTOOL"; then
   6343   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6344 printf "%s\n" "$DLLTOOL" >&6; }
   6345 else
   6346   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6347 printf "%s\n" "no" >&6; }
   6348 fi
   6349 
   6350 
   6351 fi
   6352 if test -z "$ac_cv_prog_DLLTOOL"; then
   6353   ac_ct_DLLTOOL=$DLLTOOL
   6354   # Extract the first word of "dlltool", so it can be a program name with args.
   6355 set dummy dlltool; ac_word=$2
   6356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6357 printf %s "checking for $ac_word... " >&6; }
   6358 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6359 then :
   6360   printf %s "(cached) " >&6
   6361 else $as_nop
   6362   if test -n "$ac_ct_DLLTOOL"; then
   6363   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6364 else
   6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6366 for as_dir in $PATH
   6367 do
   6368   IFS=$as_save_IFS
   6369   case $as_dir in #(((
   6370     '') as_dir=./ ;;
   6371     */) ;;
   6372     *) as_dir=$as_dir/ ;;
   6373   esac
   6374     for ac_exec_ext in '' $ac_executable_extensions; do
   6375   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6376     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6377     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6378     break 2
   6379   fi
   6380 done
   6381   done
   6382 IFS=$as_save_IFS
   6383 
   6384 fi
   6385 fi
   6386 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6387 if test -n "$ac_ct_DLLTOOL"; then
   6388   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6389 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6390 else
   6391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6392 printf "%s\n" "no" >&6; }
   6393 fi
   6394 
   6395   if test "x$ac_ct_DLLTOOL" = x; then
   6396     DLLTOOL="false"
   6397   else
   6398     case $cross_compiling:$ac_tool_warned in
   6399 yes:)
   6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6401 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6402 ac_tool_warned=yes ;;
   6403 esac
   6404     DLLTOOL=$ac_ct_DLLTOOL
   6405   fi
   6406 else
   6407   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6408 fi
   6409 
   6410 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6422 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6423 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6424 then :
   6425   printf %s "(cached) " >&6
   6426 else $as_nop
   6427   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6428 
   6429 case $host_os in
   6430 cygwin* | mingw* | pw32* | cegcc*)
   6431   # two different shell functions defined in ltmain.sh;
   6432   # decide which one to use based on capabilities of $DLLTOOL
   6433   case `$DLLTOOL --help 2>&1` in
   6434   *--identify-strict*)
   6435     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6436     ;;
   6437   *)
   6438     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6439     ;;
   6440   esac
   6441   ;;
   6442 *)
   6443   # fallback: assume linklib IS sharedlib
   6444   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6445   ;;
   6446 esac
   6447 
   6448 fi
   6449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6450 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6451 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6452 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 if test -n "$ac_tool_prefix"; then
   6462   for ac_prog in ar
   6463   do
   6464     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6465 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6467 printf %s "checking for $ac_word... " >&6; }
   6468 if test ${ac_cv_prog_AR+y}
   6469 then :
   6470   printf %s "(cached) " >&6
   6471 else $as_nop
   6472   if test -n "$AR"; then
   6473   ac_cv_prog_AR="$AR" # Let the user override the test.
   6474 else
   6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6476 for as_dir in $PATH
   6477 do
   6478   IFS=$as_save_IFS
   6479   case $as_dir in #(((
   6480     '') as_dir=./ ;;
   6481     */) ;;
   6482     *) as_dir=$as_dir/ ;;
   6483   esac
   6484     for ac_exec_ext in '' $ac_executable_extensions; do
   6485   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6486     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6487     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6488     break 2
   6489   fi
   6490 done
   6491   done
   6492 IFS=$as_save_IFS
   6493 
   6494 fi
   6495 fi
   6496 AR=$ac_cv_prog_AR
   6497 if test -n "$AR"; then
   6498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6499 printf "%s\n" "$AR" >&6; }
   6500 else
   6501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6502 printf "%s\n" "no" >&6; }
   6503 fi
   6504 
   6505 
   6506     test -n "$AR" && break
   6507   done
   6508 fi
   6509 if test -z "$AR"; then
   6510   ac_ct_AR=$AR
   6511   for ac_prog in ar
   6512 do
   6513   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6514 set dummy $ac_prog; ac_word=$2
   6515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6516 printf %s "checking for $ac_word... " >&6; }
   6517 if test ${ac_cv_prog_ac_ct_AR+y}
   6518 then :
   6519   printf %s "(cached) " >&6
   6520 else $as_nop
   6521   if test -n "$ac_ct_AR"; then
   6522   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6523 else
   6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6525 for as_dir in $PATH
   6526 do
   6527   IFS=$as_save_IFS
   6528   case $as_dir in #(((
   6529     '') as_dir=./ ;;
   6530     */) ;;
   6531     *) as_dir=$as_dir/ ;;
   6532   esac
   6533     for ac_exec_ext in '' $ac_executable_extensions; do
   6534   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6535     ac_cv_prog_ac_ct_AR="$ac_prog"
   6536     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6537     break 2
   6538   fi
   6539 done
   6540   done
   6541 IFS=$as_save_IFS
   6542 
   6543 fi
   6544 fi
   6545 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6546 if test -n "$ac_ct_AR"; then
   6547   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6548 printf "%s\n" "$ac_ct_AR" >&6; }
   6549 else
   6550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6551 printf "%s\n" "no" >&6; }
   6552 fi
   6553 
   6554 
   6555   test -n "$ac_ct_AR" && break
   6556 done
   6557 
   6558   if test "x$ac_ct_AR" = x; then
   6559     AR="false"
   6560   else
   6561     case $cross_compiling:$ac_tool_warned in
   6562 yes:)
   6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6564 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6565 ac_tool_warned=yes ;;
   6566 esac
   6567     AR=$ac_ct_AR
   6568   fi
   6569 fi
   6570 
   6571 : ${AR=ar}
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6579 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6580 # higher priority because thats what people were doing historically (setting
   6581 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6582 # variable obsoleted/removed.
   6583 
   6584 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6585 lt_ar_flags=$AR_FLAGS
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6593 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6601 printf %s "checking for archiver @FILE support... " >&6; }
   6602 if test ${lt_cv_ar_at_file+y}
   6603 then :
   6604   printf %s "(cached) " >&6
   6605 else $as_nop
   6606   lt_cv_ar_at_file=no
   6607    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6608 /* end confdefs.h.  */
   6609 
   6610 int
   6611 main (void)
   6612 {
   6613 
   6614   ;
   6615   return 0;
   6616 }
   6617 _ACEOF
   6618 if ac_fn_c_try_compile "$LINENO"
   6619 then :
   6620   echo conftest.$ac_objext > conftest.lst
   6621       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6622       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6623   (eval $lt_ar_try) 2>&5
   6624   ac_status=$?
   6625   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6626   test $ac_status = 0; }
   6627       if test 0 -eq "$ac_status"; then
   6628 	# Ensure the archiver fails upon bogus file names.
   6629 	rm -f conftest.$ac_objext libconftest.a
   6630 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6631   (eval $lt_ar_try) 2>&5
   6632   ac_status=$?
   6633   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6634   test $ac_status = 0; }
   6635 	if test 0 -ne "$ac_status"; then
   6636           lt_cv_ar_at_file=@
   6637         fi
   6638       fi
   6639       rm -f conftest.* libconftest.a
   6640 
   6641 fi
   6642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6643 
   6644 fi
   6645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6646 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6647 
   6648 if test no = "$lt_cv_ar_at_file"; then
   6649   archiver_list_spec=
   6650 else
   6651   archiver_list_spec=$lt_cv_ar_at_file
   6652 fi
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 if test -n "$ac_tool_prefix"; then
   6661   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6662 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6664 printf %s "checking for $ac_word... " >&6; }
   6665 if test ${ac_cv_prog_STRIP+y}
   6666 then :
   6667   printf %s "(cached) " >&6
   6668 else $as_nop
   6669   if test -n "$STRIP"; then
   6670   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6671 else
   6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6673 for as_dir in $PATH
   6674 do
   6675   IFS=$as_save_IFS
   6676   case $as_dir in #(((
   6677     '') as_dir=./ ;;
   6678     */) ;;
   6679     *) as_dir=$as_dir/ ;;
   6680   esac
   6681     for ac_exec_ext in '' $ac_executable_extensions; do
   6682   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6683     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6684     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6685     break 2
   6686   fi
   6687 done
   6688   done
   6689 IFS=$as_save_IFS
   6690 
   6691 fi
   6692 fi
   6693 STRIP=$ac_cv_prog_STRIP
   6694 if test -n "$STRIP"; then
   6695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6696 printf "%s\n" "$STRIP" >&6; }
   6697 else
   6698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6699 printf "%s\n" "no" >&6; }
   6700 fi
   6701 
   6702 
   6703 fi
   6704 if test -z "$ac_cv_prog_STRIP"; then
   6705   ac_ct_STRIP=$STRIP
   6706   # Extract the first word of "strip", so it can be a program name with args.
   6707 set dummy strip; ac_word=$2
   6708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6709 printf %s "checking for $ac_word... " >&6; }
   6710 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6711 then :
   6712   printf %s "(cached) " >&6
   6713 else $as_nop
   6714   if test -n "$ac_ct_STRIP"; then
   6715   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6716 else
   6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6718 for as_dir in $PATH
   6719 do
   6720   IFS=$as_save_IFS
   6721   case $as_dir in #(((
   6722     '') as_dir=./ ;;
   6723     */) ;;
   6724     *) as_dir=$as_dir/ ;;
   6725   esac
   6726     for ac_exec_ext in '' $ac_executable_extensions; do
   6727   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6728     ac_cv_prog_ac_ct_STRIP="strip"
   6729     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6730     break 2
   6731   fi
   6732 done
   6733   done
   6734 IFS=$as_save_IFS
   6735 
   6736 fi
   6737 fi
   6738 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6739 if test -n "$ac_ct_STRIP"; then
   6740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6741 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6742 else
   6743   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6744 printf "%s\n" "no" >&6; }
   6745 fi
   6746 
   6747   if test "x$ac_ct_STRIP" = x; then
   6748     STRIP=":"
   6749   else
   6750     case $cross_compiling:$ac_tool_warned in
   6751 yes:)
   6752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6753 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6754 ac_tool_warned=yes ;;
   6755 esac
   6756     STRIP=$ac_ct_STRIP
   6757   fi
   6758 else
   6759   STRIP="$ac_cv_prog_STRIP"
   6760 fi
   6761 
   6762 test -z "$STRIP" && STRIP=:
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 if test -n "$ac_tool_prefix"; then
   6770   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6771 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6773 printf %s "checking for $ac_word... " >&6; }
   6774 if test ${ac_cv_prog_RANLIB+y}
   6775 then :
   6776   printf %s "(cached) " >&6
   6777 else $as_nop
   6778   if test -n "$RANLIB"; then
   6779   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6780 else
   6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6782 for as_dir in $PATH
   6783 do
   6784   IFS=$as_save_IFS
   6785   case $as_dir in #(((
   6786     '') as_dir=./ ;;
   6787     */) ;;
   6788     *) as_dir=$as_dir/ ;;
   6789   esac
   6790     for ac_exec_ext in '' $ac_executable_extensions; do
   6791   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6792     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6793     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6794     break 2
   6795   fi
   6796 done
   6797   done
   6798 IFS=$as_save_IFS
   6799 
   6800 fi
   6801 fi
   6802 RANLIB=$ac_cv_prog_RANLIB
   6803 if test -n "$RANLIB"; then
   6804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6805 printf "%s\n" "$RANLIB" >&6; }
   6806 else
   6807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6808 printf "%s\n" "no" >&6; }
   6809 fi
   6810 
   6811 
   6812 fi
   6813 if test -z "$ac_cv_prog_RANLIB"; then
   6814   ac_ct_RANLIB=$RANLIB
   6815   # Extract the first word of "ranlib", so it can be a program name with args.
   6816 set dummy ranlib; ac_word=$2
   6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6818 printf %s "checking for $ac_word... " >&6; }
   6819 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6820 then :
   6821   printf %s "(cached) " >&6
   6822 else $as_nop
   6823   if test -n "$ac_ct_RANLIB"; then
   6824   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6825 else
   6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6827 for as_dir in $PATH
   6828 do
   6829   IFS=$as_save_IFS
   6830   case $as_dir in #(((
   6831     '') as_dir=./ ;;
   6832     */) ;;
   6833     *) as_dir=$as_dir/ ;;
   6834   esac
   6835     for ac_exec_ext in '' $ac_executable_extensions; do
   6836   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6837     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6838     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6839     break 2
   6840   fi
   6841 done
   6842   done
   6843 IFS=$as_save_IFS
   6844 
   6845 fi
   6846 fi
   6847 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6848 if test -n "$ac_ct_RANLIB"; then
   6849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6850 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6851 else
   6852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6853 printf "%s\n" "no" >&6; }
   6854 fi
   6855 
   6856   if test "x$ac_ct_RANLIB" = x; then
   6857     RANLIB=":"
   6858   else
   6859     case $cross_compiling:$ac_tool_warned in
   6860 yes:)
   6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6862 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6863 ac_tool_warned=yes ;;
   6864 esac
   6865     RANLIB=$ac_ct_RANLIB
   6866   fi
   6867 else
   6868   RANLIB="$ac_cv_prog_RANLIB"
   6869 fi
   6870 
   6871 test -z "$RANLIB" && RANLIB=:
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 # Determine commands to create old-style static archives.
   6879 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6880 old_postinstall_cmds='chmod 644 $oldlib'
   6881 old_postuninstall_cmds=
   6882 
   6883 if test -n "$RANLIB"; then
   6884   case $host_os in
   6885   bitrig* | openbsd*)
   6886     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6887     ;;
   6888   *)
   6889     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6890     ;;
   6891   esac
   6892   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6893 fi
   6894 
   6895 case $host_os in
   6896   darwin*)
   6897     lock_old_archive_extraction=yes ;;
   6898   *)
   6899     lock_old_archive_extraction=no ;;
   6900 esac
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 # If no C compiler was specified, use CC.
   6941 LTCC=${LTCC-"$CC"}
   6942 
   6943 # If no C compiler flags were specified, use CFLAGS.
   6944 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6945 
   6946 # Allow CC to be a program name with arguments.
   6947 compiler=$CC
   6948 
   6949 
   6950 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6952 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6953 if test ${lt_cv_sys_global_symbol_pipe+y}
   6954 then :
   6955   printf %s "(cached) " >&6
   6956 else $as_nop
   6957 
   6958 # These are sane defaults that work on at least a few old systems.
   6959 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6960 
   6961 # Character class describing NM global symbol codes.
   6962 symcode='[BCDEGRST]'
   6963 
   6964 # Regexp to match symbols that can be accessed directly from C.
   6965 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6966 
   6967 # Define system-specific variables.
   6968 case $host_os in
   6969 aix*)
   6970   symcode='[BCDT]'
   6971   ;;
   6972 cygwin* | mingw* | pw32* | cegcc*)
   6973   symcode='[ABCDGISTW]'
   6974   ;;
   6975 hpux*)
   6976   if test ia64 = "$host_cpu"; then
   6977     symcode='[ABCDEGRST]'
   6978   fi
   6979   ;;
   6980 irix* | nonstopux*)
   6981   symcode='[BCDEGRST]'
   6982   ;;
   6983 osf*)
   6984   symcode='[BCDEGQRST]'
   6985   ;;
   6986 solaris*)
   6987   symcode='[BDRT]'
   6988   ;;
   6989 sco3.2v5*)
   6990   symcode='[DT]'
   6991   ;;
   6992 sysv4.2uw2*)
   6993   symcode='[DT]'
   6994   ;;
   6995 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6996   symcode='[ABDT]'
   6997   ;;
   6998 sysv4)
   6999   symcode='[DFNSTU]'
   7000   ;;
   7001 esac
   7002 
   7003 # If we're using GNU nm, then use its standard symbol codes.
   7004 case `$NM -V 2>&1` in
   7005 *GNU* | *'with BFD'*)
   7006   symcode='[ABCDGIRSTW]' ;;
   7007 esac
   7008 
   7009 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7010   # Gets list of data symbols to import.
   7011   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7012   # Adjust the below global symbol transforms to fixup imported variables.
   7013   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7014   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7015   lt_c_name_lib_hook="\
   7016   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7017   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7018 else
   7019   # Disable hooks by default.
   7020   lt_cv_sys_global_symbol_to_import=
   7021   lt_cdecl_hook=
   7022   lt_c_name_hook=
   7023   lt_c_name_lib_hook=
   7024 fi
   7025 
   7026 # Transform an extracted symbol line into a proper C declaration.
   7027 # Some systems (esp. on ia64) link data and code symbols differently,
   7028 # so use this general approach.
   7029 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7030 $lt_cdecl_hook\
   7031 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7032 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7033 
   7034 # Transform an extracted symbol line into symbol name and symbol address
   7035 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7036 $lt_c_name_hook\
   7037 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7038 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7039 
   7040 # Transform an extracted symbol line into symbol name with lib prefix and
   7041 # symbol address.
   7042 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7043 $lt_c_name_lib_hook\
   7044 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7045 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7046 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7047 
   7048 # Handle CRLF in mingw tool chain
   7049 opt_cr=
   7050 case $build_os in
   7051 mingw*)
   7052   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7053   ;;
   7054 esac
   7055 
   7056 # Try without a prefix underscore, then with it.
   7057 for ac_symprfx in "" "_"; do
   7058 
   7059   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7060   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7061 
   7062   # Write the raw and C identifiers.
   7063   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7064     # Fake it for dumpbin and say T for any non-static function,
   7065     # D for any global variable and I for any imported variable.
   7066     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7067     # which start with @ or ?.
   7068     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7069 "     {last_section=section; section=\$ 3};"\
   7070 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7071 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7072 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7073 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7074 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7075 "     \$ 0!~/External *\|/{next};"\
   7076 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7077 "     {if(hide[section]) next};"\
   7078 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7079 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7080 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7081 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7082 "     ' prfx=^$ac_symprfx"
   7083   else
   7084     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7085   fi
   7086   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7087 
   7088   # Check to see that the pipe works correctly.
   7089   pipe_works=no
   7090 
   7091   rm -f conftest*
   7092   cat > conftest.$ac_ext <<_LT_EOF
   7093 #ifdef __cplusplus
   7094 extern "C" {
   7095 #endif
   7096 char nm_test_var;
   7097 void nm_test_func(void);
   7098 void nm_test_func(void){}
   7099 #ifdef __cplusplus
   7100 }
   7101 #endif
   7102 int main(){nm_test_var='a';nm_test_func();return(0);}
   7103 _LT_EOF
   7104 
   7105   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7106   (eval $ac_compile) 2>&5
   7107   ac_status=$?
   7108   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7109   test $ac_status = 0; }; then
   7110     # Now try to grab the symbols.
   7111     nlist=conftest.nm
   7112     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7113   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7114   ac_status=$?
   7115   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7116   test $ac_status = 0; } && test -s "$nlist"; then
   7117       # Try sorting and uniquifying the output.
   7118       if sort "$nlist" | uniq > "$nlist"T; then
   7119 	mv -f "$nlist"T "$nlist"
   7120       else
   7121 	rm -f "$nlist"T
   7122       fi
   7123 
   7124       # Make sure that we snagged all the symbols we need.
   7125       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7126 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7127 	  cat <<_LT_EOF > conftest.$ac_ext
   7128 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7129 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7130 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7131    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7132 # define LT_DLSYM_CONST
   7133 #elif defined __osf__
   7134 /* This system does not cope well with relocations in const data.  */
   7135 # define LT_DLSYM_CONST
   7136 #else
   7137 # define LT_DLSYM_CONST const
   7138 #endif
   7139 
   7140 #ifdef __cplusplus
   7141 extern "C" {
   7142 #endif
   7143 
   7144 _LT_EOF
   7145 	  # Now generate the symbol file.
   7146 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7147 
   7148 	  cat <<_LT_EOF >> conftest.$ac_ext
   7149 
   7150 /* The mapping between symbol names and symbols.  */
   7151 LT_DLSYM_CONST struct {
   7152   const char *name;
   7153   void       *address;
   7154 }
   7155 lt__PROGRAM__LTX_preloaded_symbols[] =
   7156 {
   7157   { "@PROGRAM@", (void *) 0 },
   7158 _LT_EOF
   7159 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7160 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7161   {0, (void *) 0}
   7162 };
   7163 
   7164 /* This works around a problem in FreeBSD linker */
   7165 #ifdef FREEBSD_WORKAROUND
   7166 static const void *lt_preloaded_setup() {
   7167   return lt__PROGRAM__LTX_preloaded_symbols;
   7168 }
   7169 #endif
   7170 
   7171 #ifdef __cplusplus
   7172 }
   7173 #endif
   7174 _LT_EOF
   7175 	  # Now try linking the two files.
   7176 	  mv conftest.$ac_objext conftstm.$ac_objext
   7177 	  lt_globsym_save_LIBS=$LIBS
   7178 	  lt_globsym_save_CFLAGS=$CFLAGS
   7179 	  LIBS=conftstm.$ac_objext
   7180 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7181 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7182   (eval $ac_link) 2>&5
   7183   ac_status=$?
   7184   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7185   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7186 	    pipe_works=yes
   7187 	  fi
   7188 	  LIBS=$lt_globsym_save_LIBS
   7189 	  CFLAGS=$lt_globsym_save_CFLAGS
   7190 	else
   7191 	  echo "cannot find nm_test_func in $nlist" >&5
   7192 	fi
   7193       else
   7194 	echo "cannot find nm_test_var in $nlist" >&5
   7195       fi
   7196     else
   7197       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7198     fi
   7199   else
   7200     echo "$progname: failed program was:" >&5
   7201     cat conftest.$ac_ext >&5
   7202   fi
   7203   rm -rf conftest* conftst*
   7204 
   7205   # Do not use the global_symbol_pipe unless it works.
   7206   if test yes = "$pipe_works"; then
   7207     break
   7208   else
   7209     lt_cv_sys_global_symbol_pipe=
   7210   fi
   7211 done
   7212 
   7213 fi
   7214 
   7215 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7216   lt_cv_sys_global_symbol_to_cdecl=
   7217 fi
   7218 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7220 printf "%s\n" "failed" >&6; }
   7221 else
   7222   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7223 printf "%s\n" "ok" >&6; }
   7224 fi
   7225 
   7226 # Response file support.
   7227 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7228   nm_file_list_spec='@'
   7229 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7230   nm_file_list_spec='@'
   7231 fi
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7270 printf %s "checking for sysroot... " >&6; }
   7271 
   7272 # Check whether --with-sysroot was given.
   7273 if test ${with_sysroot+y}
   7274 then :
   7275   withval=$with_sysroot;
   7276 else $as_nop
   7277   with_sysroot=no
   7278 fi
   7279 
   7280 
   7281 lt_sysroot=
   7282 case $with_sysroot in #(
   7283  yes)
   7284    if test yes = "$GCC"; then
   7285      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7286    fi
   7287    ;; #(
   7288  /*)
   7289    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7290    ;; #(
   7291  no|'')
   7292    ;; #(
   7293  *)
   7294    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7295 printf "%s\n" "$with_sysroot" >&6; }
   7296    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7297    ;;
   7298 esac
   7299 
   7300  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7301 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7308 printf %s "checking for a working dd... " >&6; }
   7309 if test ${ac_cv_path_lt_DD+y}
   7310 then :
   7311   printf %s "(cached) " >&6
   7312 else $as_nop
   7313   printf 0123456789abcdef0123456789abcdef >conftest.i
   7314 cat conftest.i conftest.i >conftest2.i
   7315 : ${lt_DD:=$DD}
   7316 if test -z "$lt_DD"; then
   7317   ac_path_lt_DD_found=false
   7318   # Loop through the user's path and test for each of PROGNAME-LIST
   7319   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7320 for as_dir in $PATH
   7321 do
   7322   IFS=$as_save_IFS
   7323   case $as_dir in #(((
   7324     '') as_dir=./ ;;
   7325     */) ;;
   7326     *) as_dir=$as_dir/ ;;
   7327   esac
   7328     for ac_prog in dd
   7329    do
   7330     for ac_exec_ext in '' $ac_executable_extensions; do
   7331       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7332       as_fn_executable_p "$ac_path_lt_DD" || continue
   7333 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7334   cmp -s conftest.i conftest.out \
   7335   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7336 fi
   7337       $ac_path_lt_DD_found && break 3
   7338     done
   7339   done
   7340   done
   7341 IFS=$as_save_IFS
   7342   if test -z "$ac_cv_path_lt_DD"; then
   7343     :
   7344   fi
   7345 else
   7346   ac_cv_path_lt_DD=$lt_DD
   7347 fi
   7348 
   7349 rm -f conftest.i conftest2.i conftest.out
   7350 fi
   7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7352 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7353 
   7354 
   7355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7356 printf %s "checking how to truncate binary pipes... " >&6; }
   7357 if test ${lt_cv_truncate_bin+y}
   7358 then :
   7359   printf %s "(cached) " >&6
   7360 else $as_nop
   7361   printf 0123456789abcdef0123456789abcdef >conftest.i
   7362 cat conftest.i conftest.i >conftest2.i
   7363 lt_cv_truncate_bin=
   7364 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7365   cmp -s conftest.i conftest.out \
   7366   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7367 fi
   7368 rm -f conftest.i conftest2.i conftest.out
   7369 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7370 fi
   7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7372 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7381 func_cc_basename ()
   7382 {
   7383     for cc_temp in $*""; do
   7384       case $cc_temp in
   7385         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7386         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7387         \-*) ;;
   7388         *) break;;
   7389       esac
   7390     done
   7391     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7392 }
   7393 
   7394 # Check whether --enable-libtool-lock was given.
   7395 if test ${enable_libtool_lock+y}
   7396 then :
   7397   enableval=$enable_libtool_lock;
   7398 fi
   7399 
   7400 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7401 
   7402 # Some flags need to be propagated to the compiler or linker for good
   7403 # libtool support.
   7404 case $host in
   7405 ia64-*-hpux*)
   7406   # Find out what ABI is being produced by ac_compile, and set mode
   7407   # options accordingly.
   7408   echo 'int i;' > conftest.$ac_ext
   7409   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7410   (eval $ac_compile) 2>&5
   7411   ac_status=$?
   7412   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7413   test $ac_status = 0; }; then
   7414     case `$FILECMD conftest.$ac_objext` in
   7415       *ELF-32*)
   7416 	HPUX_IA64_MODE=32
   7417 	;;
   7418       *ELF-64*)
   7419 	HPUX_IA64_MODE=64
   7420 	;;
   7421     esac
   7422   fi
   7423   rm -rf conftest*
   7424   ;;
   7425 *-*-irix6*)
   7426   # Find out what ABI is being produced by ac_compile, and set linker
   7427   # options accordingly.
   7428   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7429   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7430   (eval $ac_compile) 2>&5
   7431   ac_status=$?
   7432   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7433   test $ac_status = 0; }; then
   7434     if test yes = "$lt_cv_prog_gnu_ld"; then
   7435       case `$FILECMD conftest.$ac_objext` in
   7436 	*32-bit*)
   7437 	  LD="${LD-ld} -melf32bsmip"
   7438 	  ;;
   7439 	*N32*)
   7440 	  LD="${LD-ld} -melf32bmipn32"
   7441 	  ;;
   7442 	*64-bit*)
   7443 	  LD="${LD-ld} -melf64bmip"
   7444 	;;
   7445       esac
   7446     else
   7447       case `$FILECMD conftest.$ac_objext` in
   7448 	*32-bit*)
   7449 	  LD="${LD-ld} -32"
   7450 	  ;;
   7451 	*N32*)
   7452 	  LD="${LD-ld} -n32"
   7453 	  ;;
   7454 	*64-bit*)
   7455 	  LD="${LD-ld} -64"
   7456 	  ;;
   7457       esac
   7458     fi
   7459   fi
   7460   rm -rf conftest*
   7461   ;;
   7462 
   7463 mips64*-*linux*)
   7464   # Find out what ABI is being produced by ac_compile, and set linker
   7465   # options accordingly.
   7466   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7467   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7468   (eval $ac_compile) 2>&5
   7469   ac_status=$?
   7470   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7471   test $ac_status = 0; }; then
   7472     emul=elf
   7473     case `$FILECMD conftest.$ac_objext` in
   7474       *32-bit*)
   7475 	emul="${emul}32"
   7476 	;;
   7477       *64-bit*)
   7478 	emul="${emul}64"
   7479 	;;
   7480     esac
   7481     case `$FILECMD conftest.$ac_objext` in
   7482       *MSB*)
   7483 	emul="${emul}btsmip"
   7484 	;;
   7485       *LSB*)
   7486 	emul="${emul}ltsmip"
   7487 	;;
   7488     esac
   7489     case `$FILECMD conftest.$ac_objext` in
   7490       *N32*)
   7491 	emul="${emul}n32"
   7492 	;;
   7493     esac
   7494     LD="${LD-ld} -m $emul"
   7495   fi
   7496   rm -rf conftest*
   7497   ;;
   7498 
   7499 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7500 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7501   # Find out what ABI is being produced by ac_compile, and set linker
   7502   # options accordingly.  Note that the listed cases only cover the
   7503   # situations where additional linker options are needed (such as when
   7504   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7505   # vice versa); the common cases where no linker options are needed do
   7506   # not appear in the list.
   7507   echo 'int i;' > conftest.$ac_ext
   7508   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7509   (eval $ac_compile) 2>&5
   7510   ac_status=$?
   7511   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7512   test $ac_status = 0; }; then
   7513     case `$FILECMD conftest.o` in
   7514       *32-bit*)
   7515 	case $host in
   7516 	  x86_64-*kfreebsd*-gnu)
   7517 	    LD="${LD-ld} -m elf_i386_fbsd"
   7518 	    ;;
   7519 	  x86_64-*linux*)
   7520 	    case `$FILECMD conftest.o` in
   7521 	      *x86-64*)
   7522 		LD="${LD-ld} -m elf32_x86_64"
   7523 		;;
   7524 	      *)
   7525 		LD="${LD-ld} -m elf_i386"
   7526 		;;
   7527 	    esac
   7528 	    ;;
   7529 	  powerpc64le-*linux*)
   7530 	    LD="${LD-ld} -m elf32lppclinux"
   7531 	    ;;
   7532 	  powerpc64-*linux*)
   7533 	    LD="${LD-ld} -m elf32ppclinux"
   7534 	    ;;
   7535 	  s390x-*linux*)
   7536 	    LD="${LD-ld} -m elf_s390"
   7537 	    ;;
   7538 	  sparc64-*linux*)
   7539 	    LD="${LD-ld} -m elf32_sparc"
   7540 	    ;;
   7541 	esac
   7542 	;;
   7543       *64-bit*)
   7544 	case $host in
   7545 	  x86_64-*kfreebsd*-gnu)
   7546 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7547 	    ;;
   7548 	  x86_64-*linux*)
   7549 	    LD="${LD-ld} -m elf_x86_64"
   7550 	    ;;
   7551 	  powerpcle-*linux*)
   7552 	    LD="${LD-ld} -m elf64lppc"
   7553 	    ;;
   7554 	  powerpc-*linux*)
   7555 	    LD="${LD-ld} -m elf64ppc"
   7556 	    ;;
   7557 	  s390*-*linux*|s390*-*tpf*)
   7558 	    LD="${LD-ld} -m elf64_s390"
   7559 	    ;;
   7560 	  sparc*-*linux*)
   7561 	    LD="${LD-ld} -m elf64_sparc"
   7562 	    ;;
   7563 	esac
   7564 	;;
   7565     esac
   7566   fi
   7567   rm -rf conftest*
   7568   ;;
   7569 
   7570 *-*-sco3.2v5*)
   7571   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7572   SAVE_CFLAGS=$CFLAGS
   7573   CFLAGS="$CFLAGS -belf"
   7574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7575 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7576 if test ${lt_cv_cc_needs_belf+y}
   7577 then :
   7578   printf %s "(cached) " >&6
   7579 else $as_nop
   7580   ac_ext=c
   7581 ac_cpp='$CPP $CPPFLAGS'
   7582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7585 
   7586      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7587 /* end confdefs.h.  */
   7588 
   7589 int
   7590 main (void)
   7591 {
   7592 
   7593   ;
   7594   return 0;
   7595 }
   7596 _ACEOF
   7597 if ac_fn_c_try_link "$LINENO"
   7598 then :
   7599   lt_cv_cc_needs_belf=yes
   7600 else $as_nop
   7601   lt_cv_cc_needs_belf=no
   7602 fi
   7603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7604     conftest$ac_exeext conftest.$ac_ext
   7605      ac_ext=c
   7606 ac_cpp='$CPP $CPPFLAGS'
   7607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7610 
   7611 fi
   7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7613 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7614   if test yes != "$lt_cv_cc_needs_belf"; then
   7615     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7616     CFLAGS=$SAVE_CFLAGS
   7617   fi
   7618   ;;
   7619 *-*solaris*)
   7620   # Find out what ABI is being produced by ac_compile, and set linker
   7621   # options accordingly.
   7622   echo 'int i;' > conftest.$ac_ext
   7623   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7624   (eval $ac_compile) 2>&5
   7625   ac_status=$?
   7626   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7627   test $ac_status = 0; }; then
   7628     case `$FILECMD conftest.o` in
   7629     *64-bit*)
   7630       case $lt_cv_prog_gnu_ld in
   7631       yes*)
   7632         case $host in
   7633         i?86-*-solaris*|x86_64-*-solaris*)
   7634           LD="${LD-ld} -m elf_x86_64"
   7635           ;;
   7636         sparc*-*-solaris*)
   7637           LD="${LD-ld} -m elf64_sparc"
   7638           ;;
   7639         esac
   7640         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7641         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7642           LD=${LD-ld}_sol2
   7643         fi
   7644         ;;
   7645       *)
   7646 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7647 	  LD="${LD-ld} -64"
   7648 	fi
   7649 	;;
   7650       esac
   7651       ;;
   7652     esac
   7653   fi
   7654   rm -rf conftest*
   7655   ;;
   7656 esac
   7657 
   7658 need_locks=$enable_libtool_lock
   7659 
   7660 if test -n "$ac_tool_prefix"; then
   7661   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7662 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7664 printf %s "checking for $ac_word... " >&6; }
   7665 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7666 then :
   7667   printf %s "(cached) " >&6
   7668 else $as_nop
   7669   if test -n "$MANIFEST_TOOL"; then
   7670   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7671 else
   7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7673 for as_dir in $PATH
   7674 do
   7675   IFS=$as_save_IFS
   7676   case $as_dir in #(((
   7677     '') as_dir=./ ;;
   7678     */) ;;
   7679     *) as_dir=$as_dir/ ;;
   7680   esac
   7681     for ac_exec_ext in '' $ac_executable_extensions; do
   7682   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7683     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7684     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7685     break 2
   7686   fi
   7687 done
   7688   done
   7689 IFS=$as_save_IFS
   7690 
   7691 fi
   7692 fi
   7693 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7694 if test -n "$MANIFEST_TOOL"; then
   7695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7696 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7697 else
   7698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7699 printf "%s\n" "no" >&6; }
   7700 fi
   7701 
   7702 
   7703 fi
   7704 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7705   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7706   # Extract the first word of "mt", so it can be a program name with args.
   7707 set dummy mt; ac_word=$2
   7708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7709 printf %s "checking for $ac_word... " >&6; }
   7710 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7711 then :
   7712   printf %s "(cached) " >&6
   7713 else $as_nop
   7714   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7715   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7716 else
   7717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7718 for as_dir in $PATH
   7719 do
   7720   IFS=$as_save_IFS
   7721   case $as_dir in #(((
   7722     '') as_dir=./ ;;
   7723     */) ;;
   7724     *) as_dir=$as_dir/ ;;
   7725   esac
   7726     for ac_exec_ext in '' $ac_executable_extensions; do
   7727   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7728     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7729     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7730     break 2
   7731   fi
   7732 done
   7733   done
   7734 IFS=$as_save_IFS
   7735 
   7736 fi
   7737 fi
   7738 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7739 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7741 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7742 else
   7743   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7744 printf "%s\n" "no" >&6; }
   7745 fi
   7746 
   7747   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7748     MANIFEST_TOOL=":"
   7749   else
   7750     case $cross_compiling:$ac_tool_warned in
   7751 yes:)
   7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7753 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7754 ac_tool_warned=yes ;;
   7755 esac
   7756     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7757   fi
   7758 else
   7759   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7760 fi
   7761 
   7762 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7764 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7765 if test ${lt_cv_path_mainfest_tool+y}
   7766 then :
   7767   printf %s "(cached) " >&6
   7768 else $as_nop
   7769   lt_cv_path_mainfest_tool=no
   7770   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7771   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7772   cat conftest.err >&5
   7773   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7774     lt_cv_path_mainfest_tool=yes
   7775   fi
   7776   rm -f conftest*
   7777 fi
   7778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7779 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7780 if test yes != "$lt_cv_path_mainfest_tool"; then
   7781   MANIFEST_TOOL=:
   7782 fi
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789   case $host_os in
   7790     rhapsody* | darwin*)
   7791     if test -n "$ac_tool_prefix"; then
   7792   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7793 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7795 printf %s "checking for $ac_word... " >&6; }
   7796 if test ${ac_cv_prog_DSYMUTIL+y}
   7797 then :
   7798   printf %s "(cached) " >&6
   7799 else $as_nop
   7800   if test -n "$DSYMUTIL"; then
   7801   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7802 else
   7803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7804 for as_dir in $PATH
   7805 do
   7806   IFS=$as_save_IFS
   7807   case $as_dir in #(((
   7808     '') as_dir=./ ;;
   7809     */) ;;
   7810     *) as_dir=$as_dir/ ;;
   7811   esac
   7812     for ac_exec_ext in '' $ac_executable_extensions; do
   7813   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7814     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7815     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7816     break 2
   7817   fi
   7818 done
   7819   done
   7820 IFS=$as_save_IFS
   7821 
   7822 fi
   7823 fi
   7824 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7825 if test -n "$DSYMUTIL"; then
   7826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7827 printf "%s\n" "$DSYMUTIL" >&6; }
   7828 else
   7829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7830 printf "%s\n" "no" >&6; }
   7831 fi
   7832 
   7833 
   7834 fi
   7835 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7836   ac_ct_DSYMUTIL=$DSYMUTIL
   7837   # Extract the first word of "dsymutil", so it can be a program name with args.
   7838 set dummy dsymutil; ac_word=$2
   7839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7840 printf %s "checking for $ac_word... " >&6; }
   7841 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7842 then :
   7843   printf %s "(cached) " >&6
   7844 else $as_nop
   7845   if test -n "$ac_ct_DSYMUTIL"; then
   7846   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7847 else
   7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7849 for as_dir in $PATH
   7850 do
   7851   IFS=$as_save_IFS
   7852   case $as_dir in #(((
   7853     '') as_dir=./ ;;
   7854     */) ;;
   7855     *) as_dir=$as_dir/ ;;
   7856   esac
   7857     for ac_exec_ext in '' $ac_executable_extensions; do
   7858   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7859     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7860     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7861     break 2
   7862   fi
   7863 done
   7864   done
   7865 IFS=$as_save_IFS
   7866 
   7867 fi
   7868 fi
   7869 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7870 if test -n "$ac_ct_DSYMUTIL"; then
   7871   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7872 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7873 else
   7874   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7875 printf "%s\n" "no" >&6; }
   7876 fi
   7877 
   7878   if test "x$ac_ct_DSYMUTIL" = x; then
   7879     DSYMUTIL=":"
   7880   else
   7881     case $cross_compiling:$ac_tool_warned in
   7882 yes:)
   7883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7884 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7885 ac_tool_warned=yes ;;
   7886 esac
   7887     DSYMUTIL=$ac_ct_DSYMUTIL
   7888   fi
   7889 else
   7890   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7891 fi
   7892 
   7893     if test -n "$ac_tool_prefix"; then
   7894   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7895 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7897 printf %s "checking for $ac_word... " >&6; }
   7898 if test ${ac_cv_prog_NMEDIT+y}
   7899 then :
   7900   printf %s "(cached) " >&6
   7901 else $as_nop
   7902   if test -n "$NMEDIT"; then
   7903   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7904 else
   7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7906 for as_dir in $PATH
   7907 do
   7908   IFS=$as_save_IFS
   7909   case $as_dir in #(((
   7910     '') as_dir=./ ;;
   7911     */) ;;
   7912     *) as_dir=$as_dir/ ;;
   7913   esac
   7914     for ac_exec_ext in '' $ac_executable_extensions; do
   7915   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7916     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7917     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7918     break 2
   7919   fi
   7920 done
   7921   done
   7922 IFS=$as_save_IFS
   7923 
   7924 fi
   7925 fi
   7926 NMEDIT=$ac_cv_prog_NMEDIT
   7927 if test -n "$NMEDIT"; then
   7928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7929 printf "%s\n" "$NMEDIT" >&6; }
   7930 else
   7931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7932 printf "%s\n" "no" >&6; }
   7933 fi
   7934 
   7935 
   7936 fi
   7937 if test -z "$ac_cv_prog_NMEDIT"; then
   7938   ac_ct_NMEDIT=$NMEDIT
   7939   # Extract the first word of "nmedit", so it can be a program name with args.
   7940 set dummy nmedit; ac_word=$2
   7941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7942 printf %s "checking for $ac_word... " >&6; }
   7943 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7944 then :
   7945   printf %s "(cached) " >&6
   7946 else $as_nop
   7947   if test -n "$ac_ct_NMEDIT"; then
   7948   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7949 else
   7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7951 for as_dir in $PATH
   7952 do
   7953   IFS=$as_save_IFS
   7954   case $as_dir in #(((
   7955     '') as_dir=./ ;;
   7956     */) ;;
   7957     *) as_dir=$as_dir/ ;;
   7958   esac
   7959     for ac_exec_ext in '' $ac_executable_extensions; do
   7960   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7961     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7962     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7963     break 2
   7964   fi
   7965 done
   7966   done
   7967 IFS=$as_save_IFS
   7968 
   7969 fi
   7970 fi
   7971 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7972 if test -n "$ac_ct_NMEDIT"; then
   7973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7974 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7975 else
   7976   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7977 printf "%s\n" "no" >&6; }
   7978 fi
   7979 
   7980   if test "x$ac_ct_NMEDIT" = x; then
   7981     NMEDIT=":"
   7982   else
   7983     case $cross_compiling:$ac_tool_warned in
   7984 yes:)
   7985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7986 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7987 ac_tool_warned=yes ;;
   7988 esac
   7989     NMEDIT=$ac_ct_NMEDIT
   7990   fi
   7991 else
   7992   NMEDIT="$ac_cv_prog_NMEDIT"
   7993 fi
   7994 
   7995     if test -n "$ac_tool_prefix"; then
   7996   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7997 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7999 printf %s "checking for $ac_word... " >&6; }
   8000 if test ${ac_cv_prog_LIPO+y}
   8001 then :
   8002   printf %s "(cached) " >&6
   8003 else $as_nop
   8004   if test -n "$LIPO"; then
   8005   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8006 else
   8007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8008 for as_dir in $PATH
   8009 do
   8010   IFS=$as_save_IFS
   8011   case $as_dir in #(((
   8012     '') as_dir=./ ;;
   8013     */) ;;
   8014     *) as_dir=$as_dir/ ;;
   8015   esac
   8016     for ac_exec_ext in '' $ac_executable_extensions; do
   8017   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8018     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8019     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8020     break 2
   8021   fi
   8022 done
   8023   done
   8024 IFS=$as_save_IFS
   8025 
   8026 fi
   8027 fi
   8028 LIPO=$ac_cv_prog_LIPO
   8029 if test -n "$LIPO"; then
   8030   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8031 printf "%s\n" "$LIPO" >&6; }
   8032 else
   8033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8034 printf "%s\n" "no" >&6; }
   8035 fi
   8036 
   8037 
   8038 fi
   8039 if test -z "$ac_cv_prog_LIPO"; then
   8040   ac_ct_LIPO=$LIPO
   8041   # Extract the first word of "lipo", so it can be a program name with args.
   8042 set dummy lipo; ac_word=$2
   8043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8044 printf %s "checking for $ac_word... " >&6; }
   8045 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8046 then :
   8047   printf %s "(cached) " >&6
   8048 else $as_nop
   8049   if test -n "$ac_ct_LIPO"; then
   8050   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8051 else
   8052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8053 for as_dir in $PATH
   8054 do
   8055   IFS=$as_save_IFS
   8056   case $as_dir in #(((
   8057     '') as_dir=./ ;;
   8058     */) ;;
   8059     *) as_dir=$as_dir/ ;;
   8060   esac
   8061     for ac_exec_ext in '' $ac_executable_extensions; do
   8062   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8063     ac_cv_prog_ac_ct_LIPO="lipo"
   8064     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8065     break 2
   8066   fi
   8067 done
   8068   done
   8069 IFS=$as_save_IFS
   8070 
   8071 fi
   8072 fi
   8073 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8074 if test -n "$ac_ct_LIPO"; then
   8075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8076 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8077 else
   8078   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8079 printf "%s\n" "no" >&6; }
   8080 fi
   8081 
   8082   if test "x$ac_ct_LIPO" = x; then
   8083     LIPO=":"
   8084   else
   8085     case $cross_compiling:$ac_tool_warned in
   8086 yes:)
   8087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8088 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8089 ac_tool_warned=yes ;;
   8090 esac
   8091     LIPO=$ac_ct_LIPO
   8092   fi
   8093 else
   8094   LIPO="$ac_cv_prog_LIPO"
   8095 fi
   8096 
   8097     if test -n "$ac_tool_prefix"; then
   8098   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8099 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8101 printf %s "checking for $ac_word... " >&6; }
   8102 if test ${ac_cv_prog_OTOOL+y}
   8103 then :
   8104   printf %s "(cached) " >&6
   8105 else $as_nop
   8106   if test -n "$OTOOL"; then
   8107   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8108 else
   8109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8110 for as_dir in $PATH
   8111 do
   8112   IFS=$as_save_IFS
   8113   case $as_dir in #(((
   8114     '') as_dir=./ ;;
   8115     */) ;;
   8116     *) as_dir=$as_dir/ ;;
   8117   esac
   8118     for ac_exec_ext in '' $ac_executable_extensions; do
   8119   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8120     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8121     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8122     break 2
   8123   fi
   8124 done
   8125   done
   8126 IFS=$as_save_IFS
   8127 
   8128 fi
   8129 fi
   8130 OTOOL=$ac_cv_prog_OTOOL
   8131 if test -n "$OTOOL"; then
   8132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8133 printf "%s\n" "$OTOOL" >&6; }
   8134 else
   8135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8136 printf "%s\n" "no" >&6; }
   8137 fi
   8138 
   8139 
   8140 fi
   8141 if test -z "$ac_cv_prog_OTOOL"; then
   8142   ac_ct_OTOOL=$OTOOL
   8143   # Extract the first word of "otool", so it can be a program name with args.
   8144 set dummy otool; ac_word=$2
   8145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8146 printf %s "checking for $ac_word... " >&6; }
   8147 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8148 then :
   8149   printf %s "(cached) " >&6
   8150 else $as_nop
   8151   if test -n "$ac_ct_OTOOL"; then
   8152   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8153 else
   8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8155 for as_dir in $PATH
   8156 do
   8157   IFS=$as_save_IFS
   8158   case $as_dir in #(((
   8159     '') as_dir=./ ;;
   8160     */) ;;
   8161     *) as_dir=$as_dir/ ;;
   8162   esac
   8163     for ac_exec_ext in '' $ac_executable_extensions; do
   8164   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8165     ac_cv_prog_ac_ct_OTOOL="otool"
   8166     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8167     break 2
   8168   fi
   8169 done
   8170   done
   8171 IFS=$as_save_IFS
   8172 
   8173 fi
   8174 fi
   8175 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8176 if test -n "$ac_ct_OTOOL"; then
   8177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8178 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8179 else
   8180   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8181 printf "%s\n" "no" >&6; }
   8182 fi
   8183 
   8184   if test "x$ac_ct_OTOOL" = x; then
   8185     OTOOL=":"
   8186   else
   8187     case $cross_compiling:$ac_tool_warned in
   8188 yes:)
   8189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8190 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8191 ac_tool_warned=yes ;;
   8192 esac
   8193     OTOOL=$ac_ct_OTOOL
   8194   fi
   8195 else
   8196   OTOOL="$ac_cv_prog_OTOOL"
   8197 fi
   8198 
   8199     if test -n "$ac_tool_prefix"; then
   8200   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8201 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8203 printf %s "checking for $ac_word... " >&6; }
   8204 if test ${ac_cv_prog_OTOOL64+y}
   8205 then :
   8206   printf %s "(cached) " >&6
   8207 else $as_nop
   8208   if test -n "$OTOOL64"; then
   8209   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8210 else
   8211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8212 for as_dir in $PATH
   8213 do
   8214   IFS=$as_save_IFS
   8215   case $as_dir in #(((
   8216     '') as_dir=./ ;;
   8217     */) ;;
   8218     *) as_dir=$as_dir/ ;;
   8219   esac
   8220     for ac_exec_ext in '' $ac_executable_extensions; do
   8221   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8222     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8223     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8224     break 2
   8225   fi
   8226 done
   8227   done
   8228 IFS=$as_save_IFS
   8229 
   8230 fi
   8231 fi
   8232 OTOOL64=$ac_cv_prog_OTOOL64
   8233 if test -n "$OTOOL64"; then
   8234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8235 printf "%s\n" "$OTOOL64" >&6; }
   8236 else
   8237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8238 printf "%s\n" "no" >&6; }
   8239 fi
   8240 
   8241 
   8242 fi
   8243 if test -z "$ac_cv_prog_OTOOL64"; then
   8244   ac_ct_OTOOL64=$OTOOL64
   8245   # Extract the first word of "otool64", so it can be a program name with args.
   8246 set dummy otool64; ac_word=$2
   8247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8248 printf %s "checking for $ac_word... " >&6; }
   8249 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8250 then :
   8251   printf %s "(cached) " >&6
   8252 else $as_nop
   8253   if test -n "$ac_ct_OTOOL64"; then
   8254   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8255 else
   8256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8257 for as_dir in $PATH
   8258 do
   8259   IFS=$as_save_IFS
   8260   case $as_dir in #(((
   8261     '') as_dir=./ ;;
   8262     */) ;;
   8263     *) as_dir=$as_dir/ ;;
   8264   esac
   8265     for ac_exec_ext in '' $ac_executable_extensions; do
   8266   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8267     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8268     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8269     break 2
   8270   fi
   8271 done
   8272   done
   8273 IFS=$as_save_IFS
   8274 
   8275 fi
   8276 fi
   8277 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8278 if test -n "$ac_ct_OTOOL64"; then
   8279   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8280 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8281 else
   8282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8283 printf "%s\n" "no" >&6; }
   8284 fi
   8285 
   8286   if test "x$ac_ct_OTOOL64" = x; then
   8287     OTOOL64=":"
   8288   else
   8289     case $cross_compiling:$ac_tool_warned in
   8290 yes:)
   8291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8292 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8293 ac_tool_warned=yes ;;
   8294 esac
   8295     OTOOL64=$ac_ct_OTOOL64
   8296   fi
   8297 else
   8298   OTOOL64="$ac_cv_prog_OTOOL64"
   8299 fi
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8328 printf %s "checking for -single_module linker flag... " >&6; }
   8329 if test ${lt_cv_apple_cc_single_mod+y}
   8330 then :
   8331   printf %s "(cached) " >&6
   8332 else $as_nop
   8333   lt_cv_apple_cc_single_mod=no
   8334       if test -z "$LT_MULTI_MODULE"; then
   8335 	# By default we will add the -single_module flag. You can override
   8336 	# by either setting the environment variable LT_MULTI_MODULE
   8337 	# non-empty at configure time, or by adding -multi_module to the
   8338 	# link flags.
   8339 	rm -rf libconftest.dylib*
   8340 	echo "int foo(void){return 1;}" > conftest.c
   8341 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8342 -dynamiclib -Wl,-single_module conftest.c" >&5
   8343 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8344 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8345         _lt_result=$?
   8346 	# If there is a non-empty error log, and "single_module"
   8347 	# appears in it, assume the flag caused a linker warning
   8348         if test -s conftest.err && $GREP single_module conftest.err; then
   8349 	  cat conftest.err >&5
   8350 	# Otherwise, if the output was created with a 0 exit code from
   8351 	# the compiler, it worked.
   8352 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8353 	  lt_cv_apple_cc_single_mod=yes
   8354 	else
   8355 	  cat conftest.err >&5
   8356 	fi
   8357 	rm -rf libconftest.dylib*
   8358 	rm -f conftest.*
   8359       fi
   8360 fi
   8361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8362 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8363 
   8364     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8365 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8366 if test ${lt_cv_ld_exported_symbols_list+y}
   8367 then :
   8368   printf %s "(cached) " >&6
   8369 else $as_nop
   8370   lt_cv_ld_exported_symbols_list=no
   8371       save_LDFLAGS=$LDFLAGS
   8372       echo "_main" > conftest.sym
   8373       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8375 /* end confdefs.h.  */
   8376 
   8377 int
   8378 main (void)
   8379 {
   8380 
   8381   ;
   8382   return 0;
   8383 }
   8384 _ACEOF
   8385 if ac_fn_c_try_link "$LINENO"
   8386 then :
   8387   lt_cv_ld_exported_symbols_list=yes
   8388 else $as_nop
   8389   lt_cv_ld_exported_symbols_list=no
   8390 fi
   8391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8392     conftest$ac_exeext conftest.$ac_ext
   8393 	LDFLAGS=$save_LDFLAGS
   8394 
   8395 fi
   8396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8397 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8398 
   8399     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8400 printf %s "checking for -force_load linker flag... " >&6; }
   8401 if test ${lt_cv_ld_force_load+y}
   8402 then :
   8403   printf %s "(cached) " >&6
   8404 else $as_nop
   8405   lt_cv_ld_force_load=no
   8406       cat > conftest.c << _LT_EOF
   8407 int forced_loaded() { return 2;}
   8408 _LT_EOF
   8409       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8410       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8411       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8412       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8413       echo "$RANLIB libconftest.a" >&5
   8414       $RANLIB libconftest.a 2>&5
   8415       cat > conftest.c << _LT_EOF
   8416 int main() { return 0;}
   8417 _LT_EOF
   8418       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8419       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8420       _lt_result=$?
   8421       if test -s conftest.err && $GREP force_load conftest.err; then
   8422 	cat conftest.err >&5
   8423       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8424 	lt_cv_ld_force_load=yes
   8425       else
   8426 	cat conftest.err >&5
   8427       fi
   8428         rm -f conftest.err libconftest.a conftest conftest.c
   8429         rm -rf conftest.dSYM
   8430 
   8431 fi
   8432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8433 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8434     case $host_os in
   8435     rhapsody* | darwin1.[012])
   8436       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8437     darwin1.*)
   8438       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8439     darwin*)
   8440       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8441         10.[012],*|,*powerpc*-darwin[5-8]*)
   8442           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8443         *)
   8444           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8445       esac
   8446     ;;
   8447   esac
   8448     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8449       _lt_dar_single_mod='$single_module'
   8450     fi
   8451     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8452       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8453     else
   8454       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8455     fi
   8456     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8457       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8458     else
   8459       _lt_dsymutil=
   8460     fi
   8461     ;;
   8462   esac
   8463 
   8464 # func_munge_path_list VARIABLE PATH
   8465 # -----------------------------------
   8466 # VARIABLE is name of variable containing _space_ separated list of
   8467 # directories to be munged by the contents of PATH, which is string
   8468 # having a format:
   8469 # "DIR[:DIR]:"
   8470 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8471 # ":DIR[:DIR]"
   8472 #       string "DIR[ DIR]" will be appended to VARIABLE
   8473 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8474 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8475 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8476 # "DIR[:DIR]"
   8477 #       VARIABLE will be replaced by "DIR[ DIR]"
   8478 func_munge_path_list ()
   8479 {
   8480     case x$2 in
   8481     x)
   8482         ;;
   8483     *:)
   8484         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8485         ;;
   8486     x:*)
   8487         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8488         ;;
   8489     *::*)
   8490         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8491         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8492         ;;
   8493     *)
   8494         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8495         ;;
   8496     esac
   8497 }
   8498 
   8499 ac_header= ac_cache=
   8500 for ac_item in $ac_header_c_list
   8501 do
   8502   if test $ac_cache; then
   8503     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8504     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8505       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8506     fi
   8507     ac_header= ac_cache=
   8508   elif test $ac_header; then
   8509     ac_cache=$ac_item
   8510   else
   8511     ac_header=$ac_item
   8512   fi
   8513 done
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8523 then :
   8524 
   8525 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8526 
   8527 fi
   8528 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8529 "
   8530 if test "x$ac_cv_header_dlfcn_h" = xyes
   8531 then :
   8532   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8533 
   8534 fi
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 # Set options
   8541 
   8542 
   8543 
   8544         enable_dlopen=no
   8545 
   8546 
   8547   enable_win32_dll=no
   8548 
   8549 
   8550             # Check whether --enable-shared was given.
   8551 if test ${enable_shared+y}
   8552 then :
   8553   enableval=$enable_shared; p=${PACKAGE-default}
   8554     case $enableval in
   8555     yes) enable_shared=yes ;;
   8556     no) enable_shared=no ;;
   8557     *)
   8558       enable_shared=no
   8559       # Look at the argument we got.  We use all the common list separators.
   8560       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8561       for pkg in $enableval; do
   8562 	IFS=$lt_save_ifs
   8563 	if test "X$pkg" = "X$p"; then
   8564 	  enable_shared=yes
   8565 	fi
   8566       done
   8567       IFS=$lt_save_ifs
   8568       ;;
   8569     esac
   8570 else $as_nop
   8571   enable_shared=yes
   8572 fi
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582   # Check whether --enable-static was given.
   8583 if test ${enable_static+y}
   8584 then :
   8585   enableval=$enable_static; p=${PACKAGE-default}
   8586     case $enableval in
   8587     yes) enable_static=yes ;;
   8588     no) enable_static=no ;;
   8589     *)
   8590      enable_static=no
   8591       # Look at the argument we got.  We use all the common list separators.
   8592       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8593       for pkg in $enableval; do
   8594 	IFS=$lt_save_ifs
   8595 	if test "X$pkg" = "X$p"; then
   8596 	  enable_static=yes
   8597 	fi
   8598       done
   8599       IFS=$lt_save_ifs
   8600       ;;
   8601     esac
   8602 else $as_nop
   8603   enable_static=yes
   8604 fi
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 # Check whether --with-pic was given.
   8616 if test ${with_pic+y}
   8617 then :
   8618   withval=$with_pic; lt_p=${PACKAGE-default}
   8619     case $withval in
   8620     yes|no) pic_mode=$withval ;;
   8621     *)
   8622       pic_mode=default
   8623       # Look at the argument we got.  We use all the common list separators.
   8624       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8625       for lt_pkg in $withval; do
   8626 	IFS=$lt_save_ifs
   8627 	if test "X$lt_pkg" = "X$lt_p"; then
   8628 	  pic_mode=yes
   8629 	fi
   8630       done
   8631       IFS=$lt_save_ifs
   8632       ;;
   8633     esac
   8634 else $as_nop
   8635   pic_mode=default
   8636 fi
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645   # Check whether --enable-fast-install was given.
   8646 if test ${enable_fast_install+y}
   8647 then :
   8648   enableval=$enable_fast_install; p=${PACKAGE-default}
   8649     case $enableval in
   8650     yes) enable_fast_install=yes ;;
   8651     no) enable_fast_install=no ;;
   8652     *)
   8653       enable_fast_install=no
   8654       # Look at the argument we got.  We use all the common list separators.
   8655       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8656       for pkg in $enableval; do
   8657 	IFS=$lt_save_ifs
   8658 	if test "X$pkg" = "X$p"; then
   8659 	  enable_fast_install=yes
   8660 	fi
   8661       done
   8662       IFS=$lt_save_ifs
   8663       ;;
   8664     esac
   8665 else $as_nop
   8666   enable_fast_install=yes
   8667 fi
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676   shared_archive_member_spec=
   8677 case $host,$enable_shared in
   8678 power*-*-aix[5-9]*,yes)
   8679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8680 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8681 
   8682 # Check whether --with-aix-soname was given.
   8683 if test ${with_aix_soname+y}
   8684 then :
   8685   withval=$with_aix_soname; case $withval in
   8686     aix|svr4|both)
   8687       ;;
   8688     *)
   8689       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8690       ;;
   8691     esac
   8692     lt_cv_with_aix_soname=$with_aix_soname
   8693 else $as_nop
   8694   if test ${lt_cv_with_aix_soname+y}
   8695 then :
   8696   printf %s "(cached) " >&6
   8697 else $as_nop
   8698   lt_cv_with_aix_soname=aix
   8699 fi
   8700 
   8701     with_aix_soname=$lt_cv_with_aix_soname
   8702 fi
   8703 
   8704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8705 printf "%s\n" "$with_aix_soname" >&6; }
   8706   if test aix != "$with_aix_soname"; then
   8707     # For the AIX way of multilib, we name the shared archive member
   8708     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8709     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8710     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8711     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8712     if test 64 = "${OBJECT_MODE-32}"; then
   8713       shared_archive_member_spec=shr_64
   8714     else
   8715       shared_archive_member_spec=shr
   8716     fi
   8717   fi
   8718   ;;
   8719 *)
   8720   with_aix_soname=aix
   8721   ;;
   8722 esac
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 # This can be used to rebuild libtool when needed
   8734 LIBTOOL_DEPS=$ltmain
   8735 
   8736 # Always use our own libtool.
   8737 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 
   8747 
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 test -z "$LN_S" && LN_S="ln -s"
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 if test -n "${ZSH_VERSION+set}"; then
   8784    setopt NO_GLOB_SUBST
   8785 fi
   8786 
   8787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8788 printf %s "checking for objdir... " >&6; }
   8789 if test ${lt_cv_objdir+y}
   8790 then :
   8791   printf %s "(cached) " >&6
   8792 else $as_nop
   8793   rm -f .libs 2>/dev/null
   8794 mkdir .libs 2>/dev/null
   8795 if test -d .libs; then
   8796   lt_cv_objdir=.libs
   8797 else
   8798   # MS-DOS does not allow filenames that begin with a dot.
   8799   lt_cv_objdir=_libs
   8800 fi
   8801 rmdir .libs 2>/dev/null
   8802 fi
   8803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8804 printf "%s\n" "$lt_cv_objdir" >&6; }
   8805 objdir=$lt_cv_objdir
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8812 
   8813 
   8814 
   8815 
   8816 case $host_os in
   8817 aix3*)
   8818   # AIX sometimes has problems with the GCC collect2 program.  For some
   8819   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8820   # vanish in a puff of smoke.
   8821   if test set != "${COLLECT_NAMES+set}"; then
   8822     COLLECT_NAMES=
   8823     export COLLECT_NAMES
   8824   fi
   8825   ;;
   8826 esac
   8827 
   8828 # Global variables:
   8829 ofile=libtool
   8830 can_build_shared=yes
   8831 
   8832 # All known linkers require a '.a' archive for static linking (except MSVC and
   8833 # ICC, which need '.lib').
   8834 libext=a
   8835 
   8836 with_gnu_ld=$lt_cv_prog_gnu_ld
   8837 
   8838 old_CC=$CC
   8839 old_CFLAGS=$CFLAGS
   8840 
   8841 # Set sane defaults for various variables
   8842 test -z "$CC" && CC=cc
   8843 test -z "$LTCC" && LTCC=$CC
   8844 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8845 test -z "$LD" && LD=ld
   8846 test -z "$ac_objext" && ac_objext=o
   8847 
   8848 func_cc_basename $compiler
   8849 cc_basename=$func_cc_basename_result
   8850 
   8851 
   8852 # Only perform the check for file, if the check method requires it
   8853 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8854 case $deplibs_check_method in
   8855 file_magic*)
   8856   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8857     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8858 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8859 if test ${lt_cv_path_MAGIC_CMD+y}
   8860 then :
   8861   printf %s "(cached) " >&6
   8862 else $as_nop
   8863   case $MAGIC_CMD in
   8864 [\\/*] |  ?:[\\/]*)
   8865   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8866   ;;
   8867 *)
   8868   lt_save_MAGIC_CMD=$MAGIC_CMD
   8869   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8870   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8871   for ac_dir in $ac_dummy; do
   8872     IFS=$lt_save_ifs
   8873     test -z "$ac_dir" && ac_dir=.
   8874     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8875       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8876       if test -n "$file_magic_test_file"; then
   8877 	case $deplibs_check_method in
   8878 	"file_magic "*)
   8879 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8880 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8881 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8882 	    $EGREP "$file_magic_regex" > /dev/null; then
   8883 	    :
   8884 	  else
   8885 	    cat <<_LT_EOF 1>&2
   8886 
   8887 *** Warning: the command libtool uses to detect shared libraries,
   8888 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8889 *** The result is that libtool may fail to recognize shared libraries
   8890 *** as such.  This will affect the creation of libtool libraries that
   8891 *** depend on shared libraries, but programs linked with such libtool
   8892 *** libraries will work regardless of this problem.  Nevertheless, you
   8893 *** may want to report the problem to your system manager and/or to
   8894 *** bug-libtool@gnu.org
   8895 
   8896 _LT_EOF
   8897 	  fi ;;
   8898 	esac
   8899       fi
   8900       break
   8901     fi
   8902   done
   8903   IFS=$lt_save_ifs
   8904   MAGIC_CMD=$lt_save_MAGIC_CMD
   8905   ;;
   8906 esac
   8907 fi
   8908 
   8909 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8910 if test -n "$MAGIC_CMD"; then
   8911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8912 printf "%s\n" "$MAGIC_CMD" >&6; }
   8913 else
   8914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8915 printf "%s\n" "no" >&6; }
   8916 fi
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8923   if test -n "$ac_tool_prefix"; then
   8924     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8925 printf %s "checking for file... " >&6; }
   8926 if test ${lt_cv_path_MAGIC_CMD+y}
   8927 then :
   8928   printf %s "(cached) " >&6
   8929 else $as_nop
   8930   case $MAGIC_CMD in
   8931 [\\/*] |  ?:[\\/]*)
   8932   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8933   ;;
   8934 *)
   8935   lt_save_MAGIC_CMD=$MAGIC_CMD
   8936   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8937   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8938   for ac_dir in $ac_dummy; do
   8939     IFS=$lt_save_ifs
   8940     test -z "$ac_dir" && ac_dir=.
   8941     if test -f "$ac_dir/file"; then
   8942       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8943       if test -n "$file_magic_test_file"; then
   8944 	case $deplibs_check_method in
   8945 	"file_magic "*)
   8946 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8947 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8948 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8949 	    $EGREP "$file_magic_regex" > /dev/null; then
   8950 	    :
   8951 	  else
   8952 	    cat <<_LT_EOF 1>&2
   8953 
   8954 *** Warning: the command libtool uses to detect shared libraries,
   8955 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8956 *** The result is that libtool may fail to recognize shared libraries
   8957 *** as such.  This will affect the creation of libtool libraries that
   8958 *** depend on shared libraries, but programs linked with such libtool
   8959 *** libraries will work regardless of this problem.  Nevertheless, you
   8960 *** may want to report the problem to your system manager and/or to
   8961 *** bug-libtool@gnu.org
   8962 
   8963 _LT_EOF
   8964 	  fi ;;
   8965 	esac
   8966       fi
   8967       break
   8968     fi
   8969   done
   8970   IFS=$lt_save_ifs
   8971   MAGIC_CMD=$lt_save_MAGIC_CMD
   8972   ;;
   8973 esac
   8974 fi
   8975 
   8976 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8977 if test -n "$MAGIC_CMD"; then
   8978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8979 printf "%s\n" "$MAGIC_CMD" >&6; }
   8980 else
   8981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8982 printf "%s\n" "no" >&6; }
   8983 fi
   8984 
   8985 
   8986   else
   8987     MAGIC_CMD=:
   8988   fi
   8989 fi
   8990 
   8991   fi
   8992   ;;
   8993 esac
   8994 
   8995 # Use C for the default configuration in the libtool script
   8996 
   8997 lt_save_CC=$CC
   8998 ac_ext=c
   8999 ac_cpp='$CPP $CPPFLAGS'
   9000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9003 
   9004 
   9005 # Source file extension for C test sources.
   9006 ac_ext=c
   9007 
   9008 # Object file extension for compiled C test sources.
   9009 objext=o
   9010 objext=$objext
   9011 
   9012 # Code to be used in simple compile tests
   9013 lt_simple_compile_test_code="int some_variable = 0;"
   9014 
   9015 # Code to be used in simple link tests
   9016 lt_simple_link_test_code='int main(){return(0);}'
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 # If no C compiler was specified, use CC.
   9025 LTCC=${LTCC-"$CC"}
   9026 
   9027 # If no C compiler flags were specified, use CFLAGS.
   9028 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9029 
   9030 # Allow CC to be a program name with arguments.
   9031 compiler=$CC
   9032 
   9033 # Save the default compiler, since it gets overwritten when the other
   9034 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9035 compiler_DEFAULT=$CC
   9036 
   9037 # save warnings/boilerplate of simple test code
   9038 ac_outfile=conftest.$ac_objext
   9039 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9040 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9041 _lt_compiler_boilerplate=`cat conftest.err`
   9042 $RM conftest*
   9043 
   9044 ac_outfile=conftest.$ac_objext
   9045 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9046 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9047 _lt_linker_boilerplate=`cat conftest.err`
   9048 $RM -r conftest*
   9049 
   9050 
   9051 if test -n "$compiler"; then
   9052 
   9053 lt_prog_compiler_no_builtin_flag=
   9054 
   9055 if test yes = "$GCC"; then
   9056   case $cc_basename in
   9057   nvcc*)
   9058     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9059   *)
   9060     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9061   esac
   9062 
   9063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9064 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9065 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9066 then :
   9067   printf %s "(cached) " >&6
   9068 else $as_nop
   9069   lt_cv_prog_compiler_rtti_exceptions=no
   9070    ac_outfile=conftest.$ac_objext
   9071    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9072    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9073    # Insert the option either (1) after the last *FLAGS variable, or
   9074    # (2) before a word containing "conftest.", or (3) at the end.
   9075    # Note that $ac_compile itself does not contain backslashes and begins
   9076    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9077    # The option is referenced via a variable to avoid confusing sed.
   9078    lt_compile=`echo "$ac_compile" | $SED \
   9079    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9080    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9081    -e 's:$: $lt_compiler_flag:'`
   9082    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9083    (eval "$lt_compile" 2>conftest.err)
   9084    ac_status=$?
   9085    cat conftest.err >&5
   9086    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9087    if (exit $ac_status) && test -s "$ac_outfile"; then
   9088      # The compiler can only warn and ignore the option if not recognized
   9089      # So say no if there are warnings other than the usual output.
   9090      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9091      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9092      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9093        lt_cv_prog_compiler_rtti_exceptions=yes
   9094      fi
   9095    fi
   9096    $RM conftest*
   9097 
   9098 fi
   9099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9100 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9101 
   9102 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9103     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9104 else
   9105     :
   9106 fi
   9107 
   9108 fi
   9109 
   9110 
   9111 
   9112 
   9113 
   9114 
   9115   lt_prog_compiler_wl=
   9116 lt_prog_compiler_pic=
   9117 lt_prog_compiler_static=
   9118 
   9119 
   9120   if test yes = "$GCC"; then
   9121     lt_prog_compiler_wl='-Wl,'
   9122     lt_prog_compiler_static='-static'
   9123 
   9124     case $host_os in
   9125       aix*)
   9126       # All AIX code is PIC.
   9127       if test ia64 = "$host_cpu"; then
   9128 	# AIX 5 now supports IA64 processor
   9129 	lt_prog_compiler_static='-Bstatic'
   9130       fi
   9131       lt_prog_compiler_pic='-fPIC'
   9132       ;;
   9133 
   9134     amigaos*)
   9135       case $host_cpu in
   9136       powerpc)
   9137             # see comment about AmigaOS4 .so support
   9138             lt_prog_compiler_pic='-fPIC'
   9139         ;;
   9140       m68k)
   9141             # FIXME: we need at least 68020 code to build shared libraries, but
   9142             # adding the '-m68020' flag to GCC prevents building anything better,
   9143             # like '-m68040'.
   9144             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9145         ;;
   9146       esac
   9147       ;;
   9148 
   9149     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9150       # PIC is the default for these OSes.
   9151       ;;
   9152 
   9153     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9154       # This hack is so that the source file can tell whether it is being
   9155       # built for inclusion in a dll (and should export symbols for example).
   9156       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9157       # (--disable-auto-import) libraries
   9158       lt_prog_compiler_pic='-DDLL_EXPORT'
   9159       case $host_os in
   9160       os2*)
   9161 	lt_prog_compiler_static='$wl-static'
   9162 	;;
   9163       esac
   9164       ;;
   9165 
   9166     darwin* | rhapsody*)
   9167       # PIC is the default on this platform
   9168       # Common symbols not allowed in MH_DYLIB files
   9169       lt_prog_compiler_pic='-fno-common'
   9170       ;;
   9171 
   9172     haiku*)
   9173       # PIC is the default for Haiku.
   9174       # The "-static" flag exists, but is broken.
   9175       lt_prog_compiler_static=
   9176       ;;
   9177 
   9178     hpux*)
   9179       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9180       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9181       # sets the default TLS model and affects inlining.
   9182       case $host_cpu in
   9183       hppa*64*)
   9184 	# +Z the default
   9185 	;;
   9186       *)
   9187 	lt_prog_compiler_pic='-fPIC'
   9188 	;;
   9189       esac
   9190       ;;
   9191 
   9192     interix[3-9]*)
   9193       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9194       # Instead, we relocate shared libraries at runtime.
   9195       ;;
   9196 
   9197     msdosdjgpp*)
   9198       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9199       # on systems that don't support them.
   9200       lt_prog_compiler_can_build_shared=no
   9201       enable_shared=no
   9202       ;;
   9203 
   9204     *nto* | *qnx*)
   9205       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9206       # it will coredump.
   9207       lt_prog_compiler_pic='-fPIC -shared'
   9208       ;;
   9209 
   9210     sysv4*MP*)
   9211       if test -d /usr/nec; then
   9212 	lt_prog_compiler_pic=-Kconform_pic
   9213       fi
   9214       ;;
   9215 
   9216     *)
   9217       lt_prog_compiler_pic='-fPIC'
   9218       ;;
   9219     esac
   9220 
   9221     case $cc_basename in
   9222     nvcc*) # Cuda Compiler Driver 2.2
   9223       lt_prog_compiler_wl='-Xlinker '
   9224       if test -n "$lt_prog_compiler_pic"; then
   9225         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9226       fi
   9227       ;;
   9228     esac
   9229   else
   9230     # PORTME Check for flag to pass linker flags through the system compiler.
   9231     case $host_os in
   9232     aix*)
   9233       lt_prog_compiler_wl='-Wl,'
   9234       if test ia64 = "$host_cpu"; then
   9235 	# AIX 5 now supports IA64 processor
   9236 	lt_prog_compiler_static='-Bstatic'
   9237       else
   9238 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9239       fi
   9240       ;;
   9241 
   9242     darwin* | rhapsody*)
   9243       # PIC is the default on this platform
   9244       # Common symbols not allowed in MH_DYLIB files
   9245       lt_prog_compiler_pic='-fno-common'
   9246       case $cc_basename in
   9247       nagfor*)
   9248         # NAG Fortran compiler
   9249         lt_prog_compiler_wl='-Wl,-Wl,,'
   9250         lt_prog_compiler_pic='-PIC'
   9251         lt_prog_compiler_static='-Bstatic'
   9252         ;;
   9253       esac
   9254       ;;
   9255 
   9256     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9257       # This hack is so that the source file can tell whether it is being
   9258       # built for inclusion in a dll (and should export symbols for example).
   9259       lt_prog_compiler_pic='-DDLL_EXPORT'
   9260       case $host_os in
   9261       os2*)
   9262 	lt_prog_compiler_static='$wl-static'
   9263 	;;
   9264       esac
   9265       ;;
   9266 
   9267     hpux9* | hpux10* | hpux11*)
   9268       lt_prog_compiler_wl='-Wl,'
   9269       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9270       # not for PA HP-UX.
   9271       case $host_cpu in
   9272       hppa*64*|ia64*)
   9273 	# +Z the default
   9274 	;;
   9275       *)
   9276 	lt_prog_compiler_pic='+Z'
   9277 	;;
   9278       esac
   9279       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9280       lt_prog_compiler_static='$wl-a ${wl}archive'
   9281       ;;
   9282 
   9283     irix5* | irix6* | nonstopux*)
   9284       lt_prog_compiler_wl='-Wl,'
   9285       # PIC (with -KPIC) is the default.
   9286       lt_prog_compiler_static='-non_shared'
   9287       ;;
   9288 
   9289     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9290       case $cc_basename in
   9291       # old Intel for x86_64, which still supported -KPIC.
   9292       ecc*)
   9293 	lt_prog_compiler_wl='-Wl,'
   9294 	lt_prog_compiler_pic='-KPIC'
   9295 	lt_prog_compiler_static='-static'
   9296         ;;
   9297       # icc used to be incompatible with GCC.
   9298       # ICC 10 doesn't accept -KPIC any more.
   9299       icc* | ifort*)
   9300 	lt_prog_compiler_wl='-Wl,'
   9301 	lt_prog_compiler_pic='-fPIC'
   9302 	lt_prog_compiler_static='-static'
   9303         ;;
   9304       # Lahey Fortran 8.1.
   9305       lf95*)
   9306 	lt_prog_compiler_wl='-Wl,'
   9307 	lt_prog_compiler_pic='--shared'
   9308 	lt_prog_compiler_static='--static'
   9309 	;;
   9310       nagfor*)
   9311 	# NAG Fortran compiler
   9312 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9313 	lt_prog_compiler_pic='-PIC'
   9314 	lt_prog_compiler_static='-Bstatic'
   9315 	;;
   9316       tcc*)
   9317 	# Fabrice Bellard et al's Tiny C Compiler
   9318 	lt_prog_compiler_wl='-Wl,'
   9319 	lt_prog_compiler_pic='-fPIC'
   9320 	lt_prog_compiler_static='-static'
   9321 	;;
   9322       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9323         # Portland Group compilers (*not* the Pentium gcc compiler,
   9324 	# which looks to be a dead project)
   9325 	lt_prog_compiler_wl='-Wl,'
   9326 	lt_prog_compiler_pic='-fpic'
   9327 	lt_prog_compiler_static='-Bstatic'
   9328         ;;
   9329       ccc*)
   9330         lt_prog_compiler_wl='-Wl,'
   9331         # All Alpha code is PIC.
   9332         lt_prog_compiler_static='-non_shared'
   9333         ;;
   9334       xl* | bgxl* | bgf* | mpixl*)
   9335 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9336 	lt_prog_compiler_wl='-Wl,'
   9337 	lt_prog_compiler_pic='-qpic'
   9338 	lt_prog_compiler_static='-qstaticlink'
   9339 	;;
   9340       *)
   9341 	case `$CC -V 2>&1 | $SED 5q` in
   9342 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9343 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9344 	  lt_prog_compiler_pic='-KPIC'
   9345 	  lt_prog_compiler_static='-Bstatic'
   9346 	  lt_prog_compiler_wl=''
   9347 	  ;;
   9348 	*Sun\ F* | *Sun*Fortran*)
   9349 	  lt_prog_compiler_pic='-KPIC'
   9350 	  lt_prog_compiler_static='-Bstatic'
   9351 	  lt_prog_compiler_wl='-Qoption ld '
   9352 	  ;;
   9353 	*Sun\ C*)
   9354 	  # Sun C 5.9
   9355 	  lt_prog_compiler_pic='-KPIC'
   9356 	  lt_prog_compiler_static='-Bstatic'
   9357 	  lt_prog_compiler_wl='-Wl,'
   9358 	  ;;
   9359         *Intel*\ [CF]*Compiler*)
   9360 	  lt_prog_compiler_wl='-Wl,'
   9361 	  lt_prog_compiler_pic='-fPIC'
   9362 	  lt_prog_compiler_static='-static'
   9363 	  ;;
   9364 	*Portland\ Group*)
   9365 	  lt_prog_compiler_wl='-Wl,'
   9366 	  lt_prog_compiler_pic='-fpic'
   9367 	  lt_prog_compiler_static='-Bstatic'
   9368 	  ;;
   9369 	esac
   9370 	;;
   9371       esac
   9372       ;;
   9373 
   9374     newsos6)
   9375       lt_prog_compiler_pic='-KPIC'
   9376       lt_prog_compiler_static='-Bstatic'
   9377       ;;
   9378 
   9379     *nto* | *qnx*)
   9380       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9381       # it will coredump.
   9382       lt_prog_compiler_pic='-fPIC -shared'
   9383       ;;
   9384 
   9385     osf3* | osf4* | osf5*)
   9386       lt_prog_compiler_wl='-Wl,'
   9387       # All OSF/1 code is PIC.
   9388       lt_prog_compiler_static='-non_shared'
   9389       ;;
   9390 
   9391     rdos*)
   9392       lt_prog_compiler_static='-non_shared'
   9393       ;;
   9394 
   9395     solaris*)
   9396       lt_prog_compiler_pic='-KPIC'
   9397       lt_prog_compiler_static='-Bstatic'
   9398       case $cc_basename in
   9399       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9400 	lt_prog_compiler_wl='-Qoption ld ';;
   9401       *)
   9402 	lt_prog_compiler_wl='-Wl,';;
   9403       esac
   9404       ;;
   9405 
   9406     sunos4*)
   9407       lt_prog_compiler_wl='-Qoption ld '
   9408       lt_prog_compiler_pic='-PIC'
   9409       lt_prog_compiler_static='-Bstatic'
   9410       ;;
   9411 
   9412     sysv4 | sysv4.2uw2* | sysv4.3*)
   9413       lt_prog_compiler_wl='-Wl,'
   9414       lt_prog_compiler_pic='-KPIC'
   9415       lt_prog_compiler_static='-Bstatic'
   9416       ;;
   9417 
   9418     sysv4*MP*)
   9419       if test -d /usr/nec; then
   9420 	lt_prog_compiler_pic='-Kconform_pic'
   9421 	lt_prog_compiler_static='-Bstatic'
   9422       fi
   9423       ;;
   9424 
   9425     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9426       lt_prog_compiler_wl='-Wl,'
   9427       lt_prog_compiler_pic='-KPIC'
   9428       lt_prog_compiler_static='-Bstatic'
   9429       ;;
   9430 
   9431     unicos*)
   9432       lt_prog_compiler_wl='-Wl,'
   9433       lt_prog_compiler_can_build_shared=no
   9434       ;;
   9435 
   9436     uts4*)
   9437       lt_prog_compiler_pic='-pic'
   9438       lt_prog_compiler_static='-Bstatic'
   9439       ;;
   9440 
   9441     *)
   9442       lt_prog_compiler_can_build_shared=no
   9443       ;;
   9444     esac
   9445   fi
   9446 
   9447 case $host_os in
   9448   # For platforms that do not support PIC, -DPIC is meaningless:
   9449   *djgpp*)
   9450     lt_prog_compiler_pic=
   9451     ;;
   9452   *)
   9453     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9454     ;;
   9455 esac
   9456 
   9457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9458 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9459 if test ${lt_cv_prog_compiler_pic+y}
   9460 then :
   9461   printf %s "(cached) " >&6
   9462 else $as_nop
   9463   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9464 fi
   9465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9466 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9467 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9468 
   9469 #
   9470 # Check to make sure the PIC flag actually works.
   9471 #
   9472 if test -n "$lt_prog_compiler_pic"; then
   9473   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9474 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9475 if test ${lt_cv_prog_compiler_pic_works+y}
   9476 then :
   9477   printf %s "(cached) " >&6
   9478 else $as_nop
   9479   lt_cv_prog_compiler_pic_works=no
   9480    ac_outfile=conftest.$ac_objext
   9481    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9482    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9483    # Insert the option either (1) after the last *FLAGS variable, or
   9484    # (2) before a word containing "conftest.", or (3) at the end.
   9485    # Note that $ac_compile itself does not contain backslashes and begins
   9486    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9487    # The option is referenced via a variable to avoid confusing sed.
   9488    lt_compile=`echo "$ac_compile" | $SED \
   9489    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9490    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9491    -e 's:$: $lt_compiler_flag:'`
   9492    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9493    (eval "$lt_compile" 2>conftest.err)
   9494    ac_status=$?
   9495    cat conftest.err >&5
   9496    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9497    if (exit $ac_status) && test -s "$ac_outfile"; then
   9498      # The compiler can only warn and ignore the option if not recognized
   9499      # So say no if there are warnings other than the usual output.
   9500      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9501      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9502      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9503        lt_cv_prog_compiler_pic_works=yes
   9504      fi
   9505    fi
   9506    $RM conftest*
   9507 
   9508 fi
   9509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9510 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9511 
   9512 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9513     case $lt_prog_compiler_pic in
   9514      "" | " "*) ;;
   9515      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9516      esac
   9517 else
   9518     lt_prog_compiler_pic=
   9519      lt_prog_compiler_can_build_shared=no
   9520 fi
   9521 
   9522 fi
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 #
   9535 # Check to make sure the static flag actually works.
   9536 #
   9537 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9539 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9540 if test ${lt_cv_prog_compiler_static_works+y}
   9541 then :
   9542   printf %s "(cached) " >&6
   9543 else $as_nop
   9544   lt_cv_prog_compiler_static_works=no
   9545    save_LDFLAGS=$LDFLAGS
   9546    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9547    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9548    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9549      # The linker can only warn and ignore the option if not recognized
   9550      # So say no if there are warnings
   9551      if test -s conftest.err; then
   9552        # Append any errors to the config.log.
   9553        cat conftest.err 1>&5
   9554        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9555        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9556        if diff conftest.exp conftest.er2 >/dev/null; then
   9557          lt_cv_prog_compiler_static_works=yes
   9558        fi
   9559      else
   9560        lt_cv_prog_compiler_static_works=yes
   9561      fi
   9562    fi
   9563    $RM -r conftest*
   9564    LDFLAGS=$save_LDFLAGS
   9565 
   9566 fi
   9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9568 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9569 
   9570 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9571     :
   9572 else
   9573     lt_prog_compiler_static=
   9574 fi
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9583 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9584 if test ${lt_cv_prog_compiler_c_o+y}
   9585 then :
   9586   printf %s "(cached) " >&6
   9587 else $as_nop
   9588   lt_cv_prog_compiler_c_o=no
   9589    $RM -r conftest 2>/dev/null
   9590    mkdir conftest
   9591    cd conftest
   9592    mkdir out
   9593    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9594 
   9595    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9596    # Insert the option either (1) after the last *FLAGS variable, or
   9597    # (2) before a word containing "conftest.", or (3) at the end.
   9598    # Note that $ac_compile itself does not contain backslashes and begins
   9599    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9600    lt_compile=`echo "$ac_compile" | $SED \
   9601    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9602    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9603    -e 's:$: $lt_compiler_flag:'`
   9604    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9605    (eval "$lt_compile" 2>out/conftest.err)
   9606    ac_status=$?
   9607    cat out/conftest.err >&5
   9608    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9609    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9610    then
   9611      # The compiler can only warn and ignore the option if not recognized
   9612      # So say no if there are warnings
   9613      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9614      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9615      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9616        lt_cv_prog_compiler_c_o=yes
   9617      fi
   9618    fi
   9619    chmod u+w . 2>&5
   9620    $RM conftest*
   9621    # SGI C++ compiler will create directory out/ii_files/ for
   9622    # template instantiation
   9623    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9624    $RM out/* && rmdir out
   9625    cd ..
   9626    $RM -r conftest
   9627    $RM conftest*
   9628 
   9629 fi
   9630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9631 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9639 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9640 if test ${lt_cv_prog_compiler_c_o+y}
   9641 then :
   9642   printf %s "(cached) " >&6
   9643 else $as_nop
   9644   lt_cv_prog_compiler_c_o=no
   9645    $RM -r conftest 2>/dev/null
   9646    mkdir conftest
   9647    cd conftest
   9648    mkdir out
   9649    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9650 
   9651    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9652    # Insert the option either (1) after the last *FLAGS variable, or
   9653    # (2) before a word containing "conftest.", or (3) at the end.
   9654    # Note that $ac_compile itself does not contain backslashes and begins
   9655    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9656    lt_compile=`echo "$ac_compile" | $SED \
   9657    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9658    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9659    -e 's:$: $lt_compiler_flag:'`
   9660    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9661    (eval "$lt_compile" 2>out/conftest.err)
   9662    ac_status=$?
   9663    cat out/conftest.err >&5
   9664    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9665    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9666    then
   9667      # The compiler can only warn and ignore the option if not recognized
   9668      # So say no if there are warnings
   9669      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9670      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9671      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9672        lt_cv_prog_compiler_c_o=yes
   9673      fi
   9674    fi
   9675    chmod u+w . 2>&5
   9676    $RM conftest*
   9677    # SGI C++ compiler will create directory out/ii_files/ for
   9678    # template instantiation
   9679    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9680    $RM out/* && rmdir out
   9681    cd ..
   9682    $RM -r conftest
   9683    $RM conftest*
   9684 
   9685 fi
   9686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9687 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9688 
   9689 
   9690 
   9691 
   9692 hard_links=nottested
   9693 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9694   # do not overwrite the value of need_locks provided by the user
   9695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9696 printf %s "checking if we can lock with hard links... " >&6; }
   9697   hard_links=yes
   9698   $RM conftest*
   9699   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9700   touch conftest.a
   9701   ln conftest.a conftest.b 2>&5 || hard_links=no
   9702   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9704 printf "%s\n" "$hard_links" >&6; }
   9705   if test no = "$hard_links"; then
   9706     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9707 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9708     need_locks=warn
   9709   fi
   9710 else
   9711   need_locks=no
   9712 fi
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9720 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9721 
   9722   runpath_var=
   9723   allow_undefined_flag=
   9724   always_export_symbols=no
   9725   archive_cmds=
   9726   archive_expsym_cmds=
   9727   compiler_needs_object=no
   9728   enable_shared_with_static_runtimes=no
   9729   export_dynamic_flag_spec=
   9730   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9731   hardcode_automatic=no
   9732   hardcode_direct=no
   9733   hardcode_direct_absolute=no
   9734   hardcode_libdir_flag_spec=
   9735   hardcode_libdir_separator=
   9736   hardcode_minus_L=no
   9737   hardcode_shlibpath_var=unsupported
   9738   inherit_rpath=no
   9739   link_all_deplibs=unknown
   9740   module_cmds=
   9741   module_expsym_cmds=
   9742   old_archive_from_new_cmds=
   9743   old_archive_from_expsyms_cmds=
   9744   thread_safe_flag_spec=
   9745   whole_archive_flag_spec=
   9746   # include_expsyms should be a list of space-separated symbols to be *always*
   9747   # included in the symbol list
   9748   include_expsyms=
   9749   # exclude_expsyms can be an extended regexp of symbols to exclude
   9750   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9751   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9752   # as well as any symbol that contains 'd'.
   9753   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9754   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9755   # platforms (ab)use it in PIC code, but their linkers get confused if
   9756   # the symbol is explicitly referenced.  Since portable code cannot
   9757   # rely on this symbol name, it's probably fine to never include it in
   9758   # preloaded symbol tables.
   9759   # Exclude shared library initialization/finalization symbols.
   9760   extract_expsyms_cmds=
   9761 
   9762   case $host_os in
   9763   cygwin* | mingw* | pw32* | cegcc*)
   9764     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9765     # When not using gcc, we currently assume that we are using
   9766     # Microsoft Visual C++ or Intel C++ Compiler.
   9767     if test yes != "$GCC"; then
   9768       with_gnu_ld=no
   9769     fi
   9770     ;;
   9771   interix*)
   9772     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9773     with_gnu_ld=yes
   9774     ;;
   9775   openbsd* | bitrig*)
   9776     with_gnu_ld=no
   9777     ;;
   9778   esac
   9779 
   9780   ld_shlibs=yes
   9781 
   9782   # On some targets, GNU ld is compatible enough with the native linker
   9783   # that we're better off using the native interface for both.
   9784   lt_use_gnu_ld_interface=no
   9785   if test yes = "$with_gnu_ld"; then
   9786     case $host_os in
   9787       aix*)
   9788 	# The AIX port of GNU ld has always aspired to compatibility
   9789 	# with the native linker.  However, as the warning in the GNU ld
   9790 	# block says, versions before 2.19.5* couldn't really create working
   9791 	# shared libraries, regardless of the interface used.
   9792 	case `$LD -v 2>&1` in
   9793 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9794 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9795 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9796 	  *)
   9797 	    lt_use_gnu_ld_interface=yes
   9798 	    ;;
   9799 	esac
   9800 	;;
   9801       *)
   9802 	lt_use_gnu_ld_interface=yes
   9803 	;;
   9804     esac
   9805   fi
   9806 
   9807   if test yes = "$lt_use_gnu_ld_interface"; then
   9808     # If archive_cmds runs LD, not CC, wlarc should be empty
   9809     wlarc='$wl'
   9810 
   9811     # Set some defaults for GNU ld with shared library support. These
   9812     # are reset later if shared libraries are not supported. Putting them
   9813     # here allows them to be overridden if necessary.
   9814     runpath_var=LD_RUN_PATH
   9815     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9816     export_dynamic_flag_spec='$wl--export-dynamic'
   9817     # ancient GNU ld didn't support --whole-archive et. al.
   9818     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9819       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9820     else
   9821       whole_archive_flag_spec=
   9822     fi
   9823     supports_anon_versioning=no
   9824     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9825       *GNU\ gold*) supports_anon_versioning=yes ;;
   9826       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9827       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9828       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9829       *\ 2.11.*) ;; # other 2.11 versions
   9830       *) supports_anon_versioning=yes ;;
   9831     esac
   9832 
   9833     # See if GNU ld supports shared libraries.
   9834     case $host_os in
   9835     aix[3-9]*)
   9836       # On AIX/PPC, the GNU linker is very broken
   9837       if test ia64 != "$host_cpu"; then
   9838 	ld_shlibs=no
   9839 	cat <<_LT_EOF 1>&2
   9840 
   9841 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9842 *** to be unable to reliably create shared libraries on AIX.
   9843 *** Therefore, libtool is disabling shared libraries support.  If you
   9844 *** really care for shared libraries, you may want to install binutils
   9845 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9846 *** You will then need to restart the configuration process.
   9847 
   9848 _LT_EOF
   9849       fi
   9850       ;;
   9851 
   9852     amigaos*)
   9853       case $host_cpu in
   9854       powerpc)
   9855             # see comment about AmigaOS4 .so support
   9856             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9857             archive_expsym_cmds=''
   9858         ;;
   9859       m68k)
   9860             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)'
   9861             hardcode_libdir_flag_spec='-L$libdir'
   9862             hardcode_minus_L=yes
   9863         ;;
   9864       esac
   9865       ;;
   9866 
   9867     beos*)
   9868       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9869 	allow_undefined_flag=unsupported
   9870 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9871 	# support --undefined.  This deserves some investigation.  FIXME
   9872 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9873       else
   9874 	ld_shlibs=no
   9875       fi
   9876       ;;
   9877 
   9878     cygwin* | mingw* | pw32* | cegcc*)
   9879       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9880       # as there is no search path for DLLs.
   9881       hardcode_libdir_flag_spec='-L$libdir'
   9882       export_dynamic_flag_spec='$wl--export-all-symbols'
   9883       allow_undefined_flag=unsupported
   9884       always_export_symbols=no
   9885       enable_shared_with_static_runtimes=yes
   9886       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'
   9887       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9888 
   9889       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9890         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9891 	# If the export-symbols file already is a .def file, use it as
   9892 	# is; otherwise, prepend EXPORTS...
   9893 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9894           cp $export_symbols $output_objdir/$soname.def;
   9895         else
   9896           echo EXPORTS > $output_objdir/$soname.def;
   9897           cat $export_symbols >> $output_objdir/$soname.def;
   9898         fi~
   9899         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9900       else
   9901 	ld_shlibs=no
   9902       fi
   9903       ;;
   9904 
   9905     haiku*)
   9906       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9907       link_all_deplibs=yes
   9908       ;;
   9909 
   9910     os2*)
   9911       hardcode_libdir_flag_spec='-L$libdir'
   9912       hardcode_minus_L=yes
   9913       allow_undefined_flag=unsupported
   9914       shrext_cmds=.dll
   9915       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9916 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9917 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9918 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9919 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9920 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9921 	emximp -o $lib $output_objdir/$libname.def'
   9922       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9923 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9924 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9925 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9926 	prefix_cmds="$SED"~
   9927 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9928 	  prefix_cmds="$prefix_cmds -e 1d";
   9929 	fi~
   9930 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9931 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9932 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9933 	emximp -o $lib $output_objdir/$libname.def'
   9934       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9935       enable_shared_with_static_runtimes=yes
   9936       file_list_spec='@'
   9937       ;;
   9938 
   9939     interix[3-9]*)
   9940       hardcode_direct=no
   9941       hardcode_shlibpath_var=no
   9942       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9943       export_dynamic_flag_spec='$wl-E'
   9944       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9945       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9946       # default) and relocated if they conflict, which is a slow very memory
   9947       # consuming and fragmenting process.  To avoid this, we pick a random,
   9948       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9949       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9950       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9951       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'
   9952       ;;
   9953 
   9954     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9955       tmp_diet=no
   9956       if test linux-dietlibc = "$host_os"; then
   9957 	case $cc_basename in
   9958 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9959 	esac
   9960       fi
   9961       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9962 	 && test no = "$tmp_diet"
   9963       then
   9964 	tmp_addflag=' $pic_flag'
   9965 	tmp_sharedflag='-shared'
   9966 	case $cc_basename,$host_cpu in
   9967         pgcc*)				# Portland Group C compiler
   9968 	  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'
   9969 	  tmp_addflag=' $pic_flag'
   9970 	  ;;
   9971 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9972 					# Portland Group f77 and f90 compilers
   9973 	  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'
   9974 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9975 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9976 	  tmp_addflag=' -i_dynamic' ;;
   9977 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9978 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9979 	ifc* | ifort*)			# Intel Fortran compiler
   9980 	  tmp_addflag=' -nofor_main' ;;
   9981 	lf95*)				# Lahey Fortran 8.1
   9982 	  whole_archive_flag_spec=
   9983 	  tmp_sharedflag='--shared' ;;
   9984         nagfor*)                        # NAGFOR 5.3
   9985           tmp_sharedflag='-Wl,-shared' ;;
   9986 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9987 	  tmp_sharedflag='-qmkshrobj'
   9988 	  tmp_addflag= ;;
   9989 	nvcc*)	# Cuda Compiler Driver 2.2
   9990 	  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'
   9991 	  compiler_needs_object=yes
   9992 	  ;;
   9993 	esac
   9994 	case `$CC -V 2>&1 | $SED 5q` in
   9995 	*Sun\ C*)			# Sun C 5.9
   9996 	  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'
   9997 	  compiler_needs_object=yes
   9998 	  tmp_sharedflag='-G' ;;
   9999 	*Sun\ F*)			# Sun Fortran 8.3
   10000 	  tmp_sharedflag='-G' ;;
   10001 	esac
   10002 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10003 
   10004         if test yes = "$supports_anon_versioning"; then
   10005           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10006             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10007             echo "local: *; };" >> $output_objdir/$libname.ver~
   10008             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10009         fi
   10010 
   10011 	case $cc_basename in
   10012 	tcc*)
   10013 	  export_dynamic_flag_spec='-rdynamic'
   10014 	  ;;
   10015 	xlf* | bgf* | bgxlf* | mpixlf*)
   10016 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10017 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10018 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10019 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10020 	  if test yes = "$supports_anon_versioning"; then
   10021 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10022               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10023               echo "local: *; };" >> $output_objdir/$libname.ver~
   10024               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10025 	  fi
   10026 	  ;;
   10027 	esac
   10028       else
   10029         ld_shlibs=no
   10030       fi
   10031       ;;
   10032 
   10033     netbsd*)
   10034       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10035 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10036 	wlarc=
   10037       else
   10038 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10039 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10040       fi
   10041       ;;
   10042 
   10043     solaris*)
   10044       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10045 	ld_shlibs=no
   10046 	cat <<_LT_EOF 1>&2
   10047 
   10048 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10049 *** create shared libraries on Solaris systems.  Therefore, libtool
   10050 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10051 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10052 *** your PATH or compiler configuration so that the native linker is
   10053 *** used, and then restart.
   10054 
   10055 _LT_EOF
   10056       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10057 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10058 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10059       else
   10060 	ld_shlibs=no
   10061       fi
   10062       ;;
   10063 
   10064     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10065       case `$LD -v 2>&1` in
   10066         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10067 	ld_shlibs=no
   10068 	cat <<_LT_EOF 1>&2
   10069 
   10070 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10071 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10072 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10073 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10074 *** your PATH or compiler configuration so that the native linker is
   10075 *** used, and then restart.
   10076 
   10077 _LT_EOF
   10078 	;;
   10079 	*)
   10080 	  # For security reasons, it is highly recommended that you always
   10081 	  # use absolute paths for naming shared libraries, and exclude the
   10082 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10083 	  # requires that you compile everything twice, which is a pain.
   10084 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10085 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10086 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10087 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10088 	  else
   10089 	    ld_shlibs=no
   10090 	  fi
   10091 	;;
   10092       esac
   10093       ;;
   10094 
   10095     sunos4*)
   10096       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10097       wlarc=
   10098       hardcode_direct=yes
   10099       hardcode_shlibpath_var=no
   10100       ;;
   10101 
   10102     *)
   10103       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10104 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10105 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10106       else
   10107 	ld_shlibs=no
   10108       fi
   10109       ;;
   10110     esac
   10111 
   10112     if test no = "$ld_shlibs"; then
   10113       runpath_var=
   10114       hardcode_libdir_flag_spec=
   10115       export_dynamic_flag_spec=
   10116       whole_archive_flag_spec=
   10117     fi
   10118   else
   10119     # PORTME fill in a description of your system's linker (not GNU ld)
   10120     case $host_os in
   10121     aix3*)
   10122       allow_undefined_flag=unsupported
   10123       always_export_symbols=yes
   10124       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'
   10125       # Note: this linker hardcodes the directories in LIBPATH if there
   10126       # are no directories specified by -L.
   10127       hardcode_minus_L=yes
   10128       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10129 	# Neither direct hardcoding nor static linking is supported with a
   10130 	# broken collect2.
   10131 	hardcode_direct=unsupported
   10132       fi
   10133       ;;
   10134 
   10135     aix[4-9]*)
   10136       if test ia64 = "$host_cpu"; then
   10137 	# On IA64, the linker does run time linking by default, so we don't
   10138 	# have to do anything special.
   10139 	aix_use_runtimelinking=no
   10140 	exp_sym_flag='-Bexport'
   10141 	no_entry_flag=
   10142       else
   10143 	# If we're using GNU nm, then we don't want the "-C" option.
   10144 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10145 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10146 	# weak defined symbols like other global defined symbols, whereas
   10147 	# GNU nm marks them as "W".
   10148 	# While the 'weak' keyword is ignored in the Export File, we need
   10149 	# it in the Import File for the 'aix-soname' feature, so we have
   10150 	# to replace the "-B" option with "-P" for AIX nm.
   10151 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10152 	  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'
   10153 	else
   10154 	  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'
   10155 	fi
   10156 	aix_use_runtimelinking=no
   10157 
   10158 	# Test if we are trying to use run time linking or normal
   10159 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10160 	# have runtime linking enabled, and use it for executables.
   10161 	# For shared libraries, we enable/disable runtime linking
   10162 	# depending on the kind of the shared library created -
   10163 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10164 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10165 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10166 	#            lib.a           static archive
   10167 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10168 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10169 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10170 	#            lib.a(lib.so.V) shared, rtl:no
   10171 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10172 	#            lib.a           static archive
   10173 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10174 	  for ld_flag in $LDFLAGS; do
   10175 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10176 	    aix_use_runtimelinking=yes
   10177 	    break
   10178 	  fi
   10179 	  done
   10180 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10181 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10182 	    # so we don't have lib.a shared libs to link our executables.
   10183 	    # We have to force runtime linking in this case.
   10184 	    aix_use_runtimelinking=yes
   10185 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10186 	  fi
   10187 	  ;;
   10188 	esac
   10189 
   10190 	exp_sym_flag='-bexport'
   10191 	no_entry_flag='-bnoentry'
   10192       fi
   10193 
   10194       # When large executables or shared objects are built, AIX ld can
   10195       # have problems creating the table of contents.  If linking a library
   10196       # or program results in "error TOC overflow" add -mminimal-toc to
   10197       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10198       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10199 
   10200       archive_cmds=''
   10201       hardcode_direct=yes
   10202       hardcode_direct_absolute=yes
   10203       hardcode_libdir_separator=':'
   10204       link_all_deplibs=yes
   10205       file_list_spec='$wl-f,'
   10206       case $with_aix_soname,$aix_use_runtimelinking in
   10207       aix,*) ;; # traditional, no import file
   10208       svr4,* | *,yes) # use import file
   10209 	# The Import File defines what to hardcode.
   10210 	hardcode_direct=no
   10211 	hardcode_direct_absolute=no
   10212 	;;
   10213       esac
   10214 
   10215       if test yes = "$GCC"; then
   10216 	case $host_os in aix4.[012]|aix4.[012].*)
   10217 	# We only want to do this on AIX 4.2 and lower, the check
   10218 	# below for broken collect2 doesn't work under 4.3+
   10219 	  collect2name=`$CC -print-prog-name=collect2`
   10220 	  if test -f "$collect2name" &&
   10221 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10222 	  then
   10223 	  # We have reworked collect2
   10224 	  :
   10225 	  else
   10226 	  # We have old collect2
   10227 	  hardcode_direct=unsupported
   10228 	  # It fails to find uninstalled libraries when the uninstalled
   10229 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10230 	  # to unsupported forces relinking
   10231 	  hardcode_minus_L=yes
   10232 	  hardcode_libdir_flag_spec='-L$libdir'
   10233 	  hardcode_libdir_separator=
   10234 	  fi
   10235 	  ;;
   10236 	esac
   10237 	shared_flag='-shared'
   10238 	if test yes = "$aix_use_runtimelinking"; then
   10239 	  shared_flag="$shared_flag "'$wl-G'
   10240 	fi
   10241 	# Need to ensure runtime linking is disabled for the traditional
   10242 	# shared library, or the linker may eventually find shared libraries
   10243 	# /with/ Import File - we do not want to mix them.
   10244 	shared_flag_aix='-shared'
   10245 	shared_flag_svr4='-shared $wl-G'
   10246       else
   10247 	# not using gcc
   10248 	if test ia64 = "$host_cpu"; then
   10249 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10250 	# chokes on -Wl,-G. The following line is correct:
   10251 	  shared_flag='-G'
   10252 	else
   10253 	  if test yes = "$aix_use_runtimelinking"; then
   10254 	    shared_flag='$wl-G'
   10255 	  else
   10256 	    shared_flag='$wl-bM:SRE'
   10257 	  fi
   10258 	  shared_flag_aix='$wl-bM:SRE'
   10259 	  shared_flag_svr4='$wl-G'
   10260 	fi
   10261       fi
   10262 
   10263       export_dynamic_flag_spec='$wl-bexpall'
   10264       # It seems that -bexpall does not export symbols beginning with
   10265       # underscore (_), so it is better to generate a list of symbols to export.
   10266       always_export_symbols=yes
   10267       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10268 	# Warning - without using the other runtime loading flags (-brtl),
   10269 	# -berok will link without error, but may produce a broken library.
   10270 	allow_undefined_flag='-berok'
   10271         # Determine the default libpath from the value encoded in an
   10272         # empty executable.
   10273         if test set = "${lt_cv_aix_libpath+set}"; then
   10274   aix_libpath=$lt_cv_aix_libpath
   10275 else
   10276   if test ${lt_cv_aix_libpath_+y}
   10277 then :
   10278   printf %s "(cached) " >&6
   10279 else $as_nop
   10280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10281 /* end confdefs.h.  */
   10282 
   10283 int
   10284 main (void)
   10285 {
   10286 
   10287   ;
   10288   return 0;
   10289 }
   10290 _ACEOF
   10291 if ac_fn_c_try_link "$LINENO"
   10292 then :
   10293 
   10294   lt_aix_libpath_sed='
   10295       /Import File Strings/,/^$/ {
   10296 	  /^0/ {
   10297 	      s/^0  *\([^ ]*\) *$/\1/
   10298 	      p
   10299 	  }
   10300       }'
   10301   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10302   # Check for a 64-bit object if we didn't find anything.
   10303   if test -z "$lt_cv_aix_libpath_"; then
   10304     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10305   fi
   10306 fi
   10307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10308     conftest$ac_exeext conftest.$ac_ext
   10309   if test -z "$lt_cv_aix_libpath_"; then
   10310     lt_cv_aix_libpath_=/usr/lib:/lib
   10311   fi
   10312 
   10313 fi
   10314 
   10315   aix_libpath=$lt_cv_aix_libpath_
   10316 fi
   10317 
   10318         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10319         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
   10320       else
   10321 	if test ia64 = "$host_cpu"; then
   10322 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10323 	  allow_undefined_flag="-z nodefs"
   10324 	  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"
   10325 	else
   10326 	 # Determine the default libpath from the value encoded in an
   10327 	 # empty executable.
   10328 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10329   aix_libpath=$lt_cv_aix_libpath
   10330 else
   10331   if test ${lt_cv_aix_libpath_+y}
   10332 then :
   10333   printf %s "(cached) " >&6
   10334 else $as_nop
   10335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10336 /* end confdefs.h.  */
   10337 
   10338 int
   10339 main (void)
   10340 {
   10341 
   10342   ;
   10343   return 0;
   10344 }
   10345 _ACEOF
   10346 if ac_fn_c_try_link "$LINENO"
   10347 then :
   10348 
   10349   lt_aix_libpath_sed='
   10350       /Import File Strings/,/^$/ {
   10351 	  /^0/ {
   10352 	      s/^0  *\([^ ]*\) *$/\1/
   10353 	      p
   10354 	  }
   10355       }'
   10356   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10357   # Check for a 64-bit object if we didn't find anything.
   10358   if test -z "$lt_cv_aix_libpath_"; then
   10359     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10360   fi
   10361 fi
   10362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10363     conftest$ac_exeext conftest.$ac_ext
   10364   if test -z "$lt_cv_aix_libpath_"; then
   10365     lt_cv_aix_libpath_=/usr/lib:/lib
   10366   fi
   10367 
   10368 fi
   10369 
   10370   aix_libpath=$lt_cv_aix_libpath_
   10371 fi
   10372 
   10373 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10374 	  # Warning - without using the other run time loading flags,
   10375 	  # -berok will link without error, but may produce a broken library.
   10376 	  no_undefined_flag=' $wl-bernotok'
   10377 	  allow_undefined_flag=' $wl-berok'
   10378 	  if test yes = "$with_gnu_ld"; then
   10379 	    # We only use this code for GNU lds that support --whole-archive.
   10380 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10381 	  else
   10382 	    # Exported symbols can be pulled into shared objects from archives
   10383 	    whole_archive_flag_spec='$convenience'
   10384 	  fi
   10385 	  archive_cmds_need_lc=yes
   10386 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10387 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10388 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10389 	  if test svr4 != "$with_aix_soname"; then
   10390 	    # This is similar to how AIX traditionally builds its shared libraries.
   10391 	    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'
   10392 	  fi
   10393 	  if test aix != "$with_aix_soname"; then
   10394 	    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'
   10395 	  else
   10396 	    # used by -dlpreopen to get the symbols
   10397 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10398 	  fi
   10399 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10400 	fi
   10401       fi
   10402       ;;
   10403 
   10404     amigaos*)
   10405       case $host_cpu in
   10406       powerpc)
   10407             # see comment about AmigaOS4 .so support
   10408             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10409             archive_expsym_cmds=''
   10410         ;;
   10411       m68k)
   10412             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)'
   10413             hardcode_libdir_flag_spec='-L$libdir'
   10414             hardcode_minus_L=yes
   10415         ;;
   10416       esac
   10417       ;;
   10418 
   10419     bsdi[45]*)
   10420       export_dynamic_flag_spec=-rdynamic
   10421       ;;
   10422 
   10423     cygwin* | mingw* | pw32* | cegcc*)
   10424       # When not using gcc, we currently assume that we are using
   10425       # Microsoft Visual C++ or Intel C++ Compiler.
   10426       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10427       # no search path for DLLs.
   10428       case $cc_basename in
   10429       cl* | icl*)
   10430 	# Native MSVC or ICC
   10431 	hardcode_libdir_flag_spec=' '
   10432 	allow_undefined_flag=unsupported
   10433 	always_export_symbols=yes
   10434 	file_list_spec='@'
   10435 	# Tell ltmain to make .lib files, not .a files.
   10436 	libext=lib
   10437 	# Tell ltmain to make .dll files, not .so files.
   10438 	shrext_cmds=.dll
   10439 	# FIXME: Setting linknames here is a bad hack.
   10440 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10441 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10442             cp "$export_symbols" "$output_objdir/$soname.def";
   10443             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10444           else
   10445             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10446           fi~
   10447           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10448           linknames='
   10449 	# The linker will not automatically build a static lib if we build a DLL.
   10450 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10451 	enable_shared_with_static_runtimes=yes
   10452 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10453 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10454 	# Don't use ranlib
   10455 	old_postinstall_cmds='chmod 644 $oldlib'
   10456 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10457           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10458           case $lt_outputfile in
   10459             *.exe|*.EXE) ;;
   10460             *)
   10461               lt_outputfile=$lt_outputfile.exe
   10462               lt_tool_outputfile=$lt_tool_outputfile.exe
   10463               ;;
   10464           esac~
   10465           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10466             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10467             $RM "$lt_outputfile.manifest";
   10468           fi'
   10469 	;;
   10470       *)
   10471 	# Assume MSVC and ICC wrapper
   10472 	hardcode_libdir_flag_spec=' '
   10473 	allow_undefined_flag=unsupported
   10474 	# Tell ltmain to make .lib files, not .a files.
   10475 	libext=lib
   10476 	# Tell ltmain to make .dll files, not .so files.
   10477 	shrext_cmds=.dll
   10478 	# FIXME: Setting linknames here is a bad hack.
   10479 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10480 	# The linker will automatically build a .lib file if we build a DLL.
   10481 	old_archive_from_new_cmds='true'
   10482 	# FIXME: Should let the user specify the lib program.
   10483 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10484 	enable_shared_with_static_runtimes=yes
   10485 	;;
   10486       esac
   10487       ;;
   10488 
   10489     darwin* | rhapsody*)
   10490 
   10491 
   10492   archive_cmds_need_lc=no
   10493   hardcode_direct=no
   10494   hardcode_automatic=yes
   10495   hardcode_shlibpath_var=unsupported
   10496   if test yes = "$lt_cv_ld_force_load"; then
   10497     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\"`'
   10498 
   10499   else
   10500     whole_archive_flag_spec=''
   10501   fi
   10502   link_all_deplibs=yes
   10503   allow_undefined_flag=$_lt_dar_allow_undefined
   10504   case $cc_basename in
   10505      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10506      *) _lt_dar_can_shared=$GCC ;;
   10507   esac
   10508   if test yes = "$_lt_dar_can_shared"; then
   10509     output_verbose_link_cmd=func_echo_all
   10510     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10511     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10512     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"
   10513     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"
   10514 
   10515   else
   10516   ld_shlibs=no
   10517   fi
   10518 
   10519       ;;
   10520 
   10521     dgux*)
   10522       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10523       hardcode_libdir_flag_spec='-L$libdir'
   10524       hardcode_shlibpath_var=no
   10525       ;;
   10526 
   10527     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10528     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10529     # does not break anything, and helps significantly (at the cost of a little
   10530     # extra space).
   10531     freebsd2.2*)
   10532       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10533       hardcode_libdir_flag_spec='-R$libdir'
   10534       hardcode_direct=yes
   10535       hardcode_shlibpath_var=no
   10536       ;;
   10537 
   10538     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10539     freebsd2.*)
   10540       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10541       hardcode_direct=yes
   10542       hardcode_minus_L=yes
   10543       hardcode_shlibpath_var=no
   10544       ;;
   10545 
   10546     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10547     freebsd* | dragonfly* | midnightbsd*)
   10548       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10549       hardcode_libdir_flag_spec='-R$libdir'
   10550       hardcode_direct=yes
   10551       hardcode_shlibpath_var=no
   10552       ;;
   10553 
   10554     hpux9*)
   10555       if test yes = "$GCC"; then
   10556 	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'
   10557       else
   10558 	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'
   10559       fi
   10560       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10561       hardcode_libdir_separator=:
   10562       hardcode_direct=yes
   10563 
   10564       # hardcode_minus_L: Not really in the search PATH,
   10565       # but as the default location of the library.
   10566       hardcode_minus_L=yes
   10567       export_dynamic_flag_spec='$wl-E'
   10568       ;;
   10569 
   10570     hpux10*)
   10571       if test yes,no = "$GCC,$with_gnu_ld"; then
   10572 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10573       else
   10574 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10575       fi
   10576       if test no = "$with_gnu_ld"; then
   10577 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10578 	hardcode_libdir_separator=:
   10579 	hardcode_direct=yes
   10580 	hardcode_direct_absolute=yes
   10581 	export_dynamic_flag_spec='$wl-E'
   10582 	# hardcode_minus_L: Not really in the search PATH,
   10583 	# but as the default location of the library.
   10584 	hardcode_minus_L=yes
   10585       fi
   10586       ;;
   10587 
   10588     hpux11*)
   10589       if test yes,no = "$GCC,$with_gnu_ld"; then
   10590 	case $host_cpu in
   10591 	hppa*64*)
   10592 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10593 	  ;;
   10594 	ia64*)
   10595 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10596 	  ;;
   10597 	*)
   10598 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10599 	  ;;
   10600 	esac
   10601       else
   10602 	case $host_cpu in
   10603 	hppa*64*)
   10604 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10605 	  ;;
   10606 	ia64*)
   10607 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10608 	  ;;
   10609 	*)
   10610 
   10611 	  # Older versions of the 11.00 compiler do not understand -b yet
   10612 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10613 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10614 printf %s "checking if $CC understands -b... " >&6; }
   10615 if test ${lt_cv_prog_compiler__b+y}
   10616 then :
   10617   printf %s "(cached) " >&6
   10618 else $as_nop
   10619   lt_cv_prog_compiler__b=no
   10620    save_LDFLAGS=$LDFLAGS
   10621    LDFLAGS="$LDFLAGS -b"
   10622    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10623    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10624      # The linker can only warn and ignore the option if not recognized
   10625      # So say no if there are warnings
   10626      if test -s conftest.err; then
   10627        # Append any errors to the config.log.
   10628        cat conftest.err 1>&5
   10629        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10630        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10631        if diff conftest.exp conftest.er2 >/dev/null; then
   10632          lt_cv_prog_compiler__b=yes
   10633        fi
   10634      else
   10635        lt_cv_prog_compiler__b=yes
   10636      fi
   10637    fi
   10638    $RM -r conftest*
   10639    LDFLAGS=$save_LDFLAGS
   10640 
   10641 fi
   10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10643 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10644 
   10645 if test yes = "$lt_cv_prog_compiler__b"; then
   10646     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10647 else
   10648     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10649 fi
   10650 
   10651 	  ;;
   10652 	esac
   10653       fi
   10654       if test no = "$with_gnu_ld"; then
   10655 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10656 	hardcode_libdir_separator=:
   10657 
   10658 	case $host_cpu in
   10659 	hppa*64*|ia64*)
   10660 	  hardcode_direct=no
   10661 	  hardcode_shlibpath_var=no
   10662 	  ;;
   10663 	*)
   10664 	  hardcode_direct=yes
   10665 	  hardcode_direct_absolute=yes
   10666 	  export_dynamic_flag_spec='$wl-E'
   10667 
   10668 	  # hardcode_minus_L: Not really in the search PATH,
   10669 	  # but as the default location of the library.
   10670 	  hardcode_minus_L=yes
   10671 	  ;;
   10672 	esac
   10673       fi
   10674       ;;
   10675 
   10676     irix5* | irix6* | nonstopux*)
   10677       if test yes = "$GCC"; then
   10678 	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'
   10679 	# Try to use the -exported_symbol ld option, if it does not
   10680 	# work, assume that -exports_file does not work either and
   10681 	# implicitly export all symbols.
   10682 	# This should be the same for all languages, so no per-tag cache variable.
   10683 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10684 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10685 if test ${lt_cv_irix_exported_symbol+y}
   10686 then :
   10687   printf %s "(cached) " >&6
   10688 else $as_nop
   10689   save_LDFLAGS=$LDFLAGS
   10690 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10691 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10692 /* end confdefs.h.  */
   10693 int foo (void) { return 0; }
   10694 _ACEOF
   10695 if ac_fn_c_try_link "$LINENO"
   10696 then :
   10697   lt_cv_irix_exported_symbol=yes
   10698 else $as_nop
   10699   lt_cv_irix_exported_symbol=no
   10700 fi
   10701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10702     conftest$ac_exeext conftest.$ac_ext
   10703            LDFLAGS=$save_LDFLAGS
   10704 fi
   10705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10706 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10707 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10708           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'
   10709 	fi
   10710       else
   10711 	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'
   10712 	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'
   10713       fi
   10714       archive_cmds_need_lc='no'
   10715       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10716       hardcode_libdir_separator=:
   10717       inherit_rpath=yes
   10718       link_all_deplibs=yes
   10719       ;;
   10720 
   10721     linux*)
   10722       case $cc_basename in
   10723       tcc*)
   10724 	# Fabrice Bellard et al's Tiny C Compiler
   10725 	ld_shlibs=yes
   10726 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10727 	;;
   10728       esac
   10729       ;;
   10730 
   10731     netbsd*)
   10732       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10733 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10734       else
   10735 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10736       fi
   10737       hardcode_libdir_flag_spec='-R$libdir'
   10738       hardcode_direct=yes
   10739       hardcode_shlibpath_var=no
   10740       ;;
   10741 
   10742     newsos6)
   10743       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10744       hardcode_direct=yes
   10745       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10746       hardcode_libdir_separator=:
   10747       hardcode_shlibpath_var=no
   10748       ;;
   10749 
   10750     *nto* | *qnx*)
   10751       ;;
   10752 
   10753     openbsd* | bitrig*)
   10754       if test -f /usr/libexec/ld.so; then
   10755 	hardcode_direct=yes
   10756 	hardcode_shlibpath_var=no
   10757 	hardcode_direct_absolute=yes
   10758 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10759 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10760 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10761 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10762 	  export_dynamic_flag_spec='$wl-E'
   10763 	else
   10764 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10765 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10766 	fi
   10767       else
   10768 	ld_shlibs=no
   10769       fi
   10770       ;;
   10771 
   10772     os2*)
   10773       hardcode_libdir_flag_spec='-L$libdir'
   10774       hardcode_minus_L=yes
   10775       allow_undefined_flag=unsupported
   10776       shrext_cmds=.dll
   10777       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10778 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10779 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10780 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10781 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10782 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10783 	emximp -o $lib $output_objdir/$libname.def'
   10784       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10785 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10786 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10787 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10788 	prefix_cmds="$SED"~
   10789 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10790 	  prefix_cmds="$prefix_cmds -e 1d";
   10791 	fi~
   10792 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10793 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10794 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10795 	emximp -o $lib $output_objdir/$libname.def'
   10796       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10797       enable_shared_with_static_runtimes=yes
   10798       file_list_spec='@'
   10799       ;;
   10800 
   10801     osf3*)
   10802       if test yes = "$GCC"; then
   10803 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10804 	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'
   10805       else
   10806 	allow_undefined_flag=' -expect_unresolved \*'
   10807 	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'
   10808       fi
   10809       archive_cmds_need_lc='no'
   10810       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10811       hardcode_libdir_separator=:
   10812       ;;
   10813 
   10814     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10815       if test yes = "$GCC"; then
   10816 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10817 	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'
   10818 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10819       else
   10820 	allow_undefined_flag=' -expect_unresolved \*'
   10821 	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'
   10822 	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~
   10823           $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'
   10824 
   10825 	# Both c and cxx compiler support -rpath directly
   10826 	hardcode_libdir_flag_spec='-rpath $libdir'
   10827       fi
   10828       archive_cmds_need_lc='no'
   10829       hardcode_libdir_separator=:
   10830       ;;
   10831 
   10832     solaris*)
   10833       no_undefined_flag=' -z defs'
   10834       if test yes = "$GCC"; then
   10835 	wlarc='$wl'
   10836 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10837 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10838           $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'
   10839       else
   10840 	case `$CC -V 2>&1` in
   10841 	*"Compilers 5.0"*)
   10842 	  wlarc=''
   10843 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10844 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10845             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10846 	  ;;
   10847 	*)
   10848 	  wlarc='$wl'
   10849 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10850 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10851             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10852 	  ;;
   10853 	esac
   10854       fi
   10855       hardcode_libdir_flag_spec='-R$libdir'
   10856       hardcode_shlibpath_var=no
   10857       case $host_os in
   10858       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10859       *)
   10860 	# The compiler driver will combine and reorder linker options,
   10861 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10862 	# but is careful enough not to reorder.
   10863 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10864 	if test yes = "$GCC"; then
   10865 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10866 	else
   10867 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10868 	fi
   10869 	;;
   10870       esac
   10871       link_all_deplibs=yes
   10872       ;;
   10873 
   10874     sunos4*)
   10875       if test sequent = "$host_vendor"; then
   10876 	# Use $CC to link under sequent, because it throws in some extra .o
   10877 	# files that make .init and .fini sections work.
   10878 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10879       else
   10880 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10881       fi
   10882       hardcode_libdir_flag_spec='-L$libdir'
   10883       hardcode_direct=yes
   10884       hardcode_minus_L=yes
   10885       hardcode_shlibpath_var=no
   10886       ;;
   10887 
   10888     sysv4)
   10889       case $host_vendor in
   10890 	sni)
   10891 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10892 	  hardcode_direct=yes # is this really true???
   10893 	;;
   10894 	siemens)
   10895 	  ## LD is ld it makes a PLAMLIB
   10896 	  ## CC just makes a GrossModule.
   10897 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10898 	  reload_cmds='$CC -r -o $output$reload_objs'
   10899 	  hardcode_direct=no
   10900         ;;
   10901 	motorola)
   10902 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10903 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10904 	;;
   10905       esac
   10906       runpath_var='LD_RUN_PATH'
   10907       hardcode_shlibpath_var=no
   10908       ;;
   10909 
   10910     sysv4.3*)
   10911       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10912       hardcode_shlibpath_var=no
   10913       export_dynamic_flag_spec='-Bexport'
   10914       ;;
   10915 
   10916     sysv4*MP*)
   10917       if test -d /usr/nec; then
   10918 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10919 	hardcode_shlibpath_var=no
   10920 	runpath_var=LD_RUN_PATH
   10921 	hardcode_runpath_var=yes
   10922 	ld_shlibs=yes
   10923       fi
   10924       ;;
   10925 
   10926     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10927       no_undefined_flag='$wl-z,text'
   10928       archive_cmds_need_lc=no
   10929       hardcode_shlibpath_var=no
   10930       runpath_var='LD_RUN_PATH'
   10931 
   10932       if test yes = "$GCC"; then
   10933 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10934 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10935       else
   10936 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10937 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10938       fi
   10939       ;;
   10940 
   10941     sysv5* | sco3.2v5* | sco5v6*)
   10942       # Note: We CANNOT use -z defs as we might desire, because we do not
   10943       # link with -lc, and that would cause any symbols used from libc to
   10944       # always be unresolved, which means just about no library would
   10945       # ever link correctly.  If we're not using GNU ld we use -z text
   10946       # though, which does catch some bad symbols but isn't as heavy-handed
   10947       # as -z defs.
   10948       no_undefined_flag='$wl-z,text'
   10949       allow_undefined_flag='$wl-z,nodefs'
   10950       archive_cmds_need_lc=no
   10951       hardcode_shlibpath_var=no
   10952       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10953       hardcode_libdir_separator=':'
   10954       link_all_deplibs=yes
   10955       export_dynamic_flag_spec='$wl-Bexport'
   10956       runpath_var='LD_RUN_PATH'
   10957 
   10958       if test yes = "$GCC"; then
   10959 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10960 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10961       else
   10962 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10963 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10964       fi
   10965       ;;
   10966 
   10967     uts4*)
   10968       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10969       hardcode_libdir_flag_spec='-L$libdir'
   10970       hardcode_shlibpath_var=no
   10971       ;;
   10972 
   10973     *)
   10974       ld_shlibs=no
   10975       ;;
   10976     esac
   10977 
   10978     if test sni = "$host_vendor"; then
   10979       case $host in
   10980       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10981 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10982 	;;
   10983       esac
   10984     fi
   10985   fi
   10986 
   10987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10988 printf "%s\n" "$ld_shlibs" >&6; }
   10989 test no = "$ld_shlibs" && can_build_shared=no
   10990 
   10991 with_gnu_ld=$with_gnu_ld
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 #
   11008 # Do we need to explicitly link libc?
   11009 #
   11010 case "x$archive_cmds_need_lc" in
   11011 x|xyes)
   11012   # Assume -lc should be added
   11013   archive_cmds_need_lc=yes
   11014 
   11015   if test yes,yes = "$GCC,$enable_shared"; then
   11016     case $archive_cmds in
   11017     *'~'*)
   11018       # FIXME: we may have to deal with multi-command sequences.
   11019       ;;
   11020     '$CC '*)
   11021       # Test whether the compiler implicitly links with -lc since on some
   11022       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11023       # to ld, don't add -lc before -lgcc.
   11024       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11025 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11026 if test ${lt_cv_archive_cmds_need_lc+y}
   11027 then :
   11028   printf %s "(cached) " >&6
   11029 else $as_nop
   11030   $RM conftest*
   11031 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11032 
   11033 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11034   (eval $ac_compile) 2>&5
   11035   ac_status=$?
   11036   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11037   test $ac_status = 0; } 2>conftest.err; then
   11038 	  soname=conftest
   11039 	  lib=conftest
   11040 	  libobjs=conftest.$ac_objext
   11041 	  deplibs=
   11042 	  wl=$lt_prog_compiler_wl
   11043 	  pic_flag=$lt_prog_compiler_pic
   11044 	  compiler_flags=-v
   11045 	  linker_flags=-v
   11046 	  verstring=
   11047 	  output_objdir=.
   11048 	  libname=conftest
   11049 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11050 	  allow_undefined_flag=
   11051 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11052   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11053   ac_status=$?
   11054   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11055   test $ac_status = 0; }
   11056 	  then
   11057 	    lt_cv_archive_cmds_need_lc=no
   11058 	  else
   11059 	    lt_cv_archive_cmds_need_lc=yes
   11060 	  fi
   11061 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11062 	else
   11063 	  cat conftest.err 1>&5
   11064 	fi
   11065 	$RM conftest*
   11066 
   11067 fi
   11068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11069 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11070       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11071       ;;
   11072     esac
   11073   fi
   11074   ;;
   11075 esac
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11229 printf %s "checking dynamic linker characteristics... " >&6; }
   11230 
   11231 if test yes = "$GCC"; then
   11232   case $host_os in
   11233     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11234     *) lt_awk_arg='/^libraries:/' ;;
   11235   esac
   11236   case $host_os in
   11237     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11238     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11239   esac
   11240   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11241   case $lt_search_path_spec in
   11242   *\;*)
   11243     # if the path contains ";" then we assume it to be the separator
   11244     # otherwise default to the standard path separator (i.e. ":") - it is
   11245     # assumed that no part of a normal pathname contains ";" but that should
   11246     # okay in the real world where ";" in dirpaths is itself problematic.
   11247     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11248     ;;
   11249   *)
   11250     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11251     ;;
   11252   esac
   11253   # Ok, now we have the path, separated by spaces, we can step through it
   11254   # and add multilib dir if necessary...
   11255   lt_tmp_lt_search_path_spec=
   11256   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11257   # ...but if some path component already ends with the multilib dir we assume
   11258   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11259   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11260   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11261     lt_multi_os_dir=
   11262     ;;
   11263   esac
   11264   for lt_sys_path in $lt_search_path_spec; do
   11265     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11266       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11267     elif test -n "$lt_multi_os_dir"; then
   11268       test -d "$lt_sys_path" && \
   11269 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11270     fi
   11271   done
   11272   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11273 BEGIN {RS = " "; FS = "/|\n";} {
   11274   lt_foo = "";
   11275   lt_count = 0;
   11276   for (lt_i = NF; lt_i > 0; lt_i--) {
   11277     if ($lt_i != "" && $lt_i != ".") {
   11278       if ($lt_i == "..") {
   11279         lt_count++;
   11280       } else {
   11281         if (lt_count == 0) {
   11282           lt_foo = "/" $lt_i lt_foo;
   11283         } else {
   11284           lt_count--;
   11285         }
   11286       }
   11287     }
   11288   }
   11289   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11290   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11291 }'`
   11292   # AWK program above erroneously prepends '/' to C:/dos/paths
   11293   # for these hosts.
   11294   case $host_os in
   11295     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11296       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11297   esac
   11298   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11299 else
   11300   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11301 fi
   11302 library_names_spec=
   11303 libname_spec='lib$name'
   11304 soname_spec=
   11305 shrext_cmds=.so
   11306 postinstall_cmds=
   11307 postuninstall_cmds=
   11308 finish_cmds=
   11309 finish_eval=
   11310 shlibpath_var=
   11311 shlibpath_overrides_runpath=unknown
   11312 version_type=none
   11313 dynamic_linker="$host_os ld.so"
   11314 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11315 need_lib_prefix=unknown
   11316 hardcode_into_libs=no
   11317 
   11318 # when you set need_version to no, make sure it does not cause -set_version
   11319 # flags to be left without arguments
   11320 need_version=unknown
   11321 
   11322 
   11323 
   11324 case $host_os in
   11325 aix3*)
   11326   version_type=linux # correct to gnu/linux during the next big refactor
   11327   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11328   shlibpath_var=LIBPATH
   11329 
   11330   # AIX 3 has no versioning support, so we append a major version to the name.
   11331   soname_spec='$libname$release$shared_ext$major'
   11332   ;;
   11333 
   11334 aix[4-9]*)
   11335   version_type=linux # correct to gnu/linux during the next big refactor
   11336   need_lib_prefix=no
   11337   need_version=no
   11338   hardcode_into_libs=yes
   11339   if test ia64 = "$host_cpu"; then
   11340     # AIX 5 supports IA64
   11341     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11342     shlibpath_var=LD_LIBRARY_PATH
   11343   else
   11344     # With GCC up to 2.95.x, collect2 would create an import file
   11345     # for dependence libraries.  The import file would start with
   11346     # the line '#! .'.  This would cause the generated library to
   11347     # depend on '.', always an invalid library.  This was fixed in
   11348     # development snapshots of GCC prior to 3.0.
   11349     case $host_os in
   11350       aix4 | aix4.[01] | aix4.[01].*)
   11351       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11352 	   echo ' yes '
   11353 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11354 	:
   11355       else
   11356 	can_build_shared=no
   11357       fi
   11358       ;;
   11359     esac
   11360     # Using Import Files as archive members, it is possible to support
   11361     # filename-based versioning of shared library archives on AIX. While
   11362     # this would work for both with and without runtime linking, it will
   11363     # prevent static linking of such archives. So we do filename-based
   11364     # shared library versioning with .so extension only, which is used
   11365     # when both runtime linking and shared linking is enabled.
   11366     # Unfortunately, runtime linking may impact performance, so we do
   11367     # not want this to be the default eventually. Also, we use the
   11368     # versioned .so libs for executables only if there is the -brtl
   11369     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11370     # To allow for filename-based versioning support, we need to create
   11371     # libNAME.so.V as an archive file, containing:
   11372     # *) an Import File, referring to the versioned filename of the
   11373     #    archive as well as the shared archive member, telling the
   11374     #    bitwidth (32 or 64) of that shared object, and providing the
   11375     #    list of exported symbols of that shared object, eventually
   11376     #    decorated with the 'weak' keyword
   11377     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11378     #    it being seen by the linker.
   11379     # At run time we better use the real file rather than another symlink,
   11380     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11381 
   11382     case $with_aix_soname,$aix_use_runtimelinking in
   11383     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11384     # soname into executable. Probably we can add versioning support to
   11385     # collect2, so additional links can be useful in future.
   11386     aix,yes) # traditional libtool
   11387       dynamic_linker='AIX unversionable lib.so'
   11388       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11389       # instead of lib<name>.a to let people know that these are not
   11390       # typical AIX shared libraries.
   11391       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11392       ;;
   11393     aix,no) # traditional AIX only
   11394       dynamic_linker='AIX lib.a(lib.so.V)'
   11395       # We preserve .a as extension for shared libraries through AIX4.2
   11396       # and later when we are not doing run time linking.
   11397       library_names_spec='$libname$release.a $libname.a'
   11398       soname_spec='$libname$release$shared_ext$major'
   11399       ;;
   11400     svr4,*) # full svr4 only
   11401       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11402       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11403       # We do not specify a path in Import Files, so LIBPATH fires.
   11404       shlibpath_overrides_runpath=yes
   11405       ;;
   11406     *,yes) # both, prefer svr4
   11407       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11408       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11409       # unpreferred sharedlib libNAME.a needs extra handling
   11410       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"'
   11411       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"'
   11412       # We do not specify a path in Import Files, so LIBPATH fires.
   11413       shlibpath_overrides_runpath=yes
   11414       ;;
   11415     *,no) # both, prefer aix
   11416       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11417       library_names_spec='$libname$release.a $libname.a'
   11418       soname_spec='$libname$release$shared_ext$major'
   11419       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11420       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)'
   11421       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"'
   11422       ;;
   11423     esac
   11424     shlibpath_var=LIBPATH
   11425   fi
   11426   ;;
   11427 
   11428 amigaos*)
   11429   case $host_cpu in
   11430   powerpc)
   11431     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11432     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11433     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11434     ;;
   11435   m68k)
   11436     library_names_spec='$libname.ixlibrary $libname.a'
   11437     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11438     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'
   11439     ;;
   11440   esac
   11441   ;;
   11442 
   11443 beos*)
   11444   library_names_spec='$libname$shared_ext'
   11445   dynamic_linker="$host_os ld.so"
   11446   shlibpath_var=LIBRARY_PATH
   11447   ;;
   11448 
   11449 bsdi[45]*)
   11450   version_type=linux # correct to gnu/linux during the next big refactor
   11451   need_version=no
   11452   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11453   soname_spec='$libname$release$shared_ext$major'
   11454   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11455   shlibpath_var=LD_LIBRARY_PATH
   11456   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11457   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11458   # the default ld.so.conf also contains /usr/contrib/lib and
   11459   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11460   # libtool to hard-code these into programs
   11461   ;;
   11462 
   11463 cygwin* | mingw* | pw32* | cegcc*)
   11464   version_type=windows
   11465   shrext_cmds=.dll
   11466   need_version=no
   11467   need_lib_prefix=no
   11468 
   11469   case $GCC,$cc_basename in
   11470   yes,*)
   11471     # gcc
   11472     library_names_spec='$libname.dll.a'
   11473     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11474     postinstall_cmds='base_file=`basename \$file`~
   11475       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11476       dldir=$destdir/`dirname \$dlpath`~
   11477       test -d \$dldir || mkdir -p \$dldir~
   11478       $install_prog $dir/$dlname \$dldir/$dlname~
   11479       chmod a+x \$dldir/$dlname~
   11480       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11481         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11482       fi'
   11483     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11484       dlpath=$dir/\$dldll~
   11485        $RM \$dlpath'
   11486     shlibpath_overrides_runpath=yes
   11487 
   11488     case $host_os in
   11489     cygwin*)
   11490       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11491       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11492 
   11493       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11494       ;;
   11495     mingw* | cegcc*)
   11496       # MinGW DLLs use traditional 'lib' prefix
   11497       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11498       ;;
   11499     pw32*)
   11500       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11501       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11502       ;;
   11503     esac
   11504     dynamic_linker='Win32 ld.exe'
   11505     ;;
   11506 
   11507   *,cl* | *,icl*)
   11508     # Native MSVC or ICC
   11509     libname_spec='$name'
   11510     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11511     library_names_spec='$libname.dll.lib'
   11512 
   11513     case $build_os in
   11514     mingw*)
   11515       sys_lib_search_path_spec=
   11516       lt_save_ifs=$IFS
   11517       IFS=';'
   11518       for lt_path in $LIB
   11519       do
   11520         IFS=$lt_save_ifs
   11521         # Let DOS variable expansion print the short 8.3 style file name.
   11522         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11523         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11524       done
   11525       IFS=$lt_save_ifs
   11526       # Convert to MSYS style.
   11527       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11528       ;;
   11529     cygwin*)
   11530       # Convert to unix form, then to dos form, then back to unix form
   11531       # but this time dos style (no spaces!) so that the unix form looks
   11532       # like /cygdrive/c/PROGRA~1:/cygdr...
   11533       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11534       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11535       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11536       ;;
   11537     *)
   11538       sys_lib_search_path_spec=$LIB
   11539       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11540         # It is most probably a Windows format PATH.
   11541         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11542       else
   11543         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11544       fi
   11545       # FIXME: find the short name or the path components, as spaces are
   11546       # common. (e.g. "Program Files" -> "PROGRA~1")
   11547       ;;
   11548     esac
   11549 
   11550     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11551     postinstall_cmds='base_file=`basename \$file`~
   11552       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11553       dldir=$destdir/`dirname \$dlpath`~
   11554       test -d \$dldir || mkdir -p \$dldir~
   11555       $install_prog $dir/$dlname \$dldir/$dlname'
   11556     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11557       dlpath=$dir/\$dldll~
   11558        $RM \$dlpath'
   11559     shlibpath_overrides_runpath=yes
   11560     dynamic_linker='Win32 link.exe'
   11561     ;;
   11562 
   11563   *)
   11564     # Assume MSVC and ICC wrapper
   11565     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11566     dynamic_linker='Win32 ld.exe'
   11567     ;;
   11568   esac
   11569   # FIXME: first we should search . and the directory the executable is in
   11570   shlibpath_var=PATH
   11571   ;;
   11572 
   11573 darwin* | rhapsody*)
   11574   dynamic_linker="$host_os dyld"
   11575   version_type=darwin
   11576   need_lib_prefix=no
   11577   need_version=no
   11578   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11579   soname_spec='$libname$release$major$shared_ext'
   11580   shlibpath_overrides_runpath=yes
   11581   shlibpath_var=DYLD_LIBRARY_PATH
   11582   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11583 
   11584   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11585   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11586   ;;
   11587 
   11588 dgux*)
   11589   version_type=linux # correct to gnu/linux during the next big refactor
   11590   need_lib_prefix=no
   11591   need_version=no
   11592   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11593   soname_spec='$libname$release$shared_ext$major'
   11594   shlibpath_var=LD_LIBRARY_PATH
   11595   ;;
   11596 
   11597 freebsd* | dragonfly* | midnightbsd*)
   11598   # DragonFly does not have aout.  When/if they implement a new
   11599   # versioning mechanism, adjust this.
   11600   if test -x /usr/bin/objformat; then
   11601     objformat=`/usr/bin/objformat`
   11602   else
   11603     case $host_os in
   11604     freebsd[23].*) objformat=aout ;;
   11605     *) objformat=elf ;;
   11606     esac
   11607   fi
   11608   version_type=freebsd-$objformat
   11609   case $version_type in
   11610     freebsd-elf*)
   11611       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11612       soname_spec='$libname$release$shared_ext$major'
   11613       need_version=no
   11614       need_lib_prefix=no
   11615       ;;
   11616     freebsd-*)
   11617       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11618       need_version=yes
   11619       ;;
   11620   esac
   11621   shlibpath_var=LD_LIBRARY_PATH
   11622   case $host_os in
   11623   freebsd2.*)
   11624     shlibpath_overrides_runpath=yes
   11625     ;;
   11626   freebsd3.[01]* | freebsdelf3.[01]*)
   11627     shlibpath_overrides_runpath=yes
   11628     hardcode_into_libs=yes
   11629     ;;
   11630   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11631   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11632     shlibpath_overrides_runpath=no
   11633     hardcode_into_libs=yes
   11634     ;;
   11635   *) # from 4.6 on, and DragonFly
   11636     shlibpath_overrides_runpath=yes
   11637     hardcode_into_libs=yes
   11638     ;;
   11639   esac
   11640   ;;
   11641 
   11642 haiku*)
   11643   version_type=linux # correct to gnu/linux during the next big refactor
   11644   need_lib_prefix=no
   11645   need_version=no
   11646   dynamic_linker="$host_os runtime_loader"
   11647   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11648   soname_spec='$libname$release$shared_ext$major'
   11649   shlibpath_var=LIBRARY_PATH
   11650   shlibpath_overrides_runpath=no
   11651   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11652   hardcode_into_libs=yes
   11653   ;;
   11654 
   11655 hpux9* | hpux10* | hpux11*)
   11656   # Give a soname corresponding to the major version so that dld.sl refuses to
   11657   # link against other versions.
   11658   version_type=sunos
   11659   need_lib_prefix=no
   11660   need_version=no
   11661   case $host_cpu in
   11662   ia64*)
   11663     shrext_cmds='.so'
   11664     hardcode_into_libs=yes
   11665     dynamic_linker="$host_os dld.so"
   11666     shlibpath_var=LD_LIBRARY_PATH
   11667     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11668     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11669     soname_spec='$libname$release$shared_ext$major'
   11670     if test 32 = "$HPUX_IA64_MODE"; then
   11671       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11672       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11673     else
   11674       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11675       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11676     fi
   11677     ;;
   11678   hppa*64*)
   11679     shrext_cmds='.sl'
   11680     hardcode_into_libs=yes
   11681     dynamic_linker="$host_os dld.sl"
   11682     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11683     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11684     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11685     soname_spec='$libname$release$shared_ext$major'
   11686     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11687     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11688     ;;
   11689   *)
   11690     shrext_cmds='.sl'
   11691     dynamic_linker="$host_os dld.sl"
   11692     shlibpath_var=SHLIB_PATH
   11693     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11694     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11695     soname_spec='$libname$release$shared_ext$major'
   11696     ;;
   11697   esac
   11698   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11699   postinstall_cmds='chmod 555 $lib'
   11700   # or fails outright, so override atomically:
   11701   install_override_mode=555
   11702   ;;
   11703 
   11704 interix[3-9]*)
   11705   version_type=linux # correct to gnu/linux during the next big refactor
   11706   need_lib_prefix=no
   11707   need_version=no
   11708   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11709   soname_spec='$libname$release$shared_ext$major'
   11710   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11711   shlibpath_var=LD_LIBRARY_PATH
   11712   shlibpath_overrides_runpath=no
   11713   hardcode_into_libs=yes
   11714   ;;
   11715 
   11716 irix5* | irix6* | nonstopux*)
   11717   case $host_os in
   11718     nonstopux*) version_type=nonstopux ;;
   11719     *)
   11720 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11721 		version_type=linux # correct to gnu/linux during the next big refactor
   11722 	else
   11723 		version_type=irix
   11724 	fi ;;
   11725   esac
   11726   need_lib_prefix=no
   11727   need_version=no
   11728   soname_spec='$libname$release$shared_ext$major'
   11729   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11730   case $host_os in
   11731   irix5* | nonstopux*)
   11732     libsuff= shlibsuff=
   11733     ;;
   11734   *)
   11735     case $LD in # libtool.m4 will add one of these switches to LD
   11736     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11737       libsuff= shlibsuff= libmagic=32-bit;;
   11738     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11739       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11740     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11741       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11742     *) libsuff= shlibsuff= libmagic=never-match;;
   11743     esac
   11744     ;;
   11745   esac
   11746   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11747   shlibpath_overrides_runpath=no
   11748   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11749   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11750   hardcode_into_libs=yes
   11751   ;;
   11752 
   11753 # No shared lib support for Linux oldld, aout, or coff.
   11754 linux*oldld* | linux*aout* | linux*coff*)
   11755   dynamic_linker=no
   11756   ;;
   11757 
   11758 linux*android*)
   11759   version_type=none # Android doesn't support versioned libraries.
   11760   need_lib_prefix=no
   11761   need_version=no
   11762   library_names_spec='$libname$release$shared_ext'
   11763   soname_spec='$libname$release$shared_ext'
   11764   finish_cmds=
   11765   shlibpath_var=LD_LIBRARY_PATH
   11766   shlibpath_overrides_runpath=yes
   11767 
   11768   # This implies no fast_install, which is unacceptable.
   11769   # Some rework will be needed to allow for fast_install
   11770   # before this can be enabled.
   11771   hardcode_into_libs=yes
   11772 
   11773   dynamic_linker='Android linker'
   11774   # Don't embed -rpath directories since the linker doesn't support them.
   11775   hardcode_libdir_flag_spec='-L$libdir'
   11776   ;;
   11777 
   11778 # This must be glibc/ELF.
   11779 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11780   version_type=linux # correct to gnu/linux during the next big refactor
   11781   need_lib_prefix=no
   11782   need_version=no
   11783   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11784   soname_spec='$libname$release$shared_ext$major'
   11785   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11786   shlibpath_var=LD_LIBRARY_PATH
   11787   shlibpath_overrides_runpath=no
   11788 
   11789   # Some binutils ld are patched to set DT_RUNPATH
   11790   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11791 then :
   11792   printf %s "(cached) " >&6
   11793 else $as_nop
   11794   lt_cv_shlibpath_overrides_runpath=no
   11795     save_LDFLAGS=$LDFLAGS
   11796     save_libdir=$libdir
   11797     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11798 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11799     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11800 /* end confdefs.h.  */
   11801 
   11802 int
   11803 main (void)
   11804 {
   11805 
   11806   ;
   11807   return 0;
   11808 }
   11809 _ACEOF
   11810 if ac_fn_c_try_link "$LINENO"
   11811 then :
   11812   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11813 then :
   11814   lt_cv_shlibpath_overrides_runpath=yes
   11815 fi
   11816 fi
   11817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11818     conftest$ac_exeext conftest.$ac_ext
   11819     LDFLAGS=$save_LDFLAGS
   11820     libdir=$save_libdir
   11821 
   11822 fi
   11823 
   11824   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11825 
   11826   # This implies no fast_install, which is unacceptable.
   11827   # Some rework will be needed to allow for fast_install
   11828   # before this can be enabled.
   11829   hardcode_into_libs=yes
   11830 
   11831   # Ideally, we could use ldconfig to report *all* directores which are
   11832   # searched for libraries, however this is still not possible.  Aside from not
   11833   # being certain /sbin/ldconfig is available, command
   11834   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11835   # even though it is searched at run-time.  Try to do the best guess by
   11836   # appending ld.so.conf contents (and includes) to the search path.
   11837   if test -f /etc/ld.so.conf; then
   11838     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' ' '`
   11839     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11840   fi
   11841 
   11842   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11843   # powerpc, because MkLinux only supported shared libraries with the
   11844   # GNU dynamic linker.  Since this was broken with cross compilers,
   11845   # most powerpc-linux boxes support dynamic linking these days and
   11846   # people can always --disable-shared, the test was removed, and we
   11847   # assume the GNU/Linux dynamic linker is in use.
   11848   dynamic_linker='GNU/Linux ld.so'
   11849   ;;
   11850 
   11851 netbsd*)
   11852   version_type=sunos
   11853   need_lib_prefix=no
   11854   need_version=no
   11855   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11856     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11857     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11858     dynamic_linker='NetBSD (a.out) ld.so'
   11859   else
   11860     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11861     soname_spec='$libname$release$shared_ext$major'
   11862     dynamic_linker='NetBSD ld.elf_so'
   11863   fi
   11864   shlibpath_var=LD_LIBRARY_PATH
   11865   shlibpath_overrides_runpath=yes
   11866   hardcode_into_libs=yes
   11867   ;;
   11868 
   11869 newsos6)
   11870   version_type=linux # correct to gnu/linux during the next big refactor
   11871   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11872   shlibpath_var=LD_LIBRARY_PATH
   11873   shlibpath_overrides_runpath=yes
   11874   ;;
   11875 
   11876 *nto* | *qnx*)
   11877   version_type=qnx
   11878   need_lib_prefix=no
   11879   need_version=no
   11880   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11881   soname_spec='$libname$release$shared_ext$major'
   11882   shlibpath_var=LD_LIBRARY_PATH
   11883   shlibpath_overrides_runpath=no
   11884   hardcode_into_libs=yes
   11885   dynamic_linker='ldqnx.so'
   11886   ;;
   11887 
   11888 openbsd* | bitrig*)
   11889   version_type=sunos
   11890   sys_lib_dlsearch_path_spec=/usr/lib
   11891   need_lib_prefix=no
   11892   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11893     need_version=no
   11894   else
   11895     need_version=yes
   11896   fi
   11897   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11898   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11899   shlibpath_var=LD_LIBRARY_PATH
   11900   shlibpath_overrides_runpath=yes
   11901   ;;
   11902 
   11903 os2*)
   11904   libname_spec='$name'
   11905   version_type=windows
   11906   shrext_cmds=.dll
   11907   need_version=no
   11908   need_lib_prefix=no
   11909   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11910   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11911     v=$($ECHO $release$versuffix | tr -d .-);
   11912     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11913     $ECHO $n$v`$shared_ext'
   11914   library_names_spec='${libname}_dll.$libext'
   11915   dynamic_linker='OS/2 ld.exe'
   11916   shlibpath_var=BEGINLIBPATH
   11917   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11918   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11919   postinstall_cmds='base_file=`basename \$file`~
   11920     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11921     dldir=$destdir/`dirname \$dlpath`~
   11922     test -d \$dldir || mkdir -p \$dldir~
   11923     $install_prog $dir/$dlname \$dldir/$dlname~
   11924     chmod a+x \$dldir/$dlname~
   11925     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11926       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11927     fi'
   11928   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11929     dlpath=$dir/\$dldll~
   11930     $RM \$dlpath'
   11931   ;;
   11932 
   11933 osf3* | osf4* | osf5*)
   11934   version_type=osf
   11935   need_lib_prefix=no
   11936   need_version=no
   11937   soname_spec='$libname$release$shared_ext$major'
   11938   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11939   shlibpath_var=LD_LIBRARY_PATH
   11940   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11941   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11942   ;;
   11943 
   11944 rdos*)
   11945   dynamic_linker=no
   11946   ;;
   11947 
   11948 solaris*)
   11949   version_type=linux # correct to gnu/linux during the next big refactor
   11950   need_lib_prefix=no
   11951   need_version=no
   11952   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11953   soname_spec='$libname$release$shared_ext$major'
   11954   shlibpath_var=LD_LIBRARY_PATH
   11955   shlibpath_overrides_runpath=yes
   11956   hardcode_into_libs=yes
   11957   # ldd complains unless libraries are executable
   11958   postinstall_cmds='chmod +x $lib'
   11959   ;;
   11960 
   11961 sunos4*)
   11962   version_type=sunos
   11963   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11964   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11965   shlibpath_var=LD_LIBRARY_PATH
   11966   shlibpath_overrides_runpath=yes
   11967   if test yes = "$with_gnu_ld"; then
   11968     need_lib_prefix=no
   11969   fi
   11970   need_version=yes
   11971   ;;
   11972 
   11973 sysv4 | sysv4.3*)
   11974   version_type=linux # correct to gnu/linux during the next big refactor
   11975   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11976   soname_spec='$libname$release$shared_ext$major'
   11977   shlibpath_var=LD_LIBRARY_PATH
   11978   case $host_vendor in
   11979     sni)
   11980       shlibpath_overrides_runpath=no
   11981       need_lib_prefix=no
   11982       runpath_var=LD_RUN_PATH
   11983       ;;
   11984     siemens)
   11985       need_lib_prefix=no
   11986       ;;
   11987     motorola)
   11988       need_lib_prefix=no
   11989       need_version=no
   11990       shlibpath_overrides_runpath=no
   11991       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11992       ;;
   11993   esac
   11994   ;;
   11995 
   11996 sysv4*MP*)
   11997   if test -d /usr/nec; then
   11998     version_type=linux # correct to gnu/linux during the next big refactor
   11999     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12000     soname_spec='$libname$shared_ext.$major'
   12001     shlibpath_var=LD_LIBRARY_PATH
   12002   fi
   12003   ;;
   12004 
   12005 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12006   version_type=sco
   12007   need_lib_prefix=no
   12008   need_version=no
   12009   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12010   soname_spec='$libname$release$shared_ext$major'
   12011   shlibpath_var=LD_LIBRARY_PATH
   12012   shlibpath_overrides_runpath=yes
   12013   hardcode_into_libs=yes
   12014   if test yes = "$with_gnu_ld"; then
   12015     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12016   else
   12017     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12018     case $host_os in
   12019       sco3.2v5*)
   12020         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12021 	;;
   12022     esac
   12023   fi
   12024   sys_lib_dlsearch_path_spec='/usr/lib'
   12025   ;;
   12026 
   12027 tpf*)
   12028   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12029   version_type=linux # correct to gnu/linux during the next big refactor
   12030   need_lib_prefix=no
   12031   need_version=no
   12032   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12033   shlibpath_var=LD_LIBRARY_PATH
   12034   shlibpath_overrides_runpath=no
   12035   hardcode_into_libs=yes
   12036   ;;
   12037 
   12038 uts4*)
   12039   version_type=linux # correct to gnu/linux during the next big refactor
   12040   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12041   soname_spec='$libname$release$shared_ext$major'
   12042   shlibpath_var=LD_LIBRARY_PATH
   12043   ;;
   12044 
   12045 *)
   12046   dynamic_linker=no
   12047   ;;
   12048 esac
   12049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12050 printf "%s\n" "$dynamic_linker" >&6; }
   12051 test no = "$dynamic_linker" && can_build_shared=no
   12052 
   12053 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12054 if test yes = "$GCC"; then
   12055   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12056 fi
   12057 
   12058 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12059   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12060 fi
   12061 
   12062 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12063   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12064 fi
   12065 
   12066 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12067 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12068 
   12069 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12070 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12071 
   12072 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12073 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 
   12085 
   12086 
   12087 
   12088 
   12089 
   12090 
   12091 
   12092 
   12093 
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 
   12171   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12172 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12173 hardcode_action=
   12174 if test -n "$hardcode_libdir_flag_spec" ||
   12175    test -n "$runpath_var" ||
   12176    test yes = "$hardcode_automatic"; then
   12177 
   12178   # We can hardcode non-existent directories.
   12179   if test no != "$hardcode_direct" &&
   12180      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12181      # have to relink, otherwise we might link with an installed library
   12182      # when we should be linking with a yet-to-be-installed one
   12183      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12184      test no != "$hardcode_minus_L"; then
   12185     # Linking always hardcodes the temporary library directory.
   12186     hardcode_action=relink
   12187   else
   12188     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12189     hardcode_action=immediate
   12190   fi
   12191 else
   12192   # We cannot hardcode anything, or else we can only hardcode existing
   12193   # directories.
   12194   hardcode_action=unsupported
   12195 fi
   12196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12197 printf "%s\n" "$hardcode_action" >&6; }
   12198 
   12199 if test relink = "$hardcode_action" ||
   12200    test yes = "$inherit_rpath"; then
   12201   # Fast installation is not supported
   12202   enable_fast_install=no
   12203 elif test yes = "$shlibpath_overrides_runpath" ||
   12204      test no = "$enable_shared"; then
   12205   # Fast installation is not necessary
   12206   enable_fast_install=needless
   12207 fi
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214   if test yes != "$enable_dlopen"; then
   12215   enable_dlopen=unknown
   12216   enable_dlopen_self=unknown
   12217   enable_dlopen_self_static=unknown
   12218 else
   12219   lt_cv_dlopen=no
   12220   lt_cv_dlopen_libs=
   12221 
   12222   case $host_os in
   12223   beos*)
   12224     lt_cv_dlopen=load_add_on
   12225     lt_cv_dlopen_libs=
   12226     lt_cv_dlopen_self=yes
   12227     ;;
   12228 
   12229   mingw* | pw32* | cegcc*)
   12230     lt_cv_dlopen=LoadLibrary
   12231     lt_cv_dlopen_libs=
   12232     ;;
   12233 
   12234   cygwin*)
   12235     lt_cv_dlopen=dlopen
   12236     lt_cv_dlopen_libs=
   12237     ;;
   12238 
   12239   darwin*)
   12240     # if libdl is installed we need to link against it
   12241     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12242 printf %s "checking for dlopen in -ldl... " >&6; }
   12243 if test ${ac_cv_lib_dl_dlopen+y}
   12244 then :
   12245   printf %s "(cached) " >&6
   12246 else $as_nop
   12247   ac_check_lib_save_LIBS=$LIBS
   12248 LIBS="-ldl  $LIBS"
   12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12250 /* end confdefs.h.  */
   12251 
   12252 /* Override any GCC internal prototype to avoid an error.
   12253    Use char because int might match the return type of a GCC
   12254    builtin and then its argument prototype would still apply.  */
   12255 char dlopen ();
   12256 int
   12257 main (void)
   12258 {
   12259 return dlopen ();
   12260   ;
   12261   return 0;
   12262 }
   12263 _ACEOF
   12264 if ac_fn_c_try_link "$LINENO"
   12265 then :
   12266   ac_cv_lib_dl_dlopen=yes
   12267 else $as_nop
   12268   ac_cv_lib_dl_dlopen=no
   12269 fi
   12270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12271     conftest$ac_exeext conftest.$ac_ext
   12272 LIBS=$ac_check_lib_save_LIBS
   12273 fi
   12274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12275 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12276 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12277 then :
   12278   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12279 else $as_nop
   12280 
   12281     lt_cv_dlopen=dyld
   12282     lt_cv_dlopen_libs=
   12283     lt_cv_dlopen_self=yes
   12284 
   12285 fi
   12286 
   12287     ;;
   12288 
   12289   tpf*)
   12290     # Don't try to run any link tests for TPF.  We know it's impossible
   12291     # because TPF is a cross-compiler, and we know how we open DSOs.
   12292     lt_cv_dlopen=dlopen
   12293     lt_cv_dlopen_libs=
   12294     lt_cv_dlopen_self=no
   12295     ;;
   12296 
   12297   *)
   12298     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12299 if test "x$ac_cv_func_shl_load" = xyes
   12300 then :
   12301   lt_cv_dlopen=shl_load
   12302 else $as_nop
   12303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12304 printf %s "checking for shl_load in -ldld... " >&6; }
   12305 if test ${ac_cv_lib_dld_shl_load+y}
   12306 then :
   12307   printf %s "(cached) " >&6
   12308 else $as_nop
   12309   ac_check_lib_save_LIBS=$LIBS
   12310 LIBS="-ldld  $LIBS"
   12311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12312 /* end confdefs.h.  */
   12313 
   12314 /* Override any GCC internal prototype to avoid an error.
   12315    Use char because int might match the return type of a GCC
   12316    builtin and then its argument prototype would still apply.  */
   12317 char shl_load ();
   12318 int
   12319 main (void)
   12320 {
   12321 return shl_load ();
   12322   ;
   12323   return 0;
   12324 }
   12325 _ACEOF
   12326 if ac_fn_c_try_link "$LINENO"
   12327 then :
   12328   ac_cv_lib_dld_shl_load=yes
   12329 else $as_nop
   12330   ac_cv_lib_dld_shl_load=no
   12331 fi
   12332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12333     conftest$ac_exeext conftest.$ac_ext
   12334 LIBS=$ac_check_lib_save_LIBS
   12335 fi
   12336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12337 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12338 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12339 then :
   12340   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12341 else $as_nop
   12342   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12343 if test "x$ac_cv_func_dlopen" = xyes
   12344 then :
   12345   lt_cv_dlopen=dlopen
   12346 else $as_nop
   12347   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12348 printf %s "checking for dlopen in -ldl... " >&6; }
   12349 if test ${ac_cv_lib_dl_dlopen+y}
   12350 then :
   12351   printf %s "(cached) " >&6
   12352 else $as_nop
   12353   ac_check_lib_save_LIBS=$LIBS
   12354 LIBS="-ldl  $LIBS"
   12355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12356 /* end confdefs.h.  */
   12357 
   12358 /* Override any GCC internal prototype to avoid an error.
   12359    Use char because int might match the return type of a GCC
   12360    builtin and then its argument prototype would still apply.  */
   12361 char dlopen ();
   12362 int
   12363 main (void)
   12364 {
   12365 return dlopen ();
   12366   ;
   12367   return 0;
   12368 }
   12369 _ACEOF
   12370 if ac_fn_c_try_link "$LINENO"
   12371 then :
   12372   ac_cv_lib_dl_dlopen=yes
   12373 else $as_nop
   12374   ac_cv_lib_dl_dlopen=no
   12375 fi
   12376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12377     conftest$ac_exeext conftest.$ac_ext
   12378 LIBS=$ac_check_lib_save_LIBS
   12379 fi
   12380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12381 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12382 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12383 then :
   12384   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12385 else $as_nop
   12386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12387 printf %s "checking for dlopen in -lsvld... " >&6; }
   12388 if test ${ac_cv_lib_svld_dlopen+y}
   12389 then :
   12390   printf %s "(cached) " >&6
   12391 else $as_nop
   12392   ac_check_lib_save_LIBS=$LIBS
   12393 LIBS="-lsvld  $LIBS"
   12394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12395 /* end confdefs.h.  */
   12396 
   12397 /* Override any GCC internal prototype to avoid an error.
   12398    Use char because int might match the return type of a GCC
   12399    builtin and then its argument prototype would still apply.  */
   12400 char dlopen ();
   12401 int
   12402 main (void)
   12403 {
   12404 return dlopen ();
   12405   ;
   12406   return 0;
   12407 }
   12408 _ACEOF
   12409 if ac_fn_c_try_link "$LINENO"
   12410 then :
   12411   ac_cv_lib_svld_dlopen=yes
   12412 else $as_nop
   12413   ac_cv_lib_svld_dlopen=no
   12414 fi
   12415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12416     conftest$ac_exeext conftest.$ac_ext
   12417 LIBS=$ac_check_lib_save_LIBS
   12418 fi
   12419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12420 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12421 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12422 then :
   12423   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12424 else $as_nop
   12425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12426 printf %s "checking for dld_link in -ldld... " >&6; }
   12427 if test ${ac_cv_lib_dld_dld_link+y}
   12428 then :
   12429   printf %s "(cached) " >&6
   12430 else $as_nop
   12431   ac_check_lib_save_LIBS=$LIBS
   12432 LIBS="-ldld  $LIBS"
   12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12434 /* end confdefs.h.  */
   12435 
   12436 /* Override any GCC internal prototype to avoid an error.
   12437    Use char because int might match the return type of a GCC
   12438    builtin and then its argument prototype would still apply.  */
   12439 char dld_link ();
   12440 int
   12441 main (void)
   12442 {
   12443 return dld_link ();
   12444   ;
   12445   return 0;
   12446 }
   12447 _ACEOF
   12448 if ac_fn_c_try_link "$LINENO"
   12449 then :
   12450   ac_cv_lib_dld_dld_link=yes
   12451 else $as_nop
   12452   ac_cv_lib_dld_dld_link=no
   12453 fi
   12454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12455     conftest$ac_exeext conftest.$ac_ext
   12456 LIBS=$ac_check_lib_save_LIBS
   12457 fi
   12458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12459 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12460 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12461 then :
   12462   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12463 fi
   12464 
   12465 
   12466 fi
   12467 
   12468 
   12469 fi
   12470 
   12471 
   12472 fi
   12473 
   12474 
   12475 fi
   12476 
   12477 
   12478 fi
   12479 
   12480     ;;
   12481   esac
   12482 
   12483   if test no = "$lt_cv_dlopen"; then
   12484     enable_dlopen=no
   12485   else
   12486     enable_dlopen=yes
   12487   fi
   12488 
   12489   case $lt_cv_dlopen in
   12490   dlopen)
   12491     save_CPPFLAGS=$CPPFLAGS
   12492     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12493 
   12494     save_LDFLAGS=$LDFLAGS
   12495     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12496 
   12497     save_LIBS=$LIBS
   12498     LIBS="$lt_cv_dlopen_libs $LIBS"
   12499 
   12500     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12501 printf %s "checking whether a program can dlopen itself... " >&6; }
   12502 if test ${lt_cv_dlopen_self+y}
   12503 then :
   12504   printf %s "(cached) " >&6
   12505 else $as_nop
   12506   	  if test yes = "$cross_compiling"; then :
   12507   lt_cv_dlopen_self=cross
   12508 else
   12509   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12510   lt_status=$lt_dlunknown
   12511   cat > conftest.$ac_ext <<_LT_EOF
   12512 #line $LINENO "configure"
   12513 #include "confdefs.h"
   12514 
   12515 #if HAVE_DLFCN_H
   12516 #include <dlfcn.h>
   12517 #endif
   12518 
   12519 #include <stdio.h>
   12520 
   12521 #ifdef RTLD_GLOBAL
   12522 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12523 #else
   12524 #  ifdef DL_GLOBAL
   12525 #    define LT_DLGLOBAL		DL_GLOBAL
   12526 #  else
   12527 #    define LT_DLGLOBAL		0
   12528 #  endif
   12529 #endif
   12530 
   12531 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12532    find out it does not work in some platform. */
   12533 #ifndef LT_DLLAZY_OR_NOW
   12534 #  ifdef RTLD_LAZY
   12535 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12536 #  else
   12537 #    ifdef DL_LAZY
   12538 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12539 #    else
   12540 #      ifdef RTLD_NOW
   12541 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12542 #      else
   12543 #        ifdef DL_NOW
   12544 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12545 #        else
   12546 #          define LT_DLLAZY_OR_NOW	0
   12547 #        endif
   12548 #      endif
   12549 #    endif
   12550 #  endif
   12551 #endif
   12552 
   12553 /* When -fvisibility=hidden is used, assume the code has been annotated
   12554    correspondingly for the symbols needed.  */
   12555 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12556 int fnord () __attribute__((visibility("default")));
   12557 #endif
   12558 
   12559 int fnord () { return 42; }
   12560 int main ()
   12561 {
   12562   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12563   int status = $lt_dlunknown;
   12564 
   12565   if (self)
   12566     {
   12567       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12568       else
   12569         {
   12570 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12571           else puts (dlerror ());
   12572 	}
   12573       /* dlclose (self); */
   12574     }
   12575   else
   12576     puts (dlerror ());
   12577 
   12578   return status;
   12579 }
   12580 _LT_EOF
   12581   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12582   (eval $ac_link) 2>&5
   12583   ac_status=$?
   12584   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12585   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12586     (./conftest; exit; ) >&5 2>/dev/null
   12587     lt_status=$?
   12588     case x$lt_status in
   12589       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12590       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12591       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12592     esac
   12593   else :
   12594     # compilation failed
   12595     lt_cv_dlopen_self=no
   12596   fi
   12597 fi
   12598 rm -fr conftest*
   12599 
   12600 
   12601 fi
   12602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12603 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12604 
   12605     if test yes = "$lt_cv_dlopen_self"; then
   12606       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12607       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12608 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12609 if test ${lt_cv_dlopen_self_static+y}
   12610 then :
   12611   printf %s "(cached) " >&6
   12612 else $as_nop
   12613   	  if test yes = "$cross_compiling"; then :
   12614   lt_cv_dlopen_self_static=cross
   12615 else
   12616   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12617   lt_status=$lt_dlunknown
   12618   cat > conftest.$ac_ext <<_LT_EOF
   12619 #line $LINENO "configure"
   12620 #include "confdefs.h"
   12621 
   12622 #if HAVE_DLFCN_H
   12623 #include <dlfcn.h>
   12624 #endif
   12625 
   12626 #include <stdio.h>
   12627 
   12628 #ifdef RTLD_GLOBAL
   12629 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12630 #else
   12631 #  ifdef DL_GLOBAL
   12632 #    define LT_DLGLOBAL		DL_GLOBAL
   12633 #  else
   12634 #    define LT_DLGLOBAL		0
   12635 #  endif
   12636 #endif
   12637 
   12638 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12639    find out it does not work in some platform. */
   12640 #ifndef LT_DLLAZY_OR_NOW
   12641 #  ifdef RTLD_LAZY
   12642 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12643 #  else
   12644 #    ifdef DL_LAZY
   12645 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12646 #    else
   12647 #      ifdef RTLD_NOW
   12648 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12649 #      else
   12650 #        ifdef DL_NOW
   12651 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12652 #        else
   12653 #          define LT_DLLAZY_OR_NOW	0
   12654 #        endif
   12655 #      endif
   12656 #    endif
   12657 #  endif
   12658 #endif
   12659 
   12660 /* When -fvisibility=hidden is used, assume the code has been annotated
   12661    correspondingly for the symbols needed.  */
   12662 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12663 int fnord () __attribute__((visibility("default")));
   12664 #endif
   12665 
   12666 int fnord () { return 42; }
   12667 int main ()
   12668 {
   12669   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12670   int status = $lt_dlunknown;
   12671 
   12672   if (self)
   12673     {
   12674       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12675       else
   12676         {
   12677 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12678           else puts (dlerror ());
   12679 	}
   12680       /* dlclose (self); */
   12681     }
   12682   else
   12683     puts (dlerror ());
   12684 
   12685   return status;
   12686 }
   12687 _LT_EOF
   12688   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12689   (eval $ac_link) 2>&5
   12690   ac_status=$?
   12691   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12692   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12693     (./conftest; exit; ) >&5 2>/dev/null
   12694     lt_status=$?
   12695     case x$lt_status in
   12696       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12697       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12698       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12699     esac
   12700   else :
   12701     # compilation failed
   12702     lt_cv_dlopen_self_static=no
   12703   fi
   12704 fi
   12705 rm -fr conftest*
   12706 
   12707 
   12708 fi
   12709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12710 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12711     fi
   12712 
   12713     CPPFLAGS=$save_CPPFLAGS
   12714     LDFLAGS=$save_LDFLAGS
   12715     LIBS=$save_LIBS
   12716     ;;
   12717   esac
   12718 
   12719   case $lt_cv_dlopen_self in
   12720   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12721   *) enable_dlopen_self=unknown ;;
   12722   esac
   12723 
   12724   case $lt_cv_dlopen_self_static in
   12725   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12726   *) enable_dlopen_self_static=unknown ;;
   12727   esac
   12728 fi
   12729 
   12730 
   12731 
   12732 
   12733 
   12734 
   12735 
   12736 
   12737 
   12738 
   12739 
   12740 
   12741 
   12742 
   12743 
   12744 
   12745 
   12746 striplib=
   12747 old_striplib=
   12748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12749 printf %s "checking whether stripping libraries is possible... " >&6; }
   12750 if test -z "$STRIP"; then
   12751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12752 printf "%s\n" "no" >&6; }
   12753 else
   12754   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12755     old_striplib="$STRIP --strip-debug"
   12756     striplib="$STRIP --strip-unneeded"
   12757     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12758 printf "%s\n" "yes" >&6; }
   12759   else
   12760     case $host_os in
   12761     darwin*)
   12762       # FIXME - insert some real tests, host_os isn't really good enough
   12763       striplib="$STRIP -x"
   12764       old_striplib="$STRIP -S"
   12765       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12766 printf "%s\n" "yes" >&6; }
   12767       ;;
   12768     freebsd*)
   12769       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12770         old_striplib="$STRIP --strip-debug"
   12771         striplib="$STRIP --strip-unneeded"
   12772         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12773 printf "%s\n" "yes" >&6; }
   12774       else
   12775         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12776 printf "%s\n" "no" >&6; }
   12777       fi
   12778       ;;
   12779     *)
   12780       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12781 printf "%s\n" "no" >&6; }
   12782       ;;
   12783     esac
   12784   fi
   12785 fi
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798   # Report what library types will actually be built
   12799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12800 printf %s "checking if libtool supports shared libraries... " >&6; }
   12801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12802 printf "%s\n" "$can_build_shared" >&6; }
   12803 
   12804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12805 printf %s "checking whether to build shared libraries... " >&6; }
   12806   test no = "$can_build_shared" && enable_shared=no
   12807 
   12808   # On AIX, shared libraries and static libraries use the same namespace, and
   12809   # are all built from PIC.
   12810   case $host_os in
   12811   aix3*)
   12812     test yes = "$enable_shared" && enable_static=no
   12813     if test -n "$RANLIB"; then
   12814       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12815       postinstall_cmds='$RANLIB $lib'
   12816     fi
   12817     ;;
   12818 
   12819   aix[4-9]*)
   12820     if test ia64 != "$host_cpu"; then
   12821       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12822       yes,aix,yes) ;;			# shared object as lib.so file only
   12823       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12824       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12825       esac
   12826     fi
   12827     ;;
   12828   esac
   12829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12830 printf "%s\n" "$enable_shared" >&6; }
   12831 
   12832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12833 printf %s "checking whether to build static libraries... " >&6; }
   12834   # Make sure either enable_shared or enable_static is yes.
   12835   test yes = "$enable_shared" || enable_static=yes
   12836   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12837 printf "%s\n" "$enable_static" >&6; }
   12838 
   12839 
   12840 
   12841 
   12842 fi
   12843 ac_ext=c
   12844 ac_cpp='$CPP $CPPFLAGS'
   12845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12848 
   12849 CC=$lt_save_CC
   12850 
   12851 
   12852 
   12853 
   12854 
   12855 
   12856 
   12857 
   12858 
   12859 
   12860 
   12861 
   12862 
   12863 
   12864 
   12865         ac_config_commands="$ac_config_commands libtool"
   12866 
   12867 
   12868 
   12869 
   12870 # Only expand once:
   12871 
   12872 
   12873 
   12874 # Require xorg-macros minimum of 1.12 for DocBook external references
   12875 
   12876 
   12877 
   12878 
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 
   12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12888 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12889 if test ${ac_cv_c_undeclared_builtin_options+y}
   12890 then :
   12891   printf %s "(cached) " >&6
   12892 else $as_nop
   12893   ac_save_CFLAGS=$CFLAGS
   12894    ac_cv_c_undeclared_builtin_options='cannot detect'
   12895    for ac_arg in '' -fno-builtin; do
   12896      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12897      # This test program should *not* compile successfully.
   12898      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12899 /* end confdefs.h.  */
   12900 
   12901 int
   12902 main (void)
   12903 {
   12904 (void) strchr;
   12905   ;
   12906   return 0;
   12907 }
   12908 _ACEOF
   12909 if ac_fn_c_try_compile "$LINENO"
   12910 then :
   12911 
   12912 else $as_nop
   12913   # This test program should compile successfully.
   12914         # No library function is consistently available on
   12915         # freestanding implementations, so test against a dummy
   12916         # declaration.  Include always-available headers on the
   12917         # off chance that they somehow elicit warnings.
   12918         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12919 /* end confdefs.h.  */
   12920 #include <float.h>
   12921 #include <limits.h>
   12922 #include <stdarg.h>
   12923 #include <stddef.h>
   12924 extern void ac_decl (int, char *);
   12925 
   12926 int
   12927 main (void)
   12928 {
   12929 (void) ac_decl (0, (char *) 0);
   12930   (void) ac_decl;
   12931 
   12932   ;
   12933   return 0;
   12934 }
   12935 _ACEOF
   12936 if ac_fn_c_try_compile "$LINENO"
   12937 then :
   12938   if test x"$ac_arg" = x
   12939 then :
   12940   ac_cv_c_undeclared_builtin_options='none needed'
   12941 else $as_nop
   12942   ac_cv_c_undeclared_builtin_options=$ac_arg
   12943 fi
   12944           break
   12945 fi
   12946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12947 fi
   12948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12949     done
   12950     CFLAGS=$ac_save_CFLAGS
   12951 
   12952 fi
   12953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12954 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12955   case $ac_cv_c_undeclared_builtin_options in #(
   12956   'cannot detect') :
   12957     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12958 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12959 as_fn_error $? "cannot make $CC report undeclared builtins
   12960 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12961   'none needed') :
   12962     ac_c_undeclared_builtin_options='' ;; #(
   12963   *) :
   12964     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12965 esac
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12972 if test "x$ac_cv_have_decl___clang__" = xyes
   12973 then :
   12974   CLANGCC="yes"
   12975 else $as_nop
   12976   CLANGCC="no"
   12977 fi
   12978 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12979 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12980 then :
   12981   INTELCC="yes"
   12982 else $as_nop
   12983   INTELCC="no"
   12984 fi
   12985 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12986 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12987 then :
   12988   SUNCC="yes"
   12989 else $as_nop
   12990   SUNCC="no"
   12991 fi
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13001 	if test -n "$ac_tool_prefix"; then
   13002   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13003 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13005 printf %s "checking for $ac_word... " >&6; }
   13006 if test ${ac_cv_path_PKG_CONFIG+y}
   13007 then :
   13008   printf %s "(cached) " >&6
   13009 else $as_nop
   13010   case $PKG_CONFIG in
   13011   [\\/]* | ?:[\\/]*)
   13012   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13013   ;;
   13014   *)
   13015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13016 for as_dir in $PATH
   13017 do
   13018   IFS=$as_save_IFS
   13019   case $as_dir in #(((
   13020     '') as_dir=./ ;;
   13021     */) ;;
   13022     *) as_dir=$as_dir/ ;;
   13023   esac
   13024     for ac_exec_ext in '' $ac_executable_extensions; do
   13025   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13026     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13027     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13028     break 2
   13029   fi
   13030 done
   13031   done
   13032 IFS=$as_save_IFS
   13033 
   13034   ;;
   13035 esac
   13036 fi
   13037 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13038 if test -n "$PKG_CONFIG"; then
   13039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13040 printf "%s\n" "$PKG_CONFIG" >&6; }
   13041 else
   13042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13043 printf "%s\n" "no" >&6; }
   13044 fi
   13045 
   13046 
   13047 fi
   13048 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13049   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13050   # Extract the first word of "pkg-config", so it can be a program name with args.
   13051 set dummy pkg-config; ac_word=$2
   13052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13053 printf %s "checking for $ac_word... " >&6; }
   13054 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13055 then :
   13056   printf %s "(cached) " >&6
   13057 else $as_nop
   13058   case $ac_pt_PKG_CONFIG in
   13059   [\\/]* | ?:[\\/]*)
   13060   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13061   ;;
   13062   *)
   13063   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13064 for as_dir in $PATH
   13065 do
   13066   IFS=$as_save_IFS
   13067   case $as_dir in #(((
   13068     '') as_dir=./ ;;
   13069     */) ;;
   13070     *) as_dir=$as_dir/ ;;
   13071   esac
   13072     for ac_exec_ext in '' $ac_executable_extensions; do
   13073   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13074     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13075     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13076     break 2
   13077   fi
   13078 done
   13079   done
   13080 IFS=$as_save_IFS
   13081 
   13082   ;;
   13083 esac
   13084 fi
   13085 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13086 if test -n "$ac_pt_PKG_CONFIG"; then
   13087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13088 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13089 else
   13090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13091 printf "%s\n" "no" >&6; }
   13092 fi
   13093 
   13094   if test "x$ac_pt_PKG_CONFIG" = x; then
   13095     PKG_CONFIG=""
   13096   else
   13097     case $cross_compiling:$ac_tool_warned in
   13098 yes:)
   13099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13100 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13101 ac_tool_warned=yes ;;
   13102 esac
   13103     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13104   fi
   13105 else
   13106   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13107 fi
   13108 
   13109 fi
   13110 if test -n "$PKG_CONFIG"; then
   13111 	_pkg_min_version=0.9.0
   13112 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13113 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13114 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13115 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13116 printf "%s\n" "yes" >&6; }
   13117 	else
   13118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13119 printf "%s\n" "no" >&6; }
   13120 		PKG_CONFIG=""
   13121 	fi
   13122 fi
   13123 
   13124 
   13125 
   13126 
   13127 
   13128 # Check whether --enable-selective-werror was given.
   13129 if test ${enable_selective_werror+y}
   13130 then :
   13131   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13132 else $as_nop
   13133   SELECTIVE_WERROR=yes
   13134 fi
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13141 if test "x$SUNCC" = "xyes"; then
   13142     BASE_CFLAGS="-v"
   13143 else
   13144     BASE_CFLAGS=""
   13145 fi
   13146 
   13147 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161 xorg_testset_save_CFLAGS="$CFLAGS"
   13162 
   13163 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13164 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13165 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13166 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13167 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13168 then :
   13169   printf %s "(cached) " >&6
   13170 else $as_nop
   13171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13172 /* end confdefs.h.  */
   13173 int i;
   13174 _ACEOF
   13175 if ac_fn_c_try_compile "$LINENO"
   13176 then :
   13177   xorg_cv_cc_flag_unknown_warning_option=yes
   13178 else $as_nop
   13179   xorg_cv_cc_flag_unknown_warning_option=no
   13180 fi
   13181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13182 fi
   13183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13184 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13185 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13186 	CFLAGS="$xorg_testset_save_CFLAGS"
   13187 fi
   13188 
   13189 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13190 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13191 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13192 	fi
   13193 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13194 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13195 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13196 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13197 then :
   13198   printf %s "(cached) " >&6
   13199 else $as_nop
   13200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13201 /* end confdefs.h.  */
   13202 int i;
   13203 _ACEOF
   13204 if ac_fn_c_try_compile "$LINENO"
   13205 then :
   13206   xorg_cv_cc_flag_unused_command_line_argument=yes
   13207 else $as_nop
   13208   xorg_cv_cc_flag_unused_command_line_argument=no
   13209 fi
   13210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13211 fi
   13212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13213 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13214 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13215 	CFLAGS="$xorg_testset_save_CFLAGS"
   13216 fi
   13217 
   13218 found="no"
   13219 
   13220 	if test $found = "no" ; then
   13221 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13222 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13223 		fi
   13224 
   13225 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13226 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13227 		fi
   13228 
   13229 		CFLAGS="$CFLAGS -Wall"
   13230 
   13231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13232 printf %s "checking if $CC supports -Wall... " >&6; }
   13233 		cacheid=xorg_cv_cc_flag__Wall
   13234 		if eval test \${$cacheid+y}
   13235 then :
   13236   printf %s "(cached) " >&6
   13237 else $as_nop
   13238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13239 /* end confdefs.h.  */
   13240 int i;
   13241 int
   13242 main (void)
   13243 {
   13244 
   13245   ;
   13246   return 0;
   13247 }
   13248 _ACEOF
   13249 if ac_fn_c_try_link "$LINENO"
   13250 then :
   13251   eval $cacheid=yes
   13252 else $as_nop
   13253   eval $cacheid=no
   13254 fi
   13255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13256     conftest$ac_exeext conftest.$ac_ext
   13257 fi
   13258 
   13259 
   13260 		CFLAGS="$xorg_testset_save_CFLAGS"
   13261 
   13262 		eval supported=\$$cacheid
   13263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13264 printf "%s\n" "$supported" >&6; }
   13265 		if test "$supported" = "yes" ; then
   13266 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13267 			found="yes"
   13268 		fi
   13269 	fi
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 xorg_testset_save_CFLAGS="$CFLAGS"
   13286 
   13287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13288 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13289 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13290 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13291 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13292 then :
   13293   printf %s "(cached) " >&6
   13294 else $as_nop
   13295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13296 /* end confdefs.h.  */
   13297 int i;
   13298 _ACEOF
   13299 if ac_fn_c_try_compile "$LINENO"
   13300 then :
   13301   xorg_cv_cc_flag_unknown_warning_option=yes
   13302 else $as_nop
   13303   xorg_cv_cc_flag_unknown_warning_option=no
   13304 fi
   13305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13306 fi
   13307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13308 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13309 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13310 	CFLAGS="$xorg_testset_save_CFLAGS"
   13311 fi
   13312 
   13313 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13314 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13315 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13316 	fi
   13317 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13318 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13319 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13320 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13321 then :
   13322   printf %s "(cached) " >&6
   13323 else $as_nop
   13324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13325 /* end confdefs.h.  */
   13326 int i;
   13327 _ACEOF
   13328 if ac_fn_c_try_compile "$LINENO"
   13329 then :
   13330   xorg_cv_cc_flag_unused_command_line_argument=yes
   13331 else $as_nop
   13332   xorg_cv_cc_flag_unused_command_line_argument=no
   13333 fi
   13334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13335 fi
   13336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13337 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13338 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13339 	CFLAGS="$xorg_testset_save_CFLAGS"
   13340 fi
   13341 
   13342 found="no"
   13343 
   13344 	if test $found = "no" ; then
   13345 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13346 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13347 		fi
   13348 
   13349 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13350 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13351 		fi
   13352 
   13353 		CFLAGS="$CFLAGS -Wpointer-arith"
   13354 
   13355 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13356 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13357 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13358 		if eval test \${$cacheid+y}
   13359 then :
   13360   printf %s "(cached) " >&6
   13361 else $as_nop
   13362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13363 /* end confdefs.h.  */
   13364 int i;
   13365 int
   13366 main (void)
   13367 {
   13368 
   13369   ;
   13370   return 0;
   13371 }
   13372 _ACEOF
   13373 if ac_fn_c_try_link "$LINENO"
   13374 then :
   13375   eval $cacheid=yes
   13376 else $as_nop
   13377   eval $cacheid=no
   13378 fi
   13379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13380     conftest$ac_exeext conftest.$ac_ext
   13381 fi
   13382 
   13383 
   13384 		CFLAGS="$xorg_testset_save_CFLAGS"
   13385 
   13386 		eval supported=\$$cacheid
   13387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13388 printf "%s\n" "$supported" >&6; }
   13389 		if test "$supported" = "yes" ; then
   13390 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13391 			found="yes"
   13392 		fi
   13393 	fi
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409 xorg_testset_save_CFLAGS="$CFLAGS"
   13410 
   13411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13413 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13414 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13415 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13416 then :
   13417   printf %s "(cached) " >&6
   13418 else $as_nop
   13419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13420 /* end confdefs.h.  */
   13421 int i;
   13422 _ACEOF
   13423 if ac_fn_c_try_compile "$LINENO"
   13424 then :
   13425   xorg_cv_cc_flag_unknown_warning_option=yes
   13426 else $as_nop
   13427   xorg_cv_cc_flag_unknown_warning_option=no
   13428 fi
   13429 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13430 fi
   13431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13432 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13433 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13434 	CFLAGS="$xorg_testset_save_CFLAGS"
   13435 fi
   13436 
   13437 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13438 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13439 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13440 	fi
   13441 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13442 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13443 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13444 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13445 then :
   13446   printf %s "(cached) " >&6
   13447 else $as_nop
   13448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13449 /* end confdefs.h.  */
   13450 int i;
   13451 _ACEOF
   13452 if ac_fn_c_try_compile "$LINENO"
   13453 then :
   13454   xorg_cv_cc_flag_unused_command_line_argument=yes
   13455 else $as_nop
   13456   xorg_cv_cc_flag_unused_command_line_argument=no
   13457 fi
   13458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13459 fi
   13460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13461 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13462 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13463 	CFLAGS="$xorg_testset_save_CFLAGS"
   13464 fi
   13465 
   13466 found="no"
   13467 
   13468 	if test $found = "no" ; then
   13469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13471 		fi
   13472 
   13473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13475 		fi
   13476 
   13477 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13478 
   13479 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13480 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13481 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13482 		if eval test \${$cacheid+y}
   13483 then :
   13484   printf %s "(cached) " >&6
   13485 else $as_nop
   13486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13487 /* end confdefs.h.  */
   13488 int i;
   13489 int
   13490 main (void)
   13491 {
   13492 
   13493   ;
   13494   return 0;
   13495 }
   13496 _ACEOF
   13497 if ac_fn_c_try_link "$LINENO"
   13498 then :
   13499   eval $cacheid=yes
   13500 else $as_nop
   13501   eval $cacheid=no
   13502 fi
   13503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13504     conftest$ac_exeext conftest.$ac_ext
   13505 fi
   13506 
   13507 
   13508 		CFLAGS="$xorg_testset_save_CFLAGS"
   13509 
   13510 		eval supported=\$$cacheid
   13511 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13512 printf "%s\n" "$supported" >&6; }
   13513 		if test "$supported" = "yes" ; then
   13514 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13515 			found="yes"
   13516 		fi
   13517 	fi
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 
   13532 
   13533 xorg_testset_save_CFLAGS="$CFLAGS"
   13534 
   13535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13537 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13538 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13539 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13540 then :
   13541   printf %s "(cached) " >&6
   13542 else $as_nop
   13543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13544 /* end confdefs.h.  */
   13545 int i;
   13546 _ACEOF
   13547 if ac_fn_c_try_compile "$LINENO"
   13548 then :
   13549   xorg_cv_cc_flag_unknown_warning_option=yes
   13550 else $as_nop
   13551   xorg_cv_cc_flag_unknown_warning_option=no
   13552 fi
   13553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13554 fi
   13555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13556 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13557 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13558 	CFLAGS="$xorg_testset_save_CFLAGS"
   13559 fi
   13560 
   13561 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13562 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13564 	fi
   13565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13566 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13567 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13568 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13569 then :
   13570   printf %s "(cached) " >&6
   13571 else $as_nop
   13572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13573 /* end confdefs.h.  */
   13574 int i;
   13575 _ACEOF
   13576 if ac_fn_c_try_compile "$LINENO"
   13577 then :
   13578   xorg_cv_cc_flag_unused_command_line_argument=yes
   13579 else $as_nop
   13580   xorg_cv_cc_flag_unused_command_line_argument=no
   13581 fi
   13582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13583 fi
   13584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13585 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13586 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13587 	CFLAGS="$xorg_testset_save_CFLAGS"
   13588 fi
   13589 
   13590 found="no"
   13591 
   13592 	if test $found = "no" ; then
   13593 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13594 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13595 		fi
   13596 
   13597 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13598 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13599 		fi
   13600 
   13601 		CFLAGS="$CFLAGS -Wformat=2"
   13602 
   13603 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13604 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13605 		cacheid=xorg_cv_cc_flag__Wformat_2
   13606 		if eval test \${$cacheid+y}
   13607 then :
   13608   printf %s "(cached) " >&6
   13609 else $as_nop
   13610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13611 /* end confdefs.h.  */
   13612 int i;
   13613 int
   13614 main (void)
   13615 {
   13616 
   13617   ;
   13618   return 0;
   13619 }
   13620 _ACEOF
   13621 if ac_fn_c_try_link "$LINENO"
   13622 then :
   13623   eval $cacheid=yes
   13624 else $as_nop
   13625   eval $cacheid=no
   13626 fi
   13627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13628     conftest$ac_exeext conftest.$ac_ext
   13629 fi
   13630 
   13631 
   13632 		CFLAGS="$xorg_testset_save_CFLAGS"
   13633 
   13634 		eval supported=\$$cacheid
   13635 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13636 printf "%s\n" "$supported" >&6; }
   13637 		if test "$supported" = "yes" ; then
   13638 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13639 			found="yes"
   13640 		fi
   13641 	fi
   13642 
   13643 	if test $found = "no" ; then
   13644 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13645 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13646 		fi
   13647 
   13648 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13649 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13650 		fi
   13651 
   13652 		CFLAGS="$CFLAGS -Wformat"
   13653 
   13654 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13655 printf %s "checking if $CC supports -Wformat... " >&6; }
   13656 		cacheid=xorg_cv_cc_flag__Wformat
   13657 		if eval test \${$cacheid+y}
   13658 then :
   13659   printf %s "(cached) " >&6
   13660 else $as_nop
   13661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13662 /* end confdefs.h.  */
   13663 int i;
   13664 int
   13665 main (void)
   13666 {
   13667 
   13668   ;
   13669   return 0;
   13670 }
   13671 _ACEOF
   13672 if ac_fn_c_try_link "$LINENO"
   13673 then :
   13674   eval $cacheid=yes
   13675 else $as_nop
   13676   eval $cacheid=no
   13677 fi
   13678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13679     conftest$ac_exeext conftest.$ac_ext
   13680 fi
   13681 
   13682 
   13683 		CFLAGS="$xorg_testset_save_CFLAGS"
   13684 
   13685 		eval supported=\$$cacheid
   13686 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13687 printf "%s\n" "$supported" >&6; }
   13688 		if test "$supported" = "yes" ; then
   13689 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13690 			found="yes"
   13691 		fi
   13692 	fi
   13693 
   13694 
   13695 
   13696 
   13697 
   13698 
   13699 
   13700 
   13701 
   13702 
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 xorg_testset_save_CFLAGS="$CFLAGS"
   13711 
   13712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13714 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13715 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13716 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13717 then :
   13718   printf %s "(cached) " >&6
   13719 else $as_nop
   13720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13721 /* end confdefs.h.  */
   13722 int i;
   13723 _ACEOF
   13724 if ac_fn_c_try_compile "$LINENO"
   13725 then :
   13726   xorg_cv_cc_flag_unknown_warning_option=yes
   13727 else $as_nop
   13728   xorg_cv_cc_flag_unknown_warning_option=no
   13729 fi
   13730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13731 fi
   13732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13733 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13734 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13735 	CFLAGS="$xorg_testset_save_CFLAGS"
   13736 fi
   13737 
   13738 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13739 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13740 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13741 	fi
   13742 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13744 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13745 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13746 then :
   13747   printf %s "(cached) " >&6
   13748 else $as_nop
   13749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13750 /* end confdefs.h.  */
   13751 int i;
   13752 _ACEOF
   13753 if ac_fn_c_try_compile "$LINENO"
   13754 then :
   13755   xorg_cv_cc_flag_unused_command_line_argument=yes
   13756 else $as_nop
   13757   xorg_cv_cc_flag_unused_command_line_argument=no
   13758 fi
   13759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13760 fi
   13761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13762 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13764 	CFLAGS="$xorg_testset_save_CFLAGS"
   13765 fi
   13766 
   13767 found="no"
   13768 
   13769 	if test $found = "no" ; then
   13770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13772 		fi
   13773 
   13774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13776 		fi
   13777 
   13778 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13779 
   13780 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13781 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13782 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13783 		if eval test \${$cacheid+y}
   13784 then :
   13785   printf %s "(cached) " >&6
   13786 else $as_nop
   13787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13788 /* end confdefs.h.  */
   13789 int i;
   13790 int
   13791 main (void)
   13792 {
   13793 
   13794   ;
   13795   return 0;
   13796 }
   13797 _ACEOF
   13798 if ac_fn_c_try_link "$LINENO"
   13799 then :
   13800   eval $cacheid=yes
   13801 else $as_nop
   13802   eval $cacheid=no
   13803 fi
   13804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13805     conftest$ac_exeext conftest.$ac_ext
   13806 fi
   13807 
   13808 
   13809 		CFLAGS="$xorg_testset_save_CFLAGS"
   13810 
   13811 		eval supported=\$$cacheid
   13812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13813 printf "%s\n" "$supported" >&6; }
   13814 		if test "$supported" = "yes" ; then
   13815 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13816 			found="yes"
   13817 		fi
   13818 	fi
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 
   13830 
   13831 
   13832 
   13833 
   13834 xorg_testset_save_CFLAGS="$CFLAGS"
   13835 
   13836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13838 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13839 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13840 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13841 then :
   13842   printf %s "(cached) " >&6
   13843 else $as_nop
   13844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13845 /* end confdefs.h.  */
   13846 int i;
   13847 _ACEOF
   13848 if ac_fn_c_try_compile "$LINENO"
   13849 then :
   13850   xorg_cv_cc_flag_unknown_warning_option=yes
   13851 else $as_nop
   13852   xorg_cv_cc_flag_unknown_warning_option=no
   13853 fi
   13854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13855 fi
   13856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13857 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13858 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13859 	CFLAGS="$xorg_testset_save_CFLAGS"
   13860 fi
   13861 
   13862 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13863 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13864 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13865 	fi
   13866 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13867 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13868 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13869 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13870 then :
   13871   printf %s "(cached) " >&6
   13872 else $as_nop
   13873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13874 /* end confdefs.h.  */
   13875 int i;
   13876 _ACEOF
   13877 if ac_fn_c_try_compile "$LINENO"
   13878 then :
   13879   xorg_cv_cc_flag_unused_command_line_argument=yes
   13880 else $as_nop
   13881   xorg_cv_cc_flag_unused_command_line_argument=no
   13882 fi
   13883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13884 fi
   13885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13886 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13887 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13888 	CFLAGS="$xorg_testset_save_CFLAGS"
   13889 fi
   13890 
   13891 found="no"
   13892 
   13893 	if test $found = "no" ; then
   13894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13896 		fi
   13897 
   13898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13900 		fi
   13901 
   13902 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13903 
   13904 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13905 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13906 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13907 		if eval test \${$cacheid+y}
   13908 then :
   13909   printf %s "(cached) " >&6
   13910 else $as_nop
   13911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13912 /* end confdefs.h.  */
   13913 int i;
   13914 int
   13915 main (void)
   13916 {
   13917 
   13918   ;
   13919   return 0;
   13920 }
   13921 _ACEOF
   13922 if ac_fn_c_try_link "$LINENO"
   13923 then :
   13924   eval $cacheid=yes
   13925 else $as_nop
   13926   eval $cacheid=no
   13927 fi
   13928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13929     conftest$ac_exeext conftest.$ac_ext
   13930 fi
   13931 
   13932 
   13933 		CFLAGS="$xorg_testset_save_CFLAGS"
   13934 
   13935 		eval supported=\$$cacheid
   13936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13937 printf "%s\n" "$supported" >&6; }
   13938 		if test "$supported" = "yes" ; then
   13939 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13940 			found="yes"
   13941 		fi
   13942 	fi
   13943 
   13944 
   13945 
   13946 
   13947 
   13948 
   13949 
   13950 
   13951 
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 xorg_testset_save_CFLAGS="$CFLAGS"
   13959 
   13960 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13961 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13962 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13963 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13964 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13965 then :
   13966   printf %s "(cached) " >&6
   13967 else $as_nop
   13968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13969 /* end confdefs.h.  */
   13970 int i;
   13971 _ACEOF
   13972 if ac_fn_c_try_compile "$LINENO"
   13973 then :
   13974   xorg_cv_cc_flag_unknown_warning_option=yes
   13975 else $as_nop
   13976   xorg_cv_cc_flag_unknown_warning_option=no
   13977 fi
   13978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13979 fi
   13980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13981 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13983 	CFLAGS="$xorg_testset_save_CFLAGS"
   13984 fi
   13985 
   13986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13989 	fi
   13990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13991 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13992 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13993 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13994 then :
   13995   printf %s "(cached) " >&6
   13996 else $as_nop
   13997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13998 /* end confdefs.h.  */
   13999 int i;
   14000 _ACEOF
   14001 if ac_fn_c_try_compile "$LINENO"
   14002 then :
   14003   xorg_cv_cc_flag_unused_command_line_argument=yes
   14004 else $as_nop
   14005   xorg_cv_cc_flag_unused_command_line_argument=no
   14006 fi
   14007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14008 fi
   14009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14010 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14011 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14012 	CFLAGS="$xorg_testset_save_CFLAGS"
   14013 fi
   14014 
   14015 found="no"
   14016 
   14017 	if test $found = "no" ; then
   14018 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14019 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14020 		fi
   14021 
   14022 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14023 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14024 		fi
   14025 
   14026 		CFLAGS="$CFLAGS -Wnested-externs"
   14027 
   14028 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14029 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14030 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14031 		if eval test \${$cacheid+y}
   14032 then :
   14033   printf %s "(cached) " >&6
   14034 else $as_nop
   14035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14036 /* end confdefs.h.  */
   14037 int i;
   14038 int
   14039 main (void)
   14040 {
   14041 
   14042   ;
   14043   return 0;
   14044 }
   14045 _ACEOF
   14046 if ac_fn_c_try_link "$LINENO"
   14047 then :
   14048   eval $cacheid=yes
   14049 else $as_nop
   14050   eval $cacheid=no
   14051 fi
   14052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14053     conftest$ac_exeext conftest.$ac_ext
   14054 fi
   14055 
   14056 
   14057 		CFLAGS="$xorg_testset_save_CFLAGS"
   14058 
   14059 		eval supported=\$$cacheid
   14060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14061 printf "%s\n" "$supported" >&6; }
   14062 		if test "$supported" = "yes" ; then
   14063 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14064 			found="yes"
   14065 		fi
   14066 	fi
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 xorg_testset_save_CFLAGS="$CFLAGS"
   14083 
   14084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14086 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14087 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14088 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14089 then :
   14090   printf %s "(cached) " >&6
   14091 else $as_nop
   14092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14093 /* end confdefs.h.  */
   14094 int i;
   14095 _ACEOF
   14096 if ac_fn_c_try_compile "$LINENO"
   14097 then :
   14098   xorg_cv_cc_flag_unknown_warning_option=yes
   14099 else $as_nop
   14100   xorg_cv_cc_flag_unknown_warning_option=no
   14101 fi
   14102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14103 fi
   14104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14105 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14106 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14107 	CFLAGS="$xorg_testset_save_CFLAGS"
   14108 fi
   14109 
   14110 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14111 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14112 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14113 	fi
   14114 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14115 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14116 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14117 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14118 then :
   14119   printf %s "(cached) " >&6
   14120 else $as_nop
   14121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14122 /* end confdefs.h.  */
   14123 int i;
   14124 _ACEOF
   14125 if ac_fn_c_try_compile "$LINENO"
   14126 then :
   14127   xorg_cv_cc_flag_unused_command_line_argument=yes
   14128 else $as_nop
   14129   xorg_cv_cc_flag_unused_command_line_argument=no
   14130 fi
   14131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14132 fi
   14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14134 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14136 	CFLAGS="$xorg_testset_save_CFLAGS"
   14137 fi
   14138 
   14139 found="no"
   14140 
   14141 	if test $found = "no" ; then
   14142 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14144 		fi
   14145 
   14146 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14148 		fi
   14149 
   14150 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14151 
   14152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14153 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14154 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14155 		if eval test \${$cacheid+y}
   14156 then :
   14157   printf %s "(cached) " >&6
   14158 else $as_nop
   14159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14160 /* end confdefs.h.  */
   14161 int i;
   14162 int
   14163 main (void)
   14164 {
   14165 
   14166   ;
   14167   return 0;
   14168 }
   14169 _ACEOF
   14170 if ac_fn_c_try_link "$LINENO"
   14171 then :
   14172   eval $cacheid=yes
   14173 else $as_nop
   14174   eval $cacheid=no
   14175 fi
   14176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14177     conftest$ac_exeext conftest.$ac_ext
   14178 fi
   14179 
   14180 
   14181 		CFLAGS="$xorg_testset_save_CFLAGS"
   14182 
   14183 		eval supported=\$$cacheid
   14184 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14185 printf "%s\n" "$supported" >&6; }
   14186 		if test "$supported" = "yes" ; then
   14187 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14188 			found="yes"
   14189 		fi
   14190 	fi
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 xorg_testset_save_CFLAGS="$CFLAGS"
   14207 
   14208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14211 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14212 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14213 then :
   14214   printf %s "(cached) " >&6
   14215 else $as_nop
   14216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14217 /* end confdefs.h.  */
   14218 int i;
   14219 _ACEOF
   14220 if ac_fn_c_try_compile "$LINENO"
   14221 then :
   14222   xorg_cv_cc_flag_unknown_warning_option=yes
   14223 else $as_nop
   14224   xorg_cv_cc_flag_unknown_warning_option=no
   14225 fi
   14226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14227 fi
   14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14229 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14231 	CFLAGS="$xorg_testset_save_CFLAGS"
   14232 fi
   14233 
   14234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14237 	fi
   14238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14239 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14240 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14241 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14242 then :
   14243   printf %s "(cached) " >&6
   14244 else $as_nop
   14245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14246 /* end confdefs.h.  */
   14247 int i;
   14248 _ACEOF
   14249 if ac_fn_c_try_compile "$LINENO"
   14250 then :
   14251   xorg_cv_cc_flag_unused_command_line_argument=yes
   14252 else $as_nop
   14253   xorg_cv_cc_flag_unused_command_line_argument=no
   14254 fi
   14255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14256 fi
   14257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14258 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14260 	CFLAGS="$xorg_testset_save_CFLAGS"
   14261 fi
   14262 
   14263 found="no"
   14264 
   14265 	if test $found = "no" ; then
   14266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14268 		fi
   14269 
   14270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14272 		fi
   14273 
   14274 		CFLAGS="$CFLAGS -Wold-style-definition"
   14275 
   14276 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14277 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14278 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14279 		if eval test \${$cacheid+y}
   14280 then :
   14281   printf %s "(cached) " >&6
   14282 else $as_nop
   14283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14284 /* end confdefs.h.  */
   14285 int i;
   14286 int
   14287 main (void)
   14288 {
   14289 
   14290   ;
   14291   return 0;
   14292 }
   14293 _ACEOF
   14294 if ac_fn_c_try_link "$LINENO"
   14295 then :
   14296   eval $cacheid=yes
   14297 else $as_nop
   14298   eval $cacheid=no
   14299 fi
   14300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14301     conftest$ac_exeext conftest.$ac_ext
   14302 fi
   14303 
   14304 
   14305 		CFLAGS="$xorg_testset_save_CFLAGS"
   14306 
   14307 		eval supported=\$$cacheid
   14308 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14309 printf "%s\n" "$supported" >&6; }
   14310 		if test "$supported" = "yes" ; then
   14311 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14312 			found="yes"
   14313 		fi
   14314 	fi
   14315 
   14316 	if test $found = "no" ; then
   14317 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14319 		fi
   14320 
   14321 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14323 		fi
   14324 
   14325 		CFLAGS="$CFLAGS -fd"
   14326 
   14327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14328 printf %s "checking if $CC supports -fd... " >&6; }
   14329 		cacheid=xorg_cv_cc_flag__fd
   14330 		if eval test \${$cacheid+y}
   14331 then :
   14332   printf %s "(cached) " >&6
   14333 else $as_nop
   14334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14335 /* end confdefs.h.  */
   14336 int i;
   14337 int
   14338 main (void)
   14339 {
   14340 
   14341   ;
   14342   return 0;
   14343 }
   14344 _ACEOF
   14345 if ac_fn_c_try_link "$LINENO"
   14346 then :
   14347   eval $cacheid=yes
   14348 else $as_nop
   14349   eval $cacheid=no
   14350 fi
   14351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14352     conftest$ac_exeext conftest.$ac_ext
   14353 fi
   14354 
   14355 
   14356 		CFLAGS="$xorg_testset_save_CFLAGS"
   14357 
   14358 		eval supported=\$$cacheid
   14359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14360 printf "%s\n" "$supported" >&6; }
   14361 		if test "$supported" = "yes" ; then
   14362 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14363 			found="yes"
   14364 		fi
   14365 	fi
   14366 
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 xorg_testset_save_CFLAGS="$CFLAGS"
   14382 
   14383 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14384 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14385 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14386 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14387 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14388 then :
   14389   printf %s "(cached) " >&6
   14390 else $as_nop
   14391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14392 /* end confdefs.h.  */
   14393 int i;
   14394 _ACEOF
   14395 if ac_fn_c_try_compile "$LINENO"
   14396 then :
   14397   xorg_cv_cc_flag_unknown_warning_option=yes
   14398 else $as_nop
   14399   xorg_cv_cc_flag_unknown_warning_option=no
   14400 fi
   14401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14402 fi
   14403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14404 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14406 	CFLAGS="$xorg_testset_save_CFLAGS"
   14407 fi
   14408 
   14409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14412 	fi
   14413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14415 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14416 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14417 then :
   14418   printf %s "(cached) " >&6
   14419 else $as_nop
   14420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14421 /* end confdefs.h.  */
   14422 int i;
   14423 _ACEOF
   14424 if ac_fn_c_try_compile "$LINENO"
   14425 then :
   14426   xorg_cv_cc_flag_unused_command_line_argument=yes
   14427 else $as_nop
   14428   xorg_cv_cc_flag_unused_command_line_argument=no
   14429 fi
   14430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14431 fi
   14432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14433 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14434 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14435 	CFLAGS="$xorg_testset_save_CFLAGS"
   14436 fi
   14437 
   14438 found="no"
   14439 
   14440 	if test $found = "no" ; then
   14441 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14443 		fi
   14444 
   14445 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14447 		fi
   14448 
   14449 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14450 
   14451 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14452 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14453 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14454 		if eval test \${$cacheid+y}
   14455 then :
   14456   printf %s "(cached) " >&6
   14457 else $as_nop
   14458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14459 /* end confdefs.h.  */
   14460 int i;
   14461 int
   14462 main (void)
   14463 {
   14464 
   14465   ;
   14466   return 0;
   14467 }
   14468 _ACEOF
   14469 if ac_fn_c_try_link "$LINENO"
   14470 then :
   14471   eval $cacheid=yes
   14472 else $as_nop
   14473   eval $cacheid=no
   14474 fi
   14475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14476     conftest$ac_exeext conftest.$ac_ext
   14477 fi
   14478 
   14479 
   14480 		CFLAGS="$xorg_testset_save_CFLAGS"
   14481 
   14482 		eval supported=\$$cacheid
   14483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14484 printf "%s\n" "$supported" >&6; }
   14485 		if test "$supported" = "yes" ; then
   14486 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14487 			found="yes"
   14488 		fi
   14489 	fi
   14490 
   14491 
   14492 
   14493 
   14494 
   14495 # This chunk adds additional warnings that could catch undesired effects.
   14496 
   14497 
   14498 
   14499 
   14500 
   14501 
   14502 
   14503 
   14504 
   14505 
   14506 
   14507 
   14508 
   14509 xorg_testset_save_CFLAGS="$CFLAGS"
   14510 
   14511 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14512 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14513 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14514 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14515 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14516 then :
   14517   printf %s "(cached) " >&6
   14518 else $as_nop
   14519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14520 /* end confdefs.h.  */
   14521 int i;
   14522 _ACEOF
   14523 if ac_fn_c_try_compile "$LINENO"
   14524 then :
   14525   xorg_cv_cc_flag_unknown_warning_option=yes
   14526 else $as_nop
   14527   xorg_cv_cc_flag_unknown_warning_option=no
   14528 fi
   14529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14530 fi
   14531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14532 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14534 	CFLAGS="$xorg_testset_save_CFLAGS"
   14535 fi
   14536 
   14537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14540 	fi
   14541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14542 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14543 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14544 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14545 then :
   14546   printf %s "(cached) " >&6
   14547 else $as_nop
   14548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14549 /* end confdefs.h.  */
   14550 int i;
   14551 _ACEOF
   14552 if ac_fn_c_try_compile "$LINENO"
   14553 then :
   14554   xorg_cv_cc_flag_unused_command_line_argument=yes
   14555 else $as_nop
   14556   xorg_cv_cc_flag_unused_command_line_argument=no
   14557 fi
   14558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14559 fi
   14560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14561 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14563 	CFLAGS="$xorg_testset_save_CFLAGS"
   14564 fi
   14565 
   14566 found="no"
   14567 
   14568 	if test $found = "no" ; then
   14569 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14571 		fi
   14572 
   14573 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14575 		fi
   14576 
   14577 		CFLAGS="$CFLAGS -Wunused"
   14578 
   14579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14580 printf %s "checking if $CC supports -Wunused... " >&6; }
   14581 		cacheid=xorg_cv_cc_flag__Wunused
   14582 		if eval test \${$cacheid+y}
   14583 then :
   14584   printf %s "(cached) " >&6
   14585 else $as_nop
   14586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14587 /* end confdefs.h.  */
   14588 int i;
   14589 int
   14590 main (void)
   14591 {
   14592 
   14593   ;
   14594   return 0;
   14595 }
   14596 _ACEOF
   14597 if ac_fn_c_try_link "$LINENO"
   14598 then :
   14599   eval $cacheid=yes
   14600 else $as_nop
   14601   eval $cacheid=no
   14602 fi
   14603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14604     conftest$ac_exeext conftest.$ac_ext
   14605 fi
   14606 
   14607 
   14608 		CFLAGS="$xorg_testset_save_CFLAGS"
   14609 
   14610 		eval supported=\$$cacheid
   14611 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14612 printf "%s\n" "$supported" >&6; }
   14613 		if test "$supported" = "yes" ; then
   14614 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14615 			found="yes"
   14616 		fi
   14617 	fi
   14618 
   14619 
   14620 
   14621 
   14622 
   14623 
   14624 
   14625 
   14626 
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 xorg_testset_save_CFLAGS="$CFLAGS"
   14634 
   14635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14636 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14637 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14638 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14639 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14640 then :
   14641   printf %s "(cached) " >&6
   14642 else $as_nop
   14643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14644 /* end confdefs.h.  */
   14645 int i;
   14646 _ACEOF
   14647 if ac_fn_c_try_compile "$LINENO"
   14648 then :
   14649   xorg_cv_cc_flag_unknown_warning_option=yes
   14650 else $as_nop
   14651   xorg_cv_cc_flag_unknown_warning_option=no
   14652 fi
   14653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14654 fi
   14655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14656 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14657 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14658 	CFLAGS="$xorg_testset_save_CFLAGS"
   14659 fi
   14660 
   14661 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14662 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14663 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14664 	fi
   14665 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14666 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14667 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14668 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14669 then :
   14670   printf %s "(cached) " >&6
   14671 else $as_nop
   14672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14673 /* end confdefs.h.  */
   14674 int i;
   14675 _ACEOF
   14676 if ac_fn_c_try_compile "$LINENO"
   14677 then :
   14678   xorg_cv_cc_flag_unused_command_line_argument=yes
   14679 else $as_nop
   14680   xorg_cv_cc_flag_unused_command_line_argument=no
   14681 fi
   14682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14683 fi
   14684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14685 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14686 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14687 	CFLAGS="$xorg_testset_save_CFLAGS"
   14688 fi
   14689 
   14690 found="no"
   14691 
   14692 	if test $found = "no" ; then
   14693 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14694 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14695 		fi
   14696 
   14697 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14698 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14699 		fi
   14700 
   14701 		CFLAGS="$CFLAGS -Wuninitialized"
   14702 
   14703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14704 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14705 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14706 		if eval test \${$cacheid+y}
   14707 then :
   14708   printf %s "(cached) " >&6
   14709 else $as_nop
   14710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14711 /* end confdefs.h.  */
   14712 int i;
   14713 int
   14714 main (void)
   14715 {
   14716 
   14717   ;
   14718   return 0;
   14719 }
   14720 _ACEOF
   14721 if ac_fn_c_try_link "$LINENO"
   14722 then :
   14723   eval $cacheid=yes
   14724 else $as_nop
   14725   eval $cacheid=no
   14726 fi
   14727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14728     conftest$ac_exeext conftest.$ac_ext
   14729 fi
   14730 
   14731 
   14732 		CFLAGS="$xorg_testset_save_CFLAGS"
   14733 
   14734 		eval supported=\$$cacheid
   14735 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14736 printf "%s\n" "$supported" >&6; }
   14737 		if test "$supported" = "yes" ; then
   14738 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14739 			found="yes"
   14740 		fi
   14741 	fi
   14742 
   14743 
   14744 
   14745 
   14746 
   14747 
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757 xorg_testset_save_CFLAGS="$CFLAGS"
   14758 
   14759 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14760 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14761 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14762 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14763 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14764 then :
   14765   printf %s "(cached) " >&6
   14766 else $as_nop
   14767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14768 /* end confdefs.h.  */
   14769 int i;
   14770 _ACEOF
   14771 if ac_fn_c_try_compile "$LINENO"
   14772 then :
   14773   xorg_cv_cc_flag_unknown_warning_option=yes
   14774 else $as_nop
   14775   xorg_cv_cc_flag_unknown_warning_option=no
   14776 fi
   14777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14778 fi
   14779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14780 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14781 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14782 	CFLAGS="$xorg_testset_save_CFLAGS"
   14783 fi
   14784 
   14785 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14786 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14787 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14788 	fi
   14789 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14790 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14791 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14792 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14793 then :
   14794   printf %s "(cached) " >&6
   14795 else $as_nop
   14796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14797 /* end confdefs.h.  */
   14798 int i;
   14799 _ACEOF
   14800 if ac_fn_c_try_compile "$LINENO"
   14801 then :
   14802   xorg_cv_cc_flag_unused_command_line_argument=yes
   14803 else $as_nop
   14804   xorg_cv_cc_flag_unused_command_line_argument=no
   14805 fi
   14806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14807 fi
   14808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14809 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14811 	CFLAGS="$xorg_testset_save_CFLAGS"
   14812 fi
   14813 
   14814 found="no"
   14815 
   14816 	if test $found = "no" ; then
   14817 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14819 		fi
   14820 
   14821 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14823 		fi
   14824 
   14825 		CFLAGS="$CFLAGS -Wshadow"
   14826 
   14827 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14828 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14829 		cacheid=xorg_cv_cc_flag__Wshadow
   14830 		if eval test \${$cacheid+y}
   14831 then :
   14832   printf %s "(cached) " >&6
   14833 else $as_nop
   14834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14835 /* end confdefs.h.  */
   14836 int i;
   14837 int
   14838 main (void)
   14839 {
   14840 
   14841   ;
   14842   return 0;
   14843 }
   14844 _ACEOF
   14845 if ac_fn_c_try_link "$LINENO"
   14846 then :
   14847   eval $cacheid=yes
   14848 else $as_nop
   14849   eval $cacheid=no
   14850 fi
   14851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14852     conftest$ac_exeext conftest.$ac_ext
   14853 fi
   14854 
   14855 
   14856 		CFLAGS="$xorg_testset_save_CFLAGS"
   14857 
   14858 		eval supported=\$$cacheid
   14859 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14860 printf "%s\n" "$supported" >&6; }
   14861 		if test "$supported" = "yes" ; then
   14862 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14863 			found="yes"
   14864 		fi
   14865 	fi
   14866 
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 xorg_testset_save_CFLAGS="$CFLAGS"
   14882 
   14883 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14885 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14886 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14887 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14888 then :
   14889   printf %s "(cached) " >&6
   14890 else $as_nop
   14891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14892 /* end confdefs.h.  */
   14893 int i;
   14894 _ACEOF
   14895 if ac_fn_c_try_compile "$LINENO"
   14896 then :
   14897   xorg_cv_cc_flag_unknown_warning_option=yes
   14898 else $as_nop
   14899   xorg_cv_cc_flag_unknown_warning_option=no
   14900 fi
   14901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14902 fi
   14903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14904 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14905 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14906 	CFLAGS="$xorg_testset_save_CFLAGS"
   14907 fi
   14908 
   14909 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14910 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14912 	fi
   14913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14914 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14915 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14916 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14917 then :
   14918   printf %s "(cached) " >&6
   14919 else $as_nop
   14920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14921 /* end confdefs.h.  */
   14922 int i;
   14923 _ACEOF
   14924 if ac_fn_c_try_compile "$LINENO"
   14925 then :
   14926   xorg_cv_cc_flag_unused_command_line_argument=yes
   14927 else $as_nop
   14928   xorg_cv_cc_flag_unused_command_line_argument=no
   14929 fi
   14930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14931 fi
   14932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14933 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14935 	CFLAGS="$xorg_testset_save_CFLAGS"
   14936 fi
   14937 
   14938 found="no"
   14939 
   14940 	if test $found = "no" ; then
   14941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14943 		fi
   14944 
   14945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14947 		fi
   14948 
   14949 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14950 
   14951 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14952 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14953 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14954 		if eval test \${$cacheid+y}
   14955 then :
   14956   printf %s "(cached) " >&6
   14957 else $as_nop
   14958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14959 /* end confdefs.h.  */
   14960 int i;
   14961 int
   14962 main (void)
   14963 {
   14964 
   14965   ;
   14966   return 0;
   14967 }
   14968 _ACEOF
   14969 if ac_fn_c_try_link "$LINENO"
   14970 then :
   14971   eval $cacheid=yes
   14972 else $as_nop
   14973   eval $cacheid=no
   14974 fi
   14975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14976     conftest$ac_exeext conftest.$ac_ext
   14977 fi
   14978 
   14979 
   14980 		CFLAGS="$xorg_testset_save_CFLAGS"
   14981 
   14982 		eval supported=\$$cacheid
   14983 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14984 printf "%s\n" "$supported" >&6; }
   14985 		if test "$supported" = "yes" ; then
   14986 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14987 			found="yes"
   14988 		fi
   14989 	fi
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 xorg_testset_save_CFLAGS="$CFLAGS"
   15006 
   15007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15009 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15010 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15011 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15012 then :
   15013   printf %s "(cached) " >&6
   15014 else $as_nop
   15015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15016 /* end confdefs.h.  */
   15017 int i;
   15018 _ACEOF
   15019 if ac_fn_c_try_compile "$LINENO"
   15020 then :
   15021   xorg_cv_cc_flag_unknown_warning_option=yes
   15022 else $as_nop
   15023   xorg_cv_cc_flag_unknown_warning_option=no
   15024 fi
   15025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15026 fi
   15027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15028 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15030 	CFLAGS="$xorg_testset_save_CFLAGS"
   15031 fi
   15032 
   15033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15036 	fi
   15037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15038 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15039 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15040 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15041 then :
   15042   printf %s "(cached) " >&6
   15043 else $as_nop
   15044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15045 /* end confdefs.h.  */
   15046 int i;
   15047 _ACEOF
   15048 if ac_fn_c_try_compile "$LINENO"
   15049 then :
   15050   xorg_cv_cc_flag_unused_command_line_argument=yes
   15051 else $as_nop
   15052   xorg_cv_cc_flag_unused_command_line_argument=no
   15053 fi
   15054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15055 fi
   15056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15057 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15059 	CFLAGS="$xorg_testset_save_CFLAGS"
   15060 fi
   15061 
   15062 found="no"
   15063 
   15064 	if test $found = "no" ; then
   15065 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15067 		fi
   15068 
   15069 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15071 		fi
   15072 
   15073 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15074 
   15075 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15076 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15077 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15078 		if eval test \${$cacheid+y}
   15079 then :
   15080   printf %s "(cached) " >&6
   15081 else $as_nop
   15082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15083 /* end confdefs.h.  */
   15084 int i;
   15085 int
   15086 main (void)
   15087 {
   15088 
   15089   ;
   15090   return 0;
   15091 }
   15092 _ACEOF
   15093 if ac_fn_c_try_link "$LINENO"
   15094 then :
   15095   eval $cacheid=yes
   15096 else $as_nop
   15097   eval $cacheid=no
   15098 fi
   15099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15100     conftest$ac_exeext conftest.$ac_ext
   15101 fi
   15102 
   15103 
   15104 		CFLAGS="$xorg_testset_save_CFLAGS"
   15105 
   15106 		eval supported=\$$cacheid
   15107 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15108 printf "%s\n" "$supported" >&6; }
   15109 		if test "$supported" = "yes" ; then
   15110 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15111 			found="yes"
   15112 		fi
   15113 	fi
   15114 
   15115 
   15116 
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 
   15128 
   15129 xorg_testset_save_CFLAGS="$CFLAGS"
   15130 
   15131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15133 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15134 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15135 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15136 then :
   15137   printf %s "(cached) " >&6
   15138 else $as_nop
   15139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15140 /* end confdefs.h.  */
   15141 int i;
   15142 _ACEOF
   15143 if ac_fn_c_try_compile "$LINENO"
   15144 then :
   15145   xorg_cv_cc_flag_unknown_warning_option=yes
   15146 else $as_nop
   15147   xorg_cv_cc_flag_unknown_warning_option=no
   15148 fi
   15149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15150 fi
   15151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15152 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15154 	CFLAGS="$xorg_testset_save_CFLAGS"
   15155 fi
   15156 
   15157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15160 	fi
   15161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15162 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15163 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15164 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15165 then :
   15166   printf %s "(cached) " >&6
   15167 else $as_nop
   15168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15169 /* end confdefs.h.  */
   15170 int i;
   15171 _ACEOF
   15172 if ac_fn_c_try_compile "$LINENO"
   15173 then :
   15174   xorg_cv_cc_flag_unused_command_line_argument=yes
   15175 else $as_nop
   15176   xorg_cv_cc_flag_unused_command_line_argument=no
   15177 fi
   15178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15179 fi
   15180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15181 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15182 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15183 	CFLAGS="$xorg_testset_save_CFLAGS"
   15184 fi
   15185 
   15186 found="no"
   15187 
   15188 	if test $found = "no" ; then
   15189 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15191 		fi
   15192 
   15193 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15195 		fi
   15196 
   15197 		CFLAGS="$CFLAGS -Wredundant-decls"
   15198 
   15199 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15200 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15201 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15202 		if eval test \${$cacheid+y}
   15203 then :
   15204   printf %s "(cached) " >&6
   15205 else $as_nop
   15206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15207 /* end confdefs.h.  */
   15208 int i;
   15209 int
   15210 main (void)
   15211 {
   15212 
   15213   ;
   15214   return 0;
   15215 }
   15216 _ACEOF
   15217 if ac_fn_c_try_link "$LINENO"
   15218 then :
   15219   eval $cacheid=yes
   15220 else $as_nop
   15221   eval $cacheid=no
   15222 fi
   15223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15224     conftest$ac_exeext conftest.$ac_ext
   15225 fi
   15226 
   15227 
   15228 		CFLAGS="$xorg_testset_save_CFLAGS"
   15229 
   15230 		eval supported=\$$cacheid
   15231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15232 printf "%s\n" "$supported" >&6; }
   15233 		if test "$supported" = "yes" ; then
   15234 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15235 			found="yes"
   15236 		fi
   15237 	fi
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246 
   15247 
   15248 
   15249 
   15250 
   15251 
   15252 
   15253 xorg_testset_save_CFLAGS="$CFLAGS"
   15254 
   15255 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15256 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15257 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15258 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15259 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15260 then :
   15261   printf %s "(cached) " >&6
   15262 else $as_nop
   15263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15264 /* end confdefs.h.  */
   15265 int i;
   15266 _ACEOF
   15267 if ac_fn_c_try_compile "$LINENO"
   15268 then :
   15269   xorg_cv_cc_flag_unknown_warning_option=yes
   15270 else $as_nop
   15271   xorg_cv_cc_flag_unknown_warning_option=no
   15272 fi
   15273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15274 fi
   15275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15276 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15277 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15278 	CFLAGS="$xorg_testset_save_CFLAGS"
   15279 fi
   15280 
   15281 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15282 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15283 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15284 	fi
   15285 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15286 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15287 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15288 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15289 then :
   15290   printf %s "(cached) " >&6
   15291 else $as_nop
   15292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15293 /* end confdefs.h.  */
   15294 int i;
   15295 _ACEOF
   15296 if ac_fn_c_try_compile "$LINENO"
   15297 then :
   15298   xorg_cv_cc_flag_unused_command_line_argument=yes
   15299 else $as_nop
   15300   xorg_cv_cc_flag_unused_command_line_argument=no
   15301 fi
   15302 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15303 fi
   15304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15305 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15306 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15307 	CFLAGS="$xorg_testset_save_CFLAGS"
   15308 fi
   15309 
   15310 found="no"
   15311 
   15312 	if test $found = "no" ; then
   15313 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15315 		fi
   15316 
   15317 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15319 		fi
   15320 
   15321 		CFLAGS="$CFLAGS -Wlogical-op"
   15322 
   15323 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15324 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15325 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15326 		if eval test \${$cacheid+y}
   15327 then :
   15328   printf %s "(cached) " >&6
   15329 else $as_nop
   15330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15331 /* end confdefs.h.  */
   15332 int i;
   15333 int
   15334 main (void)
   15335 {
   15336 
   15337   ;
   15338   return 0;
   15339 }
   15340 _ACEOF
   15341 if ac_fn_c_try_link "$LINENO"
   15342 then :
   15343   eval $cacheid=yes
   15344 else $as_nop
   15345   eval $cacheid=no
   15346 fi
   15347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15348     conftest$ac_exeext conftest.$ac_ext
   15349 fi
   15350 
   15351 
   15352 		CFLAGS="$xorg_testset_save_CFLAGS"
   15353 
   15354 		eval supported=\$$cacheid
   15355 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15356 printf "%s\n" "$supported" >&6; }
   15357 		if test "$supported" = "yes" ; then
   15358 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15359 			found="yes"
   15360 		fi
   15361 	fi
   15362 
   15363 
   15364 
   15365 # These are currently disabled because they are noisy.  They will be enabled
   15366 # in the future once the codebase is sufficiently modernized to silence
   15367 # them.  For now, I don't want them to drown out the other warnings.
   15368 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15369 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15370 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15371 
   15372 # Turn some warnings into errors, so we don't accidentally get successful builds
   15373 # when there are problems that should be fixed.
   15374 
   15375 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15376 
   15377 
   15378 
   15379 
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 xorg_testset_save_CFLAGS="$CFLAGS"
   15390 
   15391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15393 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15394 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15395 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15396 then :
   15397   printf %s "(cached) " >&6
   15398 else $as_nop
   15399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15400 /* end confdefs.h.  */
   15401 int i;
   15402 _ACEOF
   15403 if ac_fn_c_try_compile "$LINENO"
   15404 then :
   15405   xorg_cv_cc_flag_unknown_warning_option=yes
   15406 else $as_nop
   15407   xorg_cv_cc_flag_unknown_warning_option=no
   15408 fi
   15409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15410 fi
   15411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15412 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15414 	CFLAGS="$xorg_testset_save_CFLAGS"
   15415 fi
   15416 
   15417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15420 	fi
   15421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15422 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15423 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15424 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15425 then :
   15426   printf %s "(cached) " >&6
   15427 else $as_nop
   15428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15429 /* end confdefs.h.  */
   15430 int i;
   15431 _ACEOF
   15432 if ac_fn_c_try_compile "$LINENO"
   15433 then :
   15434   xorg_cv_cc_flag_unused_command_line_argument=yes
   15435 else $as_nop
   15436   xorg_cv_cc_flag_unused_command_line_argument=no
   15437 fi
   15438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15439 fi
   15440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15441 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15442 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15443 	CFLAGS="$xorg_testset_save_CFLAGS"
   15444 fi
   15445 
   15446 found="no"
   15447 
   15448 	if test $found = "no" ; then
   15449 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15451 		fi
   15452 
   15453 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15455 		fi
   15456 
   15457 		CFLAGS="$CFLAGS -Werror=implicit"
   15458 
   15459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15460 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15461 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15462 		if eval test \${$cacheid+y}
   15463 then :
   15464   printf %s "(cached) " >&6
   15465 else $as_nop
   15466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15467 /* end confdefs.h.  */
   15468 int i;
   15469 int
   15470 main (void)
   15471 {
   15472 
   15473   ;
   15474   return 0;
   15475 }
   15476 _ACEOF
   15477 if ac_fn_c_try_link "$LINENO"
   15478 then :
   15479   eval $cacheid=yes
   15480 else $as_nop
   15481   eval $cacheid=no
   15482 fi
   15483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15484     conftest$ac_exeext conftest.$ac_ext
   15485 fi
   15486 
   15487 
   15488 		CFLAGS="$xorg_testset_save_CFLAGS"
   15489 
   15490 		eval supported=\$$cacheid
   15491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15492 printf "%s\n" "$supported" >&6; }
   15493 		if test "$supported" = "yes" ; then
   15494 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15495 			found="yes"
   15496 		fi
   15497 	fi
   15498 
   15499 	if test $found = "no" ; then
   15500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15502 		fi
   15503 
   15504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15506 		fi
   15507 
   15508 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15509 
   15510 		{ 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
   15511 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15512 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15513 		if eval test \${$cacheid+y}
   15514 then :
   15515   printf %s "(cached) " >&6
   15516 else $as_nop
   15517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15518 /* end confdefs.h.  */
   15519 int i;
   15520 int
   15521 main (void)
   15522 {
   15523 
   15524   ;
   15525   return 0;
   15526 }
   15527 _ACEOF
   15528 if ac_fn_c_try_link "$LINENO"
   15529 then :
   15530   eval $cacheid=yes
   15531 else $as_nop
   15532   eval $cacheid=no
   15533 fi
   15534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15535     conftest$ac_exeext conftest.$ac_ext
   15536 fi
   15537 
   15538 
   15539 		CFLAGS="$xorg_testset_save_CFLAGS"
   15540 
   15541 		eval supported=\$$cacheid
   15542 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15543 printf "%s\n" "$supported" >&6; }
   15544 		if test "$supported" = "yes" ; then
   15545 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15546 			found="yes"
   15547 		fi
   15548 	fi
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 
   15555 
   15556 
   15557 
   15558 
   15559 
   15560 
   15561 
   15562 
   15563 
   15564 xorg_testset_save_CFLAGS="$CFLAGS"
   15565 
   15566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15568 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15569 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15570 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15571 then :
   15572   printf %s "(cached) " >&6
   15573 else $as_nop
   15574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15575 /* end confdefs.h.  */
   15576 int i;
   15577 _ACEOF
   15578 if ac_fn_c_try_compile "$LINENO"
   15579 then :
   15580   xorg_cv_cc_flag_unknown_warning_option=yes
   15581 else $as_nop
   15582   xorg_cv_cc_flag_unknown_warning_option=no
   15583 fi
   15584 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15585 fi
   15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15587 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15589 	CFLAGS="$xorg_testset_save_CFLAGS"
   15590 fi
   15591 
   15592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15595 	fi
   15596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15597 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15598 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15599 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15600 then :
   15601   printf %s "(cached) " >&6
   15602 else $as_nop
   15603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15604 /* end confdefs.h.  */
   15605 int i;
   15606 _ACEOF
   15607 if ac_fn_c_try_compile "$LINENO"
   15608 then :
   15609   xorg_cv_cc_flag_unused_command_line_argument=yes
   15610 else $as_nop
   15611   xorg_cv_cc_flag_unused_command_line_argument=no
   15612 fi
   15613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15614 fi
   15615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15616 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15617 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15618 	CFLAGS="$xorg_testset_save_CFLAGS"
   15619 fi
   15620 
   15621 found="no"
   15622 
   15623 	if test $found = "no" ; then
   15624 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15625 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15626 		fi
   15627 
   15628 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15629 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15630 		fi
   15631 
   15632 		CFLAGS="$CFLAGS -Werror=nonnull"
   15633 
   15634 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15635 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15636 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15637 		if eval test \${$cacheid+y}
   15638 then :
   15639   printf %s "(cached) " >&6
   15640 else $as_nop
   15641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15642 /* end confdefs.h.  */
   15643 int i;
   15644 int
   15645 main (void)
   15646 {
   15647 
   15648   ;
   15649   return 0;
   15650 }
   15651 _ACEOF
   15652 if ac_fn_c_try_link "$LINENO"
   15653 then :
   15654   eval $cacheid=yes
   15655 else $as_nop
   15656   eval $cacheid=no
   15657 fi
   15658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15659     conftest$ac_exeext conftest.$ac_ext
   15660 fi
   15661 
   15662 
   15663 		CFLAGS="$xorg_testset_save_CFLAGS"
   15664 
   15665 		eval supported=\$$cacheid
   15666 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15667 printf "%s\n" "$supported" >&6; }
   15668 		if test "$supported" = "yes" ; then
   15669 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15670 			found="yes"
   15671 		fi
   15672 	fi
   15673 
   15674 
   15675 
   15676 
   15677 
   15678 
   15679 
   15680 
   15681 
   15682 
   15683 
   15684 
   15685 
   15686 
   15687 
   15688 xorg_testset_save_CFLAGS="$CFLAGS"
   15689 
   15690 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15691 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15692 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15693 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15694 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15695 then :
   15696   printf %s "(cached) " >&6
   15697 else $as_nop
   15698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15699 /* end confdefs.h.  */
   15700 int i;
   15701 _ACEOF
   15702 if ac_fn_c_try_compile "$LINENO"
   15703 then :
   15704   xorg_cv_cc_flag_unknown_warning_option=yes
   15705 else $as_nop
   15706   xorg_cv_cc_flag_unknown_warning_option=no
   15707 fi
   15708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15709 fi
   15710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15711 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15713 	CFLAGS="$xorg_testset_save_CFLAGS"
   15714 fi
   15715 
   15716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15719 	fi
   15720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15721 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15722 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15723 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15724 then :
   15725   printf %s "(cached) " >&6
   15726 else $as_nop
   15727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15728 /* end confdefs.h.  */
   15729 int i;
   15730 _ACEOF
   15731 if ac_fn_c_try_compile "$LINENO"
   15732 then :
   15733   xorg_cv_cc_flag_unused_command_line_argument=yes
   15734 else $as_nop
   15735   xorg_cv_cc_flag_unused_command_line_argument=no
   15736 fi
   15737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15738 fi
   15739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15740 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15742 	CFLAGS="$xorg_testset_save_CFLAGS"
   15743 fi
   15744 
   15745 found="no"
   15746 
   15747 	if test $found = "no" ; then
   15748 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15750 		fi
   15751 
   15752 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15754 		fi
   15755 
   15756 		CFLAGS="$CFLAGS -Werror=init-self"
   15757 
   15758 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15759 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15760 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15761 		if eval test \${$cacheid+y}
   15762 then :
   15763   printf %s "(cached) " >&6
   15764 else $as_nop
   15765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15766 /* end confdefs.h.  */
   15767 int i;
   15768 int
   15769 main (void)
   15770 {
   15771 
   15772   ;
   15773   return 0;
   15774 }
   15775 _ACEOF
   15776 if ac_fn_c_try_link "$LINENO"
   15777 then :
   15778   eval $cacheid=yes
   15779 else $as_nop
   15780   eval $cacheid=no
   15781 fi
   15782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15783     conftest$ac_exeext conftest.$ac_ext
   15784 fi
   15785 
   15786 
   15787 		CFLAGS="$xorg_testset_save_CFLAGS"
   15788 
   15789 		eval supported=\$$cacheid
   15790 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15791 printf "%s\n" "$supported" >&6; }
   15792 		if test "$supported" = "yes" ; then
   15793 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15794 			found="yes"
   15795 		fi
   15796 	fi
   15797 
   15798 
   15799 
   15800 
   15801 
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 
   15809 
   15810 
   15811 
   15812 xorg_testset_save_CFLAGS="$CFLAGS"
   15813 
   15814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15816 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15817 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15818 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15819 then :
   15820   printf %s "(cached) " >&6
   15821 else $as_nop
   15822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15823 /* end confdefs.h.  */
   15824 int i;
   15825 _ACEOF
   15826 if ac_fn_c_try_compile "$LINENO"
   15827 then :
   15828   xorg_cv_cc_flag_unknown_warning_option=yes
   15829 else $as_nop
   15830   xorg_cv_cc_flag_unknown_warning_option=no
   15831 fi
   15832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15833 fi
   15834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15835 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15837 	CFLAGS="$xorg_testset_save_CFLAGS"
   15838 fi
   15839 
   15840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15843 	fi
   15844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15846 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15847 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15848 then :
   15849   printf %s "(cached) " >&6
   15850 else $as_nop
   15851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15852 /* end confdefs.h.  */
   15853 int i;
   15854 _ACEOF
   15855 if ac_fn_c_try_compile "$LINENO"
   15856 then :
   15857   xorg_cv_cc_flag_unused_command_line_argument=yes
   15858 else $as_nop
   15859   xorg_cv_cc_flag_unused_command_line_argument=no
   15860 fi
   15861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15862 fi
   15863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15864 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15865 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15866 	CFLAGS="$xorg_testset_save_CFLAGS"
   15867 fi
   15868 
   15869 found="no"
   15870 
   15871 	if test $found = "no" ; then
   15872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15874 		fi
   15875 
   15876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15878 		fi
   15879 
   15880 		CFLAGS="$CFLAGS -Werror=main"
   15881 
   15882 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15883 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15884 		cacheid=xorg_cv_cc_flag__Werror_main
   15885 		if eval test \${$cacheid+y}
   15886 then :
   15887   printf %s "(cached) " >&6
   15888 else $as_nop
   15889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15890 /* end confdefs.h.  */
   15891 int i;
   15892 int
   15893 main (void)
   15894 {
   15895 
   15896   ;
   15897   return 0;
   15898 }
   15899 _ACEOF
   15900 if ac_fn_c_try_link "$LINENO"
   15901 then :
   15902   eval $cacheid=yes
   15903 else $as_nop
   15904   eval $cacheid=no
   15905 fi
   15906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15907     conftest$ac_exeext conftest.$ac_ext
   15908 fi
   15909 
   15910 
   15911 		CFLAGS="$xorg_testset_save_CFLAGS"
   15912 
   15913 		eval supported=\$$cacheid
   15914 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15915 printf "%s\n" "$supported" >&6; }
   15916 		if test "$supported" = "yes" ; then
   15917 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15918 			found="yes"
   15919 		fi
   15920 	fi
   15921 
   15922 
   15923 
   15924 
   15925 
   15926 
   15927 
   15928 
   15929 
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 xorg_testset_save_CFLAGS="$CFLAGS"
   15937 
   15938 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15939 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15940 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15941 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15942 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15943 then :
   15944   printf %s "(cached) " >&6
   15945 else $as_nop
   15946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15947 /* end confdefs.h.  */
   15948 int i;
   15949 _ACEOF
   15950 if ac_fn_c_try_compile "$LINENO"
   15951 then :
   15952   xorg_cv_cc_flag_unknown_warning_option=yes
   15953 else $as_nop
   15954   xorg_cv_cc_flag_unknown_warning_option=no
   15955 fi
   15956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15957 fi
   15958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15959 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15960 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15961 	CFLAGS="$xorg_testset_save_CFLAGS"
   15962 fi
   15963 
   15964 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15965 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15966 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15967 	fi
   15968 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15970 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15971 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15972 then :
   15973   printf %s "(cached) " >&6
   15974 else $as_nop
   15975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15976 /* end confdefs.h.  */
   15977 int i;
   15978 _ACEOF
   15979 if ac_fn_c_try_compile "$LINENO"
   15980 then :
   15981   xorg_cv_cc_flag_unused_command_line_argument=yes
   15982 else $as_nop
   15983   xorg_cv_cc_flag_unused_command_line_argument=no
   15984 fi
   15985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15986 fi
   15987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15988 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15989 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15990 	CFLAGS="$xorg_testset_save_CFLAGS"
   15991 fi
   15992 
   15993 found="no"
   15994 
   15995 	if test $found = "no" ; then
   15996 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15997 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15998 		fi
   15999 
   16000 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16001 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16002 		fi
   16003 
   16004 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16005 
   16006 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16007 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16008 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16009 		if eval test \${$cacheid+y}
   16010 then :
   16011   printf %s "(cached) " >&6
   16012 else $as_nop
   16013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16014 /* end confdefs.h.  */
   16015 int i;
   16016 int
   16017 main (void)
   16018 {
   16019 
   16020   ;
   16021   return 0;
   16022 }
   16023 _ACEOF
   16024 if ac_fn_c_try_link "$LINENO"
   16025 then :
   16026   eval $cacheid=yes
   16027 else $as_nop
   16028   eval $cacheid=no
   16029 fi
   16030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16031     conftest$ac_exeext conftest.$ac_ext
   16032 fi
   16033 
   16034 
   16035 		CFLAGS="$xorg_testset_save_CFLAGS"
   16036 
   16037 		eval supported=\$$cacheid
   16038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16039 printf "%s\n" "$supported" >&6; }
   16040 		if test "$supported" = "yes" ; then
   16041 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16042 			found="yes"
   16043 		fi
   16044 	fi
   16045 
   16046 
   16047 
   16048 
   16049 
   16050 
   16051 
   16052 
   16053 
   16054 
   16055 
   16056 
   16057 
   16058 
   16059 
   16060 xorg_testset_save_CFLAGS="$CFLAGS"
   16061 
   16062 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16063 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16064 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16065 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16066 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16067 then :
   16068   printf %s "(cached) " >&6
   16069 else $as_nop
   16070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16071 /* end confdefs.h.  */
   16072 int i;
   16073 _ACEOF
   16074 if ac_fn_c_try_compile "$LINENO"
   16075 then :
   16076   xorg_cv_cc_flag_unknown_warning_option=yes
   16077 else $as_nop
   16078   xorg_cv_cc_flag_unknown_warning_option=no
   16079 fi
   16080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16081 fi
   16082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16083 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16084 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16085 	CFLAGS="$xorg_testset_save_CFLAGS"
   16086 fi
   16087 
   16088 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16089 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16090 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16091 	fi
   16092 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16094 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16095 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16096 then :
   16097   printf %s "(cached) " >&6
   16098 else $as_nop
   16099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16100 /* end confdefs.h.  */
   16101 int i;
   16102 _ACEOF
   16103 if ac_fn_c_try_compile "$LINENO"
   16104 then :
   16105   xorg_cv_cc_flag_unused_command_line_argument=yes
   16106 else $as_nop
   16107   xorg_cv_cc_flag_unused_command_line_argument=no
   16108 fi
   16109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16110 fi
   16111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16112 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16113 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16114 	CFLAGS="$xorg_testset_save_CFLAGS"
   16115 fi
   16116 
   16117 found="no"
   16118 
   16119 	if test $found = "no" ; then
   16120 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16121 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16122 		fi
   16123 
   16124 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16125 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16126 		fi
   16127 
   16128 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16129 
   16130 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16131 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16132 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16133 		if eval test \${$cacheid+y}
   16134 then :
   16135   printf %s "(cached) " >&6
   16136 else $as_nop
   16137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16138 /* end confdefs.h.  */
   16139 int i;
   16140 int
   16141 main (void)
   16142 {
   16143 
   16144   ;
   16145   return 0;
   16146 }
   16147 _ACEOF
   16148 if ac_fn_c_try_link "$LINENO"
   16149 then :
   16150   eval $cacheid=yes
   16151 else $as_nop
   16152   eval $cacheid=no
   16153 fi
   16154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16155     conftest$ac_exeext conftest.$ac_ext
   16156 fi
   16157 
   16158 
   16159 		CFLAGS="$xorg_testset_save_CFLAGS"
   16160 
   16161 		eval supported=\$$cacheid
   16162 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16163 printf "%s\n" "$supported" >&6; }
   16164 		if test "$supported" = "yes" ; then
   16165 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16166 			found="yes"
   16167 		fi
   16168 	fi
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 xorg_testset_save_CFLAGS="$CFLAGS"
   16185 
   16186 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16187 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16188 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16189 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16190 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16191 then :
   16192   printf %s "(cached) " >&6
   16193 else $as_nop
   16194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16195 /* end confdefs.h.  */
   16196 int i;
   16197 _ACEOF
   16198 if ac_fn_c_try_compile "$LINENO"
   16199 then :
   16200   xorg_cv_cc_flag_unknown_warning_option=yes
   16201 else $as_nop
   16202   xorg_cv_cc_flag_unknown_warning_option=no
   16203 fi
   16204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16205 fi
   16206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16207 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16209 	CFLAGS="$xorg_testset_save_CFLAGS"
   16210 fi
   16211 
   16212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16215 	fi
   16216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16217 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16218 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16219 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16220 then :
   16221   printf %s "(cached) " >&6
   16222 else $as_nop
   16223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16224 /* end confdefs.h.  */
   16225 int i;
   16226 _ACEOF
   16227 if ac_fn_c_try_compile "$LINENO"
   16228 then :
   16229   xorg_cv_cc_flag_unused_command_line_argument=yes
   16230 else $as_nop
   16231   xorg_cv_cc_flag_unused_command_line_argument=no
   16232 fi
   16233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16234 fi
   16235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16236 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16237 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16238 	CFLAGS="$xorg_testset_save_CFLAGS"
   16239 fi
   16240 
   16241 found="no"
   16242 
   16243 	if test $found = "no" ; then
   16244 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16245 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16246 		fi
   16247 
   16248 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16249 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16250 		fi
   16251 
   16252 		CFLAGS="$CFLAGS -Werror=return-type"
   16253 
   16254 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16255 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16256 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16257 		if eval test \${$cacheid+y}
   16258 then :
   16259   printf %s "(cached) " >&6
   16260 else $as_nop
   16261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16262 /* end confdefs.h.  */
   16263 int i;
   16264 int
   16265 main (void)
   16266 {
   16267 
   16268   ;
   16269   return 0;
   16270 }
   16271 _ACEOF
   16272 if ac_fn_c_try_link "$LINENO"
   16273 then :
   16274   eval $cacheid=yes
   16275 else $as_nop
   16276   eval $cacheid=no
   16277 fi
   16278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16279     conftest$ac_exeext conftest.$ac_ext
   16280 fi
   16281 
   16282 
   16283 		CFLAGS="$xorg_testset_save_CFLAGS"
   16284 
   16285 		eval supported=\$$cacheid
   16286 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16287 printf "%s\n" "$supported" >&6; }
   16288 		if test "$supported" = "yes" ; then
   16289 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16290 			found="yes"
   16291 		fi
   16292 	fi
   16293 
   16294 	if test $found = "no" ; then
   16295 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16297 		fi
   16298 
   16299 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16301 		fi
   16302 
   16303 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16304 
   16305 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16306 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16307 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16308 		if eval test \${$cacheid+y}
   16309 then :
   16310   printf %s "(cached) " >&6
   16311 else $as_nop
   16312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16313 /* end confdefs.h.  */
   16314 int i;
   16315 int
   16316 main (void)
   16317 {
   16318 
   16319   ;
   16320   return 0;
   16321 }
   16322 _ACEOF
   16323 if ac_fn_c_try_link "$LINENO"
   16324 then :
   16325   eval $cacheid=yes
   16326 else $as_nop
   16327   eval $cacheid=no
   16328 fi
   16329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16330     conftest$ac_exeext conftest.$ac_ext
   16331 fi
   16332 
   16333 
   16334 		CFLAGS="$xorg_testset_save_CFLAGS"
   16335 
   16336 		eval supported=\$$cacheid
   16337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16338 printf "%s\n" "$supported" >&6; }
   16339 		if test "$supported" = "yes" ; then
   16340 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16341 			found="yes"
   16342 		fi
   16343 	fi
   16344 
   16345 
   16346 
   16347 
   16348 
   16349 
   16350 
   16351 
   16352 
   16353 
   16354 
   16355 
   16356 
   16357 
   16358 
   16359 xorg_testset_save_CFLAGS="$CFLAGS"
   16360 
   16361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16364 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16365 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16366 then :
   16367   printf %s "(cached) " >&6
   16368 else $as_nop
   16369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16370 /* end confdefs.h.  */
   16371 int i;
   16372 _ACEOF
   16373 if ac_fn_c_try_compile "$LINENO"
   16374 then :
   16375   xorg_cv_cc_flag_unknown_warning_option=yes
   16376 else $as_nop
   16377   xorg_cv_cc_flag_unknown_warning_option=no
   16378 fi
   16379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16380 fi
   16381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16382 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16383 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16384 	CFLAGS="$xorg_testset_save_CFLAGS"
   16385 fi
   16386 
   16387 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16388 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16389 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16390 	fi
   16391 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16392 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16393 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16394 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16395 then :
   16396   printf %s "(cached) " >&6
   16397 else $as_nop
   16398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16399 /* end confdefs.h.  */
   16400 int i;
   16401 _ACEOF
   16402 if ac_fn_c_try_compile "$LINENO"
   16403 then :
   16404   xorg_cv_cc_flag_unused_command_line_argument=yes
   16405 else $as_nop
   16406   xorg_cv_cc_flag_unused_command_line_argument=no
   16407 fi
   16408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16409 fi
   16410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16411 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16412 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16413 	CFLAGS="$xorg_testset_save_CFLAGS"
   16414 fi
   16415 
   16416 found="no"
   16417 
   16418 	if test $found = "no" ; then
   16419 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16420 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16421 		fi
   16422 
   16423 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16424 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16425 		fi
   16426 
   16427 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16428 
   16429 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16430 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16431 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16432 		if eval test \${$cacheid+y}
   16433 then :
   16434   printf %s "(cached) " >&6
   16435 else $as_nop
   16436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16437 /* end confdefs.h.  */
   16438 int i;
   16439 int
   16440 main (void)
   16441 {
   16442 
   16443   ;
   16444   return 0;
   16445 }
   16446 _ACEOF
   16447 if ac_fn_c_try_link "$LINENO"
   16448 then :
   16449   eval $cacheid=yes
   16450 else $as_nop
   16451   eval $cacheid=no
   16452 fi
   16453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16454     conftest$ac_exeext conftest.$ac_ext
   16455 fi
   16456 
   16457 
   16458 		CFLAGS="$xorg_testset_save_CFLAGS"
   16459 
   16460 		eval supported=\$$cacheid
   16461 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16462 printf "%s\n" "$supported" >&6; }
   16463 		if test "$supported" = "yes" ; then
   16464 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16465 			found="yes"
   16466 		fi
   16467 	fi
   16468 
   16469 
   16470 
   16471 
   16472 
   16473 
   16474 
   16475 
   16476 
   16477 
   16478 
   16479 
   16480 
   16481 
   16482 
   16483 xorg_testset_save_CFLAGS="$CFLAGS"
   16484 
   16485 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16487 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16488 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16489 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16490 then :
   16491   printf %s "(cached) " >&6
   16492 else $as_nop
   16493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16494 /* end confdefs.h.  */
   16495 int i;
   16496 _ACEOF
   16497 if ac_fn_c_try_compile "$LINENO"
   16498 then :
   16499   xorg_cv_cc_flag_unknown_warning_option=yes
   16500 else $as_nop
   16501   xorg_cv_cc_flag_unknown_warning_option=no
   16502 fi
   16503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16504 fi
   16505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16506 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16508 	CFLAGS="$xorg_testset_save_CFLAGS"
   16509 fi
   16510 
   16511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16514 	fi
   16515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16516 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16517 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16518 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16519 then :
   16520   printf %s "(cached) " >&6
   16521 else $as_nop
   16522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16523 /* end confdefs.h.  */
   16524 int i;
   16525 _ACEOF
   16526 if ac_fn_c_try_compile "$LINENO"
   16527 then :
   16528   xorg_cv_cc_flag_unused_command_line_argument=yes
   16529 else $as_nop
   16530   xorg_cv_cc_flag_unused_command_line_argument=no
   16531 fi
   16532 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16533 fi
   16534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16535 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16537 	CFLAGS="$xorg_testset_save_CFLAGS"
   16538 fi
   16539 
   16540 found="no"
   16541 
   16542 	if test $found = "no" ; then
   16543 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16545 		fi
   16546 
   16547 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16549 		fi
   16550 
   16551 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16552 
   16553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16554 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16555 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16556 		if eval test \${$cacheid+y}
   16557 then :
   16558   printf %s "(cached) " >&6
   16559 else $as_nop
   16560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16561 /* end confdefs.h.  */
   16562 int i;
   16563 int
   16564 main (void)
   16565 {
   16566 
   16567   ;
   16568   return 0;
   16569 }
   16570 _ACEOF
   16571 if ac_fn_c_try_link "$LINENO"
   16572 then :
   16573   eval $cacheid=yes
   16574 else $as_nop
   16575   eval $cacheid=no
   16576 fi
   16577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16578     conftest$ac_exeext conftest.$ac_ext
   16579 fi
   16580 
   16581 
   16582 		CFLAGS="$xorg_testset_save_CFLAGS"
   16583 
   16584 		eval supported=\$$cacheid
   16585 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16586 printf "%s\n" "$supported" >&6; }
   16587 		if test "$supported" = "yes" ; then
   16588 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16589 			found="yes"
   16590 		fi
   16591 	fi
   16592 
   16593 
   16594 
   16595 
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 xorg_testset_save_CFLAGS="$CFLAGS"
   16608 
   16609 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16610 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16611 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16612 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16613 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16614 then :
   16615   printf %s "(cached) " >&6
   16616 else $as_nop
   16617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16618 /* end confdefs.h.  */
   16619 int i;
   16620 _ACEOF
   16621 if ac_fn_c_try_compile "$LINENO"
   16622 then :
   16623   xorg_cv_cc_flag_unknown_warning_option=yes
   16624 else $as_nop
   16625   xorg_cv_cc_flag_unknown_warning_option=no
   16626 fi
   16627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16628 fi
   16629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16630 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16631 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16632 	CFLAGS="$xorg_testset_save_CFLAGS"
   16633 fi
   16634 
   16635 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16636 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16637 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16638 	fi
   16639 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16640 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16641 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16642 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16643 then :
   16644   printf %s "(cached) " >&6
   16645 else $as_nop
   16646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16647 /* end confdefs.h.  */
   16648 int i;
   16649 _ACEOF
   16650 if ac_fn_c_try_compile "$LINENO"
   16651 then :
   16652   xorg_cv_cc_flag_unused_command_line_argument=yes
   16653 else $as_nop
   16654   xorg_cv_cc_flag_unused_command_line_argument=no
   16655 fi
   16656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16657 fi
   16658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16659 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16660 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16661 	CFLAGS="$xorg_testset_save_CFLAGS"
   16662 fi
   16663 
   16664 found="no"
   16665 
   16666 	if test $found = "no" ; then
   16667 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16668 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16669 		fi
   16670 
   16671 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16672 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16673 		fi
   16674 
   16675 		CFLAGS="$CFLAGS -Werror=write-strings"
   16676 
   16677 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16678 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16679 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16680 		if eval test \${$cacheid+y}
   16681 then :
   16682   printf %s "(cached) " >&6
   16683 else $as_nop
   16684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16685 /* end confdefs.h.  */
   16686 int i;
   16687 int
   16688 main (void)
   16689 {
   16690 
   16691   ;
   16692   return 0;
   16693 }
   16694 _ACEOF
   16695 if ac_fn_c_try_link "$LINENO"
   16696 then :
   16697   eval $cacheid=yes
   16698 else $as_nop
   16699   eval $cacheid=no
   16700 fi
   16701 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16702     conftest$ac_exeext conftest.$ac_ext
   16703 fi
   16704 
   16705 
   16706 		CFLAGS="$xorg_testset_save_CFLAGS"
   16707 
   16708 		eval supported=\$$cacheid
   16709 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16710 printf "%s\n" "$supported" >&6; }
   16711 		if test "$supported" = "yes" ; then
   16712 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16713 			found="yes"
   16714 		fi
   16715 	fi
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 xorg_testset_save_CFLAGS="$CFLAGS"
   16732 
   16733 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16734 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16735 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16736 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16737 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16738 then :
   16739   printf %s "(cached) " >&6
   16740 else $as_nop
   16741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16742 /* end confdefs.h.  */
   16743 int i;
   16744 _ACEOF
   16745 if ac_fn_c_try_compile "$LINENO"
   16746 then :
   16747   xorg_cv_cc_flag_unknown_warning_option=yes
   16748 else $as_nop
   16749   xorg_cv_cc_flag_unknown_warning_option=no
   16750 fi
   16751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16752 fi
   16753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16754 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16755 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16756 	CFLAGS="$xorg_testset_save_CFLAGS"
   16757 fi
   16758 
   16759 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16760 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16761 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16762 	fi
   16763 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16764 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16765 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16766 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16767 then :
   16768   printf %s "(cached) " >&6
   16769 else $as_nop
   16770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16771 /* end confdefs.h.  */
   16772 int i;
   16773 _ACEOF
   16774 if ac_fn_c_try_compile "$LINENO"
   16775 then :
   16776   xorg_cv_cc_flag_unused_command_line_argument=yes
   16777 else $as_nop
   16778   xorg_cv_cc_flag_unused_command_line_argument=no
   16779 fi
   16780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16781 fi
   16782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16783 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16784 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16785 	CFLAGS="$xorg_testset_save_CFLAGS"
   16786 fi
   16787 
   16788 found="no"
   16789 
   16790 	if test $found = "no" ; then
   16791 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16792 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16793 		fi
   16794 
   16795 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16796 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16797 		fi
   16798 
   16799 		CFLAGS="$CFLAGS -Werror=address"
   16800 
   16801 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16802 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16803 		cacheid=xorg_cv_cc_flag__Werror_address
   16804 		if eval test \${$cacheid+y}
   16805 then :
   16806   printf %s "(cached) " >&6
   16807 else $as_nop
   16808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16809 /* end confdefs.h.  */
   16810 int i;
   16811 int
   16812 main (void)
   16813 {
   16814 
   16815   ;
   16816   return 0;
   16817 }
   16818 _ACEOF
   16819 if ac_fn_c_try_link "$LINENO"
   16820 then :
   16821   eval $cacheid=yes
   16822 else $as_nop
   16823   eval $cacheid=no
   16824 fi
   16825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16826     conftest$ac_exeext conftest.$ac_ext
   16827 fi
   16828 
   16829 
   16830 		CFLAGS="$xorg_testset_save_CFLAGS"
   16831 
   16832 		eval supported=\$$cacheid
   16833 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16834 printf "%s\n" "$supported" >&6; }
   16835 		if test "$supported" = "yes" ; then
   16836 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16837 			found="yes"
   16838 		fi
   16839 	fi
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 xorg_testset_save_CFLAGS="$CFLAGS"
   16856 
   16857 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16859 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16860 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16861 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16862 then :
   16863   printf %s "(cached) " >&6
   16864 else $as_nop
   16865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16866 /* end confdefs.h.  */
   16867 int i;
   16868 _ACEOF
   16869 if ac_fn_c_try_compile "$LINENO"
   16870 then :
   16871   xorg_cv_cc_flag_unknown_warning_option=yes
   16872 else $as_nop
   16873   xorg_cv_cc_flag_unknown_warning_option=no
   16874 fi
   16875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16876 fi
   16877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16878 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16879 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16880 	CFLAGS="$xorg_testset_save_CFLAGS"
   16881 fi
   16882 
   16883 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16884 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16885 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16886 	fi
   16887 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16888 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16889 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16890 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16891 then :
   16892   printf %s "(cached) " >&6
   16893 else $as_nop
   16894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16895 /* end confdefs.h.  */
   16896 int i;
   16897 _ACEOF
   16898 if ac_fn_c_try_compile "$LINENO"
   16899 then :
   16900   xorg_cv_cc_flag_unused_command_line_argument=yes
   16901 else $as_nop
   16902   xorg_cv_cc_flag_unused_command_line_argument=no
   16903 fi
   16904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16905 fi
   16906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16907 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16908 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16909 	CFLAGS="$xorg_testset_save_CFLAGS"
   16910 fi
   16911 
   16912 found="no"
   16913 
   16914 	if test $found = "no" ; then
   16915 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16916 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16917 		fi
   16918 
   16919 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16920 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16921 		fi
   16922 
   16923 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16924 
   16925 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16926 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16927 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16928 		if eval test \${$cacheid+y}
   16929 then :
   16930   printf %s "(cached) " >&6
   16931 else $as_nop
   16932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16933 /* end confdefs.h.  */
   16934 int i;
   16935 int
   16936 main (void)
   16937 {
   16938 
   16939   ;
   16940   return 0;
   16941 }
   16942 _ACEOF
   16943 if ac_fn_c_try_link "$LINENO"
   16944 then :
   16945   eval $cacheid=yes
   16946 else $as_nop
   16947   eval $cacheid=no
   16948 fi
   16949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16950     conftest$ac_exeext conftest.$ac_ext
   16951 fi
   16952 
   16953 
   16954 		CFLAGS="$xorg_testset_save_CFLAGS"
   16955 
   16956 		eval supported=\$$cacheid
   16957 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16958 printf "%s\n" "$supported" >&6; }
   16959 		if test "$supported" = "yes" ; then
   16960 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16961 			found="yes"
   16962 		fi
   16963 	fi
   16964 
   16965 	if test $found = "no" ; then
   16966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16968 		fi
   16969 
   16970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16972 		fi
   16973 
   16974 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16975 
   16976 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16977 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16978 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16979 		if eval test \${$cacheid+y}
   16980 then :
   16981   printf %s "(cached) " >&6
   16982 else $as_nop
   16983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16984 /* end confdefs.h.  */
   16985 int i;
   16986 int
   16987 main (void)
   16988 {
   16989 
   16990   ;
   16991   return 0;
   16992 }
   16993 _ACEOF
   16994 if ac_fn_c_try_link "$LINENO"
   16995 then :
   16996   eval $cacheid=yes
   16997 else $as_nop
   16998   eval $cacheid=no
   16999 fi
   17000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17001     conftest$ac_exeext conftest.$ac_ext
   17002 fi
   17003 
   17004 
   17005 		CFLAGS="$xorg_testset_save_CFLAGS"
   17006 
   17007 		eval supported=\$$cacheid
   17008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17009 printf "%s\n" "$supported" >&6; }
   17010 		if test "$supported" = "yes" ; then
   17011 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17012 			found="yes"
   17013 		fi
   17014 	fi
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 
   17029 
   17030 xorg_testset_save_CFLAGS="$CFLAGS"
   17031 
   17032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17035 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17036 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17037 then :
   17038   printf %s "(cached) " >&6
   17039 else $as_nop
   17040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17041 /* end confdefs.h.  */
   17042 int i;
   17043 _ACEOF
   17044 if ac_fn_c_try_compile "$LINENO"
   17045 then :
   17046   xorg_cv_cc_flag_unknown_warning_option=yes
   17047 else $as_nop
   17048   xorg_cv_cc_flag_unknown_warning_option=no
   17049 fi
   17050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17051 fi
   17052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17053 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17055 	CFLAGS="$xorg_testset_save_CFLAGS"
   17056 fi
   17057 
   17058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17061 	fi
   17062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17063 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17064 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17065 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17066 then :
   17067   printf %s "(cached) " >&6
   17068 else $as_nop
   17069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17070 /* end confdefs.h.  */
   17071 int i;
   17072 _ACEOF
   17073 if ac_fn_c_try_compile "$LINENO"
   17074 then :
   17075   xorg_cv_cc_flag_unused_command_line_argument=yes
   17076 else $as_nop
   17077   xorg_cv_cc_flag_unused_command_line_argument=no
   17078 fi
   17079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17080 fi
   17081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17082 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17084 	CFLAGS="$xorg_testset_save_CFLAGS"
   17085 fi
   17086 
   17087 found="no"
   17088 
   17089 	if test $found = "no" ; then
   17090 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17092 		fi
   17093 
   17094 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17096 		fi
   17097 
   17098 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17099 
   17100 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17101 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17102 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17103 		if eval test \${$cacheid+y}
   17104 then :
   17105   printf %s "(cached) " >&6
   17106 else $as_nop
   17107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17108 /* end confdefs.h.  */
   17109 int i;
   17110 int
   17111 main (void)
   17112 {
   17113 
   17114   ;
   17115   return 0;
   17116 }
   17117 _ACEOF
   17118 if ac_fn_c_try_link "$LINENO"
   17119 then :
   17120   eval $cacheid=yes
   17121 else $as_nop
   17122   eval $cacheid=no
   17123 fi
   17124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17125     conftest$ac_exeext conftest.$ac_ext
   17126 fi
   17127 
   17128 
   17129 		CFLAGS="$xorg_testset_save_CFLAGS"
   17130 
   17131 		eval supported=\$$cacheid
   17132 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17133 printf "%s\n" "$supported" >&6; }
   17134 		if test "$supported" = "yes" ; then
   17135 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17136 			found="yes"
   17137 		fi
   17138 	fi
   17139 
   17140  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17141 else
   17142 { 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
   17143 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;}
   17144 
   17145 
   17146 
   17147 
   17148 
   17149 
   17150 
   17151 
   17152 
   17153 
   17154 
   17155 
   17156 
   17157 xorg_testset_save_CFLAGS="$CFLAGS"
   17158 
   17159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17161 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17162 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17163 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17164 then :
   17165   printf %s "(cached) " >&6
   17166 else $as_nop
   17167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17168 /* end confdefs.h.  */
   17169 int i;
   17170 _ACEOF
   17171 if ac_fn_c_try_compile "$LINENO"
   17172 then :
   17173   xorg_cv_cc_flag_unknown_warning_option=yes
   17174 else $as_nop
   17175   xorg_cv_cc_flag_unknown_warning_option=no
   17176 fi
   17177 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17178 fi
   17179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17180 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17182 	CFLAGS="$xorg_testset_save_CFLAGS"
   17183 fi
   17184 
   17185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17188 	fi
   17189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17190 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17191 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17192 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17193 then :
   17194   printf %s "(cached) " >&6
   17195 else $as_nop
   17196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17197 /* end confdefs.h.  */
   17198 int i;
   17199 _ACEOF
   17200 if ac_fn_c_try_compile "$LINENO"
   17201 then :
   17202   xorg_cv_cc_flag_unused_command_line_argument=yes
   17203 else $as_nop
   17204   xorg_cv_cc_flag_unused_command_line_argument=no
   17205 fi
   17206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17207 fi
   17208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17209 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17210 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17211 	CFLAGS="$xorg_testset_save_CFLAGS"
   17212 fi
   17213 
   17214 found="no"
   17215 
   17216 	if test $found = "no" ; then
   17217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17219 		fi
   17220 
   17221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17223 		fi
   17224 
   17225 		CFLAGS="$CFLAGS -Wimplicit"
   17226 
   17227 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17228 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17229 		cacheid=xorg_cv_cc_flag__Wimplicit
   17230 		if eval test \${$cacheid+y}
   17231 then :
   17232   printf %s "(cached) " >&6
   17233 else $as_nop
   17234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17235 /* end confdefs.h.  */
   17236 int i;
   17237 int
   17238 main (void)
   17239 {
   17240 
   17241   ;
   17242   return 0;
   17243 }
   17244 _ACEOF
   17245 if ac_fn_c_try_link "$LINENO"
   17246 then :
   17247   eval $cacheid=yes
   17248 else $as_nop
   17249   eval $cacheid=no
   17250 fi
   17251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17252     conftest$ac_exeext conftest.$ac_ext
   17253 fi
   17254 
   17255 
   17256 		CFLAGS="$xorg_testset_save_CFLAGS"
   17257 
   17258 		eval supported=\$$cacheid
   17259 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17260 printf "%s\n" "$supported" >&6; }
   17261 		if test "$supported" = "yes" ; then
   17262 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17263 			found="yes"
   17264 		fi
   17265 	fi
   17266 
   17267 
   17268 
   17269 
   17270 
   17271 
   17272 
   17273 
   17274 
   17275 
   17276 
   17277 
   17278 
   17279 
   17280 
   17281 xorg_testset_save_CFLAGS="$CFLAGS"
   17282 
   17283 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17284 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17285 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17286 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17287 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17288 then :
   17289   printf %s "(cached) " >&6
   17290 else $as_nop
   17291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17292 /* end confdefs.h.  */
   17293 int i;
   17294 _ACEOF
   17295 if ac_fn_c_try_compile "$LINENO"
   17296 then :
   17297   xorg_cv_cc_flag_unknown_warning_option=yes
   17298 else $as_nop
   17299   xorg_cv_cc_flag_unknown_warning_option=no
   17300 fi
   17301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17302 fi
   17303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17304 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17305 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17306 	CFLAGS="$xorg_testset_save_CFLAGS"
   17307 fi
   17308 
   17309 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17310 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17312 	fi
   17313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17315 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17316 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17317 then :
   17318   printf %s "(cached) " >&6
   17319 else $as_nop
   17320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17321 /* end confdefs.h.  */
   17322 int i;
   17323 _ACEOF
   17324 if ac_fn_c_try_compile "$LINENO"
   17325 then :
   17326   xorg_cv_cc_flag_unused_command_line_argument=yes
   17327 else $as_nop
   17328   xorg_cv_cc_flag_unused_command_line_argument=no
   17329 fi
   17330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17331 fi
   17332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17333 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17334 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17335 	CFLAGS="$xorg_testset_save_CFLAGS"
   17336 fi
   17337 
   17338 found="no"
   17339 
   17340 	if test $found = "no" ; then
   17341 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17342 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17343 		fi
   17344 
   17345 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17346 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17347 		fi
   17348 
   17349 		CFLAGS="$CFLAGS -Wnonnull"
   17350 
   17351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17352 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17353 		cacheid=xorg_cv_cc_flag__Wnonnull
   17354 		if eval test \${$cacheid+y}
   17355 then :
   17356   printf %s "(cached) " >&6
   17357 else $as_nop
   17358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17359 /* end confdefs.h.  */
   17360 int i;
   17361 int
   17362 main (void)
   17363 {
   17364 
   17365   ;
   17366   return 0;
   17367 }
   17368 _ACEOF
   17369 if ac_fn_c_try_link "$LINENO"
   17370 then :
   17371   eval $cacheid=yes
   17372 else $as_nop
   17373   eval $cacheid=no
   17374 fi
   17375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17376     conftest$ac_exeext conftest.$ac_ext
   17377 fi
   17378 
   17379 
   17380 		CFLAGS="$xorg_testset_save_CFLAGS"
   17381 
   17382 		eval supported=\$$cacheid
   17383 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17384 printf "%s\n" "$supported" >&6; }
   17385 		if test "$supported" = "yes" ; then
   17386 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17387 			found="yes"
   17388 		fi
   17389 	fi
   17390 
   17391 
   17392 
   17393 
   17394 
   17395 
   17396 
   17397 
   17398 
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 xorg_testset_save_CFLAGS="$CFLAGS"
   17406 
   17407 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17408 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17409 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17410 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17411 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17412 then :
   17413   printf %s "(cached) " >&6
   17414 else $as_nop
   17415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17416 /* end confdefs.h.  */
   17417 int i;
   17418 _ACEOF
   17419 if ac_fn_c_try_compile "$LINENO"
   17420 then :
   17421   xorg_cv_cc_flag_unknown_warning_option=yes
   17422 else $as_nop
   17423   xorg_cv_cc_flag_unknown_warning_option=no
   17424 fi
   17425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17426 fi
   17427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17428 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17429 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17430 	CFLAGS="$xorg_testset_save_CFLAGS"
   17431 fi
   17432 
   17433 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17434 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17435 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17436 	fi
   17437 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17438 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17439 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17440 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17441 then :
   17442   printf %s "(cached) " >&6
   17443 else $as_nop
   17444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17445 /* end confdefs.h.  */
   17446 int i;
   17447 _ACEOF
   17448 if ac_fn_c_try_compile "$LINENO"
   17449 then :
   17450   xorg_cv_cc_flag_unused_command_line_argument=yes
   17451 else $as_nop
   17452   xorg_cv_cc_flag_unused_command_line_argument=no
   17453 fi
   17454 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17455 fi
   17456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17457 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17459 	CFLAGS="$xorg_testset_save_CFLAGS"
   17460 fi
   17461 
   17462 found="no"
   17463 
   17464 	if test $found = "no" ; then
   17465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17467 		fi
   17468 
   17469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17471 		fi
   17472 
   17473 		CFLAGS="$CFLAGS -Winit-self"
   17474 
   17475 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17476 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17477 		cacheid=xorg_cv_cc_flag__Winit_self
   17478 		if eval test \${$cacheid+y}
   17479 then :
   17480   printf %s "(cached) " >&6
   17481 else $as_nop
   17482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17483 /* end confdefs.h.  */
   17484 int i;
   17485 int
   17486 main (void)
   17487 {
   17488 
   17489   ;
   17490   return 0;
   17491 }
   17492 _ACEOF
   17493 if ac_fn_c_try_link "$LINENO"
   17494 then :
   17495   eval $cacheid=yes
   17496 else $as_nop
   17497   eval $cacheid=no
   17498 fi
   17499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17500     conftest$ac_exeext conftest.$ac_ext
   17501 fi
   17502 
   17503 
   17504 		CFLAGS="$xorg_testset_save_CFLAGS"
   17505 
   17506 		eval supported=\$$cacheid
   17507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17508 printf "%s\n" "$supported" >&6; }
   17509 		if test "$supported" = "yes" ; then
   17510 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17511 			found="yes"
   17512 		fi
   17513 	fi
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 xorg_testset_save_CFLAGS="$CFLAGS"
   17530 
   17531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17533 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17534 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17535 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17536 then :
   17537   printf %s "(cached) " >&6
   17538 else $as_nop
   17539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17540 /* end confdefs.h.  */
   17541 int i;
   17542 _ACEOF
   17543 if ac_fn_c_try_compile "$LINENO"
   17544 then :
   17545   xorg_cv_cc_flag_unknown_warning_option=yes
   17546 else $as_nop
   17547   xorg_cv_cc_flag_unknown_warning_option=no
   17548 fi
   17549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17550 fi
   17551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17552 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17554 	CFLAGS="$xorg_testset_save_CFLAGS"
   17555 fi
   17556 
   17557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17560 	fi
   17561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17562 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17563 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17564 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17565 then :
   17566   printf %s "(cached) " >&6
   17567 else $as_nop
   17568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17569 /* end confdefs.h.  */
   17570 int i;
   17571 _ACEOF
   17572 if ac_fn_c_try_compile "$LINENO"
   17573 then :
   17574   xorg_cv_cc_flag_unused_command_line_argument=yes
   17575 else $as_nop
   17576   xorg_cv_cc_flag_unused_command_line_argument=no
   17577 fi
   17578 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17579 fi
   17580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17581 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17583 	CFLAGS="$xorg_testset_save_CFLAGS"
   17584 fi
   17585 
   17586 found="no"
   17587 
   17588 	if test $found = "no" ; then
   17589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17591 		fi
   17592 
   17593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17595 		fi
   17596 
   17597 		CFLAGS="$CFLAGS -Wmain"
   17598 
   17599 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17600 printf %s "checking if $CC supports -Wmain... " >&6; }
   17601 		cacheid=xorg_cv_cc_flag__Wmain
   17602 		if eval test \${$cacheid+y}
   17603 then :
   17604   printf %s "(cached) " >&6
   17605 else $as_nop
   17606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17607 /* end confdefs.h.  */
   17608 int i;
   17609 int
   17610 main (void)
   17611 {
   17612 
   17613   ;
   17614   return 0;
   17615 }
   17616 _ACEOF
   17617 if ac_fn_c_try_link "$LINENO"
   17618 then :
   17619   eval $cacheid=yes
   17620 else $as_nop
   17621   eval $cacheid=no
   17622 fi
   17623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17624     conftest$ac_exeext conftest.$ac_ext
   17625 fi
   17626 
   17627 
   17628 		CFLAGS="$xorg_testset_save_CFLAGS"
   17629 
   17630 		eval supported=\$$cacheid
   17631 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17632 printf "%s\n" "$supported" >&6; }
   17633 		if test "$supported" = "yes" ; then
   17634 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17635 			found="yes"
   17636 		fi
   17637 	fi
   17638 
   17639 
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 xorg_testset_save_CFLAGS="$CFLAGS"
   17654 
   17655 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17656 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17657 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17658 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17659 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17660 then :
   17661   printf %s "(cached) " >&6
   17662 else $as_nop
   17663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17664 /* end confdefs.h.  */
   17665 int i;
   17666 _ACEOF
   17667 if ac_fn_c_try_compile "$LINENO"
   17668 then :
   17669   xorg_cv_cc_flag_unknown_warning_option=yes
   17670 else $as_nop
   17671   xorg_cv_cc_flag_unknown_warning_option=no
   17672 fi
   17673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17674 fi
   17675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17676 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17677 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17678 	CFLAGS="$xorg_testset_save_CFLAGS"
   17679 fi
   17680 
   17681 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17682 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17683 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17684 	fi
   17685 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17686 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17687 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17688 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17689 then :
   17690   printf %s "(cached) " >&6
   17691 else $as_nop
   17692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17693 /* end confdefs.h.  */
   17694 int i;
   17695 _ACEOF
   17696 if ac_fn_c_try_compile "$LINENO"
   17697 then :
   17698   xorg_cv_cc_flag_unused_command_line_argument=yes
   17699 else $as_nop
   17700   xorg_cv_cc_flag_unused_command_line_argument=no
   17701 fi
   17702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17703 fi
   17704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17705 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17706 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17707 	CFLAGS="$xorg_testset_save_CFLAGS"
   17708 fi
   17709 
   17710 found="no"
   17711 
   17712 	if test $found = "no" ; then
   17713 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17715 		fi
   17716 
   17717 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17719 		fi
   17720 
   17721 		CFLAGS="$CFLAGS -Wmissing-braces"
   17722 
   17723 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17724 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17725 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17726 		if eval test \${$cacheid+y}
   17727 then :
   17728   printf %s "(cached) " >&6
   17729 else $as_nop
   17730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17731 /* end confdefs.h.  */
   17732 int i;
   17733 int
   17734 main (void)
   17735 {
   17736 
   17737   ;
   17738   return 0;
   17739 }
   17740 _ACEOF
   17741 if ac_fn_c_try_link "$LINENO"
   17742 then :
   17743   eval $cacheid=yes
   17744 else $as_nop
   17745   eval $cacheid=no
   17746 fi
   17747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17748     conftest$ac_exeext conftest.$ac_ext
   17749 fi
   17750 
   17751 
   17752 		CFLAGS="$xorg_testset_save_CFLAGS"
   17753 
   17754 		eval supported=\$$cacheid
   17755 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17756 printf "%s\n" "$supported" >&6; }
   17757 		if test "$supported" = "yes" ; then
   17758 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17759 			found="yes"
   17760 		fi
   17761 	fi
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 xorg_testset_save_CFLAGS="$CFLAGS"
   17778 
   17779 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17780 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17781 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17782 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17783 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17784 then :
   17785   printf %s "(cached) " >&6
   17786 else $as_nop
   17787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17788 /* end confdefs.h.  */
   17789 int i;
   17790 _ACEOF
   17791 if ac_fn_c_try_compile "$LINENO"
   17792 then :
   17793   xorg_cv_cc_flag_unknown_warning_option=yes
   17794 else $as_nop
   17795   xorg_cv_cc_flag_unknown_warning_option=no
   17796 fi
   17797 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17798 fi
   17799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17800 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17801 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17802 	CFLAGS="$xorg_testset_save_CFLAGS"
   17803 fi
   17804 
   17805 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17806 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17807 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17808 	fi
   17809 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17810 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17811 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17812 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17813 then :
   17814   printf %s "(cached) " >&6
   17815 else $as_nop
   17816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17817 /* end confdefs.h.  */
   17818 int i;
   17819 _ACEOF
   17820 if ac_fn_c_try_compile "$LINENO"
   17821 then :
   17822   xorg_cv_cc_flag_unused_command_line_argument=yes
   17823 else $as_nop
   17824   xorg_cv_cc_flag_unused_command_line_argument=no
   17825 fi
   17826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17827 fi
   17828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17829 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17830 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17831 	CFLAGS="$xorg_testset_save_CFLAGS"
   17832 fi
   17833 
   17834 found="no"
   17835 
   17836 	if test $found = "no" ; then
   17837 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17839 		fi
   17840 
   17841 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17843 		fi
   17844 
   17845 		CFLAGS="$CFLAGS -Wsequence-point"
   17846 
   17847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17848 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17849 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17850 		if eval test \${$cacheid+y}
   17851 then :
   17852   printf %s "(cached) " >&6
   17853 else $as_nop
   17854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17855 /* end confdefs.h.  */
   17856 int i;
   17857 int
   17858 main (void)
   17859 {
   17860 
   17861   ;
   17862   return 0;
   17863 }
   17864 _ACEOF
   17865 if ac_fn_c_try_link "$LINENO"
   17866 then :
   17867   eval $cacheid=yes
   17868 else $as_nop
   17869   eval $cacheid=no
   17870 fi
   17871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17872     conftest$ac_exeext conftest.$ac_ext
   17873 fi
   17874 
   17875 
   17876 		CFLAGS="$xorg_testset_save_CFLAGS"
   17877 
   17878 		eval supported=\$$cacheid
   17879 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17880 printf "%s\n" "$supported" >&6; }
   17881 		if test "$supported" = "yes" ; then
   17882 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17883 			found="yes"
   17884 		fi
   17885 	fi
   17886 
   17887 
   17888 
   17889 
   17890 
   17891 
   17892 
   17893 
   17894 
   17895 
   17896 
   17897 
   17898 
   17899 
   17900 
   17901 xorg_testset_save_CFLAGS="$CFLAGS"
   17902 
   17903 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17905 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17906 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17907 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17908 then :
   17909   printf %s "(cached) " >&6
   17910 else $as_nop
   17911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17912 /* end confdefs.h.  */
   17913 int i;
   17914 _ACEOF
   17915 if ac_fn_c_try_compile "$LINENO"
   17916 then :
   17917   xorg_cv_cc_flag_unknown_warning_option=yes
   17918 else $as_nop
   17919   xorg_cv_cc_flag_unknown_warning_option=no
   17920 fi
   17921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17922 fi
   17923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17924 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17926 	CFLAGS="$xorg_testset_save_CFLAGS"
   17927 fi
   17928 
   17929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17932 	fi
   17933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17934 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17935 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17936 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17937 then :
   17938   printf %s "(cached) " >&6
   17939 else $as_nop
   17940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17941 /* end confdefs.h.  */
   17942 int i;
   17943 _ACEOF
   17944 if ac_fn_c_try_compile "$LINENO"
   17945 then :
   17946   xorg_cv_cc_flag_unused_command_line_argument=yes
   17947 else $as_nop
   17948   xorg_cv_cc_flag_unused_command_line_argument=no
   17949 fi
   17950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17951 fi
   17952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17953 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17954 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17955 	CFLAGS="$xorg_testset_save_CFLAGS"
   17956 fi
   17957 
   17958 found="no"
   17959 
   17960 	if test $found = "no" ; then
   17961 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17963 		fi
   17964 
   17965 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17967 		fi
   17968 
   17969 		CFLAGS="$CFLAGS -Wreturn-type"
   17970 
   17971 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17972 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17973 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17974 		if eval test \${$cacheid+y}
   17975 then :
   17976   printf %s "(cached) " >&6
   17977 else $as_nop
   17978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17979 /* end confdefs.h.  */
   17980 int i;
   17981 int
   17982 main (void)
   17983 {
   17984 
   17985   ;
   17986   return 0;
   17987 }
   17988 _ACEOF
   17989 if ac_fn_c_try_link "$LINENO"
   17990 then :
   17991   eval $cacheid=yes
   17992 else $as_nop
   17993   eval $cacheid=no
   17994 fi
   17995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17996     conftest$ac_exeext conftest.$ac_ext
   17997 fi
   17998 
   17999 
   18000 		CFLAGS="$xorg_testset_save_CFLAGS"
   18001 
   18002 		eval supported=\$$cacheid
   18003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18004 printf "%s\n" "$supported" >&6; }
   18005 		if test "$supported" = "yes" ; then
   18006 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18007 			found="yes"
   18008 		fi
   18009 	fi
   18010 
   18011 
   18012 
   18013 
   18014 
   18015 
   18016 
   18017 
   18018 
   18019 
   18020 
   18021 
   18022 
   18023 
   18024 
   18025 xorg_testset_save_CFLAGS="$CFLAGS"
   18026 
   18027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18029 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18030 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18031 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18032 then :
   18033   printf %s "(cached) " >&6
   18034 else $as_nop
   18035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18036 /* end confdefs.h.  */
   18037 int i;
   18038 _ACEOF
   18039 if ac_fn_c_try_compile "$LINENO"
   18040 then :
   18041   xorg_cv_cc_flag_unknown_warning_option=yes
   18042 else $as_nop
   18043   xorg_cv_cc_flag_unknown_warning_option=no
   18044 fi
   18045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18046 fi
   18047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18048 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18049 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18050 	CFLAGS="$xorg_testset_save_CFLAGS"
   18051 fi
   18052 
   18053 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18054 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18055 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18056 	fi
   18057 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18058 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18059 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18060 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18061 then :
   18062   printf %s "(cached) " >&6
   18063 else $as_nop
   18064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18065 /* end confdefs.h.  */
   18066 int i;
   18067 _ACEOF
   18068 if ac_fn_c_try_compile "$LINENO"
   18069 then :
   18070   xorg_cv_cc_flag_unused_command_line_argument=yes
   18071 else $as_nop
   18072   xorg_cv_cc_flag_unused_command_line_argument=no
   18073 fi
   18074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18075 fi
   18076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18077 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18079 	CFLAGS="$xorg_testset_save_CFLAGS"
   18080 fi
   18081 
   18082 found="no"
   18083 
   18084 	if test $found = "no" ; then
   18085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18087 		fi
   18088 
   18089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18091 		fi
   18092 
   18093 		CFLAGS="$CFLAGS -Wtrigraphs"
   18094 
   18095 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18096 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18097 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18098 		if eval test \${$cacheid+y}
   18099 then :
   18100   printf %s "(cached) " >&6
   18101 else $as_nop
   18102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18103 /* end confdefs.h.  */
   18104 int i;
   18105 int
   18106 main (void)
   18107 {
   18108 
   18109   ;
   18110   return 0;
   18111 }
   18112 _ACEOF
   18113 if ac_fn_c_try_link "$LINENO"
   18114 then :
   18115   eval $cacheid=yes
   18116 else $as_nop
   18117   eval $cacheid=no
   18118 fi
   18119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18120     conftest$ac_exeext conftest.$ac_ext
   18121 fi
   18122 
   18123 
   18124 		CFLAGS="$xorg_testset_save_CFLAGS"
   18125 
   18126 		eval supported=\$$cacheid
   18127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18128 printf "%s\n" "$supported" >&6; }
   18129 		if test "$supported" = "yes" ; then
   18130 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18131 			found="yes"
   18132 		fi
   18133 	fi
   18134 
   18135 
   18136 
   18137 
   18138 
   18139 
   18140 
   18141 
   18142 
   18143 
   18144 
   18145 
   18146 
   18147 
   18148 
   18149 xorg_testset_save_CFLAGS="$CFLAGS"
   18150 
   18151 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18152 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18153 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18154 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18155 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18156 then :
   18157   printf %s "(cached) " >&6
   18158 else $as_nop
   18159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18160 /* end confdefs.h.  */
   18161 int i;
   18162 _ACEOF
   18163 if ac_fn_c_try_compile "$LINENO"
   18164 then :
   18165   xorg_cv_cc_flag_unknown_warning_option=yes
   18166 else $as_nop
   18167   xorg_cv_cc_flag_unknown_warning_option=no
   18168 fi
   18169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18170 fi
   18171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18172 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18174 	CFLAGS="$xorg_testset_save_CFLAGS"
   18175 fi
   18176 
   18177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18180 	fi
   18181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18182 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18183 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18184 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18185 then :
   18186   printf %s "(cached) " >&6
   18187 else $as_nop
   18188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18189 /* end confdefs.h.  */
   18190 int i;
   18191 _ACEOF
   18192 if ac_fn_c_try_compile "$LINENO"
   18193 then :
   18194   xorg_cv_cc_flag_unused_command_line_argument=yes
   18195 else $as_nop
   18196   xorg_cv_cc_flag_unused_command_line_argument=no
   18197 fi
   18198 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18199 fi
   18200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18201 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18203 	CFLAGS="$xorg_testset_save_CFLAGS"
   18204 fi
   18205 
   18206 found="no"
   18207 
   18208 	if test $found = "no" ; then
   18209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18211 		fi
   18212 
   18213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18215 		fi
   18216 
   18217 		CFLAGS="$CFLAGS -Warray-bounds"
   18218 
   18219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18220 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18221 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18222 		if eval test \${$cacheid+y}
   18223 then :
   18224   printf %s "(cached) " >&6
   18225 else $as_nop
   18226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18227 /* end confdefs.h.  */
   18228 int i;
   18229 int
   18230 main (void)
   18231 {
   18232 
   18233   ;
   18234   return 0;
   18235 }
   18236 _ACEOF
   18237 if ac_fn_c_try_link "$LINENO"
   18238 then :
   18239   eval $cacheid=yes
   18240 else $as_nop
   18241   eval $cacheid=no
   18242 fi
   18243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18244     conftest$ac_exeext conftest.$ac_ext
   18245 fi
   18246 
   18247 
   18248 		CFLAGS="$xorg_testset_save_CFLAGS"
   18249 
   18250 		eval supported=\$$cacheid
   18251 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18252 printf "%s\n" "$supported" >&6; }
   18253 		if test "$supported" = "yes" ; then
   18254 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18255 			found="yes"
   18256 		fi
   18257 	fi
   18258 
   18259 
   18260 
   18261 
   18262 
   18263 
   18264 
   18265 
   18266 
   18267 
   18268 
   18269 
   18270 
   18271 
   18272 
   18273 xorg_testset_save_CFLAGS="$CFLAGS"
   18274 
   18275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18278 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18279 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18280 then :
   18281   printf %s "(cached) " >&6
   18282 else $as_nop
   18283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18284 /* end confdefs.h.  */
   18285 int i;
   18286 _ACEOF
   18287 if ac_fn_c_try_compile "$LINENO"
   18288 then :
   18289   xorg_cv_cc_flag_unknown_warning_option=yes
   18290 else $as_nop
   18291   xorg_cv_cc_flag_unknown_warning_option=no
   18292 fi
   18293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18294 fi
   18295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18296 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18298 	CFLAGS="$xorg_testset_save_CFLAGS"
   18299 fi
   18300 
   18301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18304 	fi
   18305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18306 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18307 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18308 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18309 then :
   18310   printf %s "(cached) " >&6
   18311 else $as_nop
   18312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18313 /* end confdefs.h.  */
   18314 int i;
   18315 _ACEOF
   18316 if ac_fn_c_try_compile "$LINENO"
   18317 then :
   18318   xorg_cv_cc_flag_unused_command_line_argument=yes
   18319 else $as_nop
   18320   xorg_cv_cc_flag_unused_command_line_argument=no
   18321 fi
   18322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18323 fi
   18324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18325 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18327 	CFLAGS="$xorg_testset_save_CFLAGS"
   18328 fi
   18329 
   18330 found="no"
   18331 
   18332 	if test $found = "no" ; then
   18333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18335 		fi
   18336 
   18337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18339 		fi
   18340 
   18341 		CFLAGS="$CFLAGS -Wwrite-strings"
   18342 
   18343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18344 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18345 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18346 		if eval test \${$cacheid+y}
   18347 then :
   18348   printf %s "(cached) " >&6
   18349 else $as_nop
   18350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18351 /* end confdefs.h.  */
   18352 int i;
   18353 int
   18354 main (void)
   18355 {
   18356 
   18357   ;
   18358   return 0;
   18359 }
   18360 _ACEOF
   18361 if ac_fn_c_try_link "$LINENO"
   18362 then :
   18363   eval $cacheid=yes
   18364 else $as_nop
   18365   eval $cacheid=no
   18366 fi
   18367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18368     conftest$ac_exeext conftest.$ac_ext
   18369 fi
   18370 
   18371 
   18372 		CFLAGS="$xorg_testset_save_CFLAGS"
   18373 
   18374 		eval supported=\$$cacheid
   18375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18376 printf "%s\n" "$supported" >&6; }
   18377 		if test "$supported" = "yes" ; then
   18378 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18379 			found="yes"
   18380 		fi
   18381 	fi
   18382 
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 
   18393 
   18394 
   18395 
   18396 
   18397 xorg_testset_save_CFLAGS="$CFLAGS"
   18398 
   18399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18400 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18401 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18402 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18403 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18404 then :
   18405   printf %s "(cached) " >&6
   18406 else $as_nop
   18407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18408 /* end confdefs.h.  */
   18409 int i;
   18410 _ACEOF
   18411 if ac_fn_c_try_compile "$LINENO"
   18412 then :
   18413   xorg_cv_cc_flag_unknown_warning_option=yes
   18414 else $as_nop
   18415   xorg_cv_cc_flag_unknown_warning_option=no
   18416 fi
   18417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18418 fi
   18419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18420 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18421 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18422 	CFLAGS="$xorg_testset_save_CFLAGS"
   18423 fi
   18424 
   18425 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18426 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18427 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18428 	fi
   18429 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18430 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18431 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18432 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18433 then :
   18434   printf %s "(cached) " >&6
   18435 else $as_nop
   18436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18437 /* end confdefs.h.  */
   18438 int i;
   18439 _ACEOF
   18440 if ac_fn_c_try_compile "$LINENO"
   18441 then :
   18442   xorg_cv_cc_flag_unused_command_line_argument=yes
   18443 else $as_nop
   18444   xorg_cv_cc_flag_unused_command_line_argument=no
   18445 fi
   18446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18447 fi
   18448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18449 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18451 	CFLAGS="$xorg_testset_save_CFLAGS"
   18452 fi
   18453 
   18454 found="no"
   18455 
   18456 	if test $found = "no" ; then
   18457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18459 		fi
   18460 
   18461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18463 		fi
   18464 
   18465 		CFLAGS="$CFLAGS -Waddress"
   18466 
   18467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18468 printf %s "checking if $CC supports -Waddress... " >&6; }
   18469 		cacheid=xorg_cv_cc_flag__Waddress
   18470 		if eval test \${$cacheid+y}
   18471 then :
   18472   printf %s "(cached) " >&6
   18473 else $as_nop
   18474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18475 /* end confdefs.h.  */
   18476 int i;
   18477 int
   18478 main (void)
   18479 {
   18480 
   18481   ;
   18482   return 0;
   18483 }
   18484 _ACEOF
   18485 if ac_fn_c_try_link "$LINENO"
   18486 then :
   18487   eval $cacheid=yes
   18488 else $as_nop
   18489   eval $cacheid=no
   18490 fi
   18491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18492     conftest$ac_exeext conftest.$ac_ext
   18493 fi
   18494 
   18495 
   18496 		CFLAGS="$xorg_testset_save_CFLAGS"
   18497 
   18498 		eval supported=\$$cacheid
   18499 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18500 printf "%s\n" "$supported" >&6; }
   18501 		if test "$supported" = "yes" ; then
   18502 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18503 			found="yes"
   18504 		fi
   18505 	fi
   18506 
   18507 
   18508 
   18509 
   18510 
   18511 
   18512 
   18513 
   18514 
   18515 
   18516 
   18517 
   18518 
   18519 
   18520 
   18521 xorg_testset_save_CFLAGS="$CFLAGS"
   18522 
   18523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18524 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18525 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18526 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18527 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18528 then :
   18529   printf %s "(cached) " >&6
   18530 else $as_nop
   18531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18532 /* end confdefs.h.  */
   18533 int i;
   18534 _ACEOF
   18535 if ac_fn_c_try_compile "$LINENO"
   18536 then :
   18537   xorg_cv_cc_flag_unknown_warning_option=yes
   18538 else $as_nop
   18539   xorg_cv_cc_flag_unknown_warning_option=no
   18540 fi
   18541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18542 fi
   18543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18544 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18545 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18546 	CFLAGS="$xorg_testset_save_CFLAGS"
   18547 fi
   18548 
   18549 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18550 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18551 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18552 	fi
   18553 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18554 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18555 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18556 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18557 then :
   18558   printf %s "(cached) " >&6
   18559 else $as_nop
   18560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18561 /* end confdefs.h.  */
   18562 int i;
   18563 _ACEOF
   18564 if ac_fn_c_try_compile "$LINENO"
   18565 then :
   18566   xorg_cv_cc_flag_unused_command_line_argument=yes
   18567 else $as_nop
   18568   xorg_cv_cc_flag_unused_command_line_argument=no
   18569 fi
   18570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18571 fi
   18572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18573 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18574 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18575 	CFLAGS="$xorg_testset_save_CFLAGS"
   18576 fi
   18577 
   18578 found="no"
   18579 
   18580 	if test $found = "no" ; then
   18581 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18582 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18583 		fi
   18584 
   18585 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18586 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18587 		fi
   18588 
   18589 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18590 
   18591 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18592 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18593 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18594 		if eval test \${$cacheid+y}
   18595 then :
   18596   printf %s "(cached) " >&6
   18597 else $as_nop
   18598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18599 /* end confdefs.h.  */
   18600 int i;
   18601 int
   18602 main (void)
   18603 {
   18604 
   18605   ;
   18606   return 0;
   18607 }
   18608 _ACEOF
   18609 if ac_fn_c_try_link "$LINENO"
   18610 then :
   18611   eval $cacheid=yes
   18612 else $as_nop
   18613   eval $cacheid=no
   18614 fi
   18615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18616     conftest$ac_exeext conftest.$ac_ext
   18617 fi
   18618 
   18619 
   18620 		CFLAGS="$xorg_testset_save_CFLAGS"
   18621 
   18622 		eval supported=\$$cacheid
   18623 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18624 printf "%s\n" "$supported" >&6; }
   18625 		if test "$supported" = "yes" ; then
   18626 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18627 			found="yes"
   18628 		fi
   18629 	fi
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 
   18637 
   18638 
   18639 
   18640 
   18641 
   18642 
   18643 
   18644 
   18645 xorg_testset_save_CFLAGS="$CFLAGS"
   18646 
   18647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18649 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18650 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18651 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18652 then :
   18653   printf %s "(cached) " >&6
   18654 else $as_nop
   18655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18656 /* end confdefs.h.  */
   18657 int i;
   18658 _ACEOF
   18659 if ac_fn_c_try_compile "$LINENO"
   18660 then :
   18661   xorg_cv_cc_flag_unknown_warning_option=yes
   18662 else $as_nop
   18663   xorg_cv_cc_flag_unknown_warning_option=no
   18664 fi
   18665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18666 fi
   18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18668 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18670 	CFLAGS="$xorg_testset_save_CFLAGS"
   18671 fi
   18672 
   18673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18676 	fi
   18677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18678 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18679 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18680 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18681 then :
   18682   printf %s "(cached) " >&6
   18683 else $as_nop
   18684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18685 /* end confdefs.h.  */
   18686 int i;
   18687 _ACEOF
   18688 if ac_fn_c_try_compile "$LINENO"
   18689 then :
   18690   xorg_cv_cc_flag_unused_command_line_argument=yes
   18691 else $as_nop
   18692   xorg_cv_cc_flag_unused_command_line_argument=no
   18693 fi
   18694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18695 fi
   18696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18697 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18699 	CFLAGS="$xorg_testset_save_CFLAGS"
   18700 fi
   18701 
   18702 found="no"
   18703 
   18704 	if test $found = "no" ; then
   18705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18707 		fi
   18708 
   18709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18711 		fi
   18712 
   18713 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18714 
   18715 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18716 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18717 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18718 		if eval test \${$cacheid+y}
   18719 then :
   18720   printf %s "(cached) " >&6
   18721 else $as_nop
   18722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18723 /* end confdefs.h.  */
   18724 int i;
   18725 int
   18726 main (void)
   18727 {
   18728 
   18729   ;
   18730   return 0;
   18731 }
   18732 _ACEOF
   18733 if ac_fn_c_try_link "$LINENO"
   18734 then :
   18735   eval $cacheid=yes
   18736 else $as_nop
   18737   eval $cacheid=no
   18738 fi
   18739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18740     conftest$ac_exeext conftest.$ac_ext
   18741 fi
   18742 
   18743 
   18744 		CFLAGS="$xorg_testset_save_CFLAGS"
   18745 
   18746 		eval supported=\$$cacheid
   18747 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18748 printf "%s\n" "$supported" >&6; }
   18749 		if test "$supported" = "yes" ; then
   18750 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18751 			found="yes"
   18752 		fi
   18753 	fi
   18754 
   18755 
   18756 fi
   18757 
   18758 
   18759 
   18760 
   18761 
   18762 
   18763 
   18764 		CWARNFLAGS="$BASE_CFLAGS"
   18765 		if  test "x$GCC" = xyes ; then
   18766 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18767 		fi
   18768 
   18769 
   18770 
   18771 
   18772 
   18773 
   18774 
   18775 
   18776 # Check whether --enable-strict-compilation was given.
   18777 if test ${enable_strict_compilation+y}
   18778 then :
   18779   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18780 else $as_nop
   18781   STRICT_COMPILE=no
   18782 fi
   18783 
   18784 
   18785 
   18786 
   18787 
   18788 
   18789 STRICT_CFLAGS=""
   18790 
   18791 
   18792 
   18793 
   18794 
   18795 
   18796 
   18797 
   18798 
   18799 
   18800 
   18801 
   18802 
   18803 xorg_testset_save_CFLAGS="$CFLAGS"
   18804 
   18805 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18806 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18807 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18808 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18809 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18810 then :
   18811   printf %s "(cached) " >&6
   18812 else $as_nop
   18813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18814 /* end confdefs.h.  */
   18815 int i;
   18816 _ACEOF
   18817 if ac_fn_c_try_compile "$LINENO"
   18818 then :
   18819   xorg_cv_cc_flag_unknown_warning_option=yes
   18820 else $as_nop
   18821   xorg_cv_cc_flag_unknown_warning_option=no
   18822 fi
   18823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18824 fi
   18825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18826 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18827 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18828 	CFLAGS="$xorg_testset_save_CFLAGS"
   18829 fi
   18830 
   18831 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18832 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18833 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18834 	fi
   18835 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18836 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18837 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18838 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18839 then :
   18840   printf %s "(cached) " >&6
   18841 else $as_nop
   18842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18843 /* end confdefs.h.  */
   18844 int i;
   18845 _ACEOF
   18846 if ac_fn_c_try_compile "$LINENO"
   18847 then :
   18848   xorg_cv_cc_flag_unused_command_line_argument=yes
   18849 else $as_nop
   18850   xorg_cv_cc_flag_unused_command_line_argument=no
   18851 fi
   18852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18853 fi
   18854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18855 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18857 	CFLAGS="$xorg_testset_save_CFLAGS"
   18858 fi
   18859 
   18860 found="no"
   18861 
   18862 	if test $found = "no" ; then
   18863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18865 		fi
   18866 
   18867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18869 		fi
   18870 
   18871 		CFLAGS="$CFLAGS -pedantic"
   18872 
   18873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18874 printf %s "checking if $CC supports -pedantic... " >&6; }
   18875 		cacheid=xorg_cv_cc_flag__pedantic
   18876 		if eval test \${$cacheid+y}
   18877 then :
   18878   printf %s "(cached) " >&6
   18879 else $as_nop
   18880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18881 /* end confdefs.h.  */
   18882 int i;
   18883 int
   18884 main (void)
   18885 {
   18886 
   18887   ;
   18888   return 0;
   18889 }
   18890 _ACEOF
   18891 if ac_fn_c_try_link "$LINENO"
   18892 then :
   18893   eval $cacheid=yes
   18894 else $as_nop
   18895   eval $cacheid=no
   18896 fi
   18897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18898     conftest$ac_exeext conftest.$ac_ext
   18899 fi
   18900 
   18901 
   18902 		CFLAGS="$xorg_testset_save_CFLAGS"
   18903 
   18904 		eval supported=\$$cacheid
   18905 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18906 printf "%s\n" "$supported" >&6; }
   18907 		if test "$supported" = "yes" ; then
   18908 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18909 			found="yes"
   18910 		fi
   18911 	fi
   18912 
   18913 
   18914 
   18915 
   18916 
   18917 
   18918 
   18919 
   18920 
   18921 
   18922 
   18923 
   18924 
   18925 
   18926 
   18927 xorg_testset_save_CFLAGS="$CFLAGS"
   18928 
   18929 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18930 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18932 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18933 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18934 then :
   18935   printf %s "(cached) " >&6
   18936 else $as_nop
   18937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18938 /* end confdefs.h.  */
   18939 int i;
   18940 _ACEOF
   18941 if ac_fn_c_try_compile "$LINENO"
   18942 then :
   18943   xorg_cv_cc_flag_unknown_warning_option=yes
   18944 else $as_nop
   18945   xorg_cv_cc_flag_unknown_warning_option=no
   18946 fi
   18947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18948 fi
   18949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18950 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18952 	CFLAGS="$xorg_testset_save_CFLAGS"
   18953 fi
   18954 
   18955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18958 	fi
   18959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18961 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18962 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18963 then :
   18964   printf %s "(cached) " >&6
   18965 else $as_nop
   18966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18967 /* end confdefs.h.  */
   18968 int i;
   18969 _ACEOF
   18970 if ac_fn_c_try_compile "$LINENO"
   18971 then :
   18972   xorg_cv_cc_flag_unused_command_line_argument=yes
   18973 else $as_nop
   18974   xorg_cv_cc_flag_unused_command_line_argument=no
   18975 fi
   18976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18977 fi
   18978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18979 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18981 	CFLAGS="$xorg_testset_save_CFLAGS"
   18982 fi
   18983 
   18984 found="no"
   18985 
   18986 	if test $found = "no" ; then
   18987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18989 		fi
   18990 
   18991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18993 		fi
   18994 
   18995 		CFLAGS="$CFLAGS -Werror"
   18996 
   18997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18998 printf %s "checking if $CC supports -Werror... " >&6; }
   18999 		cacheid=xorg_cv_cc_flag__Werror
   19000 		if eval test \${$cacheid+y}
   19001 then :
   19002   printf %s "(cached) " >&6
   19003 else $as_nop
   19004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19005 /* end confdefs.h.  */
   19006 int i;
   19007 int
   19008 main (void)
   19009 {
   19010 
   19011   ;
   19012   return 0;
   19013 }
   19014 _ACEOF
   19015 if ac_fn_c_try_link "$LINENO"
   19016 then :
   19017   eval $cacheid=yes
   19018 else $as_nop
   19019   eval $cacheid=no
   19020 fi
   19021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19022     conftest$ac_exeext conftest.$ac_ext
   19023 fi
   19024 
   19025 
   19026 		CFLAGS="$xorg_testset_save_CFLAGS"
   19027 
   19028 		eval supported=\$$cacheid
   19029 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19030 printf "%s\n" "$supported" >&6; }
   19031 		if test "$supported" = "yes" ; then
   19032 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   19033 			found="yes"
   19034 		fi
   19035 	fi
   19036 
   19037 	if test $found = "no" ; then
   19038 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19040 		fi
   19041 
   19042 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19044 		fi
   19045 
   19046 		CFLAGS="$CFLAGS -errwarn"
   19047 
   19048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   19049 printf %s "checking if $CC supports -errwarn... " >&6; }
   19050 		cacheid=xorg_cv_cc_flag__errwarn
   19051 		if eval test \${$cacheid+y}
   19052 then :
   19053   printf %s "(cached) " >&6
   19054 else $as_nop
   19055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19056 /* end confdefs.h.  */
   19057 int i;
   19058 int
   19059 main (void)
   19060 {
   19061 
   19062   ;
   19063   return 0;
   19064 }
   19065 _ACEOF
   19066 if ac_fn_c_try_link "$LINENO"
   19067 then :
   19068   eval $cacheid=yes
   19069 else $as_nop
   19070   eval $cacheid=no
   19071 fi
   19072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19073     conftest$ac_exeext conftest.$ac_ext
   19074 fi
   19075 
   19076 
   19077 		CFLAGS="$xorg_testset_save_CFLAGS"
   19078 
   19079 		eval supported=\$$cacheid
   19080 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19081 printf "%s\n" "$supported" >&6; }
   19082 		if test "$supported" = "yes" ; then
   19083 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19084 			found="yes"
   19085 		fi
   19086 	fi
   19087 
   19088 
   19089 
   19090 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19091 # activate it with -Werror, so we add it here explicitly.
   19092 
   19093 
   19094 
   19095 
   19096 
   19097 
   19098 
   19099 
   19100 
   19101 
   19102 
   19103 
   19104 
   19105 xorg_testset_save_CFLAGS="$CFLAGS"
   19106 
   19107 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19108 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19109 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19110 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19111 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19112 then :
   19113   printf %s "(cached) " >&6
   19114 else $as_nop
   19115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19116 /* end confdefs.h.  */
   19117 int i;
   19118 _ACEOF
   19119 if ac_fn_c_try_compile "$LINENO"
   19120 then :
   19121   xorg_cv_cc_flag_unknown_warning_option=yes
   19122 else $as_nop
   19123   xorg_cv_cc_flag_unknown_warning_option=no
   19124 fi
   19125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19126 fi
   19127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19128 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19129 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19130 	CFLAGS="$xorg_testset_save_CFLAGS"
   19131 fi
   19132 
   19133 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19134 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19135 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19136 	fi
   19137 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19138 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19139 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19140 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19141 then :
   19142   printf %s "(cached) " >&6
   19143 else $as_nop
   19144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19145 /* end confdefs.h.  */
   19146 int i;
   19147 _ACEOF
   19148 if ac_fn_c_try_compile "$LINENO"
   19149 then :
   19150   xorg_cv_cc_flag_unused_command_line_argument=yes
   19151 else $as_nop
   19152   xorg_cv_cc_flag_unused_command_line_argument=no
   19153 fi
   19154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19155 fi
   19156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19157 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19159 	CFLAGS="$xorg_testset_save_CFLAGS"
   19160 fi
   19161 
   19162 found="no"
   19163 
   19164 	if test $found = "no" ; then
   19165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19167 		fi
   19168 
   19169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19171 		fi
   19172 
   19173 		CFLAGS="$CFLAGS -Werror=attributes"
   19174 
   19175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19176 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19177 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19178 		if eval test \${$cacheid+y}
   19179 then :
   19180   printf %s "(cached) " >&6
   19181 else $as_nop
   19182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19183 /* end confdefs.h.  */
   19184 int i;
   19185 int
   19186 main (void)
   19187 {
   19188 
   19189   ;
   19190   return 0;
   19191 }
   19192 _ACEOF
   19193 if ac_fn_c_try_link "$LINENO"
   19194 then :
   19195   eval $cacheid=yes
   19196 else $as_nop
   19197   eval $cacheid=no
   19198 fi
   19199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19200     conftest$ac_exeext conftest.$ac_ext
   19201 fi
   19202 
   19203 
   19204 		CFLAGS="$xorg_testset_save_CFLAGS"
   19205 
   19206 		eval supported=\$$cacheid
   19207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19208 printf "%s\n" "$supported" >&6; }
   19209 		if test "$supported" = "yes" ; then
   19210 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19211 			found="yes"
   19212 		fi
   19213 	fi
   19214 
   19215 
   19216 
   19217 if test "x$STRICT_COMPILE" = "xyes"; then
   19218     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19219     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19220 fi
   19221 
   19222 
   19223 
   19224 
   19225 
   19226 
   19227 cat >>confdefs.h <<_ACEOF
   19228 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19229 _ACEOF
   19230 
   19231 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19232 	if test "x$PVM" = "x"; then
   19233 		PVM="0"
   19234 	fi
   19235 
   19236 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19237 
   19238 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19239 	if test "x$PVP" = "x"; then
   19240 		PVP="0"
   19241 	fi
   19242 
   19243 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19244 
   19245 
   19246 
   19247 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19248 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19249 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19250 touch \$(top_srcdir)/ChangeLog; \
   19251 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19252 
   19253 
   19254 
   19255 
   19256 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19257 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19258 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19259 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19260 touch \$(top_srcdir)/INSTALL; \
   19261 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19262 
   19263 
   19264 
   19265 
   19266 
   19267 
   19268 case $host_os in
   19269     solaris*)
   19270         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19271         # check for a man page file found in later versions that use
   19272         # traditional section numbers instead
   19273         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19274 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19275 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19276 then :
   19277   printf %s "(cached) " >&6
   19278 else $as_nop
   19279   test "$cross_compiling" = yes &&
   19280   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19281 if test -r "/usr/share/man/man7/attributes.7"; then
   19282   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19283 else
   19284   ac_cv_file__usr_share_man_man7_attributes_7=no
   19285 fi
   19286 fi
   19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19288 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19289 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19290 then :
   19291   SYSV_MAN_SECTIONS=false
   19292 else $as_nop
   19293   SYSV_MAN_SECTIONS=true
   19294 fi
   19295 
   19296         ;;
   19297     *) SYSV_MAN_SECTIONS=false ;;
   19298 esac
   19299 
   19300 if test x$APP_MAN_SUFFIX = x    ; then
   19301     APP_MAN_SUFFIX=1
   19302 fi
   19303 if test x$APP_MAN_DIR = x    ; then
   19304     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19305 fi
   19306 
   19307 if test x$LIB_MAN_SUFFIX = x    ; then
   19308     LIB_MAN_SUFFIX=3
   19309 fi
   19310 if test x$LIB_MAN_DIR = x    ; then
   19311     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19312 fi
   19313 
   19314 if test x$FILE_MAN_SUFFIX = x    ; then
   19315     case $SYSV_MAN_SECTIONS in
   19316 	true)				FILE_MAN_SUFFIX=4  ;;
   19317 	*)				FILE_MAN_SUFFIX=5  ;;
   19318     esac
   19319 fi
   19320 if test x$FILE_MAN_DIR = x    ; then
   19321     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19322 fi
   19323 
   19324 if test x$MISC_MAN_SUFFIX = x    ; then
   19325     case $SYSV_MAN_SECTIONS in
   19326 	true)				MISC_MAN_SUFFIX=5  ;;
   19327 	*)				MISC_MAN_SUFFIX=7  ;;
   19328     esac
   19329 fi
   19330 if test x$MISC_MAN_DIR = x    ; then
   19331     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19332 fi
   19333 
   19334 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19335     case $SYSV_MAN_SECTIONS in
   19336 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19337 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19338     esac
   19339 fi
   19340 if test x$DRIVER_MAN_DIR = x    ; then
   19341     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19342 fi
   19343 
   19344 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19345     case $SYSV_MAN_SECTIONS in
   19346 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19347 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19348     esac
   19349 fi
   19350 if test x$ADMIN_MAN_DIR = x    ; then
   19351     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19352 fi
   19353 
   19354 
   19355 
   19356 
   19357 
   19358 
   19359 
   19360 
   19361 
   19362 
   19363 
   19364 
   19365 
   19366 
   19367 
   19368 XORG_MAN_PAGE="X Version 11"
   19369 
   19370 MAN_SUBSTS="\
   19371 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19372 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19373 	-e 's|__xservername__|Xorg|g' \
   19374 	-e 's|__xconfigfile__|xorg.conf|g' \
   19375 	-e 's|__projectroot__|\$(prefix)|g' \
   19376 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19377 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19378 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19379 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19380 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19381 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19382 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19383 
   19384 
   19385 
   19386 # Check whether --enable-silent-rules was given.
   19387 if test ${enable_silent_rules+y}
   19388 then :
   19389   enableval=$enable_silent_rules;
   19390 fi
   19391 
   19392 case $enable_silent_rules in # (((
   19393   yes) AM_DEFAULT_VERBOSITY=0;;
   19394    no) AM_DEFAULT_VERBOSITY=1;;
   19395     *) AM_DEFAULT_VERBOSITY=0;;
   19396 esac
   19397 am_make=${MAKE-make}
   19398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19399 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19400 if test ${am_cv_make_support_nested_variables+y}
   19401 then :
   19402   printf %s "(cached) " >&6
   19403 else $as_nop
   19404   if printf "%s\n" 'TRUE=$(BAR$(V))
   19405 BAR0=false
   19406 BAR1=true
   19407 V=1
   19408 am__doit:
   19409 	@$(TRUE)
   19410 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19411   am_cv_make_support_nested_variables=yes
   19412 else
   19413   am_cv_make_support_nested_variables=no
   19414 fi
   19415 fi
   19416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19417 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19418 if test $am_cv_make_support_nested_variables = yes; then
   19419     AM_V='$(V)'
   19420   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19421 else
   19422   AM_V=$AM_DEFAULT_VERBOSITY
   19423   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19424 fi
   19425 AM_BACKSLASH='\'
   19426 
   19427 
   19428 
   19429 
   19430 # Check whether --enable-docs was given.
   19431 if test ${enable_docs+y}
   19432 then :
   19433   enableval=$enable_docs; build_docs=$enableval
   19434 else $as_nop
   19435   build_docs=yes
   19436 fi
   19437 
   19438 
   19439  if test x$build_docs = xyes; then
   19440   ENABLE_DOCS_TRUE=
   19441   ENABLE_DOCS_FALSE='#'
   19442 else
   19443   ENABLE_DOCS_TRUE='#'
   19444   ENABLE_DOCS_FALSE=
   19445 fi
   19446 
   19447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   19448 printf %s "checking whether to build documentation... " >&6; }
   19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   19450 printf "%s\n" "$build_docs" >&6; }
   19451 
   19452 
   19453 
   19454 
   19455 
   19456 # Check whether --with-xmlto was given.
   19457 if test ${with_xmlto+y}
   19458 then :
   19459   withval=$with_xmlto; use_xmlto=$withval
   19460 else $as_nop
   19461   use_xmlto=auto
   19462 fi
   19463 
   19464 
   19465 
   19466 if test "x$use_xmlto" = x"auto"; then
   19467    # Extract the first word of "xmlto", so it can be a program name with args.
   19468 set dummy xmlto; ac_word=$2
   19469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19470 printf %s "checking for $ac_word... " >&6; }
   19471 if test ${ac_cv_path_XMLTO+y}
   19472 then :
   19473   printf %s "(cached) " >&6
   19474 else $as_nop
   19475   case $XMLTO in
   19476   [\\/]* | ?:[\\/]*)
   19477   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19478   ;;
   19479   *)
   19480   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19481 for as_dir in $PATH
   19482 do
   19483   IFS=$as_save_IFS
   19484   case $as_dir in #(((
   19485     '') as_dir=./ ;;
   19486     */) ;;
   19487     *) as_dir=$as_dir/ ;;
   19488   esac
   19489     for ac_exec_ext in '' $ac_executable_extensions; do
   19490   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19491     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19492     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19493     break 2
   19494   fi
   19495 done
   19496   done
   19497 IFS=$as_save_IFS
   19498 
   19499   ;;
   19500 esac
   19501 fi
   19502 XMLTO=$ac_cv_path_XMLTO
   19503 if test -n "$XMLTO"; then
   19504   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19505 printf "%s\n" "$XMLTO" >&6; }
   19506 else
   19507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19508 printf "%s\n" "no" >&6; }
   19509 fi
   19510 
   19511 
   19512    if test "x$XMLTO" = "x"; then
   19513         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   19514 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   19515 	have_xmlto=no
   19516    else
   19517         have_xmlto=yes
   19518    fi
   19519 elif test "x$use_xmlto" = x"yes" ; then
   19520    # Extract the first word of "xmlto", so it can be a program name with args.
   19521 set dummy xmlto; ac_word=$2
   19522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19523 printf %s "checking for $ac_word... " >&6; }
   19524 if test ${ac_cv_path_XMLTO+y}
   19525 then :
   19526   printf %s "(cached) " >&6
   19527 else $as_nop
   19528   case $XMLTO in
   19529   [\\/]* | ?:[\\/]*)
   19530   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19531   ;;
   19532   *)
   19533   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19534 for as_dir in $PATH
   19535 do
   19536   IFS=$as_save_IFS
   19537   case $as_dir in #(((
   19538     '') as_dir=./ ;;
   19539     */) ;;
   19540     *) as_dir=$as_dir/ ;;
   19541   esac
   19542     for ac_exec_ext in '' $ac_executable_extensions; do
   19543   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19544     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19545     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19546     break 2
   19547   fi
   19548 done
   19549   done
   19550 IFS=$as_save_IFS
   19551 
   19552   ;;
   19553 esac
   19554 fi
   19555 XMLTO=$ac_cv_path_XMLTO
   19556 if test -n "$XMLTO"; then
   19557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19558 printf "%s\n" "$XMLTO" >&6; }
   19559 else
   19560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19561 printf "%s\n" "no" >&6; }
   19562 fi
   19563 
   19564 
   19565    if test "x$XMLTO" = "x"; then
   19566         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   19567    fi
   19568    have_xmlto=yes
   19569 elif test "x$use_xmlto" = x"no" ; then
   19570    if test "x$XMLTO" != "x"; then
   19571       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   19572 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   19573    fi
   19574    have_xmlto=no
   19575 else
   19576    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   19577 fi
   19578 
   19579 # Test for a minimum version of xmlto, if provided.
   19580 if test "$have_xmlto" = yes; then
   19581     # scrape the xmlto version
   19582     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   19583 printf %s "checking the xmlto version... " >&6; }
   19584     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   19585     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   19586 printf "%s\n" "$xmlto_version" >&6; }
   19587     as_arg_v1=$xmlto_version
   19588 as_arg_v2=0.0.22
   19589 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   19590 case $? in #(
   19591   1) :
   19592     if test "x$use_xmlto" = xauto; then
   19593             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   19594 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   19595             have_xmlto=no
   19596         else
   19597             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   19598         fi ;; #(
   19599   0) :
   19600      ;; #(
   19601   2) :
   19602      ;; #(
   19603   *) :
   19604      ;;
   19605 esac
   19606 fi
   19607 
   19608 # Test for the ability of xmlto to generate a text target
   19609 #
   19610 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   19611 # following test for empty XML docbook files.
   19612 # For compatibility reasons use the following empty XML docbook file and if
   19613 # it fails try it again with a non-empty XML file.
   19614 have_xmlto_text=no
   19615 cat > conftest.xml << "EOF"
   19616 EOF
   19617 if test "$have_xmlto" = yes
   19618 then :
   19619   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19620 then :
   19621   have_xmlto_text=yes
   19622 else $as_nop
   19623   # Try it again with a non-empty XML file.
   19624               cat > conftest.xml << "EOF"
   19625 <x></x>
   19626 EOF
   19627               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19628 then :
   19629   have_xmlto_text=yes
   19630 else $as_nop
   19631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   19632 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   19633 fi
   19634 fi
   19635 fi
   19636 rm -f conftest.xml
   19637  if test $have_xmlto_text = yes; then
   19638   HAVE_XMLTO_TEXT_TRUE=
   19639   HAVE_XMLTO_TEXT_FALSE='#'
   19640 else
   19641   HAVE_XMLTO_TEXT_TRUE='#'
   19642   HAVE_XMLTO_TEXT_FALSE=
   19643 fi
   19644 
   19645  if test "$have_xmlto" = yes; then
   19646   HAVE_XMLTO_TRUE=
   19647   HAVE_XMLTO_FALSE='#'
   19648 else
   19649   HAVE_XMLTO_TRUE='#'
   19650   HAVE_XMLTO_FALSE=
   19651 fi
   19652 
   19653 
   19654 
   19655 
   19656 
   19657 
   19658 # Check whether --with-fop was given.
   19659 if test ${with_fop+y}
   19660 then :
   19661   withval=$with_fop; use_fop=$withval
   19662 else $as_nop
   19663   use_fop=auto
   19664 fi
   19665 
   19666 
   19667 
   19668 if test "x$use_fop" = x"auto"; then
   19669    # Extract the first word of "fop", so it can be a program name with args.
   19670 set dummy fop; ac_word=$2
   19671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19672 printf %s "checking for $ac_word... " >&6; }
   19673 if test ${ac_cv_path_FOP+y}
   19674 then :
   19675   printf %s "(cached) " >&6
   19676 else $as_nop
   19677   case $FOP in
   19678   [\\/]* | ?:[\\/]*)
   19679   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19680   ;;
   19681   *)
   19682   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19683 for as_dir in $PATH
   19684 do
   19685   IFS=$as_save_IFS
   19686   case $as_dir in #(((
   19687     '') as_dir=./ ;;
   19688     */) ;;
   19689     *) as_dir=$as_dir/ ;;
   19690   esac
   19691     for ac_exec_ext in '' $ac_executable_extensions; do
   19692   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19693     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19694     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19695     break 2
   19696   fi
   19697 done
   19698   done
   19699 IFS=$as_save_IFS
   19700 
   19701   ;;
   19702 esac
   19703 fi
   19704 FOP=$ac_cv_path_FOP
   19705 if test -n "$FOP"; then
   19706   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19707 printf "%s\n" "$FOP" >&6; }
   19708 else
   19709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19710 printf "%s\n" "no" >&6; }
   19711 fi
   19712 
   19713 
   19714    if test "x$FOP" = "x"; then
   19715         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   19716 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   19717 	have_fop=no
   19718    else
   19719         have_fop=yes
   19720    fi
   19721 elif test "x$use_fop" = x"yes" ; then
   19722    # Extract the first word of "fop", so it can be a program name with args.
   19723 set dummy fop; ac_word=$2
   19724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19725 printf %s "checking for $ac_word... " >&6; }
   19726 if test ${ac_cv_path_FOP+y}
   19727 then :
   19728   printf %s "(cached) " >&6
   19729 else $as_nop
   19730   case $FOP in
   19731   [\\/]* | ?:[\\/]*)
   19732   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19733   ;;
   19734   *)
   19735   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19736 for as_dir in $PATH
   19737 do
   19738   IFS=$as_save_IFS
   19739   case $as_dir in #(((
   19740     '') as_dir=./ ;;
   19741     */) ;;
   19742     *) as_dir=$as_dir/ ;;
   19743   esac
   19744     for ac_exec_ext in '' $ac_executable_extensions; do
   19745   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19746     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19747     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19748     break 2
   19749   fi
   19750 done
   19751   done
   19752 IFS=$as_save_IFS
   19753 
   19754   ;;
   19755 esac
   19756 fi
   19757 FOP=$ac_cv_path_FOP
   19758 if test -n "$FOP"; then
   19759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19760 printf "%s\n" "$FOP" >&6; }
   19761 else
   19762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19763 printf "%s\n" "no" >&6; }
   19764 fi
   19765 
   19766 
   19767    if test "x$FOP" = "x"; then
   19768         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   19769    fi
   19770    have_fop=yes
   19771 elif test "x$use_fop" = x"no" ; then
   19772    if test "x$FOP" != "x"; then
   19773       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   19774 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   19775    fi
   19776    have_fop=no
   19777 else
   19778    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   19779 fi
   19780 
   19781 # Test for a minimum version of fop, if provided.
   19782 
   19783  if test "$have_fop" = yes; then
   19784   HAVE_FOP_TRUE=
   19785   HAVE_FOP_FALSE='#'
   19786 else
   19787   HAVE_FOP_TRUE='#'
   19788   HAVE_FOP_FALSE=
   19789 fi
   19790 
   19791 
   19792 
   19793 
   19794 # Preserves the interface, should it be implemented later
   19795 
   19796 
   19797 
   19798 # Check whether --with-xsltproc was given.
   19799 if test ${with_xsltproc+y}
   19800 then :
   19801   withval=$with_xsltproc; use_xsltproc=$withval
   19802 else $as_nop
   19803   use_xsltproc=auto
   19804 fi
   19805 
   19806 
   19807 
   19808 if test "x$use_xsltproc" = x"auto"; then
   19809    # Extract the first word of "xsltproc", so it can be a program name with args.
   19810 set dummy xsltproc; ac_word=$2
   19811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19812 printf %s "checking for $ac_word... " >&6; }
   19813 if test ${ac_cv_path_XSLTPROC+y}
   19814 then :
   19815   printf %s "(cached) " >&6
   19816 else $as_nop
   19817   case $XSLTPROC in
   19818   [\\/]* | ?:[\\/]*)
   19819   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19820   ;;
   19821   *)
   19822   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19823 for as_dir in $PATH
   19824 do
   19825   IFS=$as_save_IFS
   19826   case $as_dir in #(((
   19827     '') as_dir=./ ;;
   19828     */) ;;
   19829     *) as_dir=$as_dir/ ;;
   19830   esac
   19831     for ac_exec_ext in '' $ac_executable_extensions; do
   19832   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19833     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   19834     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19835     break 2
   19836   fi
   19837 done
   19838   done
   19839 IFS=$as_save_IFS
   19840 
   19841   ;;
   19842 esac
   19843 fi
   19844 XSLTPROC=$ac_cv_path_XSLTPROC
   19845 if test -n "$XSLTPROC"; then
   19846   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19847 printf "%s\n" "$XSLTPROC" >&6; }
   19848 else
   19849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19850 printf "%s\n" "no" >&6; }
   19851 fi
   19852 
   19853 
   19854    if test "x$XSLTPROC" = "x"; then
   19855         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   19856 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   19857 	have_xsltproc=no
   19858    else
   19859         have_xsltproc=yes
   19860    fi
   19861 elif test "x$use_xsltproc" = x"yes" ; then
   19862    # Extract the first word of "xsltproc", so it can be a program name with args.
   19863 set dummy xsltproc; ac_word=$2
   19864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19865 printf %s "checking for $ac_word... " >&6; }
   19866 if test ${ac_cv_path_XSLTPROC+y}
   19867 then :
   19868   printf %s "(cached) " >&6
   19869 else $as_nop
   19870   case $XSLTPROC in
   19871   [\\/]* | ?:[\\/]*)
   19872   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19873   ;;
   19874   *)
   19875   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19876 for as_dir in $PATH
   19877 do
   19878   IFS=$as_save_IFS
   19879   case $as_dir in #(((
   19880     '') as_dir=./ ;;
   19881     */) ;;
   19882     *) as_dir=$as_dir/ ;;
   19883   esac
   19884     for ac_exec_ext in '' $ac_executable_extensions; do
   19885   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19886     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   19887     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19888     break 2
   19889   fi
   19890 done
   19891   done
   19892 IFS=$as_save_IFS
   19893 
   19894   ;;
   19895 esac
   19896 fi
   19897 XSLTPROC=$ac_cv_path_XSLTPROC
   19898 if test -n "$XSLTPROC"; then
   19899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19900 printf "%s\n" "$XSLTPROC" >&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    if test "x$XSLTPROC" = "x"; then
   19908         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   19909    fi
   19910    have_xsltproc=yes
   19911 elif test "x$use_xsltproc" = x"no" ; then
   19912    if test "x$XSLTPROC" != "x"; then
   19913       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   19914 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   19915    fi
   19916    have_xsltproc=no
   19917 else
   19918    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   19919 fi
   19920 
   19921  if test "$have_xsltproc" = yes; then
   19922   HAVE_XSLTPROC_TRUE=
   19923   HAVE_XSLTPROC_FALSE='#'
   19924 else
   19925   HAVE_XSLTPROC_TRUE='#'
   19926   HAVE_XSLTPROC_FALSE=
   19927 fi
   19928 
   19929 
   19930 
   19931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   19932 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   19933 XORG_SGML_PATH=
   19934 if test -n "$PKG_CONFIG" && \
   19935     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   19936   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   19937   ac_status=$?
   19938   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19939   test $ac_status = 0; }; then
   19940   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   19941 else
   19942   :
   19943 
   19944 fi
   19945 
   19946 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   19947 # the path and the name of the doc stylesheet
   19948 if test "x$XORG_SGML_PATH" != "x" ; then
   19949    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   19950 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   19951    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   19952    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   19953 else
   19954    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19955 printf "%s\n" "no" >&6; }
   19956 fi
   19957 
   19958 
   19959 
   19960 
   19961  if test "x$XSL_STYLESHEET" != "x"; then
   19962   HAVE_STYLESHEETS_TRUE=
   19963   HAVE_STYLESHEETS_FALSE='#'
   19964 else
   19965   HAVE_STYLESHEETS_TRUE='#'
   19966   HAVE_STYLESHEETS_FALSE=
   19967 fi
   19968 
   19969 
   19970 
   19971 # Obtain compiler/linker options for dependencies
   19972 
   19973 pkg_failed=no
   19974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
   19975 printf %s "checking for SM... " >&6; }
   19976 
   19977 if test -n "$SM_CFLAGS"; then
   19978     pkg_cv_SM_CFLAGS="$SM_CFLAGS"
   19979  elif test -n "$PKG_CONFIG"; then
   19980     if test -n "$PKG_CONFIG" && \
   19981     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice >= 1.1.0 xproto xtrans\""; } >&5
   19982   ($PKG_CONFIG --exists --print-errors "ice >= 1.1.0 xproto xtrans") 2>&5
   19983   ac_status=$?
   19984   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19985   test $ac_status = 0; }; then
   19986   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "ice >= 1.1.0 xproto xtrans" 2>/dev/null`
   19987 		      test "x$?" != "x0" && pkg_failed=yes
   19988 else
   19989   pkg_failed=yes
   19990 fi
   19991  else
   19992     pkg_failed=untried
   19993 fi
   19994 if test -n "$SM_LIBS"; then
   19995     pkg_cv_SM_LIBS="$SM_LIBS"
   19996  elif test -n "$PKG_CONFIG"; then
   19997     if test -n "$PKG_CONFIG" && \
   19998     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice >= 1.1.0 xproto xtrans\""; } >&5
   19999   ($PKG_CONFIG --exists --print-errors "ice >= 1.1.0 xproto xtrans") 2>&5
   20000   ac_status=$?
   20001   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20002   test $ac_status = 0; }; then
   20003   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "ice >= 1.1.0 xproto xtrans" 2>/dev/null`
   20004 		      test "x$?" != "x0" && pkg_failed=yes
   20005 else
   20006   pkg_failed=yes
   20007 fi
   20008  else
   20009     pkg_failed=untried
   20010 fi
   20011 
   20012 
   20013 
   20014 if test $pkg_failed = yes; then
   20015    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20016 printf "%s\n" "no" >&6; }
   20017 
   20018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20019         _pkg_short_errors_supported=yes
   20020 else
   20021         _pkg_short_errors_supported=no
   20022 fi
   20023         if test $_pkg_short_errors_supported = yes; then
   20024 	        SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ice >= 1.1.0 xproto xtrans" 2>&1`
   20025         else
   20026 	        SM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ice >= 1.1.0 xproto xtrans" 2>&1`
   20027         fi
   20028 	# Put the nasty error message in config.log where it belongs
   20029 	echo "$SM_PKG_ERRORS" >&5
   20030 
   20031 	as_fn_error $? "Package requirements (ice >= 1.1.0 xproto xtrans) were not met:
   20032 
   20033 $SM_PKG_ERRORS
   20034 
   20035 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20036 installed software in a non-standard prefix.
   20037 
   20038 Alternatively, you may set the environment variables SM_CFLAGS
   20039 and SM_LIBS to avoid the need to call pkg-config.
   20040 See the pkg-config man page for more details." "$LINENO" 5
   20041 elif test $pkg_failed = untried; then
   20042      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20043 printf "%s\n" "no" >&6; }
   20044 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20045 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20046 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20047 is in your PATH or set the PKG_CONFIG environment variable to the full
   20048 path to pkg-config.
   20049 
   20050 Alternatively, you may set the environment variables SM_CFLAGS
   20051 and SM_LIBS to avoid the need to call pkg-config.
   20052 See the pkg-config man page for more details.
   20053 
   20054 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20055 See \`config.log' for more details" "$LINENO" 5; }
   20056 else
   20057 	SM_CFLAGS=$pkg_cv_SM_CFLAGS
   20058 	SM_LIBS=$pkg_cv_SM_LIBS
   20059         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20060 printf "%s\n" "yes" >&6; }
   20061 
   20062 fi
   20063 
   20064 # Needed to check for TCP & IPv6 support and set flags appropriately
   20065 
   20066 
   20067  case $host_os in
   20068 	mingw*)	unixdef="no"   ;;
   20069 	*)	unixdef="yes"  ;;
   20070  esac
   20071  # Check whether --enable-unix-transport was given.
   20072 if test ${enable_unix_transport+y}
   20073 then :
   20074   enableval=$enable_unix_transport; UNIXCONN=$enableval
   20075 else $as_nop
   20076   UNIXCONN=$unixdef
   20077 fi
   20078 
   20079  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   20080 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   20081  if test "$UNIXCONN" = "yes"; then
   20082 
   20083 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   20084 
   20085  fi
   20086  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   20087 printf "%s\n" "$UNIXCONN" >&6; }
   20088  # Check whether --enable-tcp-transport was given.
   20089 if test ${enable_tcp_transport+y}
   20090 then :
   20091   enableval=$enable_tcp_transport; TCPCONN=$enableval
   20092 else $as_nop
   20093   TCPCONN=yes
   20094 fi
   20095 
   20096  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   20097 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   20098  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   20099 printf "%s\n" "$TCPCONN" >&6; }
   20100  if test "$TCPCONN" = "yes"; then
   20101 
   20102 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   20103 
   20104 
   20105  # SVR4 hides these in libraries other than libc
   20106  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   20107 printf %s "checking for library containing socket... " >&6; }
   20108 if test ${ac_cv_search_socket+y}
   20109 then :
   20110   printf %s "(cached) " >&6
   20111 else $as_nop
   20112   ac_func_search_save_LIBS=$LIBS
   20113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20114 /* end confdefs.h.  */
   20115 
   20116 /* Override any GCC internal prototype to avoid an error.
   20117    Use char because int might match the return type of a GCC
   20118    builtin and then its argument prototype would still apply.  */
   20119 char socket ();
   20120 int
   20121 main (void)
   20122 {
   20123 return socket ();
   20124   ;
   20125   return 0;
   20126 }
   20127 _ACEOF
   20128 for ac_lib in '' socket
   20129 do
   20130   if test -z "$ac_lib"; then
   20131     ac_res="none required"
   20132   else
   20133     ac_res=-l$ac_lib
   20134     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20135   fi
   20136   if ac_fn_c_try_link "$LINENO"
   20137 then :
   20138   ac_cv_search_socket=$ac_res
   20139 fi
   20140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20141     conftest$ac_exeext
   20142   if test ${ac_cv_search_socket+y}
   20143 then :
   20144   break
   20145 fi
   20146 done
   20147 if test ${ac_cv_search_socket+y}
   20148 then :
   20149 
   20150 else $as_nop
   20151   ac_cv_search_socket=no
   20152 fi
   20153 rm conftest.$ac_ext
   20154 LIBS=$ac_func_search_save_LIBS
   20155 fi
   20156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   20157 printf "%s\n" "$ac_cv_search_socket" >&6; }
   20158 ac_res=$ac_cv_search_socket
   20159 if test "$ac_res" != no
   20160 then :
   20161   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20162 
   20163 fi
   20164 
   20165  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   20166 printf %s "checking for library containing gethostbyname... " >&6; }
   20167 if test ${ac_cv_search_gethostbyname+y}
   20168 then :
   20169   printf %s "(cached) " >&6
   20170 else $as_nop
   20171   ac_func_search_save_LIBS=$LIBS
   20172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20173 /* end confdefs.h.  */
   20174 
   20175 /* Override any GCC internal prototype to avoid an error.
   20176    Use char because int might match the return type of a GCC
   20177    builtin and then its argument prototype would still apply.  */
   20178 char gethostbyname ();
   20179 int
   20180 main (void)
   20181 {
   20182 return gethostbyname ();
   20183   ;
   20184   return 0;
   20185 }
   20186 _ACEOF
   20187 for ac_lib in '' nsl
   20188 do
   20189   if test -z "$ac_lib"; then
   20190     ac_res="none required"
   20191   else
   20192     ac_res=-l$ac_lib
   20193     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20194   fi
   20195   if ac_fn_c_try_link "$LINENO"
   20196 then :
   20197   ac_cv_search_gethostbyname=$ac_res
   20198 fi
   20199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20200     conftest$ac_exeext
   20201   if test ${ac_cv_search_gethostbyname+y}
   20202 then :
   20203   break
   20204 fi
   20205 done
   20206 if test ${ac_cv_search_gethostbyname+y}
   20207 then :
   20208 
   20209 else $as_nop
   20210   ac_cv_search_gethostbyname=no
   20211 fi
   20212 rm conftest.$ac_ext
   20213 LIBS=$ac_func_search_save_LIBS
   20214 fi
   20215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   20216 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   20217 ac_res=$ac_cv_search_gethostbyname
   20218 if test "$ac_res" != no
   20219 then :
   20220   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20221 
   20222 fi
   20223 
   20224  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   20225    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   20226 printf %s "checking for main in -lws2_32... " >&6; }
   20227 if test ${ac_cv_lib_ws2_32_main+y}
   20228 then :
   20229   printf %s "(cached) " >&6
   20230 else $as_nop
   20231   ac_check_lib_save_LIBS=$LIBS
   20232 LIBS="-lws2_32  $LIBS"
   20233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20234 /* end confdefs.h.  */
   20235 
   20236 
   20237 int
   20238 main (void)
   20239 {
   20240 return main ();
   20241   ;
   20242   return 0;
   20243 }
   20244 _ACEOF
   20245 if ac_fn_c_try_link "$LINENO"
   20246 then :
   20247   ac_cv_lib_ws2_32_main=yes
   20248 else $as_nop
   20249   ac_cv_lib_ws2_32_main=no
   20250 fi
   20251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20252     conftest$ac_exeext conftest.$ac_ext
   20253 LIBS=$ac_check_lib_save_LIBS
   20254 fi
   20255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   20256 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   20257 if test "x$ac_cv_lib_ws2_32_main" = xyes
   20258 then :
   20259   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   20260 
   20261   LIBS="-lws2_32 $LIBS"
   20262 
   20263 fi
   20264 
   20265  fi
   20266 
   20267  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   20268  # Check whether --enable-ipv6 was given.
   20269 if test ${enable_ipv6+y}
   20270 then :
   20271   enableval=$enable_ipv6; IPV6CONN=$enableval
   20272 else $as_nop
   20273   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   20274 if test "x$ac_cv_func_getaddrinfo" = xyes
   20275 then :
   20276   IPV6CONN=yes
   20277 else $as_nop
   20278   IPV6CONN=no
   20279 fi
   20280 
   20281 fi
   20282 
   20283  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   20284 printf %s "checking if IPv6 support should be built... " >&6; }
   20285  if test "$IPV6CONN" = "yes"; then
   20286 
   20287 printf "%s\n" "#define IPv6 1" >>confdefs.h
   20288 
   20289  fi
   20290  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   20291 printf "%s\n" "$IPV6CONN" >&6; }
   20292 
   20293  # 4.3BSD-Reno added a new member to struct sockaddr_in
   20294  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   20295 #include <sys/types.h>
   20296 #include <sys/socket.h>
   20297 #include <netinet/in.h>
   20298 
   20299 "
   20300 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   20301 then :
   20302 
   20303 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   20304 
   20305 fi
   20306 
   20307 
   20308  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   20309  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   20310 $ac_includes_default
   20311 #include <sys/socket.h>
   20312 "
   20313 if test "x$ac_cv_type_socklen_t" = xyes
   20314 then :
   20315 
   20316 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   20317 
   20318 
   20319 fi
   20320 
   20321 
   20322  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   20323  # _XOPEN_SOURCE to get it (such as on Solaris)
   20324  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20325 $ac_includes_default
   20326 #include <sys/socket.h>
   20327 
   20328 "
   20329 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   20330 then :
   20331 
   20332 fi
   20333 
   20334  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   20335  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20336      unset ac_cv_member_struct_msghdr_msg_control
   20337      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   20338 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   20339      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20340 #define _XOPEN_SOURCE 600
   20341 $ac_includes_default
   20342 #include <sys/socket.h>
   20343 
   20344 "
   20345 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   20346 then :
   20347 
   20348 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   20349 
   20350 
   20351 fi
   20352 
   20353  fi
   20354  # If that didn't work, fall back to XPG5/UNIX98 with C89
   20355  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   20356      unset ac_cv_member_struct_msghdr_msg_control
   20357      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   20358 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   20359      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   20360 #define _XOPEN_SOURCE 500
   20361 $ac_includes_default
   20362 #include <sys/socket.h>
   20363 
   20364 "
   20365 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   20366 then :
   20367 
   20368 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   20369 
   20370 
   20371 fi
   20372 
   20373  fi
   20374 
   20375 
   20376 
   20377  fi
   20378  case $host_os in
   20379 	solaris*)		localdef="yes" ;;
   20380 	*)			localdef="no"  ;;
   20381  esac
   20382  # Check whether --enable-local-transport was given.
   20383 if test ${enable_local_transport+y}
   20384 then :
   20385   enableval=$enable_local_transport; LOCALCONN=$enableval
   20386 else $as_nop
   20387   LOCALCONN=$localdef
   20388 fi
   20389 
   20390  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   20391 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   20392  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   20393 printf "%s\n" "$LOCALCONN" >&6; }
   20394  if test "$LOCALCONN" = "yes"; then
   20395 
   20396 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   20397 
   20398  fi
   20399 
   20400  # Other functions Xtrans may need
   20401  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   20402 if test "x$ac_cv_func_strcasecmp" = xyes
   20403 then :
   20404   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   20405 
   20406 fi
   20407 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   20408 if test "x$ac_cv_func_strlcpy" = xyes
   20409 then :
   20410   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   20411 
   20412 fi
   20413 
   20414 
   20415 
   20416 
   20417 
   20418 # Check whether --with-libuuid was given.
   20419 if test ${with_libuuid+y}
   20420 then :
   20421   withval=$with_libuuid;
   20422 fi
   20423 
   20424 
   20425 
   20426 
   20427 
   20428 
   20429 
   20430 
   20431 
   20432 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20433 	if test -n "$ac_tool_prefix"; then
   20434   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20435 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20437 printf %s "checking for $ac_word... " >&6; }
   20438 if test ${ac_cv_path_PKG_CONFIG+y}
   20439 then :
   20440   printf %s "(cached) " >&6
   20441 else $as_nop
   20442   case $PKG_CONFIG in
   20443   [\\/]* | ?:[\\/]*)
   20444   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20445   ;;
   20446   *)
   20447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20448 for as_dir in $PATH
   20449 do
   20450   IFS=$as_save_IFS
   20451   case $as_dir in #(((
   20452     '') as_dir=./ ;;
   20453     */) ;;
   20454     *) as_dir=$as_dir/ ;;
   20455   esac
   20456     for ac_exec_ext in '' $ac_executable_extensions; do
   20457   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20458     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   20459     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20460     break 2
   20461   fi
   20462 done
   20463   done
   20464 IFS=$as_save_IFS
   20465 
   20466   ;;
   20467 esac
   20468 fi
   20469 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20470 if test -n "$PKG_CONFIG"; then
   20471   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   20472 printf "%s\n" "$PKG_CONFIG" >&6; }
   20473 else
   20474   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20475 printf "%s\n" "no" >&6; }
   20476 fi
   20477 
   20478 
   20479 fi
   20480 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20481   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20482   # Extract the first word of "pkg-config", so it can be a program name with args.
   20483 set dummy pkg-config; ac_word=$2
   20484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20485 printf %s "checking for $ac_word... " >&6; }
   20486 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   20487 then :
   20488   printf %s "(cached) " >&6
   20489 else $as_nop
   20490   case $ac_pt_PKG_CONFIG in
   20491   [\\/]* | ?:[\\/]*)
   20492   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20493   ;;
   20494   *)
   20495   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20496 for as_dir in $PATH
   20497 do
   20498   IFS=$as_save_IFS
   20499   case $as_dir in #(((
   20500     '') as_dir=./ ;;
   20501     */) ;;
   20502     *) as_dir=$as_dir/ ;;
   20503   esac
   20504     for ac_exec_ext in '' $ac_executable_extensions; do
   20505   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20506     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   20507     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20508     break 2
   20509   fi
   20510 done
   20511   done
   20512 IFS=$as_save_IFS
   20513 
   20514   ;;
   20515 esac
   20516 fi
   20517 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20518 if test -n "$ac_pt_PKG_CONFIG"; then
   20519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   20520 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   20521 else
   20522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20523 printf "%s\n" "no" >&6; }
   20524 fi
   20525 
   20526   if test "x$ac_pt_PKG_CONFIG" = x; then
   20527     PKG_CONFIG=""
   20528   else
   20529     case $cross_compiling:$ac_tool_warned in
   20530 yes:)
   20531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   20532 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20533 ac_tool_warned=yes ;;
   20534 esac
   20535     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20536   fi
   20537 else
   20538   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20539 fi
   20540 
   20541 fi
   20542 if test -n "$PKG_CONFIG"; then
   20543 	_pkg_min_version=0.9.0
   20544 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   20545 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20546 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20547 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20548 printf "%s\n" "yes" >&6; }
   20549 	else
   20550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20551 printf "%s\n" "no" >&6; }
   20552 		PKG_CONFIG=""
   20553 	fi
   20554 fi
   20555 
   20556   for ac_func in uuid_create
   20557 do :
   20558   ac_fn_c_check_func "$LINENO" "uuid_create" "ac_cv_func_uuid_create"
   20559 if test "x$ac_cv_func_uuid_create" = xyes
   20560 then :
   20561   printf "%s\n" "#define HAVE_UUID_CREATE 1" >>confdefs.h
   20562 
   20563 else $as_nop
   20564 
   20565     if test x"$with_libuuid" != xno && test x"$have_system_uuid" != xyes; then
   20566 
   20567 pkg_failed=no
   20568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBUUID" >&5
   20569 printf %s "checking for LIBUUID... " >&6; }
   20570 
   20571 if test -n "$LIBUUID_CFLAGS"; then
   20572     pkg_cv_LIBUUID_CFLAGS="$LIBUUID_CFLAGS"
   20573  elif test -n "$PKG_CONFIG"; then
   20574     if test -n "$PKG_CONFIG" && \
   20575     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
   20576   ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
   20577   ac_status=$?
   20578   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20579   test $ac_status = 0; }; then
   20580   pkg_cv_LIBUUID_CFLAGS=`$PKG_CONFIG --cflags "uuid" 2>/dev/null`
   20581 		      test "x$?" != "x0" && pkg_failed=yes
   20582 else
   20583   pkg_failed=yes
   20584 fi
   20585  else
   20586     pkg_failed=untried
   20587 fi
   20588 if test -n "$LIBUUID_LIBS"; then
   20589     pkg_cv_LIBUUID_LIBS="$LIBUUID_LIBS"
   20590  elif test -n "$PKG_CONFIG"; then
   20591     if test -n "$PKG_CONFIG" && \
   20592     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
   20593   ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
   20594   ac_status=$?
   20595   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20596   test $ac_status = 0; }; then
   20597   pkg_cv_LIBUUID_LIBS=`$PKG_CONFIG --libs "uuid" 2>/dev/null`
   20598 		      test "x$?" != "x0" && pkg_failed=yes
   20599 else
   20600   pkg_failed=yes
   20601 fi
   20602  else
   20603     pkg_failed=untried
   20604 fi
   20605 
   20606 
   20607 
   20608 if test $pkg_failed = yes; then
   20609    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20610 printf "%s\n" "no" >&6; }
   20611 
   20612 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20613         _pkg_short_errors_supported=yes
   20614 else
   20615         _pkg_short_errors_supported=no
   20616 fi
   20617         if test $_pkg_short_errors_supported = yes; then
   20618 	        LIBUUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid" 2>&1`
   20619         else
   20620 	        LIBUUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid" 2>&1`
   20621         fi
   20622 	# Put the nasty error message in config.log where it belongs
   20623 	echo "$LIBUUID_PKG_ERRORS" >&5
   20624 
   20625 	HAVE_LIBUUID=no
   20626 elif test $pkg_failed = untried; then
   20627      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20628 printf "%s\n" "no" >&6; }
   20629 	HAVE_LIBUUID=no
   20630 else
   20631 	LIBUUID_CFLAGS=$pkg_cv_LIBUUID_CFLAGS
   20632 	LIBUUID_LIBS=$pkg_cv_LIBUUID_LIBS
   20633         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20634 printf "%s\n" "yes" >&6; }
   20635 	HAVE_LIBUUID=yes
   20636 fi
   20637     fi
   20638     if test x"$with_libuuid" = xyes && test x"$HAVE_LIBUUID" = xno; then
   20639         as_fn_error $? "requested libuuid support but uuid.pc not found
   20640         and LIBUUID_CFLAGS and LIBUUID_LIBS not set" "$LINENO" 5
   20641     fi
   20642 
   20643 fi
   20644 
   20645 done
   20646 UUID_LIB_PRIVATE=""
   20647 UUID_PC=""
   20648 if test x"$HAVE_LIBUUID" = xyes ; then
   20649    if test -n "$PKG_CONFIG" && \
   20650     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
   20651   ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
   20652   ac_status=$?
   20653   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20654   test $ac_status = 0; }; then
   20655   UUID_PC="uuid"
   20656 fi
   20657    if test x"$UUID_PC" = x ; then
   20658        UUID_LIB_PRIVATE="$LIBUUID_LIBS"
   20659    fi
   20660 fi
   20661 
   20662 
   20663 
   20664  if test x"$HAVE_LIBUUID" = xyes; then
   20665   WITH_LIBUUID_TRUE=
   20666   WITH_LIBUUID_FALSE='#'
   20667 else
   20668   WITH_LIBUUID_TRUE='#'
   20669   WITH_LIBUUID_FALSE=
   20670 fi
   20671 
   20672 
   20673 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile sm.pc"
   20674 
   20675 cat >confcache <<\_ACEOF
   20676 # This file is a shell script that caches the results of configure
   20677 # tests run on this system so they can be shared between configure
   20678 # scripts and configure runs, see configure's option --config-cache.
   20679 # It is not useful on other systems.  If it contains results you don't
   20680 # want to keep, you may remove or edit it.
   20681 #
   20682 # config.status only pays attention to the cache file if you give it
   20683 # the --recheck option to rerun configure.
   20684 #
   20685 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20687 # following values.
   20688 
   20689 _ACEOF
   20690 
   20691 # The following way of writing the cache mishandles newlines in values,
   20692 # but we know of no workaround that is simple, portable, and efficient.
   20693 # So, we kill variables containing newlines.
   20694 # Ultrix sh set writes to stderr and can't be redirected directly,
   20695 # and sets the high bit in the cache file unless we assign to the vars.
   20696 (
   20697   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20698     eval ac_val=\$$ac_var
   20699     case $ac_val in #(
   20700     *${as_nl}*)
   20701       case $ac_var in #(
   20702       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20703 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20704       esac
   20705       case $ac_var in #(
   20706       _ | IFS | as_nl) ;; #(
   20707       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20708       *) { eval $ac_var=; unset $ac_var;} ;;
   20709       esac ;;
   20710     esac
   20711   done
   20712 
   20713   (set) 2>&1 |
   20714     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20715     *${as_nl}ac_space=\ *)
   20716       # `set' does not quote correctly, so add quotes: double-quote
   20717       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20718       sed -n \
   20719 	"s/'/'\\\\''/g;
   20720 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20721       ;; #(
   20722     *)
   20723       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20724       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20725       ;;
   20726     esac |
   20727     sort
   20728 ) |
   20729   sed '
   20730      /^ac_cv_env_/b end
   20731      t clear
   20732      :clear
   20733      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20734      t end
   20735      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20736      :end' >>confcache
   20737 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20738   if test -w "$cache_file"; then
   20739     if test "x$cache_file" != "x/dev/null"; then
   20740       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20741 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20742       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20743 	cat confcache >"$cache_file"
   20744       else
   20745         case $cache_file in #(
   20746         */* | ?:*)
   20747 	  mv -f confcache "$cache_file"$$ &&
   20748 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20749         *)
   20750 	  mv -f confcache "$cache_file" ;;
   20751 	esac
   20752       fi
   20753     fi
   20754   else
   20755     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20756 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20757   fi
   20758 fi
   20759 rm -f confcache
   20760 
   20761 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20762 # Let make expand exec_prefix.
   20763 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20764 
   20765 DEFS=-DHAVE_CONFIG_H
   20766 
   20767 ac_libobjs=
   20768 ac_ltlibobjs=
   20769 U=
   20770 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20771   # 1. Remove the extension, and $U if already installed.
   20772   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20773   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20774   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20775   #    will be set to the directory where LIBOBJS objects are built.
   20776   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20777   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20778 done
   20779 LIBOBJS=$ac_libobjs
   20780 
   20781 LTLIBOBJS=$ac_ltlibobjs
   20782 
   20783 
   20784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20785 printf %s "checking that generated files are newer than configure... " >&6; }
   20786    if test -n "$am_sleep_pid"; then
   20787      # Hide warnings about reused PIDs.
   20788      wait $am_sleep_pid 2>/dev/null
   20789    fi
   20790    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20791 printf "%s\n" "done" >&6; }
   20792  if test -n "$EXEEXT"; then
   20793   am__EXEEXT_TRUE=
   20794   am__EXEEXT_FALSE='#'
   20795 else
   20796   am__EXEEXT_TRUE='#'
   20797   am__EXEEXT_FALSE=
   20798 fi
   20799 
   20800 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20801   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20803 fi
   20804 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20805   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20807 fi
   20808 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   20809   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   20810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20811 fi
   20812 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   20813   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   20814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20815 fi
   20816 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   20817   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   20818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20819 fi
   20820 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   20821   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   20822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20823 fi
   20824 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   20825   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   20826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20827 fi
   20828 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   20829   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   20830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20831 fi
   20832 if test -z "${WITH_LIBUUID_TRUE}" && test -z "${WITH_LIBUUID_FALSE}"; then
   20833   as_fn_error $? "conditional \"WITH_LIBUUID\" was never defined.
   20834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20835 fi
   20836 
   20837 : "${CONFIG_STATUS=./config.status}"
   20838 ac_write_fail=0
   20839 ac_clean_files_save=$ac_clean_files
   20840 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20842 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20843 as_write_fail=0
   20844 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20845 #! $SHELL
   20846 # Generated by $as_me.
   20847 # Run this file to recreate the current configuration.
   20848 # Compiler output produced by configure, useful for debugging
   20849 # configure, is in config.log if it exists.
   20850 
   20851 debug=false
   20852 ac_cs_recheck=false
   20853 ac_cs_silent=false
   20854 
   20855 SHELL=\${CONFIG_SHELL-$SHELL}
   20856 export SHELL
   20857 _ASEOF
   20858 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20859 ## -------------------- ##
   20860 ## M4sh Initialization. ##
   20861 ## -------------------- ##
   20862 
   20863 # Be more Bourne compatible
   20864 DUALCASE=1; export DUALCASE # for MKS sh
   20865 as_nop=:
   20866 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20867 then :
   20868   emulate sh
   20869   NULLCMD=:
   20870   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20871   # is contrary to our usage.  Disable this feature.
   20872   alias -g '${1+"$@"}'='"$@"'
   20873   setopt NO_GLOB_SUBST
   20874 else $as_nop
   20875   case `(set -o) 2>/dev/null` in #(
   20876   *posix*) :
   20877     set -o posix ;; #(
   20878   *) :
   20879      ;;
   20880 esac
   20881 fi
   20882 
   20883 
   20884 
   20885 # Reset variables that may have inherited troublesome values from
   20886 # the environment.
   20887 
   20888 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20889 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20890 # side effect of setting IFS to empty, thus disabling word splitting.)
   20891 # Quoting is to prevent editors from complaining about space-tab.
   20892 as_nl='
   20893 '
   20894 export as_nl
   20895 IFS=" ""	$as_nl"
   20896 
   20897 PS1='$ '
   20898 PS2='> '
   20899 PS4='+ '
   20900 
   20901 # Ensure predictable behavior from utilities with locale-dependent output.
   20902 LC_ALL=C
   20903 export LC_ALL
   20904 LANGUAGE=C
   20905 export LANGUAGE
   20906 
   20907 # We cannot yet rely on "unset" to work, but we need these variables
   20908 # to be unset--not just set to an empty or harmless value--now, to
   20909 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20910 # also avoids known problems related to "unset" and subshell syntax
   20911 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20912 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20913 do eval test \${$as_var+y} \
   20914   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20915 done
   20916 
   20917 # Ensure that fds 0, 1, and 2 are open.
   20918 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20919 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20920 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20921 
   20922 # The user is always right.
   20923 if ${PATH_SEPARATOR+false} :; then
   20924   PATH_SEPARATOR=:
   20925   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20926     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20927       PATH_SEPARATOR=';'
   20928   }
   20929 fi
   20930 
   20931 
   20932 # Find who we are.  Look in the path if we contain no directory separator.
   20933 as_myself=
   20934 case $0 in #((
   20935   *[\\/]* ) as_myself=$0 ;;
   20936   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20937 for as_dir in $PATH
   20938 do
   20939   IFS=$as_save_IFS
   20940   case $as_dir in #(((
   20941     '') as_dir=./ ;;
   20942     */) ;;
   20943     *) as_dir=$as_dir/ ;;
   20944   esac
   20945     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20946   done
   20947 IFS=$as_save_IFS
   20948 
   20949      ;;
   20950 esac
   20951 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20952 # in which case we are not to be found in the path.
   20953 if test "x$as_myself" = x; then
   20954   as_myself=$0
   20955 fi
   20956 if test ! -f "$as_myself"; then
   20957   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20958   exit 1
   20959 fi
   20960 
   20961 
   20962 
   20963 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20964 # ----------------------------------------
   20965 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20966 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20967 # script with STATUS, using 1 if that was 0.
   20968 as_fn_error ()
   20969 {
   20970   as_status=$1; test $as_status -eq 0 && as_status=1
   20971   if test "$4"; then
   20972     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20973     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20974   fi
   20975   printf "%s\n" "$as_me: error: $2" >&2
   20976   as_fn_exit $as_status
   20977 } # as_fn_error
   20978 
   20979 
   20980 
   20981 # as_fn_set_status STATUS
   20982 # -----------------------
   20983 # Set $? to STATUS, without forking.
   20984 as_fn_set_status ()
   20985 {
   20986   return $1
   20987 } # as_fn_set_status
   20988 
   20989 # as_fn_exit STATUS
   20990 # -----------------
   20991 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20992 as_fn_exit ()
   20993 {
   20994   set +e
   20995   as_fn_set_status $1
   20996   exit $1
   20997 } # as_fn_exit
   20998 
   20999 # as_fn_unset VAR
   21000 # ---------------
   21001 # Portably unset VAR.
   21002 as_fn_unset ()
   21003 {
   21004   { eval $1=; unset $1;}
   21005 }
   21006 as_unset=as_fn_unset
   21007 
   21008 # as_fn_append VAR VALUE
   21009 # ----------------------
   21010 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21011 # advantage of any shell optimizations that allow amortized linear growth over
   21012 # repeated appends, instead of the typical quadratic growth present in naive
   21013 # implementations.
   21014 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21015 then :
   21016   eval 'as_fn_append ()
   21017   {
   21018     eval $1+=\$2
   21019   }'
   21020 else $as_nop
   21021   as_fn_append ()
   21022   {
   21023     eval $1=\$$1\$2
   21024   }
   21025 fi # as_fn_append
   21026 
   21027 # as_fn_arith ARG...
   21028 # ------------------
   21029 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21030 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21031 # must be portable across $(()) and expr.
   21032 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21033 then :
   21034   eval 'as_fn_arith ()
   21035   {
   21036     as_val=$(( $* ))
   21037   }'
   21038 else $as_nop
   21039   as_fn_arith ()
   21040   {
   21041     as_val=`expr "$@" || test $? -eq 1`
   21042   }
   21043 fi # as_fn_arith
   21044 
   21045 
   21046 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21047    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21048   as_expr=expr
   21049 else
   21050   as_expr=false
   21051 fi
   21052 
   21053 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21054   as_basename=basename
   21055 else
   21056   as_basename=false
   21057 fi
   21058 
   21059 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21060   as_dirname=dirname
   21061 else
   21062   as_dirname=false
   21063 fi
   21064 
   21065 as_me=`$as_basename -- "$0" ||
   21066 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21067 	 X"$0" : 'X\(//\)$' \| \
   21068 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21069 printf "%s\n" X/"$0" |
   21070     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21071 	    s//\1/
   21072 	    q
   21073 	  }
   21074 	  /^X\/\(\/\/\)$/{
   21075 	    s//\1/
   21076 	    q
   21077 	  }
   21078 	  /^X\/\(\/\).*/{
   21079 	    s//\1/
   21080 	    q
   21081 	  }
   21082 	  s/.*/./; q'`
   21083 
   21084 # Avoid depending upon Character Ranges.
   21085 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21086 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21087 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21088 as_cr_digits='0123456789'
   21089 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21090 
   21091 
   21092 # Determine whether it's possible to make 'echo' print without a newline.
   21093 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21094 # for compatibility with existing Makefiles.
   21095 ECHO_C= ECHO_N= ECHO_T=
   21096 case `echo -n x` in #(((((
   21097 -n*)
   21098   case `echo 'xy\c'` in
   21099   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21100   xy)  ECHO_C='\c';;
   21101   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21102        ECHO_T='	';;
   21103   esac;;
   21104 *)
   21105   ECHO_N='-n';;
   21106 esac
   21107 
   21108 # For backward compatibility with old third-party macros, we provide
   21109 # the shell variables $as_echo and $as_echo_n.  New code should use
   21110 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21111 as_echo='printf %s\n'
   21112 as_echo_n='printf %s'
   21113 
   21114 rm -f conf$$ conf$$.exe conf$$.file
   21115 if test -d conf$$.dir; then
   21116   rm -f conf$$.dir/conf$$.file
   21117 else
   21118   rm -f conf$$.dir
   21119   mkdir conf$$.dir 2>/dev/null
   21120 fi
   21121 if (echo >conf$$.file) 2>/dev/null; then
   21122   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21123     as_ln_s='ln -s'
   21124     # ... but there are two gotchas:
   21125     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21126     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21127     # In both cases, we have to default to `cp -pR'.
   21128     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21129       as_ln_s='cp -pR'
   21130   elif ln conf$$.file conf$$ 2>/dev/null; then
   21131     as_ln_s=ln
   21132   else
   21133     as_ln_s='cp -pR'
   21134   fi
   21135 else
   21136   as_ln_s='cp -pR'
   21137 fi
   21138 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21139 rmdir conf$$.dir 2>/dev/null
   21140 
   21141 
   21142 # as_fn_mkdir_p
   21143 # -------------
   21144 # Create "$as_dir" as a directory, including parents if necessary.
   21145 as_fn_mkdir_p ()
   21146 {
   21147 
   21148   case $as_dir in #(
   21149   -*) as_dir=./$as_dir;;
   21150   esac
   21151   test -d "$as_dir" || eval $as_mkdir_p || {
   21152     as_dirs=
   21153     while :; do
   21154       case $as_dir in #(
   21155       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21156       *) as_qdir=$as_dir;;
   21157       esac
   21158       as_dirs="'$as_qdir' $as_dirs"
   21159       as_dir=`$as_dirname -- "$as_dir" ||
   21160 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21161 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21162 	 X"$as_dir" : 'X\(//\)$' \| \
   21163 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21164 printf "%s\n" X"$as_dir" |
   21165     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21166 	    s//\1/
   21167 	    q
   21168 	  }
   21169 	  /^X\(\/\/\)[^/].*/{
   21170 	    s//\1/
   21171 	    q
   21172 	  }
   21173 	  /^X\(\/\/\)$/{
   21174 	    s//\1/
   21175 	    q
   21176 	  }
   21177 	  /^X\(\/\).*/{
   21178 	    s//\1/
   21179 	    q
   21180 	  }
   21181 	  s/.*/./; q'`
   21182       test -d "$as_dir" && break
   21183     done
   21184     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21185   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21186 
   21187 
   21188 } # as_fn_mkdir_p
   21189 if mkdir -p . 2>/dev/null; then
   21190   as_mkdir_p='mkdir -p "$as_dir"'
   21191 else
   21192   test -d ./-p && rmdir ./-p
   21193   as_mkdir_p=false
   21194 fi
   21195 
   21196 
   21197 # as_fn_executable_p FILE
   21198 # -----------------------
   21199 # Test if FILE is an executable regular file.
   21200 as_fn_executable_p ()
   21201 {
   21202   test -f "$1" && test -x "$1"
   21203 } # as_fn_executable_p
   21204 as_test_x='test -x'
   21205 as_executable_p=as_fn_executable_p
   21206 
   21207 # Sed expression to map a string onto a valid CPP name.
   21208 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21209 
   21210 # Sed expression to map a string onto a valid variable name.
   21211 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21212 
   21213 
   21214 exec 6>&1
   21215 ## ----------------------------------- ##
   21216 ## Main body of $CONFIG_STATUS script. ##
   21217 ## ----------------------------------- ##
   21218 _ASEOF
   21219 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21220 
   21221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21222 # Save the log message, to keep $0 and so on meaningful, and to
   21223 # report actual input values of CONFIG_FILES etc. instead of their
   21224 # values after options handling.
   21225 ac_log="
   21226 This file was extended by libSM $as_me 1.2.4, which was
   21227 generated by GNU Autoconf 2.71.  Invocation command line was
   21228 
   21229   CONFIG_FILES    = $CONFIG_FILES
   21230   CONFIG_HEADERS  = $CONFIG_HEADERS
   21231   CONFIG_LINKS    = $CONFIG_LINKS
   21232   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21233   $ $0 $@
   21234 
   21235 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21236 "
   21237 
   21238 _ACEOF
   21239 
   21240 case $ac_config_files in *"
   21241 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21242 esac
   21243 
   21244 case $ac_config_headers in *"
   21245 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21246 esac
   21247 
   21248 
   21249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21250 # Files that config.status was made for.
   21251 config_files="$ac_config_files"
   21252 config_headers="$ac_config_headers"
   21253 config_commands="$ac_config_commands"
   21254 
   21255 _ACEOF
   21256 
   21257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21258 ac_cs_usage="\
   21259 \`$as_me' instantiates files and other configuration actions
   21260 from templates according to the current configuration.  Unless the files
   21261 and actions are specified as TAGs, all are instantiated by default.
   21262 
   21263 Usage: $0 [OPTION]... [TAG]...
   21264 
   21265   -h, --help       print this help, then exit
   21266   -V, --version    print version number and configuration settings, then exit
   21267       --config     print configuration, then exit
   21268   -q, --quiet, --silent
   21269                    do not print progress messages
   21270   -d, --debug      don't remove temporary files
   21271       --recheck    update $as_me by reconfiguring in the same conditions
   21272       --file=FILE[:TEMPLATE]
   21273                    instantiate the configuration file FILE
   21274       --header=FILE[:TEMPLATE]
   21275                    instantiate the configuration header FILE
   21276 
   21277 Configuration files:
   21278 $config_files
   21279 
   21280 Configuration headers:
   21281 $config_headers
   21282 
   21283 Configuration commands:
   21284 $config_commands
   21285 
   21286 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libsm/-/issues>."
   21287 
   21288 _ACEOF
   21289 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21290 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21292 ac_cs_config='$ac_cs_config_escaped'
   21293 ac_cs_version="\\
   21294 libSM config.status 1.2.4
   21295 configured by $0, generated by GNU Autoconf 2.71,
   21296   with options \\"\$ac_cs_config\\"
   21297 
   21298 Copyright (C) 2021 Free Software Foundation, Inc.
   21299 This config.status script is free software; the Free Software Foundation
   21300 gives unlimited permission to copy, distribute and modify it."
   21301 
   21302 ac_pwd='$ac_pwd'
   21303 srcdir='$srcdir'
   21304 INSTALL='$INSTALL'
   21305 MKDIR_P='$MKDIR_P'
   21306 AWK='$AWK'
   21307 test -n "\$AWK" || AWK=awk
   21308 _ACEOF
   21309 
   21310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21311 # The default lists apply if the user does not specify any file.
   21312 ac_need_defaults=:
   21313 while test $# != 0
   21314 do
   21315   case $1 in
   21316   --*=?*)
   21317     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21318     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21319     ac_shift=:
   21320     ;;
   21321   --*=)
   21322     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21323     ac_optarg=
   21324     ac_shift=:
   21325     ;;
   21326   *)
   21327     ac_option=$1
   21328     ac_optarg=$2
   21329     ac_shift=shift
   21330     ;;
   21331   esac
   21332 
   21333   case $ac_option in
   21334   # Handling of the options.
   21335   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21336     ac_cs_recheck=: ;;
   21337   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21338     printf "%s\n" "$ac_cs_version"; exit ;;
   21339   --config | --confi | --conf | --con | --co | --c )
   21340     printf "%s\n" "$ac_cs_config"; exit ;;
   21341   --debug | --debu | --deb | --de | --d | -d )
   21342     debug=: ;;
   21343   --file | --fil | --fi | --f )
   21344     $ac_shift
   21345     case $ac_optarg in
   21346     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21347     '') as_fn_error $? "missing file argument" ;;
   21348     esac
   21349     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21350     ac_need_defaults=false;;
   21351   --header | --heade | --head | --hea )
   21352     $ac_shift
   21353     case $ac_optarg in
   21354     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21355     esac
   21356     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21357     ac_need_defaults=false;;
   21358   --he | --h)
   21359     # Conflict between --help and --header
   21360     as_fn_error $? "ambiguous option: \`$1'
   21361 Try \`$0 --help' for more information.";;
   21362   --help | --hel | -h )
   21363     printf "%s\n" "$ac_cs_usage"; exit ;;
   21364   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21365   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21366     ac_cs_silent=: ;;
   21367 
   21368   # This is an error.
   21369   -*) as_fn_error $? "unrecognized option: \`$1'
   21370 Try \`$0 --help' for more information." ;;
   21371 
   21372   *) as_fn_append ac_config_targets " $1"
   21373      ac_need_defaults=false ;;
   21374 
   21375   esac
   21376   shift
   21377 done
   21378 
   21379 ac_configure_extra_args=
   21380 
   21381 if $ac_cs_silent; then
   21382   exec 6>/dev/null
   21383   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21384 fi
   21385 
   21386 _ACEOF
   21387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21388 if \$ac_cs_recheck; then
   21389   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21390   shift
   21391   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21392   CONFIG_SHELL='$SHELL'
   21393   export CONFIG_SHELL
   21394   exec "\$@"
   21395 fi
   21396 
   21397 _ACEOF
   21398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21399 exec 5>>config.log
   21400 {
   21401   echo
   21402   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21403 ## Running $as_me. ##
   21404 _ASBOX
   21405   printf "%s\n" "$ac_log"
   21406 } >&5
   21407 
   21408 _ACEOF
   21409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21410 #
   21411 # INIT-COMMANDS
   21412 #
   21413 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21414 
   21415 
   21416 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21417 # if CDPATH is set.
   21418 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21419 
   21420 sed_quote_subst='$sed_quote_subst'
   21421 double_quote_subst='$double_quote_subst'
   21422 delay_variable_subst='$delay_variable_subst'
   21423 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21424 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21425 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21426 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21427 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21428 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21429 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21430 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21431 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21432 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21433 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21434 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21435 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21436 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21437 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21438 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21439 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21440 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21441 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21442 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21443 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21444 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21445 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21446 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21447 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21448 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21449 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21450 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21451 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21452 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21453 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21454 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21455 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21456 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21457 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21458 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21459 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21460 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21461 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21462 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21463 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21464 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21465 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21466 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21467 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21468 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21469 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21470 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21471 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21472 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21473 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21474 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21475 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21476 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21477 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21478 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21479 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21480 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21481 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21482 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21483 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"`'
   21484 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21485 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21486 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21487 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21488 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21489 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21490 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21491 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21492 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21493 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21494 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21495 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21496 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21497 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21498 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21499 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21500 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21501 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21502 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21503 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21504 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21505 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21506 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21507 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21508 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21509 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21510 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21511 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21512 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21513 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21514 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21515 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21516 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21517 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21518 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21519 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21520 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21521 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21522 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21523 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21524 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21525 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21526 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21527 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21528 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21529 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21530 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21531 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21532 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21533 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21534 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21535 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21536 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21537 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21538 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21539 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21540 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21541 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21542 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21543 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21544 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21545 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21546 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21547 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21548 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21549 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21550 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21551 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21552 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21553 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21554 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21555 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21556 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21557 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21558 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21559 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21560 
   21561 LTCC='$LTCC'
   21562 LTCFLAGS='$LTCFLAGS'
   21563 compiler='$compiler_DEFAULT'
   21564 
   21565 # A function that is used when there is no print builtin or printf.
   21566 func_fallback_echo ()
   21567 {
   21568   eval 'cat <<_LTECHO_EOF
   21569 \$1
   21570 _LTECHO_EOF'
   21571 }
   21572 
   21573 # Quote evaled strings.
   21574 for var in SHELL \
   21575 ECHO \
   21576 PATH_SEPARATOR \
   21577 SED \
   21578 GREP \
   21579 EGREP \
   21580 FGREP \
   21581 LD \
   21582 NM \
   21583 LN_S \
   21584 lt_SP2NL \
   21585 lt_NL2SP \
   21586 reload_flag \
   21587 FILECMD \
   21588 OBJDUMP \
   21589 deplibs_check_method \
   21590 file_magic_cmd \
   21591 file_magic_glob \
   21592 want_nocaseglob \
   21593 DLLTOOL \
   21594 sharedlib_from_linklib_cmd \
   21595 AR \
   21596 archiver_list_spec \
   21597 STRIP \
   21598 RANLIB \
   21599 CC \
   21600 CFLAGS \
   21601 compiler \
   21602 lt_cv_sys_global_symbol_pipe \
   21603 lt_cv_sys_global_symbol_to_cdecl \
   21604 lt_cv_sys_global_symbol_to_import \
   21605 lt_cv_sys_global_symbol_to_c_name_address \
   21606 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21607 lt_cv_nm_interface \
   21608 nm_file_list_spec \
   21609 lt_cv_truncate_bin \
   21610 lt_prog_compiler_no_builtin_flag \
   21611 lt_prog_compiler_pic \
   21612 lt_prog_compiler_wl \
   21613 lt_prog_compiler_static \
   21614 lt_cv_prog_compiler_c_o \
   21615 need_locks \
   21616 MANIFEST_TOOL \
   21617 DSYMUTIL \
   21618 NMEDIT \
   21619 LIPO \
   21620 OTOOL \
   21621 OTOOL64 \
   21622 shrext_cmds \
   21623 export_dynamic_flag_spec \
   21624 whole_archive_flag_spec \
   21625 compiler_needs_object \
   21626 with_gnu_ld \
   21627 allow_undefined_flag \
   21628 no_undefined_flag \
   21629 hardcode_libdir_flag_spec \
   21630 hardcode_libdir_separator \
   21631 exclude_expsyms \
   21632 include_expsyms \
   21633 file_list_spec \
   21634 variables_saved_for_relink \
   21635 libname_spec \
   21636 library_names_spec \
   21637 soname_spec \
   21638 install_override_mode \
   21639 finish_eval \
   21640 old_striplib \
   21641 striplib; do
   21642     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21643     *[\\\\\\\`\\"\\\$]*)
   21644       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21645       ;;
   21646     *)
   21647       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21648       ;;
   21649     esac
   21650 done
   21651 
   21652 # Double-quote double-evaled strings.
   21653 for var in reload_cmds \
   21654 old_postinstall_cmds \
   21655 old_postuninstall_cmds \
   21656 old_archive_cmds \
   21657 extract_expsyms_cmds \
   21658 old_archive_from_new_cmds \
   21659 old_archive_from_expsyms_cmds \
   21660 archive_cmds \
   21661 archive_expsym_cmds \
   21662 module_cmds \
   21663 module_expsym_cmds \
   21664 export_symbols_cmds \
   21665 prelink_cmds \
   21666 postlink_cmds \
   21667 postinstall_cmds \
   21668 postuninstall_cmds \
   21669 finish_cmds \
   21670 sys_lib_search_path_spec \
   21671 configure_time_dlsearch_path \
   21672 configure_time_lt_sys_library_path; do
   21673     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21674     *[\\\\\\\`\\"\\\$]*)
   21675       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21676       ;;
   21677     *)
   21678       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21679       ;;
   21680     esac
   21681 done
   21682 
   21683 ac_aux_dir='$ac_aux_dir'
   21684 
   21685 # See if we are running on zsh, and set the options that allow our
   21686 # commands through without removal of \ escapes INIT.
   21687 if test -n "\${ZSH_VERSION+set}"; then
   21688    setopt NO_GLOB_SUBST
   21689 fi
   21690 
   21691 
   21692     PACKAGE='$PACKAGE'
   21693     VERSION='$VERSION'
   21694     RM='$RM'
   21695     ofile='$ofile'
   21696 
   21697 
   21698 
   21699 
   21700 _ACEOF
   21701 
   21702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21703 
   21704 # Handling of arguments.
   21705 for ac_config_target in $ac_config_targets
   21706 do
   21707   case $ac_config_target in
   21708     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21709     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21710     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21711     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21712     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   21713     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21714     "sm.pc") CONFIG_FILES="$CONFIG_FILES sm.pc" ;;
   21715 
   21716   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21717   esac
   21718 done
   21719 
   21720 
   21721 # If the user did not use the arguments to specify the items to instantiate,
   21722 # then the envvar interface is used.  Set only those that are not.
   21723 # We use the long form for the default assignment because of an extremely
   21724 # bizarre bug on SunOS 4.1.3.
   21725 if $ac_need_defaults; then
   21726   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21727   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21728   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21729 fi
   21730 
   21731 # Have a temporary directory for convenience.  Make it in the build tree
   21732 # simply because there is no reason against having it here, and in addition,
   21733 # creating and moving files from /tmp can sometimes cause problems.
   21734 # Hook for its removal unless debugging.
   21735 # Note that there is a small window in which the directory will not be cleaned:
   21736 # after its creation but before its name has been assigned to `$tmp'.
   21737 $debug ||
   21738 {
   21739   tmp= ac_tmp=
   21740   trap 'exit_status=$?
   21741   : "${ac_tmp:=$tmp}"
   21742   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21743 ' 0
   21744   trap 'as_fn_exit 1' 1 2 13 15
   21745 }
   21746 # Create a (secure) tmp directory for tmp files.
   21747 
   21748 {
   21749   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21750   test -d "$tmp"
   21751 }  ||
   21752 {
   21753   tmp=./conf$$-$RANDOM
   21754   (umask 077 && mkdir "$tmp")
   21755 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21756 ac_tmp=$tmp
   21757 
   21758 # Set up the scripts for CONFIG_FILES section.
   21759 # No need to generate them if there are no CONFIG_FILES.
   21760 # This happens for instance with `./config.status config.h'.
   21761 if test -n "$CONFIG_FILES"; then
   21762 
   21763 
   21764 ac_cr=`echo X | tr X '\015'`
   21765 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21766 # But we know of no other shell where ac_cr would be empty at this
   21767 # point, so we can use a bashism as a fallback.
   21768 if test "x$ac_cr" = x; then
   21769   eval ac_cr=\$\'\\r\'
   21770 fi
   21771 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21772 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21773   ac_cs_awk_cr='\\r'
   21774 else
   21775   ac_cs_awk_cr=$ac_cr
   21776 fi
   21777 
   21778 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21779 _ACEOF
   21780 
   21781 
   21782 {
   21783   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21784   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21785   echo "_ACEOF"
   21786 } >conf$$subs.sh ||
   21787   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21788 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21789 ac_delim='%!_!# '
   21790 for ac_last_try in false false false false false :; do
   21791   . ./conf$$subs.sh ||
   21792     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21793 
   21794   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21795   if test $ac_delim_n = $ac_delim_num; then
   21796     break
   21797   elif $ac_last_try; then
   21798     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21799   else
   21800     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21801   fi
   21802 done
   21803 rm -f conf$$subs.sh
   21804 
   21805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21806 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21807 _ACEOF
   21808 sed -n '
   21809 h
   21810 s/^/S["/; s/!.*/"]=/
   21811 p
   21812 g
   21813 s/^[^!]*!//
   21814 :repl
   21815 t repl
   21816 s/'"$ac_delim"'$//
   21817 t delim
   21818 :nl
   21819 h
   21820 s/\(.\{148\}\)..*/\1/
   21821 t more1
   21822 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21823 p
   21824 n
   21825 b repl
   21826 :more1
   21827 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21828 p
   21829 g
   21830 s/.\{148\}//
   21831 t nl
   21832 :delim
   21833 h
   21834 s/\(.\{148\}\)..*/\1/
   21835 t more2
   21836 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21837 p
   21838 b
   21839 :more2
   21840 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21841 p
   21842 g
   21843 s/.\{148\}//
   21844 t delim
   21845 ' <conf$$subs.awk | sed '
   21846 /^[^""]/{
   21847   N
   21848   s/\n//
   21849 }
   21850 ' >>$CONFIG_STATUS || ac_write_fail=1
   21851 rm -f conf$$subs.awk
   21852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21853 _ACAWK
   21854 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21855   for (key in S) S_is_set[key] = 1
   21856   FS = ""
   21857 
   21858 }
   21859 {
   21860   line = $ 0
   21861   nfields = split(line, field, "@")
   21862   substed = 0
   21863   len = length(field[1])
   21864   for (i = 2; i < nfields; i++) {
   21865     key = field[i]
   21866     keylen = length(key)
   21867     if (S_is_set[key]) {
   21868       value = S[key]
   21869       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21870       len += length(value) + length(field[++i])
   21871       substed = 1
   21872     } else
   21873       len += 1 + keylen
   21874   }
   21875 
   21876   print line
   21877 }
   21878 
   21879 _ACAWK
   21880 _ACEOF
   21881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21882 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21883   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21884 else
   21885   cat
   21886 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21887   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21888 _ACEOF
   21889 
   21890 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21891 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21892 # trailing colons and then remove the whole line if VPATH becomes empty
   21893 # (actually we leave an empty line to preserve line numbers).
   21894 if test "x$srcdir" = x.; then
   21895   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21896 h
   21897 s///
   21898 s/^/:/
   21899 s/[	 ]*$/:/
   21900 s/:\$(srcdir):/:/g
   21901 s/:\${srcdir}:/:/g
   21902 s/:@srcdir@:/:/g
   21903 s/^:*//
   21904 s/:*$//
   21905 x
   21906 s/\(=[	 ]*\).*/\1/
   21907 G
   21908 s/\n//
   21909 s/^[^=]*=[	 ]*$//
   21910 }'
   21911 fi
   21912 
   21913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21914 fi # test -n "$CONFIG_FILES"
   21915 
   21916 # Set up the scripts for CONFIG_HEADERS section.
   21917 # No need to generate them if there are no CONFIG_HEADERS.
   21918 # This happens for instance with `./config.status Makefile'.
   21919 if test -n "$CONFIG_HEADERS"; then
   21920 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21921 BEGIN {
   21922 _ACEOF
   21923 
   21924 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21925 # here-document in config.status, that substitutes the proper values into
   21926 # config.h.in to produce config.h.
   21927 
   21928 # Create a delimiter string that does not exist in confdefs.h, to ease
   21929 # handling of long lines.
   21930 ac_delim='%!_!# '
   21931 for ac_last_try in false false :; do
   21932   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21933   if test -z "$ac_tt"; then
   21934     break
   21935   elif $ac_last_try; then
   21936     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21937   else
   21938     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21939   fi
   21940 done
   21941 
   21942 # For the awk script, D is an array of macro values keyed by name,
   21943 # likewise P contains macro parameters if any.  Preserve backslash
   21944 # newline sequences.
   21945 
   21946 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21947 sed -n '
   21948 s/.\{148\}/&'"$ac_delim"'/g
   21949 t rset
   21950 :rset
   21951 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21952 t def
   21953 d
   21954 :def
   21955 s/\\$//
   21956 t bsnl
   21957 s/["\\]/\\&/g
   21958 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21959 D["\1"]=" \3"/p
   21960 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21961 d
   21962 :bsnl
   21963 s/["\\]/\\&/g
   21964 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21965 D["\1"]=" \3\\\\\\n"\\/p
   21966 t cont
   21967 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21968 t cont
   21969 d
   21970 :cont
   21971 n
   21972 s/.\{148\}/&'"$ac_delim"'/g
   21973 t clear
   21974 :clear
   21975 s/\\$//
   21976 t bsnlc
   21977 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21978 d
   21979 :bsnlc
   21980 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21981 b cont
   21982 ' <confdefs.h | sed '
   21983 s/'"$ac_delim"'/"\\\
   21984 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21985 
   21986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21987   for (key in D) D_is_set[key] = 1
   21988   FS = ""
   21989 }
   21990 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21991   line = \$ 0
   21992   split(line, arg, " ")
   21993   if (arg[1] == "#") {
   21994     defundef = arg[2]
   21995     mac1 = arg[3]
   21996   } else {
   21997     defundef = substr(arg[1], 2)
   21998     mac1 = arg[2]
   21999   }
   22000   split(mac1, mac2, "(") #)
   22001   macro = mac2[1]
   22002   prefix = substr(line, 1, index(line, defundef) - 1)
   22003   if (D_is_set[macro]) {
   22004     # Preserve the white space surrounding the "#".
   22005     print prefix "define", macro P[macro] D[macro]
   22006     next
   22007   } else {
   22008     # Replace #undef with comments.  This is necessary, for example,
   22009     # in the case of _POSIX_SOURCE, which is predefined and required
   22010     # on some systems where configure will not decide to define it.
   22011     if (defundef == "undef") {
   22012       print "/*", prefix defundef, macro, "*/"
   22013       next
   22014     }
   22015   }
   22016 }
   22017 { print }
   22018 _ACAWK
   22019 _ACEOF
   22020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22021   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22022 fi # test -n "$CONFIG_HEADERS"
   22023 
   22024 
   22025 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22026 shift
   22027 for ac_tag
   22028 do
   22029   case $ac_tag in
   22030   :[FHLC]) ac_mode=$ac_tag; continue;;
   22031   esac
   22032   case $ac_mode$ac_tag in
   22033   :[FHL]*:*);;
   22034   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   22035   :[FH]-) ac_tag=-:-;;
   22036   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22037   esac
   22038   ac_save_IFS=$IFS
   22039   IFS=:
   22040   set x $ac_tag
   22041   IFS=$ac_save_IFS
   22042   shift
   22043   ac_file=$1
   22044   shift
   22045 
   22046   case $ac_mode in
   22047   :L) ac_source=$1;;
   22048   :[FH])
   22049     ac_file_inputs=
   22050     for ac_f
   22051     do
   22052       case $ac_f in
   22053       -) ac_f="$ac_tmp/stdin";;
   22054       *) # Look for the file first in the build tree, then in the source tree
   22055 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22056 	 # because $ac_f cannot contain `:'.
   22057 	 test -f "$ac_f" ||
   22058 	   case $ac_f in
   22059 	   [\\/$]*) false;;
   22060 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22061 	   esac ||
   22062 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22063       esac
   22064       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22065       as_fn_append ac_file_inputs " '$ac_f'"
   22066     done
   22067 
   22068     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22069     # use $as_me), people would be surprised to read:
   22070     #    /* config.h.  Generated by config.status.  */
   22071     configure_input='Generated from '`
   22072 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22073 	`' by configure.'
   22074     if test x"$ac_file" != x-; then
   22075       configure_input="$ac_file.  $configure_input"
   22076       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22077 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   22078     fi
   22079     # Neutralize special characters interpreted by sed in replacement strings.
   22080     case $configure_input in #(
   22081     *\&* | *\|* | *\\* )
   22082        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22083        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22084     *) ac_sed_conf_input=$configure_input;;
   22085     esac
   22086 
   22087     case $ac_tag in
   22088     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22089       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22090     esac
   22091     ;;
   22092   esac
   22093 
   22094   ac_dir=`$as_dirname -- "$ac_file" ||
   22095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22096 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22097 	 X"$ac_file" : 'X\(//\)$' \| \
   22098 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22099 printf "%s\n" X"$ac_file" |
   22100     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22101 	    s//\1/
   22102 	    q
   22103 	  }
   22104 	  /^X\(\/\/\)[^/].*/{
   22105 	    s//\1/
   22106 	    q
   22107 	  }
   22108 	  /^X\(\/\/\)$/{
   22109 	    s//\1/
   22110 	    q
   22111 	  }
   22112 	  /^X\(\/\).*/{
   22113 	    s//\1/
   22114 	    q
   22115 	  }
   22116 	  s/.*/./; q'`
   22117   as_dir="$ac_dir"; as_fn_mkdir_p
   22118   ac_builddir=.
   22119 
   22120 case "$ac_dir" in
   22121 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22122 *)
   22123   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22124   # A ".." for each directory in $ac_dir_suffix.
   22125   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22126   case $ac_top_builddir_sub in
   22127   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22128   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22129   esac ;;
   22130 esac
   22131 ac_abs_top_builddir=$ac_pwd
   22132 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22133 # for backward compatibility:
   22134 ac_top_builddir=$ac_top_build_prefix
   22135 
   22136 case $srcdir in
   22137   .)  # We are building in place.
   22138     ac_srcdir=.
   22139     ac_top_srcdir=$ac_top_builddir_sub
   22140     ac_abs_top_srcdir=$ac_pwd ;;
   22141   [\\/]* | ?:[\\/]* )  # Absolute name.
   22142     ac_srcdir=$srcdir$ac_dir_suffix;
   22143     ac_top_srcdir=$srcdir
   22144     ac_abs_top_srcdir=$srcdir ;;
   22145   *) # Relative name.
   22146     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22147     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22148     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22149 esac
   22150 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22151 
   22152 
   22153   case $ac_mode in
   22154   :F)
   22155   #
   22156   # CONFIG_FILE
   22157   #
   22158 
   22159   case $INSTALL in
   22160   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22161   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22162   esac
   22163   ac_MKDIR_P=$MKDIR_P
   22164   case $MKDIR_P in
   22165   [\\/$]* | ?:[\\/]* ) ;;
   22166   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22167   esac
   22168 _ACEOF
   22169 
   22170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22171 # If the template does not know about datarootdir, expand it.
   22172 # FIXME: This hack should be removed a few years after 2.60.
   22173 ac_datarootdir_hack=; ac_datarootdir_seen=
   22174 ac_sed_dataroot='
   22175 /datarootdir/ {
   22176   p
   22177   q
   22178 }
   22179 /@datadir@/p
   22180 /@docdir@/p
   22181 /@infodir@/p
   22182 /@localedir@/p
   22183 /@mandir@/p'
   22184 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22185 *datarootdir*) ac_datarootdir_seen=yes;;
   22186 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22187   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22188 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22189 _ACEOF
   22190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22191   ac_datarootdir_hack='
   22192   s&@datadir@&$datadir&g
   22193   s&@docdir@&$docdir&g
   22194   s&@infodir@&$infodir&g
   22195   s&@localedir@&$localedir&g
   22196   s&@mandir@&$mandir&g
   22197   s&\\\${datarootdir}&$datarootdir&g' ;;
   22198 esac
   22199 _ACEOF
   22200 
   22201 # Neutralize VPATH when `$srcdir' = `.'.
   22202 # Shell code in configure.ac might set extrasub.
   22203 # FIXME: do we really want to maintain this feature?
   22204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22205 ac_sed_extra="$ac_vpsub
   22206 $extrasub
   22207 _ACEOF
   22208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22209 :t
   22210 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22211 s|@configure_input@|$ac_sed_conf_input|;t t
   22212 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22213 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22214 s&@srcdir@&$ac_srcdir&;t t
   22215 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22216 s&@top_srcdir@&$ac_top_srcdir&;t t
   22217 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22218 s&@builddir@&$ac_builddir&;t t
   22219 s&@abs_builddir@&$ac_abs_builddir&;t t
   22220 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22221 s&@INSTALL@&$ac_INSTALL&;t t
   22222 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22223 $ac_datarootdir_hack
   22224 "
   22225 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22226   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22227 
   22228 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22229   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22230   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22231       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22232   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22233 which seems to be undefined.  Please make sure it is defined" >&5
   22234 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22235 which seems to be undefined.  Please make sure it is defined" >&2;}
   22236 
   22237   rm -f "$ac_tmp/stdin"
   22238   case $ac_file in
   22239   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22240   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22241   esac \
   22242   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22243  ;;
   22244   :H)
   22245   #
   22246   # CONFIG_HEADER
   22247   #
   22248   if test x"$ac_file" != x-; then
   22249     {
   22250       printf "%s\n" "/* $configure_input  */" >&1 \
   22251       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22252     } >"$ac_tmp/config.h" \
   22253       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22254     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22255       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22256 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22257     else
   22258       rm -f "$ac_file"
   22259       mv "$ac_tmp/config.h" "$ac_file" \
   22260 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22261     fi
   22262   else
   22263     printf "%s\n" "/* $configure_input  */" >&1 \
   22264       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22265       || as_fn_error $? "could not create -" "$LINENO" 5
   22266   fi
   22267 # Compute "$ac_file"'s index in $config_headers.
   22268 _am_arg="$ac_file"
   22269 _am_stamp_count=1
   22270 for _am_header in $config_headers :; do
   22271   case $_am_header in
   22272     $_am_arg | $_am_arg:* )
   22273       break ;;
   22274     * )
   22275       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22276   esac
   22277 done
   22278 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22279 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22280 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22281 	 X"$_am_arg" : 'X\(//\)$' \| \
   22282 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22283 printf "%s\n" X"$_am_arg" |
   22284     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22285 	    s//\1/
   22286 	    q
   22287 	  }
   22288 	  /^X\(\/\/\)[^/].*/{
   22289 	    s//\1/
   22290 	    q
   22291 	  }
   22292 	  /^X\(\/\/\)$/{
   22293 	    s//\1/
   22294 	    q
   22295 	  }
   22296 	  /^X\(\/\).*/{
   22297 	    s//\1/
   22298 	    q
   22299 	  }
   22300 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22301  ;;
   22302 
   22303   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22304 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22305  ;;
   22306   esac
   22307 
   22308 
   22309   case $ac_file$ac_mode in
   22310     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22311   # Older Autoconf quotes --file arguments for eval, but not when files
   22312   # are listed without --file.  Let's play safe and only enable the eval
   22313   # if we detect the quoting.
   22314   # TODO: see whether this extra hack can be removed once we start
   22315   # requiring Autoconf 2.70 or later.
   22316   case $CONFIG_FILES in #(
   22317   *\'*) :
   22318     eval set x "$CONFIG_FILES" ;; #(
   22319   *) :
   22320     set x $CONFIG_FILES ;; #(
   22321   *) :
   22322      ;;
   22323 esac
   22324   shift
   22325   # Used to flag and report bootstrapping failures.
   22326   am_rc=0
   22327   for am_mf
   22328   do
   22329     # Strip MF so we end up with the name of the file.
   22330     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22331     # Check whether this is an Automake generated Makefile which includes
   22332     # dependency-tracking related rules and includes.
   22333     # Grep'ing the whole file directly is not great: AIX grep has a line
   22334     # limit of 2048, but all sed's we know have understand at least 4000.
   22335     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22336       || continue
   22337     am_dirpart=`$as_dirname -- "$am_mf" ||
   22338 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22339 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22340 	 X"$am_mf" : 'X\(//\)$' \| \
   22341 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22342 printf "%s\n" X"$am_mf" |
   22343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22344 	    s//\1/
   22345 	    q
   22346 	  }
   22347 	  /^X\(\/\/\)[^/].*/{
   22348 	    s//\1/
   22349 	    q
   22350 	  }
   22351 	  /^X\(\/\/\)$/{
   22352 	    s//\1/
   22353 	    q
   22354 	  }
   22355 	  /^X\(\/\).*/{
   22356 	    s//\1/
   22357 	    q
   22358 	  }
   22359 	  s/.*/./; q'`
   22360     am_filepart=`$as_basename -- "$am_mf" ||
   22361 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22362 	 X"$am_mf" : 'X\(//\)$' \| \
   22363 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22364 printf "%s\n" X/"$am_mf" |
   22365     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22366 	    s//\1/
   22367 	    q
   22368 	  }
   22369 	  /^X\/\(\/\/\)$/{
   22370 	    s//\1/
   22371 	    q
   22372 	  }
   22373 	  /^X\/\(\/\).*/{
   22374 	    s//\1/
   22375 	    q
   22376 	  }
   22377 	  s/.*/./; q'`
   22378     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22379       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22380         | $MAKE -f - am--depfiles" >&5
   22381    (cd "$am_dirpart" \
   22382       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22383         | $MAKE -f - am--depfiles) >&5 2>&5
   22384    ac_status=$?
   22385    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22386    (exit $ac_status); } || am_rc=$?
   22387   done
   22388   if test $am_rc -ne 0; then
   22389     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22390 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   22391 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22392     for automatic dependency tracking.  If GNU make was not used, consider
   22393     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22394     necessary).  You can also try re-running configure with the
   22395     '--disable-dependency-tracking' option to at least be able to build
   22396     the package (albeit without support for automatic dependency tracking).
   22397 See \`config.log' for more details" "$LINENO" 5; }
   22398   fi
   22399   { am_dirpart=; unset am_dirpart;}
   22400   { am_filepart=; unset am_filepart;}
   22401   { am_mf=; unset am_mf;}
   22402   { am_rc=; unset am_rc;}
   22403   rm -f conftest-deps.mk
   22404 }
   22405  ;;
   22406     "libtool":C)
   22407 
   22408     # See if we are running on zsh, and set the options that allow our
   22409     # commands through without removal of \ escapes.
   22410     if test -n "${ZSH_VERSION+set}"; then
   22411       setopt NO_GLOB_SUBST
   22412     fi
   22413 
   22414     cfgfile=${ofile}T
   22415     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22416     $RM "$cfgfile"
   22417 
   22418     cat <<_LT_EOF >> "$cfgfile"
   22419 #! $SHELL
   22420 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22421 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22422 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22423 
   22424 # Provide generalized library-building support services.
   22425 # Written by Gordon Matzigkeit, 1996
   22426 
   22427 # Copyright (C) 2014 Free Software Foundation, Inc.
   22428 # This is free software; see the source for copying conditions.  There is NO
   22429 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22430 
   22431 # GNU Libtool is free software; you can redistribute it and/or modify
   22432 # it under the terms of the GNU General Public License as published by
   22433 # the Free Software Foundation; either version 2 of of the License, or
   22434 # (at your option) any later version.
   22435 #
   22436 # As a special exception to the GNU General Public License, if you
   22437 # distribute this file as part of a program or library that is built
   22438 # using GNU Libtool, you may include this file under the  same
   22439 # distribution terms that you use for the rest of that program.
   22440 #
   22441 # GNU Libtool is distributed in the hope that it will be useful, but
   22442 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22443 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22444 # GNU General Public License for more details.
   22445 #
   22446 # You should have received a copy of the GNU General Public License
   22447 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22448 
   22449 
   22450 # The names of the tagged configurations supported by this script.
   22451 available_tags=''
   22452 
   22453 # Configured defaults for sys_lib_dlsearch_path munging.
   22454 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22455 
   22456 # ### BEGIN LIBTOOL CONFIG
   22457 
   22458 # Which release of libtool.m4 was used?
   22459 macro_version=$macro_version
   22460 macro_revision=$macro_revision
   22461 
   22462 # Whether or not to build shared libraries.
   22463 build_libtool_libs=$enable_shared
   22464 
   22465 # Whether or not to build static libraries.
   22466 build_old_libs=$enable_static
   22467 
   22468 # What type of objects to build.
   22469 pic_mode=$pic_mode
   22470 
   22471 # Whether or not to optimize for fast installation.
   22472 fast_install=$enable_fast_install
   22473 
   22474 # Shared archive member basename,for filename based shared library versioning on AIX.
   22475 shared_archive_member_spec=$shared_archive_member_spec
   22476 
   22477 # Shell to use when invoking shell scripts.
   22478 SHELL=$lt_SHELL
   22479 
   22480 # An echo program that protects backslashes.
   22481 ECHO=$lt_ECHO
   22482 
   22483 # The PATH separator for the build system.
   22484 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22485 
   22486 # The host system.
   22487 host_alias=$host_alias
   22488 host=$host
   22489 host_os=$host_os
   22490 
   22491 # The build system.
   22492 build_alias=$build_alias
   22493 build=$build
   22494 build_os=$build_os
   22495 
   22496 # A sed program that does not truncate output.
   22497 SED=$lt_SED
   22498 
   22499 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22500 Xsed="\$SED -e 1s/^X//"
   22501 
   22502 # A grep program that handles long lines.
   22503 GREP=$lt_GREP
   22504 
   22505 # An ERE matcher.
   22506 EGREP=$lt_EGREP
   22507 
   22508 # A literal string matcher.
   22509 FGREP=$lt_FGREP
   22510 
   22511 # A BSD- or MS-compatible name lister.
   22512 NM=$lt_NM
   22513 
   22514 # Whether we need soft or hard links.
   22515 LN_S=$lt_LN_S
   22516 
   22517 # What is the maximum length of a command?
   22518 max_cmd_len=$max_cmd_len
   22519 
   22520 # Object file suffix (normally "o").
   22521 objext=$ac_objext
   22522 
   22523 # Executable file suffix (normally "").
   22524 exeext=$exeext
   22525 
   22526 # whether the shell understands "unset".
   22527 lt_unset=$lt_unset
   22528 
   22529 # turn spaces into newlines.
   22530 SP2NL=$lt_lt_SP2NL
   22531 
   22532 # turn newlines into spaces.
   22533 NL2SP=$lt_lt_NL2SP
   22534 
   22535 # convert \$build file names to \$host format.
   22536 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22537 
   22538 # convert \$build files to toolchain format.
   22539 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22540 
   22541 # A file(cmd) program that detects file types.
   22542 FILECMD=$lt_FILECMD
   22543 
   22544 # An object symbol dumper.
   22545 OBJDUMP=$lt_OBJDUMP
   22546 
   22547 # Method to check whether dependent libraries are shared objects.
   22548 deplibs_check_method=$lt_deplibs_check_method
   22549 
   22550 # Command to use when deplibs_check_method = "file_magic".
   22551 file_magic_cmd=$lt_file_magic_cmd
   22552 
   22553 # How to find potential files when deplibs_check_method = "file_magic".
   22554 file_magic_glob=$lt_file_magic_glob
   22555 
   22556 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22557 want_nocaseglob=$lt_want_nocaseglob
   22558 
   22559 # DLL creation program.
   22560 DLLTOOL=$lt_DLLTOOL
   22561 
   22562 # Command to associate shared and link libraries.
   22563 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22564 
   22565 # The archiver.
   22566 AR=$lt_AR
   22567 
   22568 # Flags to create an archive (by configure).
   22569 lt_ar_flags=$lt_ar_flags
   22570 
   22571 # Flags to create an archive.
   22572 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22573 
   22574 # How to feed a file listing to the archiver.
   22575 archiver_list_spec=$lt_archiver_list_spec
   22576 
   22577 # A symbol stripping program.
   22578 STRIP=$lt_STRIP
   22579 
   22580 # Commands used to install an old-style archive.
   22581 RANLIB=$lt_RANLIB
   22582 old_postinstall_cmds=$lt_old_postinstall_cmds
   22583 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22584 
   22585 # Whether to use a lock for old archive extraction.
   22586 lock_old_archive_extraction=$lock_old_archive_extraction
   22587 
   22588 # A C compiler.
   22589 LTCC=$lt_CC
   22590 
   22591 # LTCC compiler flags.
   22592 LTCFLAGS=$lt_CFLAGS
   22593 
   22594 # Take the output of nm and produce a listing of raw symbols and C names.
   22595 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22596 
   22597 # Transform the output of nm in a proper C declaration.
   22598 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22599 
   22600 # Transform the output of nm into a list of symbols to manually relocate.
   22601 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22602 
   22603 # Transform the output of nm in a C name address pair.
   22604 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22605 
   22606 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22607 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22608 
   22609 # The name lister interface.
   22610 nm_interface=$lt_lt_cv_nm_interface
   22611 
   22612 # Specify filename containing input files for \$NM.
   22613 nm_file_list_spec=$lt_nm_file_list_spec
   22614 
   22615 # The root where to search for dependent libraries,and where our libraries should be installed.
   22616 lt_sysroot=$lt_sysroot
   22617 
   22618 # Command to truncate a binary pipe.
   22619 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22620 
   22621 # The name of the directory that contains temporary libtool files.
   22622 objdir=$objdir
   22623 
   22624 # Used to examine libraries when file_magic_cmd begins with "file".
   22625 MAGIC_CMD=$MAGIC_CMD
   22626 
   22627 # Must we lock files when doing compilation?
   22628 need_locks=$lt_need_locks
   22629 
   22630 # Manifest tool.
   22631 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22632 
   22633 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22634 DSYMUTIL=$lt_DSYMUTIL
   22635 
   22636 # Tool to change global to local symbols on Mac OS X.
   22637 NMEDIT=$lt_NMEDIT
   22638 
   22639 # Tool to manipulate fat objects and archives on Mac OS X.
   22640 LIPO=$lt_LIPO
   22641 
   22642 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22643 OTOOL=$lt_OTOOL
   22644 
   22645 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22646 OTOOL64=$lt_OTOOL64
   22647 
   22648 # Old archive suffix (normally "a").
   22649 libext=$libext
   22650 
   22651 # Shared library suffix (normally ".so").
   22652 shrext_cmds=$lt_shrext_cmds
   22653 
   22654 # The commands to extract the exported symbol list from a shared archive.
   22655 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22656 
   22657 # Variables whose values should be saved in libtool wrapper scripts and
   22658 # restored at link time.
   22659 variables_saved_for_relink=$lt_variables_saved_for_relink
   22660 
   22661 # Do we need the "lib" prefix for modules?
   22662 need_lib_prefix=$need_lib_prefix
   22663 
   22664 # Do we need a version for libraries?
   22665 need_version=$need_version
   22666 
   22667 # Library versioning type.
   22668 version_type=$version_type
   22669 
   22670 # Shared library runtime path variable.
   22671 runpath_var=$runpath_var
   22672 
   22673 # Shared library path variable.
   22674 shlibpath_var=$shlibpath_var
   22675 
   22676 # Is shlibpath searched before the hard-coded library search path?
   22677 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22678 
   22679 # Format of library name prefix.
   22680 libname_spec=$lt_libname_spec
   22681 
   22682 # List of archive names.  First name is the real one, the rest are links.
   22683 # The last name is the one that the linker finds with -lNAME
   22684 library_names_spec=$lt_library_names_spec
   22685 
   22686 # The coded name of the library, if different from the real name.
   22687 soname_spec=$lt_soname_spec
   22688 
   22689 # Permission mode override for installation of shared libraries.
   22690 install_override_mode=$lt_install_override_mode
   22691 
   22692 # Command to use after installation of a shared archive.
   22693 postinstall_cmds=$lt_postinstall_cmds
   22694 
   22695 # Command to use after uninstallation of a shared archive.
   22696 postuninstall_cmds=$lt_postuninstall_cmds
   22697 
   22698 # Commands used to finish a libtool library installation in a directory.
   22699 finish_cmds=$lt_finish_cmds
   22700 
   22701 # As "finish_cmds", except a single script fragment to be evaled but
   22702 # not shown.
   22703 finish_eval=$lt_finish_eval
   22704 
   22705 # Whether we should hardcode library paths into libraries.
   22706 hardcode_into_libs=$hardcode_into_libs
   22707 
   22708 # Compile-time system search path for libraries.
   22709 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22710 
   22711 # Detected run-time system search path for libraries.
   22712 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22713 
   22714 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22715 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22716 
   22717 # Whether dlopen is supported.
   22718 dlopen_support=$enable_dlopen
   22719 
   22720 # Whether dlopen of programs is supported.
   22721 dlopen_self=$enable_dlopen_self
   22722 
   22723 # Whether dlopen of statically linked programs is supported.
   22724 dlopen_self_static=$enable_dlopen_self_static
   22725 
   22726 # Commands to strip libraries.
   22727 old_striplib=$lt_old_striplib
   22728 striplib=$lt_striplib
   22729 
   22730 
   22731 # The linker used to build libraries.
   22732 LD=$lt_LD
   22733 
   22734 # How to create reloadable object files.
   22735 reload_flag=$lt_reload_flag
   22736 reload_cmds=$lt_reload_cmds
   22737 
   22738 # Commands used to build an old-style archive.
   22739 old_archive_cmds=$lt_old_archive_cmds
   22740 
   22741 # A language specific compiler.
   22742 CC=$lt_compiler
   22743 
   22744 # Is the compiler the GNU compiler?
   22745 with_gcc=$GCC
   22746 
   22747 # Compiler flag to turn off builtin functions.
   22748 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22749 
   22750 # Additional compiler flags for building library objects.
   22751 pic_flag=$lt_lt_prog_compiler_pic
   22752 
   22753 # How to pass a linker flag through the compiler.
   22754 wl=$lt_lt_prog_compiler_wl
   22755 
   22756 # Compiler flag to prevent dynamic linking.
   22757 link_static_flag=$lt_lt_prog_compiler_static
   22758 
   22759 # Does compiler simultaneously support -c and -o options?
   22760 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22761 
   22762 # Whether or not to add -lc for building shared libraries.
   22763 build_libtool_need_lc=$archive_cmds_need_lc
   22764 
   22765 # Whether or not to disallow shared libs when runtime libs are static.
   22766 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22767 
   22768 # Compiler flag to allow reflexive dlopens.
   22769 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22770 
   22771 # Compiler flag to generate shared objects directly from archives.
   22772 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22773 
   22774 # Whether the compiler copes with passing no objects directly.
   22775 compiler_needs_object=$lt_compiler_needs_object
   22776 
   22777 # Create an old-style archive from a shared archive.
   22778 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22779 
   22780 # Create a temporary old-style archive to link instead of a shared archive.
   22781 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22782 
   22783 # Commands used to build a shared archive.
   22784 archive_cmds=$lt_archive_cmds
   22785 archive_expsym_cmds=$lt_archive_expsym_cmds
   22786 
   22787 # Commands used to build a loadable module if different from building
   22788 # a shared archive.
   22789 module_cmds=$lt_module_cmds
   22790 module_expsym_cmds=$lt_module_expsym_cmds
   22791 
   22792 # Whether we are building with GNU ld or not.
   22793 with_gnu_ld=$lt_with_gnu_ld
   22794 
   22795 # Flag that allows shared libraries with undefined symbols to be built.
   22796 allow_undefined_flag=$lt_allow_undefined_flag
   22797 
   22798 # Flag that enforces no undefined symbols.
   22799 no_undefined_flag=$lt_no_undefined_flag
   22800 
   22801 # Flag to hardcode \$libdir into a binary during linking.
   22802 # This must work even if \$libdir does not exist
   22803 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22804 
   22805 # Whether we need a single "-rpath" flag with a separated argument.
   22806 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22807 
   22808 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22809 # DIR into the resulting binary.
   22810 hardcode_direct=$hardcode_direct
   22811 
   22812 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22813 # DIR into the resulting binary and the resulting library dependency is
   22814 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22815 # library is relocated.
   22816 hardcode_direct_absolute=$hardcode_direct_absolute
   22817 
   22818 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22819 # into the resulting binary.
   22820 hardcode_minus_L=$hardcode_minus_L
   22821 
   22822 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22823 # into the resulting binary.
   22824 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22825 
   22826 # Set to "yes" if building a shared library automatically hardcodes DIR
   22827 # into the library and all subsequent libraries and executables linked
   22828 # against it.
   22829 hardcode_automatic=$hardcode_automatic
   22830 
   22831 # Set to yes if linker adds runtime paths of dependent libraries
   22832 # to runtime path list.
   22833 inherit_rpath=$inherit_rpath
   22834 
   22835 # Whether libtool must link a program against all its dependency libraries.
   22836 link_all_deplibs=$link_all_deplibs
   22837 
   22838 # Set to "yes" if exported symbols are required.
   22839 always_export_symbols=$always_export_symbols
   22840 
   22841 # The commands to list exported symbols.
   22842 export_symbols_cmds=$lt_export_symbols_cmds
   22843 
   22844 # Symbols that should not be listed in the preloaded symbols.
   22845 exclude_expsyms=$lt_exclude_expsyms
   22846 
   22847 # Symbols that must always be exported.
   22848 include_expsyms=$lt_include_expsyms
   22849 
   22850 # Commands necessary for linking programs (against libraries) with templates.
   22851 prelink_cmds=$lt_prelink_cmds
   22852 
   22853 # Commands necessary for finishing linking programs.
   22854 postlink_cmds=$lt_postlink_cmds
   22855 
   22856 # Specify filename containing input files.
   22857 file_list_spec=$lt_file_list_spec
   22858 
   22859 # How to hardcode a shared library path into an executable.
   22860 hardcode_action=$hardcode_action
   22861 
   22862 # ### END LIBTOOL CONFIG
   22863 
   22864 _LT_EOF
   22865 
   22866     cat <<'_LT_EOF' >> "$cfgfile"
   22867 
   22868 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22869 
   22870 # func_munge_path_list VARIABLE PATH
   22871 # -----------------------------------
   22872 # VARIABLE is name of variable containing _space_ separated list of
   22873 # directories to be munged by the contents of PATH, which is string
   22874 # having a format:
   22875 # "DIR[:DIR]:"
   22876 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22877 # ":DIR[:DIR]"
   22878 #       string "DIR[ DIR]" will be appended to VARIABLE
   22879 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22880 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22881 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22882 # "DIR[:DIR]"
   22883 #       VARIABLE will be replaced by "DIR[ DIR]"
   22884 func_munge_path_list ()
   22885 {
   22886     case x$2 in
   22887     x)
   22888         ;;
   22889     *:)
   22890         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22891         ;;
   22892     x:*)
   22893         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22894         ;;
   22895     *::*)
   22896         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22897         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22898         ;;
   22899     *)
   22900         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22901         ;;
   22902     esac
   22903 }
   22904 
   22905 
   22906 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22907 func_cc_basename ()
   22908 {
   22909     for cc_temp in $*""; do
   22910       case $cc_temp in
   22911         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22912         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22913         \-*) ;;
   22914         *) break;;
   22915       esac
   22916     done
   22917     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22918 }
   22919 
   22920 
   22921 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22922 
   22923 _LT_EOF
   22924 
   22925   case $host_os in
   22926   aix3*)
   22927     cat <<\_LT_EOF >> "$cfgfile"
   22928 # AIX sometimes has problems with the GCC collect2 program.  For some
   22929 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22930 # vanish in a puff of smoke.
   22931 if test set != "${COLLECT_NAMES+set}"; then
   22932   COLLECT_NAMES=
   22933   export COLLECT_NAMES
   22934 fi
   22935 _LT_EOF
   22936     ;;
   22937   esac
   22938 
   22939 
   22940 
   22941 ltmain=$ac_aux_dir/ltmain.sh
   22942 
   22943 
   22944   # We use sed instead of cat because bash on DJGPP gets confused if
   22945   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22946   # text mode, it properly converts lines to CR/LF.  This bash problem
   22947   # is reportedly fixed, but why not run on old versions too?
   22948   $SED '$q' "$ltmain" >> "$cfgfile" \
   22949      || (rm -f "$cfgfile"; exit 1)
   22950 
   22951    mv -f "$cfgfile" "$ofile" ||
   22952     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22953   chmod +x "$ofile"
   22954 
   22955  ;;
   22956 
   22957   esac
   22958 done # for ac_tag
   22959 
   22960 
   22961 as_fn_exit 0
   22962 _ACEOF
   22963 ac_clean_files=$ac_clean_files_save
   22964 
   22965 test $ac_write_fail = 0 ||
   22966   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22967 
   22968 
   22969 # configure is writing to config.log, and then calls config.status.
   22970 # config.status does its own redirection, appending to config.log.
   22971 # Unfortunately, on DOS this fails, as config.log is still kept open
   22972 # by configure, so config.status won't be able to write to it; its
   22973 # output is simply discarded.  So we exec the FD to /dev/null,
   22974 # effectively closing config.log, so it can be properly (re)opened and
   22975 # appended to by config.status.  When coming back to configure, we
   22976 # need to make the FD available again.
   22977 if test "$no_create" != yes; then
   22978   ac_cs_success=:
   22979   ac_config_status_args=
   22980   test "$silent" = yes &&
   22981     ac_config_status_args="$ac_config_status_args --quiet"
   22982   exec 5>/dev/null
   22983   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22984   exec 5>>config.log
   22985   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22986   # would make configure fail if this is the last instruction.
   22987   $ac_cs_success || as_fn_exit 1
   22988 fi
   22989 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22990   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22991 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22992 fi
   22993 
   22994 
   22995