Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for libSM 1.2.6.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libsm/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 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 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     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="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    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 case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    195 test \$(( 1 + 1 )) = 2 || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://gitlab.freedesktop.org/xorg/lib/libsm/-/issues
    283 $0: about your system, including any error possibly output
    284 $0: before this message. Then install a modern shell, or
    285 $0: manually run the script under such a shell if you do
    286 $0: have one."
    287   fi
    288   exit 1
    289 fi ;;
    290 esac
    291 fi
    292 fi
    293 SHELL=${CONFIG_SHELL-/bin/sh}
    294 export SHELL
    295 # Unset more variables known to interfere with behavior of common tools.
    296 CLICOLOR_FORCE= GREP_OPTIONS=
    297 unset CLICOLOR_FORCE GREP_OPTIONS
    298 
    299 ## --------------------- ##
    300 ## M4sh Shell Functions. ##
    301 ## --------------------- ##
    302 # as_fn_unset VAR
    303 # ---------------
    304 # Portably unset VAR.
    305 as_fn_unset ()
    306 {
    307   { eval $1=; unset $1;}
    308 }
    309 as_unset=as_fn_unset
    310 
    311 
    312 # as_fn_set_status STATUS
    313 # -----------------------
    314 # Set $? to STATUS, without forking.
    315 as_fn_set_status ()
    316 {
    317   return $1
    318 } # as_fn_set_status
    319 
    320 # as_fn_exit STATUS
    321 # -----------------
    322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    323 as_fn_exit ()
    324 {
    325   set +e
    326   as_fn_set_status $1
    327   exit $1
    328 } # as_fn_exit
    329 
    330 # as_fn_mkdir_p
    331 # -------------
    332 # Create "$as_dir" as a directory, including parents if necessary.
    333 as_fn_mkdir_p ()
    334 {
    335 
    336   case $as_dir in #(
    337   -*) as_dir=./$as_dir;;
    338   esac
    339   test -d "$as_dir" || eval $as_mkdir_p || {
    340     as_dirs=
    341     while :; do
    342       case $as_dir in #(
    343       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344       *) as_qdir=$as_dir;;
    345       esac
    346       as_dirs="'$as_qdir' $as_dirs"
    347       as_dir=`$as_dirname -- "$as_dir" ||
    348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350 	 X"$as_dir" : 'X\(//\)$' \| \
    351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352 printf "%s\n" X"$as_dir" |
    353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)[^/].*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)$/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\).*/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  s/.*/./; q'`
    370       test -d "$as_dir" && break
    371     done
    372     test -z "$as_dirs" || eval "mkdir $as_dirs"
    373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374 
    375 
    376 } # as_fn_mkdir_p
    377 
    378 # as_fn_executable_p FILE
    379 # -----------------------
    380 # Test if FILE is an executable regular file.
    381 as_fn_executable_p ()
    382 {
    383   test -f "$1" && test -x "$1"
    384 } # as_fn_executable_p
    385 # as_fn_append VAR VALUE
    386 # ----------------------
    387 # Append the text in VALUE to the end of the definition contained in VAR. Take
    388 # advantage of any shell optimizations that allow amortized linear growth over
    389 # repeated appends, instead of the typical quadratic growth present in naive
    390 # implementations.
    391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392 then :
    393   eval 'as_fn_append ()
    394   {
    395     eval $1+=\$2
    396   }'
    397 else case e in #(
    398   e) as_fn_append ()
    399   {
    400     eval $1=\$$1\$2
    401   } ;;
    402 esac
    403 fi # as_fn_append
    404 
    405 # as_fn_arith ARG...
    406 # ------------------
    407 # Perform arithmetic evaluation on the ARGs, and store the result in the
    408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    409 # must be portable across $(()) and expr.
    410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    411 then :
    412   eval 'as_fn_arith ()
    413   {
    414     as_val=$(( $* ))
    415   }'
    416 else case e in #(
    417   e) as_fn_arith ()
    418   {
    419     as_val=`expr "$@" || test $? -eq 1`
    420   } ;;
    421 esac
    422 fi # as_fn_arith
    423 
    424 
    425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    426 # ----------------------------------------
    427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    429 # script with STATUS, using 1 if that was 0.
    430 as_fn_error ()
    431 {
    432   as_status=$1; test $as_status -eq 0 && as_status=1
    433   if test "$4"; then
    434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    436   fi
    437   printf "%s\n" "$as_me: error: $2" >&2
    438   as_fn_exit $as_status
    439 } # as_fn_error
    440 
    441 if expr a : '\(a\)' >/dev/null 2>&1 &&
    442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    443   as_expr=expr
    444 else
    445   as_expr=false
    446 fi
    447 
    448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    449   as_basename=basename
    450 else
    451   as_basename=false
    452 fi
    453 
    454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    455   as_dirname=dirname
    456 else
    457   as_dirname=false
    458 fi
    459 
    460 as_me=`$as_basename -- "$0" ||
    461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    462 	 X"$0" : 'X\(//\)$' \| \
    463 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    464 printf "%s\n" X/"$0" |
    465     sed '/^.*\/\([^/][^/]*\)\/*$/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  /^X\/\(\/\/\)$/{
    470 	    s//\1/
    471 	    q
    472 	  }
    473 	  /^X\/\(\/\).*/{
    474 	    s//\1/
    475 	    q
    476 	  }
    477 	  s/.*/./; q'`
    478 
    479 # Avoid depending upon Character Ranges.
    480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    483 as_cr_digits='0123456789'
    484 as_cr_alnum=$as_cr_Letters$as_cr_digits
    485 
    486 
    487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    492   sed -n '
    493     p
    494     /[$]LINENO/=
    495   ' <$as_myself |
    496     sed '
    497       t clear
    498       :clear
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 rm -f conf$$ conf$$.exe conf$$.file
    548 if test -d conf$$.dir; then
    549   rm -f conf$$.dir/conf$$.file
    550 else
    551   rm -f conf$$.dir
    552   mkdir conf$$.dir 2>/dev/null
    553 fi
    554 if (echo >conf$$.file) 2>/dev/null; then
    555   if ln -s conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s='ln -s'
    557     # ... but there are two gotchas:
    558     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    559     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    560     # In both cases, we have to default to 'cp -pR'.
    561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    562       as_ln_s='cp -pR'
    563   elif ln conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s=ln
    565   else
    566     as_ln_s='cp -pR'
    567   fi
    568 else
    569   as_ln_s='cp -pR'
    570 fi
    571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    572 rmdir conf$$.dir 2>/dev/null
    573 
    574 if mkdir -p . 2>/dev/null; then
    575   as_mkdir_p='mkdir -p "$as_dir"'
    576 else
    577   test -d ./-p && rmdir ./-p
    578   as_mkdir_p=false
    579 fi
    580 
    581 as_test_x='test -x'
    582 as_executable_p=as_fn_executable_p
    583 
    584 # Sed expression to map a string onto a valid CPP name.
    585 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    586 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    590 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    591 
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593 
    594 as_awk_strverscmp='
    595   # Use only awk features that work with 7th edition Unix awk (1978).
    596   # My, what an old awk you have, Mr. Solaris!
    597   END {
    598     while (length(v1) && length(v2)) {
    599       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    600       # Normally this is a single character, but if v1 and v2 contain digits,
    601       # compare them as integers and fractions as strverscmp does.
    602       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    603 	# Split v1 and v2 into their leading digit string components d1 and d2,
    604 	# and advance v1 and v2 past the leading digit strings.
    605 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    606 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    607 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    608 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    609 	if (d1 ~ /^0/) {
    610 	  if (d2 ~ /^0/) {
    611 	    # Compare two fractions.
    612 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    613 	      d1 = substr(d1, 2); len1--
    614 	      d2 = substr(d2, 2); len2--
    615 	    }
    616 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    617 	      # The two components differ in length, and the common prefix
    618 	      # contains only leading zeros.  Consider the longer to be less.
    619 	      d1 = -len1
    620 	      d2 = -len2
    621 	    } else {
    622 	      # Otherwise, compare as strings.
    623 	      d1 = "x" d1
    624 	      d2 = "x" d2
    625 	    }
    626 	  } else {
    627 	    # A fraction is less than an integer.
    628 	    exit 1
    629 	  }
    630 	} else {
    631 	  if (d2 ~ /^0/) {
    632 	    # An integer is greater than a fraction.
    633 	    exit 2
    634 	  } else {
    635 	    # Compare two integers.
    636 	    d1 += 0
    637 	    d2 += 0
    638 	  }
    639 	}
    640       } else {
    641 	# The normal case, without worrying about digits.
    642 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    643 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    644       }
    645       if (d1 < d2) exit 1
    646       if (d1 > d2) exit 2
    647     }
    648     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    649     # which mishandles some comparisons of empty strings to integers.
    650     if (length(v2)) exit 1
    651     if (length(v1)) exit 2
    652   }
    653 '
    654 
    655 test -n "$DJDIR" || exec 7<&0 </dev/null
    656 exec 6>&1
    657 
    658 # Name of the host.
    659 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    660 # so uname gets run too.
    661 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    662 
    663 #
    664 # Initializations.
    665 #
    666 ac_default_prefix=/usr/local
    667 ac_clean_files=
    668 ac_config_libobj_dir=.
    669 LIBOBJS=
    670 cross_compiling=no
    671 subdirs=
    672 MFLAGS=
    673 MAKEFLAGS=
    674 
    675 # Identity of this package.
    676 PACKAGE_NAME='libSM'
    677 PACKAGE_TARNAME='libSM'
    678 PACKAGE_VERSION='1.2.6'
    679 PACKAGE_STRING='libSM 1.2.6'
    680 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libsm/-/issues'
    681 PACKAGE_URL=''
    682 
    683 ac_unique_file="Makefile.am"
    684 # Factoring default headers for most tests.
    685 ac_includes_default="\
    686 #include <stddef.h>
    687 #ifdef HAVE_STDIO_H
    688 # include <stdio.h>
    689 #endif
    690 #ifdef HAVE_STDLIB_H
    691 # include <stdlib.h>
    692 #endif
    693 #ifdef HAVE_STRING_H
    694 # include <string.h>
    695 #endif
    696 #ifdef HAVE_INTTYPES_H
    697 # include <inttypes.h>
    698 #endif
    699 #ifdef HAVE_STDINT_H
    700 # include <stdint.h>
    701 #endif
    702 #ifdef HAVE_STRINGS_H
    703 # include <strings.h>
    704 #endif
    705 #ifdef HAVE_SYS_TYPES_H
    706 # include <sys/types.h>
    707 #endif
    708 #ifdef HAVE_SYS_STAT_H
    709 # include <sys/stat.h>
    710 #endif
    711 #ifdef HAVE_UNISTD_H
    712 # include <unistd.h>
    713 #endif"
    714 
    715 ac_header_c_list=
    716 ac_subst_vars='am__EXEEXT_FALSE
    717 am__EXEEXT_TRUE
    718 LTLIBOBJS
    719 LIBOBJS
    720 SM_LIBS
    721 SM_CFLAGS
    722 WITH_LIBUUID_FALSE
    723 WITH_LIBUUID_TRUE
    724 UUID_PC
    725 UUID_LIB_PRIVATE
    726 LIBUUID_LIBS
    727 LIBUUID_CFLAGS
    728 HAVE_STYLESHEETS_FALSE
    729 HAVE_STYLESHEETS_TRUE
    730 XSL_STYLESHEET
    731 STYLESHEET_SRCDIR
    732 XORG_SGML_PATH
    733 HAVE_XSLTPROC_FALSE
    734 HAVE_XSLTPROC_TRUE
    735 XSLTPROC
    736 HAVE_FOP_FALSE
    737 HAVE_FOP_TRUE
    738 FOP
    739 HAVE_XMLTO_FALSE
    740 HAVE_XMLTO_TRUE
    741 HAVE_XMLTO_TEXT_FALSE
    742 HAVE_XMLTO_TEXT_TRUE
    743 XMLTO
    744 ENABLE_DOCS_FALSE
    745 ENABLE_DOCS_TRUE
    746 MAN_SUBSTS
    747 XORG_MAN_PAGE
    748 ADMIN_MAN_DIR
    749 DRIVER_MAN_DIR
    750 MISC_MAN_DIR
    751 FILE_MAN_DIR
    752 LIB_MAN_DIR
    753 APP_MAN_DIR
    754 ADMIN_MAN_SUFFIX
    755 DRIVER_MAN_SUFFIX
    756 MISC_MAN_SUFFIX
    757 FILE_MAN_SUFFIX
    758 LIB_MAN_SUFFIX
    759 APP_MAN_SUFFIX
    760 INSTALL_CMD
    761 PKG_CONFIG_LIBDIR
    762 PKG_CONFIG_PATH
    763 PKG_CONFIG
    764 CHANGELOG_CMD
    765 STRICT_CFLAGS
    766 CWARNFLAGS
    767 BASE_CFLAGS
    768 LT_SYS_LIBRARY_PATH
    769 OTOOL64
    770 OTOOL
    771 LIPO
    772 NMEDIT
    773 DSYMUTIL
    774 MANIFEST_TOOL
    775 RANLIB
    776 ac_ct_AR
    777 AR
    778 DLLTOOL
    779 OBJDUMP
    780 FILECMD
    781 LN_S
    782 NM
    783 ac_ct_DUMPBIN
    784 DUMPBIN
    785 LD
    786 FGREP
    787 EGREP
    788 GREP
    789 SED
    790 am__fastdepCC_FALSE
    791 am__fastdepCC_TRUE
    792 CCDEPMODE
    793 am__nodep
    794 AMDEPBACKSLASH
    795 AMDEP_FALSE
    796 AMDEP_TRUE
    797 am__include
    798 DEPDIR
    799 OBJEXT
    800 EXEEXT
    801 ac_ct_CC
    802 CPPFLAGS
    803 LDFLAGS
    804 CFLAGS
    805 CC
    806 host_os
    807 host_vendor
    808 host_cpu
    809 host
    810 build_os
    811 build_vendor
    812 build_cpu
    813 build
    814 LIBTOOL
    815 am__xargs_n
    816 am__rm_f_notfound
    817 AM_BACKSLASH
    818 AM_DEFAULT_VERBOSITY
    819 AM_DEFAULT_V
    820 AM_V
    821 CSCOPE
    822 ETAGS
    823 CTAGS
    824 am__untar
    825 am__tar
    826 AMTAR
    827 am__leading_dot
    828 SET_MAKE
    829 AWK
    830 mkdir_p
    831 MKDIR_P
    832 INSTALL_STRIP_PROGRAM
    833 STRIP
    834 install_sh
    835 MAKEINFO
    836 AUTOHEADER
    837 AUTOMAKE
    838 AUTOCONF
    839 ACLOCAL
    840 VERSION
    841 PACKAGE
    842 CYGPATH_W
    843 am__isrc
    844 INSTALL_DATA
    845 INSTALL_SCRIPT
    846 INSTALL_PROGRAM
    847 target_alias
    848 host_alias
    849 build_alias
    850 LIBS
    851 ECHO_T
    852 ECHO_N
    853 ECHO_C
    854 DEFS
    855 mandir
    856 localedir
    857 libdir
    858 psdir
    859 pdfdir
    860 dvidir
    861 htmldir
    862 infodir
    863 docdir
    864 oldincludedir
    865 includedir
    866 runstatedir
    867 localstatedir
    868 sharedstatedir
    869 sysconfdir
    870 datadir
    871 datarootdir
    872 libexecdir
    873 sbindir
    874 bindir
    875 program_transform_name
    876 prefix
    877 exec_prefix
    878 PACKAGE_URL
    879 PACKAGE_BUGREPORT
    880 PACKAGE_STRING
    881 PACKAGE_VERSION
    882 PACKAGE_TARNAME
    883 PACKAGE_NAME
    884 PATH_SEPARATOR
    885 SHELL
    886 am__quote'
    887 ac_subst_files=''
    888 ac_user_opts='
    889 enable_option_checking
    890 enable_silent_rules
    891 enable_shared
    892 enable_static
    893 enable_pic
    894 with_pic
    895 enable_fast_install
    896 enable_aix_soname
    897 with_aix_soname
    898 enable_dependency_tracking
    899 with_gnu_ld
    900 with_sysroot
    901 enable_libtool_lock
    902 enable_selective_werror
    903 enable_strict_compilation
    904 enable_docs
    905 with_xmlto
    906 with_fop
    907 with_xsltproc
    908 with_libuuid
    909 enable_unix_transport
    910 enable_tcp_transport
    911 enable_ipv6
    912 enable_local_transport
    913 '
    914       ac_precious_vars='build_alias
    915 host_alias
    916 target_alias
    917 CC
    918 CFLAGS
    919 LDFLAGS
    920 LIBS
    921 CPPFLAGS
    922 LT_SYS_LIBRARY_PATH
    923 PKG_CONFIG
    924 PKG_CONFIG_PATH
    925 PKG_CONFIG_LIBDIR
    926 XMLTO
    927 FOP
    928 XSLTPROC
    929 LIBUUID_CFLAGS
    930 LIBUUID_LIBS
    931 SM_CFLAGS
    932 SM_LIBS'
    933 
    934 
    935 # Initialize some variables set by options.
    936 ac_init_help=
    937 ac_init_version=false
    938 ac_unrecognized_opts=
    939 ac_unrecognized_sep=
    940 # The variables have the same names as the options, with
    941 # dashes changed to underlines.
    942 cache_file=/dev/null
    943 exec_prefix=NONE
    944 no_create=
    945 no_recursion=
    946 prefix=NONE
    947 program_prefix=NONE
    948 program_suffix=NONE
    949 program_transform_name=s,x,x,
    950 silent=
    951 site=
    952 srcdir=
    953 verbose=
    954 x_includes=NONE
    955 x_libraries=NONE
    956 
    957 # Installation directory options.
    958 # These are left unexpanded so users can "make install exec_prefix=/foo"
    959 # and all the variables that are supposed to be based on exec_prefix
    960 # by default will actually change.
    961 # Use braces instead of parens because sh, perl, etc. also accept them.
    962 # (The list follows the same order as the GNU Coding Standards.)
    963 bindir='${exec_prefix}/bin'
    964 sbindir='${exec_prefix}/sbin'
    965 libexecdir='${exec_prefix}/libexec'
    966 datarootdir='${prefix}/share'
    967 datadir='${datarootdir}'
    968 sysconfdir='${prefix}/etc'
    969 sharedstatedir='${prefix}/com'
    970 localstatedir='${prefix}/var'
    971 runstatedir='${localstatedir}/run'
    972 includedir='${prefix}/include'
    973 oldincludedir='/usr/include'
    974 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    975 infodir='${datarootdir}/info'
    976 htmldir='${docdir}'
    977 dvidir='${docdir}'
    978 pdfdir='${docdir}'
    979 psdir='${docdir}'
    980 libdir='${exec_prefix}/lib'
    981 localedir='${datarootdir}/locale'
    982 mandir='${datarootdir}/man'
    983 
    984 ac_prev=
    985 ac_dashdash=
    986 for ac_option
    987 do
    988   # If the previous option needs an argument, assign it.
    989   if test -n "$ac_prev"; then
    990     eval $ac_prev=\$ac_option
    991     ac_prev=
    992     continue
    993   fi
    994 
    995   case $ac_option in
    996   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    997   *=)   ac_optarg= ;;
    998   *)    ac_optarg=yes ;;
    999   esac
   1000 
   1001   case $ac_dashdash$ac_option in
   1002   --)
   1003     ac_dashdash=yes ;;
   1004 
   1005   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1006     ac_prev=bindir ;;
   1007   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1008     bindir=$ac_optarg ;;
   1009 
   1010   -build | --build | --buil | --bui | --bu)
   1011     ac_prev=build_alias ;;
   1012   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1013     build_alias=$ac_optarg ;;
   1014 
   1015   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1016   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1017     ac_prev=cache_file ;;
   1018   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1019   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1020     cache_file=$ac_optarg ;;
   1021 
   1022   --config-cache | -C)
   1023     cache_file=config.cache ;;
   1024 
   1025   -datadir | --datadir | --datadi | --datad)
   1026     ac_prev=datadir ;;
   1027   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1028     datadir=$ac_optarg ;;
   1029 
   1030   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1031   | --dataroo | --dataro | --datar)
   1032     ac_prev=datarootdir ;;
   1033   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1034   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1035     datarootdir=$ac_optarg ;;
   1036 
   1037   -disable-* | --disable-*)
   1038     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1039     # Reject names that are not valid shell variable names.
   1040     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1041       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1042     ac_useropt_orig=$ac_useropt
   1043     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1044     case $ac_user_opts in
   1045       *"
   1046 "enable_$ac_useropt"
   1047 "*) ;;
   1048       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1049 	 ac_unrecognized_sep=', ';;
   1050     esac
   1051     eval enable_$ac_useropt=no ;;
   1052 
   1053   -docdir | --docdir | --docdi | --doc | --do)
   1054     ac_prev=docdir ;;
   1055   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1056     docdir=$ac_optarg ;;
   1057 
   1058   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1059     ac_prev=dvidir ;;
   1060   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1061     dvidir=$ac_optarg ;;
   1062 
   1063   -enable-* | --enable-*)
   1064     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1065     # Reject names that are not valid shell variable names.
   1066     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1067       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1068     ac_useropt_orig=$ac_useropt
   1069     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1070     case $ac_user_opts in
   1071       *"
   1072 "enable_$ac_useropt"
   1073 "*) ;;
   1074       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1075 	 ac_unrecognized_sep=', ';;
   1076     esac
   1077     eval enable_$ac_useropt=\$ac_optarg ;;
   1078 
   1079   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1080   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1081   | --exec | --exe | --ex)
   1082     ac_prev=exec_prefix ;;
   1083   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1084   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1085   | --exec=* | --exe=* | --ex=*)
   1086     exec_prefix=$ac_optarg ;;
   1087 
   1088   -gas | --gas | --ga | --g)
   1089     # Obsolete; use --with-gas.
   1090     with_gas=yes ;;
   1091 
   1092   -help | --help | --hel | --he | -h)
   1093     ac_init_help=long ;;
   1094   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1095     ac_init_help=recursive ;;
   1096   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1097     ac_init_help=short ;;
   1098 
   1099   -host | --host | --hos | --ho)
   1100     ac_prev=host_alias ;;
   1101   -host=* | --host=* | --hos=* | --ho=*)
   1102     host_alias=$ac_optarg ;;
   1103 
   1104   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1105     ac_prev=htmldir ;;
   1106   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1107   | --ht=*)
   1108     htmldir=$ac_optarg ;;
   1109 
   1110   -includedir | --includedir | --includedi | --included | --include \
   1111   | --includ | --inclu | --incl | --inc)
   1112     ac_prev=includedir ;;
   1113   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1114   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1115     includedir=$ac_optarg ;;
   1116 
   1117   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1118     ac_prev=infodir ;;
   1119   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1120     infodir=$ac_optarg ;;
   1121 
   1122   -libdir | --libdir | --libdi | --libd)
   1123     ac_prev=libdir ;;
   1124   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1125     libdir=$ac_optarg ;;
   1126 
   1127   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1128   | --libexe | --libex | --libe)
   1129     ac_prev=libexecdir ;;
   1130   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1131   | --libexe=* | --libex=* | --libe=*)
   1132     libexecdir=$ac_optarg ;;
   1133 
   1134   -localedir | --localedir | --localedi | --localed | --locale)
   1135     ac_prev=localedir ;;
   1136   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1137     localedir=$ac_optarg ;;
   1138 
   1139   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1140   | --localstate | --localstat | --localsta | --localst | --locals)
   1141     ac_prev=localstatedir ;;
   1142   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1143   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1144     localstatedir=$ac_optarg ;;
   1145 
   1146   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1147     ac_prev=mandir ;;
   1148   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1149     mandir=$ac_optarg ;;
   1150 
   1151   -nfp | --nfp | --nf)
   1152     # Obsolete; use --without-fp.
   1153     with_fp=no ;;
   1154 
   1155   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1156   | --no-cr | --no-c | -n)
   1157     no_create=yes ;;
   1158 
   1159   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1160   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1161     no_recursion=yes ;;
   1162 
   1163   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1164   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1165   | --oldin | --oldi | --old | --ol | --o)
   1166     ac_prev=oldincludedir ;;
   1167   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1168   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1169   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1170     oldincludedir=$ac_optarg ;;
   1171 
   1172   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1173     ac_prev=prefix ;;
   1174   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1175     prefix=$ac_optarg ;;
   1176 
   1177   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1178   | --program-pre | --program-pr | --program-p)
   1179     ac_prev=program_prefix ;;
   1180   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1181   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1182     program_prefix=$ac_optarg ;;
   1183 
   1184   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1185   | --program-suf | --program-su | --program-s)
   1186     ac_prev=program_suffix ;;
   1187   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1188   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1189     program_suffix=$ac_optarg ;;
   1190 
   1191   -program-transform-name | --program-transform-name \
   1192   | --program-transform-nam | --program-transform-na \
   1193   | --program-transform-n | --program-transform- \
   1194   | --program-transform | --program-transfor \
   1195   | --program-transfo | --program-transf \
   1196   | --program-trans | --program-tran \
   1197   | --progr-tra | --program-tr | --program-t)
   1198     ac_prev=program_transform_name ;;
   1199   -program-transform-name=* | --program-transform-name=* \
   1200   | --program-transform-nam=* | --program-transform-na=* \
   1201   | --program-transform-n=* | --program-transform-=* \
   1202   | --program-transform=* | --program-transfor=* \
   1203   | --program-transfo=* | --program-transf=* \
   1204   | --program-trans=* | --program-tran=* \
   1205   | --progr-tra=* | --program-tr=* | --program-t=*)
   1206     program_transform_name=$ac_optarg ;;
   1207 
   1208   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1209     ac_prev=pdfdir ;;
   1210   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1211     pdfdir=$ac_optarg ;;
   1212 
   1213   -psdir | --psdir | --psdi | --psd | --ps)
   1214     ac_prev=psdir ;;
   1215   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1216     psdir=$ac_optarg ;;
   1217 
   1218   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1219   | -silent | --silent | --silen | --sile | --sil)
   1220     silent=yes ;;
   1221 
   1222   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1223   | --runstate | --runstat | --runsta | --runst | --runs \
   1224   | --run | --ru | --r)
   1225     ac_prev=runstatedir ;;
   1226   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1227   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1228   | --run=* | --ru=* | --r=*)
   1229     runstatedir=$ac_optarg ;;
   1230 
   1231   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1232     ac_prev=sbindir ;;
   1233   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1234   | --sbi=* | --sb=*)
   1235     sbindir=$ac_optarg ;;
   1236 
   1237   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1238   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1239   | --sharedst | --shareds | --shared | --share | --shar \
   1240   | --sha | --sh)
   1241     ac_prev=sharedstatedir ;;
   1242   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1243   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1244   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1245   | --sha=* | --sh=*)
   1246     sharedstatedir=$ac_optarg ;;
   1247 
   1248   -site | --site | --sit)
   1249     ac_prev=site ;;
   1250   -site=* | --site=* | --sit=*)
   1251     site=$ac_optarg ;;
   1252 
   1253   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1254     ac_prev=srcdir ;;
   1255   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1256     srcdir=$ac_optarg ;;
   1257 
   1258   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1259   | --syscon | --sysco | --sysc | --sys | --sy)
   1260     ac_prev=sysconfdir ;;
   1261   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1262   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1263     sysconfdir=$ac_optarg ;;
   1264 
   1265   -target | --target | --targe | --targ | --tar | --ta | --t)
   1266     ac_prev=target_alias ;;
   1267   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1268     target_alias=$ac_optarg ;;
   1269 
   1270   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1271     verbose=yes ;;
   1272 
   1273   -version | --version | --versio | --versi | --vers | -V)
   1274     ac_init_version=: ;;
   1275 
   1276   -with-* | --with-*)
   1277     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1278     # Reject names that are not valid shell variable names.
   1279     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1280       as_fn_error $? "invalid package name: '$ac_useropt'"
   1281     ac_useropt_orig=$ac_useropt
   1282     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1283     case $ac_user_opts in
   1284       *"
   1285 "with_$ac_useropt"
   1286 "*) ;;
   1287       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1288 	 ac_unrecognized_sep=', ';;
   1289     esac
   1290     eval with_$ac_useropt=\$ac_optarg ;;
   1291 
   1292   -without-* | --without-*)
   1293     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1294     # Reject names that are not valid shell variable names.
   1295     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1296       as_fn_error $? "invalid package name: '$ac_useropt'"
   1297     ac_useropt_orig=$ac_useropt
   1298     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1299     case $ac_user_opts in
   1300       *"
   1301 "with_$ac_useropt"
   1302 "*) ;;
   1303       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1304 	 ac_unrecognized_sep=', ';;
   1305     esac
   1306     eval with_$ac_useropt=no ;;
   1307 
   1308   --x)
   1309     # Obsolete; use --with-x.
   1310     with_x=yes ;;
   1311 
   1312   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1313   | --x-incl | --x-inc | --x-in | --x-i)
   1314     ac_prev=x_includes ;;
   1315   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1316   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1317     x_includes=$ac_optarg ;;
   1318 
   1319   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1320   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1321     ac_prev=x_libraries ;;
   1322   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1323   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1324     x_libraries=$ac_optarg ;;
   1325 
   1326   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1327 Try '$0 --help' for more information"
   1328     ;;
   1329 
   1330   *=*)
   1331     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1332     # Reject names that are not valid shell variable names.
   1333     case $ac_envvar in #(
   1334       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1335       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1336     esac
   1337     eval $ac_envvar=\$ac_optarg
   1338     export $ac_envvar ;;
   1339 
   1340   *)
   1341     # FIXME: should be removed in autoconf 3.0.
   1342     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1343     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1344       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1345     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1346     ;;
   1347 
   1348   esac
   1349 done
   1350 
   1351 if test -n "$ac_prev"; then
   1352   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1353   as_fn_error $? "missing argument to $ac_option"
   1354 fi
   1355 
   1356 if test -n "$ac_unrecognized_opts"; then
   1357   case $enable_option_checking in
   1358     no) ;;
   1359     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1360     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1361   esac
   1362 fi
   1363 
   1364 # Check all directory arguments for consistency.
   1365 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1366 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1367 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1368 		libdir localedir mandir runstatedir
   1369 do
   1370   eval ac_val=\$$ac_var
   1371   # Remove trailing slashes.
   1372   case $ac_val in
   1373     */ )
   1374       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1375       eval $ac_var=\$ac_val;;
   1376   esac
   1377   # Be sure to have absolute directory names.
   1378   case $ac_val in
   1379     [\\/$]* | ?:[\\/]* )  continue;;
   1380     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1381   esac
   1382   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1383 done
   1384 
   1385 # There might be people who depend on the old broken behavior: '$host'
   1386 # used to hold the argument of --host etc.
   1387 # FIXME: To remove some day.
   1388 build=$build_alias
   1389 host=$host_alias
   1390 target=$target_alias
   1391 
   1392 # FIXME: To remove some day.
   1393 if test "x$host_alias" != x; then
   1394   if test "x$build_alias" = x; then
   1395     cross_compiling=maybe
   1396   elif test "x$build_alias" != "x$host_alias"; then
   1397     cross_compiling=yes
   1398   fi
   1399 fi
   1400 
   1401 ac_tool_prefix=
   1402 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1403 
   1404 test "$silent" = yes && exec 6>/dev/null
   1405 
   1406 
   1407 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1408 ac_ls_di=`ls -di .` &&
   1409 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1410   as_fn_error $? "working directory cannot be determined"
   1411 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1412   as_fn_error $? "pwd does not report name of working directory"
   1413 
   1414 
   1415 # Find the source files, if location was not specified.
   1416 if test -z "$srcdir"; then
   1417   ac_srcdir_defaulted=yes
   1418   # Try the directory containing this script, then the parent directory.
   1419   ac_confdir=`$as_dirname -- "$as_myself" ||
   1420 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1421 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1422 	 X"$as_myself" : 'X\(//\)$' \| \
   1423 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1424 printf "%s\n" X"$as_myself" |
   1425     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1426 	    s//\1/
   1427 	    q
   1428 	  }
   1429 	  /^X\(\/\/\)[^/].*/{
   1430 	    s//\1/
   1431 	    q
   1432 	  }
   1433 	  /^X\(\/\/\)$/{
   1434 	    s//\1/
   1435 	    q
   1436 	  }
   1437 	  /^X\(\/\).*/{
   1438 	    s//\1/
   1439 	    q
   1440 	  }
   1441 	  s/.*/./; q'`
   1442   srcdir=$ac_confdir
   1443   if test ! -r "$srcdir/$ac_unique_file"; then
   1444     srcdir=..
   1445   fi
   1446 else
   1447   ac_srcdir_defaulted=no
   1448 fi
   1449 if test ! -r "$srcdir/$ac_unique_file"; then
   1450   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1451   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1452 fi
   1453 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1454 ac_abs_confdir=`(
   1455 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1456 	pwd)`
   1457 # When building in place, set srcdir=.
   1458 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1459   srcdir=.
   1460 fi
   1461 # Remove unnecessary trailing slashes from srcdir.
   1462 # Double slashes in file names in object file debugging info
   1463 # mess up M-x gdb in Emacs.
   1464 case $srcdir in
   1465 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1466 esac
   1467 for ac_var in $ac_precious_vars; do
   1468   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1469   eval ac_env_${ac_var}_value=\$${ac_var}
   1470   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1471   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1472 done
   1473 
   1474 #
   1475 # Report the --help message.
   1476 #
   1477 if test "$ac_init_help" = "long"; then
   1478   # Omit some internal or obsolete options to make the list less imposing.
   1479   # This message is too long to be a string in the A/UX 3.1 sh.
   1480   cat <<_ACEOF
   1481 'configure' configures libSM 1.2.6 to adapt to many kinds of systems.
   1482 
   1483 Usage: $0 [OPTION]... [VAR=VALUE]...
   1484 
   1485 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1486 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1487 
   1488 Defaults for the options are specified in brackets.
   1489 
   1490 Configuration:
   1491   -h, --help              display this help and exit
   1492       --help=short        display options specific to this package
   1493       --help=recursive    display the short help of all the included packages
   1494   -V, --version           display version information and exit
   1495   -q, --quiet, --silent   do not print 'checking ...' messages
   1496       --cache-file=FILE   cache test results in FILE [disabled]
   1497   -C, --config-cache      alias for '--cache-file=config.cache'
   1498   -n, --no-create         do not create output files
   1499       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1500 
   1501 Installation directories:
   1502   --prefix=PREFIX         install architecture-independent files in PREFIX
   1503                           [$ac_default_prefix]
   1504   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1505                           [PREFIX]
   1506 
   1507 By default, 'make install' will install all the files in
   1508 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1509 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1510 for instance '--prefix=\$HOME'.
   1511 
   1512 For better control, use the options below.
   1513 
   1514 Fine tuning of the installation directories:
   1515   --bindir=DIR            user executables [EPREFIX/bin]
   1516   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1517   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1518   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1519   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1520   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1521   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1522   --libdir=DIR            object code libraries [EPREFIX/lib]
   1523   --includedir=DIR        C header files [PREFIX/include]
   1524   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1525   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1526   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1527   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1528   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1529   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1530   --docdir=DIR            documentation root [DATAROOTDIR/doc/libSM]
   1531   --htmldir=DIR           html documentation [DOCDIR]
   1532   --dvidir=DIR            dvi documentation [DOCDIR]
   1533   --pdfdir=DIR            pdf documentation [DOCDIR]
   1534   --psdir=DIR             ps documentation [DOCDIR]
   1535 _ACEOF
   1536 
   1537   cat <<\_ACEOF
   1538 
   1539 Program names:
   1540   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1541   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1542   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1543 
   1544 System types:
   1545   --build=BUILD     configure for building on BUILD [guessed]
   1546   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1547 _ACEOF
   1548 fi
   1549 
   1550 if test -n "$ac_init_help"; then
   1551   case $ac_init_help in
   1552      short | recursive ) echo "Configuration of libSM 1.2.6:";;
   1553    esac
   1554   cat <<\_ACEOF
   1555 
   1556 Optional Features:
   1557   --disable-option-checking  ignore unrecognized --enable/--with options
   1558   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1559   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1560   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1561   --disable-silent-rules  verbose build output (undo: "make V=0")
   1562   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1563   --enable-static[=PKGS]  build static libraries [default=yes]
   1564   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1565                           both]
   1566   --enable-fast-install[=PKGS]
   1567                           optimize for fast installation [default=yes]
   1568   --enable-aix-soname=aix|svr4|both
   1569                           shared library versioning (aka "SONAME") variant to
   1570                           provide on AIX, [default=aix].
   1571   --enable-dependency-tracking
   1572                           do not reject slow dependency extractors
   1573   --disable-dependency-tracking
   1574                           speeds up one-time build
   1575   --disable-libtool-lock  avoid locking (might break parallel builds)
   1576   --disable-selective-werror
   1577                           Turn off selective compiler errors. (default:
   1578                           enabled)
   1579   --enable-strict-compilation
   1580                           Enable all warnings from compiler and make them
   1581                           errors (default: disabled)
   1582   --enable-docs           Enable building the documentation (default: yes)
   1583   --enable-unix-transport Enable UNIX domain socket transport
   1584   --enable-tcp-transport  Enable TCP socket transport
   1585   --enable-ipv6           Enable IPv6 support
   1586   --enable-local-transport
   1587                           Enable os-specific local transport
   1588 
   1589 Optional Packages:
   1590   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1591   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1592   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1593   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1594                           compiler's sysroot if not specified).
   1595   --with-xmlto            Use xmlto to regenerate documentation (default:
   1596                           auto)
   1597   --with-fop              Use fop to regenerate documentation (default: auto)
   1598   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1599                           (default: auto)
   1600   --with-libuuid          Build with libuuid support for client IDs
   1601 
   1602 Some influential environment variables:
   1603   CC          C compiler command
   1604   CFLAGS      C compiler flags
   1605   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1606               nonstandard directory <lib dir>
   1607   LIBS        libraries to pass to the linker, e.g. -l<library>
   1608   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1609               you have headers in a nonstandard directory <include dir>
   1610   LT_SYS_LIBRARY_PATH
   1611               User-defined run-time library search path.
   1612   PKG_CONFIG  path to pkg-config utility
   1613   PKG_CONFIG_PATH
   1614               directories to add to pkg-config's search path
   1615   PKG_CONFIG_LIBDIR
   1616               path overriding pkg-config's built-in search path
   1617   XMLTO       Path to xmlto command
   1618   FOP         Path to fop command
   1619   XSLTPROC    Path to xsltproc command
   1620   LIBUUID_CFLAGS
   1621               C compiler flags for LIBUUID, overriding pkg-config
   1622   LIBUUID_LIBS
   1623               linker flags for LIBUUID, overriding pkg-config
   1624   SM_CFLAGS   C compiler flags for SM, overriding pkg-config
   1625   SM_LIBS     linker flags for SM, overriding pkg-config
   1626 
   1627 Use these variables to override the choices made by 'configure' or to help
   1628 it to find libraries and programs with nonstandard names/locations.
   1629 
   1630 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libsm/-/issues>.
   1631 _ACEOF
   1632 ac_status=$?
   1633 fi
   1634 
   1635 if test "$ac_init_help" = "recursive"; then
   1636   # If there are subdirs, report their specific --help.
   1637   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1638     test -d "$ac_dir" ||
   1639       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1640       continue
   1641     ac_builddir=.
   1642 
   1643 case "$ac_dir" in
   1644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1645 *)
   1646   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1647   # A ".." for each directory in $ac_dir_suffix.
   1648   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1649   case $ac_top_builddir_sub in
   1650   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1651   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1652   esac ;;
   1653 esac
   1654 ac_abs_top_builddir=$ac_pwd
   1655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1656 # for backward compatibility:
   1657 ac_top_builddir=$ac_top_build_prefix
   1658 
   1659 case $srcdir in
   1660   .)  # We are building in place.
   1661     ac_srcdir=.
   1662     ac_top_srcdir=$ac_top_builddir_sub
   1663     ac_abs_top_srcdir=$ac_pwd ;;
   1664   [\\/]* | ?:[\\/]* )  # Absolute name.
   1665     ac_srcdir=$srcdir$ac_dir_suffix;
   1666     ac_top_srcdir=$srcdir
   1667     ac_abs_top_srcdir=$srcdir ;;
   1668   *) # Relative name.
   1669     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1670     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1671     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1672 esac
   1673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1674 
   1675     cd "$ac_dir" || { ac_status=$?; continue; }
   1676     # Check for configure.gnu first; this name is used for a wrapper for
   1677     # Metaconfig's "Configure" on case-insensitive file systems.
   1678     if test -f "$ac_srcdir/configure.gnu"; then
   1679       echo &&
   1680       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1681     elif test -f "$ac_srcdir/configure"; then
   1682       echo &&
   1683       $SHELL "$ac_srcdir/configure" --help=recursive
   1684     else
   1685       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1686     fi || ac_status=$?
   1687     cd "$ac_pwd" || { ac_status=$?; break; }
   1688   done
   1689 fi
   1690 
   1691 test -n "$ac_init_help" && exit $ac_status
   1692 if $ac_init_version; then
   1693   cat <<\_ACEOF
   1694 libSM configure 1.2.6
   1695 generated by GNU Autoconf 2.72
   1696 
   1697 Copyright (C) 2023 Free Software Foundation, Inc.
   1698 This configure script is free software; the Free Software Foundation
   1699 gives unlimited permission to copy, distribute and modify it.
   1700 _ACEOF
   1701   exit
   1702 fi
   1703 
   1704 ## ------------------------ ##
   1705 ## Autoconf initialization. ##
   1706 ## ------------------------ ##
   1707 
   1708 # ac_fn_c_try_compile LINENO
   1709 # --------------------------
   1710 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1711 ac_fn_c_try_compile ()
   1712 {
   1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1714   rm -f conftest.$ac_objext conftest.beam
   1715   if { { ac_try="$ac_compile"
   1716 case "(($ac_try" in
   1717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1718   *) ac_try_echo=$ac_try;;
   1719 esac
   1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1721 printf "%s\n" "$ac_try_echo"; } >&5
   1722   (eval "$ac_compile") 2>conftest.err
   1723   ac_status=$?
   1724   if test -s conftest.err; then
   1725     grep -v '^ *+' conftest.err >conftest.er1
   1726     cat conftest.er1 >&5
   1727     mv -f conftest.er1 conftest.err
   1728   fi
   1729   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1730   test $ac_status = 0; } && {
   1731 	 test -z "$ac_c_werror_flag" ||
   1732 	 test ! -s conftest.err
   1733        } && test -s conftest.$ac_objext
   1734 then :
   1735   ac_retval=0
   1736 else case e in #(
   1737   e) printf "%s\n" "$as_me: failed program was:" >&5
   1738 sed 's/^/| /' conftest.$ac_ext >&5
   1739 
   1740 	ac_retval=1 ;;
   1741 esac
   1742 fi
   1743   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1744   as_fn_set_status $ac_retval
   1745 
   1746 } # ac_fn_c_try_compile
   1747 
   1748 # ac_fn_c_try_link LINENO
   1749 # -----------------------
   1750 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1751 ac_fn_c_try_link ()
   1752 {
   1753   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1754   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1755   if { { ac_try="$ac_link"
   1756 case "(($ac_try" in
   1757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1758   *) ac_try_echo=$ac_try;;
   1759 esac
   1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1761 printf "%s\n" "$ac_try_echo"; } >&5
   1762   (eval "$ac_link") 2>conftest.err
   1763   ac_status=$?
   1764   if test -s conftest.err; then
   1765     grep -v '^ *+' conftest.err >conftest.er1
   1766     cat conftest.er1 >&5
   1767     mv -f conftest.er1 conftest.err
   1768   fi
   1769   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1770   test $ac_status = 0; } && {
   1771 	 test -z "$ac_c_werror_flag" ||
   1772 	 test ! -s conftest.err
   1773        } && test -s conftest$ac_exeext && {
   1774 	 test "$cross_compiling" = yes ||
   1775 	 test -x conftest$ac_exeext
   1776        }
   1777 then :
   1778   ac_retval=0
   1779 else case e in #(
   1780   e) printf "%s\n" "$as_me: failed program was:" >&5
   1781 sed 's/^/| /' conftest.$ac_ext >&5
   1782 
   1783 	ac_retval=1 ;;
   1784 esac
   1785 fi
   1786   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1787   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1788   # interfere with the next link command; also delete a directory that is
   1789   # left behind by Apple's compiler.  We do this before executing the actions.
   1790   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1791   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1792   as_fn_set_status $ac_retval
   1793 
   1794 } # ac_fn_c_try_link
   1795 
   1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1797 # -------------------------------------------------------
   1798 # Tests whether HEADER exists and can be compiled using the include files in
   1799 # INCLUDES, setting the cache variable VAR accordingly.
   1800 ac_fn_c_check_header_compile ()
   1801 {
   1802   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1804 printf %s "checking for $2... " >&6; }
   1805 if eval test \${$3+y}
   1806 then :
   1807   printf %s "(cached) " >&6
   1808 else case e in #(
   1809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1810 /* end confdefs.h.  */
   1811 $4
   1812 #include <$2>
   1813 _ACEOF
   1814 if ac_fn_c_try_compile "$LINENO"
   1815 then :
   1816   eval "$3=yes"
   1817 else case e in #(
   1818   e) eval "$3=no" ;;
   1819 esac
   1820 fi
   1821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1822 esac
   1823 fi
   1824 eval ac_res=\$$3
   1825 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1826 printf "%s\n" "$ac_res" >&6; }
   1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1828 
   1829 } # ac_fn_c_check_header_compile
   1830 
   1831 # ac_fn_c_check_func LINENO FUNC VAR
   1832 # ----------------------------------
   1833 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1834 ac_fn_c_check_func ()
   1835 {
   1836   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1837   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1838 printf %s "checking for $2... " >&6; }
   1839 if eval test \${$3+y}
   1840 then :
   1841   printf %s "(cached) " >&6
   1842 else case e in #(
   1843   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1844 /* end confdefs.h.  */
   1845 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1847 #define $2 innocuous_$2
   1848 
   1849 /* System header to define __stub macros and hopefully few prototypes,
   1850    which can conflict with char $2 (void); below.  */
   1851 
   1852 #include <limits.h>
   1853 #undef $2
   1854 
   1855 /* Override any GCC internal prototype to avoid an error.
   1856    Use char because int might match the return type of a GCC
   1857    builtin and then its argument prototype would still apply.  */
   1858 #ifdef __cplusplus
   1859 extern "C"
   1860 #endif
   1861 char $2 (void);
   1862 /* The GNU C library defines this for functions which it implements
   1863     to always fail with ENOSYS.  Some functions are actually named
   1864     something starting with __ and the normal name is an alias.  */
   1865 #if defined __stub_$2 || defined __stub___$2
   1866 choke me
   1867 #endif
   1868 
   1869 int
   1870 main (void)
   1871 {
   1872 return $2 ();
   1873   ;
   1874   return 0;
   1875 }
   1876 _ACEOF
   1877 if ac_fn_c_try_link "$LINENO"
   1878 then :
   1879   eval "$3=yes"
   1880 else case e in #(
   1881   e) eval "$3=no" ;;
   1882 esac
   1883 fi
   1884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1885     conftest$ac_exeext conftest.$ac_ext ;;
   1886 esac
   1887 fi
   1888 eval ac_res=\$$3
   1889 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1890 printf "%s\n" "$ac_res" >&6; }
   1891   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1892 
   1893 } # ac_fn_c_check_func
   1894 
   1895 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1896 # ------------------------------------------------------------------
   1897 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1898 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1899 ac_fn_check_decl ()
   1900 {
   1901   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1902   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1904 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1905 if eval test \${$3+y}
   1906 then :
   1907   printf %s "(cached) " >&6
   1908 else case e in #(
   1909   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1910   eval ac_save_FLAGS=\$$6
   1911   as_fn_append $6 " $5"
   1912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1913 /* end confdefs.h.  */
   1914 $4
   1915 int
   1916 main (void)
   1917 {
   1918 #ifndef $as_decl_name
   1919 #ifdef __cplusplus
   1920   (void) $as_decl_use;
   1921 #else
   1922   (void) $as_decl_name;
   1923 #endif
   1924 #endif
   1925 
   1926   ;
   1927   return 0;
   1928 }
   1929 _ACEOF
   1930 if ac_fn_c_try_compile "$LINENO"
   1931 then :
   1932   eval "$3=yes"
   1933 else case e in #(
   1934   e) eval "$3=no" ;;
   1935 esac
   1936 fi
   1937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1938   eval $6=\$ac_save_FLAGS
   1939  ;;
   1940 esac
   1941 fi
   1942 eval ac_res=\$$3
   1943 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1944 printf "%s\n" "$ac_res" >&6; }
   1945   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1946 
   1947 } # ac_fn_check_decl
   1948 
   1949 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1950 # ----------------------------------------------------
   1951 # Tries to find if the field MEMBER exists in type AGGR, after including
   1952 # INCLUDES, setting cache variable VAR accordingly.
   1953 ac_fn_c_check_member ()
   1954 {
   1955   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1957 printf %s "checking for $2.$3... " >&6; }
   1958 if eval test \${$4+y}
   1959 then :
   1960   printf %s "(cached) " >&6
   1961 else case e in #(
   1962   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1963 /* end confdefs.h.  */
   1964 $5
   1965 int
   1966 main (void)
   1967 {
   1968 static $2 ac_aggr;
   1969 if (ac_aggr.$3)
   1970 return 0;
   1971   ;
   1972   return 0;
   1973 }
   1974 _ACEOF
   1975 if ac_fn_c_try_compile "$LINENO"
   1976 then :
   1977   eval "$4=yes"
   1978 else case e in #(
   1979   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1980 /* end confdefs.h.  */
   1981 $5
   1982 int
   1983 main (void)
   1984 {
   1985 static $2 ac_aggr;
   1986 if (sizeof ac_aggr.$3)
   1987 return 0;
   1988   ;
   1989   return 0;
   1990 }
   1991 _ACEOF
   1992 if ac_fn_c_try_compile "$LINENO"
   1993 then :
   1994   eval "$4=yes"
   1995 else case e in #(
   1996   e) eval "$4=no" ;;
   1997 esac
   1998 fi
   1999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2000 esac
   2001 fi
   2002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2003 esac
   2004 fi
   2005 eval ac_res=\$$4
   2006 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2007 printf "%s\n" "$ac_res" >&6; }
   2008   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2009 
   2010 } # ac_fn_c_check_member
   2011 
   2012 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2013 # -------------------------------------------
   2014 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2015 # variable VAR accordingly.
   2016 ac_fn_c_check_type ()
   2017 {
   2018   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2020 printf %s "checking for $2... " >&6; }
   2021 if eval test \${$3+y}
   2022 then :
   2023   printf %s "(cached) " >&6
   2024 else case e in #(
   2025   e) eval "$3=no"
   2026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2027 /* end confdefs.h.  */
   2028 $4
   2029 int
   2030 main (void)
   2031 {
   2032 if (sizeof ($2))
   2033 	 return 0;
   2034   ;
   2035   return 0;
   2036 }
   2037 _ACEOF
   2038 if ac_fn_c_try_compile "$LINENO"
   2039 then :
   2040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2041 /* end confdefs.h.  */
   2042 $4
   2043 int
   2044 main (void)
   2045 {
   2046 if (sizeof (($2)))
   2047 	    return 0;
   2048   ;
   2049   return 0;
   2050 }
   2051 _ACEOF
   2052 if ac_fn_c_try_compile "$LINENO"
   2053 then :
   2054 
   2055 else case e in #(
   2056   e) eval "$3=yes" ;;
   2057 esac
   2058 fi
   2059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2060 fi
   2061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2062 esac
   2063 fi
   2064 eval ac_res=\$$3
   2065 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2066 printf "%s\n" "$ac_res" >&6; }
   2067   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2068 
   2069 } # ac_fn_c_check_type
   2070 ac_configure_args_raw=
   2071 for ac_arg
   2072 do
   2073   case $ac_arg in
   2074   *\'*)
   2075     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2076   esac
   2077   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2078 done
   2079 
   2080 case $ac_configure_args_raw in
   2081   *$as_nl*)
   2082     ac_safe_unquote= ;;
   2083   *)
   2084     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2085     ac_unsafe_a="$ac_unsafe_z#~"
   2086     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2087     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2088 esac
   2089 
   2090 cat >config.log <<_ACEOF
   2091 This file contains any messages produced by compilers while
   2092 running configure, to aid debugging if configure makes a mistake.
   2093 
   2094 It was created by libSM $as_me 1.2.6, which was
   2095 generated by GNU Autoconf 2.72.  Invocation command line was
   2096 
   2097   $ $0$ac_configure_args_raw
   2098 
   2099 _ACEOF
   2100 exec 5>>config.log
   2101 {
   2102 cat <<_ASUNAME
   2103 ## --------- ##
   2104 ## Platform. ##
   2105 ## --------- ##
   2106 
   2107 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2108 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2109 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2110 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2111 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2112 
   2113 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2114 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2115 
   2116 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2117 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2118 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2119 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2120 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2121 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2122 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2123 
   2124 _ASUNAME
   2125 
   2126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2127 for as_dir in $PATH
   2128 do
   2129   IFS=$as_save_IFS
   2130   case $as_dir in #(((
   2131     '') as_dir=./ ;;
   2132     */) ;;
   2133     *) as_dir=$as_dir/ ;;
   2134   esac
   2135     printf "%s\n" "PATH: $as_dir"
   2136   done
   2137 IFS=$as_save_IFS
   2138 
   2139 } >&5
   2140 
   2141 cat >&5 <<_ACEOF
   2142 
   2143 
   2144 ## ----------- ##
   2145 ## Core tests. ##
   2146 ## ----------- ##
   2147 
   2148 _ACEOF
   2149 
   2150 
   2151 # Keep a trace of the command line.
   2152 # Strip out --no-create and --no-recursion so they do not pile up.
   2153 # Strip out --silent because we don't want to record it for future runs.
   2154 # Also quote any args containing shell meta-characters.
   2155 # Make two passes to allow for proper duplicate-argument suppression.
   2156 ac_configure_args=
   2157 ac_configure_args0=
   2158 ac_configure_args1=
   2159 ac_must_keep_next=false
   2160 for ac_pass in 1 2
   2161 do
   2162   for ac_arg
   2163   do
   2164     case $ac_arg in
   2165     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2166     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2167     | -silent | --silent | --silen | --sile | --sil)
   2168       continue ;;
   2169     *\'*)
   2170       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2171     esac
   2172     case $ac_pass in
   2173     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2174     2)
   2175       as_fn_append ac_configure_args1 " '$ac_arg'"
   2176       if test $ac_must_keep_next = true; then
   2177 	ac_must_keep_next=false # Got value, back to normal.
   2178       else
   2179 	case $ac_arg in
   2180 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2181 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2182 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2183 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2184 	    case "$ac_configure_args0 " in
   2185 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2186 	    esac
   2187 	    ;;
   2188 	  -* ) ac_must_keep_next=true ;;
   2189 	esac
   2190       fi
   2191       as_fn_append ac_configure_args " '$ac_arg'"
   2192       ;;
   2193     esac
   2194   done
   2195 done
   2196 { ac_configure_args0=; unset ac_configure_args0;}
   2197 { ac_configure_args1=; unset ac_configure_args1;}
   2198 
   2199 # When interrupted or exit'd, cleanup temporary files, and complete
   2200 # config.log.  We remove comments because anyway the quotes in there
   2201 # would cause problems or look ugly.
   2202 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2203 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2204 trap 'exit_status=$?
   2205   # Sanitize IFS.
   2206   IFS=" ""	$as_nl"
   2207   # Save into config.log some information that might help in debugging.
   2208   {
   2209     echo
   2210 
   2211     printf "%s\n" "## ---------------- ##
   2212 ## Cache variables. ##
   2213 ## ---------------- ##"
   2214     echo
   2215     # The following way of writing the cache mishandles newlines in values,
   2216 (
   2217   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2218     eval ac_val=\$$ac_var
   2219     case $ac_val in #(
   2220     *${as_nl}*)
   2221       case $ac_var in #(
   2222       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2223 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2224       esac
   2225       case $ac_var in #(
   2226       _ | IFS | as_nl) ;; #(
   2227       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2228       *) { eval $ac_var=; unset $ac_var;} ;;
   2229       esac ;;
   2230     esac
   2231   done
   2232   (set) 2>&1 |
   2233     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2234     *${as_nl}ac_space=\ *)
   2235       sed -n \
   2236 	"s/'\''/'\''\\\\'\'''\''/g;
   2237 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2238       ;; #(
   2239     *)
   2240       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2241       ;;
   2242     esac |
   2243     sort
   2244 )
   2245     echo
   2246 
   2247     printf "%s\n" "## ----------------- ##
   2248 ## Output variables. ##
   2249 ## ----------------- ##"
   2250     echo
   2251     for ac_var in $ac_subst_vars
   2252     do
   2253       eval ac_val=\$$ac_var
   2254       case $ac_val in
   2255       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2256       esac
   2257       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2258     done | sort
   2259     echo
   2260 
   2261     if test -n "$ac_subst_files"; then
   2262       printf "%s\n" "## ------------------- ##
   2263 ## File substitutions. ##
   2264 ## ------------------- ##"
   2265       echo
   2266       for ac_var in $ac_subst_files
   2267       do
   2268 	eval ac_val=\$$ac_var
   2269 	case $ac_val in
   2270 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2271 	esac
   2272 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2273       done | sort
   2274       echo
   2275     fi
   2276 
   2277     if test -s confdefs.h; then
   2278       printf "%s\n" "## ----------- ##
   2279 ## confdefs.h. ##
   2280 ## ----------- ##"
   2281       echo
   2282       cat confdefs.h
   2283       echo
   2284     fi
   2285     test "$ac_signal" != 0 &&
   2286       printf "%s\n" "$as_me: caught signal $ac_signal"
   2287     printf "%s\n" "$as_me: exit $exit_status"
   2288   } >&5
   2289   rm -f core *.core core.conftest.* &&
   2290     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2291     exit $exit_status
   2292 ' 0
   2293 for ac_signal in 1 2 13 15; do
   2294   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2295 done
   2296 ac_signal=0
   2297 
   2298 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2299 rm -f -r conftest* confdefs.h
   2300 
   2301 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2302 
   2303 # Predefined preprocessor variables.
   2304 
   2305 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2306 
   2307 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2308 
   2309 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2310 
   2311 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2312 
   2313 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2314 
   2315 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2316 
   2317 
   2318 # Let the site file select an alternate cache file if it wants to.
   2319 # Prefer an explicitly selected file to automatically selected ones.
   2320 if test -n "$CONFIG_SITE"; then
   2321   ac_site_files="$CONFIG_SITE"
   2322 elif test "x$prefix" != xNONE; then
   2323   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2324 else
   2325   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2326 fi
   2327 
   2328 for ac_site_file in $ac_site_files
   2329 do
   2330   case $ac_site_file in #(
   2331   */*) :
   2332      ;; #(
   2333   *) :
   2334     ac_site_file=./$ac_site_file ;;
   2335 esac
   2336   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2337     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2338 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2339     sed 's/^/| /' "$ac_site_file" >&5
   2340     . "$ac_site_file" \
   2341       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2342 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2343 as_fn_error $? "failed to load site script $ac_site_file
   2344 See 'config.log' for more details" "$LINENO" 5; }
   2345   fi
   2346 done
   2347 
   2348 if test -r "$cache_file"; then
   2349   # Some versions of bash will fail to source /dev/null (special files
   2350   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2351   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2352     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2353 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2354     case $cache_file in
   2355       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2356       *)                      . "./$cache_file";;
   2357     esac
   2358   fi
   2359 else
   2360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2361 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2362   >$cache_file
   2363 fi
   2364 
   2365 # Test code for whether the C compiler supports C89 (global declarations)
   2366 ac_c_conftest_c89_globals='
   2367 /* Does the compiler advertise C89 conformance?
   2368    Do not test the value of __STDC__, because some compilers set it to 0
   2369    while being otherwise adequately conformant. */
   2370 #if !defined __STDC__
   2371 # error "Compiler does not advertise C89 conformance"
   2372 #endif
   2373 
   2374 #include <stddef.h>
   2375 #include <stdarg.h>
   2376 struct stat;
   2377 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2378 struct buf { int x; };
   2379 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2380 static char *e (char **p, int i)
   2381 {
   2382   return p[i];
   2383 }
   2384 static char *f (char * (*g) (char **, int), char **p, ...)
   2385 {
   2386   char *s;
   2387   va_list v;
   2388   va_start (v,p);
   2389   s = g (p, va_arg (v,int));
   2390   va_end (v);
   2391   return s;
   2392 }
   2393 
   2394 /* C89 style stringification. */
   2395 #define noexpand_stringify(a) #a
   2396 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2397 
   2398 /* C89 style token pasting.  Exercises some of the corner cases that
   2399    e.g. old MSVC gets wrong, but not very hard. */
   2400 #define noexpand_concat(a,b) a##b
   2401 #define expand_concat(a,b) noexpand_concat(a,b)
   2402 extern int vA;
   2403 extern int vbee;
   2404 #define aye A
   2405 #define bee B
   2406 int *pvA = &expand_concat(v,aye);
   2407 int *pvbee = &noexpand_concat(v,bee);
   2408 
   2409 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2410    function prototypes and stuff, but not \xHH hex character constants.
   2411    These do not provoke an error unfortunately, instead are silently treated
   2412    as an "x".  The following induces an error, until -std is added to get
   2413    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2414    array size at least.  It is necessary to write \x00 == 0 to get something
   2415    that is true only with -std.  */
   2416 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2417 
   2418 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2419    inside strings and character constants.  */
   2420 #define FOO(x) '\''x'\''
   2421 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2422 
   2423 int test (int i, double x);
   2424 struct s1 {int (*f) (int a);};
   2425 struct s2 {int (*f) (double a);};
   2426 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2427                int, int);'
   2428 
   2429 # Test code for whether the C compiler supports C89 (body of main).
   2430 ac_c_conftest_c89_main='
   2431 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2432 '
   2433 
   2434 # Test code for whether the C compiler supports C99 (global declarations)
   2435 ac_c_conftest_c99_globals='
   2436 /* Does the compiler advertise C99 conformance? */
   2437 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2438 # error "Compiler does not advertise C99 conformance"
   2439 #endif
   2440 
   2441 // See if C++-style comments work.
   2442 
   2443 #include <stdbool.h>
   2444 extern int puts (const char *);
   2445 extern int printf (const char *, ...);
   2446 extern int dprintf (int, const char *, ...);
   2447 extern void *malloc (size_t);
   2448 extern void free (void *);
   2449 
   2450 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2451 // dprintf is used instead of fprintf to avoid needing to declare
   2452 // FILE and stderr.
   2453 #define debug(...) dprintf (2, __VA_ARGS__)
   2454 #define showlist(...) puts (#__VA_ARGS__)
   2455 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2456 static void
   2457 test_varargs_macros (void)
   2458 {
   2459   int x = 1234;
   2460   int y = 5678;
   2461   debug ("Flag");
   2462   debug ("X = %d\n", x);
   2463   showlist (The first, second, and third items.);
   2464   report (x>y, "x is %d but y is %d", x, y);
   2465 }
   2466 
   2467 // Check long long types.
   2468 #define BIG64 18446744073709551615ull
   2469 #define BIG32 4294967295ul
   2470 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2471 #if !BIG_OK
   2472   #error "your preprocessor is broken"
   2473 #endif
   2474 #if BIG_OK
   2475 #else
   2476   #error "your preprocessor is broken"
   2477 #endif
   2478 static long long int bignum = -9223372036854775807LL;
   2479 static unsigned long long int ubignum = BIG64;
   2480 
   2481 struct incomplete_array
   2482 {
   2483   int datasize;
   2484   double data[];
   2485 };
   2486 
   2487 struct named_init {
   2488   int number;
   2489   const wchar_t *name;
   2490   double average;
   2491 };
   2492 
   2493 typedef const char *ccp;
   2494 
   2495 static inline int
   2496 test_restrict (ccp restrict text)
   2497 {
   2498   // Iterate through items via the restricted pointer.
   2499   // Also check for declarations in for loops.
   2500   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2501     continue;
   2502   return 0;
   2503 }
   2504 
   2505 // Check varargs and va_copy.
   2506 static bool
   2507 test_varargs (const char *format, ...)
   2508 {
   2509   va_list args;
   2510   va_start (args, format);
   2511   va_list args_copy;
   2512   va_copy (args_copy, args);
   2513 
   2514   const char *str = "";
   2515   int number = 0;
   2516   float fnumber = 0;
   2517 
   2518   while (*format)
   2519     {
   2520       switch (*format++)
   2521 	{
   2522 	case '\''s'\'': // string
   2523 	  str = va_arg (args_copy, const char *);
   2524 	  break;
   2525 	case '\''d'\'': // int
   2526 	  number = va_arg (args_copy, int);
   2527 	  break;
   2528 	case '\''f'\'': // float
   2529 	  fnumber = va_arg (args_copy, double);
   2530 	  break;
   2531 	default:
   2532 	  break;
   2533 	}
   2534     }
   2535   va_end (args_copy);
   2536   va_end (args);
   2537 
   2538   return *str && number && fnumber;
   2539 }
   2540 '
   2541 
   2542 # Test code for whether the C compiler supports C99 (body of main).
   2543 ac_c_conftest_c99_main='
   2544   // Check bool.
   2545   _Bool success = false;
   2546   success |= (argc != 0);
   2547 
   2548   // Check restrict.
   2549   if (test_restrict ("String literal") == 0)
   2550     success = true;
   2551   char *restrict newvar = "Another string";
   2552 
   2553   // Check varargs.
   2554   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2555   test_varargs_macros ();
   2556 
   2557   // Check flexible array members.
   2558   struct incomplete_array *ia =
   2559     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2560   ia->datasize = 10;
   2561   for (int i = 0; i < ia->datasize; ++i)
   2562     ia->data[i] = i * 1.234;
   2563   // Work around memory leak warnings.
   2564   free (ia);
   2565 
   2566   // Check named initializers.
   2567   struct named_init ni = {
   2568     .number = 34,
   2569     .name = L"Test wide string",
   2570     .average = 543.34343,
   2571   };
   2572 
   2573   ni.number = 58;
   2574 
   2575   int dynamic_array[ni.number];
   2576   dynamic_array[0] = argv[0][0];
   2577   dynamic_array[ni.number - 1] = 543;
   2578 
   2579   // work around unused variable warnings
   2580   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2581 	 || dynamic_array[ni.number - 1] != 543);
   2582 '
   2583 
   2584 # Test code for whether the C compiler supports C11 (global declarations)
   2585 ac_c_conftest_c11_globals='
   2586 /* Does the compiler advertise C11 conformance? */
   2587 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2588 # error "Compiler does not advertise C11 conformance"
   2589 #endif
   2590 
   2591 // Check _Alignas.
   2592 char _Alignas (double) aligned_as_double;
   2593 char _Alignas (0) no_special_alignment;
   2594 extern char aligned_as_int;
   2595 char _Alignas (0) _Alignas (int) aligned_as_int;
   2596 
   2597 // Check _Alignof.
   2598 enum
   2599 {
   2600   int_alignment = _Alignof (int),
   2601   int_array_alignment = _Alignof (int[100]),
   2602   char_alignment = _Alignof (char)
   2603 };
   2604 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2605 
   2606 // Check _Noreturn.
   2607 int _Noreturn does_not_return (void) { for (;;) continue; }
   2608 
   2609 // Check _Static_assert.
   2610 struct test_static_assert
   2611 {
   2612   int x;
   2613   _Static_assert (sizeof (int) <= sizeof (long int),
   2614                   "_Static_assert does not work in struct");
   2615   long int y;
   2616 };
   2617 
   2618 // Check UTF-8 literals.
   2619 #define u8 syntax error!
   2620 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2621 
   2622 // Check duplicate typedefs.
   2623 typedef long *long_ptr;
   2624 typedef long int *long_ptr;
   2625 typedef long_ptr long_ptr;
   2626 
   2627 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2628 struct anonymous
   2629 {
   2630   union {
   2631     struct { int i; int j; };
   2632     struct { int k; long int l; } w;
   2633   };
   2634   int m;
   2635 } v1;
   2636 '
   2637 
   2638 # Test code for whether the C compiler supports C11 (body of main).
   2639 ac_c_conftest_c11_main='
   2640   _Static_assert ((offsetof (struct anonymous, i)
   2641 		   == offsetof (struct anonymous, w.k)),
   2642 		  "Anonymous union alignment botch");
   2643   v1.i = 2;
   2644   v1.w.k = 5;
   2645   ok |= v1.i != 5;
   2646 '
   2647 
   2648 # Test code for whether the C compiler supports C11 (complete).
   2649 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2650 ${ac_c_conftest_c99_globals}
   2651 ${ac_c_conftest_c11_globals}
   2652 
   2653 int
   2654 main (int argc, char **argv)
   2655 {
   2656   int ok = 0;
   2657   ${ac_c_conftest_c89_main}
   2658   ${ac_c_conftest_c99_main}
   2659   ${ac_c_conftest_c11_main}
   2660   return ok;
   2661 }
   2662 "
   2663 
   2664 # Test code for whether the C compiler supports C99 (complete).
   2665 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2666 ${ac_c_conftest_c99_globals}
   2667 
   2668 int
   2669 main (int argc, char **argv)
   2670 {
   2671   int ok = 0;
   2672   ${ac_c_conftest_c89_main}
   2673   ${ac_c_conftest_c99_main}
   2674   return ok;
   2675 }
   2676 "
   2677 
   2678 # Test code for whether the C compiler supports C89 (complete).
   2679 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2680 
   2681 int
   2682 main (int argc, char **argv)
   2683 {
   2684   int ok = 0;
   2685   ${ac_c_conftest_c89_main}
   2686   return ok;
   2687 }
   2688 "
   2689 
   2690 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2691 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2692 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2693 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2694 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2695 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2696 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2697 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2698 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2699 
   2700 # Auxiliary files required by this configure script.
   2701 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2702 
   2703 # Locations in which to look for auxiliary files.
   2704 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2705 
   2706 # Search for a directory containing all of the required auxiliary files,
   2707 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2708 # If we don't find one directory that contains all the files we need,
   2709 # we report the set of missing files from the *first* directory in
   2710 # $ac_aux_dir_candidates and give up.
   2711 ac_missing_aux_files=""
   2712 ac_first_candidate=:
   2713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2715 as_found=false
   2716 for as_dir in $ac_aux_dir_candidates
   2717 do
   2718   IFS=$as_save_IFS
   2719   case $as_dir in #(((
   2720     '') as_dir=./ ;;
   2721     */) ;;
   2722     *) as_dir=$as_dir/ ;;
   2723   esac
   2724   as_found=:
   2725 
   2726   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2727   ac_aux_dir_found=yes
   2728   ac_install_sh=
   2729   for ac_aux in $ac_aux_files
   2730   do
   2731     # As a special case, if "install-sh" is required, that requirement
   2732     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2733     # and $ac_install_sh is set appropriately for whichever one is found.
   2734     if test x"$ac_aux" = x"install-sh"
   2735     then
   2736       if test -f "${as_dir}install-sh"; then
   2737         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2738         ac_install_sh="${as_dir}install-sh -c"
   2739       elif test -f "${as_dir}install.sh"; then
   2740         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2741         ac_install_sh="${as_dir}install.sh -c"
   2742       elif test -f "${as_dir}shtool"; then
   2743         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2744         ac_install_sh="${as_dir}shtool install -c"
   2745       else
   2746         ac_aux_dir_found=no
   2747         if $ac_first_candidate; then
   2748           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2749         else
   2750           break
   2751         fi
   2752       fi
   2753     else
   2754       if test -f "${as_dir}${ac_aux}"; then
   2755         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2756       else
   2757         ac_aux_dir_found=no
   2758         if $ac_first_candidate; then
   2759           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2760         else
   2761           break
   2762         fi
   2763       fi
   2764     fi
   2765   done
   2766   if test "$ac_aux_dir_found" = yes; then
   2767     ac_aux_dir="$as_dir"
   2768     break
   2769   fi
   2770   ac_first_candidate=false
   2771 
   2772   as_found=false
   2773 done
   2774 IFS=$as_save_IFS
   2775 if $as_found
   2776 then :
   2777 
   2778 else case e in #(
   2779   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2780 esac
   2781 fi
   2782 
   2783 
   2784 # These three variables are undocumented and unsupported,
   2785 # and are intended to be withdrawn in a future Autoconf release.
   2786 # They can cause serious problems if a builder's source tree is in a directory
   2787 # whose full name contains unusual characters.
   2788 if test -f "${ac_aux_dir}config.guess"; then
   2789   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2790 fi
   2791 if test -f "${ac_aux_dir}config.sub"; then
   2792   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2793 fi
   2794 if test -f "$ac_aux_dir/configure"; then
   2795   ac_configure="$SHELL ${ac_aux_dir}configure"
   2796 fi
   2797 
   2798 # Check that the precious variables saved in the cache have kept the same
   2799 # value.
   2800 ac_cache_corrupted=false
   2801 for ac_var in $ac_precious_vars; do
   2802   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2803   eval ac_new_set=\$ac_env_${ac_var}_set
   2804   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2805   eval ac_new_val=\$ac_env_${ac_var}_value
   2806   case $ac_old_set,$ac_new_set in
   2807     set,)
   2808       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2809 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2810       ac_cache_corrupted=: ;;
   2811     ,set)
   2812       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2813 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2814       ac_cache_corrupted=: ;;
   2815     ,);;
   2816     *)
   2817       if test "x$ac_old_val" != "x$ac_new_val"; then
   2818 	# differences in whitespace do not lead to failure.
   2819 	ac_old_val_w=`echo x $ac_old_val`
   2820 	ac_new_val_w=`echo x $ac_new_val`
   2821 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2822 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2823 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2824 	  ac_cache_corrupted=:
   2825 	else
   2826 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2827 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2828 	  eval $ac_var=\$ac_old_val
   2829 	fi
   2830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2831 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2832 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2833 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2834       fi;;
   2835   esac
   2836   # Pass precious variables to config.status.
   2837   if test "$ac_new_set" = set; then
   2838     case $ac_new_val in
   2839     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2840     *) ac_arg=$ac_var=$ac_new_val ;;
   2841     esac
   2842     case " $ac_configure_args " in
   2843       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2844       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2845     esac
   2846   fi
   2847 done
   2848 if $ac_cache_corrupted; then
   2849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2850 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2852 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2853   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2854 	    and start over" "$LINENO" 5
   2855 fi
   2856 ## -------------------- ##
   2857 ## Main body of script. ##
   2858 ## -------------------- ##
   2859 
   2860 ac_ext=c
   2861 ac_cpp='$CPP $CPPFLAGS'
   2862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2865 
   2866 
   2867 
   2868 ac_config_headers="$ac_config_headers config.h"
   2869 
   2870 
   2871 
   2872 # Initialize Automake
   2873 am__api_version='1.17'
   2874 
   2875 
   2876 
   2877   # Find a good install program.  We prefer a C program (faster),
   2878 # so one script is as good as another.  But avoid the broken or
   2879 # incompatible versions:
   2880 # SysV /etc/install, /usr/sbin/install
   2881 # SunOS /usr/etc/install
   2882 # IRIX /sbin/install
   2883 # AIX /bin/install
   2884 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2885 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2886 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2887 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2888 # OS/2's system install, which has a completely different semantic
   2889 # ./install, which can be erroneously created by make from ./install.sh.
   2890 # Reject install programs that cannot install multiple files.
   2891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2892 printf %s "checking for a BSD-compatible install... " >&6; }
   2893 if test -z "$INSTALL"; then
   2894 if test ${ac_cv_path_install+y}
   2895 then :
   2896   printf %s "(cached) " >&6
   2897 else case e in #(
   2898   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2899 for as_dir in $PATH
   2900 do
   2901   IFS=$as_save_IFS
   2902   case $as_dir in #(((
   2903     '') as_dir=./ ;;
   2904     */) ;;
   2905     *) as_dir=$as_dir/ ;;
   2906   esac
   2907     # Account for fact that we put trailing slashes in our PATH walk.
   2908 case $as_dir in #((
   2909   ./ | /[cC]/* | \
   2910   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2911   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2912   /usr/ucb/* ) ;;
   2913   *)
   2914     # OSF1 and SCO ODT 3.0 have their own names for install.
   2915     # Don't use installbsd from OSF since it installs stuff as root
   2916     # by default.
   2917     for ac_prog in ginstall scoinst install; do
   2918       for ac_exec_ext in '' $ac_executable_extensions; do
   2919 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2920 	  if test $ac_prog = install &&
   2921 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2922 	    # AIX install.  It has an incompatible calling convention.
   2923 	    :
   2924 	  elif test $ac_prog = install &&
   2925 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2926 	    # program-specific install script used by HP pwplus--don't use.
   2927 	    :
   2928 	  else
   2929 	    rm -rf conftest.one conftest.two conftest.dir
   2930 	    echo one > conftest.one
   2931 	    echo two > conftest.two
   2932 	    mkdir conftest.dir
   2933 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2934 	      test -s conftest.one && test -s conftest.two &&
   2935 	      test -s conftest.dir/conftest.one &&
   2936 	      test -s conftest.dir/conftest.two
   2937 	    then
   2938 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2939 	      break 3
   2940 	    fi
   2941 	  fi
   2942 	fi
   2943       done
   2944     done
   2945     ;;
   2946 esac
   2947 
   2948   done
   2949 IFS=$as_save_IFS
   2950 
   2951 rm -rf conftest.one conftest.two conftest.dir
   2952  ;;
   2953 esac
   2954 fi
   2955   if test ${ac_cv_path_install+y}; then
   2956     INSTALL=$ac_cv_path_install
   2957   else
   2958     # As a last resort, use the slow shell script.  Don't cache a
   2959     # value for INSTALL within a source directory, because that will
   2960     # break other packages using the cache if that directory is
   2961     # removed, or if the value is a relative name.
   2962     INSTALL=$ac_install_sh
   2963   fi
   2964 fi
   2965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2966 printf "%s\n" "$INSTALL" >&6; }
   2967 
   2968 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2969 # It thinks the first close brace ends the variable substitution.
   2970 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2971 
   2972 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2973 
   2974 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2975 
   2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2977 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2978 if test ${am_cv_sleep_fractional_seconds+y}
   2979 then :
   2980   printf %s "(cached) " >&6
   2981 else case e in #(
   2982   e) if sleep 0.001 2>/dev/null
   2983 then :
   2984   am_cv_sleep_fractional_seconds=yes
   2985 else case e in #(
   2986   e) am_cv_sleep_fractional_seconds=no ;;
   2987 esac
   2988 fi
   2989  ;;
   2990 esac
   2991 fi
   2992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2993 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2994 
   2995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2996 printf %s "checking filesystem timestamp resolution... " >&6; }
   2997 if test ${am_cv_filesystem_timestamp_resolution+y}
   2998 then :
   2999   printf %s "(cached) " >&6
   3000 else case e in #(
   3001   e) # Default to the worst case.
   3002 am_cv_filesystem_timestamp_resolution=2
   3003 
   3004 # Only try to go finer than 1 sec if sleep can do it.
   3005 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   3006 # - 1 sec is not much of a win compared to 2 sec, and
   3007 # - it takes 2 seconds to perform the test whether 1 sec works.
   3008 #
   3009 # Instead, just use the default 2s on platforms that have 1s resolution,
   3010 # accept the extra 1s delay when using $sleep in the Automake tests, in
   3011 # exchange for not incurring the 2s delay for running the test for all
   3012 # packages.
   3013 #
   3014 am_try_resolutions=
   3015 if test "$am_cv_sleep_fractional_seconds" = yes; then
   3016   # Even a millisecond often causes a bunch of false positives,
   3017   # so just try a hundredth of a second. The time saved between .001 and
   3018   # .01 is not terribly consequential.
   3019   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   3020 fi
   3021 
   3022 # In order to catch current-generation FAT out, we must *modify* files
   3023 # that already exist; the *creation* timestamp is finer.  Use names
   3024 # that make ls -t sort them differently when they have equal
   3025 # timestamps than when they have distinct timestamps, keeping
   3026 # in mind that ls -t prints the *newest* file first.
   3027 rm -f conftest.ts?
   3028 : > conftest.ts1
   3029 : > conftest.ts2
   3030 : > conftest.ts3
   3031 
   3032 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   3033 # clobber the current shell's arguments. (Outer-level square brackets
   3034 # are removed by m4; they're present so that m4 does not expand
   3035 # <dollar><star>; be careful, easy to get confused.)
   3036 if (
   3037      set X `ls -t conftest.ts[12]` &&
   3038      {
   3039        test "$*" != "X conftest.ts1 conftest.ts2" ||
   3040        test "$*" != "X conftest.ts2 conftest.ts1";
   3041      }
   3042 ); then :; else
   3043   # If neither matched, then we have a broken ls.  This can happen
   3044   # if, for instance, CONFIG_SHELL is bash and it inherits a
   3045   # broken ls alias from the environment.  This has actually
   3046   # happened.  Such a system could not be considered "sane".
   3047   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   3048   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3049 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3050 as_fn_error $? "ls -t produces unexpected output.
   3051 Make sure there is not a broken ls alias in your environment.
   3052 See 'config.log' for more details" "$LINENO" 5; }
   3053 fi
   3054 
   3055 for am_try_res in $am_try_resolutions; do
   3056   # Any one fine-grained sleep might happen to cross the boundary
   3057   # between two values of a coarser actual resolution, but if we do
   3058   # two fine-grained sleeps in a row, at least one of them will fall
   3059   # entirely within a coarse interval.
   3060   echo alpha > conftest.ts1
   3061   sleep $am_try_res
   3062   echo beta > conftest.ts2
   3063   sleep $am_try_res
   3064   echo gamma > conftest.ts3
   3065 
   3066   # We assume that 'ls -t' will make use of high-resolution
   3067   # timestamps if the operating system supports them at all.
   3068   if (set X `ls -t conftest.ts?` &&
   3069       test "$2" = conftest.ts3 &&
   3070       test "$3" = conftest.ts2 &&
   3071       test "$4" = conftest.ts1); then
   3072     #
   3073     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   3074     # because we don't need to test make.
   3075     make_ok=true
   3076     if test $am_try_res != 1; then
   3077       # But if we've succeeded so far with a subsecond resolution, we
   3078       # have one more thing to check: make. It can happen that
   3079       # everything else supports the subsecond mtimes, but make doesn't;
   3080       # notably on macOS, which ships make 3.81 from 2006 (the last one
   3081       # released under GPLv2). https://bugs.gnu.org/68808
   3082       #
   3083       # We test $MAKE if it is defined in the environment, else "make".
   3084       # It might get overridden later, but our hope is that in practice
   3085       # it does not matter: it is the system "make" which is (by far)
   3086       # the most likely to be broken, whereas if the user overrides it,
   3087       # probably they did so with a better, or at least not worse, make.
   3088       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   3089       #
   3090       # Create a Makefile (real tab character here):
   3091       rm -f conftest.mk
   3092       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   3093       echo '	touch conftest.ts2' >>conftest.mk
   3094       #
   3095       # Now, running
   3096       #   touch conftest.ts1; touch conftest.ts2; make
   3097       # should touch ts1 because ts2 is newer. This could happen by luck,
   3098       # but most often, it will fail if make's support is insufficient. So
   3099       # test for several consecutive successes.
   3100       #
   3101       # (We reuse conftest.ts[12] because we still want to modify existing
   3102       # files, not create new ones, per above.)
   3103       n=0
   3104       make=${MAKE-make}
   3105       until test $n -eq 3; do
   3106         echo one > conftest.ts1
   3107         sleep $am_try_res
   3108         echo two > conftest.ts2 # ts2 should now be newer than ts1
   3109         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   3110           make_ok=false
   3111           break # out of $n loop
   3112         fi
   3113         n=`expr $n + 1`
   3114       done
   3115     fi
   3116     #
   3117     if $make_ok; then
   3118       # Everything we know to check worked out, so call this resolution good.
   3119       am_cv_filesystem_timestamp_resolution=$am_try_res
   3120       break # out of $am_try_res loop
   3121     fi
   3122     # Otherwise, we'll go on to check the next resolution.
   3123   fi
   3124 done
   3125 rm -f conftest.ts?
   3126 # (end _am_filesystem_timestamp_resolution)
   3127  ;;
   3128 esac
   3129 fi
   3130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   3131 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   3132 
   3133 # This check should not be cached, as it may vary across builds of
   3134 # different projects.
   3135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3136 printf %s "checking whether build environment is sane... " >&6; }
   3137 # Reject unsafe characters in $srcdir or the absolute working directory
   3138 # name.  Accept space and tab only in the latter.
   3139 am_lf='
   3140 '
   3141 case `pwd` in
   3142   *[\\\"\#\$\&\'\`$am_lf]*)
   3143     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3144 esac
   3145 case $srcdir in
   3146   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3147     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3148 esac
   3149 
   3150 # Do 'set' in a subshell so we don't clobber the current shell's
   3151 # arguments.  Must try -L first in case configure is actually a
   3152 # symlink; some systems play weird games with the mod time of symlinks
   3153 # (eg FreeBSD returns the mod time of the symlink's containing
   3154 # directory).
   3155 am_build_env_is_sane=no
   3156 am_has_slept=no
   3157 rm -f conftest.file
   3158 for am_try in 1 2; do
   3159   echo "timestamp, slept: $am_has_slept" > conftest.file
   3160   if (
   3161     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3162     if test "$*" = "X"; then
   3163       # -L didn't work.
   3164       set X `ls -t "$srcdir/configure" conftest.file`
   3165     fi
   3166     test "$2" = conftest.file
   3167   ); then
   3168     am_build_env_is_sane=yes
   3169     break
   3170   fi
   3171   # Just in case.
   3172   sleep "$am_cv_filesystem_timestamp_resolution"
   3173   am_has_slept=yes
   3174 done
   3175 
   3176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   3177 printf "%s\n" "$am_build_env_is_sane" >&6; }
   3178 if test "$am_build_env_is_sane" = no; then
   3179   as_fn_error $? "newly created file is older than distributed files!
   3180 Check your system clock" "$LINENO" 5
   3181 fi
   3182 
   3183 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3184 # generated files are strictly newer.
   3185 am_sleep_pid=
   3186 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   3187 then :
   3188 
   3189 else case e in #(
   3190   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   3191   am_sleep_pid=$!
   3192  ;;
   3193 esac
   3194 fi
   3195 
   3196 rm -f conftest.file
   3197 
   3198 test "$program_prefix" != NONE &&
   3199   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3200 # Use a double $ so make ignores it.
   3201 test "$program_suffix" != NONE &&
   3202   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3203 # Double any \ or $.
   3204 # By default was 's,x,x', remove it if useless.
   3205 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3206 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3207 
   3208 
   3209 # Expand $ac_aux_dir to an absolute path.
   3210 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3211 
   3212 
   3213   if test x"${MISSING+set}" != xset; then
   3214   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3215 fi
   3216 # Use eval to expand $SHELL
   3217 if eval "$MISSING --is-lightweight"; then
   3218   am_missing_run="$MISSING "
   3219 else
   3220   am_missing_run=
   3221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3222 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3223 fi
   3224 
   3225 if test x"${install_sh+set}" != xset; then
   3226   case $am_aux_dir in
   3227   *\ * | *\	*)
   3228     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3229   *)
   3230     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3231   esac
   3232 fi
   3233 
   3234 # Installed binaries are usually stripped using 'strip' when the user
   3235 # run "make install-strip".  However 'strip' might not be the right
   3236 # tool to use in cross-compilation environments, therefore Automake
   3237 # will honor the 'STRIP' environment variable to overrule this program.
   3238 if test "$cross_compiling" != no; then
   3239   if test -n "$ac_tool_prefix"; then
   3240   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3241 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3243 printf %s "checking for $ac_word... " >&6; }
   3244 if test ${ac_cv_prog_STRIP+y}
   3245 then :
   3246   printf %s "(cached) " >&6
   3247 else case e in #(
   3248   e) if test -n "$STRIP"; then
   3249   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3250 else
   3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3252 for as_dir in $PATH
   3253 do
   3254   IFS=$as_save_IFS
   3255   case $as_dir in #(((
   3256     '') as_dir=./ ;;
   3257     */) ;;
   3258     *) as_dir=$as_dir/ ;;
   3259   esac
   3260     for ac_exec_ext in '' $ac_executable_extensions; do
   3261   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3262     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3263     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3264     break 2
   3265   fi
   3266 done
   3267   done
   3268 IFS=$as_save_IFS
   3269 
   3270 fi ;;
   3271 esac
   3272 fi
   3273 STRIP=$ac_cv_prog_STRIP
   3274 if test -n "$STRIP"; then
   3275   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3276 printf "%s\n" "$STRIP" >&6; }
   3277 else
   3278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3279 printf "%s\n" "no" >&6; }
   3280 fi
   3281 
   3282 
   3283 fi
   3284 if test -z "$ac_cv_prog_STRIP"; then
   3285   ac_ct_STRIP=$STRIP
   3286   # Extract the first word of "strip", so it can be a program name with args.
   3287 set dummy strip; ac_word=$2
   3288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3289 printf %s "checking for $ac_word... " >&6; }
   3290 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3291 then :
   3292   printf %s "(cached) " >&6
   3293 else case e in #(
   3294   e) if test -n "$ac_ct_STRIP"; then
   3295   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3296 else
   3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3298 for as_dir in $PATH
   3299 do
   3300   IFS=$as_save_IFS
   3301   case $as_dir in #(((
   3302     '') as_dir=./ ;;
   3303     */) ;;
   3304     *) as_dir=$as_dir/ ;;
   3305   esac
   3306     for ac_exec_ext in '' $ac_executable_extensions; do
   3307   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3308     ac_cv_prog_ac_ct_STRIP="strip"
   3309     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3310     break 2
   3311   fi
   3312 done
   3313   done
   3314 IFS=$as_save_IFS
   3315 
   3316 fi ;;
   3317 esac
   3318 fi
   3319 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3320 if test -n "$ac_ct_STRIP"; then
   3321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3322 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3323 else
   3324   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3325 printf "%s\n" "no" >&6; }
   3326 fi
   3327 
   3328   if test "x$ac_ct_STRIP" = x; then
   3329     STRIP=":"
   3330   else
   3331     case $cross_compiling:$ac_tool_warned in
   3332 yes:)
   3333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3334 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3335 ac_tool_warned=yes ;;
   3336 esac
   3337     STRIP=$ac_ct_STRIP
   3338   fi
   3339 else
   3340   STRIP="$ac_cv_prog_STRIP"
   3341 fi
   3342 
   3343 fi
   3344 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3345 
   3346 
   3347   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3348 printf %s "checking for a race-free mkdir -p... " >&6; }
   3349 if test -z "$MKDIR_P"; then
   3350   if test ${ac_cv_path_mkdir+y}
   3351 then :
   3352   printf %s "(cached) " >&6
   3353 else case e in #(
   3354   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3355 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3356 do
   3357   IFS=$as_save_IFS
   3358   case $as_dir in #(((
   3359     '') as_dir=./ ;;
   3360     */) ;;
   3361     *) as_dir=$as_dir/ ;;
   3362   esac
   3363     for ac_prog in mkdir gmkdir; do
   3364 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3365 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3366 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3367 	     'mkdir ('*'coreutils) '* | \
   3368 	     *'BusyBox '* | \
   3369 	     'mkdir (fileutils) '4.1*)
   3370 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3371 	       break 3;;
   3372 	   esac
   3373 	 done
   3374        done
   3375   done
   3376 IFS=$as_save_IFS
   3377  ;;
   3378 esac
   3379 fi
   3380 
   3381   test -d ./--version && rmdir ./--version
   3382   if test ${ac_cv_path_mkdir+y}; then
   3383     MKDIR_P="$ac_cv_path_mkdir -p"
   3384   else
   3385     # As a last resort, use plain mkdir -p,
   3386     # in the hope it doesn't have the bugs of ancient mkdir.
   3387     MKDIR_P='mkdir -p'
   3388   fi
   3389 fi
   3390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3391 printf "%s\n" "$MKDIR_P" >&6; }
   3392 
   3393 for ac_prog in gawk mawk nawk awk
   3394 do
   3395   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3396 set dummy $ac_prog; ac_word=$2
   3397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3398 printf %s "checking for $ac_word... " >&6; }
   3399 if test ${ac_cv_prog_AWK+y}
   3400 then :
   3401   printf %s "(cached) " >&6
   3402 else case e in #(
   3403   e) if test -n "$AWK"; then
   3404   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3405 else
   3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3407 for as_dir in $PATH
   3408 do
   3409   IFS=$as_save_IFS
   3410   case $as_dir in #(((
   3411     '') as_dir=./ ;;
   3412     */) ;;
   3413     *) as_dir=$as_dir/ ;;
   3414   esac
   3415     for ac_exec_ext in '' $ac_executable_extensions; do
   3416   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3417     ac_cv_prog_AWK="$ac_prog"
   3418     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3419     break 2
   3420   fi
   3421 done
   3422   done
   3423 IFS=$as_save_IFS
   3424 
   3425 fi ;;
   3426 esac
   3427 fi
   3428 AWK=$ac_cv_prog_AWK
   3429 if test -n "$AWK"; then
   3430   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3431 printf "%s\n" "$AWK" >&6; }
   3432 else
   3433   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3434 printf "%s\n" "no" >&6; }
   3435 fi
   3436 
   3437 
   3438   test -n "$AWK" && break
   3439 done
   3440 
   3441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3442 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3443 set x ${MAKE-make}
   3444 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3445 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3446 then :
   3447   printf %s "(cached) " >&6
   3448 else case e in #(
   3449   e) cat >conftest.make <<\_ACEOF
   3450 SHELL = /bin/sh
   3451 all:
   3452 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3453 _ACEOF
   3454 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3455 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3456   *@@@%%%=?*=@@@%%%*)
   3457     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3458   *)
   3459     eval ac_cv_prog_make_${ac_make}_set=no;;
   3460 esac
   3461 rm -f conftest.make ;;
   3462 esac
   3463 fi
   3464 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3465   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3466 printf "%s\n" "yes" >&6; }
   3467   SET_MAKE=
   3468 else
   3469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3470 printf "%s\n" "no" >&6; }
   3471   SET_MAKE="MAKE=${MAKE-make}"
   3472 fi
   3473 
   3474 rm -rf .tst 2>/dev/null
   3475 mkdir .tst 2>/dev/null
   3476 if test -d .tst; then
   3477   am__leading_dot=.
   3478 else
   3479   am__leading_dot=_
   3480 fi
   3481 rmdir .tst 2>/dev/null
   3482 
   3483 AM_DEFAULT_VERBOSITY=1
   3484 # Check whether --enable-silent-rules was given.
   3485 if test ${enable_silent_rules+y}
   3486 then :
   3487   enableval=$enable_silent_rules;
   3488 fi
   3489 
   3490 am_make=${MAKE-make}
   3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3492 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3493 if test ${am_cv_make_support_nested_variables+y}
   3494 then :
   3495   printf %s "(cached) " >&6
   3496 else case e in #(
   3497   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3498 BAR0=false
   3499 BAR1=true
   3500 V=1
   3501 am__doit:
   3502 	@$(TRUE)
   3503 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3504   am_cv_make_support_nested_variables=yes
   3505 else
   3506   am_cv_make_support_nested_variables=no
   3507 fi ;;
   3508 esac
   3509 fi
   3510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3511 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3512 AM_BACKSLASH='\'
   3513 
   3514 am__rm_f_notfound=
   3515 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3516 then :
   3517 
   3518 else case e in #(
   3519   e) am__rm_f_notfound='""' ;;
   3520 esac
   3521 fi
   3522 
   3523 
   3524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3525 printf %s "checking xargs -n works... " >&6; }
   3526 if test ${am_cv_xargs_n_works+y}
   3527 then :
   3528   printf %s "(cached) " >&6
   3529 else case e in #(
   3530   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3531 3"
   3532 then :
   3533   am_cv_xargs_n_works=yes
   3534 else case e in #(
   3535   e) am_cv_xargs_n_works=no ;;
   3536 esac
   3537 fi ;;
   3538 esac
   3539 fi
   3540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3541 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3542 if test "$am_cv_xargs_n_works" = yes
   3543 then :
   3544   am__xargs_n='xargs -n'
   3545 else case e in #(
   3546   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3547  ;;
   3548 esac
   3549 fi
   3550 
   3551 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3552   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3553   # is not polluted with repeated "-I."
   3554   am__isrc=' -I$(srcdir)'
   3555   # test to see if srcdir already configured
   3556   if test -f $srcdir/config.status; then
   3557     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3558   fi
   3559 fi
   3560 
   3561 # test whether we have cygpath
   3562 if test -z "$CYGPATH_W"; then
   3563   if (cygpath --version) >/dev/null 2>/dev/null; then
   3564     CYGPATH_W='cygpath -w'
   3565   else
   3566     CYGPATH_W=echo
   3567   fi
   3568 fi
   3569 
   3570 
   3571 # Define the identity of the package.
   3572  PACKAGE='libSM'
   3573  VERSION='1.2.6'
   3574 
   3575 
   3576 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3577 
   3578 
   3579 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3580 
   3581 # Some tools Automake needs.
   3582 
   3583 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3584 
   3585 
   3586 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3587 
   3588 
   3589 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3590 
   3591 
   3592 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3593 
   3594 
   3595 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3596 
   3597 # For better backward compatibility.  To be removed once Automake 1.9.x
   3598 # dies out for good.  For more background, see:
   3599 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3600 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3601 mkdir_p='$(MKDIR_P)'
   3602 
   3603 # We need awk for the "check" target (and possibly the TAP driver).  The
   3604 # system "awk" is bad on some platforms.
   3605 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3606 # in the wild :-(  We should find a proper way to deprecate it ...
   3607 AMTAR='$${TAR-tar}'
   3608 
   3609 
   3610 # We'll loop over all known methods to create a tar archive until one works.
   3611 _am_tools='gnutar  pax cpio none'
   3612 
   3613 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3614 
   3615 
   3616 
   3617 
   3618 
   3619 # Variables for tags utilities; see am/tags.am
   3620 if test -z "$CTAGS"; then
   3621   CTAGS=ctags
   3622 fi
   3623 
   3624 if test -z "$ETAGS"; then
   3625   ETAGS=etags
   3626 fi
   3627 
   3628 if test -z "$CSCOPE"; then
   3629   CSCOPE=cscope
   3630 fi
   3631 
   3632 
   3633 
   3634 
   3635 
   3636 
   3637 
   3638 
   3639 # Initialize libtool
   3640 case `pwd` in
   3641   *\ * | *\	*)
   3642     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3643 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3644 esac
   3645 
   3646 
   3647 
   3648 macro_version='2.5.4'
   3649 macro_revision='2.5.4'
   3650 
   3651 
   3652 
   3653 
   3654 
   3655 
   3656 
   3657 
   3658 
   3659 
   3660 
   3661 
   3662 
   3663 
   3664 ltmain=$ac_aux_dir/ltmain.sh
   3665 
   3666 
   3667 
   3668   # Make sure we can run config.sub.
   3669 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3670   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3671 
   3672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3673 printf %s "checking build system type... " >&6; }
   3674 if test ${ac_cv_build+y}
   3675 then :
   3676   printf %s "(cached) " >&6
   3677 else case e in #(
   3678   e) ac_build_alias=$build_alias
   3679 test "x$ac_build_alias" = x &&
   3680   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3681 test "x$ac_build_alias" = x &&
   3682   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3683 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3684   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3685  ;;
   3686 esac
   3687 fi
   3688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3689 printf "%s\n" "$ac_cv_build" >&6; }
   3690 case $ac_cv_build in
   3691 *-*-*) ;;
   3692 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3693 esac
   3694 build=$ac_cv_build
   3695 ac_save_IFS=$IFS; IFS='-'
   3696 set x $ac_cv_build
   3697 shift
   3698 build_cpu=$1
   3699 build_vendor=$2
   3700 shift; shift
   3701 # Remember, the first character of IFS is used to create $*,
   3702 # except with old shells:
   3703 build_os=$*
   3704 IFS=$ac_save_IFS
   3705 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3706 
   3707 
   3708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3709 printf %s "checking host system type... " >&6; }
   3710 if test ${ac_cv_host+y}
   3711 then :
   3712   printf %s "(cached) " >&6
   3713 else case e in #(
   3714   e) if test "x$host_alias" = x; then
   3715   ac_cv_host=$ac_cv_build
   3716 else
   3717   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3718     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3719 fi
   3720  ;;
   3721 esac
   3722 fi
   3723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3724 printf "%s\n" "$ac_cv_host" >&6; }
   3725 case $ac_cv_host in
   3726 *-*-*) ;;
   3727 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3728 esac
   3729 host=$ac_cv_host
   3730 ac_save_IFS=$IFS; IFS='-'
   3731 set x $ac_cv_host
   3732 shift
   3733 host_cpu=$1
   3734 host_vendor=$2
   3735 shift; shift
   3736 # Remember, the first character of IFS is used to create $*,
   3737 # except with old shells:
   3738 host_os=$*
   3739 IFS=$ac_save_IFS
   3740 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3741 
   3742 
   3743 # Backslashify metacharacters that are still active within
   3744 # double-quoted strings.
   3745 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3746 
   3747 # Same as above, but do not quote variable references.
   3748 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3749 
   3750 # Sed substitution to delay expansion of an escaped shell variable in a
   3751 # double_quote_subst'ed string.
   3752 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3753 
   3754 # Sed substitution to delay expansion of an escaped single quote.
   3755 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3756 
   3757 # Sed substitution to avoid accidental globbing in evaled expressions
   3758 no_glob_subst='s/\*/\\\*/g'
   3759 
   3760 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3761 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3762 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3763 
   3764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3765 printf %s "checking how to print strings... " >&6; }
   3766 # Test print first, because it will be a builtin if present.
   3767 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3768    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3769   ECHO='print -r --'
   3770 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3771   ECHO='printf %s\n'
   3772 else
   3773   # Use this function as a fallback that always works.
   3774   func_fallback_echo ()
   3775   {
   3776     eval 'cat <<_LTECHO_EOF
   3777 $1
   3778 _LTECHO_EOF'
   3779   }
   3780   ECHO='func_fallback_echo'
   3781 fi
   3782 
   3783 # func_echo_all arg...
   3784 # Invoke $ECHO with all args, space-separated.
   3785 func_echo_all ()
   3786 {
   3787     $ECHO ""
   3788 }
   3789 
   3790 case $ECHO in
   3791   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3792 printf "%s\n" "printf" >&6; } ;;
   3793   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3794 printf "%s\n" "print -r" >&6; } ;;
   3795   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3796 printf "%s\n" "cat" >&6; } ;;
   3797 esac
   3798 
   3799 
   3800 
   3801 
   3802 
   3803 
   3804 
   3805 
   3806 
   3807 
   3808 
   3809 
   3810 
   3811 
   3812 
   3813 
   3814 
   3815 
   3816 
   3817 
   3818 
   3819 
   3820 
   3821 DEPDIR="${am__leading_dot}deps"
   3822 
   3823 ac_config_commands="$ac_config_commands depfiles"
   3824 
   3825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3826 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3827 cat > confinc.mk << 'END'
   3828 am__doit:
   3829 	@echo this is the am__doit target >confinc.out
   3830 .PHONY: am__doit
   3831 END
   3832 am__include="#"
   3833 am__quote=
   3834 # BSD make does it like this.
   3835 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3836 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3837 echo 'include confinc.mk # ignored' > confmf.GNU
   3838 _am_result=no
   3839 for s in GNU BSD; do
   3840   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3841    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3842    ac_status=$?
   3843    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3844    (exit $ac_status); }
   3845   case $?:`cat confinc.out 2>/dev/null` in #(
   3846   '0:this is the am__doit target') :
   3847     case $s in #(
   3848   BSD) :
   3849     am__include='.include' am__quote='"' ;; #(
   3850   *) :
   3851     am__include='include' am__quote='' ;;
   3852 esac ;; #(
   3853   *) :
   3854      ;;
   3855 esac
   3856   if test "$am__include" != "#"; then
   3857     _am_result="yes ($s style)"
   3858     break
   3859   fi
   3860 done
   3861 rm -f confinc.* confmf.*
   3862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3863 printf "%s\n" "${_am_result}" >&6; }
   3864 
   3865 # Check whether --enable-dependency-tracking was given.
   3866 if test ${enable_dependency_tracking+y}
   3867 then :
   3868   enableval=$enable_dependency_tracking;
   3869 fi
   3870 
   3871 if test "x$enable_dependency_tracking" != xno; then
   3872   am_depcomp="$ac_aux_dir/depcomp"
   3873   AMDEPBACKSLASH='\'
   3874   am__nodep='_no'
   3875 fi
   3876  if test "x$enable_dependency_tracking" != xno; then
   3877   AMDEP_TRUE=
   3878   AMDEP_FALSE='#'
   3879 else
   3880   AMDEP_TRUE='#'
   3881   AMDEP_FALSE=
   3882 fi
   3883 
   3884 
   3885 ac_ext=c
   3886 ac_cpp='$CPP $CPPFLAGS'
   3887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3890 if test -n "$ac_tool_prefix"; then
   3891   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3892 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3894 printf %s "checking for $ac_word... " >&6; }
   3895 if test ${ac_cv_prog_CC+y}
   3896 then :
   3897   printf %s "(cached) " >&6
   3898 else case e in #(
   3899   e) if test -n "$CC"; then
   3900   ac_cv_prog_CC="$CC" # Let the user override the test.
   3901 else
   3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3903 for as_dir in $PATH
   3904 do
   3905   IFS=$as_save_IFS
   3906   case $as_dir in #(((
   3907     '') as_dir=./ ;;
   3908     */) ;;
   3909     *) as_dir=$as_dir/ ;;
   3910   esac
   3911     for ac_exec_ext in '' $ac_executable_extensions; do
   3912   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3913     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3914     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3915     break 2
   3916   fi
   3917 done
   3918   done
   3919 IFS=$as_save_IFS
   3920 
   3921 fi ;;
   3922 esac
   3923 fi
   3924 CC=$ac_cv_prog_CC
   3925 if test -n "$CC"; then
   3926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3927 printf "%s\n" "$CC" >&6; }
   3928 else
   3929   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3930 printf "%s\n" "no" >&6; }
   3931 fi
   3932 
   3933 
   3934 fi
   3935 if test -z "$ac_cv_prog_CC"; then
   3936   ac_ct_CC=$CC
   3937   # Extract the first word of "gcc", so it can be a program name with args.
   3938 set dummy gcc; ac_word=$2
   3939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3940 printf %s "checking for $ac_word... " >&6; }
   3941 if test ${ac_cv_prog_ac_ct_CC+y}
   3942 then :
   3943   printf %s "(cached) " >&6
   3944 else case e in #(
   3945   e) if test -n "$ac_ct_CC"; then
   3946   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3947 else
   3948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3949 for as_dir in $PATH
   3950 do
   3951   IFS=$as_save_IFS
   3952   case $as_dir in #(((
   3953     '') as_dir=./ ;;
   3954     */) ;;
   3955     *) as_dir=$as_dir/ ;;
   3956   esac
   3957     for ac_exec_ext in '' $ac_executable_extensions; do
   3958   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3959     ac_cv_prog_ac_ct_CC="gcc"
   3960     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3961     break 2
   3962   fi
   3963 done
   3964   done
   3965 IFS=$as_save_IFS
   3966 
   3967 fi ;;
   3968 esac
   3969 fi
   3970 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3971 if test -n "$ac_ct_CC"; then
   3972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3973 printf "%s\n" "$ac_ct_CC" >&6; }
   3974 else
   3975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3976 printf "%s\n" "no" >&6; }
   3977 fi
   3978 
   3979   if test "x$ac_ct_CC" = x; then
   3980     CC=""
   3981   else
   3982     case $cross_compiling:$ac_tool_warned in
   3983 yes:)
   3984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3985 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3986 ac_tool_warned=yes ;;
   3987 esac
   3988     CC=$ac_ct_CC
   3989   fi
   3990 else
   3991   CC="$ac_cv_prog_CC"
   3992 fi
   3993 
   3994 if test -z "$CC"; then
   3995           if test -n "$ac_tool_prefix"; then
   3996     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3997 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3999 printf %s "checking for $ac_word... " >&6; }
   4000 if test ${ac_cv_prog_CC+y}
   4001 then :
   4002   printf %s "(cached) " >&6
   4003 else case e in #(
   4004   e) if test -n "$CC"; then
   4005   ac_cv_prog_CC="$CC" # Let the user override the test.
   4006 else
   4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4008 for as_dir in $PATH
   4009 do
   4010   IFS=$as_save_IFS
   4011   case $as_dir in #(((
   4012     '') as_dir=./ ;;
   4013     */) ;;
   4014     *) as_dir=$as_dir/ ;;
   4015   esac
   4016     for ac_exec_ext in '' $ac_executable_extensions; do
   4017   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4018     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4019     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4020     break 2
   4021   fi
   4022 done
   4023   done
   4024 IFS=$as_save_IFS
   4025 
   4026 fi ;;
   4027 esac
   4028 fi
   4029 CC=$ac_cv_prog_CC
   4030 if test -n "$CC"; then
   4031   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4032 printf "%s\n" "$CC" >&6; }
   4033 else
   4034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4035 printf "%s\n" "no" >&6; }
   4036 fi
   4037 
   4038 
   4039   fi
   4040 fi
   4041 if test -z "$CC"; then
   4042   # Extract the first word of "cc", so it can be a program name with args.
   4043 set dummy cc; ac_word=$2
   4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4045 printf %s "checking for $ac_word... " >&6; }
   4046 if test ${ac_cv_prog_CC+y}
   4047 then :
   4048   printf %s "(cached) " >&6
   4049 else case e in #(
   4050   e) if test -n "$CC"; then
   4051   ac_cv_prog_CC="$CC" # Let the user override the test.
   4052 else
   4053   ac_prog_rejected=no
   4054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4055 for as_dir in $PATH
   4056 do
   4057   IFS=$as_save_IFS
   4058   case $as_dir in #(((
   4059     '') as_dir=./ ;;
   4060     */) ;;
   4061     *) as_dir=$as_dir/ ;;
   4062   esac
   4063     for ac_exec_ext in '' $ac_executable_extensions; do
   4064   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4065     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4066        ac_prog_rejected=yes
   4067        continue
   4068      fi
   4069     ac_cv_prog_CC="cc"
   4070     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4071     break 2
   4072   fi
   4073 done
   4074   done
   4075 IFS=$as_save_IFS
   4076 
   4077 if test $ac_prog_rejected = yes; then
   4078   # We found a bogon in the path, so make sure we never use it.
   4079   set dummy $ac_cv_prog_CC
   4080   shift
   4081   if test $# != 0; then
   4082     # We chose a different compiler from the bogus one.
   4083     # However, it has the same basename, so the bogon will be chosen
   4084     # first if we set CC to just the basename; use the full file name.
   4085     shift
   4086     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4087   fi
   4088 fi
   4089 fi ;;
   4090 esac
   4091 fi
   4092 CC=$ac_cv_prog_CC
   4093 if test -n "$CC"; then
   4094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4095 printf "%s\n" "$CC" >&6; }
   4096 else
   4097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4098 printf "%s\n" "no" >&6; }
   4099 fi
   4100 
   4101 
   4102 fi
   4103 if test -z "$CC"; then
   4104   if test -n "$ac_tool_prefix"; then
   4105   for ac_prog in cl.exe
   4106   do
   4107     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4108 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4110 printf %s "checking for $ac_word... " >&6; }
   4111 if test ${ac_cv_prog_CC+y}
   4112 then :
   4113   printf %s "(cached) " >&6
   4114 else case e in #(
   4115   e) if test -n "$CC"; then
   4116   ac_cv_prog_CC="$CC" # Let the user override the test.
   4117 else
   4118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4119 for as_dir in $PATH
   4120 do
   4121   IFS=$as_save_IFS
   4122   case $as_dir in #(((
   4123     '') as_dir=./ ;;
   4124     */) ;;
   4125     *) as_dir=$as_dir/ ;;
   4126   esac
   4127     for ac_exec_ext in '' $ac_executable_extensions; do
   4128   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4129     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4130     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4131     break 2
   4132   fi
   4133 done
   4134   done
   4135 IFS=$as_save_IFS
   4136 
   4137 fi ;;
   4138 esac
   4139 fi
   4140 CC=$ac_cv_prog_CC
   4141 if test -n "$CC"; then
   4142   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4143 printf "%s\n" "$CC" >&6; }
   4144 else
   4145   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4146 printf "%s\n" "no" >&6; }
   4147 fi
   4148 
   4149 
   4150     test -n "$CC" && break
   4151   done
   4152 fi
   4153 if test -z "$CC"; then
   4154   ac_ct_CC=$CC
   4155   for ac_prog in cl.exe
   4156 do
   4157   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4158 set dummy $ac_prog; ac_word=$2
   4159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4160 printf %s "checking for $ac_word... " >&6; }
   4161 if test ${ac_cv_prog_ac_ct_CC+y}
   4162 then :
   4163   printf %s "(cached) " >&6
   4164 else case e in #(
   4165   e) if test -n "$ac_ct_CC"; then
   4166   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4167 else
   4168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4169 for as_dir in $PATH
   4170 do
   4171   IFS=$as_save_IFS
   4172   case $as_dir in #(((
   4173     '') as_dir=./ ;;
   4174     */) ;;
   4175     *) as_dir=$as_dir/ ;;
   4176   esac
   4177     for ac_exec_ext in '' $ac_executable_extensions; do
   4178   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4179     ac_cv_prog_ac_ct_CC="$ac_prog"
   4180     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4181     break 2
   4182   fi
   4183 done
   4184   done
   4185 IFS=$as_save_IFS
   4186 
   4187 fi ;;
   4188 esac
   4189 fi
   4190 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4191 if test -n "$ac_ct_CC"; then
   4192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4193 printf "%s\n" "$ac_ct_CC" >&6; }
   4194 else
   4195   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4196 printf "%s\n" "no" >&6; }
   4197 fi
   4198 
   4199 
   4200   test -n "$ac_ct_CC" && break
   4201 done
   4202 
   4203   if test "x$ac_ct_CC" = x; then
   4204     CC=""
   4205   else
   4206     case $cross_compiling:$ac_tool_warned in
   4207 yes:)
   4208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4209 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4210 ac_tool_warned=yes ;;
   4211 esac
   4212     CC=$ac_ct_CC
   4213   fi
   4214 fi
   4215 
   4216 fi
   4217 if test -z "$CC"; then
   4218   if test -n "$ac_tool_prefix"; then
   4219   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4220 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4222 printf %s "checking for $ac_word... " >&6; }
   4223 if test ${ac_cv_prog_CC+y}
   4224 then :
   4225   printf %s "(cached) " >&6
   4226 else case e in #(
   4227   e) if test -n "$CC"; then
   4228   ac_cv_prog_CC="$CC" # Let the user override the test.
   4229 else
   4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4231 for as_dir in $PATH
   4232 do
   4233   IFS=$as_save_IFS
   4234   case $as_dir in #(((
   4235     '') as_dir=./ ;;
   4236     */) ;;
   4237     *) as_dir=$as_dir/ ;;
   4238   esac
   4239     for ac_exec_ext in '' $ac_executable_extensions; do
   4240   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4241     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4242     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4243     break 2
   4244   fi
   4245 done
   4246   done
   4247 IFS=$as_save_IFS
   4248 
   4249 fi ;;
   4250 esac
   4251 fi
   4252 CC=$ac_cv_prog_CC
   4253 if test -n "$CC"; then
   4254   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4255 printf "%s\n" "$CC" >&6; }
   4256 else
   4257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4258 printf "%s\n" "no" >&6; }
   4259 fi
   4260 
   4261 
   4262 fi
   4263 if test -z "$ac_cv_prog_CC"; then
   4264   ac_ct_CC=$CC
   4265   # Extract the first word of "clang", so it can be a program name with args.
   4266 set dummy clang; ac_word=$2
   4267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4268 printf %s "checking for $ac_word... " >&6; }
   4269 if test ${ac_cv_prog_ac_ct_CC+y}
   4270 then :
   4271   printf %s "(cached) " >&6
   4272 else case e in #(
   4273   e) if test -n "$ac_ct_CC"; then
   4274   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4275 else
   4276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4277 for as_dir in $PATH
   4278 do
   4279   IFS=$as_save_IFS
   4280   case $as_dir in #(((
   4281     '') as_dir=./ ;;
   4282     */) ;;
   4283     *) as_dir=$as_dir/ ;;
   4284   esac
   4285     for ac_exec_ext in '' $ac_executable_extensions; do
   4286   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4287     ac_cv_prog_ac_ct_CC="clang"
   4288     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4289     break 2
   4290   fi
   4291 done
   4292   done
   4293 IFS=$as_save_IFS
   4294 
   4295 fi ;;
   4296 esac
   4297 fi
   4298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4299 if test -n "$ac_ct_CC"; then
   4300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4301 printf "%s\n" "$ac_ct_CC" >&6; }
   4302 else
   4303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4304 printf "%s\n" "no" >&6; }
   4305 fi
   4306 
   4307   if test "x$ac_ct_CC" = x; then
   4308     CC=""
   4309   else
   4310     case $cross_compiling:$ac_tool_warned in
   4311 yes:)
   4312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4313 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4314 ac_tool_warned=yes ;;
   4315 esac
   4316     CC=$ac_ct_CC
   4317   fi
   4318 else
   4319   CC="$ac_cv_prog_CC"
   4320 fi
   4321 
   4322 fi
   4323 
   4324 
   4325 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4326 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4327 as_fn_error $? "no acceptable C compiler found in \$PATH
   4328 See 'config.log' for more details" "$LINENO" 5; }
   4329 
   4330 # Provide some information about the compiler.
   4331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4332 set X $ac_compile
   4333 ac_compiler=$2
   4334 for ac_option in --version -v -V -qversion -version; do
   4335   { { ac_try="$ac_compiler $ac_option >&5"
   4336 case "(($ac_try" in
   4337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4338   *) ac_try_echo=$ac_try;;
   4339 esac
   4340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4341 printf "%s\n" "$ac_try_echo"; } >&5
   4342   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4343   ac_status=$?
   4344   if test -s conftest.err; then
   4345     sed '10a\
   4346 ... rest of stderr output deleted ...
   4347          10q' conftest.err >conftest.er1
   4348     cat conftest.er1 >&5
   4349   fi
   4350   rm -f conftest.er1 conftest.err
   4351   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4352   test $ac_status = 0; }
   4353 done
   4354 
   4355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4356 /* end confdefs.h.  */
   4357 
   4358 int
   4359 main (void)
   4360 {
   4361 
   4362   ;
   4363   return 0;
   4364 }
   4365 _ACEOF
   4366 ac_clean_files_save=$ac_clean_files
   4367 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4368 # Try to create an executable without -o first, disregard a.out.
   4369 # It will help us diagnose broken compilers, and finding out an intuition
   4370 # of exeext.
   4371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4372 printf %s "checking whether the C compiler works... " >&6; }
   4373 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4374 
   4375 # The possible output files:
   4376 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4377 
   4378 ac_rmfiles=
   4379 for ac_file in $ac_files
   4380 do
   4381   case $ac_file in
   4382     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4383     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4384   esac
   4385 done
   4386 rm -f $ac_rmfiles
   4387 
   4388 if { { ac_try="$ac_link_default"
   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_link_default") 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   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4401 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4402 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4403 # so that the user can short-circuit this test for compilers unknown to
   4404 # Autoconf.
   4405 for ac_file in $ac_files ''
   4406 do
   4407   test -f "$ac_file" || continue
   4408   case $ac_file in
   4409     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4410 	;;
   4411     [ab].out )
   4412 	# We found the default executable, but exeext='' is most
   4413 	# certainly right.
   4414 	break;;
   4415     *.* )
   4416 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4417 	then :; else
   4418 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4419 	fi
   4420 	# We set ac_cv_exeext here because the later test for it is not
   4421 	# safe: cross compilers may not add the suffix if given an '-o'
   4422 	# argument, so we may need to know it at that point already.
   4423 	# Even if this section looks crufty: it has the advantage of
   4424 	# actually working.
   4425 	break;;
   4426     * )
   4427 	break;;
   4428   esac
   4429 done
   4430 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4431 
   4432 else case e in #(
   4433   e) ac_file='' ;;
   4434 esac
   4435 fi
   4436 if test -z "$ac_file"
   4437 then :
   4438   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4439 printf "%s\n" "no" >&6; }
   4440 printf "%s\n" "$as_me: failed program was:" >&5
   4441 sed 's/^/| /' conftest.$ac_ext >&5
   4442 
   4443 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4444 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4445 as_fn_error 77 "C compiler cannot create executables
   4446 See 'config.log' for more details" "$LINENO" 5; }
   4447 else case e in #(
   4448   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4449 printf "%s\n" "yes" >&6; } ;;
   4450 esac
   4451 fi
   4452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4453 printf %s "checking for C compiler default output file name... " >&6; }
   4454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4455 printf "%s\n" "$ac_file" >&6; }
   4456 ac_exeext=$ac_cv_exeext
   4457 
   4458 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4459 ac_clean_files=$ac_clean_files_save
   4460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4461 printf %s "checking for suffix of executables... " >&6; }
   4462 if { { ac_try="$ac_link"
   4463 case "(($ac_try" in
   4464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4465   *) ac_try_echo=$ac_try;;
   4466 esac
   4467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4468 printf "%s\n" "$ac_try_echo"; } >&5
   4469   (eval "$ac_link") 2>&5
   4470   ac_status=$?
   4471   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4472   test $ac_status = 0; }
   4473 then :
   4474   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4475 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4476 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4477 # 'rm'.
   4478 for ac_file in conftest.exe conftest conftest.*; do
   4479   test -f "$ac_file" || continue
   4480   case $ac_file in
   4481     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4482     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4483 	  break;;
   4484     * ) break;;
   4485   esac
   4486 done
   4487 else case e in #(
   4488   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4489 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4490 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4491 See 'config.log' for more details" "$LINENO" 5; } ;;
   4492 esac
   4493 fi
   4494 rm -f conftest conftest$ac_cv_exeext
   4495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4496 printf "%s\n" "$ac_cv_exeext" >&6; }
   4497 
   4498 rm -f conftest.$ac_ext
   4499 EXEEXT=$ac_cv_exeext
   4500 ac_exeext=$EXEEXT
   4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4502 /* end confdefs.h.  */
   4503 #include <stdio.h>
   4504 int
   4505 main (void)
   4506 {
   4507 FILE *f = fopen ("conftest.out", "w");
   4508  if (!f)
   4509   return 1;
   4510  return ferror (f) || fclose (f) != 0;
   4511 
   4512   ;
   4513   return 0;
   4514 }
   4515 _ACEOF
   4516 ac_clean_files="$ac_clean_files conftest.out"
   4517 # Check that the compiler produces executables we can run.  If not, either
   4518 # the compiler is broken, or we cross compile.
   4519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4520 printf %s "checking whether we are cross compiling... " >&6; }
   4521 if test "$cross_compiling" != yes; then
   4522   { { ac_try="$ac_link"
   4523 case "(($ac_try" in
   4524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4525   *) ac_try_echo=$ac_try;;
   4526 esac
   4527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4528 printf "%s\n" "$ac_try_echo"; } >&5
   4529   (eval "$ac_link") 2>&5
   4530   ac_status=$?
   4531   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4532   test $ac_status = 0; }
   4533   if { ac_try='./conftest$ac_cv_exeext'
   4534   { { case "(($ac_try" in
   4535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4536   *) ac_try_echo=$ac_try;;
   4537 esac
   4538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4539 printf "%s\n" "$ac_try_echo"; } >&5
   4540   (eval "$ac_try") 2>&5
   4541   ac_status=$?
   4542   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4543   test $ac_status = 0; }; }; then
   4544     cross_compiling=no
   4545   else
   4546     if test "$cross_compiling" = maybe; then
   4547 	cross_compiling=yes
   4548     else
   4549 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4550 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4551 as_fn_error 77 "cannot run C compiled programs.
   4552 If you meant to cross compile, use '--host'.
   4553 See 'config.log' for more details" "$LINENO" 5; }
   4554     fi
   4555   fi
   4556 fi
   4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4558 printf "%s\n" "$cross_compiling" >&6; }
   4559 
   4560 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4561   conftest.o conftest.obj conftest.out
   4562 ac_clean_files=$ac_clean_files_save
   4563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4564 printf %s "checking for suffix of object files... " >&6; }
   4565 if test ${ac_cv_objext+y}
   4566 then :
   4567   printf %s "(cached) " >&6
   4568 else case e in #(
   4569   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4570 /* end confdefs.h.  */
   4571 
   4572 int
   4573 main (void)
   4574 {
   4575 
   4576   ;
   4577   return 0;
   4578 }
   4579 _ACEOF
   4580 rm -f conftest.o conftest.obj
   4581 if { { ac_try="$ac_compile"
   4582 case "(($ac_try" in
   4583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4584   *) ac_try_echo=$ac_try;;
   4585 esac
   4586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4587 printf "%s\n" "$ac_try_echo"; } >&5
   4588   (eval "$ac_compile") 2>&5
   4589   ac_status=$?
   4590   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4591   test $ac_status = 0; }
   4592 then :
   4593   for ac_file in conftest.o conftest.obj conftest.*; do
   4594   test -f "$ac_file" || continue;
   4595   case $ac_file in
   4596     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4597     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4598        break;;
   4599   esac
   4600 done
   4601 else case e in #(
   4602   e) printf "%s\n" "$as_me: failed program was:" >&5
   4603 sed 's/^/| /' conftest.$ac_ext >&5
   4604 
   4605 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4606 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4607 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4608 See 'config.log' for more details" "$LINENO" 5; } ;;
   4609 esac
   4610 fi
   4611 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4612 esac
   4613 fi
   4614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4615 printf "%s\n" "$ac_cv_objext" >&6; }
   4616 OBJEXT=$ac_cv_objext
   4617 ac_objext=$OBJEXT
   4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4619 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4620 if test ${ac_cv_c_compiler_gnu+y}
   4621 then :
   4622   printf %s "(cached) " >&6
   4623 else case e in #(
   4624   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4625 /* end confdefs.h.  */
   4626 
   4627 int
   4628 main (void)
   4629 {
   4630 #ifndef __GNUC__
   4631        choke me
   4632 #endif
   4633 
   4634   ;
   4635   return 0;
   4636 }
   4637 _ACEOF
   4638 if ac_fn_c_try_compile "$LINENO"
   4639 then :
   4640   ac_compiler_gnu=yes
   4641 else case e in #(
   4642   e) ac_compiler_gnu=no ;;
   4643 esac
   4644 fi
   4645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4646 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4647  ;;
   4648 esac
   4649 fi
   4650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4651 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4653 
   4654 if test $ac_compiler_gnu = yes; then
   4655   GCC=yes
   4656 else
   4657   GCC=
   4658 fi
   4659 ac_test_CFLAGS=${CFLAGS+y}
   4660 ac_save_CFLAGS=$CFLAGS
   4661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4662 printf %s "checking whether $CC accepts -g... " >&6; }
   4663 if test ${ac_cv_prog_cc_g+y}
   4664 then :
   4665   printf %s "(cached) " >&6
   4666 else case e in #(
   4667   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4668    ac_c_werror_flag=yes
   4669    ac_cv_prog_cc_g=no
   4670    CFLAGS="-g"
   4671    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4672 /* end confdefs.h.  */
   4673 
   4674 int
   4675 main (void)
   4676 {
   4677 
   4678   ;
   4679   return 0;
   4680 }
   4681 _ACEOF
   4682 if ac_fn_c_try_compile "$LINENO"
   4683 then :
   4684   ac_cv_prog_cc_g=yes
   4685 else case e in #(
   4686   e) CFLAGS=""
   4687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4688 /* end confdefs.h.  */
   4689 
   4690 int
   4691 main (void)
   4692 {
   4693 
   4694   ;
   4695   return 0;
   4696 }
   4697 _ACEOF
   4698 if ac_fn_c_try_compile "$LINENO"
   4699 then :
   4700 
   4701 else case e in #(
   4702   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4703 	 CFLAGS="-g"
   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 if ac_fn_c_try_compile "$LINENO"
   4716 then :
   4717   ac_cv_prog_cc_g=yes
   4718 fi
   4719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4720 esac
   4721 fi
   4722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4723 esac
   4724 fi
   4725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4726    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4727 esac
   4728 fi
   4729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4730 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4731 if test $ac_test_CFLAGS; then
   4732   CFLAGS=$ac_save_CFLAGS
   4733 elif test $ac_cv_prog_cc_g = yes; then
   4734   if test "$GCC" = yes; then
   4735     CFLAGS="-g -O2"
   4736   else
   4737     CFLAGS="-g"
   4738   fi
   4739 else
   4740   if test "$GCC" = yes; then
   4741     CFLAGS="-O2"
   4742   else
   4743     CFLAGS=
   4744   fi
   4745 fi
   4746 ac_prog_cc_stdc=no
   4747 if test x$ac_prog_cc_stdc = xno
   4748 then :
   4749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4750 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4751 if test ${ac_cv_prog_cc_c11+y}
   4752 then :
   4753   printf %s "(cached) " >&6
   4754 else case e in #(
   4755   e) ac_cv_prog_cc_c11=no
   4756 ac_save_CC=$CC
   4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4758 /* end confdefs.h.  */
   4759 $ac_c_conftest_c11_program
   4760 _ACEOF
   4761 for ac_arg in '' -std=gnu11
   4762 do
   4763   CC="$ac_save_CC $ac_arg"
   4764   if ac_fn_c_try_compile "$LINENO"
   4765 then :
   4766   ac_cv_prog_cc_c11=$ac_arg
   4767 fi
   4768 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4769   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4770 done
   4771 rm -f conftest.$ac_ext
   4772 CC=$ac_save_CC ;;
   4773 esac
   4774 fi
   4775 
   4776 if test "x$ac_cv_prog_cc_c11" = xno
   4777 then :
   4778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4779 printf "%s\n" "unsupported" >&6; }
   4780 else case e in #(
   4781   e) if test "x$ac_cv_prog_cc_c11" = x
   4782 then :
   4783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4784 printf "%s\n" "none needed" >&6; }
   4785 else case e in #(
   4786   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4787 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4788      CC="$CC $ac_cv_prog_cc_c11" ;;
   4789 esac
   4790 fi
   4791   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4792   ac_prog_cc_stdc=c11 ;;
   4793 esac
   4794 fi
   4795 fi
   4796 if test x$ac_prog_cc_stdc = xno
   4797 then :
   4798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4799 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4800 if test ${ac_cv_prog_cc_c99+y}
   4801 then :
   4802   printf %s "(cached) " >&6
   4803 else case e in #(
   4804   e) ac_cv_prog_cc_c99=no
   4805 ac_save_CC=$CC
   4806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4807 /* end confdefs.h.  */
   4808 $ac_c_conftest_c99_program
   4809 _ACEOF
   4810 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4811 do
   4812   CC="$ac_save_CC $ac_arg"
   4813   if ac_fn_c_try_compile "$LINENO"
   4814 then :
   4815   ac_cv_prog_cc_c99=$ac_arg
   4816 fi
   4817 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4818   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4819 done
   4820 rm -f conftest.$ac_ext
   4821 CC=$ac_save_CC ;;
   4822 esac
   4823 fi
   4824 
   4825 if test "x$ac_cv_prog_cc_c99" = xno
   4826 then :
   4827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4828 printf "%s\n" "unsupported" >&6; }
   4829 else case e in #(
   4830   e) if test "x$ac_cv_prog_cc_c99" = x
   4831 then :
   4832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4833 printf "%s\n" "none needed" >&6; }
   4834 else case e in #(
   4835   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4836 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4837      CC="$CC $ac_cv_prog_cc_c99" ;;
   4838 esac
   4839 fi
   4840   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4841   ac_prog_cc_stdc=c99 ;;
   4842 esac
   4843 fi
   4844 fi
   4845 if test x$ac_prog_cc_stdc = xno
   4846 then :
   4847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4848 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4849 if test ${ac_cv_prog_cc_c89+y}
   4850 then :
   4851   printf %s "(cached) " >&6
   4852 else case e in #(
   4853   e) ac_cv_prog_cc_c89=no
   4854 ac_save_CC=$CC
   4855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4856 /* end confdefs.h.  */
   4857 $ac_c_conftest_c89_program
   4858 _ACEOF
   4859 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4860 do
   4861   CC="$ac_save_CC $ac_arg"
   4862   if ac_fn_c_try_compile "$LINENO"
   4863 then :
   4864   ac_cv_prog_cc_c89=$ac_arg
   4865 fi
   4866 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4867   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4868 done
   4869 rm -f conftest.$ac_ext
   4870 CC=$ac_save_CC ;;
   4871 esac
   4872 fi
   4873 
   4874 if test "x$ac_cv_prog_cc_c89" = xno
   4875 then :
   4876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4877 printf "%s\n" "unsupported" >&6; }
   4878 else case e in #(
   4879   e) if test "x$ac_cv_prog_cc_c89" = x
   4880 then :
   4881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4882 printf "%s\n" "none needed" >&6; }
   4883 else case e in #(
   4884   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4885 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4886      CC="$CC $ac_cv_prog_cc_c89" ;;
   4887 esac
   4888 fi
   4889   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4890   ac_prog_cc_stdc=c89 ;;
   4891 esac
   4892 fi
   4893 fi
   4894 
   4895 ac_ext=c
   4896 ac_cpp='$CPP $CPPFLAGS'
   4897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4900 
   4901 
   4902   ac_ext=c
   4903 ac_cpp='$CPP $CPPFLAGS'
   4904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4908 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4909 if test ${am_cv_prog_cc_c_o+y}
   4910 then :
   4911   printf %s "(cached) " >&6
   4912 else case e in #(
   4913   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4914 /* end confdefs.h.  */
   4915 
   4916 int
   4917 main (void)
   4918 {
   4919 
   4920   ;
   4921   return 0;
   4922 }
   4923 _ACEOF
   4924   # Make sure it works both with $CC and with simple cc.
   4925   # Following AC_PROG_CC_C_O, we do the test twice because some
   4926   # compilers refuse to overwrite an existing .o file with -o,
   4927   # though they will create one.
   4928   am_cv_prog_cc_c_o=yes
   4929   for am_i in 1 2; do
   4930     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4931    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4932    ac_status=$?
   4933    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4934    (exit $ac_status); } \
   4935          && test -f conftest2.$ac_objext; then
   4936       : OK
   4937     else
   4938       am_cv_prog_cc_c_o=no
   4939       break
   4940     fi
   4941   done
   4942   rm -f core conftest*
   4943   unset am_i ;;
   4944 esac
   4945 fi
   4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4947 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4948 if test "$am_cv_prog_cc_c_o" != yes; then
   4949    # Losing compiler, so override with the script.
   4950    # FIXME: It is wrong to rewrite CC.
   4951    # But if we don't then we get into trouble of one sort or another.
   4952    # A longer-term fix would be to have automake use am__CC in this case,
   4953    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4954    CC="$am_aux_dir/compile $CC"
   4955 fi
   4956 ac_ext=c
   4957 ac_cpp='$CPP $CPPFLAGS'
   4958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4961 
   4962 
   4963 depcc="$CC"   am_compiler_list=
   4964 
   4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4966 printf %s "checking dependency style of $depcc... " >&6; }
   4967 if test ${am_cv_CC_dependencies_compiler_type+y}
   4968 then :
   4969   printf %s "(cached) " >&6
   4970 else case e in #(
   4971   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4972   # We make a subdir and do the tests there.  Otherwise we can end up
   4973   # making bogus files that we don't know about and never remove.  For
   4974   # instance it was reported that on HP-UX the gcc test will end up
   4975   # making a dummy file named 'D' -- because '-MD' means "put the output
   4976   # in D".
   4977   rm -rf conftest.dir
   4978   mkdir conftest.dir
   4979   # Copy depcomp to subdir because otherwise we won't find it if we're
   4980   # using a relative directory.
   4981   cp "$am_depcomp" conftest.dir
   4982   cd conftest.dir
   4983   # We will build objects and dependencies in a subdirectory because
   4984   # it helps to detect inapplicable dependency modes.  For instance
   4985   # both Tru64's cc and ICC support -MD to output dependencies as a
   4986   # side effect of compilation, but ICC will put the dependencies in
   4987   # the current directory while Tru64 will put them in the object
   4988   # directory.
   4989   mkdir sub
   4990 
   4991   am_cv_CC_dependencies_compiler_type=none
   4992   if test "$am_compiler_list" = ""; then
   4993      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4994   fi
   4995   am__universal=false
   4996   case " $depcc " in #(
   4997      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4998      esac
   4999 
   5000   for depmode in $am_compiler_list; do
   5001     # Setup a source with many dependencies, because some compilers
   5002     # like to wrap large dependency lists on column 80 (with \), and
   5003     # we should not choose a depcomp mode which is confused by this.
   5004     #
   5005     # We need to recreate these files for each test, as the compiler may
   5006     # overwrite some of them when testing with obscure command lines.
   5007     # This happens at least with the AIX C compiler.
   5008     : > sub/conftest.c
   5009     for i in 1 2 3 4 5 6; do
   5010       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5011       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5012       # Solaris 10 /bin/sh.
   5013       echo '/* dummy */' > sub/conftst$i.h
   5014     done
   5015     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5016 
   5017     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5018     # mode.  It turns out that the SunPro C++ compiler does not properly
   5019     # handle '-M -o', and we need to detect this.  Also, some Intel
   5020     # versions had trouble with output in subdirs.
   5021     am__obj=sub/conftest.${OBJEXT-o}
   5022     am__minus_obj="-o $am__obj"
   5023     case $depmode in
   5024     gcc)
   5025       # This depmode causes a compiler race in universal mode.
   5026       test "$am__universal" = false || continue
   5027       ;;
   5028     nosideeffect)
   5029       # After this tag, mechanisms are not by side-effect, so they'll
   5030       # only be used when explicitly requested.
   5031       if test "x$enable_dependency_tracking" = xyes; then
   5032 	continue
   5033       else
   5034 	break
   5035       fi
   5036       ;;
   5037     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5038       # This compiler won't grok '-c -o', but also, the minuso test has
   5039       # not run yet.  These depmodes are late enough in the game, and
   5040       # so weak that their functioning should not be impacted.
   5041       am__obj=conftest.${OBJEXT-o}
   5042       am__minus_obj=
   5043       ;;
   5044     none) break ;;
   5045     esac
   5046     if depmode=$depmode \
   5047        source=sub/conftest.c object=$am__obj \
   5048        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5049        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5050          >/dev/null 2>conftest.err &&
   5051        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5052        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5053        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5054        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5055       # icc doesn't choke on unknown options, it will just issue warnings
   5056       # or remarks (even with -Werror).  So we grep stderr for any message
   5057       # that says an option was ignored or not supported.
   5058       # When given -MP, icc 7.0 and 7.1 complain thus:
   5059       #   icc: Command line warning: ignoring option '-M'; no argument required
   5060       # The diagnosis changed in icc 8.0:
   5061       #   icc: Command line remark: option '-MP' not supported
   5062       if (grep 'ignoring option' conftest.err ||
   5063           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5064         am_cv_CC_dependencies_compiler_type=$depmode
   5065         break
   5066       fi
   5067     fi
   5068   done
   5069 
   5070   cd ..
   5071   rm -rf conftest.dir
   5072 else
   5073   am_cv_CC_dependencies_compiler_type=none
   5074 fi
   5075  ;;
   5076 esac
   5077 fi
   5078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5079 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5080 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5081 
   5082  if
   5083   test "x$enable_dependency_tracking" != xno \
   5084   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5085   am__fastdepCC_TRUE=
   5086   am__fastdepCC_FALSE='#'
   5087 else
   5088   am__fastdepCC_TRUE='#'
   5089   am__fastdepCC_FALSE=
   5090 fi
   5091 
   5092 
   5093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5094 printf %s "checking for a sed that does not truncate output... " >&6; }
   5095 if test ${ac_cv_path_SED+y}
   5096 then :
   5097   printf %s "(cached) " >&6
   5098 else case e in #(
   5099   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5100      for ac_i in 1 2 3 4 5 6 7; do
   5101        ac_script="$ac_script$as_nl$ac_script"
   5102      done
   5103      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5104      { ac_script=; unset ac_script;}
   5105      if test -z "$SED"; then
   5106   ac_path_SED_found=false
   5107   # Loop through the user's path and test for each of PROGNAME-LIST
   5108   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5109 for as_dir in $PATH
   5110 do
   5111   IFS=$as_save_IFS
   5112   case $as_dir in #(((
   5113     '') as_dir=./ ;;
   5114     */) ;;
   5115     *) as_dir=$as_dir/ ;;
   5116   esac
   5117     for ac_prog in sed gsed
   5118    do
   5119     for ac_exec_ext in '' $ac_executable_extensions; do
   5120       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5121       as_fn_executable_p "$ac_path_SED" || continue
   5122 # Check for GNU ac_path_SED and select it if it is found.
   5123   # Check for GNU $ac_path_SED
   5124 case `"$ac_path_SED" --version 2>&1` in #(
   5125 *GNU*)
   5126   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5127 #(
   5128 *)
   5129   ac_count=0
   5130   printf %s 0123456789 >"conftest.in"
   5131   while :
   5132   do
   5133     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5134     mv "conftest.tmp" "conftest.in"
   5135     cp "conftest.in" "conftest.nl"
   5136     printf "%s\n" '' >> "conftest.nl"
   5137     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5138     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5139     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5140     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5141       # Best one so far, save it but keep looking for a better one
   5142       ac_cv_path_SED="$ac_path_SED"
   5143       ac_path_SED_max=$ac_count
   5144     fi
   5145     # 10*(2^10) chars as input seems more than enough
   5146     test $ac_count -gt 10 && break
   5147   done
   5148   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5149 esac
   5150 
   5151       $ac_path_SED_found && break 3
   5152     done
   5153   done
   5154   done
   5155 IFS=$as_save_IFS
   5156   if test -z "$ac_cv_path_SED"; then
   5157     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5158   fi
   5159 else
   5160   ac_cv_path_SED=$SED
   5161 fi
   5162  ;;
   5163 esac
   5164 fi
   5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5166 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5167  SED="$ac_cv_path_SED"
   5168   rm -f conftest.sed
   5169 
   5170 test -z "$SED" && SED=sed
   5171 Xsed="$SED -e 1s/^X//"
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5184 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5185 if test ${ac_cv_path_GREP+y}
   5186 then :
   5187   printf %s "(cached) " >&6
   5188 else case e in #(
   5189   e) if test -z "$GREP"; then
   5190   ac_path_GREP_found=false
   5191   # Loop through the user's path and test for each of PROGNAME-LIST
   5192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5193 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5194 do
   5195   IFS=$as_save_IFS
   5196   case $as_dir in #(((
   5197     '') as_dir=./ ;;
   5198     */) ;;
   5199     *) as_dir=$as_dir/ ;;
   5200   esac
   5201     for ac_prog in grep ggrep
   5202    do
   5203     for ac_exec_ext in '' $ac_executable_extensions; do
   5204       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5205       as_fn_executable_p "$ac_path_GREP" || continue
   5206 # Check for GNU ac_path_GREP and select it if it is found.
   5207   # Check for GNU $ac_path_GREP
   5208 case `"$ac_path_GREP" --version 2>&1` in #(
   5209 *GNU*)
   5210   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5211 #(
   5212 *)
   5213   ac_count=0
   5214   printf %s 0123456789 >"conftest.in"
   5215   while :
   5216   do
   5217     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5218     mv "conftest.tmp" "conftest.in"
   5219     cp "conftest.in" "conftest.nl"
   5220     printf "%s\n" 'GREP' >> "conftest.nl"
   5221     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5222     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5223     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5224     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5225       # Best one so far, save it but keep looking for a better one
   5226       ac_cv_path_GREP="$ac_path_GREP"
   5227       ac_path_GREP_max=$ac_count
   5228     fi
   5229     # 10*(2^10) chars as input seems more than enough
   5230     test $ac_count -gt 10 && break
   5231   done
   5232   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5233 esac
   5234 
   5235       $ac_path_GREP_found && break 3
   5236     done
   5237   done
   5238   done
   5239 IFS=$as_save_IFS
   5240   if test -z "$ac_cv_path_GREP"; then
   5241     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5242   fi
   5243 else
   5244   ac_cv_path_GREP=$GREP
   5245 fi
   5246  ;;
   5247 esac
   5248 fi
   5249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5250 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5251  GREP="$ac_cv_path_GREP"
   5252 
   5253 
   5254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5255 printf %s "checking for egrep... " >&6; }
   5256 if test ${ac_cv_path_EGREP+y}
   5257 then :
   5258   printf %s "(cached) " >&6
   5259 else case e in #(
   5260   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5261    then ac_cv_path_EGREP="$GREP -E"
   5262    else
   5263      if test -z "$EGREP"; then
   5264   ac_path_EGREP_found=false
   5265   # Loop through the user's path and test for each of PROGNAME-LIST
   5266   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5267 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5268 do
   5269   IFS=$as_save_IFS
   5270   case $as_dir in #(((
   5271     '') as_dir=./ ;;
   5272     */) ;;
   5273     *) as_dir=$as_dir/ ;;
   5274   esac
   5275     for ac_prog in egrep
   5276    do
   5277     for ac_exec_ext in '' $ac_executable_extensions; do
   5278       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5279       as_fn_executable_p "$ac_path_EGREP" || continue
   5280 # Check for GNU ac_path_EGREP and select it if it is found.
   5281   # Check for GNU $ac_path_EGREP
   5282 case `"$ac_path_EGREP" --version 2>&1` in #(
   5283 *GNU*)
   5284   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5285 #(
   5286 *)
   5287   ac_count=0
   5288   printf %s 0123456789 >"conftest.in"
   5289   while :
   5290   do
   5291     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5292     mv "conftest.tmp" "conftest.in"
   5293     cp "conftest.in" "conftest.nl"
   5294     printf "%s\n" 'EGREP' >> "conftest.nl"
   5295     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5296     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5297     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5298     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5299       # Best one so far, save it but keep looking for a better one
   5300       ac_cv_path_EGREP="$ac_path_EGREP"
   5301       ac_path_EGREP_max=$ac_count
   5302     fi
   5303     # 10*(2^10) chars as input seems more than enough
   5304     test $ac_count -gt 10 && break
   5305   done
   5306   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5307 esac
   5308 
   5309       $ac_path_EGREP_found && break 3
   5310     done
   5311   done
   5312   done
   5313 IFS=$as_save_IFS
   5314   if test -z "$ac_cv_path_EGREP"; then
   5315     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5316   fi
   5317 else
   5318   ac_cv_path_EGREP=$EGREP
   5319 fi
   5320 
   5321    fi ;;
   5322 esac
   5323 fi
   5324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5325 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5326  EGREP="$ac_cv_path_EGREP"
   5327 
   5328          EGREP_TRADITIONAL=$EGREP
   5329  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5330 
   5331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5332 printf %s "checking for fgrep... " >&6; }
   5333 if test ${ac_cv_path_FGREP+y}
   5334 then :
   5335   printf %s "(cached) " >&6
   5336 else case e in #(
   5337   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5338    then ac_cv_path_FGREP="$GREP -F"
   5339    else
   5340      if test -z "$FGREP"; then
   5341   ac_path_FGREP_found=false
   5342   # Loop through the user's path and test for each of PROGNAME-LIST
   5343   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5344 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5345 do
   5346   IFS=$as_save_IFS
   5347   case $as_dir in #(((
   5348     '') as_dir=./ ;;
   5349     */) ;;
   5350     *) as_dir=$as_dir/ ;;
   5351   esac
   5352     for ac_prog in fgrep
   5353    do
   5354     for ac_exec_ext in '' $ac_executable_extensions; do
   5355       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5356       as_fn_executable_p "$ac_path_FGREP" || continue
   5357 # Check for GNU ac_path_FGREP and select it if it is found.
   5358   # Check for GNU $ac_path_FGREP
   5359 case `"$ac_path_FGREP" --version 2>&1` in #(
   5360 *GNU*)
   5361   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5362 #(
   5363 *)
   5364   ac_count=0
   5365   printf %s 0123456789 >"conftest.in"
   5366   while :
   5367   do
   5368     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5369     mv "conftest.tmp" "conftest.in"
   5370     cp "conftest.in" "conftest.nl"
   5371     printf "%s\n" 'FGREP' >> "conftest.nl"
   5372     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5373     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5374     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5375     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5376       # Best one so far, save it but keep looking for a better one
   5377       ac_cv_path_FGREP="$ac_path_FGREP"
   5378       ac_path_FGREP_max=$ac_count
   5379     fi
   5380     # 10*(2^10) chars as input seems more than enough
   5381     test $ac_count -gt 10 && break
   5382   done
   5383   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5384 esac
   5385 
   5386       $ac_path_FGREP_found && break 3
   5387     done
   5388   done
   5389   done
   5390 IFS=$as_save_IFS
   5391   if test -z "$ac_cv_path_FGREP"; then
   5392     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5393   fi
   5394 else
   5395   ac_cv_path_FGREP=$FGREP
   5396 fi
   5397 
   5398    fi ;;
   5399 esac
   5400 fi
   5401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5402 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5403  FGREP="$ac_cv_path_FGREP"
   5404 
   5405 
   5406 test -z "$GREP" && GREP=grep
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 # Check whether --with-gnu-ld was given.
   5427 if test ${with_gnu_ld+y}
   5428 then :
   5429   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5430 else case e in #(
   5431   e) with_gnu_ld=no ;;
   5432 esac
   5433 fi
   5434 
   5435 ac_prog=ld
   5436 if test yes = "$GCC"; then
   5437   # Check if gcc -print-prog-name=ld gives a path.
   5438   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5439 printf %s "checking for ld used by $CC... " >&6; }
   5440   case $host in
   5441   *-*-mingw* | *-*-windows*)
   5442     # gcc leaves a trailing carriage return, which upsets mingw
   5443     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5444   *)
   5445     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5446   esac
   5447   case $ac_prog in
   5448     # Accept absolute paths.
   5449     [\\/]* | ?:[\\/]*)
   5450       re_direlt='/[^/][^/]*/\.\./'
   5451       # Canonicalize the pathname of ld
   5452       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5453       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5454 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5455       done
   5456       test -z "$LD" && LD=$ac_prog
   5457       ;;
   5458   "")
   5459     # If it fails, then pretend we aren't using GCC.
   5460     ac_prog=ld
   5461     ;;
   5462   *)
   5463     # If it is relative, then search for the first ld in PATH.
   5464     with_gnu_ld=unknown
   5465     ;;
   5466   esac
   5467 elif test yes = "$with_gnu_ld"; then
   5468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5469 printf %s "checking for GNU ld... " >&6; }
   5470 else
   5471   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5472 printf %s "checking for non-GNU ld... " >&6; }
   5473 fi
   5474 if test ${lt_cv_path_LD+y}
   5475 then :
   5476   printf %s "(cached) " >&6
   5477 else case e in #(
   5478   e) if test -z "$LD"; then
   5479   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5480   for ac_dir in $PATH; do
   5481     IFS=$lt_save_ifs
   5482     test -z "$ac_dir" && ac_dir=.
   5483     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5484       lt_cv_path_LD=$ac_dir/$ac_prog
   5485       # Check to see if the program is GNU ld.  I'd rather use --version,
   5486       # but apparently some variants of GNU ld only accept -v.
   5487       # Break only if it was the GNU/non-GNU ld that we prefer.
   5488       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5489       *GNU* | *'with BFD'*)
   5490 	test no != "$with_gnu_ld" && break
   5491 	;;
   5492       *)
   5493 	test yes != "$with_gnu_ld" && break
   5494 	;;
   5495       esac
   5496     fi
   5497   done
   5498   IFS=$lt_save_ifs
   5499 else
   5500   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5501 fi ;;
   5502 esac
   5503 fi
   5504 
   5505 LD=$lt_cv_path_LD
   5506 if test -n "$LD"; then
   5507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5508 printf "%s\n" "$LD" >&6; }
   5509 else
   5510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5511 printf "%s\n" "no" >&6; }
   5512 fi
   5513 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5515 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5516 if test ${lt_cv_prog_gnu_ld+y}
   5517 then :
   5518   printf %s "(cached) " >&6
   5519 else case e in #(
   5520   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5521 case `$LD -v 2>&1 </dev/null` in
   5522 *GNU* | *'with BFD'*)
   5523   lt_cv_prog_gnu_ld=yes
   5524   ;;
   5525 *)
   5526   lt_cv_prog_gnu_ld=no
   5527   ;;
   5528 esac ;;
   5529 esac
   5530 fi
   5531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5532 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5533 with_gnu_ld=$lt_cv_prog_gnu_ld
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5544 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5545 if test ${lt_cv_path_NM+y}
   5546 then :
   5547   printf %s "(cached) " >&6
   5548 else case e in #(
   5549   e) if test -n "$NM"; then
   5550   # Let the user override the test.
   5551   lt_cv_path_NM=$NM
   5552 else
   5553   lt_nm_to_check=${ac_tool_prefix}nm
   5554   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5555     lt_nm_to_check="$lt_nm_to_check nm"
   5556   fi
   5557   for lt_tmp_nm in $lt_nm_to_check; do
   5558     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5559     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5560       IFS=$lt_save_ifs
   5561       test -z "$ac_dir" && ac_dir=.
   5562       tmp_nm=$ac_dir/$lt_tmp_nm
   5563       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5564 	# Check to see if the nm accepts a BSD-compat flag.
   5565 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5566 	#   nm: unknown option "B" ignored
   5567 	# Tru64's nm complains that /dev/null is an invalid object file
   5568 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5569 	case $build_os in
   5570 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5571 	*) lt_bad_file=/dev/null ;;
   5572 	esac
   5573 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5574 	*$lt_bad_file* | *'Invalid file or object type'*)
   5575 	  lt_cv_path_NM="$tmp_nm -B"
   5576 	  break 2
   5577 	  ;;
   5578 	*)
   5579 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5580 	  */dev/null*)
   5581 	    lt_cv_path_NM="$tmp_nm -p"
   5582 	    break 2
   5583 	    ;;
   5584 	  *)
   5585 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5586 	    continue # so that we can try to find one that supports BSD flags
   5587 	    ;;
   5588 	  esac
   5589 	  ;;
   5590 	esac
   5591       fi
   5592     done
   5593     IFS=$lt_save_ifs
   5594   done
   5595   : ${lt_cv_path_NM=no}
   5596 fi ;;
   5597 esac
   5598 fi
   5599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5600 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5601 if test no != "$lt_cv_path_NM"; then
   5602   NM=$lt_cv_path_NM
   5603 else
   5604   # Didn't find any BSD compatible name lister, look for dumpbin.
   5605   if test -n "$DUMPBIN"; then :
   5606     # Let the user override the test.
   5607   else
   5608     if test -n "$ac_tool_prefix"; then
   5609   for ac_prog in dumpbin "link -dump"
   5610   do
   5611     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5614 printf %s "checking for $ac_word... " >&6; }
   5615 if test ${ac_cv_prog_DUMPBIN+y}
   5616 then :
   5617   printf %s "(cached) " >&6
   5618 else case e in #(
   5619   e) if test -n "$DUMPBIN"; then
   5620   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5621 else
   5622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5623 for as_dir in $PATH
   5624 do
   5625   IFS=$as_save_IFS
   5626   case $as_dir in #(((
   5627     '') as_dir=./ ;;
   5628     */) ;;
   5629     *) as_dir=$as_dir/ ;;
   5630   esac
   5631     for ac_exec_ext in '' $ac_executable_extensions; do
   5632   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5633     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5634     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5635     break 2
   5636   fi
   5637 done
   5638   done
   5639 IFS=$as_save_IFS
   5640 
   5641 fi ;;
   5642 esac
   5643 fi
   5644 DUMPBIN=$ac_cv_prog_DUMPBIN
   5645 if test -n "$DUMPBIN"; then
   5646   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5647 printf "%s\n" "$DUMPBIN" >&6; }
   5648 else
   5649   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5650 printf "%s\n" "no" >&6; }
   5651 fi
   5652 
   5653 
   5654     test -n "$DUMPBIN" && break
   5655   done
   5656 fi
   5657 if test -z "$DUMPBIN"; then
   5658   ac_ct_DUMPBIN=$DUMPBIN
   5659   for ac_prog in dumpbin "link -dump"
   5660 do
   5661   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5662 set dummy $ac_prog; ac_word=$2
   5663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5664 printf %s "checking for $ac_word... " >&6; }
   5665 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5666 then :
   5667   printf %s "(cached) " >&6
   5668 else case e in #(
   5669   e) if test -n "$ac_ct_DUMPBIN"; then
   5670   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5671 else
   5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5673 for as_dir in $PATH
   5674 do
   5675   IFS=$as_save_IFS
   5676   case $as_dir in #(((
   5677     '') as_dir=./ ;;
   5678     */) ;;
   5679     *) as_dir=$as_dir/ ;;
   5680   esac
   5681     for ac_exec_ext in '' $ac_executable_extensions; do
   5682   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5683     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5684     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5685     break 2
   5686   fi
   5687 done
   5688   done
   5689 IFS=$as_save_IFS
   5690 
   5691 fi ;;
   5692 esac
   5693 fi
   5694 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5695 if test -n "$ac_ct_DUMPBIN"; then
   5696   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5697 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5698 else
   5699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5700 printf "%s\n" "no" >&6; }
   5701 fi
   5702 
   5703 
   5704   test -n "$ac_ct_DUMPBIN" && break
   5705 done
   5706 
   5707   if test "x$ac_ct_DUMPBIN" = x; then
   5708     DUMPBIN=":"
   5709   else
   5710     case $cross_compiling:$ac_tool_warned in
   5711 yes:)
   5712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5713 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5714 ac_tool_warned=yes ;;
   5715 esac
   5716     DUMPBIN=$ac_ct_DUMPBIN
   5717   fi
   5718 fi
   5719 
   5720     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5721     *COFF*)
   5722       DUMPBIN="$DUMPBIN -symbols -headers"
   5723       ;;
   5724     *)
   5725       DUMPBIN=:
   5726       ;;
   5727     esac
   5728   fi
   5729 
   5730   if test : != "$DUMPBIN"; then
   5731     NM=$DUMPBIN
   5732   fi
   5733 fi
   5734 test -z "$NM" && NM=nm
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5742 printf %s "checking the name lister ($NM) interface... " >&6; }
   5743 if test ${lt_cv_nm_interface+y}
   5744 then :
   5745   printf %s "(cached) " >&6
   5746 else case e in #(
   5747   e) lt_cv_nm_interface="BSD nm"
   5748   echo "int some_variable = 0;" > conftest.$ac_ext
   5749   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5750   (eval "$ac_compile" 2>conftest.err)
   5751   cat conftest.err >&5
   5752   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5753   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5754   cat conftest.err >&5
   5755   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5756   cat conftest.out >&5
   5757   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5758     lt_cv_nm_interface="MS dumpbin"
   5759   fi
   5760   rm -f conftest* ;;
   5761 esac
   5762 fi
   5763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5764 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5765 
   5766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5767 printf %s "checking whether ln -s works... " >&6; }
   5768 LN_S=$as_ln_s
   5769 if test "$LN_S" = "ln -s"; then
   5770   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5771 printf "%s\n" "yes" >&6; }
   5772 else
   5773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5774 printf "%s\n" "no, using $LN_S" >&6; }
   5775 fi
   5776 
   5777 # find the maximum length of command line arguments
   5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5779 printf %s "checking the maximum length of command line arguments... " >&6; }
   5780 if test ${lt_cv_sys_max_cmd_len+y}
   5781 then :
   5782   printf %s "(cached) " >&6
   5783 else case e in #(
   5784   e)   i=0
   5785   teststring=ABCD
   5786 
   5787   case $build_os in
   5788   msdosdjgpp*)
   5789     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5790     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5791     # during glob expansion).  Even if it were fixed, the result of this
   5792     # check would be larger than it should be.
   5793     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5794     ;;
   5795 
   5796   gnu* | ironclad*)
   5797     # Under GNU Hurd and Ironclad, this test is not required because there
   5798     # is no limit to the length of command line arguments.
   5799     # Libtool will interpret -1 as no limit whatsoever
   5800     lt_cv_sys_max_cmd_len=-1;
   5801     ;;
   5802 
   5803   cygwin* | mingw* | windows* | cegcc*)
   5804     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5805     # about 5 minutes as the teststring grows exponentially.
   5806     # Worse, since 9x/ME are not pre-emptively multitasking,
   5807     # you end up with a "frozen" computer, even though with patience
   5808     # the test eventually succeeds (with a max line length of 256k).
   5809     # Instead, let's just punt: use the minimum linelength reported by
   5810     # all of the supported platforms: 8192 (on NT/2K/XP).
   5811     lt_cv_sys_max_cmd_len=8192;
   5812     ;;
   5813 
   5814   mint*)
   5815     # On MiNT this can take a long time and run out of memory.
   5816     lt_cv_sys_max_cmd_len=8192;
   5817     ;;
   5818 
   5819   amigaos*)
   5820     # On AmigaOS with pdksh, this test takes hours, literally.
   5821     # So we just punt and use a minimum line length of 8192.
   5822     lt_cv_sys_max_cmd_len=8192;
   5823     ;;
   5824 
   5825   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5826     # This has been around since 386BSD, at least.  Likely further.
   5827     if test -x /sbin/sysctl; then
   5828       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5829     elif test -x /usr/sbin/sysctl; then
   5830       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5831     else
   5832       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5833     fi
   5834     # And add a safety zone
   5835     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5836     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5837     ;;
   5838 
   5839   interix*)
   5840     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5841     lt_cv_sys_max_cmd_len=196608
   5842     ;;
   5843 
   5844   os2*)
   5845     # The test takes a long time on OS/2.
   5846     lt_cv_sys_max_cmd_len=8192
   5847     ;;
   5848 
   5849   osf*)
   5850     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5851     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5852     # nice to cause kernel panics so lets avoid the loop below.
   5853     # First set a reasonable default.
   5854     lt_cv_sys_max_cmd_len=16384
   5855     #
   5856     if test -x /sbin/sysconfig; then
   5857       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5858         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5859       esac
   5860     fi
   5861     ;;
   5862   sco3.2v5*)
   5863     lt_cv_sys_max_cmd_len=102400
   5864     ;;
   5865   sysv5* | sco5v6* | sysv4.2uw2*)
   5866     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5867     if test -n "$kargmax"; then
   5868       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5869     else
   5870       lt_cv_sys_max_cmd_len=32768
   5871     fi
   5872     ;;
   5873   *)
   5874     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5875     if test -n "$lt_cv_sys_max_cmd_len" && \
   5876        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5877       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5878       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5879     else
   5880       # Make teststring a little bigger before we do anything with it.
   5881       # a 1K string should be a reasonable start.
   5882       for i in 1 2 3 4 5 6 7 8; do
   5883         teststring=$teststring$teststring
   5884       done
   5885       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5886       # If test is not a shell built-in, we'll probably end up computing a
   5887       # maximum length that is only half of the actual maximum length, but
   5888       # we can't tell.
   5889       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5890 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5891 	      test 17 != "$i" # 1/2 MB should be enough
   5892       do
   5893         i=`expr $i + 1`
   5894         teststring=$teststring$teststring
   5895       done
   5896       # Only check the string length outside the loop.
   5897       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5898       teststring=
   5899       # Add a significant safety factor because C++ compilers can tack on
   5900       # massive amounts of additional arguments before passing them to the
   5901       # linker.  It appears as though 1/2 is a usable value.
   5902       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5903     fi
   5904     ;;
   5905   esac
   5906  ;;
   5907 esac
   5908 fi
   5909 
   5910 if test -n "$lt_cv_sys_max_cmd_len"; then
   5911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5912 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5913 else
   5914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5915 printf "%s\n" "none" >&6; }
   5916 fi
   5917 max_cmd_len=$lt_cv_sys_max_cmd_len
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 : ${CP="cp -f"}
   5925 : ${MV="mv -f"}
   5926 : ${RM="rm -f"}
   5927 
   5928 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5929   lt_unset=unset
   5930 else
   5931   lt_unset=false
   5932 fi
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 # test EBCDIC or ASCII
   5939 case `echo X|tr X '\101'` in
   5940  A) # ASCII based system
   5941     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5942   lt_SP2NL='tr \040 \012'
   5943   lt_NL2SP='tr \015\012 \040\040'
   5944   ;;
   5945  *) # EBCDIC based system
   5946   lt_SP2NL='tr \100 \n'
   5947   lt_NL2SP='tr \r\n \100\100'
   5948   ;;
   5949 esac
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5960 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5961 if test ${lt_cv_to_host_file_cmd+y}
   5962 then :
   5963   printf %s "(cached) " >&6
   5964 else case e in #(
   5965   e) case $host in
   5966   *-*-mingw* )
   5967     case $build in
   5968       *-*-mingw* | *-*-windows* ) # actually msys
   5969         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5970         ;;
   5971       *-*-cygwin* )
   5972         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5973         ;;
   5974       * ) # otherwise, assume *nix
   5975         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5976         ;;
   5977     esac
   5978     ;;
   5979   *-*-cygwin* )
   5980     case $build in
   5981       *-*-mingw* | *-*-windows* ) # actually msys
   5982         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5983         ;;
   5984       *-*-cygwin* )
   5985         lt_cv_to_host_file_cmd=func_convert_file_noop
   5986         ;;
   5987       * ) # otherwise, assume *nix
   5988         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5989         ;;
   5990     esac
   5991     ;;
   5992   * ) # unhandled hosts (and "normal" native builds)
   5993     lt_cv_to_host_file_cmd=func_convert_file_noop
   5994     ;;
   5995 esac
   5996  ;;
   5997 esac
   5998 fi
   5999 
   6000 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6002 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6009 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6010 if test ${lt_cv_to_tool_file_cmd+y}
   6011 then :
   6012   printf %s "(cached) " >&6
   6013 else case e in #(
   6014   e) #assume ordinary cross tools, or native build.
   6015 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6016 case $host in
   6017   *-*-mingw* | *-*-windows* )
   6018     case $build in
   6019       *-*-mingw* | *-*-windows* ) # actually msys
   6020         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6021         ;;
   6022     esac
   6023     ;;
   6024 esac
   6025  ;;
   6026 esac
   6027 fi
   6028 
   6029 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6031 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6038 printf %s "checking for $LD option to reload object files... " >&6; }
   6039 if test ${lt_cv_ld_reload_flag+y}
   6040 then :
   6041   printf %s "(cached) " >&6
   6042 else case e in #(
   6043   e) lt_cv_ld_reload_flag='-r' ;;
   6044 esac
   6045 fi
   6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6047 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6048 reload_flag=$lt_cv_ld_reload_flag
   6049 case $reload_flag in
   6050 "" | " "*) ;;
   6051 *) reload_flag=" $reload_flag" ;;
   6052 esac
   6053 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6054 case $host_os in
   6055   cygwin* | mingw* | windows* | pw32* | cegcc*)
   6056     if test yes != "$GCC"; then
   6057       reload_cmds=false
   6058     fi
   6059     ;;
   6060   darwin*)
   6061     if test yes = "$GCC"; then
   6062       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6063     else
   6064       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6065     fi
   6066     ;;
   6067 esac
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 # Extract the first word of "file", so it can be a program name with args.
   6078 set dummy file; ac_word=$2
   6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6080 printf %s "checking for $ac_word... " >&6; }
   6081 if test ${ac_cv_prog_FILECMD+y}
   6082 then :
   6083   printf %s "(cached) " >&6
   6084 else case e in #(
   6085   e) if test -n "$FILECMD"; then
   6086   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6087 else
   6088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6089 for as_dir in $PATH
   6090 do
   6091   IFS=$as_save_IFS
   6092   case $as_dir in #(((
   6093     '') as_dir=./ ;;
   6094     */) ;;
   6095     *) as_dir=$as_dir/ ;;
   6096   esac
   6097     for ac_exec_ext in '' $ac_executable_extensions; do
   6098   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6099     ac_cv_prog_FILECMD="file"
   6100     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6101     break 2
   6102   fi
   6103 done
   6104   done
   6105 IFS=$as_save_IFS
   6106 
   6107   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6108 fi ;;
   6109 esac
   6110 fi
   6111 FILECMD=$ac_cv_prog_FILECMD
   6112 if test -n "$FILECMD"; then
   6113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6114 printf "%s\n" "$FILECMD" >&6; }
   6115 else
   6116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6117 printf "%s\n" "no" >&6; }
   6118 fi
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 if test -n "$ac_tool_prefix"; then
   6128   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6129 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6131 printf %s "checking for $ac_word... " >&6; }
   6132 if test ${ac_cv_prog_OBJDUMP+y}
   6133 then :
   6134   printf %s "(cached) " >&6
   6135 else case e in #(
   6136   e) if test -n "$OBJDUMP"; then
   6137   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6138 else
   6139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6140 for as_dir in $PATH
   6141 do
   6142   IFS=$as_save_IFS
   6143   case $as_dir in #(((
   6144     '') as_dir=./ ;;
   6145     */) ;;
   6146     *) as_dir=$as_dir/ ;;
   6147   esac
   6148     for ac_exec_ext in '' $ac_executable_extensions; do
   6149   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6150     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6151     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6152     break 2
   6153   fi
   6154 done
   6155   done
   6156 IFS=$as_save_IFS
   6157 
   6158 fi ;;
   6159 esac
   6160 fi
   6161 OBJDUMP=$ac_cv_prog_OBJDUMP
   6162 if test -n "$OBJDUMP"; then
   6163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6164 printf "%s\n" "$OBJDUMP" >&6; }
   6165 else
   6166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6167 printf "%s\n" "no" >&6; }
   6168 fi
   6169 
   6170 
   6171 fi
   6172 if test -z "$ac_cv_prog_OBJDUMP"; then
   6173   ac_ct_OBJDUMP=$OBJDUMP
   6174   # Extract the first word of "objdump", so it can be a program name with args.
   6175 set dummy objdump; ac_word=$2
   6176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6177 printf %s "checking for $ac_word... " >&6; }
   6178 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6179 then :
   6180   printf %s "(cached) " >&6
   6181 else case e in #(
   6182   e) if test -n "$ac_ct_OBJDUMP"; then
   6183   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6184 else
   6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6186 for as_dir in $PATH
   6187 do
   6188   IFS=$as_save_IFS
   6189   case $as_dir in #(((
   6190     '') as_dir=./ ;;
   6191     */) ;;
   6192     *) as_dir=$as_dir/ ;;
   6193   esac
   6194     for ac_exec_ext in '' $ac_executable_extensions; do
   6195   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6196     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6197     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6198     break 2
   6199   fi
   6200 done
   6201   done
   6202 IFS=$as_save_IFS
   6203 
   6204 fi ;;
   6205 esac
   6206 fi
   6207 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6208 if test -n "$ac_ct_OBJDUMP"; then
   6209   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6210 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6211 else
   6212   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6213 printf "%s\n" "no" >&6; }
   6214 fi
   6215 
   6216   if test "x$ac_ct_OBJDUMP" = x; then
   6217     OBJDUMP="false"
   6218   else
   6219     case $cross_compiling:$ac_tool_warned in
   6220 yes:)
   6221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6222 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6223 ac_tool_warned=yes ;;
   6224 esac
   6225     OBJDUMP=$ac_ct_OBJDUMP
   6226   fi
   6227 else
   6228   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6229 fi
   6230 
   6231 test -z "$OBJDUMP" && OBJDUMP=objdump
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6242 printf %s "checking how to recognize dependent libraries... " >&6; }
   6243 if test ${lt_cv_deplibs_check_method+y}
   6244 then :
   6245   printf %s "(cached) " >&6
   6246 else case e in #(
   6247   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6248 lt_cv_file_magic_test_file=
   6249 lt_cv_deplibs_check_method='unknown'
   6250 # Need to set the preceding variable on all platforms that support
   6251 # interlibrary dependencies.
   6252 # 'none' -- dependencies not supported.
   6253 # 'unknown' -- same as none, but documents that we really don't know.
   6254 # 'pass_all' -- all dependencies passed with no checks.
   6255 # 'file_magic [[regex]]' -- check by looking for files in library path
   6256 # that responds to the $file_magic_cmd with a given extended regex.
   6257 # If you have 'file' or equivalent on your system and you're not sure
   6258 # whether 'pass_all' will *always* work, you probably want this one.
   6259 
   6260 case $host_os in
   6261 aix[4-9]*)
   6262   lt_cv_deplibs_check_method=pass_all
   6263   ;;
   6264 
   6265 beos*)
   6266   lt_cv_deplibs_check_method=pass_all
   6267   ;;
   6268 
   6269 bsdi[45]*)
   6270   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6271   lt_cv_file_magic_cmd='$FILECMD -L'
   6272   lt_cv_file_magic_test_file=/shlib/libc.so
   6273   ;;
   6274 
   6275 cygwin*)
   6276   # func_win32_libid is a shell function defined in ltmain.sh
   6277   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6278   lt_cv_file_magic_cmd='func_win32_libid'
   6279   ;;
   6280 
   6281 mingw* | windows* | pw32*)
   6282   # Base MSYS/MinGW do not provide the 'file' command needed by
   6283   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6284   # unless we find 'file', for example because we are cross-compiling.
   6285   if ( file / ) >/dev/null 2>&1; then
   6286     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6287     lt_cv_file_magic_cmd='func_win32_libid'
   6288   else
   6289     # Keep this pattern in sync with the one in func_win32_libid.
   6290     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6291     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6292   fi
   6293   ;;
   6294 
   6295 cegcc*)
   6296   # use the weaker test based on 'objdump'. See mingw*.
   6297   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6298   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6299   ;;
   6300 
   6301 darwin* | rhapsody*)
   6302   lt_cv_deplibs_check_method=pass_all
   6303   ;;
   6304 
   6305 freebsd* | dragonfly* | midnightbsd*)
   6306   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6307     case $host_cpu in
   6308     i*86 )
   6309       # Not sure whether the presence of OpenBSD here was a mistake.
   6310       # Let's accept both of them until this is cleared up.
   6311       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6312       lt_cv_file_magic_cmd=$FILECMD
   6313       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6314       ;;
   6315     esac
   6316   else
   6317     lt_cv_deplibs_check_method=pass_all
   6318   fi
   6319   ;;
   6320 
   6321 haiku*)
   6322   lt_cv_deplibs_check_method=pass_all
   6323   ;;
   6324 
   6325 hpux10.20* | hpux11*)
   6326   lt_cv_file_magic_cmd=$FILECMD
   6327   case $host_cpu in
   6328   ia64*)
   6329     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6330     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6331     ;;
   6332   hppa*64*)
   6333     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]'
   6334     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6335     ;;
   6336   *)
   6337     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6338     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6339     ;;
   6340   esac
   6341   ;;
   6342 
   6343 interix[3-9]*)
   6344   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6345   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6346   ;;
   6347 
   6348 irix5* | irix6* | nonstopux*)
   6349   case $LD in
   6350   *-32|*"-32 ") libmagic=32-bit;;
   6351   *-n32|*"-n32 ") libmagic=N32;;
   6352   *-64|*"-64 ") libmagic=64-bit;;
   6353   *) libmagic=never-match;;
   6354   esac
   6355   lt_cv_deplibs_check_method=pass_all
   6356   ;;
   6357 
   6358 # This must be glibc/ELF.
   6359 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6360   lt_cv_deplibs_check_method=pass_all
   6361   ;;
   6362 
   6363 *-mlibc)
   6364   lt_cv_deplibs_check_method=pass_all
   6365   ;;
   6366 
   6367 netbsd* | netbsdelf*-gnu)
   6368   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6369     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6370   else
   6371     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6372   fi
   6373   ;;
   6374 
   6375 newos6*)
   6376   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6377   lt_cv_file_magic_cmd=$FILECMD
   6378   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6379   ;;
   6380 
   6381 *nto* | *qnx*)
   6382   lt_cv_deplibs_check_method=pass_all
   6383   ;;
   6384 
   6385 openbsd*)
   6386   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6387     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6388   else
   6389     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6390   fi
   6391   ;;
   6392 
   6393 osf3* | osf4* | osf5*)
   6394   lt_cv_deplibs_check_method=pass_all
   6395   ;;
   6396 
   6397 rdos*)
   6398   lt_cv_deplibs_check_method=pass_all
   6399   ;;
   6400 
   6401 serenity*)
   6402   lt_cv_deplibs_check_method=pass_all
   6403   ;;
   6404 
   6405 solaris*)
   6406   lt_cv_deplibs_check_method=pass_all
   6407   ;;
   6408 
   6409 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6410   lt_cv_deplibs_check_method=pass_all
   6411   ;;
   6412 
   6413 sysv4 | sysv4.3*)
   6414   case $host_vendor in
   6415   motorola)
   6416     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]'
   6417     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6418     ;;
   6419   ncr)
   6420     lt_cv_deplibs_check_method=pass_all
   6421     ;;
   6422   sequent)
   6423     lt_cv_file_magic_cmd='/bin/file'
   6424     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6425     ;;
   6426   sni)
   6427     lt_cv_file_magic_cmd='/bin/file'
   6428     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6429     lt_cv_file_magic_test_file=/lib/libc.so
   6430     ;;
   6431   siemens)
   6432     lt_cv_deplibs_check_method=pass_all
   6433     ;;
   6434   pc)
   6435     lt_cv_deplibs_check_method=pass_all
   6436     ;;
   6437   esac
   6438   ;;
   6439 
   6440 tpf*)
   6441   lt_cv_deplibs_check_method=pass_all
   6442   ;;
   6443 os2*)
   6444   lt_cv_deplibs_check_method=pass_all
   6445   ;;
   6446 esac
   6447  ;;
   6448 esac
   6449 fi
   6450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6451 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6452 
   6453 file_magic_glob=
   6454 want_nocaseglob=no
   6455 if test "$build" = "$host"; then
   6456   case $host_os in
   6457   mingw* | windows* | pw32*)
   6458     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6459       want_nocaseglob=yes
   6460     else
   6461       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6462     fi
   6463     ;;
   6464   esac
   6465 fi
   6466 
   6467 file_magic_cmd=$lt_cv_file_magic_cmd
   6468 deplibs_check_method=$lt_cv_deplibs_check_method
   6469 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 
   6491 
   6492 if test -n "$ac_tool_prefix"; then
   6493   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6494 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6496 printf %s "checking for $ac_word... " >&6; }
   6497 if test ${ac_cv_prog_DLLTOOL+y}
   6498 then :
   6499   printf %s "(cached) " >&6
   6500 else case e in #(
   6501   e) if test -n "$DLLTOOL"; then
   6502   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6503 else
   6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6505 for as_dir in $PATH
   6506 do
   6507   IFS=$as_save_IFS
   6508   case $as_dir in #(((
   6509     '') as_dir=./ ;;
   6510     */) ;;
   6511     *) as_dir=$as_dir/ ;;
   6512   esac
   6513     for ac_exec_ext in '' $ac_executable_extensions; do
   6514   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6515     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6516     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6517     break 2
   6518   fi
   6519 done
   6520   done
   6521 IFS=$as_save_IFS
   6522 
   6523 fi ;;
   6524 esac
   6525 fi
   6526 DLLTOOL=$ac_cv_prog_DLLTOOL
   6527 if test -n "$DLLTOOL"; then
   6528   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6529 printf "%s\n" "$DLLTOOL" >&6; }
   6530 else
   6531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6532 printf "%s\n" "no" >&6; }
   6533 fi
   6534 
   6535 
   6536 fi
   6537 if test -z "$ac_cv_prog_DLLTOOL"; then
   6538   ac_ct_DLLTOOL=$DLLTOOL
   6539   # Extract the first word of "dlltool", so it can be a program name with args.
   6540 set dummy dlltool; ac_word=$2
   6541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6542 printf %s "checking for $ac_word... " >&6; }
   6543 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6544 then :
   6545   printf %s "(cached) " >&6
   6546 else case e in #(
   6547   e) if test -n "$ac_ct_DLLTOOL"; then
   6548   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6549 else
   6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6551 for as_dir in $PATH
   6552 do
   6553   IFS=$as_save_IFS
   6554   case $as_dir in #(((
   6555     '') as_dir=./ ;;
   6556     */) ;;
   6557     *) as_dir=$as_dir/ ;;
   6558   esac
   6559     for ac_exec_ext in '' $ac_executable_extensions; do
   6560   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6561     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6562     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6563     break 2
   6564   fi
   6565 done
   6566   done
   6567 IFS=$as_save_IFS
   6568 
   6569 fi ;;
   6570 esac
   6571 fi
   6572 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6573 if test -n "$ac_ct_DLLTOOL"; then
   6574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6575 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6576 else
   6577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6578 printf "%s\n" "no" >&6; }
   6579 fi
   6580 
   6581   if test "x$ac_ct_DLLTOOL" = x; then
   6582     DLLTOOL="false"
   6583   else
   6584     case $cross_compiling:$ac_tool_warned in
   6585 yes:)
   6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6587 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6588 ac_tool_warned=yes ;;
   6589 esac
   6590     DLLTOOL=$ac_ct_DLLTOOL
   6591   fi
   6592 else
   6593   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6594 fi
   6595 
   6596 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6608 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6609 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6610 then :
   6611   printf %s "(cached) " >&6
   6612 else case e in #(
   6613   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6614 
   6615 case $host_os in
   6616 cygwin* | mingw* | windows* | pw32* | cegcc*)
   6617   # two different shell functions defined in ltmain.sh;
   6618   # decide which one to use based on capabilities of $DLLTOOL
   6619   case `$DLLTOOL --help 2>&1` in
   6620   *--identify-strict*)
   6621     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6622     ;;
   6623   *)
   6624     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6625     ;;
   6626   esac
   6627   ;;
   6628 *)
   6629   # fallback: assume linklib IS sharedlib
   6630   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6631   ;;
   6632 esac
   6633  ;;
   6634 esac
   6635 fi
   6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6637 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6638 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6639 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 if test -n "$ac_tool_prefix"; then
   6649   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6650 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6652 printf %s "checking for $ac_word... " >&6; }
   6653 if test ${ac_cv_prog_RANLIB+y}
   6654 then :
   6655   printf %s "(cached) " >&6
   6656 else case e in #(
   6657   e) if test -n "$RANLIB"; then
   6658   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6659 else
   6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6661 for as_dir in $PATH
   6662 do
   6663   IFS=$as_save_IFS
   6664   case $as_dir in #(((
   6665     '') as_dir=./ ;;
   6666     */) ;;
   6667     *) as_dir=$as_dir/ ;;
   6668   esac
   6669     for ac_exec_ext in '' $ac_executable_extensions; do
   6670   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6671     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6672     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6673     break 2
   6674   fi
   6675 done
   6676   done
   6677 IFS=$as_save_IFS
   6678 
   6679 fi ;;
   6680 esac
   6681 fi
   6682 RANLIB=$ac_cv_prog_RANLIB
   6683 if test -n "$RANLIB"; then
   6684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6685 printf "%s\n" "$RANLIB" >&6; }
   6686 else
   6687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6688 printf "%s\n" "no" >&6; }
   6689 fi
   6690 
   6691 
   6692 fi
   6693 if test -z "$ac_cv_prog_RANLIB"; then
   6694   ac_ct_RANLIB=$RANLIB
   6695   # Extract the first word of "ranlib", so it can be a program name with args.
   6696 set dummy ranlib; ac_word=$2
   6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6698 printf %s "checking for $ac_word... " >&6; }
   6699 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6700 then :
   6701   printf %s "(cached) " >&6
   6702 else case e in #(
   6703   e) if test -n "$ac_ct_RANLIB"; then
   6704   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6705 else
   6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6707 for as_dir in $PATH
   6708 do
   6709   IFS=$as_save_IFS
   6710   case $as_dir in #(((
   6711     '') as_dir=./ ;;
   6712     */) ;;
   6713     *) as_dir=$as_dir/ ;;
   6714   esac
   6715     for ac_exec_ext in '' $ac_executable_extensions; do
   6716   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6717     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6718     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6719     break 2
   6720   fi
   6721 done
   6722   done
   6723 IFS=$as_save_IFS
   6724 
   6725 fi ;;
   6726 esac
   6727 fi
   6728 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6729 if test -n "$ac_ct_RANLIB"; then
   6730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6731 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6732 else
   6733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6734 printf "%s\n" "no" >&6; }
   6735 fi
   6736 
   6737   if test "x$ac_ct_RANLIB" = x; then
   6738     RANLIB=":"
   6739   else
   6740     case $cross_compiling:$ac_tool_warned in
   6741 yes:)
   6742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6743 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6744 ac_tool_warned=yes ;;
   6745 esac
   6746     RANLIB=$ac_ct_RANLIB
   6747   fi
   6748 else
   6749   RANLIB="$ac_cv_prog_RANLIB"
   6750 fi
   6751 
   6752 if test -n "$ac_tool_prefix"; then
   6753   for ac_prog in ar
   6754   do
   6755     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6756 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6758 printf %s "checking for $ac_word... " >&6; }
   6759 if test ${ac_cv_prog_AR+y}
   6760 then :
   6761   printf %s "(cached) " >&6
   6762 else case e in #(
   6763   e) if test -n "$AR"; then
   6764   ac_cv_prog_AR="$AR" # Let the user override the test.
   6765 else
   6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6767 for as_dir in $PATH
   6768 do
   6769   IFS=$as_save_IFS
   6770   case $as_dir in #(((
   6771     '') as_dir=./ ;;
   6772     */) ;;
   6773     *) as_dir=$as_dir/ ;;
   6774   esac
   6775     for ac_exec_ext in '' $ac_executable_extensions; do
   6776   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6777     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6778     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6779     break 2
   6780   fi
   6781 done
   6782   done
   6783 IFS=$as_save_IFS
   6784 
   6785 fi ;;
   6786 esac
   6787 fi
   6788 AR=$ac_cv_prog_AR
   6789 if test -n "$AR"; then
   6790   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6791 printf "%s\n" "$AR" >&6; }
   6792 else
   6793   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6794 printf "%s\n" "no" >&6; }
   6795 fi
   6796 
   6797 
   6798     test -n "$AR" && break
   6799   done
   6800 fi
   6801 if test -z "$AR"; then
   6802   ac_ct_AR=$AR
   6803   for ac_prog in ar
   6804 do
   6805   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6806 set dummy $ac_prog; ac_word=$2
   6807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6808 printf %s "checking for $ac_word... " >&6; }
   6809 if test ${ac_cv_prog_ac_ct_AR+y}
   6810 then :
   6811   printf %s "(cached) " >&6
   6812 else case e in #(
   6813   e) if test -n "$ac_ct_AR"; then
   6814   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6815 else
   6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6817 for as_dir in $PATH
   6818 do
   6819   IFS=$as_save_IFS
   6820   case $as_dir in #(((
   6821     '') as_dir=./ ;;
   6822     */) ;;
   6823     *) as_dir=$as_dir/ ;;
   6824   esac
   6825     for ac_exec_ext in '' $ac_executable_extensions; do
   6826   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6827     ac_cv_prog_ac_ct_AR="$ac_prog"
   6828     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6829     break 2
   6830   fi
   6831 done
   6832   done
   6833 IFS=$as_save_IFS
   6834 
   6835 fi ;;
   6836 esac
   6837 fi
   6838 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6839 if test -n "$ac_ct_AR"; then
   6840   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6841 printf "%s\n" "$ac_ct_AR" >&6; }
   6842 else
   6843   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6844 printf "%s\n" "no" >&6; }
   6845 fi
   6846 
   6847 
   6848   test -n "$ac_ct_AR" && break
   6849 done
   6850 
   6851   if test "x$ac_ct_AR" = x; then
   6852     AR="false"
   6853   else
   6854     case $cross_compiling:$ac_tool_warned in
   6855 yes:)
   6856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6857 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6858 ac_tool_warned=yes ;;
   6859 esac
   6860     AR=$ac_ct_AR
   6861   fi
   6862 fi
   6863 
   6864 : ${AR=ar}
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6872 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6873 # higher priority because that's what people were doing historically (setting
   6874 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6875 # variable obsoleted/removed.
   6876 
   6877 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6878 lt_ar_flags=$AR_FLAGS
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6886 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6894 printf %s "checking for archiver @FILE support... " >&6; }
   6895 if test ${lt_cv_ar_at_file+y}
   6896 then :
   6897   printf %s "(cached) " >&6
   6898 else case e in #(
   6899   e) lt_cv_ar_at_file=no
   6900    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6901 /* end confdefs.h.  */
   6902 
   6903 int
   6904 main (void)
   6905 {
   6906 
   6907   ;
   6908   return 0;
   6909 }
   6910 _ACEOF
   6911 if ac_fn_c_try_compile "$LINENO"
   6912 then :
   6913   echo conftest.$ac_objext > conftest.lst
   6914       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6915       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6916   (eval $lt_ar_try) 2>&5
   6917   ac_status=$?
   6918   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6919   test $ac_status = 0; }
   6920       if test 0 -eq "$ac_status"; then
   6921 	# Ensure the archiver fails upon bogus file names.
   6922 	rm -f conftest.$ac_objext libconftest.a
   6923 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6924   (eval $lt_ar_try) 2>&5
   6925   ac_status=$?
   6926   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6927   test $ac_status = 0; }
   6928 	if test 0 -ne "$ac_status"; then
   6929           lt_cv_ar_at_file=@
   6930         fi
   6931       fi
   6932       rm -f conftest.* libconftest.a
   6933 
   6934 fi
   6935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6936    ;;
   6937 esac
   6938 fi
   6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6940 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6941 
   6942 if test no = "$lt_cv_ar_at_file"; then
   6943   archiver_list_spec=
   6944 else
   6945   archiver_list_spec=$lt_cv_ar_at_file
   6946 fi
   6947 
   6948 
   6949 
   6950 
   6951 
   6952 
   6953 
   6954 if test -n "$ac_tool_prefix"; then
   6955   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6956 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6958 printf %s "checking for $ac_word... " >&6; }
   6959 if test ${ac_cv_prog_STRIP+y}
   6960 then :
   6961   printf %s "(cached) " >&6
   6962 else case e in #(
   6963   e) if test -n "$STRIP"; then
   6964   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6965 else
   6966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6967 for as_dir in $PATH
   6968 do
   6969   IFS=$as_save_IFS
   6970   case $as_dir in #(((
   6971     '') as_dir=./ ;;
   6972     */) ;;
   6973     *) as_dir=$as_dir/ ;;
   6974   esac
   6975     for ac_exec_ext in '' $ac_executable_extensions; do
   6976   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6977     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6978     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6979     break 2
   6980   fi
   6981 done
   6982   done
   6983 IFS=$as_save_IFS
   6984 
   6985 fi ;;
   6986 esac
   6987 fi
   6988 STRIP=$ac_cv_prog_STRIP
   6989 if test -n "$STRIP"; then
   6990   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6991 printf "%s\n" "$STRIP" >&6; }
   6992 else
   6993   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6994 printf "%s\n" "no" >&6; }
   6995 fi
   6996 
   6997 
   6998 fi
   6999 if test -z "$ac_cv_prog_STRIP"; then
   7000   ac_ct_STRIP=$STRIP
   7001   # Extract the first word of "strip", so it can be a program name with args.
   7002 set dummy strip; ac_word=$2
   7003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7004 printf %s "checking for $ac_word... " >&6; }
   7005 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7006 then :
   7007   printf %s "(cached) " >&6
   7008 else case e in #(
   7009   e) if test -n "$ac_ct_STRIP"; then
   7010   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7011 else
   7012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7013 for as_dir in $PATH
   7014 do
   7015   IFS=$as_save_IFS
   7016   case $as_dir in #(((
   7017     '') as_dir=./ ;;
   7018     */) ;;
   7019     *) as_dir=$as_dir/ ;;
   7020   esac
   7021     for ac_exec_ext in '' $ac_executable_extensions; do
   7022   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7023     ac_cv_prog_ac_ct_STRIP="strip"
   7024     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7025     break 2
   7026   fi
   7027 done
   7028   done
   7029 IFS=$as_save_IFS
   7030 
   7031 fi ;;
   7032 esac
   7033 fi
   7034 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7035 if test -n "$ac_ct_STRIP"; then
   7036   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7037 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7038 else
   7039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7040 printf "%s\n" "no" >&6; }
   7041 fi
   7042 
   7043   if test "x$ac_ct_STRIP" = x; then
   7044     STRIP=":"
   7045   else
   7046     case $cross_compiling:$ac_tool_warned in
   7047 yes:)
   7048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7049 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7050 ac_tool_warned=yes ;;
   7051 esac
   7052     STRIP=$ac_ct_STRIP
   7053   fi
   7054 else
   7055   STRIP="$ac_cv_prog_STRIP"
   7056 fi
   7057 
   7058 test -z "$STRIP" && STRIP=:
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 test -z "$RANLIB" && RANLIB=:
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 # Determine commands to create old-style static archives.
   7074 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7075 old_postinstall_cmds='chmod 644 $oldlib'
   7076 old_postuninstall_cmds=
   7077 
   7078 if test -n "$RANLIB"; then
   7079   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7080   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7081 fi
   7082 
   7083 case $host_os in
   7084   darwin*)
   7085     lock_old_archive_extraction=yes ;;
   7086   *)
   7087     lock_old_archive_extraction=no ;;
   7088 esac
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 # If no C compiler was specified, use CC.
   7129 LTCC=${LTCC-"$CC"}
   7130 
   7131 # If no C compiler flags were specified, use CFLAGS.
   7132 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7133 
   7134 # Allow CC to be a program name with arguments.
   7135 compiler=$CC
   7136 
   7137 
   7138 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7140 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7141 if test ${lt_cv_sys_global_symbol_pipe+y}
   7142 then :
   7143   printf %s "(cached) " >&6
   7144 else case e in #(
   7145   e)
   7146 # These are sane defaults that work on at least a few old systems.
   7147 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7148 
   7149 # Character class describing NM global symbol codes.
   7150 symcode='[BCDEGRST]'
   7151 
   7152 # Regexp to match symbols that can be accessed directly from C.
   7153 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7154 
   7155 # Define system-specific variables.
   7156 case $host_os in
   7157 aix*)
   7158   symcode='[BCDT]'
   7159   ;;
   7160 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7161   symcode='[ABCDGISTW]'
   7162   ;;
   7163 hpux*)
   7164   if test ia64 = "$host_cpu"; then
   7165     symcode='[ABCDEGRST]'
   7166   fi
   7167   ;;
   7168 irix* | nonstopux*)
   7169   symcode='[BCDEGRST]'
   7170   ;;
   7171 osf*)
   7172   symcode='[BCDEGQRST]'
   7173   ;;
   7174 solaris*)
   7175   symcode='[BCDRT]'
   7176   ;;
   7177 sco3.2v5*)
   7178   symcode='[DT]'
   7179   ;;
   7180 sysv4.2uw2*)
   7181   symcode='[DT]'
   7182   ;;
   7183 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7184   symcode='[ABDT]'
   7185   ;;
   7186 sysv4)
   7187   symcode='[DFNSTU]'
   7188   ;;
   7189 esac
   7190 
   7191 # If we're using GNU nm, then use its standard symbol codes.
   7192 case `$NM -V 2>&1` in
   7193 *GNU* | *'with BFD'*)
   7194   symcode='[ABCDGIRSTW]' ;;
   7195 esac
   7196 
   7197 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7198   # Gets list of data symbols to import.
   7199   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7200   # Adjust the below global symbol transforms to fixup imported variables.
   7201   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7202   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7203   lt_c_name_lib_hook="\
   7204   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7205   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7206 else
   7207   # Disable hooks by default.
   7208   lt_cv_sys_global_symbol_to_import=
   7209   lt_cdecl_hook=
   7210   lt_c_name_hook=
   7211   lt_c_name_lib_hook=
   7212 fi
   7213 
   7214 # Transform an extracted symbol line into a proper C declaration.
   7215 # Some systems (esp. on ia64) link data and code symbols differently,
   7216 # so use this general approach.
   7217 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7218 $lt_cdecl_hook\
   7219 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7220 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7221 
   7222 # Transform an extracted symbol line into symbol name and symbol address
   7223 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7224 $lt_c_name_hook\
   7225 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7226 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7227 
   7228 # Transform an extracted symbol line into symbol name with lib prefix and
   7229 # symbol address.
   7230 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7231 $lt_c_name_lib_hook\
   7232 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7233 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7234 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7235 
   7236 # Handle CRLF in mingw tool chain
   7237 opt_cr=
   7238 case $build_os in
   7239 mingw* | windows*)
   7240   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7241   ;;
   7242 esac
   7243 
   7244 # Try without a prefix underscore, then with it.
   7245 for ac_symprfx in "" "_"; do
   7246 
   7247   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7248   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7249 
   7250   # Write the raw and C identifiers.
   7251   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7252     # Fake it for dumpbin and say T for any non-static function,
   7253     # D for any global variable and I for any imported variable.
   7254     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7255     # which start with @ or ?.
   7256     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7257 "     {last_section=section; section=\$ 3};"\
   7258 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7259 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7260 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7261 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7262 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7263 "     \$ 0!~/External *\|/{next};"\
   7264 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7265 "     {if(hide[section]) next};"\
   7266 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7267 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7268 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7269 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7270 "     ' prfx=^$ac_symprfx"
   7271   else
   7272     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7273   fi
   7274   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7275 
   7276   # Check to see that the pipe works correctly.
   7277   pipe_works=no
   7278 
   7279   rm -f conftest*
   7280   cat > conftest.$ac_ext <<_LT_EOF
   7281 #ifdef __cplusplus
   7282 extern "C" {
   7283 #endif
   7284 char nm_test_var;
   7285 void nm_test_func(void);
   7286 void nm_test_func(void){}
   7287 #ifdef __cplusplus
   7288 }
   7289 #endif
   7290 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7291 _LT_EOF
   7292 
   7293   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7294   (eval $ac_compile) 2>&5
   7295   ac_status=$?
   7296   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7297   test $ac_status = 0; }; then
   7298     # Now try to grab the symbols.
   7299     nlist=conftest.nm
   7300     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7301     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7302       # Try sorting and uniquifying the output.
   7303       if sort "$nlist" | uniq > "$nlist"T; then
   7304 	mv -f "$nlist"T "$nlist"
   7305       else
   7306 	rm -f "$nlist"T
   7307       fi
   7308 
   7309       # Make sure that we snagged all the symbols we need.
   7310       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7311 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7312 	  cat <<_LT_EOF > conftest.$ac_ext
   7313 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7314 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7315 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7316    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7317 # define LT_DLSYM_CONST
   7318 #elif defined __osf__
   7319 /* This system does not cope well with relocations in const data.  */
   7320 # define LT_DLSYM_CONST
   7321 #else
   7322 # define LT_DLSYM_CONST const
   7323 #endif
   7324 
   7325 #ifdef __cplusplus
   7326 extern "C" {
   7327 #endif
   7328 
   7329 _LT_EOF
   7330 	  # Now generate the symbol file.
   7331 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7332 
   7333 	  cat <<_LT_EOF >> conftest.$ac_ext
   7334 
   7335 /* The mapping between symbol names and symbols.  */
   7336 LT_DLSYM_CONST struct {
   7337   const char *name;
   7338   void       *address;
   7339 }
   7340 lt__PROGRAM__LTX_preloaded_symbols[] =
   7341 {
   7342   { "@PROGRAM@", (void *) 0 },
   7343 _LT_EOF
   7344 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7345 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7346   {0, (void *) 0}
   7347 };
   7348 
   7349 /* This works around a problem in FreeBSD linker */
   7350 #ifdef FREEBSD_WORKAROUND
   7351 static const void *lt_preloaded_setup() {
   7352   return lt__PROGRAM__LTX_preloaded_symbols;
   7353 }
   7354 #endif
   7355 
   7356 #ifdef __cplusplus
   7357 }
   7358 #endif
   7359 _LT_EOF
   7360 	  # Now try linking the two files.
   7361 	  mv conftest.$ac_objext conftstm.$ac_objext
   7362 	  lt_globsym_save_LIBS=$LIBS
   7363 	  lt_globsym_save_CFLAGS=$CFLAGS
   7364 	  LIBS=conftstm.$ac_objext
   7365 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7366 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7367   (eval $ac_link) 2>&5
   7368   ac_status=$?
   7369   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7370   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7371 	    pipe_works=yes
   7372 	  fi
   7373 	  LIBS=$lt_globsym_save_LIBS
   7374 	  CFLAGS=$lt_globsym_save_CFLAGS
   7375 	else
   7376 	  echo "cannot find nm_test_func in $nlist" >&5
   7377 	fi
   7378       else
   7379 	echo "cannot find nm_test_var in $nlist" >&5
   7380       fi
   7381     else
   7382       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7383     fi
   7384   else
   7385     echo "$progname: failed program was:" >&5
   7386     cat conftest.$ac_ext >&5
   7387   fi
   7388   rm -rf conftest* conftst*
   7389 
   7390   # Do not use the global_symbol_pipe unless it works.
   7391   if test yes = "$pipe_works"; then
   7392     break
   7393   else
   7394     lt_cv_sys_global_symbol_pipe=
   7395   fi
   7396 done
   7397  ;;
   7398 esac
   7399 fi
   7400 
   7401 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7402   lt_cv_sys_global_symbol_to_cdecl=
   7403 fi
   7404 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7406 printf "%s\n" "failed" >&6; }
   7407 else
   7408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7409 printf "%s\n" "ok" >&6; }
   7410 fi
   7411 
   7412 # Response file support.
   7413 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7414   nm_file_list_spec='@'
   7415 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7416   nm_file_list_spec='@'
   7417 fi
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7456 printf %s "checking for sysroot... " >&6; }
   7457 
   7458 # Check whether --with-sysroot was given.
   7459 if test ${with_sysroot+y}
   7460 then :
   7461   withval=$with_sysroot;
   7462 else case e in #(
   7463   e) with_sysroot=no ;;
   7464 esac
   7465 fi
   7466 
   7467 
   7468 lt_sysroot=
   7469 case $with_sysroot in #(
   7470  yes)
   7471    if test yes = "$GCC"; then
   7472      # Trim trailing / since we'll always append absolute paths and we want
   7473      # to avoid //, if only for less confusing output for the user.
   7474      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7475    fi
   7476    ;; #(
   7477  /*)
   7478    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7479    ;; #(
   7480  no|'')
   7481    ;; #(
   7482  *)
   7483    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7484 printf "%s\n" "$with_sysroot" >&6; }
   7485    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7486    ;;
   7487 esac
   7488 
   7489  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7490 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7497 printf %s "checking for a working dd... " >&6; }
   7498 if test ${ac_cv_path_lt_DD+y}
   7499 then :
   7500   printf %s "(cached) " >&6
   7501 else case e in #(
   7502   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7503 cat conftest.i conftest.i >conftest2.i
   7504 : ${lt_DD:=$DD}
   7505 if test -z "$lt_DD"; then
   7506   ac_path_lt_DD_found=false
   7507   # Loop through the user's path and test for each of PROGNAME-LIST
   7508   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7509 for as_dir in $PATH
   7510 do
   7511   IFS=$as_save_IFS
   7512   case $as_dir in #(((
   7513     '') as_dir=./ ;;
   7514     */) ;;
   7515     *) as_dir=$as_dir/ ;;
   7516   esac
   7517     for ac_prog in dd
   7518    do
   7519     for ac_exec_ext in '' $ac_executable_extensions; do
   7520       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7521       as_fn_executable_p "$ac_path_lt_DD" || continue
   7522 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7523   cmp -s conftest.i conftest.out \
   7524   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7525 fi
   7526       $ac_path_lt_DD_found && break 3
   7527     done
   7528   done
   7529   done
   7530 IFS=$as_save_IFS
   7531   if test -z "$ac_cv_path_lt_DD"; then
   7532     :
   7533   fi
   7534 else
   7535   ac_cv_path_lt_DD=$lt_DD
   7536 fi
   7537 
   7538 rm -f conftest.i conftest2.i conftest.out ;;
   7539 esac
   7540 fi
   7541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7542 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7543 
   7544 
   7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7546 printf %s "checking how to truncate binary pipes... " >&6; }
   7547 if test ${lt_cv_truncate_bin+y}
   7548 then :
   7549   printf %s "(cached) " >&6
   7550 else case e in #(
   7551   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7552 cat conftest.i conftest.i >conftest2.i
   7553 lt_cv_truncate_bin=
   7554 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7555   cmp -s conftest.i conftest.out \
   7556   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7557 fi
   7558 rm -f conftest.i conftest2.i conftest.out
   7559 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7560 esac
   7561 fi
   7562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7563 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7572 func_cc_basename ()
   7573 {
   7574     for cc_temp in $*""; do
   7575       case $cc_temp in
   7576         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7577         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7578         \-*) ;;
   7579         *) break;;
   7580       esac
   7581     done
   7582     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7583 }
   7584 
   7585 # Check whether --enable-libtool-lock was given.
   7586 if test ${enable_libtool_lock+y}
   7587 then :
   7588   enableval=$enable_libtool_lock;
   7589 fi
   7590 
   7591 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7592 
   7593 # Some flags need to be propagated to the compiler or linker for good
   7594 # libtool support.
   7595 case $host in
   7596 ia64-*-hpux*)
   7597   # Find out what ABI is being produced by ac_compile, and set mode
   7598   # options accordingly.
   7599   echo 'int i;' > conftest.$ac_ext
   7600   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7601   (eval $ac_compile) 2>&5
   7602   ac_status=$?
   7603   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7604   test $ac_status = 0; }; then
   7605     case `$FILECMD conftest.$ac_objext` in
   7606       *ELF-32*)
   7607 	HPUX_IA64_MODE=32
   7608 	;;
   7609       *ELF-64*)
   7610 	HPUX_IA64_MODE=64
   7611 	;;
   7612     esac
   7613   fi
   7614   rm -rf conftest*
   7615   ;;
   7616 *-*-irix6*)
   7617   # Find out what ABI is being produced by ac_compile, and set linker
   7618   # options accordingly.
   7619   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7620   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7621   (eval $ac_compile) 2>&5
   7622   ac_status=$?
   7623   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7624   test $ac_status = 0; }; then
   7625     if test yes = "$lt_cv_prog_gnu_ld"; then
   7626       case `$FILECMD conftest.$ac_objext` in
   7627 	*32-bit*)
   7628 	  LD="${LD-ld} -melf32bsmip"
   7629 	  ;;
   7630 	*N32*)
   7631 	  LD="${LD-ld} -melf32bmipn32"
   7632 	  ;;
   7633 	*64-bit*)
   7634 	  LD="${LD-ld} -melf64bmip"
   7635 	;;
   7636       esac
   7637     else
   7638       case `$FILECMD conftest.$ac_objext` in
   7639 	*32-bit*)
   7640 	  LD="${LD-ld} -32"
   7641 	  ;;
   7642 	*N32*)
   7643 	  LD="${LD-ld} -n32"
   7644 	  ;;
   7645 	*64-bit*)
   7646 	  LD="${LD-ld} -64"
   7647 	  ;;
   7648       esac
   7649     fi
   7650   fi
   7651   rm -rf conftest*
   7652   ;;
   7653 
   7654 mips64*-*linux*)
   7655   # Find out what ABI is being produced by ac_compile, and set linker
   7656   # options accordingly.
   7657   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7658   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7659   (eval $ac_compile) 2>&5
   7660   ac_status=$?
   7661   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7662   test $ac_status = 0; }; then
   7663     emul=elf
   7664     case `$FILECMD conftest.$ac_objext` in
   7665       *32-bit*)
   7666 	emul="${emul}32"
   7667 	;;
   7668       *64-bit*)
   7669 	emul="${emul}64"
   7670 	;;
   7671     esac
   7672     case `$FILECMD conftest.$ac_objext` in
   7673       *MSB*)
   7674 	emul="${emul}btsmip"
   7675 	;;
   7676       *LSB*)
   7677 	emul="${emul}ltsmip"
   7678 	;;
   7679     esac
   7680     case `$FILECMD conftest.$ac_objext` in
   7681       *N32*)
   7682 	emul="${emul}n32"
   7683 	;;
   7684     esac
   7685     LD="${LD-ld} -m $emul"
   7686   fi
   7687   rm -rf conftest*
   7688   ;;
   7689 
   7690 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7691 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   7692   # Find out what ABI is being produced by ac_compile, and set linker
   7693   # options accordingly.  Note that the listed cases only cover the
   7694   # situations where additional linker options are needed (such as when
   7695   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7696   # vice versa); the common cases where no linker options are needed do
   7697   # not appear in the list.
   7698   echo 'int i;' > conftest.$ac_ext
   7699   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7700   (eval $ac_compile) 2>&5
   7701   ac_status=$?
   7702   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7703   test $ac_status = 0; }; then
   7704     case `$FILECMD conftest.o` in
   7705       *32-bit*)
   7706 	case $host in
   7707 	  x86_64-*kfreebsd*-gnu)
   7708 	    LD="${LD-ld} -m elf_i386_fbsd"
   7709 	    ;;
   7710 	  x86_64-*linux*|x86_64-gnu*)
   7711 	    case `$FILECMD conftest.o` in
   7712 	      *x86-64*)
   7713 		LD="${LD-ld} -m elf32_x86_64"
   7714 		;;
   7715 	      *)
   7716 		LD="${LD-ld} -m elf_i386"
   7717 		;;
   7718 	    esac
   7719 	    ;;
   7720 	  powerpc64le-*linux*)
   7721 	    LD="${LD-ld} -m elf32lppclinux"
   7722 	    ;;
   7723 	  powerpc64-*linux*)
   7724 	    LD="${LD-ld} -m elf32ppclinux"
   7725 	    ;;
   7726 	  s390x-*linux*)
   7727 	    LD="${LD-ld} -m elf_s390"
   7728 	    ;;
   7729 	  sparc64-*linux*)
   7730 	    LD="${LD-ld} -m elf32_sparc"
   7731 	    ;;
   7732 	esac
   7733 	;;
   7734       *64-bit*)
   7735 	case $host in
   7736 	  x86_64-*kfreebsd*-gnu)
   7737 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7738 	    ;;
   7739 	  x86_64-*linux*|x86_64-gnu*)
   7740 	    LD="${LD-ld} -m elf_x86_64"
   7741 	    ;;
   7742 	  powerpcle-*linux*)
   7743 	    LD="${LD-ld} -m elf64lppc"
   7744 	    ;;
   7745 	  powerpc-*linux*)
   7746 	    LD="${LD-ld} -m elf64ppc"
   7747 	    ;;
   7748 	  s390*-*linux*|s390*-*tpf*)
   7749 	    LD="${LD-ld} -m elf64_s390"
   7750 	    ;;
   7751 	  sparc*-*linux*)
   7752 	    LD="${LD-ld} -m elf64_sparc"
   7753 	    ;;
   7754 	esac
   7755 	;;
   7756     esac
   7757   fi
   7758   rm -rf conftest*
   7759   ;;
   7760 
   7761 *-*-sco3.2v5*)
   7762   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7763   SAVE_CFLAGS=$CFLAGS
   7764   CFLAGS="$CFLAGS -belf"
   7765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7766 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7767 if test ${lt_cv_cc_needs_belf+y}
   7768 then :
   7769   printf %s "(cached) " >&6
   7770 else case e in #(
   7771   e) ac_ext=c
   7772 ac_cpp='$CPP $CPPFLAGS'
   7773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7776 
   7777      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7778 /* end confdefs.h.  */
   7779 
   7780 int
   7781 main (void)
   7782 {
   7783 
   7784   ;
   7785   return 0;
   7786 }
   7787 _ACEOF
   7788 if ac_fn_c_try_link "$LINENO"
   7789 then :
   7790   lt_cv_cc_needs_belf=yes
   7791 else case e in #(
   7792   e) lt_cv_cc_needs_belf=no ;;
   7793 esac
   7794 fi
   7795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7796     conftest$ac_exeext conftest.$ac_ext
   7797      ac_ext=c
   7798 ac_cpp='$CPP $CPPFLAGS'
   7799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7802  ;;
   7803 esac
   7804 fi
   7805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7806 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7807   if test yes != "$lt_cv_cc_needs_belf"; then
   7808     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7809     CFLAGS=$SAVE_CFLAGS
   7810   fi
   7811   ;;
   7812 *-*solaris*)
   7813   # Find out what ABI is being produced by ac_compile, and set linker
   7814   # options accordingly.
   7815   echo 'int i;' > conftest.$ac_ext
   7816   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7817   (eval $ac_compile) 2>&5
   7818   ac_status=$?
   7819   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7820   test $ac_status = 0; }; then
   7821     case `$FILECMD conftest.o` in
   7822     *64-bit*)
   7823       case $lt_cv_prog_gnu_ld in
   7824       yes*)
   7825         case $host in
   7826         i?86-*-solaris*|x86_64-*-solaris*)
   7827           LD="${LD-ld} -m elf_x86_64"
   7828           ;;
   7829         sparc*-*-solaris*)
   7830           LD="${LD-ld} -m elf64_sparc"
   7831           ;;
   7832         esac
   7833         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7834         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7835           LD=${LD-ld}_sol2
   7836         fi
   7837         ;;
   7838       *)
   7839 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7840 	  LD="${LD-ld} -64"
   7841 	fi
   7842 	;;
   7843       esac
   7844       ;;
   7845     esac
   7846   fi
   7847   rm -rf conftest*
   7848   ;;
   7849 esac
   7850 
   7851 need_locks=$enable_libtool_lock
   7852 
   7853 if test -n "$ac_tool_prefix"; then
   7854   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7855 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7857 printf %s "checking for $ac_word... " >&6; }
   7858 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7859 then :
   7860   printf %s "(cached) " >&6
   7861 else case e in #(
   7862   e) if test -n "$MANIFEST_TOOL"; then
   7863   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7864 else
   7865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7866 for as_dir in $PATH
   7867 do
   7868   IFS=$as_save_IFS
   7869   case $as_dir in #(((
   7870     '') as_dir=./ ;;
   7871     */) ;;
   7872     *) as_dir=$as_dir/ ;;
   7873   esac
   7874     for ac_exec_ext in '' $ac_executable_extensions; do
   7875   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7876     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7877     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7878     break 2
   7879   fi
   7880 done
   7881   done
   7882 IFS=$as_save_IFS
   7883 
   7884 fi ;;
   7885 esac
   7886 fi
   7887 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7888 if test -n "$MANIFEST_TOOL"; then
   7889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7890 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7891 else
   7892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7893 printf "%s\n" "no" >&6; }
   7894 fi
   7895 
   7896 
   7897 fi
   7898 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7899   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7900   # Extract the first word of "mt", so it can be a program name with args.
   7901 set dummy mt; ac_word=$2
   7902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7903 printf %s "checking for $ac_word... " >&6; }
   7904 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7905 then :
   7906   printf %s "(cached) " >&6
   7907 else case e in #(
   7908   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   7909   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7910 else
   7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7912 for as_dir in $PATH
   7913 do
   7914   IFS=$as_save_IFS
   7915   case $as_dir in #(((
   7916     '') as_dir=./ ;;
   7917     */) ;;
   7918     *) as_dir=$as_dir/ ;;
   7919   esac
   7920     for ac_exec_ext in '' $ac_executable_extensions; do
   7921   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7922     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7923     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7924     break 2
   7925   fi
   7926 done
   7927   done
   7928 IFS=$as_save_IFS
   7929 
   7930 fi ;;
   7931 esac
   7932 fi
   7933 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7934 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7936 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7937 else
   7938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7939 printf "%s\n" "no" >&6; }
   7940 fi
   7941 
   7942   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7943     MANIFEST_TOOL=":"
   7944   else
   7945     case $cross_compiling:$ac_tool_warned in
   7946 yes:)
   7947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7948 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7949 ac_tool_warned=yes ;;
   7950 esac
   7951     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7952   fi
   7953 else
   7954   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7955 fi
   7956 
   7957 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7959 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7960 if test ${lt_cv_path_manifest_tool+y}
   7961 then :
   7962   printf %s "(cached) " >&6
   7963 else case e in #(
   7964   e) lt_cv_path_manifest_tool=no
   7965   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7966   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7967   cat conftest.err >&5
   7968   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7969     lt_cv_path_manifest_tool=yes
   7970   fi
   7971   rm -f conftest* ;;
   7972 esac
   7973 fi
   7974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   7975 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   7976 if test yes != "$lt_cv_path_manifest_tool"; then
   7977   MANIFEST_TOOL=:
   7978 fi
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 
   7985   case $host_os in
   7986     rhapsody* | darwin*)
   7987     if test -n "$ac_tool_prefix"; then
   7988   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7989 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7991 printf %s "checking for $ac_word... " >&6; }
   7992 if test ${ac_cv_prog_DSYMUTIL+y}
   7993 then :
   7994   printf %s "(cached) " >&6
   7995 else case e in #(
   7996   e) if test -n "$DSYMUTIL"; then
   7997   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7998 else
   7999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8000 for as_dir in $PATH
   8001 do
   8002   IFS=$as_save_IFS
   8003   case $as_dir in #(((
   8004     '') as_dir=./ ;;
   8005     */) ;;
   8006     *) as_dir=$as_dir/ ;;
   8007   esac
   8008     for ac_exec_ext in '' $ac_executable_extensions; do
   8009   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8010     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8011     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8012     break 2
   8013   fi
   8014 done
   8015   done
   8016 IFS=$as_save_IFS
   8017 
   8018 fi ;;
   8019 esac
   8020 fi
   8021 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8022 if test -n "$DSYMUTIL"; then
   8023   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8024 printf "%s\n" "$DSYMUTIL" >&6; }
   8025 else
   8026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8027 printf "%s\n" "no" >&6; }
   8028 fi
   8029 
   8030 
   8031 fi
   8032 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8033   ac_ct_DSYMUTIL=$DSYMUTIL
   8034   # Extract the first word of "dsymutil", so it can be a program name with args.
   8035 set dummy dsymutil; ac_word=$2
   8036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8037 printf %s "checking for $ac_word... " >&6; }
   8038 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8039 then :
   8040   printf %s "(cached) " >&6
   8041 else case e in #(
   8042   e) if test -n "$ac_ct_DSYMUTIL"; then
   8043   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8044 else
   8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8046 for as_dir in $PATH
   8047 do
   8048   IFS=$as_save_IFS
   8049   case $as_dir in #(((
   8050     '') as_dir=./ ;;
   8051     */) ;;
   8052     *) as_dir=$as_dir/ ;;
   8053   esac
   8054     for ac_exec_ext in '' $ac_executable_extensions; do
   8055   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8056     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8057     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8058     break 2
   8059   fi
   8060 done
   8061   done
   8062 IFS=$as_save_IFS
   8063 
   8064 fi ;;
   8065 esac
   8066 fi
   8067 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8068 if test -n "$ac_ct_DSYMUTIL"; then
   8069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8070 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8071 else
   8072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8073 printf "%s\n" "no" >&6; }
   8074 fi
   8075 
   8076   if test "x$ac_ct_DSYMUTIL" = x; then
   8077     DSYMUTIL=":"
   8078   else
   8079     case $cross_compiling:$ac_tool_warned in
   8080 yes:)
   8081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8082 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8083 ac_tool_warned=yes ;;
   8084 esac
   8085     DSYMUTIL=$ac_ct_DSYMUTIL
   8086   fi
   8087 else
   8088   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8089 fi
   8090 
   8091     if test -n "$ac_tool_prefix"; then
   8092   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8093 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8095 printf %s "checking for $ac_word... " >&6; }
   8096 if test ${ac_cv_prog_NMEDIT+y}
   8097 then :
   8098   printf %s "(cached) " >&6
   8099 else case e in #(
   8100   e) if test -n "$NMEDIT"; then
   8101   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8102 else
   8103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8104 for as_dir in $PATH
   8105 do
   8106   IFS=$as_save_IFS
   8107   case $as_dir in #(((
   8108     '') as_dir=./ ;;
   8109     */) ;;
   8110     *) as_dir=$as_dir/ ;;
   8111   esac
   8112     for ac_exec_ext in '' $ac_executable_extensions; do
   8113   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8114     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8115     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8116     break 2
   8117   fi
   8118 done
   8119   done
   8120 IFS=$as_save_IFS
   8121 
   8122 fi ;;
   8123 esac
   8124 fi
   8125 NMEDIT=$ac_cv_prog_NMEDIT
   8126 if test -n "$NMEDIT"; then
   8127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8128 printf "%s\n" "$NMEDIT" >&6; }
   8129 else
   8130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8131 printf "%s\n" "no" >&6; }
   8132 fi
   8133 
   8134 
   8135 fi
   8136 if test -z "$ac_cv_prog_NMEDIT"; then
   8137   ac_ct_NMEDIT=$NMEDIT
   8138   # Extract the first word of "nmedit", so it can be a program name with args.
   8139 set dummy nmedit; ac_word=$2
   8140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8141 printf %s "checking for $ac_word... " >&6; }
   8142 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8143 then :
   8144   printf %s "(cached) " >&6
   8145 else case e in #(
   8146   e) if test -n "$ac_ct_NMEDIT"; then
   8147   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8148 else
   8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8150 for as_dir in $PATH
   8151 do
   8152   IFS=$as_save_IFS
   8153   case $as_dir in #(((
   8154     '') as_dir=./ ;;
   8155     */) ;;
   8156     *) as_dir=$as_dir/ ;;
   8157   esac
   8158     for ac_exec_ext in '' $ac_executable_extensions; do
   8159   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8160     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8161     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8162     break 2
   8163   fi
   8164 done
   8165   done
   8166 IFS=$as_save_IFS
   8167 
   8168 fi ;;
   8169 esac
   8170 fi
   8171 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8172 if test -n "$ac_ct_NMEDIT"; then
   8173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8174 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8175 else
   8176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8177 printf "%s\n" "no" >&6; }
   8178 fi
   8179 
   8180   if test "x$ac_ct_NMEDIT" = x; then
   8181     NMEDIT=":"
   8182   else
   8183     case $cross_compiling:$ac_tool_warned in
   8184 yes:)
   8185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8186 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8187 ac_tool_warned=yes ;;
   8188 esac
   8189     NMEDIT=$ac_ct_NMEDIT
   8190   fi
   8191 else
   8192   NMEDIT="$ac_cv_prog_NMEDIT"
   8193 fi
   8194 
   8195     if test -n "$ac_tool_prefix"; then
   8196   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8197 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8199 printf %s "checking for $ac_word... " >&6; }
   8200 if test ${ac_cv_prog_LIPO+y}
   8201 then :
   8202   printf %s "(cached) " >&6
   8203 else case e in #(
   8204   e) if test -n "$LIPO"; then
   8205   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8206 else
   8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8208 for as_dir in $PATH
   8209 do
   8210   IFS=$as_save_IFS
   8211   case $as_dir in #(((
   8212     '') as_dir=./ ;;
   8213     */) ;;
   8214     *) as_dir=$as_dir/ ;;
   8215   esac
   8216     for ac_exec_ext in '' $ac_executable_extensions; do
   8217   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8218     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8219     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8220     break 2
   8221   fi
   8222 done
   8223   done
   8224 IFS=$as_save_IFS
   8225 
   8226 fi ;;
   8227 esac
   8228 fi
   8229 LIPO=$ac_cv_prog_LIPO
   8230 if test -n "$LIPO"; then
   8231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8232 printf "%s\n" "$LIPO" >&6; }
   8233 else
   8234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8235 printf "%s\n" "no" >&6; }
   8236 fi
   8237 
   8238 
   8239 fi
   8240 if test -z "$ac_cv_prog_LIPO"; then
   8241   ac_ct_LIPO=$LIPO
   8242   # Extract the first word of "lipo", so it can be a program name with args.
   8243 set dummy lipo; ac_word=$2
   8244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8245 printf %s "checking for $ac_word... " >&6; }
   8246 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8247 then :
   8248   printf %s "(cached) " >&6
   8249 else case e in #(
   8250   e) if test -n "$ac_ct_LIPO"; then
   8251   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8252 else
   8253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8254 for as_dir in $PATH
   8255 do
   8256   IFS=$as_save_IFS
   8257   case $as_dir in #(((
   8258     '') as_dir=./ ;;
   8259     */) ;;
   8260     *) as_dir=$as_dir/ ;;
   8261   esac
   8262     for ac_exec_ext in '' $ac_executable_extensions; do
   8263   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8264     ac_cv_prog_ac_ct_LIPO="lipo"
   8265     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8266     break 2
   8267   fi
   8268 done
   8269   done
   8270 IFS=$as_save_IFS
   8271 
   8272 fi ;;
   8273 esac
   8274 fi
   8275 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8276 if test -n "$ac_ct_LIPO"; then
   8277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8278 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8279 else
   8280   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8281 printf "%s\n" "no" >&6; }
   8282 fi
   8283 
   8284   if test "x$ac_ct_LIPO" = x; then
   8285     LIPO=":"
   8286   else
   8287     case $cross_compiling:$ac_tool_warned in
   8288 yes:)
   8289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8290 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8291 ac_tool_warned=yes ;;
   8292 esac
   8293     LIPO=$ac_ct_LIPO
   8294   fi
   8295 else
   8296   LIPO="$ac_cv_prog_LIPO"
   8297 fi
   8298 
   8299     if test -n "$ac_tool_prefix"; then
   8300   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8301 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8303 printf %s "checking for $ac_word... " >&6; }
   8304 if test ${ac_cv_prog_OTOOL+y}
   8305 then :
   8306   printf %s "(cached) " >&6
   8307 else case e in #(
   8308   e) if test -n "$OTOOL"; then
   8309   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8310 else
   8311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8312 for as_dir in $PATH
   8313 do
   8314   IFS=$as_save_IFS
   8315   case $as_dir in #(((
   8316     '') as_dir=./ ;;
   8317     */) ;;
   8318     *) as_dir=$as_dir/ ;;
   8319   esac
   8320     for ac_exec_ext in '' $ac_executable_extensions; do
   8321   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8322     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8323     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8324     break 2
   8325   fi
   8326 done
   8327   done
   8328 IFS=$as_save_IFS
   8329 
   8330 fi ;;
   8331 esac
   8332 fi
   8333 OTOOL=$ac_cv_prog_OTOOL
   8334 if test -n "$OTOOL"; then
   8335   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8336 printf "%s\n" "$OTOOL" >&6; }
   8337 else
   8338   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8339 printf "%s\n" "no" >&6; }
   8340 fi
   8341 
   8342 
   8343 fi
   8344 if test -z "$ac_cv_prog_OTOOL"; then
   8345   ac_ct_OTOOL=$OTOOL
   8346   # Extract the first word of "otool", so it can be a program name with args.
   8347 set dummy otool; ac_word=$2
   8348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8349 printf %s "checking for $ac_word... " >&6; }
   8350 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8351 then :
   8352   printf %s "(cached) " >&6
   8353 else case e in #(
   8354   e) if test -n "$ac_ct_OTOOL"; then
   8355   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8356 else
   8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8358 for as_dir in $PATH
   8359 do
   8360   IFS=$as_save_IFS
   8361   case $as_dir in #(((
   8362     '') as_dir=./ ;;
   8363     */) ;;
   8364     *) as_dir=$as_dir/ ;;
   8365   esac
   8366     for ac_exec_ext in '' $ac_executable_extensions; do
   8367   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8368     ac_cv_prog_ac_ct_OTOOL="otool"
   8369     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8370     break 2
   8371   fi
   8372 done
   8373   done
   8374 IFS=$as_save_IFS
   8375 
   8376 fi ;;
   8377 esac
   8378 fi
   8379 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8380 if test -n "$ac_ct_OTOOL"; then
   8381   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8382 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8383 else
   8384   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8385 printf "%s\n" "no" >&6; }
   8386 fi
   8387 
   8388   if test "x$ac_ct_OTOOL" = x; then
   8389     OTOOL=":"
   8390   else
   8391     case $cross_compiling:$ac_tool_warned in
   8392 yes:)
   8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8394 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8395 ac_tool_warned=yes ;;
   8396 esac
   8397     OTOOL=$ac_ct_OTOOL
   8398   fi
   8399 else
   8400   OTOOL="$ac_cv_prog_OTOOL"
   8401 fi
   8402 
   8403     if test -n "$ac_tool_prefix"; then
   8404   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8405 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8407 printf %s "checking for $ac_word... " >&6; }
   8408 if test ${ac_cv_prog_OTOOL64+y}
   8409 then :
   8410   printf %s "(cached) " >&6
   8411 else case e in #(
   8412   e) if test -n "$OTOOL64"; then
   8413   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8414 else
   8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8416 for as_dir in $PATH
   8417 do
   8418   IFS=$as_save_IFS
   8419   case $as_dir in #(((
   8420     '') as_dir=./ ;;
   8421     */) ;;
   8422     *) as_dir=$as_dir/ ;;
   8423   esac
   8424     for ac_exec_ext in '' $ac_executable_extensions; do
   8425   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8426     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8428     break 2
   8429   fi
   8430 done
   8431   done
   8432 IFS=$as_save_IFS
   8433 
   8434 fi ;;
   8435 esac
   8436 fi
   8437 OTOOL64=$ac_cv_prog_OTOOL64
   8438 if test -n "$OTOOL64"; then
   8439   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8440 printf "%s\n" "$OTOOL64" >&6; }
   8441 else
   8442   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8443 printf "%s\n" "no" >&6; }
   8444 fi
   8445 
   8446 
   8447 fi
   8448 if test -z "$ac_cv_prog_OTOOL64"; then
   8449   ac_ct_OTOOL64=$OTOOL64
   8450   # Extract the first word of "otool64", so it can be a program name with args.
   8451 set dummy otool64; ac_word=$2
   8452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8453 printf %s "checking for $ac_word... " >&6; }
   8454 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8455 then :
   8456   printf %s "(cached) " >&6
   8457 else case e in #(
   8458   e) if test -n "$ac_ct_OTOOL64"; then
   8459   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8460 else
   8461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8462 for as_dir in $PATH
   8463 do
   8464   IFS=$as_save_IFS
   8465   case $as_dir in #(((
   8466     '') as_dir=./ ;;
   8467     */) ;;
   8468     *) as_dir=$as_dir/ ;;
   8469   esac
   8470     for ac_exec_ext in '' $ac_executable_extensions; do
   8471   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8472     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8473     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8474     break 2
   8475   fi
   8476 done
   8477   done
   8478 IFS=$as_save_IFS
   8479 
   8480 fi ;;
   8481 esac
   8482 fi
   8483 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8484 if test -n "$ac_ct_OTOOL64"; then
   8485   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8486 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8487 else
   8488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8489 printf "%s\n" "no" >&6; }
   8490 fi
   8491 
   8492   if test "x$ac_ct_OTOOL64" = x; then
   8493     OTOOL64=":"
   8494   else
   8495     case $cross_compiling:$ac_tool_warned in
   8496 yes:)
   8497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8498 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8499 ac_tool_warned=yes ;;
   8500 esac
   8501     OTOOL64=$ac_ct_OTOOL64
   8502   fi
   8503 else
   8504   OTOOL64="$ac_cv_prog_OTOOL64"
   8505 fi
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8534 printf %s "checking for -single_module linker flag... " >&6; }
   8535 if test ${lt_cv_apple_cc_single_mod+y}
   8536 then :
   8537   printf %s "(cached) " >&6
   8538 else case e in #(
   8539   e) lt_cv_apple_cc_single_mod=no
   8540       if test -z "$LT_MULTI_MODULE"; then
   8541 	# By default we will add the -single_module flag. You can override
   8542 	# by either setting the environment variable LT_MULTI_MODULE
   8543 	# non-empty at configure time, or by adding -multi_module to the
   8544 	# link flags.
   8545 	rm -rf libconftest.dylib*
   8546 	echo "int foo(void){return 1;}" > conftest.c
   8547 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8548 -dynamiclib -Wl,-single_module conftest.c" >&5
   8549 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8550 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8551         _lt_result=$?
   8552 	# If there is a non-empty error log, and "single_module"
   8553 	# appears in it, assume the flag caused a linker warning
   8554         if test -s conftest.err && $GREP single_module conftest.err; then
   8555 	  cat conftest.err >&5
   8556 	# Otherwise, if the output was created with a 0 exit code from
   8557 	# the compiler, it worked.
   8558 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8559 	  lt_cv_apple_cc_single_mod=yes
   8560 	else
   8561 	  cat conftest.err >&5
   8562 	fi
   8563 	rm -rf libconftest.dylib*
   8564 	rm -f conftest.*
   8565       fi ;;
   8566 esac
   8567 fi
   8568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8569 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8570 
   8571     # Feature test to disable chained fixups since it is not
   8572     # compatible with '-undefined dynamic_lookup'
   8573     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8574 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8575 if test ${lt_cv_support_no_fixup_chains+y}
   8576 then :
   8577   printf %s "(cached) " >&6
   8578 else case e in #(
   8579   e)  save_LDFLAGS=$LDFLAGS
   8580         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8581         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8582 /* end confdefs.h.  */
   8583 
   8584 int
   8585 main (void)
   8586 {
   8587 
   8588   ;
   8589   return 0;
   8590 }
   8591 _ACEOF
   8592 if ac_fn_c_try_link "$LINENO"
   8593 then :
   8594   lt_cv_support_no_fixup_chains=yes
   8595 else case e in #(
   8596   e) lt_cv_support_no_fixup_chains=no
   8597          ;;
   8598 esac
   8599 fi
   8600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8601     conftest$ac_exeext conftest.$ac_ext
   8602         LDFLAGS=$save_LDFLAGS
   8603 
   8604      ;;
   8605 esac
   8606 fi
   8607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8608 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   8609 
   8610     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8611 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8612 if test ${lt_cv_ld_exported_symbols_list+y}
   8613 then :
   8614   printf %s "(cached) " >&6
   8615 else case e in #(
   8616   e) lt_cv_ld_exported_symbols_list=no
   8617       save_LDFLAGS=$LDFLAGS
   8618       echo "_main" > conftest.sym
   8619       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8621 /* end confdefs.h.  */
   8622 
   8623 int
   8624 main (void)
   8625 {
   8626 
   8627   ;
   8628   return 0;
   8629 }
   8630 _ACEOF
   8631 if ac_fn_c_try_link "$LINENO"
   8632 then :
   8633   lt_cv_ld_exported_symbols_list=yes
   8634 else case e in #(
   8635   e) lt_cv_ld_exported_symbols_list=no ;;
   8636 esac
   8637 fi
   8638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8639     conftest$ac_exeext conftest.$ac_ext
   8640 	LDFLAGS=$save_LDFLAGS
   8641      ;;
   8642 esac
   8643 fi
   8644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8645 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8646 
   8647     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8648 printf %s "checking for -force_load linker flag... " >&6; }
   8649 if test ${lt_cv_ld_force_load+y}
   8650 then :
   8651   printf %s "(cached) " >&6
   8652 else case e in #(
   8653   e) lt_cv_ld_force_load=no
   8654       cat > conftest.c << _LT_EOF
   8655 int forced_loaded() { return 2;}
   8656 _LT_EOF
   8657       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8658       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8659       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8660       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8661       echo "$RANLIB libconftest.a" >&5
   8662       $RANLIB libconftest.a 2>&5
   8663       cat > conftest.c << _LT_EOF
   8664 int main(void) { return 0;}
   8665 _LT_EOF
   8666       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8667       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8668       _lt_result=$?
   8669       if test -s conftest.err && $GREP force_load conftest.err; then
   8670 	cat conftest.err >&5
   8671       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8672 	lt_cv_ld_force_load=yes
   8673       else
   8674 	cat conftest.err >&5
   8675       fi
   8676         rm -f conftest.err libconftest.a conftest conftest.c
   8677         rm -rf conftest.dSYM
   8678      ;;
   8679 esac
   8680 fi
   8681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8682 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8683     case $host_os in
   8684     rhapsody* | darwin1.[012])
   8685       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8686     darwin1.*)
   8687       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8688     darwin*)
   8689       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8690         10.[012],*|,*powerpc*-darwin[5-8]*)
   8691           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8692         *)
   8693           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   8694           if test yes = "$lt_cv_support_no_fixup_chains"; then
   8695             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   8696           fi
   8697         ;;
   8698       esac
   8699     ;;
   8700   esac
   8701     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8702       _lt_dar_single_mod='$single_module'
   8703     fi
   8704     _lt_dar_needs_single_mod=no
   8705     case $host_os in
   8706     rhapsody* | darwin1.*)
   8707       _lt_dar_needs_single_mod=yes ;;
   8708     darwin*)
   8709       # When targeting Mac OS X 10.4 (darwin 8) or later,
   8710       # -single_module is the default and -multi_module is unsupported.
   8711       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   8712       # target any OS version that needs -single_module.
   8713       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8714       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   8715         _lt_dar_needs_single_mod=yes ;;
   8716       esac
   8717     ;;
   8718     esac
   8719     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8720       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8721     else
   8722       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8723     fi
   8724     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8725       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8726     else
   8727       _lt_dsymutil=
   8728     fi
   8729     ;;
   8730   esac
   8731 
   8732 # func_munge_path_list VARIABLE PATH
   8733 # -----------------------------------
   8734 # VARIABLE is name of variable containing _space_ separated list of
   8735 # directories to be munged by the contents of PATH, which is string
   8736 # having a format:
   8737 # "DIR[:DIR]:"
   8738 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8739 # ":DIR[:DIR]"
   8740 #       string "DIR[ DIR]" will be appended to VARIABLE
   8741 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8742 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8743 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8744 # "DIR[:DIR]"
   8745 #       VARIABLE will be replaced by "DIR[ DIR]"
   8746 func_munge_path_list ()
   8747 {
   8748     case x$2 in
   8749     x)
   8750         ;;
   8751     *:)
   8752         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8753         ;;
   8754     x:*)
   8755         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8756         ;;
   8757     *::*)
   8758         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8759         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8760         ;;
   8761     *)
   8762         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8763         ;;
   8764     esac
   8765 }
   8766 
   8767 ac_header= ac_cache=
   8768 for ac_item in $ac_header_c_list
   8769 do
   8770   if test $ac_cache; then
   8771     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8772     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8773       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8774     fi
   8775     ac_header= ac_cache=
   8776   elif test $ac_header; then
   8777     ac_cache=$ac_item
   8778   else
   8779     ac_header=$ac_item
   8780   fi
   8781 done
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8791 then :
   8792 
   8793 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8794 
   8795 fi
   8796 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8797 "
   8798 if test "x$ac_cv_header_dlfcn_h" = xyes
   8799 then :
   8800   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8801 
   8802 fi
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 # Set options
   8809 
   8810 
   8811 
   8812         enable_dlopen=no
   8813 
   8814 
   8815   enable_win32_dll=no
   8816 
   8817 
   8818             # Check whether --enable-shared was given.
   8819 if test ${enable_shared+y}
   8820 then :
   8821   enableval=$enable_shared; p=${PACKAGE-default}
   8822     case $enableval in
   8823     yes) enable_shared=yes ;;
   8824     no) enable_shared=no ;;
   8825     *)
   8826       enable_shared=no
   8827       # Look at the argument we got.  We use all the common list separators.
   8828       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8829       for pkg in $enableval; do
   8830 	IFS=$lt_save_ifs
   8831 	if test "X$pkg" = "X$p"; then
   8832 	  enable_shared=yes
   8833 	fi
   8834       done
   8835       IFS=$lt_save_ifs
   8836       ;;
   8837     esac
   8838 else case e in #(
   8839   e) enable_shared=yes ;;
   8840 esac
   8841 fi
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851   # Check whether --enable-static was given.
   8852 if test ${enable_static+y}
   8853 then :
   8854   enableval=$enable_static; p=${PACKAGE-default}
   8855     case $enableval in
   8856     yes) enable_static=yes ;;
   8857     no) enable_static=no ;;
   8858     *)
   8859      enable_static=no
   8860       # Look at the argument we got.  We use all the common list separators.
   8861       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8862       for pkg in $enableval; do
   8863 	IFS=$lt_save_ifs
   8864 	if test "X$pkg" = "X$p"; then
   8865 	  enable_static=yes
   8866 	fi
   8867       done
   8868       IFS=$lt_save_ifs
   8869       ;;
   8870     esac
   8871 else case e in #(
   8872   e) enable_static=yes ;;
   8873 esac
   8874 fi
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884   # Check whether --enable-pic was given.
   8885 if test ${enable_pic+y}
   8886 then :
   8887   enableval=$enable_pic; lt_p=${PACKAGE-default}
   8888      case $enableval in
   8889      yes|no) pic_mode=$enableval ;;
   8890      *)
   8891        pic_mode=default
   8892        # Look at the argument we got.  We use all the common list separators.
   8893        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8894        for lt_pkg in $enableval; do
   8895 	 IFS=$lt_save_ifs
   8896 	 if test "X$lt_pkg" = "X$lt_p"; then
   8897 	   pic_mode=yes
   8898 	 fi
   8899        done
   8900        IFS=$lt_save_ifs
   8901        ;;
   8902      esac
   8903 else case e in #(
   8904   e)           # Check whether --with-pic was given.
   8905 if test ${with_pic+y}
   8906 then :
   8907   withval=$with_pic; lt_p=${PACKAGE-default}
   8908 	 case $withval in
   8909 	 yes|no) pic_mode=$withval ;;
   8910 	 *)
   8911 	   pic_mode=default
   8912 	   # Look at the argument we got.  We use all the common list separators.
   8913 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8914 	   for lt_pkg in $withval; do
   8915 	     IFS=$lt_save_ifs
   8916 	     if test "X$lt_pkg" = "X$lt_p"; then
   8917 	       pic_mode=yes
   8918 	     fi
   8919 	   done
   8920 	   IFS=$lt_save_ifs
   8921 	   ;;
   8922 	 esac
   8923 else case e in #(
   8924   e) pic_mode=default ;;
   8925 esac
   8926 fi
   8927 
   8928      ;;
   8929 esac
   8930 fi
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939   # Check whether --enable-fast-install was given.
   8940 if test ${enable_fast_install+y}
   8941 then :
   8942   enableval=$enable_fast_install; p=${PACKAGE-default}
   8943     case $enableval in
   8944     yes) enable_fast_install=yes ;;
   8945     no) enable_fast_install=no ;;
   8946     *)
   8947       enable_fast_install=no
   8948       # Look at the argument we got.  We use all the common list separators.
   8949       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8950       for pkg in $enableval; do
   8951 	IFS=$lt_save_ifs
   8952 	if test "X$pkg" = "X$p"; then
   8953 	  enable_fast_install=yes
   8954 	fi
   8955       done
   8956       IFS=$lt_save_ifs
   8957       ;;
   8958     esac
   8959 else case e in #(
   8960   e) enable_fast_install=yes ;;
   8961 esac
   8962 fi
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971   shared_archive_member_spec=
   8972 case $host,$enable_shared in
   8973 power*-*-aix[5-9]*,yes)
   8974   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8975 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8976   # Check whether --enable-aix-soname was given.
   8977 if test ${enable_aix_soname+y}
   8978 then :
   8979   enableval=$enable_aix_soname; case $enableval in
   8980      aix|svr4|both)
   8981        ;;
   8982      *)
   8983        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   8984        ;;
   8985      esac
   8986      lt_cv_with_aix_soname=$enable_aix_soname
   8987 else case e in #(
   8988   e) # Check whether --with-aix-soname was given.
   8989 if test ${with_aix_soname+y}
   8990 then :
   8991   withval=$with_aix_soname; case $withval in
   8992          aix|svr4|both)
   8993            ;;
   8994          *)
   8995            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8996            ;;
   8997          esac
   8998          lt_cv_with_aix_soname=$with_aix_soname
   8999 else case e in #(
   9000   e) if test ${lt_cv_with_aix_soname+y}
   9001 then :
   9002   printf %s "(cached) " >&6
   9003 else case e in #(
   9004   e) lt_cv_with_aix_soname=aix ;;
   9005 esac
   9006 fi
   9007  ;;
   9008 esac
   9009 fi
   9010 
   9011      enable_aix_soname=$lt_cv_with_aix_soname ;;
   9012 esac
   9013 fi
   9014 
   9015   with_aix_soname=$enable_aix_soname
   9016   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9017 printf "%s\n" "$with_aix_soname" >&6; }
   9018   if test aix != "$with_aix_soname"; then
   9019     # For the AIX way of multilib, we name the shared archive member
   9020     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9021     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9022     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9023     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9024     if test 64 = "${OBJECT_MODE-32}"; then
   9025       shared_archive_member_spec=shr_64
   9026     else
   9027       shared_archive_member_spec=shr
   9028     fi
   9029   fi
   9030   ;;
   9031 *)
   9032   with_aix_soname=aix
   9033   ;;
   9034 esac
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 # This can be used to rebuild libtool when needed
   9046 LIBTOOL_DEPS=$ltmain
   9047 
   9048 # Always use our own libtool.
   9049 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 test -z "$LN_S" && LN_S="ln -s"
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 if test -n "${ZSH_VERSION+set}"; then
   9096    setopt NO_GLOB_SUBST
   9097 fi
   9098 
   9099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9100 printf %s "checking for objdir... " >&6; }
   9101 if test ${lt_cv_objdir+y}
   9102 then :
   9103   printf %s "(cached) " >&6
   9104 else case e in #(
   9105   e) rm -f .libs 2>/dev/null
   9106 mkdir .libs 2>/dev/null
   9107 if test -d .libs; then
   9108   lt_cv_objdir=.libs
   9109 else
   9110   # MS-DOS does not allow filenames that begin with a dot.
   9111   lt_cv_objdir=_libs
   9112 fi
   9113 rmdir .libs 2>/dev/null ;;
   9114 esac
   9115 fi
   9116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9117 printf "%s\n" "$lt_cv_objdir" >&6; }
   9118 objdir=$lt_cv_objdir
   9119 
   9120 
   9121 
   9122 
   9123 
   9124 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9125 
   9126 
   9127 
   9128 
   9129 case $host_os in
   9130 aix3*)
   9131   # AIX sometimes has problems with the GCC collect2 program.  For some
   9132   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9133   # vanish in a puff of smoke.
   9134   if test set != "${COLLECT_NAMES+set}"; then
   9135     COLLECT_NAMES=
   9136     export COLLECT_NAMES
   9137   fi
   9138   ;;
   9139 esac
   9140 
   9141 # Global variables:
   9142 ofile=libtool
   9143 can_build_shared=yes
   9144 
   9145 # All known linkers require a '.a' archive for static linking (except MSVC and
   9146 # ICC, which need '.lib').
   9147 libext=a
   9148 
   9149 with_gnu_ld=$lt_cv_prog_gnu_ld
   9150 
   9151 old_CC=$CC
   9152 old_CFLAGS=$CFLAGS
   9153 
   9154 # Set sane defaults for various variables
   9155 test -z "$CC" && CC=cc
   9156 test -z "$LTCC" && LTCC=$CC
   9157 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9158 test -z "$LD" && LD=ld
   9159 test -z "$ac_objext" && ac_objext=o
   9160 
   9161 func_cc_basename $compiler
   9162 cc_basename=$func_cc_basename_result
   9163 
   9164 
   9165 # Only perform the check for file, if the check method requires it
   9166 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9167 case $deplibs_check_method in
   9168 file_magic*)
   9169   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9170     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9171 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9172 if test ${lt_cv_path_MAGIC_CMD+y}
   9173 then :
   9174   printf %s "(cached) " >&6
   9175 else case e in #(
   9176   e) case $MAGIC_CMD in
   9177 [\\/*] |  ?:[\\/]*)
   9178   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9179   ;;
   9180 *)
   9181   lt_save_MAGIC_CMD=$MAGIC_CMD
   9182   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9183   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9184   for ac_dir in $ac_dummy; do
   9185     IFS=$lt_save_ifs
   9186     test -z "$ac_dir" && ac_dir=.
   9187     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9188       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9189       if test -n "$file_magic_test_file"; then
   9190 	case $deplibs_check_method in
   9191 	"file_magic "*)
   9192 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9193 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9194 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9195 	    $EGREP "$file_magic_regex" > /dev/null; then
   9196 	    :
   9197 	  else
   9198 	    cat <<_LT_EOF 1>&2
   9199 
   9200 *** Warning: the command libtool uses to detect shared libraries,
   9201 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9202 *** The result is that libtool may fail to recognize shared libraries
   9203 *** as such.  This will affect the creation of libtool libraries that
   9204 *** depend on shared libraries, but programs linked with such libtool
   9205 *** libraries will work regardless of this problem.  Nevertheless, you
   9206 *** may want to report the problem to your system manager and/or to
   9207 *** bug-libtool@gnu.org
   9208 
   9209 _LT_EOF
   9210 	  fi ;;
   9211 	esac
   9212       fi
   9213       break
   9214     fi
   9215   done
   9216   IFS=$lt_save_ifs
   9217   MAGIC_CMD=$lt_save_MAGIC_CMD
   9218   ;;
   9219 esac ;;
   9220 esac
   9221 fi
   9222 
   9223 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9224 if test -n "$MAGIC_CMD"; then
   9225   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9226 printf "%s\n" "$MAGIC_CMD" >&6; }
   9227 else
   9228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9229 printf "%s\n" "no" >&6; }
   9230 fi
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9237   if test -n "$ac_tool_prefix"; then
   9238     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9239 printf %s "checking for file... " >&6; }
   9240 if test ${lt_cv_path_MAGIC_CMD+y}
   9241 then :
   9242   printf %s "(cached) " >&6
   9243 else case e in #(
   9244   e) case $MAGIC_CMD in
   9245 [\\/*] |  ?:[\\/]*)
   9246   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9247   ;;
   9248 *)
   9249   lt_save_MAGIC_CMD=$MAGIC_CMD
   9250   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9251   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9252   for ac_dir in $ac_dummy; do
   9253     IFS=$lt_save_ifs
   9254     test -z "$ac_dir" && ac_dir=.
   9255     if test -f "$ac_dir/file"; then
   9256       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9257       if test -n "$file_magic_test_file"; then
   9258 	case $deplibs_check_method in
   9259 	"file_magic "*)
   9260 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9261 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9262 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9263 	    $EGREP "$file_magic_regex" > /dev/null; then
   9264 	    :
   9265 	  else
   9266 	    cat <<_LT_EOF 1>&2
   9267 
   9268 *** Warning: the command libtool uses to detect shared libraries,
   9269 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9270 *** The result is that libtool may fail to recognize shared libraries
   9271 *** as such.  This will affect the creation of libtool libraries that
   9272 *** depend on shared libraries, but programs linked with such libtool
   9273 *** libraries will work regardless of this problem.  Nevertheless, you
   9274 *** may want to report the problem to your system manager and/or to
   9275 *** bug-libtool@gnu.org
   9276 
   9277 _LT_EOF
   9278 	  fi ;;
   9279 	esac
   9280       fi
   9281       break
   9282     fi
   9283   done
   9284   IFS=$lt_save_ifs
   9285   MAGIC_CMD=$lt_save_MAGIC_CMD
   9286   ;;
   9287 esac ;;
   9288 esac
   9289 fi
   9290 
   9291 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9292 if test -n "$MAGIC_CMD"; then
   9293   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9294 printf "%s\n" "$MAGIC_CMD" >&6; }
   9295 else
   9296   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9297 printf "%s\n" "no" >&6; }
   9298 fi
   9299 
   9300 
   9301   else
   9302     MAGIC_CMD=:
   9303   fi
   9304 fi
   9305 
   9306   fi
   9307   ;;
   9308 esac
   9309 
   9310 # Use C for the default configuration in the libtool script
   9311 
   9312 lt_save_CC=$CC
   9313 ac_ext=c
   9314 ac_cpp='$CPP $CPPFLAGS'
   9315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9318 
   9319 
   9320 # Source file extension for C test sources.
   9321 ac_ext=c
   9322 
   9323 # Object file extension for compiled C test sources.
   9324 objext=o
   9325 objext=$objext
   9326 
   9327 # Code to be used in simple compile tests
   9328 lt_simple_compile_test_code="int some_variable = 0;"
   9329 
   9330 # Code to be used in simple link tests
   9331 lt_simple_link_test_code='int main(void){return(0);}'
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 # If no C compiler was specified, use CC.
   9340 LTCC=${LTCC-"$CC"}
   9341 
   9342 # If no C compiler flags were specified, use CFLAGS.
   9343 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9344 
   9345 # Allow CC to be a program name with arguments.
   9346 compiler=$CC
   9347 
   9348 # Save the default compiler, since it gets overwritten when the other
   9349 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9350 compiler_DEFAULT=$CC
   9351 
   9352 # save warnings/boilerplate of simple test code
   9353 ac_outfile=conftest.$ac_objext
   9354 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9355 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9356 _lt_compiler_boilerplate=`cat conftest.err`
   9357 $RM conftest*
   9358 
   9359 ac_outfile=conftest.$ac_objext
   9360 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9361 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9362 _lt_linker_boilerplate=`cat conftest.err`
   9363 $RM -r conftest*
   9364 
   9365 
   9366 ## CAVEAT EMPTOR:
   9367 ## There is no encapsulation within the following macros, do not change
   9368 ## the running order or otherwise move them around unless you know exactly
   9369 ## what you are doing...
   9370 if test -n "$compiler"; then
   9371 
   9372 lt_prog_compiler_no_builtin_flag=
   9373 
   9374 if test yes = "$GCC"; then
   9375   case $cc_basename in
   9376   nvcc*)
   9377     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9378   *)
   9379     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9380   esac
   9381 
   9382   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9383 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9384 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9385 then :
   9386   printf %s "(cached) " >&6
   9387 else case e in #(
   9388   e) lt_cv_prog_compiler_rtti_exceptions=no
   9389    ac_outfile=conftest.$ac_objext
   9390    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9391    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9392    # Insert the option either (1) after the last *FLAGS variable, or
   9393    # (2) before a word containing "conftest.", or (3) at the end.
   9394    # Note that $ac_compile itself does not contain backslashes and begins
   9395    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9396    # The option is referenced via a variable to avoid confusing sed.
   9397    lt_compile=`echo "$ac_compile" | $SED \
   9398    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9399    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9400    -e 's:$: $lt_compiler_flag:'`
   9401    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9402    (eval "$lt_compile" 2>conftest.err)
   9403    ac_status=$?
   9404    cat conftest.err >&5
   9405    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9406    if (exit $ac_status) && test -s "$ac_outfile"; then
   9407      # The compiler can only warn and ignore the option if not recognized
   9408      # So say no if there are warnings other than the usual output.
   9409      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9410      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9411      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9412        lt_cv_prog_compiler_rtti_exceptions=yes
   9413      fi
   9414    fi
   9415    $RM conftest*
   9416  ;;
   9417 esac
   9418 fi
   9419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9420 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9421 
   9422 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9423     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9424 else
   9425     :
   9426 fi
   9427 
   9428 fi
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435   lt_prog_compiler_wl=
   9436 lt_prog_compiler_pic=
   9437 lt_prog_compiler_static=
   9438 
   9439 
   9440   if test yes = "$GCC"; then
   9441     lt_prog_compiler_wl='-Wl,'
   9442     lt_prog_compiler_static='-static'
   9443 
   9444     case $host_os in
   9445       aix*)
   9446       # All AIX code is PIC.
   9447       if test ia64 = "$host_cpu"; then
   9448 	# AIX 5 now supports IA64 processor
   9449 	lt_prog_compiler_static='-Bstatic'
   9450       fi
   9451       lt_prog_compiler_pic='-fPIC'
   9452       ;;
   9453 
   9454     amigaos*)
   9455       case $host_cpu in
   9456       powerpc)
   9457             # see comment about AmigaOS4 .so support
   9458             lt_prog_compiler_pic='-fPIC'
   9459         ;;
   9460       m68k)
   9461             # FIXME: we need at least 68020 code to build shared libraries, but
   9462             # adding the '-m68020' flag to GCC prevents building anything better,
   9463             # like '-m68040'.
   9464             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9465         ;;
   9466       esac
   9467       ;;
   9468 
   9469     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9470       # PIC is the default for these OSes.
   9471       ;;
   9472 
   9473     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9474       # This hack is so that the source file can tell whether it is being
   9475       # built for inclusion in a dll (and should export symbols for example).
   9476       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9477       # (--disable-auto-import) libraries
   9478       lt_prog_compiler_pic='-DDLL_EXPORT'
   9479       case $host_os in
   9480       os2*)
   9481 	lt_prog_compiler_static='$wl-static'
   9482 	;;
   9483       esac
   9484       ;;
   9485 
   9486     darwin* | rhapsody*)
   9487       # PIC is the default on this platform
   9488       # Common symbols not allowed in MH_DYLIB files
   9489       lt_prog_compiler_pic='-fno-common'
   9490       ;;
   9491 
   9492     haiku*)
   9493       # PIC is the default for Haiku.
   9494       # The "-static" flag exists, but is broken.
   9495       lt_prog_compiler_static=
   9496       ;;
   9497 
   9498     hpux*)
   9499       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9500       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9501       # sets the default TLS model and affects inlining.
   9502       case $host_cpu in
   9503       hppa*64*)
   9504 	# +Z the default
   9505 	;;
   9506       *)
   9507 	lt_prog_compiler_pic='-fPIC'
   9508 	;;
   9509       esac
   9510       ;;
   9511 
   9512     interix[3-9]*)
   9513       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9514       # Instead, we relocate shared libraries at runtime.
   9515       ;;
   9516 
   9517     msdosdjgpp*)
   9518       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9519       # on systems that don't support them.
   9520       lt_prog_compiler_can_build_shared=no
   9521       enable_shared=no
   9522       ;;
   9523 
   9524     *nto* | *qnx*)
   9525       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9526       # it will coredump.
   9527       lt_prog_compiler_pic='-fPIC -shared'
   9528       ;;
   9529 
   9530     sysv4*MP*)
   9531       if test -d /usr/nec; then
   9532 	lt_prog_compiler_pic=-Kconform_pic
   9533       fi
   9534       ;;
   9535 
   9536     *)
   9537       lt_prog_compiler_pic='-fPIC'
   9538       ;;
   9539     esac
   9540 
   9541     case $cc_basename in
   9542     nvcc*) # Cuda Compiler Driver 2.2
   9543       lt_prog_compiler_wl='-Xlinker '
   9544       if test -n "$lt_prog_compiler_pic"; then
   9545         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9546       fi
   9547       ;;
   9548     esac
   9549   else
   9550     # PORTME Check for flag to pass linker flags through the system compiler.
   9551     case $host_os in
   9552     aix*)
   9553       lt_prog_compiler_wl='-Wl,'
   9554       if test ia64 = "$host_cpu"; then
   9555 	# AIX 5 now supports IA64 processor
   9556 	lt_prog_compiler_static='-Bstatic'
   9557       else
   9558 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9559       fi
   9560       ;;
   9561 
   9562     darwin* | rhapsody*)
   9563       # PIC is the default on this platform
   9564       # Common symbols not allowed in MH_DYLIB files
   9565       lt_prog_compiler_pic='-fno-common'
   9566       case $cc_basename in
   9567       nagfor*)
   9568         # NAG Fortran compiler
   9569         lt_prog_compiler_wl='-Wl,-Wl,,'
   9570         lt_prog_compiler_pic='-PIC'
   9571         lt_prog_compiler_static='-Bstatic'
   9572         ;;
   9573       esac
   9574       ;;
   9575 
   9576     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9577       # This hack is so that the source file can tell whether it is being
   9578       # built for inclusion in a dll (and should export symbols for example).
   9579       lt_prog_compiler_pic='-DDLL_EXPORT'
   9580       case $host_os in
   9581       os2*)
   9582 	lt_prog_compiler_static='$wl-static'
   9583 	;;
   9584       esac
   9585       ;;
   9586 
   9587     hpux9* | hpux10* | hpux11*)
   9588       lt_prog_compiler_wl='-Wl,'
   9589       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9590       # not for PA HP-UX.
   9591       case $host_cpu in
   9592       hppa*64*|ia64*)
   9593 	# +Z the default
   9594 	;;
   9595       *)
   9596 	lt_prog_compiler_pic='+Z'
   9597 	;;
   9598       esac
   9599       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9600       lt_prog_compiler_static='$wl-a ${wl}archive'
   9601       ;;
   9602 
   9603     irix5* | irix6* | nonstopux*)
   9604       lt_prog_compiler_wl='-Wl,'
   9605       # PIC (with -KPIC) is the default.
   9606       lt_prog_compiler_static='-non_shared'
   9607       ;;
   9608 
   9609     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9610       case $cc_basename in
   9611       # old Intel for x86_64, which still supported -KPIC.
   9612       ecc*)
   9613 	lt_prog_compiler_wl='-Wl,'
   9614 	lt_prog_compiler_pic='-KPIC'
   9615 	lt_prog_compiler_static='-static'
   9616         ;;
   9617       *flang* | ftn | f18* | f95*)
   9618         # Flang compiler.
   9619 	lt_prog_compiler_wl='-Wl,'
   9620 	lt_prog_compiler_pic='-fPIC'
   9621 	lt_prog_compiler_static='-static'
   9622         ;;
   9623       # icc used to be incompatible with GCC.
   9624       # ICC 10 doesn't accept -KPIC any more.
   9625       icc* | ifort*)
   9626 	lt_prog_compiler_wl='-Wl,'
   9627 	lt_prog_compiler_pic='-fPIC'
   9628 	lt_prog_compiler_static='-static'
   9629         ;;
   9630       # Lahey Fortran 8.1.
   9631       lf95*)
   9632 	lt_prog_compiler_wl='-Wl,'
   9633 	lt_prog_compiler_pic='--shared'
   9634 	lt_prog_compiler_static='--static'
   9635 	;;
   9636       nagfor*)
   9637 	# NAG Fortran compiler
   9638 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9639 	lt_prog_compiler_pic='-PIC'
   9640 	lt_prog_compiler_static='-Bstatic'
   9641 	;;
   9642       tcc*)
   9643 	# Fabrice Bellard et al's Tiny C Compiler
   9644 	lt_prog_compiler_wl='-Wl,'
   9645 	lt_prog_compiler_pic='-fPIC'
   9646 	lt_prog_compiler_static='-static'
   9647 	;;
   9648       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9649         # Portland Group compilers (*not* the Pentium gcc compiler,
   9650 	# which looks to be a dead project)
   9651 	lt_prog_compiler_wl='-Wl,'
   9652 	lt_prog_compiler_pic='-fpic'
   9653 	lt_prog_compiler_static='-Bstatic'
   9654         ;;
   9655       ccc*)
   9656         lt_prog_compiler_wl='-Wl,'
   9657         # All Alpha code is PIC.
   9658         lt_prog_compiler_static='-non_shared'
   9659         ;;
   9660       xl* | bgxl* | bgf* | mpixl*)
   9661 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9662 	lt_prog_compiler_wl='-Wl,'
   9663 	lt_prog_compiler_pic='-qpic'
   9664 	lt_prog_compiler_static='-qstaticlink'
   9665 	;;
   9666       *)
   9667 	case `$CC -V 2>&1 | $SED 5q` in
   9668 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9669 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9670 	  lt_prog_compiler_pic='-KPIC'
   9671 	  lt_prog_compiler_static='-Bstatic'
   9672 	  lt_prog_compiler_wl=''
   9673 	  ;;
   9674 	*Sun\ F* | *Sun*Fortran*)
   9675 	  lt_prog_compiler_pic='-KPIC'
   9676 	  lt_prog_compiler_static='-Bstatic'
   9677 	  lt_prog_compiler_wl='-Qoption ld '
   9678 	  ;;
   9679 	*Sun\ C*)
   9680 	  # Sun C 5.9
   9681 	  lt_prog_compiler_pic='-KPIC'
   9682 	  lt_prog_compiler_static='-Bstatic'
   9683 	  lt_prog_compiler_wl='-Wl,'
   9684 	  ;;
   9685         *Intel*\ [CF]*Compiler*)
   9686 	  lt_prog_compiler_wl='-Wl,'
   9687 	  lt_prog_compiler_pic='-fPIC'
   9688 	  lt_prog_compiler_static='-static'
   9689 	  ;;
   9690 	*Portland\ Group*)
   9691 	  lt_prog_compiler_wl='-Wl,'
   9692 	  lt_prog_compiler_pic='-fpic'
   9693 	  lt_prog_compiler_static='-Bstatic'
   9694 	  ;;
   9695 	esac
   9696 	;;
   9697       esac
   9698       ;;
   9699 
   9700     newsos6)
   9701       lt_prog_compiler_pic='-KPIC'
   9702       lt_prog_compiler_static='-Bstatic'
   9703       ;;
   9704 
   9705     *-mlibc)
   9706       lt_prog_compiler_wl='-Wl,'
   9707       lt_prog_compiler_pic='-fPIC'
   9708       lt_prog_compiler_static='-static'
   9709       ;;
   9710 
   9711     *nto* | *qnx*)
   9712       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9713       # it will coredump.
   9714       lt_prog_compiler_pic='-fPIC -shared'
   9715       ;;
   9716 
   9717     osf3* | osf4* | osf5*)
   9718       lt_prog_compiler_wl='-Wl,'
   9719       # All OSF/1 code is PIC.
   9720       lt_prog_compiler_static='-non_shared'
   9721       ;;
   9722 
   9723     rdos*)
   9724       lt_prog_compiler_static='-non_shared'
   9725       ;;
   9726 
   9727     serenity*)
   9728       ;;
   9729 
   9730     solaris*)
   9731       lt_prog_compiler_pic='-KPIC'
   9732       lt_prog_compiler_static='-Bstatic'
   9733       case $cc_basename in
   9734       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9735 	lt_prog_compiler_wl='-Qoption ld ';;
   9736       *)
   9737 	lt_prog_compiler_wl='-Wl,';;
   9738       esac
   9739       ;;
   9740 
   9741     sunos4*)
   9742       lt_prog_compiler_wl='-Qoption ld '
   9743       lt_prog_compiler_pic='-PIC'
   9744       lt_prog_compiler_static='-Bstatic'
   9745       ;;
   9746 
   9747     sysv4 | sysv4.2uw2* | sysv4.3*)
   9748       lt_prog_compiler_wl='-Wl,'
   9749       lt_prog_compiler_pic='-KPIC'
   9750       lt_prog_compiler_static='-Bstatic'
   9751       ;;
   9752 
   9753     sysv4*MP*)
   9754       if test -d /usr/nec; then
   9755 	lt_prog_compiler_pic='-Kconform_pic'
   9756 	lt_prog_compiler_static='-Bstatic'
   9757       fi
   9758       ;;
   9759 
   9760     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9761       lt_prog_compiler_wl='-Wl,'
   9762       lt_prog_compiler_pic='-KPIC'
   9763       lt_prog_compiler_static='-Bstatic'
   9764       ;;
   9765 
   9766     unicos*)
   9767       lt_prog_compiler_wl='-Wl,'
   9768       lt_prog_compiler_can_build_shared=no
   9769       ;;
   9770 
   9771     uts4*)
   9772       lt_prog_compiler_pic='-pic'
   9773       lt_prog_compiler_static='-Bstatic'
   9774       ;;
   9775 
   9776     *)
   9777       lt_prog_compiler_can_build_shared=no
   9778       ;;
   9779     esac
   9780   fi
   9781 
   9782 case $host_os in
   9783   # For platforms that do not support PIC, -DPIC is meaningless:
   9784   *djgpp*)
   9785     lt_prog_compiler_pic=
   9786     ;;
   9787   *)
   9788     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9789     ;;
   9790 esac
   9791 
   9792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9793 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9794 if test ${lt_cv_prog_compiler_pic+y}
   9795 then :
   9796   printf %s "(cached) " >&6
   9797 else case e in #(
   9798   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   9799 esac
   9800 fi
   9801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9802 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9803 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9804 
   9805 #
   9806 # Check to make sure the PIC flag actually works.
   9807 #
   9808 if test -n "$lt_prog_compiler_pic"; then
   9809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9810 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9811 if test ${lt_cv_prog_compiler_pic_works+y}
   9812 then :
   9813   printf %s "(cached) " >&6
   9814 else case e in #(
   9815   e) lt_cv_prog_compiler_pic_works=no
   9816    ac_outfile=conftest.$ac_objext
   9817    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9818    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9819    # Insert the option either (1) after the last *FLAGS variable, or
   9820    # (2) before a word containing "conftest.", or (3) at the end.
   9821    # Note that $ac_compile itself does not contain backslashes and begins
   9822    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9823    # The option is referenced via a variable to avoid confusing sed.
   9824    lt_compile=`echo "$ac_compile" | $SED \
   9825    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9826    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9827    -e 's:$: $lt_compiler_flag:'`
   9828    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9829    (eval "$lt_compile" 2>conftest.err)
   9830    ac_status=$?
   9831    cat conftest.err >&5
   9832    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9833    if (exit $ac_status) && test -s "$ac_outfile"; then
   9834      # The compiler can only warn and ignore the option if not recognized
   9835      # So say no if there are warnings other than the usual output.
   9836      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9837      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9838      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9839        lt_cv_prog_compiler_pic_works=yes
   9840      fi
   9841    fi
   9842    $RM conftest*
   9843  ;;
   9844 esac
   9845 fi
   9846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9847 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9848 
   9849 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9850     case $lt_prog_compiler_pic in
   9851      "" | " "*) ;;
   9852      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9853      esac
   9854 else
   9855     lt_prog_compiler_pic=
   9856      lt_prog_compiler_can_build_shared=no
   9857 fi
   9858 
   9859 fi
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 #
   9872 # Check to make sure the static flag actually works.
   9873 #
   9874 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9876 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9877 if test ${lt_cv_prog_compiler_static_works+y}
   9878 then :
   9879   printf %s "(cached) " >&6
   9880 else case e in #(
   9881   e) lt_cv_prog_compiler_static_works=no
   9882    save_LDFLAGS=$LDFLAGS
   9883    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9884    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9885    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9886      # The linker can only warn and ignore the option if not recognized
   9887      # So say no if there are warnings
   9888      if test -s conftest.err; then
   9889        # Append any errors to the config.log.
   9890        cat conftest.err 1>&5
   9891        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9892        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9893        if diff conftest.exp conftest.er2 >/dev/null; then
   9894          lt_cv_prog_compiler_static_works=yes
   9895        fi
   9896      else
   9897        lt_cv_prog_compiler_static_works=yes
   9898      fi
   9899    fi
   9900    $RM -r conftest*
   9901    LDFLAGS=$save_LDFLAGS
   9902  ;;
   9903 esac
   9904 fi
   9905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9906 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9907 
   9908 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9909     :
   9910 else
   9911     lt_prog_compiler_static=
   9912 fi
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9921 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9922 if test ${lt_cv_prog_compiler_c_o+y}
   9923 then :
   9924   printf %s "(cached) " >&6
   9925 else case e in #(
   9926   e) lt_cv_prog_compiler_c_o=no
   9927    $RM -r conftest 2>/dev/null
   9928    mkdir conftest
   9929    cd conftest
   9930    mkdir out
   9931    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9932 
   9933    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9934    # Insert the option either (1) after the last *FLAGS variable, or
   9935    # (2) before a word containing "conftest.", or (3) at the end.
   9936    # Note that $ac_compile itself does not contain backslashes and begins
   9937    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9938    lt_compile=`echo "$ac_compile" | $SED \
   9939    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9940    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9941    -e 's:$: $lt_compiler_flag:'`
   9942    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9943    (eval "$lt_compile" 2>out/conftest.err)
   9944    ac_status=$?
   9945    cat out/conftest.err >&5
   9946    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9947    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9948    then
   9949      # The compiler can only warn and ignore the option if not recognized
   9950      # So say no if there are warnings
   9951      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9952      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9953      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9954        lt_cv_prog_compiler_c_o=yes
   9955      fi
   9956    fi
   9957    chmod u+w . 2>&5
   9958    $RM conftest*
   9959    # SGI C++ compiler will create directory out/ii_files/ for
   9960    # template instantiation
   9961    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9962    $RM out/* && rmdir out
   9963    cd ..
   9964    $RM -r conftest
   9965    $RM conftest*
   9966  ;;
   9967 esac
   9968 fi
   9969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9970 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9978 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9979 if test ${lt_cv_prog_compiler_c_o+y}
   9980 then :
   9981   printf %s "(cached) " >&6
   9982 else case e in #(
   9983   e) lt_cv_prog_compiler_c_o=no
   9984    $RM -r conftest 2>/dev/null
   9985    mkdir conftest
   9986    cd conftest
   9987    mkdir out
   9988    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9989 
   9990    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9991    # Insert the option either (1) after the last *FLAGS variable, or
   9992    # (2) before a word containing "conftest.", or (3) at the end.
   9993    # Note that $ac_compile itself does not contain backslashes and begins
   9994    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9995    lt_compile=`echo "$ac_compile" | $SED \
   9996    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9997    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9998    -e 's:$: $lt_compiler_flag:'`
   9999    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10000    (eval "$lt_compile" 2>out/conftest.err)
   10001    ac_status=$?
   10002    cat out/conftest.err >&5
   10003    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10004    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10005    then
   10006      # The compiler can only warn and ignore the option if not recognized
   10007      # So say no if there are warnings
   10008      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10009      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10010      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10011        lt_cv_prog_compiler_c_o=yes
   10012      fi
   10013    fi
   10014    chmod u+w . 2>&5
   10015    $RM conftest*
   10016    # SGI C++ compiler will create directory out/ii_files/ for
   10017    # template instantiation
   10018    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10019    $RM out/* && rmdir out
   10020    cd ..
   10021    $RM -r conftest
   10022    $RM conftest*
   10023  ;;
   10024 esac
   10025 fi
   10026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10027 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10028 
   10029 
   10030 
   10031 
   10032 hard_links=nottested
   10033 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10034   # do not overwrite the value of need_locks provided by the user
   10035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10036 printf %s "checking if we can lock with hard links... " >&6; }
   10037   hard_links=yes
   10038   $RM conftest*
   10039   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10040   touch conftest.a
   10041   ln conftest.a conftest.b 2>&5 || hard_links=no
   10042   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10043   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10044 printf "%s\n" "$hard_links" >&6; }
   10045   if test no = "$hard_links"; then
   10046     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10047 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10048     need_locks=warn
   10049   fi
   10050 else
   10051   need_locks=no
   10052 fi
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10060 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10061 
   10062   runpath_var=
   10063   allow_undefined_flag=
   10064   always_export_symbols=no
   10065   archive_cmds=
   10066   archive_expsym_cmds=
   10067   compiler_needs_object=no
   10068   enable_shared_with_static_runtimes=no
   10069   export_dynamic_flag_spec=
   10070   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10071   hardcode_automatic=no
   10072   hardcode_direct=no
   10073   hardcode_direct_absolute=no
   10074   hardcode_libdir_flag_spec=
   10075   hardcode_libdir_separator=
   10076   hardcode_minus_L=no
   10077   hardcode_shlibpath_var=unsupported
   10078   inherit_rpath=no
   10079   link_all_deplibs=unknown
   10080   module_cmds=
   10081   module_expsym_cmds=
   10082   old_archive_from_new_cmds=
   10083   old_archive_from_expsyms_cmds=
   10084   thread_safe_flag_spec=
   10085   whole_archive_flag_spec=
   10086   # include_expsyms should be a list of space-separated symbols to be *always*
   10087   # included in the symbol list
   10088   include_expsyms=
   10089   # exclude_expsyms can be an extended regexp of symbols to exclude
   10090   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10091   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10092   # as well as any symbol that contains 'd'.
   10093   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10094   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10095   # platforms (ab)use it in PIC code, but their linkers get confused if
   10096   # the symbol is explicitly referenced.  Since portable code cannot
   10097   # rely on this symbol name, it's probably fine to never include it in
   10098   # preloaded symbol tables.
   10099   # Exclude shared library initialization/finalization symbols.
   10100   extract_expsyms_cmds=
   10101 
   10102   case $host_os in
   10103   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10104     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10105     # When not using gcc, we currently assume that we are using
   10106     # Microsoft Visual C++ or Intel C++ Compiler.
   10107     if test yes != "$GCC"; then
   10108       with_gnu_ld=no
   10109     fi
   10110     ;;
   10111   interix*)
   10112     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10113     with_gnu_ld=yes
   10114     ;;
   10115   esac
   10116 
   10117   ld_shlibs=yes
   10118 
   10119   # On some targets, GNU ld is compatible enough with the native linker
   10120   # that we're better off using the native interface for both.
   10121   lt_use_gnu_ld_interface=no
   10122   if test yes = "$with_gnu_ld"; then
   10123     case $host_os in
   10124       aix*)
   10125 	# The AIX port of GNU ld has always aspired to compatibility
   10126 	# with the native linker.  However, as the warning in the GNU ld
   10127 	# block says, versions before 2.19.5* couldn't really create working
   10128 	# shared libraries, regardless of the interface used.
   10129 	case `$LD -v 2>&1` in
   10130 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10131 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10132 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10133 	  *)
   10134 	    lt_use_gnu_ld_interface=yes
   10135 	    ;;
   10136 	esac
   10137 	;;
   10138       *)
   10139 	lt_use_gnu_ld_interface=yes
   10140 	;;
   10141     esac
   10142   fi
   10143 
   10144   if test yes = "$lt_use_gnu_ld_interface"; then
   10145     # If archive_cmds runs LD, not CC, wlarc should be empty
   10146     wlarc='$wl'
   10147 
   10148     # Set some defaults for GNU ld with shared library support. These
   10149     # are reset later if shared libraries are not supported. Putting them
   10150     # here allows them to be overridden if necessary.
   10151     runpath_var=LD_RUN_PATH
   10152     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10153     export_dynamic_flag_spec='$wl--export-dynamic'
   10154     # ancient GNU ld didn't support --whole-archive et. al.
   10155     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10156       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10157     else
   10158       whole_archive_flag_spec=
   10159     fi
   10160     supports_anon_versioning=no
   10161     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10162       *GNU\ gold*) supports_anon_versioning=yes ;;
   10163       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10164       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10165       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10166       *\ 2.11.*) ;; # other 2.11 versions
   10167       *) supports_anon_versioning=yes ;;
   10168     esac
   10169 
   10170     # See if GNU ld supports shared libraries.
   10171     case $host_os in
   10172     aix[3-9]*)
   10173       # On AIX/PPC, the GNU linker is very broken
   10174       if test ia64 != "$host_cpu"; then
   10175 	ld_shlibs=no
   10176 	cat <<_LT_EOF 1>&2
   10177 
   10178 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10179 *** to be unable to reliably create shared libraries on AIX.
   10180 *** Therefore, libtool is disabling shared libraries support.  If you
   10181 *** really care for shared libraries, you may want to install binutils
   10182 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10183 *** You will then need to restart the configuration process.
   10184 
   10185 _LT_EOF
   10186       fi
   10187       ;;
   10188 
   10189     amigaos*)
   10190       case $host_cpu in
   10191       powerpc)
   10192             # see comment about AmigaOS4 .so support
   10193             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10194             archive_expsym_cmds=''
   10195         ;;
   10196       m68k)
   10197             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)'
   10198             hardcode_libdir_flag_spec='-L$libdir'
   10199             hardcode_minus_L=yes
   10200         ;;
   10201       esac
   10202       ;;
   10203 
   10204     beos*)
   10205       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10206 	allow_undefined_flag=unsupported
   10207 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10208 	# support --undefined.  This deserves some investigation.  FIXME
   10209 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10210       else
   10211 	ld_shlibs=no
   10212       fi
   10213       ;;
   10214 
   10215     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10216       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10217       # as there is no search path for DLLs.
   10218       hardcode_libdir_flag_spec='-L$libdir'
   10219       export_dynamic_flag_spec='$wl--export-all-symbols'
   10220       allow_undefined_flag=unsupported
   10221       always_export_symbols=no
   10222       enable_shared_with_static_runtimes=yes
   10223       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'
   10224       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10225       file_list_spec='@'
   10226 
   10227       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10228         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10229 	# If the export-symbols file already is a .def file, use it as
   10230 	# is; otherwise, prepend EXPORTS...
   10231 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10232           cp $export_symbols $output_objdir/$soname.def;
   10233         else
   10234           echo EXPORTS > $output_objdir/$soname.def;
   10235           cat $export_symbols >> $output_objdir/$soname.def;
   10236         fi~
   10237         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10238       else
   10239 	ld_shlibs=no
   10240       fi
   10241       ;;
   10242 
   10243     haiku*)
   10244       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10245       link_all_deplibs=no
   10246       ;;
   10247 
   10248     os2*)
   10249       hardcode_libdir_flag_spec='-L$libdir'
   10250       hardcode_minus_L=yes
   10251       allow_undefined_flag=unsupported
   10252       shrext_cmds=.dll
   10253       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10254 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10255 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10256 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10257 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10258 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10259 	emximp -o $lib $output_objdir/$libname.def'
   10260       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10261 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10262 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10263 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10264 	prefix_cmds="$SED"~
   10265 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10266 	  prefix_cmds="$prefix_cmds -e 1d";
   10267 	fi~
   10268 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10269 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10270 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10271 	emximp -o $lib $output_objdir/$libname.def'
   10272       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10273       enable_shared_with_static_runtimes=yes
   10274       file_list_spec='@'
   10275       ;;
   10276 
   10277     interix[3-9]*)
   10278       hardcode_direct=no
   10279       hardcode_shlibpath_var=no
   10280       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10281       export_dynamic_flag_spec='$wl-E'
   10282       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10283       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10284       # default) and relocated if they conflict, which is a slow very memory
   10285       # consuming and fragmenting process.  To avoid this, we pick a random,
   10286       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10287       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10288       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10289       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'
   10290       ;;
   10291 
   10292     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10293       tmp_diet=no
   10294       if test linux-dietlibc = "$host_os"; then
   10295 	case $cc_basename in
   10296 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10297 	esac
   10298       fi
   10299       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10300 	 && test no = "$tmp_diet"
   10301       then
   10302 	tmp_addflag=' $pic_flag'
   10303 	tmp_sharedflag='-shared'
   10304 	case $cc_basename,$host_cpu in
   10305         pgcc*)				# Portland Group C compiler
   10306 	  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'
   10307 	  tmp_addflag=' $pic_flag'
   10308 	  ;;
   10309 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10310 					# Portland Group f77 and f90 compilers
   10311 	  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'
   10312 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10313 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10314 	  tmp_addflag=' -i_dynamic' ;;
   10315 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10316 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10317 	ifc* | ifort*)			# Intel Fortran compiler
   10318 	  tmp_addflag=' -nofor_main' ;;
   10319 	lf95*)				# Lahey Fortran 8.1
   10320 	  whole_archive_flag_spec=
   10321 	  tmp_sharedflag='--shared' ;;
   10322         nagfor*)                        # NAGFOR 5.3
   10323           tmp_sharedflag='-Wl,-shared' ;;
   10324 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10325 	  tmp_sharedflag='-qmkshrobj'
   10326 	  tmp_addflag= ;;
   10327 	nvcc*)	# Cuda Compiler Driver 2.2
   10328 	  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'
   10329 	  compiler_needs_object=yes
   10330 	  ;;
   10331 	esac
   10332 	case `$CC -V 2>&1 | $SED 5q` in
   10333 	*Sun\ C*)			# Sun C 5.9
   10334 	  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'
   10335 	  compiler_needs_object=yes
   10336 	  tmp_sharedflag='-G' ;;
   10337 	*Sun\ F*)			# Sun Fortran 8.3
   10338 	  tmp_sharedflag='-G' ;;
   10339 	esac
   10340 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10341 
   10342         if test yes = "$supports_anon_versioning"; then
   10343           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10344             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10345             echo "local: *; };" >> $output_objdir/$libname.ver~
   10346             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10347         fi
   10348 
   10349 	case $cc_basename in
   10350 	tcc*)
   10351 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10352 	  export_dynamic_flag_spec='-rdynamic'
   10353 	  ;;
   10354 	xlf* | bgf* | bgxlf* | mpixlf*)
   10355 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10356 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10357 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10358 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10359 	  if test yes = "$supports_anon_versioning"; then
   10360 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10361               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10362               echo "local: *; };" >> $output_objdir/$libname.ver~
   10363               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10364 	  fi
   10365 	  ;;
   10366 	esac
   10367       else
   10368         ld_shlibs=no
   10369       fi
   10370       ;;
   10371 
   10372     *-mlibc)
   10373 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10374 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10375       ;;
   10376 
   10377     netbsd* | netbsdelf*-gnu)
   10378       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10379 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10380 	wlarc=
   10381       else
   10382 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10383 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10384       fi
   10385       ;;
   10386 
   10387     solaris*)
   10388       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10389 	ld_shlibs=no
   10390 	cat <<_LT_EOF 1>&2
   10391 
   10392 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10393 *** create shared libraries on Solaris systems.  Therefore, libtool
   10394 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10395 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10396 *** your PATH or compiler configuration so that the native linker is
   10397 *** used, and then restart.
   10398 
   10399 _LT_EOF
   10400       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10401 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10402 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10403       else
   10404 	ld_shlibs=no
   10405       fi
   10406       ;;
   10407 
   10408     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10409       case `$LD -v 2>&1` in
   10410         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10411 	ld_shlibs=no
   10412 	cat <<_LT_EOF 1>&2
   10413 
   10414 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10415 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10416 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10417 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10418 *** your PATH or compiler configuration so that the native linker is
   10419 *** used, and then restart.
   10420 
   10421 _LT_EOF
   10422 	;;
   10423 	*)
   10424 	  # For security reasons, it is highly recommended that you always
   10425 	  # use absolute paths for naming shared libraries, and exclude the
   10426 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10427 	  # requires that you compile everything twice, which is a pain.
   10428 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10429 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10430 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10431 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10432 	  else
   10433 	    ld_shlibs=no
   10434 	  fi
   10435 	;;
   10436       esac
   10437       ;;
   10438 
   10439     sunos4*)
   10440       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10441       wlarc=
   10442       hardcode_direct=yes
   10443       hardcode_shlibpath_var=no
   10444       ;;
   10445 
   10446     *)
   10447       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10448 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10449 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10450       else
   10451 	ld_shlibs=no
   10452       fi
   10453       ;;
   10454     esac
   10455 
   10456     if test no = "$ld_shlibs"; then
   10457       runpath_var=
   10458       hardcode_libdir_flag_spec=
   10459       export_dynamic_flag_spec=
   10460       whole_archive_flag_spec=
   10461     fi
   10462   else
   10463     # PORTME fill in a description of your system's linker (not GNU ld)
   10464     case $host_os in
   10465     aix3*)
   10466       allow_undefined_flag=unsupported
   10467       always_export_symbols=yes
   10468       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'
   10469       # Note: this linker hardcodes the directories in LIBPATH if there
   10470       # are no directories specified by -L.
   10471       hardcode_minus_L=yes
   10472       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10473 	# Neither direct hardcoding nor static linking is supported with a
   10474 	# broken collect2.
   10475 	hardcode_direct=unsupported
   10476       fi
   10477       ;;
   10478 
   10479     aix[4-9]*)
   10480       if test ia64 = "$host_cpu"; then
   10481 	# On IA64, the linker does run time linking by default, so we don't
   10482 	# have to do anything special.
   10483 	aix_use_runtimelinking=no
   10484 	exp_sym_flag='-Bexport'
   10485 	no_entry_flag=
   10486       else
   10487 	# If we're using GNU nm, then we don't want the "-C" option.
   10488 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10489 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10490 	# weak defined symbols like other global defined symbols, whereas
   10491 	# GNU nm marks them as "W".
   10492 	# While the 'weak' keyword is ignored in the Export File, we need
   10493 	# it in the Import File for the 'aix-soname' feature, so we have
   10494 	# to replace the "-B" option with "-P" for AIX nm.
   10495 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10496 	  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'
   10497 	else
   10498 	  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'
   10499 	fi
   10500 	aix_use_runtimelinking=no
   10501 
   10502 	# Test if we are trying to use run time linking or normal
   10503 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10504 	# have runtime linking enabled, and use it for executables.
   10505 	# For shared libraries, we enable/disable runtime linking
   10506 	# depending on the kind of the shared library created -
   10507 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10508 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10509 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10510 	#            lib.a           static archive
   10511 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10512 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10513 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10514 	#            lib.a(lib.so.V) shared, rtl:no
   10515 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10516 	#            lib.a           static archive
   10517 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10518 	  for ld_flag in $LDFLAGS; do
   10519 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10520 	    aix_use_runtimelinking=yes
   10521 	    break
   10522 	  fi
   10523 	  done
   10524 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10525 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10526 	    # so we don't have lib.a shared libs to link our executables.
   10527 	    # We have to force runtime linking in this case.
   10528 	    aix_use_runtimelinking=yes
   10529 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10530 	  fi
   10531 	  ;;
   10532 	esac
   10533 
   10534 	exp_sym_flag='-bexport'
   10535 	no_entry_flag='-bnoentry'
   10536       fi
   10537 
   10538       # When large executables or shared objects are built, AIX ld can
   10539       # have problems creating the table of contents.  If linking a library
   10540       # or program results in "error TOC overflow" add -mminimal-toc to
   10541       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10542       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10543 
   10544       archive_cmds=''
   10545       hardcode_direct=yes
   10546       hardcode_direct_absolute=yes
   10547       hardcode_libdir_separator=':'
   10548       link_all_deplibs=yes
   10549       file_list_spec='$wl-f,'
   10550       case $with_aix_soname,$aix_use_runtimelinking in
   10551       aix,*) ;; # traditional, no import file
   10552       svr4,* | *,yes) # use import file
   10553 	# The Import File defines what to hardcode.
   10554 	hardcode_direct=no
   10555 	hardcode_direct_absolute=no
   10556 	;;
   10557       esac
   10558 
   10559       if test yes = "$GCC"; then
   10560 	case $host_os in aix4.[012]|aix4.[012].*)
   10561 	# We only want to do this on AIX 4.2 and lower, the check
   10562 	# below for broken collect2 doesn't work under 4.3+
   10563 	  collect2name=`$CC -print-prog-name=collect2`
   10564 	  if test -f "$collect2name" &&
   10565 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10566 	  then
   10567 	  # We have reworked collect2
   10568 	  :
   10569 	  else
   10570 	  # We have old collect2
   10571 	  hardcode_direct=unsupported
   10572 	  # It fails to find uninstalled libraries when the uninstalled
   10573 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10574 	  # to unsupported forces relinking
   10575 	  hardcode_minus_L=yes
   10576 	  hardcode_libdir_flag_spec='-L$libdir'
   10577 	  hardcode_libdir_separator=
   10578 	  fi
   10579 	  ;;
   10580 	esac
   10581 	shared_flag='-shared'
   10582 	if test yes = "$aix_use_runtimelinking"; then
   10583 	  shared_flag="$shared_flag "'$wl-G'
   10584 	fi
   10585 	# Need to ensure runtime linking is disabled for the traditional
   10586 	# shared library, or the linker may eventually find shared libraries
   10587 	# /with/ Import File - we do not want to mix them.
   10588 	shared_flag_aix='-shared'
   10589 	shared_flag_svr4='-shared $wl-G'
   10590       else
   10591 	# not using gcc
   10592 	if test ia64 = "$host_cpu"; then
   10593 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10594 	# chokes on -Wl,-G. The following line is correct:
   10595 	  shared_flag='-G'
   10596 	else
   10597 	  if test yes = "$aix_use_runtimelinking"; then
   10598 	    shared_flag='$wl-G'
   10599 	  else
   10600 	    shared_flag='$wl-bM:SRE'
   10601 	  fi
   10602 	  shared_flag_aix='$wl-bM:SRE'
   10603 	  shared_flag_svr4='$wl-G'
   10604 	fi
   10605       fi
   10606 
   10607       export_dynamic_flag_spec='$wl-bexpall'
   10608       # It seems that -bexpall does not export symbols beginning with
   10609       # underscore (_), so it is better to generate a list of symbols to export.
   10610       always_export_symbols=yes
   10611       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10612 	# Warning - without using the other runtime loading flags (-brtl),
   10613 	# -berok will link without error, but may produce a broken library.
   10614 	allow_undefined_flag='-berok'
   10615         # Determine the default libpath from the value encoded in an
   10616         # empty executable.
   10617         if test set = "${lt_cv_aix_libpath+set}"; then
   10618   aix_libpath=$lt_cv_aix_libpath
   10619 else
   10620   if test ${lt_cv_aix_libpath_+y}
   10621 then :
   10622   printf %s "(cached) " >&6
   10623 else case e in #(
   10624   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10625 /* end confdefs.h.  */
   10626 
   10627 int
   10628 main (void)
   10629 {
   10630 
   10631   ;
   10632   return 0;
   10633 }
   10634 _ACEOF
   10635 if ac_fn_c_try_link "$LINENO"
   10636 then :
   10637 
   10638   lt_aix_libpath_sed='
   10639       /Import File Strings/,/^$/ {
   10640 	  /^0/ {
   10641 	      s/^0  *\([^ ]*\) *$/\1/
   10642 	      p
   10643 	  }
   10644       }'
   10645   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10646   # Check for a 64-bit object if we didn't find anything.
   10647   if test -z "$lt_cv_aix_libpath_"; then
   10648     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10649   fi
   10650 fi
   10651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10652     conftest$ac_exeext conftest.$ac_ext
   10653   if test -z "$lt_cv_aix_libpath_"; then
   10654     lt_cv_aix_libpath_=/usr/lib:/lib
   10655   fi
   10656    ;;
   10657 esac
   10658 fi
   10659 
   10660   aix_libpath=$lt_cv_aix_libpath_
   10661 fi
   10662 
   10663         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10664         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
   10665       else
   10666 	if test ia64 = "$host_cpu"; then
   10667 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10668 	  allow_undefined_flag="-z nodefs"
   10669 	  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"
   10670 	else
   10671 	 # Determine the default libpath from the value encoded in an
   10672 	 # empty executable.
   10673 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10674   aix_libpath=$lt_cv_aix_libpath
   10675 else
   10676   if test ${lt_cv_aix_libpath_+y}
   10677 then :
   10678   printf %s "(cached) " >&6
   10679 else case e in #(
   10680   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10681 /* end confdefs.h.  */
   10682 
   10683 int
   10684 main (void)
   10685 {
   10686 
   10687   ;
   10688   return 0;
   10689 }
   10690 _ACEOF
   10691 if ac_fn_c_try_link "$LINENO"
   10692 then :
   10693 
   10694   lt_aix_libpath_sed='
   10695       /Import File Strings/,/^$/ {
   10696 	  /^0/ {
   10697 	      s/^0  *\([^ ]*\) *$/\1/
   10698 	      p
   10699 	  }
   10700       }'
   10701   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10702   # Check for a 64-bit object if we didn't find anything.
   10703   if test -z "$lt_cv_aix_libpath_"; then
   10704     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10705   fi
   10706 fi
   10707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10708     conftest$ac_exeext conftest.$ac_ext
   10709   if test -z "$lt_cv_aix_libpath_"; then
   10710     lt_cv_aix_libpath_=/usr/lib:/lib
   10711   fi
   10712    ;;
   10713 esac
   10714 fi
   10715 
   10716   aix_libpath=$lt_cv_aix_libpath_
   10717 fi
   10718 
   10719 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10720 	  # Warning - without using the other run time loading flags,
   10721 	  # -berok will link without error, but may produce a broken library.
   10722 	  no_undefined_flag=' $wl-bernotok'
   10723 	  allow_undefined_flag=' $wl-berok'
   10724 	  if test yes = "$with_gnu_ld"; then
   10725 	    # We only use this code for GNU lds that support --whole-archive.
   10726 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10727 	  else
   10728 	    # Exported symbols can be pulled into shared objects from archives
   10729 	    whole_archive_flag_spec='$convenience'
   10730 	  fi
   10731 	  archive_cmds_need_lc=yes
   10732 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10733 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10734 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10735 	  if test svr4 != "$with_aix_soname"; then
   10736 	    # This is similar to how AIX traditionally builds its shared libraries.
   10737 	    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'
   10738 	  fi
   10739 	  if test aix != "$with_aix_soname"; then
   10740 	    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'
   10741 	  else
   10742 	    # used by -dlpreopen to get the symbols
   10743 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10744 	  fi
   10745 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10746 	fi
   10747       fi
   10748       ;;
   10749 
   10750     amigaos*)
   10751       case $host_cpu in
   10752       powerpc)
   10753             # see comment about AmigaOS4 .so support
   10754             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10755             archive_expsym_cmds=''
   10756         ;;
   10757       m68k)
   10758             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)'
   10759             hardcode_libdir_flag_spec='-L$libdir'
   10760             hardcode_minus_L=yes
   10761         ;;
   10762       esac
   10763       ;;
   10764 
   10765     bsdi[45]*)
   10766       export_dynamic_flag_spec=-rdynamic
   10767       ;;
   10768 
   10769     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10770       # When not using gcc, we currently assume that we are using
   10771       # Microsoft Visual C++ or Intel C++ Compiler.
   10772       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10773       # no search path for DLLs.
   10774       case $cc_basename in
   10775       cl* | icl*)
   10776 	# Native MSVC or ICC
   10777 	hardcode_libdir_flag_spec=' '
   10778 	allow_undefined_flag=unsupported
   10779 	always_export_symbols=yes
   10780 	file_list_spec='@'
   10781 	# Tell ltmain to make .lib files, not .a files.
   10782 	libext=lib
   10783 	# Tell ltmain to make .dll files, not .so files.
   10784 	shrext_cmds=.dll
   10785 	# FIXME: Setting linknames here is a bad hack.
   10786 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10787 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10788             cp "$export_symbols" "$output_objdir/$soname.def";
   10789             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10790           else
   10791             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10792           fi~
   10793           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10794           linknames='
   10795 	# The linker will not automatically build a static lib if we build a DLL.
   10796 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10797 	enable_shared_with_static_runtimes=yes
   10798 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10799 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10800 	# Don't use ranlib
   10801 	old_postinstall_cmds='chmod 644 $oldlib'
   10802 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10803           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10804           case $lt_outputfile in
   10805             *.exe|*.EXE) ;;
   10806             *)
   10807               lt_outputfile=$lt_outputfile.exe
   10808               lt_tool_outputfile=$lt_tool_outputfile.exe
   10809               ;;
   10810           esac~
   10811           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10812             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10813             $RM "$lt_outputfile.manifest";
   10814           fi'
   10815 	;;
   10816       *)
   10817 	# Assume MSVC and ICC wrapper
   10818 	hardcode_libdir_flag_spec=' '
   10819 	allow_undefined_flag=unsupported
   10820 	# Tell ltmain to make .lib files, not .a files.
   10821 	libext=lib
   10822 	# Tell ltmain to make .dll files, not .so files.
   10823 	shrext_cmds=.dll
   10824 	# FIXME: Setting linknames here is a bad hack.
   10825 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10826 	# The linker will automatically build a .lib file if we build a DLL.
   10827 	old_archive_from_new_cmds='true'
   10828 	# FIXME: Should let the user specify the lib program.
   10829 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10830 	enable_shared_with_static_runtimes=yes
   10831 	;;
   10832       esac
   10833       ;;
   10834 
   10835     darwin* | rhapsody*)
   10836 
   10837 
   10838   archive_cmds_need_lc=no
   10839   hardcode_direct=no
   10840   hardcode_automatic=yes
   10841   hardcode_shlibpath_var=unsupported
   10842   if test yes = "$lt_cv_ld_force_load"; then
   10843     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\"`'
   10844 
   10845   else
   10846     whole_archive_flag_spec=''
   10847   fi
   10848   link_all_deplibs=yes
   10849   allow_undefined_flag=$_lt_dar_allow_undefined
   10850   case $cc_basename in
   10851      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10852      *) _lt_dar_can_shared=$GCC ;;
   10853   esac
   10854   if test yes = "$_lt_dar_can_shared"; then
   10855     output_verbose_link_cmd=func_echo_all
   10856     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10857     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10858     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"
   10859     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"
   10860 
   10861   else
   10862   ld_shlibs=no
   10863   fi
   10864 
   10865       ;;
   10866 
   10867     dgux*)
   10868       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10869       hardcode_libdir_flag_spec='-L$libdir'
   10870       hardcode_shlibpath_var=no
   10871       ;;
   10872 
   10873     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10874     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10875     # does not break anything, and helps significantly (at the cost of a little
   10876     # extra space).
   10877     freebsd2.2*)
   10878       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10879       hardcode_libdir_flag_spec='-R$libdir'
   10880       hardcode_direct=yes
   10881       hardcode_shlibpath_var=no
   10882       ;;
   10883 
   10884     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10885     freebsd2.*)
   10886       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10887       hardcode_direct=yes
   10888       hardcode_minus_L=yes
   10889       hardcode_shlibpath_var=no
   10890       ;;
   10891 
   10892     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10893     freebsd* | dragonfly* | midnightbsd*)
   10894       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10895       hardcode_libdir_flag_spec='-R$libdir'
   10896       hardcode_direct=yes
   10897       hardcode_shlibpath_var=no
   10898       ;;
   10899 
   10900     hpux9*)
   10901       if test yes = "$GCC"; then
   10902 	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'
   10903       else
   10904 	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'
   10905       fi
   10906       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10907       hardcode_libdir_separator=:
   10908       hardcode_direct=yes
   10909 
   10910       # hardcode_minus_L: Not really in the search PATH,
   10911       # but as the default location of the library.
   10912       hardcode_minus_L=yes
   10913       export_dynamic_flag_spec='$wl-E'
   10914       ;;
   10915 
   10916     hpux10*)
   10917       if test yes,no = "$GCC,$with_gnu_ld"; then
   10918 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10919       else
   10920 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10921       fi
   10922       if test no = "$with_gnu_ld"; then
   10923 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10924 	hardcode_libdir_separator=:
   10925 	hardcode_direct=yes
   10926 	hardcode_direct_absolute=yes
   10927 	export_dynamic_flag_spec='$wl-E'
   10928 	# hardcode_minus_L: Not really in the search PATH,
   10929 	# but as the default location of the library.
   10930 	hardcode_minus_L=yes
   10931       fi
   10932       ;;
   10933 
   10934     hpux11*)
   10935       if test yes,no = "$GCC,$with_gnu_ld"; then
   10936 	case $host_cpu in
   10937 	hppa*64*)
   10938 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10939 	  ;;
   10940 	ia64*)
   10941 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10942 	  ;;
   10943 	*)
   10944 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10945 	  ;;
   10946 	esac
   10947       else
   10948 	case $host_cpu in
   10949 	hppa*64*)
   10950 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10951 	  ;;
   10952 	ia64*)
   10953 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10954 	  ;;
   10955 	*)
   10956 
   10957 	  # Older versions of the 11.00 compiler do not understand -b yet
   10958 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10959 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10960 printf %s "checking if $CC understands -b... " >&6; }
   10961 if test ${lt_cv_prog_compiler__b+y}
   10962 then :
   10963   printf %s "(cached) " >&6
   10964 else case e in #(
   10965   e) lt_cv_prog_compiler__b=no
   10966    save_LDFLAGS=$LDFLAGS
   10967    LDFLAGS="$LDFLAGS -b"
   10968    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10969    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10970      # The linker can only warn and ignore the option if not recognized
   10971      # So say no if there are warnings
   10972      if test -s conftest.err; then
   10973        # Append any errors to the config.log.
   10974        cat conftest.err 1>&5
   10975        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10976        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10977        if diff conftest.exp conftest.er2 >/dev/null; then
   10978          lt_cv_prog_compiler__b=yes
   10979        fi
   10980      else
   10981        lt_cv_prog_compiler__b=yes
   10982      fi
   10983    fi
   10984    $RM -r conftest*
   10985    LDFLAGS=$save_LDFLAGS
   10986  ;;
   10987 esac
   10988 fi
   10989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10990 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10991 
   10992 if test yes = "$lt_cv_prog_compiler__b"; then
   10993     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10994 else
   10995     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10996 fi
   10997 
   10998 	  ;;
   10999 	esac
   11000       fi
   11001       if test no = "$with_gnu_ld"; then
   11002 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11003 	hardcode_libdir_separator=:
   11004 
   11005 	case $host_cpu in
   11006 	hppa*64*|ia64*)
   11007 	  hardcode_direct=no
   11008 	  hardcode_shlibpath_var=no
   11009 	  ;;
   11010 	*)
   11011 	  hardcode_direct=yes
   11012 	  hardcode_direct_absolute=yes
   11013 	  export_dynamic_flag_spec='$wl-E'
   11014 
   11015 	  # hardcode_minus_L: Not really in the search PATH,
   11016 	  # but as the default location of the library.
   11017 	  hardcode_minus_L=yes
   11018 	  ;;
   11019 	esac
   11020       fi
   11021       ;;
   11022 
   11023     irix5* | irix6* | nonstopux*)
   11024       if test yes = "$GCC"; then
   11025 	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'
   11026 	# Try to use the -exported_symbol ld option, if it does not
   11027 	# work, assume that -exports_file does not work either and
   11028 	# implicitly export all symbols.
   11029 	# This should be the same for all languages, so no per-tag cache variable.
   11030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11031 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11032 if test ${lt_cv_irix_exported_symbol+y}
   11033 then :
   11034   printf %s "(cached) " >&6
   11035 else case e in #(
   11036   e) save_LDFLAGS=$LDFLAGS
   11037 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11038 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11039 /* end confdefs.h.  */
   11040 int foo (void) { return 0; }
   11041 _ACEOF
   11042 if ac_fn_c_try_link "$LINENO"
   11043 then :
   11044   lt_cv_irix_exported_symbol=yes
   11045 else case e in #(
   11046   e) lt_cv_irix_exported_symbol=no ;;
   11047 esac
   11048 fi
   11049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11050     conftest$ac_exeext conftest.$ac_ext
   11051            LDFLAGS=$save_LDFLAGS ;;
   11052 esac
   11053 fi
   11054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11055 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11056 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11057           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'
   11058 	fi
   11059       else
   11060 	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'
   11061 	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'
   11062       fi
   11063       archive_cmds_need_lc='no'
   11064       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11065       hardcode_libdir_separator=:
   11066       inherit_rpath=yes
   11067       link_all_deplibs=yes
   11068       ;;
   11069 
   11070     linux*)
   11071       case $cc_basename in
   11072       tcc*)
   11073 	# Fabrice Bellard et al's Tiny C Compiler
   11074 	ld_shlibs=yes
   11075 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11076 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11077 	;;
   11078       esac
   11079       ;;
   11080 
   11081     *-mlibc)
   11082       ;;
   11083 
   11084     netbsd* | netbsdelf*-gnu)
   11085       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11086 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11087       else
   11088 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11089       fi
   11090       hardcode_libdir_flag_spec='-R$libdir'
   11091       hardcode_direct=yes
   11092       hardcode_shlibpath_var=no
   11093       ;;
   11094 
   11095     newsos6)
   11096       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11097       hardcode_direct=yes
   11098       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11099       hardcode_libdir_separator=:
   11100       hardcode_shlibpath_var=no
   11101       ;;
   11102 
   11103     *nto* | *qnx*)
   11104       ;;
   11105 
   11106     openbsd*)
   11107       if test -f /usr/libexec/ld.so; then
   11108 	hardcode_direct=yes
   11109 	hardcode_shlibpath_var=no
   11110 	hardcode_direct_absolute=yes
   11111 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11112 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11113 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11114 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11115 	  export_dynamic_flag_spec='$wl-E'
   11116 	else
   11117 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11118 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11119 	fi
   11120       else
   11121 	ld_shlibs=no
   11122       fi
   11123       ;;
   11124 
   11125     os2*)
   11126       hardcode_libdir_flag_spec='-L$libdir'
   11127       hardcode_minus_L=yes
   11128       allow_undefined_flag=unsupported
   11129       shrext_cmds=.dll
   11130       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11131 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11132 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11133 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11134 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11135 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11136 	emximp -o $lib $output_objdir/$libname.def'
   11137       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11138 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11139 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11140 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11141 	prefix_cmds="$SED"~
   11142 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11143 	  prefix_cmds="$prefix_cmds -e 1d";
   11144 	fi~
   11145 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11146 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11147 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11148 	emximp -o $lib $output_objdir/$libname.def'
   11149       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11150       enable_shared_with_static_runtimes=yes
   11151       file_list_spec='@'
   11152       ;;
   11153 
   11154     osf3*)
   11155       if test yes = "$GCC"; then
   11156 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11157 	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'
   11158       else
   11159 	allow_undefined_flag=' -expect_unresolved \*'
   11160 	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'
   11161       fi
   11162       archive_cmds_need_lc='no'
   11163       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11164       hardcode_libdir_separator=:
   11165       ;;
   11166 
   11167     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11168       if test yes = "$GCC"; then
   11169 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11170 	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'
   11171 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11172       else
   11173 	allow_undefined_flag=' -expect_unresolved \*'
   11174 	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'
   11175 	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~
   11176           $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'
   11177 
   11178 	# Both c and cxx compiler support -rpath directly
   11179 	hardcode_libdir_flag_spec='-rpath $libdir'
   11180       fi
   11181       archive_cmds_need_lc='no'
   11182       hardcode_libdir_separator=:
   11183       ;;
   11184 
   11185     serenity*)
   11186       ;;
   11187 
   11188     solaris*)
   11189       no_undefined_flag=' -z defs'
   11190       if test yes = "$GCC"; then
   11191 	wlarc='$wl'
   11192 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11193 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11194           $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'
   11195       else
   11196 	case `$CC -V 2>&1` in
   11197 	*"Compilers 5.0"*)
   11198 	  wlarc=''
   11199 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11200 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11201             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11202 	  ;;
   11203 	*)
   11204 	  wlarc='$wl'
   11205 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11206 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11207             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11208 	  ;;
   11209 	esac
   11210       fi
   11211       hardcode_libdir_flag_spec='-R$libdir'
   11212       hardcode_shlibpath_var=no
   11213       case $host_os in
   11214       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11215       *)
   11216 	# The compiler driver will combine and reorder linker options,
   11217 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11218 	# but is careful enough not to reorder.
   11219 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11220 	if test yes = "$GCC"; then
   11221 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11222 	else
   11223 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11224 	fi
   11225 	;;
   11226       esac
   11227       link_all_deplibs=yes
   11228       ;;
   11229 
   11230     sunos4*)
   11231       if test sequent = "$host_vendor"; then
   11232 	# Use $CC to link under sequent, because it throws in some extra .o
   11233 	# files that make .init and .fini sections work.
   11234 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11235       else
   11236 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11237       fi
   11238       hardcode_libdir_flag_spec='-L$libdir'
   11239       hardcode_direct=yes
   11240       hardcode_minus_L=yes
   11241       hardcode_shlibpath_var=no
   11242       ;;
   11243 
   11244     sysv4)
   11245       case $host_vendor in
   11246 	sni)
   11247 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11248 	  hardcode_direct=yes # is this really true???
   11249 	;;
   11250 	siemens)
   11251 	  ## LD is ld it makes a PLAMLIB
   11252 	  ## CC just makes a GrossModule.
   11253 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11254 	  reload_cmds='$CC -r -o $output$reload_objs'
   11255 	  hardcode_direct=no
   11256         ;;
   11257 	motorola)
   11258 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11259 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11260 	;;
   11261       esac
   11262       runpath_var='LD_RUN_PATH'
   11263       hardcode_shlibpath_var=no
   11264       ;;
   11265 
   11266     sysv4.3*)
   11267       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11268       hardcode_shlibpath_var=no
   11269       export_dynamic_flag_spec='-Bexport'
   11270       ;;
   11271 
   11272     sysv4*MP*)
   11273       if test -d /usr/nec; then
   11274 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11275 	hardcode_shlibpath_var=no
   11276 	runpath_var=LD_RUN_PATH
   11277 	hardcode_runpath_var=yes
   11278 	ld_shlibs=yes
   11279       fi
   11280       ;;
   11281 
   11282     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11283       no_undefined_flag='$wl-z,text'
   11284       archive_cmds_need_lc=no
   11285       hardcode_shlibpath_var=no
   11286       runpath_var='LD_RUN_PATH'
   11287 
   11288       if test yes = "$GCC"; then
   11289 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11290 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11291       else
   11292 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11293 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11294       fi
   11295       ;;
   11296 
   11297     sysv5* | sco3.2v5* | sco5v6*)
   11298       # Note: We CANNOT use -z defs as we might desire, because we do not
   11299       # link with -lc, and that would cause any symbols used from libc to
   11300       # always be unresolved, which means just about no library would
   11301       # ever link correctly.  If we're not using GNU ld we use -z text
   11302       # though, which does catch some bad symbols but isn't as heavy-handed
   11303       # as -z defs.
   11304       no_undefined_flag='$wl-z,text'
   11305       allow_undefined_flag='$wl-z,nodefs'
   11306       archive_cmds_need_lc=no
   11307       hardcode_shlibpath_var=no
   11308       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11309       hardcode_libdir_separator=':'
   11310       link_all_deplibs=yes
   11311       export_dynamic_flag_spec='$wl-Bexport'
   11312       runpath_var='LD_RUN_PATH'
   11313 
   11314       if test yes = "$GCC"; then
   11315 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11316 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11317       else
   11318 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11319 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11320       fi
   11321       ;;
   11322 
   11323     uts4*)
   11324       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11325       hardcode_libdir_flag_spec='-L$libdir'
   11326       hardcode_shlibpath_var=no
   11327       ;;
   11328 
   11329     *)
   11330       ld_shlibs=no
   11331       ;;
   11332     esac
   11333 
   11334     if test sni = "$host_vendor"; then
   11335       case $host in
   11336       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11337 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11338 	;;
   11339       esac
   11340     fi
   11341   fi
   11342 
   11343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11344 printf "%s\n" "$ld_shlibs" >&6; }
   11345 test no = "$ld_shlibs" && can_build_shared=no
   11346 
   11347 with_gnu_ld=$with_gnu_ld
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 #
   11364 # Do we need to explicitly link libc?
   11365 #
   11366 case "x$archive_cmds_need_lc" in
   11367 x|xyes)
   11368   # Assume -lc should be added
   11369   archive_cmds_need_lc=yes
   11370 
   11371   if test yes,yes = "$GCC,$enable_shared"; then
   11372     case $archive_cmds in
   11373     *'~'*)
   11374       # FIXME: we may have to deal with multi-command sequences.
   11375       ;;
   11376     '$CC '*)
   11377       # Test whether the compiler implicitly links with -lc since on some
   11378       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11379       # to ld, don't add -lc before -lgcc.
   11380       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11381 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11382 if test ${lt_cv_archive_cmds_need_lc+y}
   11383 then :
   11384   printf %s "(cached) " >&6
   11385 else case e in #(
   11386   e) $RM conftest*
   11387 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11388 
   11389 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11390   (eval $ac_compile) 2>&5
   11391   ac_status=$?
   11392   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11393   test $ac_status = 0; } 2>conftest.err; then
   11394 	  soname=conftest
   11395 	  lib=conftest
   11396 	  libobjs=conftest.$ac_objext
   11397 	  deplibs=
   11398 	  wl=$lt_prog_compiler_wl
   11399 	  pic_flag=$lt_prog_compiler_pic
   11400 	  compiler_flags=-v
   11401 	  linker_flags=-v
   11402 	  verstring=
   11403 	  output_objdir=.
   11404 	  libname=conftest
   11405 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11406 	  allow_undefined_flag=
   11407 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11408   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11409   ac_status=$?
   11410   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11411   test $ac_status = 0; }
   11412 	  then
   11413 	    lt_cv_archive_cmds_need_lc=no
   11414 	  else
   11415 	    lt_cv_archive_cmds_need_lc=yes
   11416 	  fi
   11417 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11418 	else
   11419 	  cat conftest.err 1>&5
   11420 	fi
   11421 	$RM conftest*
   11422 	 ;;
   11423 esac
   11424 fi
   11425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11426 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11427       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11428       ;;
   11429     esac
   11430   fi
   11431   ;;
   11432 esac
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517 
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 
   11536 
   11537 
   11538 
   11539 
   11540 
   11541 
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562 
   11563 
   11564 
   11565 
   11566 
   11567 
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 
   11585   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11586 printf %s "checking dynamic linker characteristics... " >&6; }
   11587 
   11588 if test yes = "$GCC"; then
   11589   case $host_os in
   11590     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11591     *) lt_awk_arg='/^libraries:/' ;;
   11592   esac
   11593   case $host_os in
   11594     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11595     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11596   esac
   11597   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11598   case $lt_search_path_spec in
   11599   *\;*)
   11600     # if the path contains ";" then we assume it to be the separator
   11601     # otherwise default to the standard path separator (i.e. ":") - it is
   11602     # assumed that no part of a normal pathname contains ";" but that should
   11603     # okay in the real world where ";" in dirpaths is itself problematic.
   11604     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11605     ;;
   11606   *)
   11607     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11608     ;;
   11609   esac
   11610   # Ok, now we have the path, separated by spaces, we can step through it
   11611   # and add multilib dir if necessary...
   11612   lt_tmp_lt_search_path_spec=
   11613   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11614   # ...but if some path component already ends with the multilib dir we assume
   11615   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11616   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11617   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11618     lt_multi_os_dir=
   11619     ;;
   11620   esac
   11621   for lt_sys_path in $lt_search_path_spec; do
   11622     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11623       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11624     elif test -n "$lt_multi_os_dir"; then
   11625       test -d "$lt_sys_path" && \
   11626 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11627     fi
   11628   done
   11629   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11630 BEGIN {RS = " "; FS = "/|\n";} {
   11631   lt_foo = "";
   11632   lt_count = 0;
   11633   for (lt_i = NF; lt_i > 0; lt_i--) {
   11634     if ($lt_i != "" && $lt_i != ".") {
   11635       if ($lt_i == "..") {
   11636         lt_count++;
   11637       } else {
   11638         if (lt_count == 0) {
   11639           lt_foo = "/" $lt_i lt_foo;
   11640         } else {
   11641           lt_count--;
   11642         }
   11643       }
   11644     }
   11645   }
   11646   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11647   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11648 }'`
   11649   # AWK program above erroneously prepends '/' to C:/dos/paths
   11650   # for these hosts.
   11651   case $host_os in
   11652     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11653       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11654   esac
   11655   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11656 else
   11657   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11658 fi
   11659 library_names_spec=
   11660 libname_spec='lib$name'
   11661 soname_spec=
   11662 shrext_cmds=.so
   11663 postinstall_cmds=
   11664 postuninstall_cmds=
   11665 finish_cmds=
   11666 finish_eval=
   11667 shlibpath_var=
   11668 shlibpath_overrides_runpath=unknown
   11669 version_type=none
   11670 dynamic_linker="$host_os ld.so"
   11671 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11672 need_lib_prefix=unknown
   11673 hardcode_into_libs=no
   11674 
   11675 # when you set need_version to no, make sure it does not cause -set_version
   11676 # flags to be left without arguments
   11677 need_version=unknown
   11678 
   11679 
   11680 
   11681 case $host_os in
   11682 aix3*)
   11683   version_type=linux # correct to gnu/linux during the next big refactor
   11684   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11685   shlibpath_var=LIBPATH
   11686 
   11687   # AIX 3 has no versioning support, so we append a major version to the name.
   11688   soname_spec='$libname$release$shared_ext$major'
   11689   ;;
   11690 
   11691 aix[4-9]*)
   11692   version_type=linux # correct to gnu/linux during the next big refactor
   11693   need_lib_prefix=no
   11694   need_version=no
   11695   hardcode_into_libs=yes
   11696   if test ia64 = "$host_cpu"; then
   11697     # AIX 5 supports IA64
   11698     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11699     shlibpath_var=LD_LIBRARY_PATH
   11700   else
   11701     # With GCC up to 2.95.x, collect2 would create an import file
   11702     # for dependence libraries.  The import file would start with
   11703     # the line '#! .'.  This would cause the generated library to
   11704     # depend on '.', always an invalid library.  This was fixed in
   11705     # development snapshots of GCC prior to 3.0.
   11706     case $host_os in
   11707       aix4 | aix4.[01] | aix4.[01].*)
   11708       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11709 	   echo ' yes '
   11710 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11711 	:
   11712       else
   11713 	can_build_shared=no
   11714       fi
   11715       ;;
   11716     esac
   11717     # Using Import Files as archive members, it is possible to support
   11718     # filename-based versioning of shared library archives on AIX. While
   11719     # this would work for both with and without runtime linking, it will
   11720     # prevent static linking of such archives. So we do filename-based
   11721     # shared library versioning with .so extension only, which is used
   11722     # when both runtime linking and shared linking is enabled.
   11723     # Unfortunately, runtime linking may impact performance, so we do
   11724     # not want this to be the default eventually. Also, we use the
   11725     # versioned .so libs for executables only if there is the -brtl
   11726     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   11727     # To allow for filename-based versioning support, we need to create
   11728     # libNAME.so.V as an archive file, containing:
   11729     # *) an Import File, referring to the versioned filename of the
   11730     #    archive as well as the shared archive member, telling the
   11731     #    bitwidth (32 or 64) of that shared object, and providing the
   11732     #    list of exported symbols of that shared object, eventually
   11733     #    decorated with the 'weak' keyword
   11734     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11735     #    it being seen by the linker.
   11736     # At run time we better use the real file rather than another symlink,
   11737     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11738 
   11739     case $with_aix_soname,$aix_use_runtimelinking in
   11740     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11741     # soname into executable. Probably we can add versioning support to
   11742     # collect2, so additional links can be useful in future.
   11743     aix,yes) # traditional libtool
   11744       dynamic_linker='AIX unversionable lib.so'
   11745       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11746       # instead of lib<name>.a to let people know that these are not
   11747       # typical AIX shared libraries.
   11748       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11749       ;;
   11750     aix,no) # traditional AIX only
   11751       dynamic_linker='AIX lib.a(lib.so.V)'
   11752       # We preserve .a as extension for shared libraries through AIX4.2
   11753       # and later when we are not doing run time linking.
   11754       library_names_spec='$libname$release.a $libname.a'
   11755       soname_spec='$libname$release$shared_ext$major'
   11756       ;;
   11757     svr4,*) # full svr4 only
   11758       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11759       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11760       # We do not specify a path in Import Files, so LIBPATH fires.
   11761       shlibpath_overrides_runpath=yes
   11762       ;;
   11763     *,yes) # both, prefer svr4
   11764       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11765       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11766       # unpreferred sharedlib libNAME.a needs extra handling
   11767       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"'
   11768       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"'
   11769       # We do not specify a path in Import Files, so LIBPATH fires.
   11770       shlibpath_overrides_runpath=yes
   11771       ;;
   11772     *,no) # both, prefer aix
   11773       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11774       library_names_spec='$libname$release.a $libname.a'
   11775       soname_spec='$libname$release$shared_ext$major'
   11776       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11777       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)'
   11778       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"'
   11779       ;;
   11780     esac
   11781     shlibpath_var=LIBPATH
   11782   fi
   11783   ;;
   11784 
   11785 amigaos*)
   11786   case $host_cpu in
   11787   powerpc)
   11788     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11789     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11790     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11791     ;;
   11792   m68k)
   11793     library_names_spec='$libname.ixlibrary $libname.a'
   11794     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11795     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'
   11796     ;;
   11797   esac
   11798   ;;
   11799 
   11800 beos*)
   11801   library_names_spec='$libname$shared_ext'
   11802   dynamic_linker="$host_os ld.so"
   11803   shlibpath_var=LIBRARY_PATH
   11804   ;;
   11805 
   11806 bsdi[45]*)
   11807   version_type=linux # correct to gnu/linux during the next big refactor
   11808   need_version=no
   11809   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11810   soname_spec='$libname$release$shared_ext$major'
   11811   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11812   shlibpath_var=LD_LIBRARY_PATH
   11813   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11814   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11815   # the default ld.so.conf also contains /usr/contrib/lib and
   11816   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11817   # libtool to hard-code these into programs
   11818   ;;
   11819 
   11820 cygwin* | mingw* | windows* | pw32* | cegcc*)
   11821   version_type=windows
   11822   shrext_cmds=.dll
   11823   need_version=no
   11824   need_lib_prefix=no
   11825 
   11826   case $GCC,$cc_basename in
   11827   yes,*)
   11828     # gcc
   11829     library_names_spec='$libname.dll.a'
   11830     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11831     # If user builds GCC with multilib enabled,
   11832     # it should just install on $(libdir)
   11833     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   11834     if test xyes = x"$multilib"; then
   11835       postinstall_cmds='base_file=`basename \$file`~
   11836         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11837         dldir=$destdir/`dirname \$dlpath`~
   11838         $install_prog $dir/$dlname $destdir/$dlname~
   11839         chmod a+x $destdir/$dlname~
   11840         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11841           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   11842         fi'
   11843     else
   11844       postinstall_cmds='base_file=`basename \$file`~
   11845         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11846         dldir=$destdir/`dirname \$dlpath`~
   11847         test -d \$dldir || mkdir -p \$dldir~
   11848         $install_prog $dir/$dlname \$dldir/$dlname~
   11849         chmod a+x \$dldir/$dlname~
   11850         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11851           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11852         fi'
   11853     fi
   11854     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11855       dlpath=$dir/\$dldll~
   11856        $RM \$dlpath'
   11857     shlibpath_overrides_runpath=yes
   11858 
   11859     case $host_os in
   11860     cygwin*)
   11861       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11862       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11863 
   11864       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11865       ;;
   11866     mingw* | windows* | cegcc*)
   11867       # MinGW DLLs use traditional 'lib' prefix
   11868       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11869       ;;
   11870     pw32*)
   11871       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11872       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11873       ;;
   11874     esac
   11875     dynamic_linker='Win32 ld.exe'
   11876     ;;
   11877 
   11878   *,cl* | *,icl*)
   11879     # Native MSVC or ICC
   11880     libname_spec='$name'
   11881     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11882     library_names_spec='$libname.dll.lib'
   11883 
   11884     case $build_os in
   11885     mingw* | windows*)
   11886       sys_lib_search_path_spec=
   11887       lt_save_ifs=$IFS
   11888       IFS=';'
   11889       for lt_path in $LIB
   11890       do
   11891         IFS=$lt_save_ifs
   11892         # Let DOS variable expansion print the short 8.3 style file name.
   11893         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11894         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11895       done
   11896       IFS=$lt_save_ifs
   11897       # Convert to MSYS style.
   11898       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11899       ;;
   11900     cygwin*)
   11901       # Convert to unix form, then to dos form, then back to unix form
   11902       # but this time dos style (no spaces!) so that the unix form looks
   11903       # like /cygdrive/c/PROGRA~1:/cygdr...
   11904       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11905       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11906       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11907       ;;
   11908     *)
   11909       sys_lib_search_path_spec=$LIB
   11910       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11911         # It is most probably a Windows format PATH.
   11912         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11913       else
   11914         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11915       fi
   11916       # FIXME: find the short name or the path components, as spaces are
   11917       # common. (e.g. "Program Files" -> "PROGRA~1")
   11918       ;;
   11919     esac
   11920 
   11921     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11922     postinstall_cmds='base_file=`basename \$file`~
   11923       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11924       dldir=$destdir/`dirname \$dlpath`~
   11925       test -d \$dldir || mkdir -p \$dldir~
   11926       $install_prog $dir/$dlname \$dldir/$dlname'
   11927     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11928       dlpath=$dir/\$dldll~
   11929        $RM \$dlpath'
   11930     shlibpath_overrides_runpath=yes
   11931     dynamic_linker='Win32 link.exe'
   11932     ;;
   11933 
   11934   *)
   11935     # Assume MSVC and ICC wrapper
   11936     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11937     dynamic_linker='Win32 ld.exe'
   11938     ;;
   11939   esac
   11940   # FIXME: first we should search . and the directory the executable is in
   11941   shlibpath_var=PATH
   11942   ;;
   11943 
   11944 darwin* | rhapsody*)
   11945   dynamic_linker="$host_os dyld"
   11946   version_type=darwin
   11947   need_lib_prefix=no
   11948   need_version=no
   11949   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11950   soname_spec='$libname$release$major$shared_ext'
   11951   shlibpath_overrides_runpath=yes
   11952   shlibpath_var=DYLD_LIBRARY_PATH
   11953   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11954 
   11955   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11956   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11957   ;;
   11958 
   11959 dgux*)
   11960   version_type=linux # correct to gnu/linux during the next big refactor
   11961   need_lib_prefix=no
   11962   need_version=no
   11963   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11964   soname_spec='$libname$release$shared_ext$major'
   11965   shlibpath_var=LD_LIBRARY_PATH
   11966   ;;
   11967 
   11968 freebsd* | dragonfly* | midnightbsd*)
   11969   # DragonFly does not have aout.  When/if they implement a new
   11970   # versioning mechanism, adjust this.
   11971   if test -x /usr/bin/objformat; then
   11972     objformat=`/usr/bin/objformat`
   11973   else
   11974     case $host_os in
   11975     freebsd[23].*) objformat=aout ;;
   11976     *) objformat=elf ;;
   11977     esac
   11978   fi
   11979   version_type=freebsd-$objformat
   11980   case $version_type in
   11981     freebsd-elf*)
   11982       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11983       soname_spec='$libname$release$shared_ext$major'
   11984       need_version=no
   11985       need_lib_prefix=no
   11986       ;;
   11987     freebsd-*)
   11988       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11989       need_version=yes
   11990       ;;
   11991   esac
   11992   case $host_cpu in
   11993     powerpc64)
   11994       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   11995       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   11996       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11997 /* end confdefs.h.  */
   11998 int test_pointer_size[sizeof (void *) - 5];
   11999 
   12000 _ACEOF
   12001 if ac_fn_c_try_compile "$LINENO"
   12002 then :
   12003   shlibpath_var=LD_LIBRARY_PATH
   12004 else case e in #(
   12005   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   12006 esac
   12007 fi
   12008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12009       ;;
   12010     *)
   12011       shlibpath_var=LD_LIBRARY_PATH
   12012       ;;
   12013   esac
   12014   case $host_os in
   12015   freebsd2.*)
   12016     shlibpath_overrides_runpath=yes
   12017     ;;
   12018   freebsd3.[01]* | freebsdelf3.[01]*)
   12019     shlibpath_overrides_runpath=yes
   12020     hardcode_into_libs=yes
   12021     ;;
   12022   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12023   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12024     shlibpath_overrides_runpath=no
   12025     hardcode_into_libs=yes
   12026     ;;
   12027   *) # from 4.6 on, and DragonFly
   12028     shlibpath_overrides_runpath=yes
   12029     hardcode_into_libs=yes
   12030     ;;
   12031   esac
   12032   ;;
   12033 
   12034 haiku*)
   12035   version_type=linux # correct to gnu/linux during the next big refactor
   12036   need_lib_prefix=no
   12037   need_version=no
   12038   dynamic_linker="$host_os runtime_loader"
   12039   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12040   soname_spec='$libname$release$shared_ext$major'
   12041   shlibpath_var=LIBRARY_PATH
   12042   shlibpath_overrides_runpath=no
   12043   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   12044   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   12045   hardcode_into_libs=no
   12046   ;;
   12047 
   12048 hpux9* | hpux10* | hpux11*)
   12049   # Give a soname corresponding to the major version so that dld.sl refuses to
   12050   # link against other versions.
   12051   version_type=sunos
   12052   need_lib_prefix=no
   12053   need_version=no
   12054   case $host_cpu in
   12055   ia64*)
   12056     shrext_cmds='.so'
   12057     hardcode_into_libs=yes
   12058     dynamic_linker="$host_os dld.so"
   12059     shlibpath_var=LD_LIBRARY_PATH
   12060     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12061     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12062     soname_spec='$libname$release$shared_ext$major'
   12063     if test 32 = "$HPUX_IA64_MODE"; then
   12064       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12065       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12066     else
   12067       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12068       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12069     fi
   12070     ;;
   12071   hppa*64*)
   12072     shrext_cmds='.sl'
   12073     hardcode_into_libs=yes
   12074     dynamic_linker="$host_os dld.sl"
   12075     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12076     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12077     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12078     soname_spec='$libname$release$shared_ext$major'
   12079     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12080     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12081     ;;
   12082   *)
   12083     shrext_cmds='.sl'
   12084     dynamic_linker="$host_os dld.sl"
   12085     shlibpath_var=SHLIB_PATH
   12086     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12087     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12088     soname_spec='$libname$release$shared_ext$major'
   12089     ;;
   12090   esac
   12091   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12092   postinstall_cmds='chmod 555 $lib'
   12093   # or fails outright, so override atomically:
   12094   install_override_mode=555
   12095   ;;
   12096 
   12097 interix[3-9]*)
   12098   version_type=linux # correct to gnu/linux during the next big refactor
   12099   need_lib_prefix=no
   12100   need_version=no
   12101   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12102   soname_spec='$libname$release$shared_ext$major'
   12103   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12104   shlibpath_var=LD_LIBRARY_PATH
   12105   shlibpath_overrides_runpath=no
   12106   hardcode_into_libs=yes
   12107   ;;
   12108 
   12109 irix5* | irix6* | nonstopux*)
   12110   case $host_os in
   12111     nonstopux*) version_type=nonstopux ;;
   12112     *)
   12113 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12114 		version_type=linux # correct to gnu/linux during the next big refactor
   12115 	else
   12116 		version_type=irix
   12117 	fi ;;
   12118   esac
   12119   need_lib_prefix=no
   12120   need_version=no
   12121   soname_spec='$libname$release$shared_ext$major'
   12122   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12123   case $host_os in
   12124   irix5* | nonstopux*)
   12125     libsuff= shlibsuff=
   12126     ;;
   12127   *)
   12128     case $LD in # libtool.m4 will add one of these switches to LD
   12129     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12130       libsuff= shlibsuff= libmagic=32-bit;;
   12131     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12132       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12133     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12134       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12135     *) libsuff= shlibsuff= libmagic=never-match;;
   12136     esac
   12137     ;;
   12138   esac
   12139   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12140   shlibpath_overrides_runpath=no
   12141   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12142   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12143   hardcode_into_libs=yes
   12144   ;;
   12145 
   12146 # No shared lib support for Linux oldld, aout, or coff.
   12147 linux*oldld* | linux*aout* | linux*coff*)
   12148   dynamic_linker=no
   12149   ;;
   12150 
   12151 linux*android*)
   12152   version_type=none # Android doesn't support versioned libraries.
   12153   need_lib_prefix=no
   12154   need_version=no
   12155   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12156   soname_spec='$libname$release$shared_ext'
   12157   finish_cmds=
   12158   shlibpath_var=LD_LIBRARY_PATH
   12159   shlibpath_overrides_runpath=yes
   12160 
   12161   # This implies no fast_install, which is unacceptable.
   12162   # Some rework will be needed to allow for fast_install
   12163   # before this can be enabled.
   12164   hardcode_into_libs=yes
   12165 
   12166   dynamic_linker='Android linker'
   12167   # -rpath works at least for libraries that are not overridden by
   12168   # libraries installed in system locations.
   12169   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12170   ;;
   12171 
   12172 # This must be glibc/ELF.
   12173 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12174   version_type=linux # correct to gnu/linux during the next big refactor
   12175   need_lib_prefix=no
   12176   need_version=no
   12177   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12178   soname_spec='$libname$release$shared_ext$major'
   12179   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12180   shlibpath_var=LD_LIBRARY_PATH
   12181   shlibpath_overrides_runpath=no
   12182 
   12183   # Some binutils ld are patched to set DT_RUNPATH
   12184   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12185 then :
   12186   printf %s "(cached) " >&6
   12187 else case e in #(
   12188   e) lt_cv_shlibpath_overrides_runpath=no
   12189     save_LDFLAGS=$LDFLAGS
   12190     save_libdir=$libdir
   12191     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12192 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12193     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12194 /* end confdefs.h.  */
   12195 
   12196 int
   12197 main (void)
   12198 {
   12199 
   12200   ;
   12201   return 0;
   12202 }
   12203 _ACEOF
   12204 if ac_fn_c_try_link "$LINENO"
   12205 then :
   12206   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12207 then :
   12208   lt_cv_shlibpath_overrides_runpath=yes
   12209 fi
   12210 fi
   12211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12212     conftest$ac_exeext conftest.$ac_ext
   12213     LDFLAGS=$save_LDFLAGS
   12214     libdir=$save_libdir
   12215      ;;
   12216 esac
   12217 fi
   12218 
   12219   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12220 
   12221   # This implies no fast_install, which is unacceptable.
   12222   # Some rework will be needed to allow for fast_install
   12223   # before this can be enabled.
   12224   hardcode_into_libs=yes
   12225 
   12226   # Ideally, we could use ldconfig to report *all* directories which are
   12227   # searched for libraries, however this is still not possible.  Aside from not
   12228   # being certain /sbin/ldconfig is available, command
   12229   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12230   # even though it is searched at run-time.  Try to do the best guess by
   12231   # appending ld.so.conf contents (and includes) to the search path.
   12232   if test -f /etc/ld.so.conf; then
   12233     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' ' '`
   12234     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12235   fi
   12236 
   12237   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12238   # powerpc, because MkLinux only supported shared libraries with the
   12239   # GNU dynamic linker.  Since this was broken with cross compilers,
   12240   # most powerpc-linux boxes support dynamic linking these days and
   12241   # people can always --disable-shared, the test was removed, and we
   12242   # assume the GNU/Linux dynamic linker is in use.
   12243   dynamic_linker='GNU/Linux ld.so'
   12244   ;;
   12245 
   12246 netbsdelf*-gnu)
   12247   version_type=linux
   12248   need_lib_prefix=no
   12249   need_version=no
   12250   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12251   soname_spec='$libname$release$shared_ext$major'
   12252   shlibpath_var=LD_LIBRARY_PATH
   12253   shlibpath_overrides_runpath=no
   12254   hardcode_into_libs=yes
   12255   dynamic_linker='NetBSD ld.elf_so'
   12256   ;;
   12257 
   12258 netbsd*)
   12259   version_type=sunos
   12260   need_lib_prefix=no
   12261   need_version=no
   12262   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12263     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12264     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12265     dynamic_linker='NetBSD (a.out) ld.so'
   12266   else
   12267     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12268     soname_spec='$libname$release$shared_ext$major'
   12269     dynamic_linker='NetBSD ld.elf_so'
   12270   fi
   12271   shlibpath_var=LD_LIBRARY_PATH
   12272   shlibpath_overrides_runpath=yes
   12273   hardcode_into_libs=yes
   12274   ;;
   12275 
   12276 *-mlibc)
   12277   version_type=linux # correct to gnu/linux during the next big refactor
   12278   need_lib_prefix=no
   12279   need_version=no
   12280   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12281   soname_spec='$libname$release$shared_ext$major'
   12282   dynamic_linker='mlibc ld.so'
   12283   shlibpath_var=LD_LIBRARY_PATH
   12284   shlibpath_overrides_runpath=no
   12285   hardcode_into_libs=yes
   12286   ;;
   12287 
   12288 newsos6)
   12289   version_type=linux # correct to gnu/linux during the next big refactor
   12290   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12291   shlibpath_var=LD_LIBRARY_PATH
   12292   shlibpath_overrides_runpath=yes
   12293   ;;
   12294 
   12295 *nto* | *qnx*)
   12296   version_type=qnx
   12297   need_lib_prefix=no
   12298   need_version=no
   12299   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12300   soname_spec='$libname$release$shared_ext$major'
   12301   shlibpath_var=LD_LIBRARY_PATH
   12302   shlibpath_overrides_runpath=no
   12303   hardcode_into_libs=yes
   12304   dynamic_linker='ldqnx.so'
   12305   ;;
   12306 
   12307 openbsd*)
   12308   version_type=sunos
   12309   sys_lib_dlsearch_path_spec=/usr/lib
   12310   need_lib_prefix=no
   12311   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12312     need_version=no
   12313   else
   12314     need_version=yes
   12315   fi
   12316   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12317   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12318   shlibpath_var=LD_LIBRARY_PATH
   12319   shlibpath_overrides_runpath=yes
   12320   ;;
   12321 
   12322 os2*)
   12323   libname_spec='$name'
   12324   version_type=windows
   12325   shrext_cmds=.dll
   12326   need_version=no
   12327   need_lib_prefix=no
   12328   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12329   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12330     v=$($ECHO $release$versuffix | tr -d .-);
   12331     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12332     $ECHO $n$v`$shared_ext'
   12333   library_names_spec='${libname}_dll.$libext'
   12334   dynamic_linker='OS/2 ld.exe'
   12335   shlibpath_var=BEGINLIBPATH
   12336   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12337   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12338   postinstall_cmds='base_file=`basename \$file`~
   12339     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12340     dldir=$destdir/`dirname \$dlpath`~
   12341     test -d \$dldir || mkdir -p \$dldir~
   12342     $install_prog $dir/$dlname \$dldir/$dlname~
   12343     chmod a+x \$dldir/$dlname~
   12344     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12345       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12346     fi'
   12347   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12348     dlpath=$dir/\$dldll~
   12349     $RM \$dlpath'
   12350   ;;
   12351 
   12352 osf3* | osf4* | osf5*)
   12353   version_type=osf
   12354   need_lib_prefix=no
   12355   need_version=no
   12356   soname_spec='$libname$release$shared_ext$major'
   12357   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12358   shlibpath_var=LD_LIBRARY_PATH
   12359   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12360   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12361   ;;
   12362 
   12363 rdos*)
   12364   dynamic_linker=no
   12365   ;;
   12366 
   12367 serenity*)
   12368   version_type=linux # correct to gnu/linux during the next big refactor
   12369   need_lib_prefix=no
   12370   need_version=no
   12371   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12372   soname_spec='$libname$release$shared_ext$major'
   12373   shlibpath_var=LD_LIBRARY_PATH
   12374   shlibpath_overrides_runpath=no
   12375   dynamic_linker='SerenityOS LibELF'
   12376   ;;
   12377 
   12378 solaris*)
   12379   version_type=linux # correct to gnu/linux during the next big refactor
   12380   need_lib_prefix=no
   12381   need_version=no
   12382   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12383   soname_spec='$libname$release$shared_ext$major'
   12384   shlibpath_var=LD_LIBRARY_PATH
   12385   shlibpath_overrides_runpath=yes
   12386   hardcode_into_libs=yes
   12387   # ldd complains unless libraries are executable
   12388   postinstall_cmds='chmod +x $lib'
   12389   ;;
   12390 
   12391 sunos4*)
   12392   version_type=sunos
   12393   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12394   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12395   shlibpath_var=LD_LIBRARY_PATH
   12396   shlibpath_overrides_runpath=yes
   12397   if test yes = "$with_gnu_ld"; then
   12398     need_lib_prefix=no
   12399   fi
   12400   need_version=yes
   12401   ;;
   12402 
   12403 sysv4 | sysv4.3*)
   12404   version_type=linux # correct to gnu/linux during the next big refactor
   12405   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12406   soname_spec='$libname$release$shared_ext$major'
   12407   shlibpath_var=LD_LIBRARY_PATH
   12408   case $host_vendor in
   12409     sni)
   12410       shlibpath_overrides_runpath=no
   12411       need_lib_prefix=no
   12412       runpath_var=LD_RUN_PATH
   12413       ;;
   12414     siemens)
   12415       need_lib_prefix=no
   12416       ;;
   12417     motorola)
   12418       need_lib_prefix=no
   12419       need_version=no
   12420       shlibpath_overrides_runpath=no
   12421       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12422       ;;
   12423   esac
   12424   ;;
   12425 
   12426 sysv4*MP*)
   12427   if test -d /usr/nec; then
   12428     version_type=linux # correct to gnu/linux during the next big refactor
   12429     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12430     soname_spec='$libname$shared_ext.$major'
   12431     shlibpath_var=LD_LIBRARY_PATH
   12432   fi
   12433   ;;
   12434 
   12435 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12436   version_type=sco
   12437   need_lib_prefix=no
   12438   need_version=no
   12439   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12440   soname_spec='$libname$release$shared_ext$major'
   12441   shlibpath_var=LD_LIBRARY_PATH
   12442   shlibpath_overrides_runpath=yes
   12443   hardcode_into_libs=yes
   12444   if test yes = "$with_gnu_ld"; then
   12445     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12446   else
   12447     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12448     case $host_os in
   12449       sco3.2v5*)
   12450         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12451 	;;
   12452     esac
   12453   fi
   12454   sys_lib_dlsearch_path_spec='/usr/lib'
   12455   ;;
   12456 
   12457 tpf*)
   12458   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12459   version_type=linux # correct to gnu/linux during the next big refactor
   12460   need_lib_prefix=no
   12461   need_version=no
   12462   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12463   shlibpath_var=LD_LIBRARY_PATH
   12464   shlibpath_overrides_runpath=no
   12465   hardcode_into_libs=yes
   12466   ;;
   12467 
   12468 uts4*)
   12469   version_type=linux # correct to gnu/linux during the next big refactor
   12470   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12471   soname_spec='$libname$release$shared_ext$major'
   12472   shlibpath_var=LD_LIBRARY_PATH
   12473   ;;
   12474 
   12475 emscripten*)
   12476   version_type=none
   12477   need_lib_prefix=no
   12478   need_version=no
   12479   library_names_spec='$libname$release$shared_ext'
   12480   soname_spec='$libname$release$shared_ext'
   12481   finish_cmds=
   12482   dynamic_linker="Emscripten linker"
   12483   lt_prog_compiler_wl=
   12484 lt_prog_compiler_pic=
   12485 lt_prog_compiler_static=
   12486 
   12487 
   12488   if test yes = "$GCC"; then
   12489     lt_prog_compiler_wl='-Wl,'
   12490     lt_prog_compiler_static='-static'
   12491 
   12492     case $host_os in
   12493       aix*)
   12494       # All AIX code is PIC.
   12495       if test ia64 = "$host_cpu"; then
   12496 	# AIX 5 now supports IA64 processor
   12497 	lt_prog_compiler_static='-Bstatic'
   12498       fi
   12499       lt_prog_compiler_pic='-fPIC'
   12500       ;;
   12501 
   12502     amigaos*)
   12503       case $host_cpu in
   12504       powerpc)
   12505             # see comment about AmigaOS4 .so support
   12506             lt_prog_compiler_pic='-fPIC'
   12507         ;;
   12508       m68k)
   12509             # FIXME: we need at least 68020 code to build shared libraries, but
   12510             # adding the '-m68020' flag to GCC prevents building anything better,
   12511             # like '-m68040'.
   12512             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12513         ;;
   12514       esac
   12515       ;;
   12516 
   12517     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12518       # PIC is the default for these OSes.
   12519       ;;
   12520 
   12521     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12522       # This hack is so that the source file can tell whether it is being
   12523       # built for inclusion in a dll (and should export symbols for example).
   12524       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12525       # (--disable-auto-import) libraries
   12526       lt_prog_compiler_pic='-DDLL_EXPORT'
   12527       case $host_os in
   12528       os2*)
   12529 	lt_prog_compiler_static='$wl-static'
   12530 	;;
   12531       esac
   12532       ;;
   12533 
   12534     darwin* | rhapsody*)
   12535       # PIC is the default on this platform
   12536       # Common symbols not allowed in MH_DYLIB files
   12537       lt_prog_compiler_pic='-fno-common'
   12538       ;;
   12539 
   12540     haiku*)
   12541       # PIC is the default for Haiku.
   12542       # The "-static" flag exists, but is broken.
   12543       lt_prog_compiler_static=
   12544       ;;
   12545 
   12546     hpux*)
   12547       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12548       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12549       # sets the default TLS model and affects inlining.
   12550       case $host_cpu in
   12551       hppa*64*)
   12552 	# +Z the default
   12553 	;;
   12554       *)
   12555 	lt_prog_compiler_pic='-fPIC'
   12556 	;;
   12557       esac
   12558       ;;
   12559 
   12560     interix[3-9]*)
   12561       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12562       # Instead, we relocate shared libraries at runtime.
   12563       ;;
   12564 
   12565     msdosdjgpp*)
   12566       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12567       # on systems that don't support them.
   12568       lt_prog_compiler_can_build_shared=no
   12569       enable_shared=no
   12570       ;;
   12571 
   12572     *nto* | *qnx*)
   12573       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12574       # it will coredump.
   12575       lt_prog_compiler_pic='-fPIC -shared'
   12576       ;;
   12577 
   12578     sysv4*MP*)
   12579       if test -d /usr/nec; then
   12580 	lt_prog_compiler_pic=-Kconform_pic
   12581       fi
   12582       ;;
   12583 
   12584     *)
   12585       lt_prog_compiler_pic='-fPIC'
   12586       ;;
   12587     esac
   12588 
   12589     case $cc_basename in
   12590     nvcc*) # Cuda Compiler Driver 2.2
   12591       lt_prog_compiler_wl='-Xlinker '
   12592       if test -n "$lt_prog_compiler_pic"; then
   12593         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12594       fi
   12595       ;;
   12596     esac
   12597   else
   12598     # PORTME Check for flag to pass linker flags through the system compiler.
   12599     case $host_os in
   12600     aix*)
   12601       lt_prog_compiler_wl='-Wl,'
   12602       if test ia64 = "$host_cpu"; then
   12603 	# AIX 5 now supports IA64 processor
   12604 	lt_prog_compiler_static='-Bstatic'
   12605       else
   12606 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   12607       fi
   12608       ;;
   12609 
   12610     darwin* | rhapsody*)
   12611       # PIC is the default on this platform
   12612       # Common symbols not allowed in MH_DYLIB files
   12613       lt_prog_compiler_pic='-fno-common'
   12614       case $cc_basename in
   12615       nagfor*)
   12616         # NAG Fortran compiler
   12617         lt_prog_compiler_wl='-Wl,-Wl,,'
   12618         lt_prog_compiler_pic='-PIC'
   12619         lt_prog_compiler_static='-Bstatic'
   12620         ;;
   12621       esac
   12622       ;;
   12623 
   12624     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12625       # This hack is so that the source file can tell whether it is being
   12626       # built for inclusion in a dll (and should export symbols for example).
   12627       lt_prog_compiler_pic='-DDLL_EXPORT'
   12628       case $host_os in
   12629       os2*)
   12630 	lt_prog_compiler_static='$wl-static'
   12631 	;;
   12632       esac
   12633       ;;
   12634 
   12635     hpux9* | hpux10* | hpux11*)
   12636       lt_prog_compiler_wl='-Wl,'
   12637       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12638       # not for PA HP-UX.
   12639       case $host_cpu in
   12640       hppa*64*|ia64*)
   12641 	# +Z the default
   12642 	;;
   12643       *)
   12644 	lt_prog_compiler_pic='+Z'
   12645 	;;
   12646       esac
   12647       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12648       lt_prog_compiler_static='$wl-a ${wl}archive'
   12649       ;;
   12650 
   12651     irix5* | irix6* | nonstopux*)
   12652       lt_prog_compiler_wl='-Wl,'
   12653       # PIC (with -KPIC) is the default.
   12654       lt_prog_compiler_static='-non_shared'
   12655       ;;
   12656 
   12657     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12658       case $cc_basename in
   12659       # old Intel for x86_64, which still supported -KPIC.
   12660       ecc*)
   12661 	lt_prog_compiler_wl='-Wl,'
   12662 	lt_prog_compiler_pic='-KPIC'
   12663 	lt_prog_compiler_static='-static'
   12664         ;;
   12665       *flang* | ftn | f18* | f95*)
   12666         # Flang compiler.
   12667 	lt_prog_compiler_wl='-Wl,'
   12668 	lt_prog_compiler_pic='-fPIC'
   12669 	lt_prog_compiler_static='-static'
   12670         ;;
   12671       # icc used to be incompatible with GCC.
   12672       # ICC 10 doesn't accept -KPIC any more.
   12673       icc* | ifort*)
   12674 	lt_prog_compiler_wl='-Wl,'
   12675 	lt_prog_compiler_pic='-fPIC'
   12676 	lt_prog_compiler_static='-static'
   12677         ;;
   12678       # Lahey Fortran 8.1.
   12679       lf95*)
   12680 	lt_prog_compiler_wl='-Wl,'
   12681 	lt_prog_compiler_pic='--shared'
   12682 	lt_prog_compiler_static='--static'
   12683 	;;
   12684       nagfor*)
   12685 	# NAG Fortran compiler
   12686 	lt_prog_compiler_wl='-Wl,-Wl,,'
   12687 	lt_prog_compiler_pic='-PIC'
   12688 	lt_prog_compiler_static='-Bstatic'
   12689 	;;
   12690       tcc*)
   12691 	# Fabrice Bellard et al's Tiny C Compiler
   12692 	lt_prog_compiler_wl='-Wl,'
   12693 	lt_prog_compiler_pic='-fPIC'
   12694 	lt_prog_compiler_static='-static'
   12695 	;;
   12696       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   12697         # Portland Group compilers (*not* the Pentium gcc compiler,
   12698 	# which looks to be a dead project)
   12699 	lt_prog_compiler_wl='-Wl,'
   12700 	lt_prog_compiler_pic='-fpic'
   12701 	lt_prog_compiler_static='-Bstatic'
   12702         ;;
   12703       ccc*)
   12704         lt_prog_compiler_wl='-Wl,'
   12705         # All Alpha code is PIC.
   12706         lt_prog_compiler_static='-non_shared'
   12707         ;;
   12708       xl* | bgxl* | bgf* | mpixl*)
   12709 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   12710 	lt_prog_compiler_wl='-Wl,'
   12711 	lt_prog_compiler_pic='-qpic'
   12712 	lt_prog_compiler_static='-qstaticlink'
   12713 	;;
   12714       *)
   12715 	case `$CC -V 2>&1 | $SED 5q` in
   12716 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   12717 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   12718 	  lt_prog_compiler_pic='-KPIC'
   12719 	  lt_prog_compiler_static='-Bstatic'
   12720 	  lt_prog_compiler_wl=''
   12721 	  ;;
   12722 	*Sun\ F* | *Sun*Fortran*)
   12723 	  lt_prog_compiler_pic='-KPIC'
   12724 	  lt_prog_compiler_static='-Bstatic'
   12725 	  lt_prog_compiler_wl='-Qoption ld '
   12726 	  ;;
   12727 	*Sun\ C*)
   12728 	  # Sun C 5.9
   12729 	  lt_prog_compiler_pic='-KPIC'
   12730 	  lt_prog_compiler_static='-Bstatic'
   12731 	  lt_prog_compiler_wl='-Wl,'
   12732 	  ;;
   12733         *Intel*\ [CF]*Compiler*)
   12734 	  lt_prog_compiler_wl='-Wl,'
   12735 	  lt_prog_compiler_pic='-fPIC'
   12736 	  lt_prog_compiler_static='-static'
   12737 	  ;;
   12738 	*Portland\ Group*)
   12739 	  lt_prog_compiler_wl='-Wl,'
   12740 	  lt_prog_compiler_pic='-fpic'
   12741 	  lt_prog_compiler_static='-Bstatic'
   12742 	  ;;
   12743 	esac
   12744 	;;
   12745       esac
   12746       ;;
   12747 
   12748     newsos6)
   12749       lt_prog_compiler_pic='-KPIC'
   12750       lt_prog_compiler_static='-Bstatic'
   12751       ;;
   12752 
   12753     *-mlibc)
   12754       lt_prog_compiler_wl='-Wl,'
   12755       lt_prog_compiler_pic='-fPIC'
   12756       lt_prog_compiler_static='-static'
   12757       ;;
   12758 
   12759     *nto* | *qnx*)
   12760       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12761       # it will coredump.
   12762       lt_prog_compiler_pic='-fPIC -shared'
   12763       ;;
   12764 
   12765     osf3* | osf4* | osf5*)
   12766       lt_prog_compiler_wl='-Wl,'
   12767       # All OSF/1 code is PIC.
   12768       lt_prog_compiler_static='-non_shared'
   12769       ;;
   12770 
   12771     rdos*)
   12772       lt_prog_compiler_static='-non_shared'
   12773       ;;
   12774 
   12775     serenity*)
   12776       ;;
   12777 
   12778     solaris*)
   12779       lt_prog_compiler_pic='-KPIC'
   12780       lt_prog_compiler_static='-Bstatic'
   12781       case $cc_basename in
   12782       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   12783 	lt_prog_compiler_wl='-Qoption ld ';;
   12784       *)
   12785 	lt_prog_compiler_wl='-Wl,';;
   12786       esac
   12787       ;;
   12788 
   12789     sunos4*)
   12790       lt_prog_compiler_wl='-Qoption ld '
   12791       lt_prog_compiler_pic='-PIC'
   12792       lt_prog_compiler_static='-Bstatic'
   12793       ;;
   12794 
   12795     sysv4 | sysv4.2uw2* | sysv4.3*)
   12796       lt_prog_compiler_wl='-Wl,'
   12797       lt_prog_compiler_pic='-KPIC'
   12798       lt_prog_compiler_static='-Bstatic'
   12799       ;;
   12800 
   12801     sysv4*MP*)
   12802       if test -d /usr/nec; then
   12803 	lt_prog_compiler_pic='-Kconform_pic'
   12804 	lt_prog_compiler_static='-Bstatic'
   12805       fi
   12806       ;;
   12807 
   12808     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12809       lt_prog_compiler_wl='-Wl,'
   12810       lt_prog_compiler_pic='-KPIC'
   12811       lt_prog_compiler_static='-Bstatic'
   12812       ;;
   12813 
   12814     unicos*)
   12815       lt_prog_compiler_wl='-Wl,'
   12816       lt_prog_compiler_can_build_shared=no
   12817       ;;
   12818 
   12819     uts4*)
   12820       lt_prog_compiler_pic='-pic'
   12821       lt_prog_compiler_static='-Bstatic'
   12822       ;;
   12823 
   12824     *)
   12825       lt_prog_compiler_can_build_shared=no
   12826       ;;
   12827     esac
   12828   fi
   12829 
   12830 case $host_os in
   12831   # For platforms that do not support PIC, -DPIC is meaningless:
   12832   *djgpp*)
   12833     lt_prog_compiler_pic=
   12834     ;;
   12835   *)
   12836     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   12837     ;;
   12838 esac
   12839 
   12840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   12841 printf %s "checking for $compiler option to produce PIC... " >&6; }
   12842 if test ${lt_cv_prog_compiler_pic+y}
   12843 then :
   12844   printf %s "(cached) " >&6
   12845 else case e in #(
   12846   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   12847 esac
   12848 fi
   12849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   12850 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   12851 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   12852 
   12853 #
   12854 # Check to make sure the PIC flag actually works.
   12855 #
   12856 if test -n "$lt_prog_compiler_pic"; then
   12857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   12858 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   12859 if test ${lt_cv_prog_compiler_pic_works+y}
   12860 then :
   12861   printf %s "(cached) " >&6
   12862 else case e in #(
   12863   e) lt_cv_prog_compiler_pic_works=no
   12864    ac_outfile=conftest.$ac_objext
   12865    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12866    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   12867    # Insert the option either (1) after the last *FLAGS variable, or
   12868    # (2) before a word containing "conftest.", or (3) at the end.
   12869    # Note that $ac_compile itself does not contain backslashes and begins
   12870    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12871    # The option is referenced via a variable to avoid confusing sed.
   12872    lt_compile=`echo "$ac_compile" | $SED \
   12873    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12874    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12875    -e 's:$: $lt_compiler_flag:'`
   12876    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   12877    (eval "$lt_compile" 2>conftest.err)
   12878    ac_status=$?
   12879    cat conftest.err >&5
   12880    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12881    if (exit $ac_status) && test -s "$ac_outfile"; then
   12882      # The compiler can only warn and ignore the option if not recognized
   12883      # So say no if there are warnings other than the usual output.
   12884      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   12885      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12886      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12887        lt_cv_prog_compiler_pic_works=yes
   12888      fi
   12889    fi
   12890    $RM conftest*
   12891  ;;
   12892 esac
   12893 fi
   12894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   12895 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   12896 
   12897 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   12898     case $lt_prog_compiler_pic in
   12899      "" | " "*) ;;
   12900      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   12901      esac
   12902 else
   12903     lt_prog_compiler_pic=
   12904      lt_prog_compiler_can_build_shared=no
   12905 fi
   12906 
   12907 fi
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 #
   12914 # Check to make sure the static flag actually works.
   12915 #
   12916 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   12917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12918 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12919 if test ${lt_cv_prog_compiler_static_works+y}
   12920 then :
   12921   printf %s "(cached) " >&6
   12922 else case e in #(
   12923   e) lt_cv_prog_compiler_static_works=no
   12924    save_LDFLAGS=$LDFLAGS
   12925    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12926    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12927    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12928      # The linker can only warn and ignore the option if not recognized
   12929      # So say no if there are warnings
   12930      if test -s conftest.err; then
   12931        # Append any errors to the config.log.
   12932        cat conftest.err 1>&5
   12933        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   12934        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12935        if diff conftest.exp conftest.er2 >/dev/null; then
   12936          lt_cv_prog_compiler_static_works=yes
   12937        fi
   12938      else
   12939        lt_cv_prog_compiler_static_works=yes
   12940      fi
   12941    fi
   12942    $RM -r conftest*
   12943    LDFLAGS=$save_LDFLAGS
   12944  ;;
   12945 esac
   12946 fi
   12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   12948 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   12949 
   12950 if test yes = "$lt_cv_prog_compiler_static_works"; then
   12951     :
   12952 else
   12953     lt_prog_compiler_static=
   12954 fi
   12955 
   12956 
   12957 
   12958 ='-fPIC'
   12959   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   12960   archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
   12961   archive_cmds_need_lc=no
   12962   no_undefined_flag=
   12963   ;;
   12964 
   12965 *)
   12966   dynamic_linker=no
   12967   ;;
   12968 esac
   12969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12970 printf "%s\n" "$dynamic_linker" >&6; }
   12971 test no = "$dynamic_linker" && can_build_shared=no
   12972 
   12973 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12974 if test yes = "$GCC"; then
   12975   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12976 fi
   12977 
   12978 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12979   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12980 fi
   12981 
   12982 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12983   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12984 fi
   12985 
   12986 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12987 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12988 
   12989 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12990 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12991 
   12992 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12993 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 
   13037 
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 
   13044 
   13045 
   13046 
   13047 
   13048 
   13049 
   13050 
   13051 
   13052 
   13053 
   13054 
   13055 
   13056 
   13057 
   13058 
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 
   13078 
   13079 
   13080 
   13081 
   13082 
   13083 
   13084 
   13085 
   13086 
   13087 
   13088 
   13089 
   13090 
   13091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13092 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13093 hardcode_action=
   13094 if test -n "$hardcode_libdir_flag_spec" ||
   13095    test -n "$runpath_var" ||
   13096    test yes = "$hardcode_automatic"; then
   13097 
   13098   # We can hardcode non-existent directories.
   13099   if test no != "$hardcode_direct" &&
   13100      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13101      # have to relink, otherwise we might link with an installed library
   13102      # when we should be linking with a yet-to-be-installed one
   13103      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13104      test no != "$hardcode_minus_L"; then
   13105     # Linking always hardcodes the temporary library directory.
   13106     hardcode_action=relink
   13107   else
   13108     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13109     hardcode_action=immediate
   13110   fi
   13111 else
   13112   # We cannot hardcode anything, or else we can only hardcode existing
   13113   # directories.
   13114   hardcode_action=unsupported
   13115 fi
   13116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13117 printf "%s\n" "$hardcode_action" >&6; }
   13118 
   13119 if test relink = "$hardcode_action" ||
   13120    test yes = "$inherit_rpath"; then
   13121   # Fast installation is not supported
   13122   enable_fast_install=no
   13123 elif test yes = "$shlibpath_overrides_runpath" ||
   13124      test no = "$enable_shared"; then
   13125   # Fast installation is not necessary
   13126   enable_fast_install=needless
   13127 fi
   13128 
   13129 
   13130 
   13131 
   13132 
   13133 
   13134   if test yes != "$enable_dlopen"; then
   13135   enable_dlopen=unknown
   13136   enable_dlopen_self=unknown
   13137   enable_dlopen_self_static=unknown
   13138 else
   13139   lt_cv_dlopen=no
   13140   lt_cv_dlopen_libs=
   13141 
   13142   case $host_os in
   13143   beos*)
   13144     lt_cv_dlopen=load_add_on
   13145     lt_cv_dlopen_libs=
   13146     lt_cv_dlopen_self=yes
   13147     ;;
   13148 
   13149   mingw* | windows* | pw32* | cegcc*)
   13150     lt_cv_dlopen=LoadLibrary
   13151     lt_cv_dlopen_libs=
   13152     ;;
   13153 
   13154   cygwin*)
   13155     lt_cv_dlopen=dlopen
   13156     lt_cv_dlopen_libs=
   13157     ;;
   13158 
   13159   darwin*)
   13160     # if libdl is installed we need to link against it
   13161     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13162 printf %s "checking for dlopen in -ldl... " >&6; }
   13163 if test ${ac_cv_lib_dl_dlopen+y}
   13164 then :
   13165   printf %s "(cached) " >&6
   13166 else case e in #(
   13167   e) ac_check_lib_save_LIBS=$LIBS
   13168 LIBS="-ldl  $LIBS"
   13169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13170 /* end confdefs.h.  */
   13171 
   13172 /* Override any GCC internal prototype to avoid an error.
   13173    Use char because int might match the return type of a GCC
   13174    builtin and then its argument prototype would still apply.
   13175    The 'extern "C"' is for builds by C++ compilers;
   13176    although this is not generally supported in C code supporting it here
   13177    has little cost and some practical benefit (sr 110532).  */
   13178 #ifdef __cplusplus
   13179 extern "C"
   13180 #endif
   13181 char dlopen (void);
   13182 int
   13183 main (void)
   13184 {
   13185 return dlopen ();
   13186   ;
   13187   return 0;
   13188 }
   13189 _ACEOF
   13190 if ac_fn_c_try_link "$LINENO"
   13191 then :
   13192   ac_cv_lib_dl_dlopen=yes
   13193 else case e in #(
   13194   e) ac_cv_lib_dl_dlopen=no ;;
   13195 esac
   13196 fi
   13197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13198     conftest$ac_exeext conftest.$ac_ext
   13199 LIBS=$ac_check_lib_save_LIBS ;;
   13200 esac
   13201 fi
   13202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13203 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13204 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13205 then :
   13206   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13207 else case e in #(
   13208   e)
   13209     lt_cv_dlopen=dyld
   13210     lt_cv_dlopen_libs=
   13211     lt_cv_dlopen_self=yes
   13212      ;;
   13213 esac
   13214 fi
   13215 
   13216     ;;
   13217 
   13218   tpf*)
   13219     # Don't try to run any link tests for TPF.  We know it's impossible
   13220     # because TPF is a cross-compiler, and we know how we open DSOs.
   13221     lt_cv_dlopen=dlopen
   13222     lt_cv_dlopen_libs=
   13223     lt_cv_dlopen_self=no
   13224     ;;
   13225 
   13226   *)
   13227     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13228 if test "x$ac_cv_func_shl_load" = xyes
   13229 then :
   13230   lt_cv_dlopen=shl_load
   13231 else case e in #(
   13232   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13233 printf %s "checking for shl_load in -ldld... " >&6; }
   13234 if test ${ac_cv_lib_dld_shl_load+y}
   13235 then :
   13236   printf %s "(cached) " >&6
   13237 else case e in #(
   13238   e) ac_check_lib_save_LIBS=$LIBS
   13239 LIBS="-ldld  $LIBS"
   13240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13241 /* end confdefs.h.  */
   13242 
   13243 /* Override any GCC internal prototype to avoid an error.
   13244    Use char because int might match the return type of a GCC
   13245    builtin and then its argument prototype would still apply.
   13246    The 'extern "C"' is for builds by C++ compilers;
   13247    although this is not generally supported in C code supporting it here
   13248    has little cost and some practical benefit (sr 110532).  */
   13249 #ifdef __cplusplus
   13250 extern "C"
   13251 #endif
   13252 char shl_load (void);
   13253 int
   13254 main (void)
   13255 {
   13256 return shl_load ();
   13257   ;
   13258   return 0;
   13259 }
   13260 _ACEOF
   13261 if ac_fn_c_try_link "$LINENO"
   13262 then :
   13263   ac_cv_lib_dld_shl_load=yes
   13264 else case e in #(
   13265   e) ac_cv_lib_dld_shl_load=no ;;
   13266 esac
   13267 fi
   13268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13269     conftest$ac_exeext conftest.$ac_ext
   13270 LIBS=$ac_check_lib_save_LIBS ;;
   13271 esac
   13272 fi
   13273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13274 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13275 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13276 then :
   13277   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13278 else case e in #(
   13279   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13280 if test "x$ac_cv_func_dlopen" = xyes
   13281 then :
   13282   lt_cv_dlopen=dlopen
   13283 else case e in #(
   13284   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13285 printf %s "checking for dlopen in -ldl... " >&6; }
   13286 if test ${ac_cv_lib_dl_dlopen+y}
   13287 then :
   13288   printf %s "(cached) " >&6
   13289 else case e in #(
   13290   e) ac_check_lib_save_LIBS=$LIBS
   13291 LIBS="-ldl  $LIBS"
   13292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13293 /* end confdefs.h.  */
   13294 
   13295 /* Override any GCC internal prototype to avoid an error.
   13296    Use char because int might match the return type of a GCC
   13297    builtin and then its argument prototype would still apply.
   13298    The 'extern "C"' is for builds by C++ compilers;
   13299    although this is not generally supported in C code supporting it here
   13300    has little cost and some practical benefit (sr 110532).  */
   13301 #ifdef __cplusplus
   13302 extern "C"
   13303 #endif
   13304 char dlopen (void);
   13305 int
   13306 main (void)
   13307 {
   13308 return dlopen ();
   13309   ;
   13310   return 0;
   13311 }
   13312 _ACEOF
   13313 if ac_fn_c_try_link "$LINENO"
   13314 then :
   13315   ac_cv_lib_dl_dlopen=yes
   13316 else case e in #(
   13317   e) ac_cv_lib_dl_dlopen=no ;;
   13318 esac
   13319 fi
   13320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13321     conftest$ac_exeext conftest.$ac_ext
   13322 LIBS=$ac_check_lib_save_LIBS ;;
   13323 esac
   13324 fi
   13325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13326 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13327 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13328 then :
   13329   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13330 else case e in #(
   13331   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13332 printf %s "checking for dlopen in -lsvld... " >&6; }
   13333 if test ${ac_cv_lib_svld_dlopen+y}
   13334 then :
   13335   printf %s "(cached) " >&6
   13336 else case e in #(
   13337   e) ac_check_lib_save_LIBS=$LIBS
   13338 LIBS="-lsvld  $LIBS"
   13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13340 /* end confdefs.h.  */
   13341 
   13342 /* Override any GCC internal prototype to avoid an error.
   13343    Use char because int might match the return type of a GCC
   13344    builtin and then its argument prototype would still apply.
   13345    The 'extern "C"' is for builds by C++ compilers;
   13346    although this is not generally supported in C code supporting it here
   13347    has little cost and some practical benefit (sr 110532).  */
   13348 #ifdef __cplusplus
   13349 extern "C"
   13350 #endif
   13351 char dlopen (void);
   13352 int
   13353 main (void)
   13354 {
   13355 return dlopen ();
   13356   ;
   13357   return 0;
   13358 }
   13359 _ACEOF
   13360 if ac_fn_c_try_link "$LINENO"
   13361 then :
   13362   ac_cv_lib_svld_dlopen=yes
   13363 else case e in #(
   13364   e) ac_cv_lib_svld_dlopen=no ;;
   13365 esac
   13366 fi
   13367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13368     conftest$ac_exeext conftest.$ac_ext
   13369 LIBS=$ac_check_lib_save_LIBS ;;
   13370 esac
   13371 fi
   13372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13373 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13374 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13375 then :
   13376   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13377 else case e in #(
   13378   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13379 printf %s "checking for dld_link in -ldld... " >&6; }
   13380 if test ${ac_cv_lib_dld_dld_link+y}
   13381 then :
   13382   printf %s "(cached) " >&6
   13383 else case e in #(
   13384   e) ac_check_lib_save_LIBS=$LIBS
   13385 LIBS="-ldld  $LIBS"
   13386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13387 /* end confdefs.h.  */
   13388 
   13389 /* Override any GCC internal prototype to avoid an error.
   13390    Use char because int might match the return type of a GCC
   13391    builtin and then its argument prototype would still apply.
   13392    The 'extern "C"' is for builds by C++ compilers;
   13393    although this is not generally supported in C code supporting it here
   13394    has little cost and some practical benefit (sr 110532).  */
   13395 #ifdef __cplusplus
   13396 extern "C"
   13397 #endif
   13398 char dld_link (void);
   13399 int
   13400 main (void)
   13401 {
   13402 return dld_link ();
   13403   ;
   13404   return 0;
   13405 }
   13406 _ACEOF
   13407 if ac_fn_c_try_link "$LINENO"
   13408 then :
   13409   ac_cv_lib_dld_dld_link=yes
   13410 else case e in #(
   13411   e) ac_cv_lib_dld_dld_link=no ;;
   13412 esac
   13413 fi
   13414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13415     conftest$ac_exeext conftest.$ac_ext
   13416 LIBS=$ac_check_lib_save_LIBS ;;
   13417 esac
   13418 fi
   13419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13420 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13421 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13422 then :
   13423   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13424 fi
   13425 
   13426 	       ;;
   13427 esac
   13428 fi
   13429 
   13430 	     ;;
   13431 esac
   13432 fi
   13433 
   13434 	   ;;
   13435 esac
   13436 fi
   13437 
   13438 	 ;;
   13439 esac
   13440 fi
   13441 
   13442        ;;
   13443 esac
   13444 fi
   13445 
   13446     ;;
   13447   esac
   13448 
   13449   if test no = "$lt_cv_dlopen"; then
   13450     enable_dlopen=no
   13451   else
   13452     enable_dlopen=yes
   13453   fi
   13454 
   13455   case $lt_cv_dlopen in
   13456   dlopen)
   13457     save_CPPFLAGS=$CPPFLAGS
   13458     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13459 
   13460     save_LDFLAGS=$LDFLAGS
   13461     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13462 
   13463     save_LIBS=$LIBS
   13464     LIBS="$lt_cv_dlopen_libs $LIBS"
   13465 
   13466     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13467 printf %s "checking whether a program can dlopen itself... " >&6; }
   13468 if test ${lt_cv_dlopen_self+y}
   13469 then :
   13470   printf %s "(cached) " >&6
   13471 else case e in #(
   13472   e) 	  if test yes = "$cross_compiling"; then :
   13473   lt_cv_dlopen_self=cross
   13474 else
   13475   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13476   lt_status=$lt_dlunknown
   13477   cat > conftest.$ac_ext <<_LT_EOF
   13478 #line $LINENO "configure"
   13479 #include "confdefs.h"
   13480 
   13481 #if HAVE_DLFCN_H
   13482 #include <dlfcn.h>
   13483 #endif
   13484 
   13485 #include <stdio.h>
   13486 
   13487 #ifdef RTLD_GLOBAL
   13488 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13489 #else
   13490 #  ifdef DL_GLOBAL
   13491 #    define LT_DLGLOBAL		DL_GLOBAL
   13492 #  else
   13493 #    define LT_DLGLOBAL		0
   13494 #  endif
   13495 #endif
   13496 
   13497 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13498    find out it does not work in some platform. */
   13499 #ifndef LT_DLLAZY_OR_NOW
   13500 #  ifdef RTLD_LAZY
   13501 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13502 #  else
   13503 #    ifdef DL_LAZY
   13504 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13505 #    else
   13506 #      ifdef RTLD_NOW
   13507 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13508 #      else
   13509 #        ifdef DL_NOW
   13510 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13511 #        else
   13512 #          define LT_DLLAZY_OR_NOW	0
   13513 #        endif
   13514 #      endif
   13515 #    endif
   13516 #  endif
   13517 #endif
   13518 
   13519 /* When -fvisibility=hidden is used, assume the code has been annotated
   13520    correspondingly for the symbols needed.  */
   13521 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13522 int fnord (void) __attribute__((visibility("default")));
   13523 #endif
   13524 
   13525 int fnord (void) { return 42; }
   13526 int main (void)
   13527 {
   13528   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13529   int status = $lt_dlunknown;
   13530 
   13531   if (self)
   13532     {
   13533       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13534       else
   13535         {
   13536 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13537           else puts (dlerror ());
   13538 	}
   13539       /* dlclose (self); */
   13540     }
   13541   else
   13542     puts (dlerror ());
   13543 
   13544   return status;
   13545 }
   13546 _LT_EOF
   13547   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13548   (eval $ac_link) 2>&5
   13549   ac_status=$?
   13550   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13551   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13552     (./conftest; exit; ) >&5 2>/dev/null
   13553     lt_status=$?
   13554     case x$lt_status in
   13555       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13556       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13557       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13558     esac
   13559   else :
   13560     # compilation failed
   13561     lt_cv_dlopen_self=no
   13562   fi
   13563 fi
   13564 rm -fr conftest*
   13565 
   13566      ;;
   13567 esac
   13568 fi
   13569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13570 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13571 
   13572     if test yes = "$lt_cv_dlopen_self"; then
   13573       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13574       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13575 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13576 if test ${lt_cv_dlopen_self_static+y}
   13577 then :
   13578   printf %s "(cached) " >&6
   13579 else case e in #(
   13580   e) 	  if test yes = "$cross_compiling"; then :
   13581   lt_cv_dlopen_self_static=cross
   13582 else
   13583   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13584   lt_status=$lt_dlunknown
   13585   cat > conftest.$ac_ext <<_LT_EOF
   13586 #line $LINENO "configure"
   13587 #include "confdefs.h"
   13588 
   13589 #if HAVE_DLFCN_H
   13590 #include <dlfcn.h>
   13591 #endif
   13592 
   13593 #include <stdio.h>
   13594 
   13595 #ifdef RTLD_GLOBAL
   13596 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13597 #else
   13598 #  ifdef DL_GLOBAL
   13599 #    define LT_DLGLOBAL		DL_GLOBAL
   13600 #  else
   13601 #    define LT_DLGLOBAL		0
   13602 #  endif
   13603 #endif
   13604 
   13605 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13606    find out it does not work in some platform. */
   13607 #ifndef LT_DLLAZY_OR_NOW
   13608 #  ifdef RTLD_LAZY
   13609 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13610 #  else
   13611 #    ifdef DL_LAZY
   13612 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13613 #    else
   13614 #      ifdef RTLD_NOW
   13615 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13616 #      else
   13617 #        ifdef DL_NOW
   13618 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13619 #        else
   13620 #          define LT_DLLAZY_OR_NOW	0
   13621 #        endif
   13622 #      endif
   13623 #    endif
   13624 #  endif
   13625 #endif
   13626 
   13627 /* When -fvisibility=hidden is used, assume the code has been annotated
   13628    correspondingly for the symbols needed.  */
   13629 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13630 int fnord (void) __attribute__((visibility("default")));
   13631 #endif
   13632 
   13633 int fnord (void) { return 42; }
   13634 int main (void)
   13635 {
   13636   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13637   int status = $lt_dlunknown;
   13638 
   13639   if (self)
   13640     {
   13641       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13642       else
   13643         {
   13644 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13645           else puts (dlerror ());
   13646 	}
   13647       /* dlclose (self); */
   13648     }
   13649   else
   13650     puts (dlerror ());
   13651 
   13652   return status;
   13653 }
   13654 _LT_EOF
   13655   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13656   (eval $ac_link) 2>&5
   13657   ac_status=$?
   13658   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13659   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13660     (./conftest; exit; ) >&5 2>/dev/null
   13661     lt_status=$?
   13662     case x$lt_status in
   13663       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13664       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13665       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13666     esac
   13667   else :
   13668     # compilation failed
   13669     lt_cv_dlopen_self_static=no
   13670   fi
   13671 fi
   13672 rm -fr conftest*
   13673 
   13674        ;;
   13675 esac
   13676 fi
   13677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13678 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13679     fi
   13680 
   13681     CPPFLAGS=$save_CPPFLAGS
   13682     LDFLAGS=$save_LDFLAGS
   13683     LIBS=$save_LIBS
   13684     ;;
   13685   esac
   13686 
   13687   case $lt_cv_dlopen_self in
   13688   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13689   *) enable_dlopen_self=unknown ;;
   13690   esac
   13691 
   13692   case $lt_cv_dlopen_self_static in
   13693   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13694   *) enable_dlopen_self_static=unknown ;;
   13695   esac
   13696 fi
   13697 
   13698 
   13699 
   13700 
   13701 
   13702 
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 
   13712 
   13713 
   13714 striplib=
   13715 old_striplib=
   13716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13717 printf %s "checking whether stripping libraries is possible... " >&6; }
   13718 if test -z "$STRIP"; then
   13719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13720 printf "%s\n" "no" >&6; }
   13721 else
   13722   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13723     old_striplib="$STRIP --strip-debug"
   13724     striplib="$STRIP --strip-unneeded"
   13725     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13726 printf "%s\n" "yes" >&6; }
   13727   else
   13728     case $host_os in
   13729     darwin*)
   13730       # FIXME - insert some real tests, host_os isn't really good enough
   13731       striplib="$STRIP -x"
   13732       old_striplib="$STRIP -S"
   13733       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13734 printf "%s\n" "yes" >&6; }
   13735       ;;
   13736     freebsd*)
   13737       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13738         old_striplib="$STRIP --strip-debug"
   13739         striplib="$STRIP --strip-unneeded"
   13740         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13741 printf "%s\n" "yes" >&6; }
   13742       else
   13743         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13744 printf "%s\n" "no" >&6; }
   13745       fi
   13746       ;;
   13747     *)
   13748       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13749 printf "%s\n" "no" >&6; }
   13750       ;;
   13751     esac
   13752   fi
   13753 fi
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766   # Report what library types will actually be built
   13767   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13768 printf %s "checking if libtool supports shared libraries... " >&6; }
   13769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13770 printf "%s\n" "$can_build_shared" >&6; }
   13771 
   13772   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13773 printf %s "checking whether to build shared libraries... " >&6; }
   13774   test no = "$can_build_shared" && enable_shared=no
   13775 
   13776   # On AIX, shared libraries and static libraries use the same namespace, and
   13777   # are all built from PIC.
   13778   case $host_os in
   13779   aix3*)
   13780     test yes = "$enable_shared" && enable_static=no
   13781     if test -n "$RANLIB"; then
   13782       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13783       postinstall_cmds='$RANLIB $lib'
   13784     fi
   13785     ;;
   13786 
   13787   aix[4-9]*)
   13788     if test ia64 != "$host_cpu"; then
   13789       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13790       yes,aix,yes) ;;			# shared object as lib.so file only
   13791       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13792       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13793       esac
   13794     fi
   13795     ;;
   13796   esac
   13797   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13798 printf "%s\n" "$enable_shared" >&6; }
   13799 
   13800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13801 printf %s "checking whether to build static libraries... " >&6; }
   13802   # Make sure either enable_shared or enable_static is yes.
   13803   test yes = "$enable_shared" || enable_static=yes
   13804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13805 printf "%s\n" "$enable_static" >&6; }
   13806 
   13807 
   13808 
   13809 
   13810 fi
   13811 ac_ext=c
   13812 ac_cpp='$CPP $CPPFLAGS'
   13813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13816 
   13817 CC=$lt_save_CC
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 
   13830 
   13831 
   13832 
   13833         ac_config_commands="$ac_config_commands libtool"
   13834 
   13835 
   13836 
   13837 
   13838 # Only expand once:
   13839 
   13840 
   13841 
   13842 # Require xorg-macros minimum of 1.12 for DocBook external references
   13843 
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851 
   13852 
   13853 
   13854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13855 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13856 if test ${ac_cv_c_undeclared_builtin_options+y}
   13857 then :
   13858   printf %s "(cached) " >&6
   13859 else case e in #(
   13860   e) ac_save_CFLAGS=$CFLAGS
   13861    ac_cv_c_undeclared_builtin_options='cannot detect'
   13862    for ac_arg in '' -fno-builtin; do
   13863      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13864      # This test program should *not* compile successfully.
   13865      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13866 /* end confdefs.h.  */
   13867 
   13868 int
   13869 main (void)
   13870 {
   13871 (void) strchr;
   13872   ;
   13873   return 0;
   13874 }
   13875 _ACEOF
   13876 if ac_fn_c_try_compile "$LINENO"
   13877 then :
   13878 
   13879 else case e in #(
   13880   e) # This test program should compile successfully.
   13881         # No library function is consistently available on
   13882         # freestanding implementations, so test against a dummy
   13883         # declaration.  Include always-available headers on the
   13884         # off chance that they somehow elicit warnings.
   13885         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13886 /* end confdefs.h.  */
   13887 #include <float.h>
   13888 #include <limits.h>
   13889 #include <stdarg.h>
   13890 #include <stddef.h>
   13891 extern void ac_decl (int, char *);
   13892 
   13893 int
   13894 main (void)
   13895 {
   13896 (void) ac_decl (0, (char *) 0);
   13897   (void) ac_decl;
   13898 
   13899   ;
   13900   return 0;
   13901 }
   13902 _ACEOF
   13903 if ac_fn_c_try_compile "$LINENO"
   13904 then :
   13905   if test x"$ac_arg" = x
   13906 then :
   13907   ac_cv_c_undeclared_builtin_options='none needed'
   13908 else case e in #(
   13909   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   13910 esac
   13911 fi
   13912           break
   13913 fi
   13914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13915 esac
   13916 fi
   13917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13918     done
   13919     CFLAGS=$ac_save_CFLAGS
   13920    ;;
   13921 esac
   13922 fi
   13923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13924 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13925   case $ac_cv_c_undeclared_builtin_options in #(
   13926   'cannot detect') :
   13927     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13928 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13929 as_fn_error $? "cannot make $CC report undeclared builtins
   13930 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   13931   'none needed') :
   13932     ac_c_undeclared_builtin_options='' ;; #(
   13933   *) :
   13934     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13935 esac
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13942 if test "x$ac_cv_have_decl___clang__" = xyes
   13943 then :
   13944   CLANGCC="yes"
   13945 else case e in #(
   13946   e) CLANGCC="no" ;;
   13947 esac
   13948 fi
   13949 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13950 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13951 then :
   13952   INTELCC="yes"
   13953 else case e in #(
   13954   e) INTELCC="no" ;;
   13955 esac
   13956 fi
   13957 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13958 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13959 then :
   13960   SUNCC="yes"
   13961 else case e in #(
   13962   e) SUNCC="no" ;;
   13963 esac
   13964 fi
   13965 
   13966 
   13967 
   13968 
   13969 
   13970 
   13971 
   13972 
   13973 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13974 	if test -n "$ac_tool_prefix"; then
   13975   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13976 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13978 printf %s "checking for $ac_word... " >&6; }
   13979 if test ${ac_cv_path_PKG_CONFIG+y}
   13980 then :
   13981   printf %s "(cached) " >&6
   13982 else case e in #(
   13983   e) case $PKG_CONFIG in
   13984   [\\/]* | ?:[\\/]*)
   13985   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13986   ;;
   13987   *)
   13988   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13989 for as_dir in $PATH
   13990 do
   13991   IFS=$as_save_IFS
   13992   case $as_dir in #(((
   13993     '') as_dir=./ ;;
   13994     */) ;;
   13995     *) as_dir=$as_dir/ ;;
   13996   esac
   13997     for ac_exec_ext in '' $ac_executable_extensions; do
   13998   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13999     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14000     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14001     break 2
   14002   fi
   14003 done
   14004   done
   14005 IFS=$as_save_IFS
   14006 
   14007   ;;
   14008 esac ;;
   14009 esac
   14010 fi
   14011 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   14012 if test -n "$PKG_CONFIG"; then
   14013   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   14014 printf "%s\n" "$PKG_CONFIG" >&6; }
   14015 else
   14016   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14017 printf "%s\n" "no" >&6; }
   14018 fi
   14019 
   14020 
   14021 fi
   14022 if test -z "$ac_cv_path_PKG_CONFIG"; then
   14023   ac_pt_PKG_CONFIG=$PKG_CONFIG
   14024   # Extract the first word of "pkg-config", so it can be a program name with args.
   14025 set dummy pkg-config; ac_word=$2
   14026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14027 printf %s "checking for $ac_word... " >&6; }
   14028 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   14029 then :
   14030   printf %s "(cached) " >&6
   14031 else case e in #(
   14032   e) case $ac_pt_PKG_CONFIG in
   14033   [\\/]* | ?:[\\/]*)
   14034   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   14035   ;;
   14036   *)
   14037   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14038 for as_dir in $PATH
   14039 do
   14040   IFS=$as_save_IFS
   14041   case $as_dir in #(((
   14042     '') as_dir=./ ;;
   14043     */) ;;
   14044     *) as_dir=$as_dir/ ;;
   14045   esac
   14046     for ac_exec_ext in '' $ac_executable_extensions; do
   14047   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14048     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14049     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14050     break 2
   14051   fi
   14052 done
   14053   done
   14054 IFS=$as_save_IFS
   14055 
   14056   ;;
   14057 esac ;;
   14058 esac
   14059 fi
   14060 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   14061 if test -n "$ac_pt_PKG_CONFIG"; then
   14062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   14063 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   14064 else
   14065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14066 printf "%s\n" "no" >&6; }
   14067 fi
   14068 
   14069   if test "x$ac_pt_PKG_CONFIG" = x; then
   14070     PKG_CONFIG=""
   14071   else
   14072     case $cross_compiling:$ac_tool_warned in
   14073 yes:)
   14074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14075 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14076 ac_tool_warned=yes ;;
   14077 esac
   14078     PKG_CONFIG=$ac_pt_PKG_CONFIG
   14079   fi
   14080 else
   14081   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   14082 fi
   14083 
   14084 fi
   14085 if test -n "$PKG_CONFIG"; then
   14086 	_pkg_min_version=0.9.0
   14087 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   14088 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   14089 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   14090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14091 printf "%s\n" "yes" >&6; }
   14092 	else
   14093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14094 printf "%s\n" "no" >&6; }
   14095 		PKG_CONFIG=""
   14096 	fi
   14097 fi
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 # Check whether --enable-selective-werror was given.
   14104 if test ${enable_selective_werror+y}
   14105 then :
   14106   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14107 else case e in #(
   14108   e) SELECTIVE_WERROR=yes ;;
   14109 esac
   14110 fi
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14117 if test "x$SUNCC" = "xyes"; then
   14118     BASE_CFLAGS="-v"
   14119 else
   14120     BASE_CFLAGS=""
   14121 fi
   14122 
   14123 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14124 
   14125 
   14126 
   14127 
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 
   14136 
   14137 xorg_testset_save_CFLAGS="$CFLAGS"
   14138 
   14139 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14140 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14141 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14142 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14143 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14144 then :
   14145   printf %s "(cached) " >&6
   14146 else case e in #(
   14147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14148 /* end confdefs.h.  */
   14149 int i;
   14150 _ACEOF
   14151 if ac_fn_c_try_compile "$LINENO"
   14152 then :
   14153   xorg_cv_cc_flag_unknown_warning_option=yes
   14154 else case e in #(
   14155   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14156 esac
   14157 fi
   14158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14159 esac
   14160 fi
   14161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14162 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14164 	CFLAGS="$xorg_testset_save_CFLAGS"
   14165 fi
   14166 
   14167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14170 	fi
   14171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14172 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14173 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14174 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14175 then :
   14176   printf %s "(cached) " >&6
   14177 else case e in #(
   14178   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14179 /* end confdefs.h.  */
   14180 int i;
   14181 _ACEOF
   14182 if ac_fn_c_try_compile "$LINENO"
   14183 then :
   14184   xorg_cv_cc_flag_unused_command_line_argument=yes
   14185 else case e in #(
   14186   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14187 esac
   14188 fi
   14189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14190 esac
   14191 fi
   14192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14193 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14194 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14195 	CFLAGS="$xorg_testset_save_CFLAGS"
   14196 fi
   14197 
   14198 found="no"
   14199 
   14200 	if test $found = "no" ; then
   14201 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14203 		fi
   14204 
   14205 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14207 		fi
   14208 
   14209 		CFLAGS="$CFLAGS -Wall"
   14210 
   14211 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14212 printf %s "checking if $CC supports -Wall... " >&6; }
   14213 		cacheid=xorg_cv_cc_flag__Wall
   14214 		if eval test \${$cacheid+y}
   14215 then :
   14216   printf %s "(cached) " >&6
   14217 else case e in #(
   14218   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14219 /* end confdefs.h.  */
   14220 int i;
   14221 int
   14222 main (void)
   14223 {
   14224 
   14225   ;
   14226   return 0;
   14227 }
   14228 _ACEOF
   14229 if ac_fn_c_try_link "$LINENO"
   14230 then :
   14231   eval $cacheid=yes
   14232 else case e in #(
   14233   e) eval $cacheid=no ;;
   14234 esac
   14235 fi
   14236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14237     conftest$ac_exeext conftest.$ac_ext ;;
   14238 esac
   14239 fi
   14240 
   14241 
   14242 		CFLAGS="$xorg_testset_save_CFLAGS"
   14243 
   14244 		eval supported=\$$cacheid
   14245 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14246 printf "%s\n" "$supported" >&6; }
   14247 		if test "$supported" = "yes" ; then
   14248 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14249 			found="yes"
   14250 		fi
   14251 	fi
   14252 
   14253 
   14254 
   14255 
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 xorg_testset_save_CFLAGS="$CFLAGS"
   14268 
   14269 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14270 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14271 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14272 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14273 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14274 then :
   14275   printf %s "(cached) " >&6
   14276 else case e in #(
   14277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14278 /* end confdefs.h.  */
   14279 int i;
   14280 _ACEOF
   14281 if ac_fn_c_try_compile "$LINENO"
   14282 then :
   14283   xorg_cv_cc_flag_unknown_warning_option=yes
   14284 else case e in #(
   14285   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14286 esac
   14287 fi
   14288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14289 esac
   14290 fi
   14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14292 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14294 	CFLAGS="$xorg_testset_save_CFLAGS"
   14295 fi
   14296 
   14297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14300 	fi
   14301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14302 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14303 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14304 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14305 then :
   14306   printf %s "(cached) " >&6
   14307 else case e in #(
   14308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14309 /* end confdefs.h.  */
   14310 int i;
   14311 _ACEOF
   14312 if ac_fn_c_try_compile "$LINENO"
   14313 then :
   14314   xorg_cv_cc_flag_unused_command_line_argument=yes
   14315 else case e in #(
   14316   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14317 esac
   14318 fi
   14319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14320 esac
   14321 fi
   14322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14323 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14325 	CFLAGS="$xorg_testset_save_CFLAGS"
   14326 fi
   14327 
   14328 found="no"
   14329 
   14330 	if test $found = "no" ; then
   14331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14333 		fi
   14334 
   14335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14337 		fi
   14338 
   14339 		CFLAGS="$CFLAGS -Wpointer-arith"
   14340 
   14341 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14342 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14343 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14344 		if eval test \${$cacheid+y}
   14345 then :
   14346   printf %s "(cached) " >&6
   14347 else case e in #(
   14348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14349 /* end confdefs.h.  */
   14350 int i;
   14351 int
   14352 main (void)
   14353 {
   14354 
   14355   ;
   14356   return 0;
   14357 }
   14358 _ACEOF
   14359 if ac_fn_c_try_link "$LINENO"
   14360 then :
   14361   eval $cacheid=yes
   14362 else case e in #(
   14363   e) eval $cacheid=no ;;
   14364 esac
   14365 fi
   14366 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14367     conftest$ac_exeext conftest.$ac_ext ;;
   14368 esac
   14369 fi
   14370 
   14371 
   14372 		CFLAGS="$xorg_testset_save_CFLAGS"
   14373 
   14374 		eval supported=\$$cacheid
   14375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14376 printf "%s\n" "$supported" >&6; }
   14377 		if test "$supported" = "yes" ; then
   14378 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14379 			found="yes"
   14380 		fi
   14381 	fi
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 xorg_testset_save_CFLAGS="$CFLAGS"
   14398 
   14399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14400 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14401 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14402 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14403 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14404 then :
   14405   printf %s "(cached) " >&6
   14406 else case e in #(
   14407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14408 /* end confdefs.h.  */
   14409 int i;
   14410 _ACEOF
   14411 if ac_fn_c_try_compile "$LINENO"
   14412 then :
   14413   xorg_cv_cc_flag_unknown_warning_option=yes
   14414 else case e in #(
   14415   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14416 esac
   14417 fi
   14418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14419 esac
   14420 fi
   14421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14422 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14423 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14424 	CFLAGS="$xorg_testset_save_CFLAGS"
   14425 fi
   14426 
   14427 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14428 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14429 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14430 	fi
   14431 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14432 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14433 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14434 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14435 then :
   14436   printf %s "(cached) " >&6
   14437 else case e in #(
   14438   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14439 /* end confdefs.h.  */
   14440 int i;
   14441 _ACEOF
   14442 if ac_fn_c_try_compile "$LINENO"
   14443 then :
   14444   xorg_cv_cc_flag_unused_command_line_argument=yes
   14445 else case e in #(
   14446   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14447 esac
   14448 fi
   14449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14450 esac
   14451 fi
   14452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14453 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14454 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14455 	CFLAGS="$xorg_testset_save_CFLAGS"
   14456 fi
   14457 
   14458 found="no"
   14459 
   14460 	if test $found = "no" ; then
   14461 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14462 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14463 		fi
   14464 
   14465 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14466 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14467 		fi
   14468 
   14469 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14470 
   14471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14472 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14473 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14474 		if eval test \${$cacheid+y}
   14475 then :
   14476   printf %s "(cached) " >&6
   14477 else case e in #(
   14478   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14479 /* end confdefs.h.  */
   14480 int i;
   14481 int
   14482 main (void)
   14483 {
   14484 
   14485   ;
   14486   return 0;
   14487 }
   14488 _ACEOF
   14489 if ac_fn_c_try_link "$LINENO"
   14490 then :
   14491   eval $cacheid=yes
   14492 else case e in #(
   14493   e) eval $cacheid=no ;;
   14494 esac
   14495 fi
   14496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14497     conftest$ac_exeext conftest.$ac_ext ;;
   14498 esac
   14499 fi
   14500 
   14501 
   14502 		CFLAGS="$xorg_testset_save_CFLAGS"
   14503 
   14504 		eval supported=\$$cacheid
   14505 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14506 printf "%s\n" "$supported" >&6; }
   14507 		if test "$supported" = "yes" ; then
   14508 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14509 			found="yes"
   14510 		fi
   14511 	fi
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 
   14519 
   14520 
   14521 
   14522 
   14523 
   14524 
   14525 
   14526 
   14527 xorg_testset_save_CFLAGS="$CFLAGS"
   14528 
   14529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14531 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14532 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14533 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14534 then :
   14535   printf %s "(cached) " >&6
   14536 else case e in #(
   14537   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14538 /* end confdefs.h.  */
   14539 int i;
   14540 _ACEOF
   14541 if ac_fn_c_try_compile "$LINENO"
   14542 then :
   14543   xorg_cv_cc_flag_unknown_warning_option=yes
   14544 else case e in #(
   14545   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14546 esac
   14547 fi
   14548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14549 esac
   14550 fi
   14551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14552 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14553 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14554 	CFLAGS="$xorg_testset_save_CFLAGS"
   14555 fi
   14556 
   14557 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14558 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14559 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14560 	fi
   14561 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14562 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14563 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14564 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14565 then :
   14566   printf %s "(cached) " >&6
   14567 else case e in #(
   14568   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14569 /* end confdefs.h.  */
   14570 int i;
   14571 _ACEOF
   14572 if ac_fn_c_try_compile "$LINENO"
   14573 then :
   14574   xorg_cv_cc_flag_unused_command_line_argument=yes
   14575 else case e in #(
   14576   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14577 esac
   14578 fi
   14579 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14580 esac
   14581 fi
   14582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14583 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14585 	CFLAGS="$xorg_testset_save_CFLAGS"
   14586 fi
   14587 
   14588 found="no"
   14589 
   14590 	if test $found = "no" ; then
   14591 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14593 		fi
   14594 
   14595 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14597 		fi
   14598 
   14599 		CFLAGS="$CFLAGS -Wformat=2"
   14600 
   14601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14602 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14603 		cacheid=xorg_cv_cc_flag__Wformat_2
   14604 		if eval test \${$cacheid+y}
   14605 then :
   14606   printf %s "(cached) " >&6
   14607 else case e in #(
   14608   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14609 /* end confdefs.h.  */
   14610 int i;
   14611 int
   14612 main (void)
   14613 {
   14614 
   14615   ;
   14616   return 0;
   14617 }
   14618 _ACEOF
   14619 if ac_fn_c_try_link "$LINENO"
   14620 then :
   14621   eval $cacheid=yes
   14622 else case e in #(
   14623   e) eval $cacheid=no ;;
   14624 esac
   14625 fi
   14626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14627     conftest$ac_exeext conftest.$ac_ext ;;
   14628 esac
   14629 fi
   14630 
   14631 
   14632 		CFLAGS="$xorg_testset_save_CFLAGS"
   14633 
   14634 		eval supported=\$$cacheid
   14635 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14636 printf "%s\n" "$supported" >&6; }
   14637 		if test "$supported" = "yes" ; then
   14638 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14639 			found="yes"
   14640 		fi
   14641 	fi
   14642 
   14643 	if test $found = "no" ; then
   14644 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14645 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14646 		fi
   14647 
   14648 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14649 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14650 		fi
   14651 
   14652 		CFLAGS="$CFLAGS -Wformat"
   14653 
   14654 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14655 printf %s "checking if $CC supports -Wformat... " >&6; }
   14656 		cacheid=xorg_cv_cc_flag__Wformat
   14657 		if eval test \${$cacheid+y}
   14658 then :
   14659   printf %s "(cached) " >&6
   14660 else case e in #(
   14661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14662 /* end confdefs.h.  */
   14663 int i;
   14664 int
   14665 main (void)
   14666 {
   14667 
   14668   ;
   14669   return 0;
   14670 }
   14671 _ACEOF
   14672 if ac_fn_c_try_link "$LINENO"
   14673 then :
   14674   eval $cacheid=yes
   14675 else case e in #(
   14676   e) eval $cacheid=no ;;
   14677 esac
   14678 fi
   14679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14680     conftest$ac_exeext conftest.$ac_ext ;;
   14681 esac
   14682 fi
   14683 
   14684 
   14685 		CFLAGS="$xorg_testset_save_CFLAGS"
   14686 
   14687 		eval supported=\$$cacheid
   14688 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14689 printf "%s\n" "$supported" >&6; }
   14690 		if test "$supported" = "yes" ; then
   14691 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14692 			found="yes"
   14693 		fi
   14694 	fi
   14695 
   14696 
   14697 
   14698 
   14699 
   14700 
   14701 
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 xorg_testset_save_CFLAGS="$CFLAGS"
   14713 
   14714 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14715 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14716 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14717 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14718 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14719 then :
   14720   printf %s "(cached) " >&6
   14721 else case e in #(
   14722   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14723 /* end confdefs.h.  */
   14724 int i;
   14725 _ACEOF
   14726 if ac_fn_c_try_compile "$LINENO"
   14727 then :
   14728   xorg_cv_cc_flag_unknown_warning_option=yes
   14729 else case e in #(
   14730   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14731 esac
   14732 fi
   14733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14734 esac
   14735 fi
   14736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14737 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14739 	CFLAGS="$xorg_testset_save_CFLAGS"
   14740 fi
   14741 
   14742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14745 	fi
   14746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14747 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14748 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14749 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14750 then :
   14751   printf %s "(cached) " >&6
   14752 else case e in #(
   14753   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14754 /* end confdefs.h.  */
   14755 int i;
   14756 _ACEOF
   14757 if ac_fn_c_try_compile "$LINENO"
   14758 then :
   14759   xorg_cv_cc_flag_unused_command_line_argument=yes
   14760 else case e in #(
   14761   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14762 esac
   14763 fi
   14764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14765 esac
   14766 fi
   14767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14768 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14769 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14770 	CFLAGS="$xorg_testset_save_CFLAGS"
   14771 fi
   14772 
   14773 found="no"
   14774 
   14775 	if test $found = "no" ; then
   14776 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14777 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14778 		fi
   14779 
   14780 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14781 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14782 		fi
   14783 
   14784 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14785 
   14786 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14787 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14788 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14789 		if eval test \${$cacheid+y}
   14790 then :
   14791   printf %s "(cached) " >&6
   14792 else case e in #(
   14793   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14794 /* end confdefs.h.  */
   14795 int i;
   14796 int
   14797 main (void)
   14798 {
   14799 
   14800   ;
   14801   return 0;
   14802 }
   14803 _ACEOF
   14804 if ac_fn_c_try_link "$LINENO"
   14805 then :
   14806   eval $cacheid=yes
   14807 else case e in #(
   14808   e) eval $cacheid=no ;;
   14809 esac
   14810 fi
   14811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14812     conftest$ac_exeext conftest.$ac_ext ;;
   14813 esac
   14814 fi
   14815 
   14816 
   14817 		CFLAGS="$xorg_testset_save_CFLAGS"
   14818 
   14819 		eval supported=\$$cacheid
   14820 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14821 printf "%s\n" "$supported" >&6; }
   14822 		if test "$supported" = "yes" ; then
   14823 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14824 			found="yes"
   14825 		fi
   14826 	fi
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 xorg_testset_save_CFLAGS="$CFLAGS"
   14843 
   14844 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14847 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14848 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14849 then :
   14850   printf %s "(cached) " >&6
   14851 else case e in #(
   14852   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14853 /* end confdefs.h.  */
   14854 int i;
   14855 _ACEOF
   14856 if ac_fn_c_try_compile "$LINENO"
   14857 then :
   14858   xorg_cv_cc_flag_unknown_warning_option=yes
   14859 else case e in #(
   14860   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14861 esac
   14862 fi
   14863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14864 esac
   14865 fi
   14866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14867 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14869 	CFLAGS="$xorg_testset_save_CFLAGS"
   14870 fi
   14871 
   14872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14875 	fi
   14876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14878 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14879 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14880 then :
   14881   printf %s "(cached) " >&6
   14882 else case e in #(
   14883   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14884 /* end confdefs.h.  */
   14885 int i;
   14886 _ACEOF
   14887 if ac_fn_c_try_compile "$LINENO"
   14888 then :
   14889   xorg_cv_cc_flag_unused_command_line_argument=yes
   14890 else case e in #(
   14891   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14892 esac
   14893 fi
   14894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14895 esac
   14896 fi
   14897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14898 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14900 	CFLAGS="$xorg_testset_save_CFLAGS"
   14901 fi
   14902 
   14903 found="no"
   14904 
   14905 	if test $found = "no" ; then
   14906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14908 		fi
   14909 
   14910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14912 		fi
   14913 
   14914 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14915 
   14916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14917 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14918 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14919 		if eval test \${$cacheid+y}
   14920 then :
   14921   printf %s "(cached) " >&6
   14922 else case e in #(
   14923   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14924 /* end confdefs.h.  */
   14925 int i;
   14926 int
   14927 main (void)
   14928 {
   14929 
   14930   ;
   14931   return 0;
   14932 }
   14933 _ACEOF
   14934 if ac_fn_c_try_link "$LINENO"
   14935 then :
   14936   eval $cacheid=yes
   14937 else case e in #(
   14938   e) eval $cacheid=no ;;
   14939 esac
   14940 fi
   14941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14942     conftest$ac_exeext conftest.$ac_ext ;;
   14943 esac
   14944 fi
   14945 
   14946 
   14947 		CFLAGS="$xorg_testset_save_CFLAGS"
   14948 
   14949 		eval supported=\$$cacheid
   14950 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14951 printf "%s\n" "$supported" >&6; }
   14952 		if test "$supported" = "yes" ; then
   14953 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14954 			found="yes"
   14955 		fi
   14956 	fi
   14957 
   14958 
   14959 
   14960 
   14961 
   14962 
   14963 
   14964 
   14965 
   14966 
   14967 
   14968 
   14969 
   14970 
   14971 
   14972 xorg_testset_save_CFLAGS="$CFLAGS"
   14973 
   14974 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14975 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14976 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14977 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14978 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14979 then :
   14980   printf %s "(cached) " >&6
   14981 else case e in #(
   14982   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14983 /* end confdefs.h.  */
   14984 int i;
   14985 _ACEOF
   14986 if ac_fn_c_try_compile "$LINENO"
   14987 then :
   14988   xorg_cv_cc_flag_unknown_warning_option=yes
   14989 else case e in #(
   14990   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14991 esac
   14992 fi
   14993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14994 esac
   14995 fi
   14996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14997 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14999 	CFLAGS="$xorg_testset_save_CFLAGS"
   15000 fi
   15001 
   15002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15005 	fi
   15006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15007 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15008 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15009 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15010 then :
   15011   printf %s "(cached) " >&6
   15012 else case e in #(
   15013   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15014 /* end confdefs.h.  */
   15015 int i;
   15016 _ACEOF
   15017 if ac_fn_c_try_compile "$LINENO"
   15018 then :
   15019   xorg_cv_cc_flag_unused_command_line_argument=yes
   15020 else case e in #(
   15021   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15022 esac
   15023 fi
   15024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15025 esac
   15026 fi
   15027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15028 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15029 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15030 	CFLAGS="$xorg_testset_save_CFLAGS"
   15031 fi
   15032 
   15033 found="no"
   15034 
   15035 	if test $found = "no" ; then
   15036 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15037 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15038 		fi
   15039 
   15040 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15041 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15042 		fi
   15043 
   15044 		CFLAGS="$CFLAGS -Wnested-externs"
   15045 
   15046 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   15047 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   15048 		cacheid=xorg_cv_cc_flag__Wnested_externs
   15049 		if eval test \${$cacheid+y}
   15050 then :
   15051   printf %s "(cached) " >&6
   15052 else case e in #(
   15053   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15054 /* end confdefs.h.  */
   15055 int i;
   15056 int
   15057 main (void)
   15058 {
   15059 
   15060   ;
   15061   return 0;
   15062 }
   15063 _ACEOF
   15064 if ac_fn_c_try_link "$LINENO"
   15065 then :
   15066   eval $cacheid=yes
   15067 else case e in #(
   15068   e) eval $cacheid=no ;;
   15069 esac
   15070 fi
   15071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15072     conftest$ac_exeext conftest.$ac_ext ;;
   15073 esac
   15074 fi
   15075 
   15076 
   15077 		CFLAGS="$xorg_testset_save_CFLAGS"
   15078 
   15079 		eval supported=\$$cacheid
   15080 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15081 printf "%s\n" "$supported" >&6; }
   15082 		if test "$supported" = "yes" ; then
   15083 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   15084 			found="yes"
   15085 		fi
   15086 	fi
   15087 
   15088 
   15089 
   15090 
   15091 
   15092 
   15093 
   15094 
   15095 
   15096 
   15097 
   15098 
   15099 
   15100 
   15101 
   15102 xorg_testset_save_CFLAGS="$CFLAGS"
   15103 
   15104 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15105 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15106 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15107 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15108 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15109 then :
   15110   printf %s "(cached) " >&6
   15111 else case e in #(
   15112   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15113 /* end confdefs.h.  */
   15114 int i;
   15115 _ACEOF
   15116 if ac_fn_c_try_compile "$LINENO"
   15117 then :
   15118   xorg_cv_cc_flag_unknown_warning_option=yes
   15119 else case e in #(
   15120   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15121 esac
   15122 fi
   15123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15124 esac
   15125 fi
   15126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15127 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15128 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15129 	CFLAGS="$xorg_testset_save_CFLAGS"
   15130 fi
   15131 
   15132 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15133 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15134 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15135 	fi
   15136 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15137 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15138 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15139 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15140 then :
   15141   printf %s "(cached) " >&6
   15142 else case e in #(
   15143   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15144 /* end confdefs.h.  */
   15145 int i;
   15146 _ACEOF
   15147 if ac_fn_c_try_compile "$LINENO"
   15148 then :
   15149   xorg_cv_cc_flag_unused_command_line_argument=yes
   15150 else case e in #(
   15151   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15152 esac
   15153 fi
   15154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15155 esac
   15156 fi
   15157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15158 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15159 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15160 	CFLAGS="$xorg_testset_save_CFLAGS"
   15161 fi
   15162 
   15163 found="no"
   15164 
   15165 	if test $found = "no" ; then
   15166 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15167 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15168 		fi
   15169 
   15170 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15171 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15172 		fi
   15173 
   15174 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15175 
   15176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15177 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15178 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15179 		if eval test \${$cacheid+y}
   15180 then :
   15181   printf %s "(cached) " >&6
   15182 else case e in #(
   15183   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15184 /* end confdefs.h.  */
   15185 int i;
   15186 int
   15187 main (void)
   15188 {
   15189 
   15190   ;
   15191   return 0;
   15192 }
   15193 _ACEOF
   15194 if ac_fn_c_try_link "$LINENO"
   15195 then :
   15196   eval $cacheid=yes
   15197 else case e in #(
   15198   e) eval $cacheid=no ;;
   15199 esac
   15200 fi
   15201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15202     conftest$ac_exeext conftest.$ac_ext ;;
   15203 esac
   15204 fi
   15205 
   15206 
   15207 		CFLAGS="$xorg_testset_save_CFLAGS"
   15208 
   15209 		eval supported=\$$cacheid
   15210 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15211 printf "%s\n" "$supported" >&6; }
   15212 		if test "$supported" = "yes" ; then
   15213 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15214 			found="yes"
   15215 		fi
   15216 	fi
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 
   15224 
   15225 
   15226 
   15227 
   15228 
   15229 
   15230 
   15231 
   15232 xorg_testset_save_CFLAGS="$CFLAGS"
   15233 
   15234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15236 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15237 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15238 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15239 then :
   15240   printf %s "(cached) " >&6
   15241 else case e in #(
   15242   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15243 /* end confdefs.h.  */
   15244 int i;
   15245 _ACEOF
   15246 if ac_fn_c_try_compile "$LINENO"
   15247 then :
   15248   xorg_cv_cc_flag_unknown_warning_option=yes
   15249 else case e in #(
   15250   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15251 esac
   15252 fi
   15253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15254 esac
   15255 fi
   15256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15257 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15258 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15259 	CFLAGS="$xorg_testset_save_CFLAGS"
   15260 fi
   15261 
   15262 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15263 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15264 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15265 	fi
   15266 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15267 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15268 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15269 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15270 then :
   15271   printf %s "(cached) " >&6
   15272 else case e in #(
   15273   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15274 /* end confdefs.h.  */
   15275 int i;
   15276 _ACEOF
   15277 if ac_fn_c_try_compile "$LINENO"
   15278 then :
   15279   xorg_cv_cc_flag_unused_command_line_argument=yes
   15280 else case e in #(
   15281   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15282 esac
   15283 fi
   15284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15285 esac
   15286 fi
   15287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15288 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15289 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15290 	CFLAGS="$xorg_testset_save_CFLAGS"
   15291 fi
   15292 
   15293 found="no"
   15294 
   15295 	if test $found = "no" ; then
   15296 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15298 		fi
   15299 
   15300 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15302 		fi
   15303 
   15304 		CFLAGS="$CFLAGS -Wold-style-definition"
   15305 
   15306 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15307 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15308 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15309 		if eval test \${$cacheid+y}
   15310 then :
   15311   printf %s "(cached) " >&6
   15312 else case e in #(
   15313   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15314 /* end confdefs.h.  */
   15315 int i;
   15316 int
   15317 main (void)
   15318 {
   15319 
   15320   ;
   15321   return 0;
   15322 }
   15323 _ACEOF
   15324 if ac_fn_c_try_link "$LINENO"
   15325 then :
   15326   eval $cacheid=yes
   15327 else case e in #(
   15328   e) eval $cacheid=no ;;
   15329 esac
   15330 fi
   15331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15332     conftest$ac_exeext conftest.$ac_ext ;;
   15333 esac
   15334 fi
   15335 
   15336 
   15337 		CFLAGS="$xorg_testset_save_CFLAGS"
   15338 
   15339 		eval supported=\$$cacheid
   15340 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15341 printf "%s\n" "$supported" >&6; }
   15342 		if test "$supported" = "yes" ; then
   15343 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15344 			found="yes"
   15345 		fi
   15346 	fi
   15347 
   15348 	if test $found = "no" ; then
   15349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15351 		fi
   15352 
   15353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15355 		fi
   15356 
   15357 		CFLAGS="$CFLAGS -fd"
   15358 
   15359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15360 printf %s "checking if $CC supports -fd... " >&6; }
   15361 		cacheid=xorg_cv_cc_flag__fd
   15362 		if eval test \${$cacheid+y}
   15363 then :
   15364   printf %s "(cached) " >&6
   15365 else case e in #(
   15366   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15367 /* end confdefs.h.  */
   15368 int i;
   15369 int
   15370 main (void)
   15371 {
   15372 
   15373   ;
   15374   return 0;
   15375 }
   15376 _ACEOF
   15377 if ac_fn_c_try_link "$LINENO"
   15378 then :
   15379   eval $cacheid=yes
   15380 else case e in #(
   15381   e) eval $cacheid=no ;;
   15382 esac
   15383 fi
   15384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15385     conftest$ac_exeext conftest.$ac_ext ;;
   15386 esac
   15387 fi
   15388 
   15389 
   15390 		CFLAGS="$xorg_testset_save_CFLAGS"
   15391 
   15392 		eval supported=\$$cacheid
   15393 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15394 printf "%s\n" "$supported" >&6; }
   15395 		if test "$supported" = "yes" ; then
   15396 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15397 			found="yes"
   15398 		fi
   15399 	fi
   15400 
   15401 
   15402 
   15403 
   15404 
   15405 # This chunk adds additional warnings that could catch undesired effects.
   15406 
   15407 
   15408 
   15409 
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 
   15418 
   15419 xorg_testset_save_CFLAGS="$CFLAGS"
   15420 
   15421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15422 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15423 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15424 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15425 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15426 then :
   15427   printf %s "(cached) " >&6
   15428 else case e in #(
   15429   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15430 /* end confdefs.h.  */
   15431 int i;
   15432 _ACEOF
   15433 if ac_fn_c_try_compile "$LINENO"
   15434 then :
   15435   xorg_cv_cc_flag_unknown_warning_option=yes
   15436 else case e in #(
   15437   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15438 esac
   15439 fi
   15440 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15441 esac
   15442 fi
   15443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15444 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15446 	CFLAGS="$xorg_testset_save_CFLAGS"
   15447 fi
   15448 
   15449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15452 	fi
   15453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15455 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15456 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15457 then :
   15458   printf %s "(cached) " >&6
   15459 else case e in #(
   15460   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15461 /* end confdefs.h.  */
   15462 int i;
   15463 _ACEOF
   15464 if ac_fn_c_try_compile "$LINENO"
   15465 then :
   15466   xorg_cv_cc_flag_unused_command_line_argument=yes
   15467 else case e in #(
   15468   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15469 esac
   15470 fi
   15471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15472 esac
   15473 fi
   15474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15475 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15476 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15477 	CFLAGS="$xorg_testset_save_CFLAGS"
   15478 fi
   15479 
   15480 found="no"
   15481 
   15482 	if test $found = "no" ; then
   15483 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15484 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15485 		fi
   15486 
   15487 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15488 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15489 		fi
   15490 
   15491 		CFLAGS="$CFLAGS -Wunused"
   15492 
   15493 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15494 printf %s "checking if $CC supports -Wunused... " >&6; }
   15495 		cacheid=xorg_cv_cc_flag__Wunused
   15496 		if eval test \${$cacheid+y}
   15497 then :
   15498   printf %s "(cached) " >&6
   15499 else case e in #(
   15500   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15501 /* end confdefs.h.  */
   15502 int i;
   15503 int
   15504 main (void)
   15505 {
   15506 
   15507   ;
   15508   return 0;
   15509 }
   15510 _ACEOF
   15511 if ac_fn_c_try_link "$LINENO"
   15512 then :
   15513   eval $cacheid=yes
   15514 else case e in #(
   15515   e) eval $cacheid=no ;;
   15516 esac
   15517 fi
   15518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15519     conftest$ac_exeext conftest.$ac_ext ;;
   15520 esac
   15521 fi
   15522 
   15523 
   15524 		CFLAGS="$xorg_testset_save_CFLAGS"
   15525 
   15526 		eval supported=\$$cacheid
   15527 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15528 printf "%s\n" "$supported" >&6; }
   15529 		if test "$supported" = "yes" ; then
   15530 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15531 			found="yes"
   15532 		fi
   15533 	fi
   15534 
   15535 
   15536 
   15537 
   15538 
   15539 
   15540 
   15541 
   15542 
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 xorg_testset_save_CFLAGS="$CFLAGS"
   15550 
   15551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15553 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15554 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15555 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15556 then :
   15557   printf %s "(cached) " >&6
   15558 else case e in #(
   15559   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15560 /* end confdefs.h.  */
   15561 int i;
   15562 _ACEOF
   15563 if ac_fn_c_try_compile "$LINENO"
   15564 then :
   15565   xorg_cv_cc_flag_unknown_warning_option=yes
   15566 else case e in #(
   15567   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15568 esac
   15569 fi
   15570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15571 esac
   15572 fi
   15573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15574 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15575 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15576 	CFLAGS="$xorg_testset_save_CFLAGS"
   15577 fi
   15578 
   15579 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15580 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15582 	fi
   15583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15584 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15585 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15586 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15587 then :
   15588   printf %s "(cached) " >&6
   15589 else case e in #(
   15590   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15591 /* end confdefs.h.  */
   15592 int i;
   15593 _ACEOF
   15594 if ac_fn_c_try_compile "$LINENO"
   15595 then :
   15596   xorg_cv_cc_flag_unused_command_line_argument=yes
   15597 else case e in #(
   15598   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15599 esac
   15600 fi
   15601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15602 esac
   15603 fi
   15604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15605 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15606 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15607 	CFLAGS="$xorg_testset_save_CFLAGS"
   15608 fi
   15609 
   15610 found="no"
   15611 
   15612 	if test $found = "no" ; then
   15613 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15615 		fi
   15616 
   15617 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15619 		fi
   15620 
   15621 		CFLAGS="$CFLAGS -Wuninitialized"
   15622 
   15623 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15624 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15625 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15626 		if eval test \${$cacheid+y}
   15627 then :
   15628   printf %s "(cached) " >&6
   15629 else case e in #(
   15630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15631 /* end confdefs.h.  */
   15632 int i;
   15633 int
   15634 main (void)
   15635 {
   15636 
   15637   ;
   15638   return 0;
   15639 }
   15640 _ACEOF
   15641 if ac_fn_c_try_link "$LINENO"
   15642 then :
   15643   eval $cacheid=yes
   15644 else case e in #(
   15645   e) eval $cacheid=no ;;
   15646 esac
   15647 fi
   15648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15649     conftest$ac_exeext conftest.$ac_ext ;;
   15650 esac
   15651 fi
   15652 
   15653 
   15654 		CFLAGS="$xorg_testset_save_CFLAGS"
   15655 
   15656 		eval supported=\$$cacheid
   15657 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15658 printf "%s\n" "$supported" >&6; }
   15659 		if test "$supported" = "yes" ; then
   15660 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15661 			found="yes"
   15662 		fi
   15663 	fi
   15664 
   15665 
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 
   15674 
   15675 
   15676 
   15677 
   15678 
   15679 xorg_testset_save_CFLAGS="$CFLAGS"
   15680 
   15681 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15682 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15683 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15684 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15685 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15686 then :
   15687   printf %s "(cached) " >&6
   15688 else case e in #(
   15689   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15690 /* end confdefs.h.  */
   15691 int i;
   15692 _ACEOF
   15693 if ac_fn_c_try_compile "$LINENO"
   15694 then :
   15695   xorg_cv_cc_flag_unknown_warning_option=yes
   15696 else case e in #(
   15697   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15698 esac
   15699 fi
   15700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15701 esac
   15702 fi
   15703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15704 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15706 	CFLAGS="$xorg_testset_save_CFLAGS"
   15707 fi
   15708 
   15709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15712 	fi
   15713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15714 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15715 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15716 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15717 then :
   15718   printf %s "(cached) " >&6
   15719 else case e in #(
   15720   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15721 /* end confdefs.h.  */
   15722 int i;
   15723 _ACEOF
   15724 if ac_fn_c_try_compile "$LINENO"
   15725 then :
   15726   xorg_cv_cc_flag_unused_command_line_argument=yes
   15727 else case e in #(
   15728   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15729 esac
   15730 fi
   15731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15732 esac
   15733 fi
   15734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15735 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15736 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15737 	CFLAGS="$xorg_testset_save_CFLAGS"
   15738 fi
   15739 
   15740 found="no"
   15741 
   15742 	if test $found = "no" ; then
   15743 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15744 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15745 		fi
   15746 
   15747 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15748 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15749 		fi
   15750 
   15751 		CFLAGS="$CFLAGS -Wshadow"
   15752 
   15753 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15754 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15755 		cacheid=xorg_cv_cc_flag__Wshadow
   15756 		if eval test \${$cacheid+y}
   15757 then :
   15758   printf %s "(cached) " >&6
   15759 else case e in #(
   15760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15761 /* end confdefs.h.  */
   15762 int i;
   15763 int
   15764 main (void)
   15765 {
   15766 
   15767   ;
   15768   return 0;
   15769 }
   15770 _ACEOF
   15771 if ac_fn_c_try_link "$LINENO"
   15772 then :
   15773   eval $cacheid=yes
   15774 else case e in #(
   15775   e) eval $cacheid=no ;;
   15776 esac
   15777 fi
   15778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15779     conftest$ac_exeext conftest.$ac_ext ;;
   15780 esac
   15781 fi
   15782 
   15783 
   15784 		CFLAGS="$xorg_testset_save_CFLAGS"
   15785 
   15786 		eval supported=\$$cacheid
   15787 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15788 printf "%s\n" "$supported" >&6; }
   15789 		if test "$supported" = "yes" ; then
   15790 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15791 			found="yes"
   15792 		fi
   15793 	fi
   15794 
   15795 
   15796 
   15797 
   15798 
   15799 
   15800 
   15801 
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 
   15809 xorg_testset_save_CFLAGS="$CFLAGS"
   15810 
   15811 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15813 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15814 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15815 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15816 then :
   15817   printf %s "(cached) " >&6
   15818 else case e in #(
   15819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15820 /* end confdefs.h.  */
   15821 int i;
   15822 _ACEOF
   15823 if ac_fn_c_try_compile "$LINENO"
   15824 then :
   15825   xorg_cv_cc_flag_unknown_warning_option=yes
   15826 else case e in #(
   15827   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15828 esac
   15829 fi
   15830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15831 esac
   15832 fi
   15833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15834 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15836 	CFLAGS="$xorg_testset_save_CFLAGS"
   15837 fi
   15838 
   15839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15842 	fi
   15843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15844 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15845 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15846 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15847 then :
   15848   printf %s "(cached) " >&6
   15849 else case e in #(
   15850   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15851 /* end confdefs.h.  */
   15852 int i;
   15853 _ACEOF
   15854 if ac_fn_c_try_compile "$LINENO"
   15855 then :
   15856   xorg_cv_cc_flag_unused_command_line_argument=yes
   15857 else case e in #(
   15858   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15859 esac
   15860 fi
   15861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15862 esac
   15863 fi
   15864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15865 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15867 	CFLAGS="$xorg_testset_save_CFLAGS"
   15868 fi
   15869 
   15870 found="no"
   15871 
   15872 	if test $found = "no" ; then
   15873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15875 		fi
   15876 
   15877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15879 		fi
   15880 
   15881 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15882 
   15883 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15884 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15885 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15886 		if eval test \${$cacheid+y}
   15887 then :
   15888   printf %s "(cached) " >&6
   15889 else case e in #(
   15890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15891 /* end confdefs.h.  */
   15892 int i;
   15893 int
   15894 main (void)
   15895 {
   15896 
   15897   ;
   15898   return 0;
   15899 }
   15900 _ACEOF
   15901 if ac_fn_c_try_link "$LINENO"
   15902 then :
   15903   eval $cacheid=yes
   15904 else case e in #(
   15905   e) eval $cacheid=no ;;
   15906 esac
   15907 fi
   15908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15909     conftest$ac_exeext conftest.$ac_ext ;;
   15910 esac
   15911 fi
   15912 
   15913 
   15914 		CFLAGS="$xorg_testset_save_CFLAGS"
   15915 
   15916 		eval supported=\$$cacheid
   15917 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15918 printf "%s\n" "$supported" >&6; }
   15919 		if test "$supported" = "yes" ; then
   15920 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15921 			found="yes"
   15922 		fi
   15923 	fi
   15924 
   15925 
   15926 
   15927 
   15928 
   15929 
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 
   15937 
   15938 
   15939 xorg_testset_save_CFLAGS="$CFLAGS"
   15940 
   15941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15943 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15944 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15945 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15946 then :
   15947   printf %s "(cached) " >&6
   15948 else case e in #(
   15949   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15950 /* end confdefs.h.  */
   15951 int i;
   15952 _ACEOF
   15953 if ac_fn_c_try_compile "$LINENO"
   15954 then :
   15955   xorg_cv_cc_flag_unknown_warning_option=yes
   15956 else case e in #(
   15957   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15958 esac
   15959 fi
   15960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15961 esac
   15962 fi
   15963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15964 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15966 	CFLAGS="$xorg_testset_save_CFLAGS"
   15967 fi
   15968 
   15969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15972 	fi
   15973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15975 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15976 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15977 then :
   15978   printf %s "(cached) " >&6
   15979 else case e in #(
   15980   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15981 /* end confdefs.h.  */
   15982 int i;
   15983 _ACEOF
   15984 if ac_fn_c_try_compile "$LINENO"
   15985 then :
   15986   xorg_cv_cc_flag_unused_command_line_argument=yes
   15987 else case e in #(
   15988   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15989 esac
   15990 fi
   15991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15992 esac
   15993 fi
   15994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15995 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15997 	CFLAGS="$xorg_testset_save_CFLAGS"
   15998 fi
   15999 
   16000 found="no"
   16001 
   16002 	if test $found = "no" ; then
   16003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16005 		fi
   16006 
   16007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16009 		fi
   16010 
   16011 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   16012 
   16013 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   16014 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   16015 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   16016 		if eval test \${$cacheid+y}
   16017 then :
   16018   printf %s "(cached) " >&6
   16019 else case e in #(
   16020   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16021 /* end confdefs.h.  */
   16022 int i;
   16023 int
   16024 main (void)
   16025 {
   16026 
   16027   ;
   16028   return 0;
   16029 }
   16030 _ACEOF
   16031 if ac_fn_c_try_link "$LINENO"
   16032 then :
   16033   eval $cacheid=yes
   16034 else case e in #(
   16035   e) eval $cacheid=no ;;
   16036 esac
   16037 fi
   16038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16039     conftest$ac_exeext conftest.$ac_ext ;;
   16040 esac
   16041 fi
   16042 
   16043 
   16044 		CFLAGS="$xorg_testset_save_CFLAGS"
   16045 
   16046 		eval supported=\$$cacheid
   16047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16048 printf "%s\n" "$supported" >&6; }
   16049 		if test "$supported" = "yes" ; then
   16050 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   16051 			found="yes"
   16052 		fi
   16053 	fi
   16054 
   16055 
   16056 
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 xorg_testset_save_CFLAGS="$CFLAGS"
   16070 
   16071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16073 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16074 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16075 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16076 then :
   16077   printf %s "(cached) " >&6
   16078 else case e in #(
   16079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16080 /* end confdefs.h.  */
   16081 int i;
   16082 _ACEOF
   16083 if ac_fn_c_try_compile "$LINENO"
   16084 then :
   16085   xorg_cv_cc_flag_unknown_warning_option=yes
   16086 else case e in #(
   16087   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16088 esac
   16089 fi
   16090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16091 esac
   16092 fi
   16093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16094 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16096 	CFLAGS="$xorg_testset_save_CFLAGS"
   16097 fi
   16098 
   16099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16102 	fi
   16103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16105 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16106 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16107 then :
   16108   printf %s "(cached) " >&6
   16109 else case e in #(
   16110   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16111 /* end confdefs.h.  */
   16112 int i;
   16113 _ACEOF
   16114 if ac_fn_c_try_compile "$LINENO"
   16115 then :
   16116   xorg_cv_cc_flag_unused_command_line_argument=yes
   16117 else case e in #(
   16118   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16119 esac
   16120 fi
   16121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16122 esac
   16123 fi
   16124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16125 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16127 	CFLAGS="$xorg_testset_save_CFLAGS"
   16128 fi
   16129 
   16130 found="no"
   16131 
   16132 	if test $found = "no" ; then
   16133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16135 		fi
   16136 
   16137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16139 		fi
   16140 
   16141 		CFLAGS="$CFLAGS -Wredundant-decls"
   16142 
   16143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16144 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16145 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16146 		if eval test \${$cacheid+y}
   16147 then :
   16148   printf %s "(cached) " >&6
   16149 else case e in #(
   16150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16151 /* end confdefs.h.  */
   16152 int i;
   16153 int
   16154 main (void)
   16155 {
   16156 
   16157   ;
   16158   return 0;
   16159 }
   16160 _ACEOF
   16161 if ac_fn_c_try_link "$LINENO"
   16162 then :
   16163   eval $cacheid=yes
   16164 else case e in #(
   16165   e) eval $cacheid=no ;;
   16166 esac
   16167 fi
   16168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16169     conftest$ac_exeext conftest.$ac_ext ;;
   16170 esac
   16171 fi
   16172 
   16173 
   16174 		CFLAGS="$xorg_testset_save_CFLAGS"
   16175 
   16176 		eval supported=\$$cacheid
   16177 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16178 printf "%s\n" "$supported" >&6; }
   16179 		if test "$supported" = "yes" ; then
   16180 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16181 			found="yes"
   16182 		fi
   16183 	fi
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 
   16196 
   16197 
   16198 
   16199 xorg_testset_save_CFLAGS="$CFLAGS"
   16200 
   16201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16203 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16204 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16205 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16206 then :
   16207   printf %s "(cached) " >&6
   16208 else case e in #(
   16209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16210 /* end confdefs.h.  */
   16211 int i;
   16212 _ACEOF
   16213 if ac_fn_c_try_compile "$LINENO"
   16214 then :
   16215   xorg_cv_cc_flag_unknown_warning_option=yes
   16216 else case e in #(
   16217   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16218 esac
   16219 fi
   16220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16221 esac
   16222 fi
   16223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16224 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16225 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16226 	CFLAGS="$xorg_testset_save_CFLAGS"
   16227 fi
   16228 
   16229 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16230 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16231 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16232 	fi
   16233 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16234 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16235 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16236 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16237 then :
   16238   printf %s "(cached) " >&6
   16239 else case e in #(
   16240   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16241 /* end confdefs.h.  */
   16242 int i;
   16243 _ACEOF
   16244 if ac_fn_c_try_compile "$LINENO"
   16245 then :
   16246   xorg_cv_cc_flag_unused_command_line_argument=yes
   16247 else case e in #(
   16248   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16249 esac
   16250 fi
   16251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16252 esac
   16253 fi
   16254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16255 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16256 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16257 	CFLAGS="$xorg_testset_save_CFLAGS"
   16258 fi
   16259 
   16260 found="no"
   16261 
   16262 	if test $found = "no" ; then
   16263 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16265 		fi
   16266 
   16267 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16269 		fi
   16270 
   16271 		CFLAGS="$CFLAGS -Wlogical-op"
   16272 
   16273 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16274 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16275 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16276 		if eval test \${$cacheid+y}
   16277 then :
   16278   printf %s "(cached) " >&6
   16279 else case e in #(
   16280   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16281 /* end confdefs.h.  */
   16282 int i;
   16283 int
   16284 main (void)
   16285 {
   16286 
   16287   ;
   16288   return 0;
   16289 }
   16290 _ACEOF
   16291 if ac_fn_c_try_link "$LINENO"
   16292 then :
   16293   eval $cacheid=yes
   16294 else case e in #(
   16295   e) eval $cacheid=no ;;
   16296 esac
   16297 fi
   16298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16299     conftest$ac_exeext conftest.$ac_ext ;;
   16300 esac
   16301 fi
   16302 
   16303 
   16304 		CFLAGS="$xorg_testset_save_CFLAGS"
   16305 
   16306 		eval supported=\$$cacheid
   16307 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16308 printf "%s\n" "$supported" >&6; }
   16309 		if test "$supported" = "yes" ; then
   16310 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16311 			found="yes"
   16312 		fi
   16313 	fi
   16314 
   16315 
   16316 
   16317 # These are currently disabled because they are noisy.  They will be enabled
   16318 # in the future once the codebase is sufficiently modernized to silence
   16319 # them.  For now, I don't want them to drown out the other warnings.
   16320 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16321 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16322 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16323 
   16324 # Turn some warnings into errors, so we don't accidentally get successful builds
   16325 # when there are problems that should be fixed.
   16326 
   16327 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16328 
   16329 
   16330 
   16331 
   16332 
   16333 
   16334 
   16335 
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 xorg_testset_save_CFLAGS="$CFLAGS"
   16342 
   16343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16346 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16347 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16348 then :
   16349   printf %s "(cached) " >&6
   16350 else case e in #(
   16351   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16352 /* end confdefs.h.  */
   16353 int i;
   16354 _ACEOF
   16355 if ac_fn_c_try_compile "$LINENO"
   16356 then :
   16357   xorg_cv_cc_flag_unknown_warning_option=yes
   16358 else case e in #(
   16359   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16360 esac
   16361 fi
   16362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16363 esac
   16364 fi
   16365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16366 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16368 	CFLAGS="$xorg_testset_save_CFLAGS"
   16369 fi
   16370 
   16371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16374 	fi
   16375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16376 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16377 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16378 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16379 then :
   16380   printf %s "(cached) " >&6
   16381 else case e in #(
   16382   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16383 /* end confdefs.h.  */
   16384 int i;
   16385 _ACEOF
   16386 if ac_fn_c_try_compile "$LINENO"
   16387 then :
   16388   xorg_cv_cc_flag_unused_command_line_argument=yes
   16389 else case e in #(
   16390   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16391 esac
   16392 fi
   16393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16394 esac
   16395 fi
   16396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16397 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16398 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16399 	CFLAGS="$xorg_testset_save_CFLAGS"
   16400 fi
   16401 
   16402 found="no"
   16403 
   16404 	if test $found = "no" ; then
   16405 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16406 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16407 		fi
   16408 
   16409 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16410 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16411 		fi
   16412 
   16413 		CFLAGS="$CFLAGS -Werror=implicit"
   16414 
   16415 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16416 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16417 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16418 		if eval test \${$cacheid+y}
   16419 then :
   16420   printf %s "(cached) " >&6
   16421 else case e in #(
   16422   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16423 /* end confdefs.h.  */
   16424 int i;
   16425 int
   16426 main (void)
   16427 {
   16428 
   16429   ;
   16430   return 0;
   16431 }
   16432 _ACEOF
   16433 if ac_fn_c_try_link "$LINENO"
   16434 then :
   16435   eval $cacheid=yes
   16436 else case e in #(
   16437   e) eval $cacheid=no ;;
   16438 esac
   16439 fi
   16440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16441     conftest$ac_exeext conftest.$ac_ext ;;
   16442 esac
   16443 fi
   16444 
   16445 
   16446 		CFLAGS="$xorg_testset_save_CFLAGS"
   16447 
   16448 		eval supported=\$$cacheid
   16449 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16450 printf "%s\n" "$supported" >&6; }
   16451 		if test "$supported" = "yes" ; then
   16452 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16453 			found="yes"
   16454 		fi
   16455 	fi
   16456 
   16457 	if test $found = "no" ; then
   16458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16460 		fi
   16461 
   16462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16464 		fi
   16465 
   16466 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16467 
   16468 		{ 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
   16469 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16470 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16471 		if eval test \${$cacheid+y}
   16472 then :
   16473   printf %s "(cached) " >&6
   16474 else case e in #(
   16475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16476 /* end confdefs.h.  */
   16477 int i;
   16478 int
   16479 main (void)
   16480 {
   16481 
   16482   ;
   16483   return 0;
   16484 }
   16485 _ACEOF
   16486 if ac_fn_c_try_link "$LINENO"
   16487 then :
   16488   eval $cacheid=yes
   16489 else case e in #(
   16490   e) eval $cacheid=no ;;
   16491 esac
   16492 fi
   16493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16494     conftest$ac_exeext conftest.$ac_ext ;;
   16495 esac
   16496 fi
   16497 
   16498 
   16499 		CFLAGS="$xorg_testset_save_CFLAGS"
   16500 
   16501 		eval supported=\$$cacheid
   16502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16503 printf "%s\n" "$supported" >&6; }
   16504 		if test "$supported" = "yes" ; then
   16505 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16506 			found="yes"
   16507 		fi
   16508 	fi
   16509 
   16510 
   16511 
   16512 
   16513 
   16514 
   16515 
   16516 
   16517 
   16518 
   16519 
   16520 
   16521 
   16522 
   16523 
   16524 xorg_testset_save_CFLAGS="$CFLAGS"
   16525 
   16526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16529 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16530 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16531 then :
   16532   printf %s "(cached) " >&6
   16533 else case e in #(
   16534   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16535 /* end confdefs.h.  */
   16536 int i;
   16537 _ACEOF
   16538 if ac_fn_c_try_compile "$LINENO"
   16539 then :
   16540   xorg_cv_cc_flag_unknown_warning_option=yes
   16541 else case e in #(
   16542   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16543 esac
   16544 fi
   16545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16546 esac
   16547 fi
   16548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16549 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16551 	CFLAGS="$xorg_testset_save_CFLAGS"
   16552 fi
   16553 
   16554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16557 	fi
   16558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16559 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16560 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16561 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16562 then :
   16563   printf %s "(cached) " >&6
   16564 else case e in #(
   16565   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16566 /* end confdefs.h.  */
   16567 int i;
   16568 _ACEOF
   16569 if ac_fn_c_try_compile "$LINENO"
   16570 then :
   16571   xorg_cv_cc_flag_unused_command_line_argument=yes
   16572 else case e in #(
   16573   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16574 esac
   16575 fi
   16576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16577 esac
   16578 fi
   16579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16580 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16581 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16582 	CFLAGS="$xorg_testset_save_CFLAGS"
   16583 fi
   16584 
   16585 found="no"
   16586 
   16587 	if test $found = "no" ; then
   16588 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16590 		fi
   16591 
   16592 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16594 		fi
   16595 
   16596 		CFLAGS="$CFLAGS -Werror=nonnull"
   16597 
   16598 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16599 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16600 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16601 		if eval test \${$cacheid+y}
   16602 then :
   16603   printf %s "(cached) " >&6
   16604 else case e in #(
   16605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16606 /* end confdefs.h.  */
   16607 int i;
   16608 int
   16609 main (void)
   16610 {
   16611 
   16612   ;
   16613   return 0;
   16614 }
   16615 _ACEOF
   16616 if ac_fn_c_try_link "$LINENO"
   16617 then :
   16618   eval $cacheid=yes
   16619 else case e in #(
   16620   e) eval $cacheid=no ;;
   16621 esac
   16622 fi
   16623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16624     conftest$ac_exeext conftest.$ac_ext ;;
   16625 esac
   16626 fi
   16627 
   16628 
   16629 		CFLAGS="$xorg_testset_save_CFLAGS"
   16630 
   16631 		eval supported=\$$cacheid
   16632 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16633 printf "%s\n" "$supported" >&6; }
   16634 		if test "$supported" = "yes" ; then
   16635 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16636 			found="yes"
   16637 		fi
   16638 	fi
   16639 
   16640 
   16641 
   16642 
   16643 
   16644 
   16645 
   16646 
   16647 
   16648 
   16649 
   16650 
   16651 
   16652 
   16653 
   16654 xorg_testset_save_CFLAGS="$CFLAGS"
   16655 
   16656 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16657 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16659 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16660 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16661 then :
   16662   printf %s "(cached) " >&6
   16663 else case e in #(
   16664   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16665 /* end confdefs.h.  */
   16666 int i;
   16667 _ACEOF
   16668 if ac_fn_c_try_compile "$LINENO"
   16669 then :
   16670   xorg_cv_cc_flag_unknown_warning_option=yes
   16671 else case e in #(
   16672   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16673 esac
   16674 fi
   16675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16676 esac
   16677 fi
   16678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16679 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16680 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16681 	CFLAGS="$xorg_testset_save_CFLAGS"
   16682 fi
   16683 
   16684 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16685 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16686 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16687 	fi
   16688 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16689 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16690 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16691 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16692 then :
   16693   printf %s "(cached) " >&6
   16694 else case e in #(
   16695   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16696 /* end confdefs.h.  */
   16697 int i;
   16698 _ACEOF
   16699 if ac_fn_c_try_compile "$LINENO"
   16700 then :
   16701   xorg_cv_cc_flag_unused_command_line_argument=yes
   16702 else case e in #(
   16703   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16704 esac
   16705 fi
   16706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16707 esac
   16708 fi
   16709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16710 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16711 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16712 	CFLAGS="$xorg_testset_save_CFLAGS"
   16713 fi
   16714 
   16715 found="no"
   16716 
   16717 	if test $found = "no" ; then
   16718 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16719 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16720 		fi
   16721 
   16722 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16723 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16724 		fi
   16725 
   16726 		CFLAGS="$CFLAGS -Werror=init-self"
   16727 
   16728 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16729 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16730 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16731 		if eval test \${$cacheid+y}
   16732 then :
   16733   printf %s "(cached) " >&6
   16734 else case e in #(
   16735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16736 /* end confdefs.h.  */
   16737 int i;
   16738 int
   16739 main (void)
   16740 {
   16741 
   16742   ;
   16743   return 0;
   16744 }
   16745 _ACEOF
   16746 if ac_fn_c_try_link "$LINENO"
   16747 then :
   16748   eval $cacheid=yes
   16749 else case e in #(
   16750   e) eval $cacheid=no ;;
   16751 esac
   16752 fi
   16753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16754     conftest$ac_exeext conftest.$ac_ext ;;
   16755 esac
   16756 fi
   16757 
   16758 
   16759 		CFLAGS="$xorg_testset_save_CFLAGS"
   16760 
   16761 		eval supported=\$$cacheid
   16762 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16763 printf "%s\n" "$supported" >&6; }
   16764 		if test "$supported" = "yes" ; then
   16765 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16766 			found="yes"
   16767 		fi
   16768 	fi
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 xorg_testset_save_CFLAGS="$CFLAGS"
   16785 
   16786 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16787 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16789 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16790 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16791 then :
   16792   printf %s "(cached) " >&6
   16793 else case e in #(
   16794   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16795 /* end confdefs.h.  */
   16796 int i;
   16797 _ACEOF
   16798 if ac_fn_c_try_compile "$LINENO"
   16799 then :
   16800   xorg_cv_cc_flag_unknown_warning_option=yes
   16801 else case e in #(
   16802   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16803 esac
   16804 fi
   16805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16806 esac
   16807 fi
   16808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16809 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16811 	CFLAGS="$xorg_testset_save_CFLAGS"
   16812 fi
   16813 
   16814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16817 	fi
   16818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16819 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16820 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16821 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16822 then :
   16823   printf %s "(cached) " >&6
   16824 else case e in #(
   16825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16826 /* end confdefs.h.  */
   16827 int i;
   16828 _ACEOF
   16829 if ac_fn_c_try_compile "$LINENO"
   16830 then :
   16831   xorg_cv_cc_flag_unused_command_line_argument=yes
   16832 else case e in #(
   16833   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16834 esac
   16835 fi
   16836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16837 esac
   16838 fi
   16839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16840 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16842 	CFLAGS="$xorg_testset_save_CFLAGS"
   16843 fi
   16844 
   16845 found="no"
   16846 
   16847 	if test $found = "no" ; then
   16848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16850 		fi
   16851 
   16852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16854 		fi
   16855 
   16856 		CFLAGS="$CFLAGS -Werror=main"
   16857 
   16858 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16859 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16860 		cacheid=xorg_cv_cc_flag__Werror_main
   16861 		if eval test \${$cacheid+y}
   16862 then :
   16863   printf %s "(cached) " >&6
   16864 else case e in #(
   16865   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16866 /* end confdefs.h.  */
   16867 int i;
   16868 int
   16869 main (void)
   16870 {
   16871 
   16872   ;
   16873   return 0;
   16874 }
   16875 _ACEOF
   16876 if ac_fn_c_try_link "$LINENO"
   16877 then :
   16878   eval $cacheid=yes
   16879 else case e in #(
   16880   e) eval $cacheid=no ;;
   16881 esac
   16882 fi
   16883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16884     conftest$ac_exeext conftest.$ac_ext ;;
   16885 esac
   16886 fi
   16887 
   16888 
   16889 		CFLAGS="$xorg_testset_save_CFLAGS"
   16890 
   16891 		eval supported=\$$cacheid
   16892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16893 printf "%s\n" "$supported" >&6; }
   16894 		if test "$supported" = "yes" ; then
   16895 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16896 			found="yes"
   16897 		fi
   16898 	fi
   16899 
   16900 
   16901 
   16902 
   16903 
   16904 
   16905 
   16906 
   16907 
   16908 
   16909 
   16910 
   16911 
   16912 
   16913 
   16914 xorg_testset_save_CFLAGS="$CFLAGS"
   16915 
   16916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16919 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16920 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16921 then :
   16922   printf %s "(cached) " >&6
   16923 else case e in #(
   16924   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16925 /* end confdefs.h.  */
   16926 int i;
   16927 _ACEOF
   16928 if ac_fn_c_try_compile "$LINENO"
   16929 then :
   16930   xorg_cv_cc_flag_unknown_warning_option=yes
   16931 else case e in #(
   16932   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16933 esac
   16934 fi
   16935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16936 esac
   16937 fi
   16938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16939 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16940 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16941 	CFLAGS="$xorg_testset_save_CFLAGS"
   16942 fi
   16943 
   16944 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16945 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16946 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16947 	fi
   16948 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16950 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16951 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16952 then :
   16953   printf %s "(cached) " >&6
   16954 else case e in #(
   16955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16956 /* end confdefs.h.  */
   16957 int i;
   16958 _ACEOF
   16959 if ac_fn_c_try_compile "$LINENO"
   16960 then :
   16961   xorg_cv_cc_flag_unused_command_line_argument=yes
   16962 else case e in #(
   16963   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16964 esac
   16965 fi
   16966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16967 esac
   16968 fi
   16969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16970 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16972 	CFLAGS="$xorg_testset_save_CFLAGS"
   16973 fi
   16974 
   16975 found="no"
   16976 
   16977 	if test $found = "no" ; then
   16978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16980 		fi
   16981 
   16982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16984 		fi
   16985 
   16986 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16987 
   16988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16989 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16990 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16991 		if eval test \${$cacheid+y}
   16992 then :
   16993   printf %s "(cached) " >&6
   16994 else case e in #(
   16995   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16996 /* end confdefs.h.  */
   16997 int i;
   16998 int
   16999 main (void)
   17000 {
   17001 
   17002   ;
   17003   return 0;
   17004 }
   17005 _ACEOF
   17006 if ac_fn_c_try_link "$LINENO"
   17007 then :
   17008   eval $cacheid=yes
   17009 else case e in #(
   17010   e) eval $cacheid=no ;;
   17011 esac
   17012 fi
   17013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17014     conftest$ac_exeext conftest.$ac_ext ;;
   17015 esac
   17016 fi
   17017 
   17018 
   17019 		CFLAGS="$xorg_testset_save_CFLAGS"
   17020 
   17021 		eval supported=\$$cacheid
   17022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17023 printf "%s\n" "$supported" >&6; }
   17024 		if test "$supported" = "yes" ; then
   17025 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   17026 			found="yes"
   17027 		fi
   17028 	fi
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 xorg_testset_save_CFLAGS="$CFLAGS"
   17045 
   17046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17051 then :
   17052   printf %s "(cached) " >&6
   17053 else case e in #(
   17054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17055 /* end confdefs.h.  */
   17056 int i;
   17057 _ACEOF
   17058 if ac_fn_c_try_compile "$LINENO"
   17059 then :
   17060   xorg_cv_cc_flag_unknown_warning_option=yes
   17061 else case e in #(
   17062   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17063 esac
   17064 fi
   17065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17066 esac
   17067 fi
   17068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17069 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17071 	CFLAGS="$xorg_testset_save_CFLAGS"
   17072 fi
   17073 
   17074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17077 	fi
   17078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17079 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17080 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17081 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17082 then :
   17083   printf %s "(cached) " >&6
   17084 else case e in #(
   17085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17086 /* end confdefs.h.  */
   17087 int i;
   17088 _ACEOF
   17089 if ac_fn_c_try_compile "$LINENO"
   17090 then :
   17091   xorg_cv_cc_flag_unused_command_line_argument=yes
   17092 else case e in #(
   17093   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17094 esac
   17095 fi
   17096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17097 esac
   17098 fi
   17099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17100 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17102 	CFLAGS="$xorg_testset_save_CFLAGS"
   17103 fi
   17104 
   17105 found="no"
   17106 
   17107 	if test $found = "no" ; then
   17108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17110 		fi
   17111 
   17112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17114 		fi
   17115 
   17116 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17117 
   17118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17119 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17120 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17121 		if eval test \${$cacheid+y}
   17122 then :
   17123   printf %s "(cached) " >&6
   17124 else case e in #(
   17125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17126 /* end confdefs.h.  */
   17127 int i;
   17128 int
   17129 main (void)
   17130 {
   17131 
   17132   ;
   17133   return 0;
   17134 }
   17135 _ACEOF
   17136 if ac_fn_c_try_link "$LINENO"
   17137 then :
   17138   eval $cacheid=yes
   17139 else case e in #(
   17140   e) eval $cacheid=no ;;
   17141 esac
   17142 fi
   17143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17144     conftest$ac_exeext conftest.$ac_ext ;;
   17145 esac
   17146 fi
   17147 
   17148 
   17149 		CFLAGS="$xorg_testset_save_CFLAGS"
   17150 
   17151 		eval supported=\$$cacheid
   17152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17153 printf "%s\n" "$supported" >&6; }
   17154 		if test "$supported" = "yes" ; then
   17155 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17156 			found="yes"
   17157 		fi
   17158 	fi
   17159 
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 
   17173 
   17174 xorg_testset_save_CFLAGS="$CFLAGS"
   17175 
   17176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17179 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17180 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17181 then :
   17182   printf %s "(cached) " >&6
   17183 else case e in #(
   17184   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17185 /* end confdefs.h.  */
   17186 int i;
   17187 _ACEOF
   17188 if ac_fn_c_try_compile "$LINENO"
   17189 then :
   17190   xorg_cv_cc_flag_unknown_warning_option=yes
   17191 else case e in #(
   17192   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17193 esac
   17194 fi
   17195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17196 esac
   17197 fi
   17198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17199 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17201 	CFLAGS="$xorg_testset_save_CFLAGS"
   17202 fi
   17203 
   17204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17207 	fi
   17208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17210 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17211 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17212 then :
   17213   printf %s "(cached) " >&6
   17214 else case e in #(
   17215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17216 /* end confdefs.h.  */
   17217 int i;
   17218 _ACEOF
   17219 if ac_fn_c_try_compile "$LINENO"
   17220 then :
   17221   xorg_cv_cc_flag_unused_command_line_argument=yes
   17222 else case e in #(
   17223   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17224 esac
   17225 fi
   17226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17227 esac
   17228 fi
   17229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17230 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17231 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17232 	CFLAGS="$xorg_testset_save_CFLAGS"
   17233 fi
   17234 
   17235 found="no"
   17236 
   17237 	if test $found = "no" ; then
   17238 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17240 		fi
   17241 
   17242 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17244 		fi
   17245 
   17246 		CFLAGS="$CFLAGS -Werror=return-type"
   17247 
   17248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17249 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17250 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17251 		if eval test \${$cacheid+y}
   17252 then :
   17253   printf %s "(cached) " >&6
   17254 else case e in #(
   17255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17256 /* end confdefs.h.  */
   17257 int i;
   17258 int
   17259 main (void)
   17260 {
   17261 
   17262   ;
   17263   return 0;
   17264 }
   17265 _ACEOF
   17266 if ac_fn_c_try_link "$LINENO"
   17267 then :
   17268   eval $cacheid=yes
   17269 else case e in #(
   17270   e) eval $cacheid=no ;;
   17271 esac
   17272 fi
   17273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17274     conftest$ac_exeext conftest.$ac_ext ;;
   17275 esac
   17276 fi
   17277 
   17278 
   17279 		CFLAGS="$xorg_testset_save_CFLAGS"
   17280 
   17281 		eval supported=\$$cacheid
   17282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17283 printf "%s\n" "$supported" >&6; }
   17284 		if test "$supported" = "yes" ; then
   17285 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17286 			found="yes"
   17287 		fi
   17288 	fi
   17289 
   17290 	if test $found = "no" ; then
   17291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17293 		fi
   17294 
   17295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17297 		fi
   17298 
   17299 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17300 
   17301 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17302 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17303 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17304 		if eval test \${$cacheid+y}
   17305 then :
   17306   printf %s "(cached) " >&6
   17307 else case e in #(
   17308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17309 /* end confdefs.h.  */
   17310 int i;
   17311 int
   17312 main (void)
   17313 {
   17314 
   17315   ;
   17316   return 0;
   17317 }
   17318 _ACEOF
   17319 if ac_fn_c_try_link "$LINENO"
   17320 then :
   17321   eval $cacheid=yes
   17322 else case e in #(
   17323   e) eval $cacheid=no ;;
   17324 esac
   17325 fi
   17326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17327     conftest$ac_exeext conftest.$ac_ext ;;
   17328 esac
   17329 fi
   17330 
   17331 
   17332 		CFLAGS="$xorg_testset_save_CFLAGS"
   17333 
   17334 		eval supported=\$$cacheid
   17335 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17336 printf "%s\n" "$supported" >&6; }
   17337 		if test "$supported" = "yes" ; then
   17338 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17339 			found="yes"
   17340 		fi
   17341 	fi
   17342 
   17343 
   17344 
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 
   17352 
   17353 
   17354 
   17355 
   17356 
   17357 xorg_testset_save_CFLAGS="$CFLAGS"
   17358 
   17359 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17360 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17361 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17362 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17363 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17364 then :
   17365   printf %s "(cached) " >&6
   17366 else case e in #(
   17367   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17368 /* end confdefs.h.  */
   17369 int i;
   17370 _ACEOF
   17371 if ac_fn_c_try_compile "$LINENO"
   17372 then :
   17373   xorg_cv_cc_flag_unknown_warning_option=yes
   17374 else case e in #(
   17375   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17376 esac
   17377 fi
   17378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17379 esac
   17380 fi
   17381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17382 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17383 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17384 	CFLAGS="$xorg_testset_save_CFLAGS"
   17385 fi
   17386 
   17387 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17388 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17389 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17390 	fi
   17391 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17392 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17393 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17394 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17395 then :
   17396   printf %s "(cached) " >&6
   17397 else case e in #(
   17398   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17399 /* end confdefs.h.  */
   17400 int i;
   17401 _ACEOF
   17402 if ac_fn_c_try_compile "$LINENO"
   17403 then :
   17404   xorg_cv_cc_flag_unused_command_line_argument=yes
   17405 else case e in #(
   17406   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17407 esac
   17408 fi
   17409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17410 esac
   17411 fi
   17412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17413 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17414 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17415 	CFLAGS="$xorg_testset_save_CFLAGS"
   17416 fi
   17417 
   17418 found="no"
   17419 
   17420 	if test $found = "no" ; then
   17421 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17422 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17423 		fi
   17424 
   17425 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17426 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17427 		fi
   17428 
   17429 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17430 
   17431 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17432 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17433 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17434 		if eval test \${$cacheid+y}
   17435 then :
   17436   printf %s "(cached) " >&6
   17437 else case e in #(
   17438   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17439 /* end confdefs.h.  */
   17440 int i;
   17441 int
   17442 main (void)
   17443 {
   17444 
   17445   ;
   17446   return 0;
   17447 }
   17448 _ACEOF
   17449 if ac_fn_c_try_link "$LINENO"
   17450 then :
   17451   eval $cacheid=yes
   17452 else case e in #(
   17453   e) eval $cacheid=no ;;
   17454 esac
   17455 fi
   17456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17457     conftest$ac_exeext conftest.$ac_ext ;;
   17458 esac
   17459 fi
   17460 
   17461 
   17462 		CFLAGS="$xorg_testset_save_CFLAGS"
   17463 
   17464 		eval supported=\$$cacheid
   17465 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17466 printf "%s\n" "$supported" >&6; }
   17467 		if test "$supported" = "yes" ; then
   17468 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17469 			found="yes"
   17470 		fi
   17471 	fi
   17472 
   17473 
   17474 
   17475 
   17476 
   17477 
   17478 
   17479 
   17480 
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 xorg_testset_save_CFLAGS="$CFLAGS"
   17488 
   17489 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17490 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17491 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17492 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17493 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17494 then :
   17495   printf %s "(cached) " >&6
   17496 else case e in #(
   17497   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17498 /* end confdefs.h.  */
   17499 int i;
   17500 _ACEOF
   17501 if ac_fn_c_try_compile "$LINENO"
   17502 then :
   17503   xorg_cv_cc_flag_unknown_warning_option=yes
   17504 else case e in #(
   17505   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17506 esac
   17507 fi
   17508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17509 esac
   17510 fi
   17511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17512 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17513 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17514 	CFLAGS="$xorg_testset_save_CFLAGS"
   17515 fi
   17516 
   17517 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17518 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17519 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17520 	fi
   17521 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17523 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17524 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17525 then :
   17526   printf %s "(cached) " >&6
   17527 else case e in #(
   17528   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17529 /* end confdefs.h.  */
   17530 int i;
   17531 _ACEOF
   17532 if ac_fn_c_try_compile "$LINENO"
   17533 then :
   17534   xorg_cv_cc_flag_unused_command_line_argument=yes
   17535 else case e in #(
   17536   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17537 esac
   17538 fi
   17539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17540 esac
   17541 fi
   17542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17543 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17544 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17545 	CFLAGS="$xorg_testset_save_CFLAGS"
   17546 fi
   17547 
   17548 found="no"
   17549 
   17550 	if test $found = "no" ; then
   17551 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17553 		fi
   17554 
   17555 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17557 		fi
   17558 
   17559 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17560 
   17561 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17562 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17563 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17564 		if eval test \${$cacheid+y}
   17565 then :
   17566   printf %s "(cached) " >&6
   17567 else case e in #(
   17568   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17569 /* end confdefs.h.  */
   17570 int i;
   17571 int
   17572 main (void)
   17573 {
   17574 
   17575   ;
   17576   return 0;
   17577 }
   17578 _ACEOF
   17579 if ac_fn_c_try_link "$LINENO"
   17580 then :
   17581   eval $cacheid=yes
   17582 else case e in #(
   17583   e) eval $cacheid=no ;;
   17584 esac
   17585 fi
   17586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17587     conftest$ac_exeext conftest.$ac_ext ;;
   17588 esac
   17589 fi
   17590 
   17591 
   17592 		CFLAGS="$xorg_testset_save_CFLAGS"
   17593 
   17594 		eval supported=\$$cacheid
   17595 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17596 printf "%s\n" "$supported" >&6; }
   17597 		if test "$supported" = "yes" ; then
   17598 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17599 			found="yes"
   17600 		fi
   17601 	fi
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 
   17614 
   17615 
   17616 
   17617 xorg_testset_save_CFLAGS="$CFLAGS"
   17618 
   17619 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17620 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17621 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17622 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17623 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17624 then :
   17625   printf %s "(cached) " >&6
   17626 else case e in #(
   17627   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17628 /* end confdefs.h.  */
   17629 int i;
   17630 _ACEOF
   17631 if ac_fn_c_try_compile "$LINENO"
   17632 then :
   17633   xorg_cv_cc_flag_unknown_warning_option=yes
   17634 else case e in #(
   17635   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17636 esac
   17637 fi
   17638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17639 esac
   17640 fi
   17641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17642 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17643 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17644 	CFLAGS="$xorg_testset_save_CFLAGS"
   17645 fi
   17646 
   17647 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17648 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17649 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17650 	fi
   17651 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17652 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17653 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17654 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17655 then :
   17656   printf %s "(cached) " >&6
   17657 else case e in #(
   17658   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17659 /* end confdefs.h.  */
   17660 int i;
   17661 _ACEOF
   17662 if ac_fn_c_try_compile "$LINENO"
   17663 then :
   17664   xorg_cv_cc_flag_unused_command_line_argument=yes
   17665 else case e in #(
   17666   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17667 esac
   17668 fi
   17669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17670 esac
   17671 fi
   17672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17673 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17674 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17675 	CFLAGS="$xorg_testset_save_CFLAGS"
   17676 fi
   17677 
   17678 found="no"
   17679 
   17680 	if test $found = "no" ; then
   17681 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17682 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17683 		fi
   17684 
   17685 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17686 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17687 		fi
   17688 
   17689 		CFLAGS="$CFLAGS -Werror=write-strings"
   17690 
   17691 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17692 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17693 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17694 		if eval test \${$cacheid+y}
   17695 then :
   17696   printf %s "(cached) " >&6
   17697 else case e in #(
   17698   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17699 /* end confdefs.h.  */
   17700 int i;
   17701 int
   17702 main (void)
   17703 {
   17704 
   17705   ;
   17706   return 0;
   17707 }
   17708 _ACEOF
   17709 if ac_fn_c_try_link "$LINENO"
   17710 then :
   17711   eval $cacheid=yes
   17712 else case e in #(
   17713   e) eval $cacheid=no ;;
   17714 esac
   17715 fi
   17716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17717     conftest$ac_exeext conftest.$ac_ext ;;
   17718 esac
   17719 fi
   17720 
   17721 
   17722 		CFLAGS="$xorg_testset_save_CFLAGS"
   17723 
   17724 		eval supported=\$$cacheid
   17725 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17726 printf "%s\n" "$supported" >&6; }
   17727 		if test "$supported" = "yes" ; then
   17728 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17729 			found="yes"
   17730 		fi
   17731 	fi
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 xorg_testset_save_CFLAGS="$CFLAGS"
   17748 
   17749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17751 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17752 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17753 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17754 then :
   17755   printf %s "(cached) " >&6
   17756 else case e in #(
   17757   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17758 /* end confdefs.h.  */
   17759 int i;
   17760 _ACEOF
   17761 if ac_fn_c_try_compile "$LINENO"
   17762 then :
   17763   xorg_cv_cc_flag_unknown_warning_option=yes
   17764 else case e in #(
   17765   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17766 esac
   17767 fi
   17768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17769 esac
   17770 fi
   17771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17772 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17774 	CFLAGS="$xorg_testset_save_CFLAGS"
   17775 fi
   17776 
   17777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17780 	fi
   17781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17782 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17783 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17784 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17785 then :
   17786   printf %s "(cached) " >&6
   17787 else case e in #(
   17788   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17789 /* end confdefs.h.  */
   17790 int i;
   17791 _ACEOF
   17792 if ac_fn_c_try_compile "$LINENO"
   17793 then :
   17794   xorg_cv_cc_flag_unused_command_line_argument=yes
   17795 else case e in #(
   17796   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17797 esac
   17798 fi
   17799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17800 esac
   17801 fi
   17802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17803 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17804 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17805 	CFLAGS="$xorg_testset_save_CFLAGS"
   17806 fi
   17807 
   17808 found="no"
   17809 
   17810 	if test $found = "no" ; then
   17811 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17812 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17813 		fi
   17814 
   17815 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17816 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17817 		fi
   17818 
   17819 		CFLAGS="$CFLAGS -Werror=address"
   17820 
   17821 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17822 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17823 		cacheid=xorg_cv_cc_flag__Werror_address
   17824 		if eval test \${$cacheid+y}
   17825 then :
   17826   printf %s "(cached) " >&6
   17827 else case e in #(
   17828   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17829 /* end confdefs.h.  */
   17830 int i;
   17831 int
   17832 main (void)
   17833 {
   17834 
   17835   ;
   17836   return 0;
   17837 }
   17838 _ACEOF
   17839 if ac_fn_c_try_link "$LINENO"
   17840 then :
   17841   eval $cacheid=yes
   17842 else case e in #(
   17843   e) eval $cacheid=no ;;
   17844 esac
   17845 fi
   17846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17847     conftest$ac_exeext conftest.$ac_ext ;;
   17848 esac
   17849 fi
   17850 
   17851 
   17852 		CFLAGS="$xorg_testset_save_CFLAGS"
   17853 
   17854 		eval supported=\$$cacheid
   17855 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17856 printf "%s\n" "$supported" >&6; }
   17857 		if test "$supported" = "yes" ; then
   17858 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17859 			found="yes"
   17860 		fi
   17861 	fi
   17862 
   17863 
   17864 
   17865 
   17866 
   17867 
   17868 
   17869 
   17870 
   17871 
   17872 
   17873 
   17874 
   17875 
   17876 
   17877 xorg_testset_save_CFLAGS="$CFLAGS"
   17878 
   17879 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17881 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17882 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17883 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17884 then :
   17885   printf %s "(cached) " >&6
   17886 else case e in #(
   17887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17888 /* end confdefs.h.  */
   17889 int i;
   17890 _ACEOF
   17891 if ac_fn_c_try_compile "$LINENO"
   17892 then :
   17893   xorg_cv_cc_flag_unknown_warning_option=yes
   17894 else case e in #(
   17895   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17896 esac
   17897 fi
   17898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17899 esac
   17900 fi
   17901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17902 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17904 	CFLAGS="$xorg_testset_save_CFLAGS"
   17905 fi
   17906 
   17907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17910 	fi
   17911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17912 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17913 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17914 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17915 then :
   17916   printf %s "(cached) " >&6
   17917 else case e in #(
   17918   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17919 /* end confdefs.h.  */
   17920 int i;
   17921 _ACEOF
   17922 if ac_fn_c_try_compile "$LINENO"
   17923 then :
   17924   xorg_cv_cc_flag_unused_command_line_argument=yes
   17925 else case e in #(
   17926   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17927 esac
   17928 fi
   17929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17930 esac
   17931 fi
   17932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17933 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17935 	CFLAGS="$xorg_testset_save_CFLAGS"
   17936 fi
   17937 
   17938 found="no"
   17939 
   17940 	if test $found = "no" ; then
   17941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17943 		fi
   17944 
   17945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17947 		fi
   17948 
   17949 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17950 
   17951 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17952 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17953 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17954 		if eval test \${$cacheid+y}
   17955 then :
   17956   printf %s "(cached) " >&6
   17957 else case e in #(
   17958   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17959 /* end confdefs.h.  */
   17960 int i;
   17961 int
   17962 main (void)
   17963 {
   17964 
   17965   ;
   17966   return 0;
   17967 }
   17968 _ACEOF
   17969 if ac_fn_c_try_link "$LINENO"
   17970 then :
   17971   eval $cacheid=yes
   17972 else case e in #(
   17973   e) eval $cacheid=no ;;
   17974 esac
   17975 fi
   17976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17977     conftest$ac_exeext conftest.$ac_ext ;;
   17978 esac
   17979 fi
   17980 
   17981 
   17982 		CFLAGS="$xorg_testset_save_CFLAGS"
   17983 
   17984 		eval supported=\$$cacheid
   17985 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17986 printf "%s\n" "$supported" >&6; }
   17987 		if test "$supported" = "yes" ; then
   17988 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17989 			found="yes"
   17990 		fi
   17991 	fi
   17992 
   17993 	if test $found = "no" ; then
   17994 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17995 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17996 		fi
   17997 
   17998 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17999 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18000 		fi
   18001 
   18002 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18003 
   18004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   18005 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   18006 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   18007 		if eval test \${$cacheid+y}
   18008 then :
   18009   printf %s "(cached) " >&6
   18010 else case e in #(
   18011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18012 /* end confdefs.h.  */
   18013 int i;
   18014 int
   18015 main (void)
   18016 {
   18017 
   18018   ;
   18019   return 0;
   18020 }
   18021 _ACEOF
   18022 if ac_fn_c_try_link "$LINENO"
   18023 then :
   18024   eval $cacheid=yes
   18025 else case e in #(
   18026   e) eval $cacheid=no ;;
   18027 esac
   18028 fi
   18029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18030     conftest$ac_exeext conftest.$ac_ext ;;
   18031 esac
   18032 fi
   18033 
   18034 
   18035 		CFLAGS="$xorg_testset_save_CFLAGS"
   18036 
   18037 		eval supported=\$$cacheid
   18038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18039 printf "%s\n" "$supported" >&6; }
   18040 		if test "$supported" = "yes" ; then
   18041 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18042 			found="yes"
   18043 		fi
   18044 	fi
   18045 
   18046 
   18047 
   18048 
   18049 
   18050 
   18051 
   18052 
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 xorg_testset_save_CFLAGS="$CFLAGS"
   18061 
   18062 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18063 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18064 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18065 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18066 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18067 then :
   18068   printf %s "(cached) " >&6
   18069 else case e in #(
   18070   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18071 /* end confdefs.h.  */
   18072 int i;
   18073 _ACEOF
   18074 if ac_fn_c_try_compile "$LINENO"
   18075 then :
   18076   xorg_cv_cc_flag_unknown_warning_option=yes
   18077 else case e in #(
   18078   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18079 esac
   18080 fi
   18081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18082 esac
   18083 fi
   18084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18085 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18086 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18087 	CFLAGS="$xorg_testset_save_CFLAGS"
   18088 fi
   18089 
   18090 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18091 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18092 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18093 	fi
   18094 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18095 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18096 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18097 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18098 then :
   18099   printf %s "(cached) " >&6
   18100 else case e in #(
   18101   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18102 /* end confdefs.h.  */
   18103 int i;
   18104 _ACEOF
   18105 if ac_fn_c_try_compile "$LINENO"
   18106 then :
   18107   xorg_cv_cc_flag_unused_command_line_argument=yes
   18108 else case e in #(
   18109   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18110 esac
   18111 fi
   18112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18113 esac
   18114 fi
   18115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18116 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18118 	CFLAGS="$xorg_testset_save_CFLAGS"
   18119 fi
   18120 
   18121 found="no"
   18122 
   18123 	if test $found = "no" ; then
   18124 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18126 		fi
   18127 
   18128 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18130 		fi
   18131 
   18132 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18133 
   18134 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18135 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18136 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18137 		if eval test \${$cacheid+y}
   18138 then :
   18139   printf %s "(cached) " >&6
   18140 else case e in #(
   18141   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18142 /* end confdefs.h.  */
   18143 int i;
   18144 int
   18145 main (void)
   18146 {
   18147 
   18148   ;
   18149   return 0;
   18150 }
   18151 _ACEOF
   18152 if ac_fn_c_try_link "$LINENO"
   18153 then :
   18154   eval $cacheid=yes
   18155 else case e in #(
   18156   e) eval $cacheid=no ;;
   18157 esac
   18158 fi
   18159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18160     conftest$ac_exeext conftest.$ac_ext ;;
   18161 esac
   18162 fi
   18163 
   18164 
   18165 		CFLAGS="$xorg_testset_save_CFLAGS"
   18166 
   18167 		eval supported=\$$cacheid
   18168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18169 printf "%s\n" "$supported" >&6; }
   18170 		if test "$supported" = "yes" ; then
   18171 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18172 			found="yes"
   18173 		fi
   18174 	fi
   18175 
   18176  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18177 else
   18178 { 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
   18179 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;}
   18180 
   18181 
   18182 
   18183 
   18184 
   18185 
   18186 
   18187 
   18188 
   18189 
   18190 
   18191 
   18192 
   18193 xorg_testset_save_CFLAGS="$CFLAGS"
   18194 
   18195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18197 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18198 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18199 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18200 then :
   18201   printf %s "(cached) " >&6
   18202 else case e in #(
   18203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18204 /* end confdefs.h.  */
   18205 int i;
   18206 _ACEOF
   18207 if ac_fn_c_try_compile "$LINENO"
   18208 then :
   18209   xorg_cv_cc_flag_unknown_warning_option=yes
   18210 else case e in #(
   18211   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18212 esac
   18213 fi
   18214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18215 esac
   18216 fi
   18217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18218 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18220 	CFLAGS="$xorg_testset_save_CFLAGS"
   18221 fi
   18222 
   18223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18226 	fi
   18227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18228 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18229 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18230 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18231 then :
   18232   printf %s "(cached) " >&6
   18233 else case e in #(
   18234   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18235 /* end confdefs.h.  */
   18236 int i;
   18237 _ACEOF
   18238 if ac_fn_c_try_compile "$LINENO"
   18239 then :
   18240   xorg_cv_cc_flag_unused_command_line_argument=yes
   18241 else case e in #(
   18242   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18243 esac
   18244 fi
   18245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18246 esac
   18247 fi
   18248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18249 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18250 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18251 	CFLAGS="$xorg_testset_save_CFLAGS"
   18252 fi
   18253 
   18254 found="no"
   18255 
   18256 	if test $found = "no" ; then
   18257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18259 		fi
   18260 
   18261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18263 		fi
   18264 
   18265 		CFLAGS="$CFLAGS -Wimplicit"
   18266 
   18267 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18268 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18269 		cacheid=xorg_cv_cc_flag__Wimplicit
   18270 		if eval test \${$cacheid+y}
   18271 then :
   18272   printf %s "(cached) " >&6
   18273 else case e in #(
   18274   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18275 /* end confdefs.h.  */
   18276 int i;
   18277 int
   18278 main (void)
   18279 {
   18280 
   18281   ;
   18282   return 0;
   18283 }
   18284 _ACEOF
   18285 if ac_fn_c_try_link "$LINENO"
   18286 then :
   18287   eval $cacheid=yes
   18288 else case e in #(
   18289   e) eval $cacheid=no ;;
   18290 esac
   18291 fi
   18292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18293     conftest$ac_exeext conftest.$ac_ext ;;
   18294 esac
   18295 fi
   18296 
   18297 
   18298 		CFLAGS="$xorg_testset_save_CFLAGS"
   18299 
   18300 		eval supported=\$$cacheid
   18301 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18302 printf "%s\n" "$supported" >&6; }
   18303 		if test "$supported" = "yes" ; then
   18304 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18305 			found="yes"
   18306 		fi
   18307 	fi
   18308 
   18309 
   18310 
   18311 
   18312 
   18313 
   18314 
   18315 
   18316 
   18317 
   18318 
   18319 
   18320 
   18321 
   18322 
   18323 xorg_testset_save_CFLAGS="$CFLAGS"
   18324 
   18325 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18326 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18327 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18328 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18329 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18330 then :
   18331   printf %s "(cached) " >&6
   18332 else case e in #(
   18333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18334 /* end confdefs.h.  */
   18335 int i;
   18336 _ACEOF
   18337 if ac_fn_c_try_compile "$LINENO"
   18338 then :
   18339   xorg_cv_cc_flag_unknown_warning_option=yes
   18340 else case e in #(
   18341   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18342 esac
   18343 fi
   18344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18345 esac
   18346 fi
   18347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18348 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18349 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18350 	CFLAGS="$xorg_testset_save_CFLAGS"
   18351 fi
   18352 
   18353 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18354 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18355 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18356 	fi
   18357 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18358 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18359 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18360 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18361 then :
   18362   printf %s "(cached) " >&6
   18363 else case e in #(
   18364   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18365 /* end confdefs.h.  */
   18366 int i;
   18367 _ACEOF
   18368 if ac_fn_c_try_compile "$LINENO"
   18369 then :
   18370   xorg_cv_cc_flag_unused_command_line_argument=yes
   18371 else case e in #(
   18372   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18373 esac
   18374 fi
   18375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18376 esac
   18377 fi
   18378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18379 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18380 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18381 	CFLAGS="$xorg_testset_save_CFLAGS"
   18382 fi
   18383 
   18384 found="no"
   18385 
   18386 	if test $found = "no" ; then
   18387 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18388 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18389 		fi
   18390 
   18391 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18392 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18393 		fi
   18394 
   18395 		CFLAGS="$CFLAGS -Wnonnull"
   18396 
   18397 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18398 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18399 		cacheid=xorg_cv_cc_flag__Wnonnull
   18400 		if eval test \${$cacheid+y}
   18401 then :
   18402   printf %s "(cached) " >&6
   18403 else case e in #(
   18404   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18405 /* end confdefs.h.  */
   18406 int i;
   18407 int
   18408 main (void)
   18409 {
   18410 
   18411   ;
   18412   return 0;
   18413 }
   18414 _ACEOF
   18415 if ac_fn_c_try_link "$LINENO"
   18416 then :
   18417   eval $cacheid=yes
   18418 else case e in #(
   18419   e) eval $cacheid=no ;;
   18420 esac
   18421 fi
   18422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18423     conftest$ac_exeext conftest.$ac_ext ;;
   18424 esac
   18425 fi
   18426 
   18427 
   18428 		CFLAGS="$xorg_testset_save_CFLAGS"
   18429 
   18430 		eval supported=\$$cacheid
   18431 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18432 printf "%s\n" "$supported" >&6; }
   18433 		if test "$supported" = "yes" ; then
   18434 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18435 			found="yes"
   18436 		fi
   18437 	fi
   18438 
   18439 
   18440 
   18441 
   18442 
   18443 
   18444 
   18445 
   18446 
   18447 
   18448 
   18449 
   18450 
   18451 
   18452 
   18453 xorg_testset_save_CFLAGS="$CFLAGS"
   18454 
   18455 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18456 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18457 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18458 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18459 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18460 then :
   18461   printf %s "(cached) " >&6
   18462 else case e in #(
   18463   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18464 /* end confdefs.h.  */
   18465 int i;
   18466 _ACEOF
   18467 if ac_fn_c_try_compile "$LINENO"
   18468 then :
   18469   xorg_cv_cc_flag_unknown_warning_option=yes
   18470 else case e in #(
   18471   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18472 esac
   18473 fi
   18474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18475 esac
   18476 fi
   18477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18478 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18479 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18480 	CFLAGS="$xorg_testset_save_CFLAGS"
   18481 fi
   18482 
   18483 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18484 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18485 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18486 	fi
   18487 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18488 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18489 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18490 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18491 then :
   18492   printf %s "(cached) " >&6
   18493 else case e in #(
   18494   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18495 /* end confdefs.h.  */
   18496 int i;
   18497 _ACEOF
   18498 if ac_fn_c_try_compile "$LINENO"
   18499 then :
   18500   xorg_cv_cc_flag_unused_command_line_argument=yes
   18501 else case e in #(
   18502   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18503 esac
   18504 fi
   18505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18506 esac
   18507 fi
   18508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18509 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18510 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18511 	CFLAGS="$xorg_testset_save_CFLAGS"
   18512 fi
   18513 
   18514 found="no"
   18515 
   18516 	if test $found = "no" ; then
   18517 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18518 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18519 		fi
   18520 
   18521 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18522 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18523 		fi
   18524 
   18525 		CFLAGS="$CFLAGS -Winit-self"
   18526 
   18527 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18528 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18529 		cacheid=xorg_cv_cc_flag__Winit_self
   18530 		if eval test \${$cacheid+y}
   18531 then :
   18532   printf %s "(cached) " >&6
   18533 else case e in #(
   18534   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18535 /* end confdefs.h.  */
   18536 int i;
   18537 int
   18538 main (void)
   18539 {
   18540 
   18541   ;
   18542   return 0;
   18543 }
   18544 _ACEOF
   18545 if ac_fn_c_try_link "$LINENO"
   18546 then :
   18547   eval $cacheid=yes
   18548 else case e in #(
   18549   e) eval $cacheid=no ;;
   18550 esac
   18551 fi
   18552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18553     conftest$ac_exeext conftest.$ac_ext ;;
   18554 esac
   18555 fi
   18556 
   18557 
   18558 		CFLAGS="$xorg_testset_save_CFLAGS"
   18559 
   18560 		eval supported=\$$cacheid
   18561 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18562 printf "%s\n" "$supported" >&6; }
   18563 		if test "$supported" = "yes" ; then
   18564 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18565 			found="yes"
   18566 		fi
   18567 	fi
   18568 
   18569 
   18570 
   18571 
   18572 
   18573 
   18574 
   18575 
   18576 
   18577 
   18578 
   18579 
   18580 
   18581 
   18582 
   18583 xorg_testset_save_CFLAGS="$CFLAGS"
   18584 
   18585 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18586 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18587 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18588 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18589 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18590 then :
   18591   printf %s "(cached) " >&6
   18592 else case e in #(
   18593   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18594 /* end confdefs.h.  */
   18595 int i;
   18596 _ACEOF
   18597 if ac_fn_c_try_compile "$LINENO"
   18598 then :
   18599   xorg_cv_cc_flag_unknown_warning_option=yes
   18600 else case e in #(
   18601   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18602 esac
   18603 fi
   18604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18605 esac
   18606 fi
   18607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18608 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18610 	CFLAGS="$xorg_testset_save_CFLAGS"
   18611 fi
   18612 
   18613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18616 	fi
   18617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18618 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18619 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18620 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18621 then :
   18622   printf %s "(cached) " >&6
   18623 else case e in #(
   18624   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18625 /* end confdefs.h.  */
   18626 int i;
   18627 _ACEOF
   18628 if ac_fn_c_try_compile "$LINENO"
   18629 then :
   18630   xorg_cv_cc_flag_unused_command_line_argument=yes
   18631 else case e in #(
   18632   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18633 esac
   18634 fi
   18635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18636 esac
   18637 fi
   18638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18639 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18640 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18641 	CFLAGS="$xorg_testset_save_CFLAGS"
   18642 fi
   18643 
   18644 found="no"
   18645 
   18646 	if test $found = "no" ; then
   18647 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18648 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18649 		fi
   18650 
   18651 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18652 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18653 		fi
   18654 
   18655 		CFLAGS="$CFLAGS -Wmain"
   18656 
   18657 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18658 printf %s "checking if $CC supports -Wmain... " >&6; }
   18659 		cacheid=xorg_cv_cc_flag__Wmain
   18660 		if eval test \${$cacheid+y}
   18661 then :
   18662   printf %s "(cached) " >&6
   18663 else case e in #(
   18664   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18665 /* end confdefs.h.  */
   18666 int i;
   18667 int
   18668 main (void)
   18669 {
   18670 
   18671   ;
   18672   return 0;
   18673 }
   18674 _ACEOF
   18675 if ac_fn_c_try_link "$LINENO"
   18676 then :
   18677   eval $cacheid=yes
   18678 else case e in #(
   18679   e) eval $cacheid=no ;;
   18680 esac
   18681 fi
   18682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18683     conftest$ac_exeext conftest.$ac_ext ;;
   18684 esac
   18685 fi
   18686 
   18687 
   18688 		CFLAGS="$xorg_testset_save_CFLAGS"
   18689 
   18690 		eval supported=\$$cacheid
   18691 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18692 printf "%s\n" "$supported" >&6; }
   18693 		if test "$supported" = "yes" ; then
   18694 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18695 			found="yes"
   18696 		fi
   18697 	fi
   18698 
   18699 
   18700 
   18701 
   18702 
   18703 
   18704 
   18705 
   18706 
   18707 
   18708 
   18709 
   18710 
   18711 
   18712 
   18713 xorg_testset_save_CFLAGS="$CFLAGS"
   18714 
   18715 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18716 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18717 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18718 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18719 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18720 then :
   18721   printf %s "(cached) " >&6
   18722 else case e in #(
   18723   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18724 /* end confdefs.h.  */
   18725 int i;
   18726 _ACEOF
   18727 if ac_fn_c_try_compile "$LINENO"
   18728 then :
   18729   xorg_cv_cc_flag_unknown_warning_option=yes
   18730 else case e in #(
   18731   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18732 esac
   18733 fi
   18734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18735 esac
   18736 fi
   18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18738 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18740 	CFLAGS="$xorg_testset_save_CFLAGS"
   18741 fi
   18742 
   18743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18746 	fi
   18747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18748 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18749 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18750 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18751 then :
   18752   printf %s "(cached) " >&6
   18753 else case e in #(
   18754   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18755 /* end confdefs.h.  */
   18756 int i;
   18757 _ACEOF
   18758 if ac_fn_c_try_compile "$LINENO"
   18759 then :
   18760   xorg_cv_cc_flag_unused_command_line_argument=yes
   18761 else case e in #(
   18762   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18763 esac
   18764 fi
   18765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18766 esac
   18767 fi
   18768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18769 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18771 	CFLAGS="$xorg_testset_save_CFLAGS"
   18772 fi
   18773 
   18774 found="no"
   18775 
   18776 	if test $found = "no" ; then
   18777 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18779 		fi
   18780 
   18781 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18783 		fi
   18784 
   18785 		CFLAGS="$CFLAGS -Wmissing-braces"
   18786 
   18787 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18788 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18789 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18790 		if eval test \${$cacheid+y}
   18791 then :
   18792   printf %s "(cached) " >&6
   18793 else case e in #(
   18794   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18795 /* end confdefs.h.  */
   18796 int i;
   18797 int
   18798 main (void)
   18799 {
   18800 
   18801   ;
   18802   return 0;
   18803 }
   18804 _ACEOF
   18805 if ac_fn_c_try_link "$LINENO"
   18806 then :
   18807   eval $cacheid=yes
   18808 else case e in #(
   18809   e) eval $cacheid=no ;;
   18810 esac
   18811 fi
   18812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18813     conftest$ac_exeext conftest.$ac_ext ;;
   18814 esac
   18815 fi
   18816 
   18817 
   18818 		CFLAGS="$xorg_testset_save_CFLAGS"
   18819 
   18820 		eval supported=\$$cacheid
   18821 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18822 printf "%s\n" "$supported" >&6; }
   18823 		if test "$supported" = "yes" ; then
   18824 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18825 			found="yes"
   18826 		fi
   18827 	fi
   18828 
   18829 
   18830 
   18831 
   18832 
   18833 
   18834 
   18835 
   18836 
   18837 
   18838 
   18839 
   18840 
   18841 
   18842 
   18843 xorg_testset_save_CFLAGS="$CFLAGS"
   18844 
   18845 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18846 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18847 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18848 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18849 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18850 then :
   18851   printf %s "(cached) " >&6
   18852 else case e in #(
   18853   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18854 /* end confdefs.h.  */
   18855 int i;
   18856 _ACEOF
   18857 if ac_fn_c_try_compile "$LINENO"
   18858 then :
   18859   xorg_cv_cc_flag_unknown_warning_option=yes
   18860 else case e in #(
   18861   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18862 esac
   18863 fi
   18864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18865 esac
   18866 fi
   18867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18868 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18869 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18870 	CFLAGS="$xorg_testset_save_CFLAGS"
   18871 fi
   18872 
   18873 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18874 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18875 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18876 	fi
   18877 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18878 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18879 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18880 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18881 then :
   18882   printf %s "(cached) " >&6
   18883 else case e in #(
   18884   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18885 /* end confdefs.h.  */
   18886 int i;
   18887 _ACEOF
   18888 if ac_fn_c_try_compile "$LINENO"
   18889 then :
   18890   xorg_cv_cc_flag_unused_command_line_argument=yes
   18891 else case e in #(
   18892   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18893 esac
   18894 fi
   18895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18896 esac
   18897 fi
   18898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18899 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18900 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18901 	CFLAGS="$xorg_testset_save_CFLAGS"
   18902 fi
   18903 
   18904 found="no"
   18905 
   18906 	if test $found = "no" ; then
   18907 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18908 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18909 		fi
   18910 
   18911 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18912 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18913 		fi
   18914 
   18915 		CFLAGS="$CFLAGS -Wsequence-point"
   18916 
   18917 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18918 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18919 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18920 		if eval test \${$cacheid+y}
   18921 then :
   18922   printf %s "(cached) " >&6
   18923 else case e in #(
   18924   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18925 /* end confdefs.h.  */
   18926 int i;
   18927 int
   18928 main (void)
   18929 {
   18930 
   18931   ;
   18932   return 0;
   18933 }
   18934 _ACEOF
   18935 if ac_fn_c_try_link "$LINENO"
   18936 then :
   18937   eval $cacheid=yes
   18938 else case e in #(
   18939   e) eval $cacheid=no ;;
   18940 esac
   18941 fi
   18942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18943     conftest$ac_exeext conftest.$ac_ext ;;
   18944 esac
   18945 fi
   18946 
   18947 
   18948 		CFLAGS="$xorg_testset_save_CFLAGS"
   18949 
   18950 		eval supported=\$$cacheid
   18951 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18952 printf "%s\n" "$supported" >&6; }
   18953 		if test "$supported" = "yes" ; then
   18954 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18955 			found="yes"
   18956 		fi
   18957 	fi
   18958 
   18959 
   18960 
   18961 
   18962 
   18963 
   18964 
   18965 
   18966 
   18967 
   18968 
   18969 
   18970 
   18971 
   18972 
   18973 xorg_testset_save_CFLAGS="$CFLAGS"
   18974 
   18975 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18976 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18977 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18978 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18979 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18980 then :
   18981   printf %s "(cached) " >&6
   18982 else case e in #(
   18983   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18984 /* end confdefs.h.  */
   18985 int i;
   18986 _ACEOF
   18987 if ac_fn_c_try_compile "$LINENO"
   18988 then :
   18989   xorg_cv_cc_flag_unknown_warning_option=yes
   18990 else case e in #(
   18991   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18992 esac
   18993 fi
   18994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18995 esac
   18996 fi
   18997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18998 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19000 	CFLAGS="$xorg_testset_save_CFLAGS"
   19001 fi
   19002 
   19003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19006 	fi
   19007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19008 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19009 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19010 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19011 then :
   19012   printf %s "(cached) " >&6
   19013 else case e in #(
   19014   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19015 /* end confdefs.h.  */
   19016 int i;
   19017 _ACEOF
   19018 if ac_fn_c_try_compile "$LINENO"
   19019 then :
   19020   xorg_cv_cc_flag_unused_command_line_argument=yes
   19021 else case e in #(
   19022   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19023 esac
   19024 fi
   19025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19026 esac
   19027 fi
   19028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19029 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19030 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19031 	CFLAGS="$xorg_testset_save_CFLAGS"
   19032 fi
   19033 
   19034 found="no"
   19035 
   19036 	if test $found = "no" ; then
   19037 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19038 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19039 		fi
   19040 
   19041 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19042 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19043 		fi
   19044 
   19045 		CFLAGS="$CFLAGS -Wreturn-type"
   19046 
   19047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   19048 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   19049 		cacheid=xorg_cv_cc_flag__Wreturn_type
   19050 		if eval test \${$cacheid+y}
   19051 then :
   19052   printf %s "(cached) " >&6
   19053 else case e in #(
   19054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19055 /* end confdefs.h.  */
   19056 int i;
   19057 int
   19058 main (void)
   19059 {
   19060 
   19061   ;
   19062   return 0;
   19063 }
   19064 _ACEOF
   19065 if ac_fn_c_try_link "$LINENO"
   19066 then :
   19067   eval $cacheid=yes
   19068 else case e in #(
   19069   e) eval $cacheid=no ;;
   19070 esac
   19071 fi
   19072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19073     conftest$ac_exeext conftest.$ac_ext ;;
   19074 esac
   19075 fi
   19076 
   19077 
   19078 		CFLAGS="$xorg_testset_save_CFLAGS"
   19079 
   19080 		eval supported=\$$cacheid
   19081 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19082 printf "%s\n" "$supported" >&6; }
   19083 		if test "$supported" = "yes" ; then
   19084 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   19085 			found="yes"
   19086 		fi
   19087 	fi
   19088 
   19089 
   19090 
   19091 
   19092 
   19093 
   19094 
   19095 
   19096 
   19097 
   19098 
   19099 
   19100 
   19101 
   19102 
   19103 xorg_testset_save_CFLAGS="$CFLAGS"
   19104 
   19105 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19106 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19107 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19108 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19109 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19110 then :
   19111   printf %s "(cached) " >&6
   19112 else case e in #(
   19113   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19114 /* end confdefs.h.  */
   19115 int i;
   19116 _ACEOF
   19117 if ac_fn_c_try_compile "$LINENO"
   19118 then :
   19119   xorg_cv_cc_flag_unknown_warning_option=yes
   19120 else case e in #(
   19121   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19122 esac
   19123 fi
   19124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19125 esac
   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 case e in #(
   19144   e) 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 case e in #(
   19152   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19153 esac
   19154 fi
   19155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19156 esac
   19157 fi
   19158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19159 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19160 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19161 	CFLAGS="$xorg_testset_save_CFLAGS"
   19162 fi
   19163 
   19164 found="no"
   19165 
   19166 	if test $found = "no" ; then
   19167 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19168 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19169 		fi
   19170 
   19171 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19172 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19173 		fi
   19174 
   19175 		CFLAGS="$CFLAGS -Wtrigraphs"
   19176 
   19177 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19178 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19179 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19180 		if eval test \${$cacheid+y}
   19181 then :
   19182   printf %s "(cached) " >&6
   19183 else case e in #(
   19184   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19185 /* end confdefs.h.  */
   19186 int i;
   19187 int
   19188 main (void)
   19189 {
   19190 
   19191   ;
   19192   return 0;
   19193 }
   19194 _ACEOF
   19195 if ac_fn_c_try_link "$LINENO"
   19196 then :
   19197   eval $cacheid=yes
   19198 else case e in #(
   19199   e) eval $cacheid=no ;;
   19200 esac
   19201 fi
   19202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19203     conftest$ac_exeext conftest.$ac_ext ;;
   19204 esac
   19205 fi
   19206 
   19207 
   19208 		CFLAGS="$xorg_testset_save_CFLAGS"
   19209 
   19210 		eval supported=\$$cacheid
   19211 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19212 printf "%s\n" "$supported" >&6; }
   19213 		if test "$supported" = "yes" ; then
   19214 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19215 			found="yes"
   19216 		fi
   19217 	fi
   19218 
   19219 
   19220 
   19221 
   19222 
   19223 
   19224 
   19225 
   19226 
   19227 
   19228 
   19229 
   19230 
   19231 
   19232 
   19233 xorg_testset_save_CFLAGS="$CFLAGS"
   19234 
   19235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19237 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19238 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19239 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19240 then :
   19241   printf %s "(cached) " >&6
   19242 else case e in #(
   19243   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19244 /* end confdefs.h.  */
   19245 int i;
   19246 _ACEOF
   19247 if ac_fn_c_try_compile "$LINENO"
   19248 then :
   19249   xorg_cv_cc_flag_unknown_warning_option=yes
   19250 else case e in #(
   19251   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19252 esac
   19253 fi
   19254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19255 esac
   19256 fi
   19257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19258 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19259 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19260 	CFLAGS="$xorg_testset_save_CFLAGS"
   19261 fi
   19262 
   19263 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19264 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19265 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19266 	fi
   19267 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19268 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19269 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19270 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19271 then :
   19272   printf %s "(cached) " >&6
   19273 else case e in #(
   19274   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19275 /* end confdefs.h.  */
   19276 int i;
   19277 _ACEOF
   19278 if ac_fn_c_try_compile "$LINENO"
   19279 then :
   19280   xorg_cv_cc_flag_unused_command_line_argument=yes
   19281 else case e in #(
   19282   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19283 esac
   19284 fi
   19285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19286 esac
   19287 fi
   19288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19289 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19291 	CFLAGS="$xorg_testset_save_CFLAGS"
   19292 fi
   19293 
   19294 found="no"
   19295 
   19296 	if test $found = "no" ; then
   19297 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19299 		fi
   19300 
   19301 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19303 		fi
   19304 
   19305 		CFLAGS="$CFLAGS -Warray-bounds"
   19306 
   19307 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19308 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19309 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19310 		if eval test \${$cacheid+y}
   19311 then :
   19312   printf %s "(cached) " >&6
   19313 else case e in #(
   19314   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19315 /* end confdefs.h.  */
   19316 int i;
   19317 int
   19318 main (void)
   19319 {
   19320 
   19321   ;
   19322   return 0;
   19323 }
   19324 _ACEOF
   19325 if ac_fn_c_try_link "$LINENO"
   19326 then :
   19327   eval $cacheid=yes
   19328 else case e in #(
   19329   e) eval $cacheid=no ;;
   19330 esac
   19331 fi
   19332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19333     conftest$ac_exeext conftest.$ac_ext ;;
   19334 esac
   19335 fi
   19336 
   19337 
   19338 		CFLAGS="$xorg_testset_save_CFLAGS"
   19339 
   19340 		eval supported=\$$cacheid
   19341 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19342 printf "%s\n" "$supported" >&6; }
   19343 		if test "$supported" = "yes" ; then
   19344 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19345 			found="yes"
   19346 		fi
   19347 	fi
   19348 
   19349 
   19350 
   19351 
   19352 
   19353 
   19354 
   19355 
   19356 
   19357 
   19358 
   19359 
   19360 
   19361 
   19362 
   19363 xorg_testset_save_CFLAGS="$CFLAGS"
   19364 
   19365 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19366 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19367 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19368 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19369 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19370 then :
   19371   printf %s "(cached) " >&6
   19372 else case e in #(
   19373   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19374 /* end confdefs.h.  */
   19375 int i;
   19376 _ACEOF
   19377 if ac_fn_c_try_compile "$LINENO"
   19378 then :
   19379   xorg_cv_cc_flag_unknown_warning_option=yes
   19380 else case e in #(
   19381   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19382 esac
   19383 fi
   19384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19385 esac
   19386 fi
   19387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19388 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19390 	CFLAGS="$xorg_testset_save_CFLAGS"
   19391 fi
   19392 
   19393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19396 	fi
   19397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19399 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19400 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19401 then :
   19402   printf %s "(cached) " >&6
   19403 else case e in #(
   19404   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19405 /* end confdefs.h.  */
   19406 int i;
   19407 _ACEOF
   19408 if ac_fn_c_try_compile "$LINENO"
   19409 then :
   19410   xorg_cv_cc_flag_unused_command_line_argument=yes
   19411 else case e in #(
   19412   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19413 esac
   19414 fi
   19415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19416 esac
   19417 fi
   19418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19419 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19420 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19421 	CFLAGS="$xorg_testset_save_CFLAGS"
   19422 fi
   19423 
   19424 found="no"
   19425 
   19426 	if test $found = "no" ; then
   19427 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19428 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19429 		fi
   19430 
   19431 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19432 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19433 		fi
   19434 
   19435 		CFLAGS="$CFLAGS -Wwrite-strings"
   19436 
   19437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19438 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19439 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19440 		if eval test \${$cacheid+y}
   19441 then :
   19442   printf %s "(cached) " >&6
   19443 else case e in #(
   19444   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19445 /* end confdefs.h.  */
   19446 int i;
   19447 int
   19448 main (void)
   19449 {
   19450 
   19451   ;
   19452   return 0;
   19453 }
   19454 _ACEOF
   19455 if ac_fn_c_try_link "$LINENO"
   19456 then :
   19457   eval $cacheid=yes
   19458 else case e in #(
   19459   e) eval $cacheid=no ;;
   19460 esac
   19461 fi
   19462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19463     conftest$ac_exeext conftest.$ac_ext ;;
   19464 esac
   19465 fi
   19466 
   19467 
   19468 		CFLAGS="$xorg_testset_save_CFLAGS"
   19469 
   19470 		eval supported=\$$cacheid
   19471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19472 printf "%s\n" "$supported" >&6; }
   19473 		if test "$supported" = "yes" ; then
   19474 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19475 			found="yes"
   19476 		fi
   19477 	fi
   19478 
   19479 
   19480 
   19481 
   19482 
   19483 
   19484 
   19485 
   19486 
   19487 
   19488 
   19489 
   19490 
   19491 
   19492 
   19493 xorg_testset_save_CFLAGS="$CFLAGS"
   19494 
   19495 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19496 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19498 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19499 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19500 then :
   19501   printf %s "(cached) " >&6
   19502 else case e in #(
   19503   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19504 /* end confdefs.h.  */
   19505 int i;
   19506 _ACEOF
   19507 if ac_fn_c_try_compile "$LINENO"
   19508 then :
   19509   xorg_cv_cc_flag_unknown_warning_option=yes
   19510 else case e in #(
   19511   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19512 esac
   19513 fi
   19514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19515 esac
   19516 fi
   19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19518 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19519 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19520 	CFLAGS="$xorg_testset_save_CFLAGS"
   19521 fi
   19522 
   19523 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19524 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19525 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19526 	fi
   19527 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19529 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19530 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19531 then :
   19532   printf %s "(cached) " >&6
   19533 else case e in #(
   19534   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19535 /* end confdefs.h.  */
   19536 int i;
   19537 _ACEOF
   19538 if ac_fn_c_try_compile "$LINENO"
   19539 then :
   19540   xorg_cv_cc_flag_unused_command_line_argument=yes
   19541 else case e in #(
   19542   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19543 esac
   19544 fi
   19545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19546 esac
   19547 fi
   19548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19549 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19550 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19551 	CFLAGS="$xorg_testset_save_CFLAGS"
   19552 fi
   19553 
   19554 found="no"
   19555 
   19556 	if test $found = "no" ; then
   19557 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19558 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19559 		fi
   19560 
   19561 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19562 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19563 		fi
   19564 
   19565 		CFLAGS="$CFLAGS -Waddress"
   19566 
   19567 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19568 printf %s "checking if $CC supports -Waddress... " >&6; }
   19569 		cacheid=xorg_cv_cc_flag__Waddress
   19570 		if eval test \${$cacheid+y}
   19571 then :
   19572   printf %s "(cached) " >&6
   19573 else case e in #(
   19574   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19575 /* end confdefs.h.  */
   19576 int i;
   19577 int
   19578 main (void)
   19579 {
   19580 
   19581   ;
   19582   return 0;
   19583 }
   19584 _ACEOF
   19585 if ac_fn_c_try_link "$LINENO"
   19586 then :
   19587   eval $cacheid=yes
   19588 else case e in #(
   19589   e) eval $cacheid=no ;;
   19590 esac
   19591 fi
   19592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19593     conftest$ac_exeext conftest.$ac_ext ;;
   19594 esac
   19595 fi
   19596 
   19597 
   19598 		CFLAGS="$xorg_testset_save_CFLAGS"
   19599 
   19600 		eval supported=\$$cacheid
   19601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19602 printf "%s\n" "$supported" >&6; }
   19603 		if test "$supported" = "yes" ; then
   19604 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19605 			found="yes"
   19606 		fi
   19607 	fi
   19608 
   19609 
   19610 
   19611 
   19612 
   19613 
   19614 
   19615 
   19616 
   19617 
   19618 
   19619 
   19620 
   19621 
   19622 
   19623 xorg_testset_save_CFLAGS="$CFLAGS"
   19624 
   19625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19628 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19629 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19630 then :
   19631   printf %s "(cached) " >&6
   19632 else case e in #(
   19633   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19634 /* end confdefs.h.  */
   19635 int i;
   19636 _ACEOF
   19637 if ac_fn_c_try_compile "$LINENO"
   19638 then :
   19639   xorg_cv_cc_flag_unknown_warning_option=yes
   19640 else case e in #(
   19641   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19642 esac
   19643 fi
   19644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19645 esac
   19646 fi
   19647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19648 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19650 	CFLAGS="$xorg_testset_save_CFLAGS"
   19651 fi
   19652 
   19653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19656 	fi
   19657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19659 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19660 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19661 then :
   19662   printf %s "(cached) " >&6
   19663 else case e in #(
   19664   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19665 /* end confdefs.h.  */
   19666 int i;
   19667 _ACEOF
   19668 if ac_fn_c_try_compile "$LINENO"
   19669 then :
   19670   xorg_cv_cc_flag_unused_command_line_argument=yes
   19671 else case e in #(
   19672   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19673 esac
   19674 fi
   19675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19676 esac
   19677 fi
   19678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19679 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19681 	CFLAGS="$xorg_testset_save_CFLAGS"
   19682 fi
   19683 
   19684 found="no"
   19685 
   19686 	if test $found = "no" ; then
   19687 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19689 		fi
   19690 
   19691 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19693 		fi
   19694 
   19695 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19696 
   19697 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19698 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19699 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19700 		if eval test \${$cacheid+y}
   19701 then :
   19702   printf %s "(cached) " >&6
   19703 else case e in #(
   19704   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19705 /* end confdefs.h.  */
   19706 int i;
   19707 int
   19708 main (void)
   19709 {
   19710 
   19711   ;
   19712   return 0;
   19713 }
   19714 _ACEOF
   19715 if ac_fn_c_try_link "$LINENO"
   19716 then :
   19717   eval $cacheid=yes
   19718 else case e in #(
   19719   e) eval $cacheid=no ;;
   19720 esac
   19721 fi
   19722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19723     conftest$ac_exeext conftest.$ac_ext ;;
   19724 esac
   19725 fi
   19726 
   19727 
   19728 		CFLAGS="$xorg_testset_save_CFLAGS"
   19729 
   19730 		eval supported=\$$cacheid
   19731 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19732 printf "%s\n" "$supported" >&6; }
   19733 		if test "$supported" = "yes" ; then
   19734 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19735 			found="yes"
   19736 		fi
   19737 	fi
   19738 
   19739 
   19740 
   19741 
   19742 
   19743 
   19744 
   19745 
   19746 
   19747 
   19748 
   19749 
   19750 
   19751 
   19752 
   19753 xorg_testset_save_CFLAGS="$CFLAGS"
   19754 
   19755 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19756 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19757 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19758 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19759 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19760 then :
   19761   printf %s "(cached) " >&6
   19762 else case e in #(
   19763   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19764 /* end confdefs.h.  */
   19765 int i;
   19766 _ACEOF
   19767 if ac_fn_c_try_compile "$LINENO"
   19768 then :
   19769   xorg_cv_cc_flag_unknown_warning_option=yes
   19770 else case e in #(
   19771   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19772 esac
   19773 fi
   19774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19775 esac
   19776 fi
   19777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19778 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19779 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19780 	CFLAGS="$xorg_testset_save_CFLAGS"
   19781 fi
   19782 
   19783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19784 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19785 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19786 	fi
   19787 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19789 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19790 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19791 then :
   19792   printf %s "(cached) " >&6
   19793 else case e in #(
   19794   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19795 /* end confdefs.h.  */
   19796 int i;
   19797 _ACEOF
   19798 if ac_fn_c_try_compile "$LINENO"
   19799 then :
   19800   xorg_cv_cc_flag_unused_command_line_argument=yes
   19801 else case e in #(
   19802   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19803 esac
   19804 fi
   19805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19806 esac
   19807 fi
   19808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19809 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19811 	CFLAGS="$xorg_testset_save_CFLAGS"
   19812 fi
   19813 
   19814 found="no"
   19815 
   19816 	if test $found = "no" ; then
   19817 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19819 		fi
   19820 
   19821 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19823 		fi
   19824 
   19825 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19826 
   19827 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19828 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19829 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19830 		if eval test \${$cacheid+y}
   19831 then :
   19832   printf %s "(cached) " >&6
   19833 else case e in #(
   19834   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19835 /* end confdefs.h.  */
   19836 int i;
   19837 int
   19838 main (void)
   19839 {
   19840 
   19841   ;
   19842   return 0;
   19843 }
   19844 _ACEOF
   19845 if ac_fn_c_try_link "$LINENO"
   19846 then :
   19847   eval $cacheid=yes
   19848 else case e in #(
   19849   e) eval $cacheid=no ;;
   19850 esac
   19851 fi
   19852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19853     conftest$ac_exeext conftest.$ac_ext ;;
   19854 esac
   19855 fi
   19856 
   19857 
   19858 		CFLAGS="$xorg_testset_save_CFLAGS"
   19859 
   19860 		eval supported=\$$cacheid
   19861 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19862 printf "%s\n" "$supported" >&6; }
   19863 		if test "$supported" = "yes" ; then
   19864 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19865 			found="yes"
   19866 		fi
   19867 	fi
   19868 
   19869 
   19870 fi
   19871 
   19872 
   19873 
   19874 
   19875 
   19876 
   19877 
   19878 		CWARNFLAGS="$BASE_CFLAGS"
   19879 		if  test "x$GCC" = xyes ; then
   19880 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19881 		fi
   19882 
   19883 
   19884 
   19885 
   19886 
   19887 
   19888 
   19889 
   19890 # Check whether --enable-strict-compilation was given.
   19891 if test ${enable_strict_compilation+y}
   19892 then :
   19893   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19894 else case e in #(
   19895   e) STRICT_COMPILE=no ;;
   19896 esac
   19897 fi
   19898 
   19899 
   19900 
   19901 
   19902 
   19903 
   19904 STRICT_CFLAGS=""
   19905 
   19906 
   19907 
   19908 
   19909 
   19910 
   19911 
   19912 
   19913 
   19914 
   19915 
   19916 
   19917 
   19918 xorg_testset_save_CFLAGS="$CFLAGS"
   19919 
   19920 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19921 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19922 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19923 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19924 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19925 then :
   19926   printf %s "(cached) " >&6
   19927 else case e in #(
   19928   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19929 /* end confdefs.h.  */
   19930 int i;
   19931 _ACEOF
   19932 if ac_fn_c_try_compile "$LINENO"
   19933 then :
   19934   xorg_cv_cc_flag_unknown_warning_option=yes
   19935 else case e in #(
   19936   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19937 esac
   19938 fi
   19939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19940 esac
   19941 fi
   19942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19943 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19944 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19945 	CFLAGS="$xorg_testset_save_CFLAGS"
   19946 fi
   19947 
   19948 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19949 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19950 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19951 	fi
   19952 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19953 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19954 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19955 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19956 then :
   19957   printf %s "(cached) " >&6
   19958 else case e in #(
   19959   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19960 /* end confdefs.h.  */
   19961 int i;
   19962 _ACEOF
   19963 if ac_fn_c_try_compile "$LINENO"
   19964 then :
   19965   xorg_cv_cc_flag_unused_command_line_argument=yes
   19966 else case e in #(
   19967   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19968 esac
   19969 fi
   19970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19971 esac
   19972 fi
   19973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19974 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19975 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19976 	CFLAGS="$xorg_testset_save_CFLAGS"
   19977 fi
   19978 
   19979 found="no"
   19980 
   19981 	if test $found = "no" ; then
   19982 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19983 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19984 		fi
   19985 
   19986 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19987 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19988 		fi
   19989 
   19990 		CFLAGS="$CFLAGS -pedantic"
   19991 
   19992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19993 printf %s "checking if $CC supports -pedantic... " >&6; }
   19994 		cacheid=xorg_cv_cc_flag__pedantic
   19995 		if eval test \${$cacheid+y}
   19996 then :
   19997   printf %s "(cached) " >&6
   19998 else case e in #(
   19999   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20000 /* end confdefs.h.  */
   20001 int i;
   20002 int
   20003 main (void)
   20004 {
   20005 
   20006   ;
   20007   return 0;
   20008 }
   20009 _ACEOF
   20010 if ac_fn_c_try_link "$LINENO"
   20011 then :
   20012   eval $cacheid=yes
   20013 else case e in #(
   20014   e) eval $cacheid=no ;;
   20015 esac
   20016 fi
   20017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20018     conftest$ac_exeext conftest.$ac_ext ;;
   20019 esac
   20020 fi
   20021 
   20022 
   20023 		CFLAGS="$xorg_testset_save_CFLAGS"
   20024 
   20025 		eval supported=\$$cacheid
   20026 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20027 printf "%s\n" "$supported" >&6; }
   20028 		if test "$supported" = "yes" ; then
   20029 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   20030 			found="yes"
   20031 		fi
   20032 	fi
   20033 
   20034 
   20035 
   20036 
   20037 
   20038 
   20039 
   20040 
   20041 
   20042 
   20043 
   20044 
   20045 
   20046 
   20047 
   20048 xorg_testset_save_CFLAGS="$CFLAGS"
   20049 
   20050 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20051 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20052 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20053 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20054 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20055 then :
   20056   printf %s "(cached) " >&6
   20057 else case e in #(
   20058   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20059 /* end confdefs.h.  */
   20060 int i;
   20061 _ACEOF
   20062 if ac_fn_c_try_compile "$LINENO"
   20063 then :
   20064   xorg_cv_cc_flag_unknown_warning_option=yes
   20065 else case e in #(
   20066   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20067 esac
   20068 fi
   20069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20070 esac
   20071 fi
   20072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20073 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20074 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20075 	CFLAGS="$xorg_testset_save_CFLAGS"
   20076 fi
   20077 
   20078 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20079 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20080 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20081 	fi
   20082 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20083 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20084 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20085 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20086 then :
   20087   printf %s "(cached) " >&6
   20088 else case e in #(
   20089   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20090 /* end confdefs.h.  */
   20091 int i;
   20092 _ACEOF
   20093 if ac_fn_c_try_compile "$LINENO"
   20094 then :
   20095   xorg_cv_cc_flag_unused_command_line_argument=yes
   20096 else case e in #(
   20097   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20098 esac
   20099 fi
   20100 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20101 esac
   20102 fi
   20103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20104 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20105 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20106 	CFLAGS="$xorg_testset_save_CFLAGS"
   20107 fi
   20108 
   20109 found="no"
   20110 
   20111 	if test $found = "no" ; then
   20112 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20113 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20114 		fi
   20115 
   20116 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20117 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20118 		fi
   20119 
   20120 		CFLAGS="$CFLAGS -Werror"
   20121 
   20122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20123 printf %s "checking if $CC supports -Werror... " >&6; }
   20124 		cacheid=xorg_cv_cc_flag__Werror
   20125 		if eval test \${$cacheid+y}
   20126 then :
   20127   printf %s "(cached) " >&6
   20128 else case e in #(
   20129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20130 /* end confdefs.h.  */
   20131 int i;
   20132 int
   20133 main (void)
   20134 {
   20135 
   20136   ;
   20137   return 0;
   20138 }
   20139 _ACEOF
   20140 if ac_fn_c_try_link "$LINENO"
   20141 then :
   20142   eval $cacheid=yes
   20143 else case e in #(
   20144   e) eval $cacheid=no ;;
   20145 esac
   20146 fi
   20147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20148     conftest$ac_exeext conftest.$ac_ext ;;
   20149 esac
   20150 fi
   20151 
   20152 
   20153 		CFLAGS="$xorg_testset_save_CFLAGS"
   20154 
   20155 		eval supported=\$$cacheid
   20156 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20157 printf "%s\n" "$supported" >&6; }
   20158 		if test "$supported" = "yes" ; then
   20159 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20160 			found="yes"
   20161 		fi
   20162 	fi
   20163 
   20164 	if test $found = "no" ; then
   20165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20167 		fi
   20168 
   20169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20171 		fi
   20172 
   20173 		CFLAGS="$CFLAGS -errwarn"
   20174 
   20175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20176 printf %s "checking if $CC supports -errwarn... " >&6; }
   20177 		cacheid=xorg_cv_cc_flag__errwarn
   20178 		if eval test \${$cacheid+y}
   20179 then :
   20180   printf %s "(cached) " >&6
   20181 else case e in #(
   20182   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20183 /* end confdefs.h.  */
   20184 int i;
   20185 int
   20186 main (void)
   20187 {
   20188 
   20189   ;
   20190   return 0;
   20191 }
   20192 _ACEOF
   20193 if ac_fn_c_try_link "$LINENO"
   20194 then :
   20195   eval $cacheid=yes
   20196 else case e in #(
   20197   e) eval $cacheid=no ;;
   20198 esac
   20199 fi
   20200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20201     conftest$ac_exeext conftest.$ac_ext ;;
   20202 esac
   20203 fi
   20204 
   20205 
   20206 		CFLAGS="$xorg_testset_save_CFLAGS"
   20207 
   20208 		eval supported=\$$cacheid
   20209 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20210 printf "%s\n" "$supported" >&6; }
   20211 		if test "$supported" = "yes" ; then
   20212 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20213 			found="yes"
   20214 		fi
   20215 	fi
   20216 
   20217 
   20218 
   20219 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20220 # activate it with -Werror, so we add it here explicitly.
   20221 
   20222 
   20223 
   20224 
   20225 
   20226 
   20227 
   20228 
   20229 
   20230 
   20231 
   20232 
   20233 
   20234 xorg_testset_save_CFLAGS="$CFLAGS"
   20235 
   20236 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20237 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20238 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20239 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20240 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20241 then :
   20242   printf %s "(cached) " >&6
   20243 else case e in #(
   20244   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20245 /* end confdefs.h.  */
   20246 int i;
   20247 _ACEOF
   20248 if ac_fn_c_try_compile "$LINENO"
   20249 then :
   20250   xorg_cv_cc_flag_unknown_warning_option=yes
   20251 else case e in #(
   20252   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20253 esac
   20254 fi
   20255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20256 esac
   20257 fi
   20258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20259 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20260 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20261 	CFLAGS="$xorg_testset_save_CFLAGS"
   20262 fi
   20263 
   20264 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20265 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20266 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20267 	fi
   20268 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20269 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20270 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20271 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20272 then :
   20273   printf %s "(cached) " >&6
   20274 else case e in #(
   20275   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20276 /* end confdefs.h.  */
   20277 int i;
   20278 _ACEOF
   20279 if ac_fn_c_try_compile "$LINENO"
   20280 then :
   20281   xorg_cv_cc_flag_unused_command_line_argument=yes
   20282 else case e in #(
   20283   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20284 esac
   20285 fi
   20286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20287 esac
   20288 fi
   20289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20290 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20292 	CFLAGS="$xorg_testset_save_CFLAGS"
   20293 fi
   20294 
   20295 found="no"
   20296 
   20297 	if test $found = "no" ; then
   20298 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20300 		fi
   20301 
   20302 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20304 		fi
   20305 
   20306 		CFLAGS="$CFLAGS -Werror=attributes"
   20307 
   20308 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20309 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20310 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20311 		if eval test \${$cacheid+y}
   20312 then :
   20313   printf %s "(cached) " >&6
   20314 else case e in #(
   20315   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20316 /* end confdefs.h.  */
   20317 int i;
   20318 int
   20319 main (void)
   20320 {
   20321 
   20322   ;
   20323   return 0;
   20324 }
   20325 _ACEOF
   20326 if ac_fn_c_try_link "$LINENO"
   20327 then :
   20328   eval $cacheid=yes
   20329 else case e in #(
   20330   e) eval $cacheid=no ;;
   20331 esac
   20332 fi
   20333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20334     conftest$ac_exeext conftest.$ac_ext ;;
   20335 esac
   20336 fi
   20337 
   20338 
   20339 		CFLAGS="$xorg_testset_save_CFLAGS"
   20340 
   20341 		eval supported=\$$cacheid
   20342 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20343 printf "%s\n" "$supported" >&6; }
   20344 		if test "$supported" = "yes" ; then
   20345 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20346 			found="yes"
   20347 		fi
   20348 	fi
   20349 
   20350 
   20351 
   20352 if test "x$STRICT_COMPILE" = "xyes"; then
   20353     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20354     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20355 fi
   20356 
   20357 
   20358 
   20359 
   20360 
   20361 
   20362 
   20363 
   20364 cat >>confdefs.h <<_ACEOF
   20365 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20366 _ACEOF
   20367 
   20368 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20369 	if test "x$PVM" = "x"; then
   20370 		PVM="0"
   20371 	fi
   20372 
   20373 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20374 
   20375 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20376 	if test "x$PVP" = "x"; then
   20377 		PVP="0"
   20378 	fi
   20379 
   20380 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20381 
   20382 
   20383 
   20384 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20385 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20386 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20387 touch \$(top_srcdir)/ChangeLog; \
   20388 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20389 
   20390 
   20391 
   20392 
   20393 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20394 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20395 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20396 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20397 touch \$(top_srcdir)/INSTALL; \
   20398 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20399 
   20400 
   20401 
   20402 
   20403 
   20404 
   20405 case $host_os in
   20406     solaris*)
   20407         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20408         # check for a man page file found in later versions that use
   20409         # traditional section numbers instead
   20410         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20411 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20412 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20413 then :
   20414   printf %s "(cached) " >&6
   20415 else case e in #(
   20416   e) test "$cross_compiling" = yes &&
   20417   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20418 if test -r "/usr/share/man/man7/attributes.7"; then
   20419   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20420 else
   20421   ac_cv_file__usr_share_man_man7_attributes_7=no
   20422 fi ;;
   20423 esac
   20424 fi
   20425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20426 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20427 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20428 then :
   20429   SYSV_MAN_SECTIONS=false
   20430 else case e in #(
   20431   e) SYSV_MAN_SECTIONS=true ;;
   20432 esac
   20433 fi
   20434 
   20435         ;;
   20436     *) SYSV_MAN_SECTIONS=false ;;
   20437 esac
   20438 
   20439 if test x$APP_MAN_SUFFIX = x    ; then
   20440     APP_MAN_SUFFIX=1
   20441 fi
   20442 if test x$APP_MAN_DIR = x    ; then
   20443     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20444 fi
   20445 
   20446 if test x$LIB_MAN_SUFFIX = x    ; then
   20447     LIB_MAN_SUFFIX=3
   20448 fi
   20449 if test x$LIB_MAN_DIR = x    ; then
   20450     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20451 fi
   20452 
   20453 if test x$FILE_MAN_SUFFIX = x    ; then
   20454     case $SYSV_MAN_SECTIONS in
   20455 	true)				FILE_MAN_SUFFIX=4  ;;
   20456 	*)				FILE_MAN_SUFFIX=5  ;;
   20457     esac
   20458 fi
   20459 if test x$FILE_MAN_DIR = x    ; then
   20460     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20461 fi
   20462 
   20463 if test x$MISC_MAN_SUFFIX = x    ; then
   20464     case $SYSV_MAN_SECTIONS in
   20465 	true)				MISC_MAN_SUFFIX=5  ;;
   20466 	*)				MISC_MAN_SUFFIX=7  ;;
   20467     esac
   20468 fi
   20469 if test x$MISC_MAN_DIR = x    ; then
   20470     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20471 fi
   20472 
   20473 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20474     case $SYSV_MAN_SECTIONS in
   20475 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20476 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20477     esac
   20478 fi
   20479 if test x$DRIVER_MAN_DIR = x    ; then
   20480     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20481 fi
   20482 
   20483 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20484     case $SYSV_MAN_SECTIONS in
   20485 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20486 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20487     esac
   20488 fi
   20489 if test x$ADMIN_MAN_DIR = x    ; then
   20490     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20491 fi
   20492 
   20493 
   20494 
   20495 
   20496 
   20497 
   20498 
   20499 
   20500 
   20501 
   20502 
   20503 
   20504 
   20505 
   20506 
   20507 XORG_MAN_PAGE="X Version 11"
   20508 
   20509 MAN_SUBSTS="\
   20510 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20511 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20512 	-e 's|__xservername__|Xorg|g' \
   20513 	-e 's|__xconfigfile__|xorg.conf|g' \
   20514 	-e 's|__projectroot__|\$(prefix)|g' \
   20515 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20516 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20517 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20518 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20519 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20520 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20521 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20522 
   20523 
   20524 
   20525 
   20526 AM_DEFAULT_VERBOSITY=0
   20527 
   20528 
   20529 
   20530 
   20531 # Check whether --enable-docs was given.
   20532 if test ${enable_docs+y}
   20533 then :
   20534   enableval=$enable_docs; build_docs=$enableval
   20535 else case e in #(
   20536   e) build_docs=yes ;;
   20537 esac
   20538 fi
   20539 
   20540 
   20541  if test x$build_docs = xyes; then
   20542   ENABLE_DOCS_TRUE=
   20543   ENABLE_DOCS_FALSE='#'
   20544 else
   20545   ENABLE_DOCS_TRUE='#'
   20546   ENABLE_DOCS_FALSE=
   20547 fi
   20548 
   20549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   20550 printf %s "checking whether to build documentation... " >&6; }
   20551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   20552 printf "%s\n" "$build_docs" >&6; }
   20553 
   20554 
   20555 
   20556 
   20557 
   20558 # Check whether --with-xmlto was given.
   20559 if test ${with_xmlto+y}
   20560 then :
   20561   withval=$with_xmlto; use_xmlto=$withval
   20562 else case e in #(
   20563   e) use_xmlto=auto ;;
   20564 esac
   20565 fi
   20566 
   20567 
   20568 
   20569 if test "x$use_xmlto" = x"auto"; then
   20570    # Extract the first word of "xmlto", so it can be a program name with args.
   20571 set dummy xmlto; ac_word=$2
   20572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20573 printf %s "checking for $ac_word... " >&6; }
   20574 if test ${ac_cv_path_XMLTO+y}
   20575 then :
   20576   printf %s "(cached) " >&6
   20577 else case e in #(
   20578   e) case $XMLTO in
   20579   [\\/]* | ?:[\\/]*)
   20580   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20581   ;;
   20582   *)
   20583   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20584 for as_dir in $PATH
   20585 do
   20586   IFS=$as_save_IFS
   20587   case $as_dir in #(((
   20588     '') as_dir=./ ;;
   20589     */) ;;
   20590     *) as_dir=$as_dir/ ;;
   20591   esac
   20592     for ac_exec_ext in '' $ac_executable_extensions; do
   20593   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20594     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20595     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20596     break 2
   20597   fi
   20598 done
   20599   done
   20600 IFS=$as_save_IFS
   20601 
   20602   ;;
   20603 esac ;;
   20604 esac
   20605 fi
   20606 XMLTO=$ac_cv_path_XMLTO
   20607 if test -n "$XMLTO"; then
   20608   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20609 printf "%s\n" "$XMLTO" >&6; }
   20610 else
   20611   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20612 printf "%s\n" "no" >&6; }
   20613 fi
   20614 
   20615 
   20616    if test "x$XMLTO" = "x"; then
   20617         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   20618 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   20619 	have_xmlto=no
   20620    else
   20621         have_xmlto=yes
   20622    fi
   20623 elif test "x$use_xmlto" = x"yes" ; then
   20624    # Extract the first word of "xmlto", so it can be a program name with args.
   20625 set dummy xmlto; ac_word=$2
   20626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20627 printf %s "checking for $ac_word... " >&6; }
   20628 if test ${ac_cv_path_XMLTO+y}
   20629 then :
   20630   printf %s "(cached) " >&6
   20631 else case e in #(
   20632   e) case $XMLTO in
   20633   [\\/]* | ?:[\\/]*)
   20634   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20635   ;;
   20636   *)
   20637   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20638 for as_dir in $PATH
   20639 do
   20640   IFS=$as_save_IFS
   20641   case $as_dir in #(((
   20642     '') as_dir=./ ;;
   20643     */) ;;
   20644     *) as_dir=$as_dir/ ;;
   20645   esac
   20646     for ac_exec_ext in '' $ac_executable_extensions; do
   20647   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20648     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20649     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20650     break 2
   20651   fi
   20652 done
   20653   done
   20654 IFS=$as_save_IFS
   20655 
   20656   ;;
   20657 esac ;;
   20658 esac
   20659 fi
   20660 XMLTO=$ac_cv_path_XMLTO
   20661 if test -n "$XMLTO"; then
   20662   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20663 printf "%s\n" "$XMLTO" >&6; }
   20664 else
   20665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20666 printf "%s\n" "no" >&6; }
   20667 fi
   20668 
   20669 
   20670    if test "x$XMLTO" = "x"; then
   20671         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   20672    fi
   20673    have_xmlto=yes
   20674 elif test "x$use_xmlto" = x"no" ; then
   20675    if test "x$XMLTO" != "x"; then
   20676       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   20677 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   20678    fi
   20679    have_xmlto=no
   20680 else
   20681    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   20682 fi
   20683 
   20684 # Test for a minimum version of xmlto, if provided.
   20685 if test "$have_xmlto" = yes; then
   20686     # scrape the xmlto version
   20687     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   20688 printf %s "checking the xmlto version... " >&6; }
   20689     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   20690     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   20691 printf "%s\n" "$xmlto_version" >&6; }
   20692     as_arg_v1=$xmlto_version
   20693 as_arg_v2=0.0.22
   20694 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   20695 case $? in #(
   20696   1) :
   20697     if test "x$use_xmlto" = xauto; then
   20698             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   20699 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   20700             have_xmlto=no
   20701         else
   20702             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   20703         fi ;; #(
   20704   0) :
   20705      ;; #(
   20706   2) :
   20707      ;; #(
   20708   *) :
   20709      ;;
   20710 esac
   20711 fi
   20712 
   20713 # Test for the ability of xmlto to generate a text target
   20714 #
   20715 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   20716 # following test for empty XML docbook files.
   20717 # For compatibility reasons use the following empty XML docbook file and if
   20718 # it fails try it again with a non-empty XML file.
   20719 have_xmlto_text=no
   20720 cat > conftest.xml << "EOF"
   20721 EOF
   20722 if test "$have_xmlto" = yes
   20723 then :
   20724   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20725 then :
   20726   have_xmlto_text=yes
   20727 else case e in #(
   20728   e) # Try it again with a non-empty XML file.
   20729               cat > conftest.xml << "EOF"
   20730 <x></x>
   20731 EOF
   20732               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20733 then :
   20734   have_xmlto_text=yes
   20735 else case e in #(
   20736   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   20737 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;} ;;
   20738 esac
   20739 fi ;;
   20740 esac
   20741 fi
   20742 fi
   20743 rm -f conftest.xml
   20744  if test $have_xmlto_text = yes; then
   20745   HAVE_XMLTO_TEXT_TRUE=
   20746   HAVE_XMLTO_TEXT_FALSE='#'
   20747 else
   20748   HAVE_XMLTO_TEXT_TRUE='#'
   20749   HAVE_XMLTO_TEXT_FALSE=
   20750 fi
   20751 
   20752  if test "$have_xmlto" = yes; then
   20753   HAVE_XMLTO_TRUE=
   20754   HAVE_XMLTO_FALSE='#'
   20755 else
   20756   HAVE_XMLTO_TRUE='#'
   20757   HAVE_XMLTO_FALSE=
   20758 fi
   20759 
   20760 
   20761 
   20762 
   20763 
   20764 
   20765 # Check whether --with-fop was given.
   20766 if test ${with_fop+y}
   20767 then :
   20768   withval=$with_fop; use_fop=$withval
   20769 else case e in #(
   20770   e) use_fop=auto ;;
   20771 esac
   20772 fi
   20773 
   20774 
   20775 
   20776 if test "x$use_fop" = x"auto"; then
   20777    # Extract the first word of "fop", so it can be a program name with args.
   20778 set dummy fop; ac_word=$2
   20779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20780 printf %s "checking for $ac_word... " >&6; }
   20781 if test ${ac_cv_path_FOP+y}
   20782 then :
   20783   printf %s "(cached) " >&6
   20784 else case e in #(
   20785   e) case $FOP in
   20786   [\\/]* | ?:[\\/]*)
   20787   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20788   ;;
   20789   *)
   20790   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20791 for as_dir in $PATH
   20792 do
   20793   IFS=$as_save_IFS
   20794   case $as_dir in #(((
   20795     '') as_dir=./ ;;
   20796     */) ;;
   20797     *) as_dir=$as_dir/ ;;
   20798   esac
   20799     for ac_exec_ext in '' $ac_executable_extensions; do
   20800   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20801     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20802     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20803     break 2
   20804   fi
   20805 done
   20806   done
   20807 IFS=$as_save_IFS
   20808 
   20809   ;;
   20810 esac ;;
   20811 esac
   20812 fi
   20813 FOP=$ac_cv_path_FOP
   20814 if test -n "$FOP"; then
   20815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20816 printf "%s\n" "$FOP" >&6; }
   20817 else
   20818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20819 printf "%s\n" "no" >&6; }
   20820 fi
   20821 
   20822 
   20823    if test "x$FOP" = "x"; then
   20824         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   20825 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   20826 	have_fop=no
   20827    else
   20828         have_fop=yes
   20829    fi
   20830 elif test "x$use_fop" = x"yes" ; then
   20831    # Extract the first word of "fop", so it can be a program name with args.
   20832 set dummy fop; ac_word=$2
   20833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20834 printf %s "checking for $ac_word... " >&6; }
   20835 if test ${ac_cv_path_FOP+y}
   20836 then :
   20837   printf %s "(cached) " >&6
   20838 else case e in #(
   20839   e) case $FOP in
   20840   [\\/]* | ?:[\\/]*)
   20841   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20842   ;;
   20843   *)
   20844   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20845 for as_dir in $PATH
   20846 do
   20847   IFS=$as_save_IFS
   20848   case $as_dir in #(((
   20849     '') as_dir=./ ;;
   20850     */) ;;
   20851     *) as_dir=$as_dir/ ;;
   20852   esac
   20853     for ac_exec_ext in '' $ac_executable_extensions; do
   20854   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20855     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20856     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20857     break 2
   20858   fi
   20859 done
   20860   done
   20861 IFS=$as_save_IFS
   20862 
   20863   ;;
   20864 esac ;;
   20865 esac
   20866 fi
   20867 FOP=$ac_cv_path_FOP
   20868 if test -n "$FOP"; then
   20869   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20870 printf "%s\n" "$FOP" >&6; }
   20871 else
   20872   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20873 printf "%s\n" "no" >&6; }
   20874 fi
   20875 
   20876 
   20877    if test "x$FOP" = "x"; then
   20878         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   20879    fi
   20880    have_fop=yes
   20881 elif test "x$use_fop" = x"no" ; then
   20882    if test "x$FOP" != "x"; then
   20883       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   20884 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   20885    fi
   20886    have_fop=no
   20887 else
   20888    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   20889 fi
   20890 
   20891 # Test for a minimum version of fop, if provided.
   20892 
   20893  if test "$have_fop" = yes; then
   20894   HAVE_FOP_TRUE=
   20895   HAVE_FOP_FALSE='#'
   20896 else
   20897   HAVE_FOP_TRUE='#'
   20898   HAVE_FOP_FALSE=
   20899 fi
   20900 
   20901 
   20902 
   20903 
   20904 # Preserves the interface, should it be implemented later
   20905 
   20906 
   20907 
   20908 # Check whether --with-xsltproc was given.
   20909 if test ${with_xsltproc+y}
   20910 then :
   20911   withval=$with_xsltproc; use_xsltproc=$withval
   20912 else case e in #(
   20913   e) use_xsltproc=auto ;;
   20914 esac
   20915 fi
   20916 
   20917 
   20918 
   20919 if test "x$use_xsltproc" = x"auto"; then
   20920    # Extract the first word of "xsltproc", so it can be a program name with args.
   20921 set dummy xsltproc; ac_word=$2
   20922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20923 printf %s "checking for $ac_word... " >&6; }
   20924 if test ${ac_cv_path_XSLTPROC+y}
   20925 then :
   20926   printf %s "(cached) " >&6
   20927 else case e in #(
   20928   e) case $XSLTPROC in
   20929   [\\/]* | ?:[\\/]*)
   20930   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20931   ;;
   20932   *)
   20933   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20934 for as_dir in $PATH
   20935 do
   20936   IFS=$as_save_IFS
   20937   case $as_dir in #(((
   20938     '') as_dir=./ ;;
   20939     */) ;;
   20940     *) as_dir=$as_dir/ ;;
   20941   esac
   20942     for ac_exec_ext in '' $ac_executable_extensions; do
   20943   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20944     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20945     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20946     break 2
   20947   fi
   20948 done
   20949   done
   20950 IFS=$as_save_IFS
   20951 
   20952   ;;
   20953 esac ;;
   20954 esac
   20955 fi
   20956 XSLTPROC=$ac_cv_path_XSLTPROC
   20957 if test -n "$XSLTPROC"; then
   20958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20959 printf "%s\n" "$XSLTPROC" >&6; }
   20960 else
   20961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20962 printf "%s\n" "no" >&6; }
   20963 fi
   20964 
   20965 
   20966    if test "x$XSLTPROC" = "x"; then
   20967         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   20968 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   20969 	have_xsltproc=no
   20970    else
   20971         have_xsltproc=yes
   20972    fi
   20973 elif test "x$use_xsltproc" = x"yes" ; then
   20974    # Extract the first word of "xsltproc", so it can be a program name with args.
   20975 set dummy xsltproc; ac_word=$2
   20976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20977 printf %s "checking for $ac_word... " >&6; }
   20978 if test ${ac_cv_path_XSLTPROC+y}
   20979 then :
   20980   printf %s "(cached) " >&6
   20981 else case e in #(
   20982   e) case $XSLTPROC in
   20983   [\\/]* | ?:[\\/]*)
   20984   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20985   ;;
   20986   *)
   20987   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20988 for as_dir in $PATH
   20989 do
   20990   IFS=$as_save_IFS
   20991   case $as_dir in #(((
   20992     '') as_dir=./ ;;
   20993     */) ;;
   20994     *) as_dir=$as_dir/ ;;
   20995   esac
   20996     for ac_exec_ext in '' $ac_executable_extensions; do
   20997   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20998     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20999     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21000     break 2
   21001   fi
   21002 done
   21003   done
   21004 IFS=$as_save_IFS
   21005 
   21006   ;;
   21007 esac ;;
   21008 esac
   21009 fi
   21010 XSLTPROC=$ac_cv_path_XSLTPROC
   21011 if test -n "$XSLTPROC"; then
   21012   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   21013 printf "%s\n" "$XSLTPROC" >&6; }
   21014 else
   21015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21016 printf "%s\n" "no" >&6; }
   21017 fi
   21018 
   21019 
   21020    if test "x$XSLTPROC" = "x"; then
   21021         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   21022    fi
   21023    have_xsltproc=yes
   21024 elif test "x$use_xsltproc" = x"no" ; then
   21025    if test "x$XSLTPROC" != "x"; then
   21026       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   21027 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   21028    fi
   21029    have_xsltproc=no
   21030 else
   21031    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   21032 fi
   21033 
   21034  if test "$have_xsltproc" = yes; then
   21035   HAVE_XSLTPROC_TRUE=
   21036   HAVE_XSLTPROC_FALSE='#'
   21037 else
   21038   HAVE_XSLTPROC_TRUE='#'
   21039   HAVE_XSLTPROC_FALSE=
   21040 fi
   21041 
   21042 
   21043 
   21044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   21045 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   21046 XORG_SGML_PATH=
   21047 if test -n "$PKG_CONFIG" && \
   21048     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   21049   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   21050   ac_status=$?
   21051   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21052   test $ac_status = 0; }; then
   21053   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   21054 else
   21055   :
   21056 
   21057 fi
   21058 
   21059 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   21060 # the path and the name of the doc stylesheet
   21061 if test "x$XORG_SGML_PATH" != "x" ; then
   21062    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   21063 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   21064    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   21065    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   21066 else
   21067    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21068 printf "%s\n" "no" >&6; }
   21069 fi
   21070 
   21071 
   21072 
   21073 
   21074  if test "x$XSL_STYLESHEET" != "x"; then
   21075   HAVE_STYLESHEETS_TRUE=
   21076   HAVE_STYLESHEETS_FALSE='#'
   21077 else
   21078   HAVE_STYLESHEETS_TRUE='#'
   21079   HAVE_STYLESHEETS_FALSE=
   21080 fi
   21081 
   21082 
   21083 
   21084 # Check for UUID support
   21085 
   21086 # Check whether --with-libuuid was given.
   21087 if test ${with_libuuid+y}
   21088 then :
   21089   withval=$with_libuuid;
   21090 fi
   21091 
   21092 
   21093 
   21094 
   21095 
   21096 
   21097 
   21098 
   21099 
   21100 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21101 	if test -n "$ac_tool_prefix"; then
   21102   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21103 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21105 printf %s "checking for $ac_word... " >&6; }
   21106 if test ${ac_cv_path_PKG_CONFIG+y}
   21107 then :
   21108   printf %s "(cached) " >&6
   21109 else case e in #(
   21110   e) case $PKG_CONFIG in
   21111   [\\/]* | ?:[\\/]*)
   21112   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21113   ;;
   21114   *)
   21115   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21116 for as_dir in $PATH
   21117 do
   21118   IFS=$as_save_IFS
   21119   case $as_dir in #(((
   21120     '') as_dir=./ ;;
   21121     */) ;;
   21122     *) as_dir=$as_dir/ ;;
   21123   esac
   21124     for ac_exec_ext in '' $ac_executable_extensions; do
   21125   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21126     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21127     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21128     break 2
   21129   fi
   21130 done
   21131   done
   21132 IFS=$as_save_IFS
   21133 
   21134   ;;
   21135 esac ;;
   21136 esac
   21137 fi
   21138 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21139 if test -n "$PKG_CONFIG"; then
   21140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   21141 printf "%s\n" "$PKG_CONFIG" >&6; }
   21142 else
   21143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21144 printf "%s\n" "no" >&6; }
   21145 fi
   21146 
   21147 
   21148 fi
   21149 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21150   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21151   # Extract the first word of "pkg-config", so it can be a program name with args.
   21152 set dummy pkg-config; ac_word=$2
   21153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21154 printf %s "checking for $ac_word... " >&6; }
   21155 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   21156 then :
   21157   printf %s "(cached) " >&6
   21158 else case e in #(
   21159   e) case $ac_pt_PKG_CONFIG in
   21160   [\\/]* | ?:[\\/]*)
   21161   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21162   ;;
   21163   *)
   21164   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21165 for as_dir in $PATH
   21166 do
   21167   IFS=$as_save_IFS
   21168   case $as_dir in #(((
   21169     '') as_dir=./ ;;
   21170     */) ;;
   21171     *) as_dir=$as_dir/ ;;
   21172   esac
   21173     for ac_exec_ext in '' $ac_executable_extensions; do
   21174   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21175     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21176     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21177     break 2
   21178   fi
   21179 done
   21180   done
   21181 IFS=$as_save_IFS
   21182 
   21183   ;;
   21184 esac ;;
   21185 esac
   21186 fi
   21187 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21188 if test -n "$ac_pt_PKG_CONFIG"; then
   21189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   21190 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   21191 else
   21192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21193 printf "%s\n" "no" >&6; }
   21194 fi
   21195 
   21196   if test "x$ac_pt_PKG_CONFIG" = x; then
   21197     PKG_CONFIG=""
   21198   else
   21199     case $cross_compiling:$ac_tool_warned in
   21200 yes:)
   21201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21202 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21203 ac_tool_warned=yes ;;
   21204 esac
   21205     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21206   fi
   21207 else
   21208   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21209 fi
   21210 
   21211 fi
   21212 if test -n "$PKG_CONFIG"; then
   21213 	_pkg_min_version=0.9.0
   21214 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   21215 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21216 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21217 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21218 printf "%s\n" "yes" >&6; }
   21219 	else
   21220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21221 printf "%s\n" "no" >&6; }
   21222 		PKG_CONFIG=""
   21223 	fi
   21224 fi
   21225 
   21226   for ac_func in uuid_create
   21227 do :
   21228   ac_fn_c_check_func "$LINENO" "uuid_create" "ac_cv_func_uuid_create"
   21229 if test "x$ac_cv_func_uuid_create" = xyes
   21230 then :
   21231   printf "%s\n" "#define HAVE_UUID_CREATE 1" >>confdefs.h
   21232 
   21233 else case e in #(
   21234   e)
   21235     if test x"$with_libuuid" != xno && test x"$have_system_uuid" != xyes; then
   21236 
   21237 pkg_failed=no
   21238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBUUID" >&5
   21239 printf %s "checking for LIBUUID... " >&6; }
   21240 
   21241 if test -n "$LIBUUID_CFLAGS"; then
   21242     pkg_cv_LIBUUID_CFLAGS="$LIBUUID_CFLAGS"
   21243  elif test -n "$PKG_CONFIG"; then
   21244     if test -n "$PKG_CONFIG" && \
   21245     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
   21246   ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
   21247   ac_status=$?
   21248   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21249   test $ac_status = 0; }; then
   21250   pkg_cv_LIBUUID_CFLAGS=`$PKG_CONFIG --cflags "uuid" 2>/dev/null`
   21251 		      test "x$?" != "x0" && pkg_failed=yes
   21252 else
   21253   pkg_failed=yes
   21254 fi
   21255  else
   21256     pkg_failed=untried
   21257 fi
   21258 if test -n "$LIBUUID_LIBS"; then
   21259     pkg_cv_LIBUUID_LIBS="$LIBUUID_LIBS"
   21260  elif test -n "$PKG_CONFIG"; then
   21261     if test -n "$PKG_CONFIG" && \
   21262     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
   21263   ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
   21264   ac_status=$?
   21265   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21266   test $ac_status = 0; }; then
   21267   pkg_cv_LIBUUID_LIBS=`$PKG_CONFIG --libs "uuid" 2>/dev/null`
   21268 		      test "x$?" != "x0" && pkg_failed=yes
   21269 else
   21270   pkg_failed=yes
   21271 fi
   21272  else
   21273     pkg_failed=untried
   21274 fi
   21275 
   21276 
   21277 
   21278 if test $pkg_failed = yes; then
   21279    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21280 printf "%s\n" "no" >&6; }
   21281 
   21282 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21283         _pkg_short_errors_supported=yes
   21284 else
   21285         _pkg_short_errors_supported=no
   21286 fi
   21287         if test $_pkg_short_errors_supported = yes; then
   21288 	        LIBUUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid" 2>&1`
   21289         else
   21290 	        LIBUUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid" 2>&1`
   21291         fi
   21292 	# Put the nasty error message in config.log where it belongs
   21293 	echo "$LIBUUID_PKG_ERRORS" >&5
   21294 
   21295 	HAVE_LIBUUID=no
   21296 elif test $pkg_failed = untried; then
   21297      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21298 printf "%s\n" "no" >&6; }
   21299 	HAVE_LIBUUID=no
   21300 else
   21301 	LIBUUID_CFLAGS=$pkg_cv_LIBUUID_CFLAGS
   21302 	LIBUUID_LIBS=$pkg_cv_LIBUUID_LIBS
   21303         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21304 printf "%s\n" "yes" >&6; }
   21305 	HAVE_LIBUUID=yes
   21306 fi
   21307     fi
   21308     if test x"$with_libuuid" = xyes && test x"$HAVE_LIBUUID" = xno; then
   21309         as_fn_error $? "requested libuuid support but uuid.pc not found
   21310         and LIBUUID_CFLAGS and LIBUUID_LIBS not set" "$LINENO" 5
   21311     fi
   21312  ;;
   21313 esac
   21314 fi
   21315 
   21316 done
   21317 UUID_LIB_PRIVATE=""
   21318 UUID_PC=""
   21319 if test x"$HAVE_LIBUUID" = xyes ; then
   21320    if test -n "$PKG_CONFIG" && \
   21321     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
   21322   ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
   21323   ac_status=$?
   21324   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21325   test $ac_status = 0; }; then
   21326   UUID_PC="uuid"
   21327 fi
   21328    if test x"$UUID_PC" = x ; then
   21329        UUID_LIB_PRIVATE="$LIBUUID_LIBS"
   21330    fi
   21331 fi
   21332 
   21333 
   21334 
   21335  if test x"$HAVE_LIBUUID" = xyes; then
   21336   WITH_LIBUUID_TRUE=
   21337   WITH_LIBUUID_FALSE='#'
   21338 else
   21339   WITH_LIBUUID_TRUE='#'
   21340   WITH_LIBUUID_FALSE=
   21341 fi
   21342 
   21343 
   21344 # If UUID support is not found, fall back to using network addresses
   21345 # to generate client ids
   21346 if test x"$HAVE_LIBUUID" != xyes && test x"$ac_cv_func_uuid_create" != xyes
   21347 then :
   21348   genid_module="xtrans"
   21349 # Needed to check for TCP & IPv6 support and set flags appropriately
   21350 
   21351 
   21352  case $host_os in
   21353 	mingw*)	unixdef="no"   ;;
   21354 	*)	unixdef="yes"  ;;
   21355  esac
   21356  # Check whether --enable-unix-transport was given.
   21357 if test ${enable_unix_transport+y}
   21358 then :
   21359   enableval=$enable_unix_transport; UNIXCONN=$enableval
   21360 else case e in #(
   21361   e) UNIXCONN=$unixdef ;;
   21362 esac
   21363 fi
   21364 
   21365  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   21366 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   21367  if test "$UNIXCONN" = "yes"; then
   21368 
   21369 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   21370 
   21371  fi
   21372  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   21373 printf "%s\n" "$UNIXCONN" >&6; }
   21374  # Check whether --enable-tcp-transport was given.
   21375 if test ${enable_tcp_transport+y}
   21376 then :
   21377   enableval=$enable_tcp_transport; TCPCONN=$enableval
   21378 else case e in #(
   21379   e) TCPCONN=yes ;;
   21380 esac
   21381 fi
   21382 
   21383  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   21384 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   21385  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   21386 printf "%s\n" "$TCPCONN" >&6; }
   21387  if test "$TCPCONN" = "yes"; then
   21388 
   21389 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   21390 
   21391 
   21392  # SVR4 hides these in libraries other than libc
   21393  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   21394 printf %s "checking for library containing socket... " >&6; }
   21395 if test ${ac_cv_search_socket+y}
   21396 then :
   21397   printf %s "(cached) " >&6
   21398 else case e in #(
   21399   e) ac_func_search_save_LIBS=$LIBS
   21400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21401 /* end confdefs.h.  */
   21402 
   21403 /* Override any GCC internal prototype to avoid an error.
   21404    Use char because int might match the return type of a GCC
   21405    builtin and then its argument prototype would still apply.
   21406    The 'extern "C"' is for builds by C++ compilers;
   21407    although this is not generally supported in C code supporting it here
   21408    has little cost and some practical benefit (sr 110532).  */
   21409 #ifdef __cplusplus
   21410 extern "C"
   21411 #endif
   21412 char socket (void);
   21413 int
   21414 main (void)
   21415 {
   21416 return socket ();
   21417   ;
   21418   return 0;
   21419 }
   21420 _ACEOF
   21421 for ac_lib in '' socket
   21422 do
   21423   if test -z "$ac_lib"; then
   21424     ac_res="none required"
   21425   else
   21426     ac_res=-l$ac_lib
   21427     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21428   fi
   21429   if ac_fn_c_try_link "$LINENO"
   21430 then :
   21431   ac_cv_search_socket=$ac_res
   21432 fi
   21433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21434     conftest$ac_exeext
   21435   if test ${ac_cv_search_socket+y}
   21436 then :
   21437   break
   21438 fi
   21439 done
   21440 if test ${ac_cv_search_socket+y}
   21441 then :
   21442 
   21443 else case e in #(
   21444   e) ac_cv_search_socket=no ;;
   21445 esac
   21446 fi
   21447 rm conftest.$ac_ext
   21448 LIBS=$ac_func_search_save_LIBS ;;
   21449 esac
   21450 fi
   21451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   21452 printf "%s\n" "$ac_cv_search_socket" >&6; }
   21453 ac_res=$ac_cv_search_socket
   21454 if test "$ac_res" != no
   21455 then :
   21456   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21457 
   21458 fi
   21459 
   21460  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   21461 printf %s "checking for library containing gethostbyname... " >&6; }
   21462 if test ${ac_cv_search_gethostbyname+y}
   21463 then :
   21464   printf %s "(cached) " >&6
   21465 else case e in #(
   21466   e) ac_func_search_save_LIBS=$LIBS
   21467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21468 /* end confdefs.h.  */
   21469 
   21470 /* Override any GCC internal prototype to avoid an error.
   21471    Use char because int might match the return type of a GCC
   21472    builtin and then its argument prototype would still apply.
   21473    The 'extern "C"' is for builds by C++ compilers;
   21474    although this is not generally supported in C code supporting it here
   21475    has little cost and some practical benefit (sr 110532).  */
   21476 #ifdef __cplusplus
   21477 extern "C"
   21478 #endif
   21479 char gethostbyname (void);
   21480 int
   21481 main (void)
   21482 {
   21483 return gethostbyname ();
   21484   ;
   21485   return 0;
   21486 }
   21487 _ACEOF
   21488 for ac_lib in '' nsl
   21489 do
   21490   if test -z "$ac_lib"; then
   21491     ac_res="none required"
   21492   else
   21493     ac_res=-l$ac_lib
   21494     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21495   fi
   21496   if ac_fn_c_try_link "$LINENO"
   21497 then :
   21498   ac_cv_search_gethostbyname=$ac_res
   21499 fi
   21500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21501     conftest$ac_exeext
   21502   if test ${ac_cv_search_gethostbyname+y}
   21503 then :
   21504   break
   21505 fi
   21506 done
   21507 if test ${ac_cv_search_gethostbyname+y}
   21508 then :
   21509 
   21510 else case e in #(
   21511   e) ac_cv_search_gethostbyname=no ;;
   21512 esac
   21513 fi
   21514 rm conftest.$ac_ext
   21515 LIBS=$ac_func_search_save_LIBS ;;
   21516 esac
   21517 fi
   21518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   21519 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   21520 ac_res=$ac_cv_search_gethostbyname
   21521 if test "$ac_res" != no
   21522 then :
   21523   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21524 
   21525 fi
   21526 
   21527  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   21528    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   21529 printf %s "checking for main in -lws2_32... " >&6; }
   21530 if test ${ac_cv_lib_ws2_32_main+y}
   21531 then :
   21532   printf %s "(cached) " >&6
   21533 else case e in #(
   21534   e) ac_check_lib_save_LIBS=$LIBS
   21535 LIBS="-lws2_32  $LIBS"
   21536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21537 /* end confdefs.h.  */
   21538 
   21539 
   21540 int
   21541 main (void)
   21542 {
   21543 return main ();
   21544   ;
   21545   return 0;
   21546 }
   21547 _ACEOF
   21548 if ac_fn_c_try_link "$LINENO"
   21549 then :
   21550   ac_cv_lib_ws2_32_main=yes
   21551 else case e in #(
   21552   e) ac_cv_lib_ws2_32_main=no ;;
   21553 esac
   21554 fi
   21555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21556     conftest$ac_exeext conftest.$ac_ext
   21557 LIBS=$ac_check_lib_save_LIBS ;;
   21558 esac
   21559 fi
   21560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   21561 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   21562 if test "x$ac_cv_lib_ws2_32_main" = xyes
   21563 then :
   21564   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   21565 
   21566   LIBS="-lws2_32 $LIBS"
   21567 
   21568 fi
   21569 
   21570  fi
   21571 
   21572  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   21573  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   21574 if test "x$ac_cv_func_getaddrinfo" = xyes
   21575 then :
   21576   printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
   21577 
   21578 fi
   21579 ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
   21580 if test "x$ac_cv_func_inet_ntop" = xyes
   21581 then :
   21582   printf "%s\n" "#define HAVE_INET_NTOP 1" >>confdefs.h
   21583 
   21584 fi
   21585 
   21586 
   21587  # Check whether --enable-ipv6 was given.
   21588 if test ${enable_ipv6+y}
   21589 then :
   21590   enableval=$enable_ipv6; IPV6CONN=$enableval
   21591 else case e in #(
   21592   e) IPV6CONN=$ac_cv_func_getaddrinfo ;;
   21593 esac
   21594 fi
   21595 
   21596  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   21597 printf %s "checking if IPv6 support should be built... " >&6; }
   21598  if test "$IPV6CONN" = "yes"; then
   21599 
   21600 printf "%s\n" "#define IPv6 1" >>confdefs.h
   21601 
   21602  fi
   21603  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   21604 printf "%s\n" "$IPV6CONN" >&6; }
   21605 
   21606  # 4.3BSD-Reno added a new member to struct sockaddr_in
   21607  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   21608 #include <sys/types.h>
   21609 #include <sys/socket.h>
   21610 #include <netinet/in.h>
   21611 
   21612 "
   21613 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   21614 then :
   21615 
   21616 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   21617 
   21618 fi
   21619 
   21620 
   21621  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   21622  # and added a type defined to be large enough to hold any sockaddr format.
   21623  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   21624 $ac_includes_default
   21625 #include <sys/socket.h>
   21626 
   21627 "
   21628 if test "x$ac_cv_type_socklen_t" = xyes
   21629 then :
   21630 
   21631 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   21632 
   21633 
   21634 fi
   21635 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
   21636 $ac_includes_default
   21637 #include <sys/socket.h>
   21638 
   21639 "
   21640 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
   21641 then :
   21642 
   21643 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
   21644 
   21645 
   21646 fi
   21647 
   21648 
   21649  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   21650  # _XOPEN_SOURCE to get it (such as on Solaris)
   21651  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21652 $ac_includes_default
   21653 #include <sys/socket.h>
   21654 
   21655 "
   21656 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21657 then :
   21658 
   21659 fi
   21660 
   21661  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   21662  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   21663      unset ac_cv_member_struct_msghdr_msg_control
   21664      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   21665 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   21666      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21667 #define _XOPEN_SOURCE 600
   21668 $ac_includes_default
   21669 #include <sys/socket.h>
   21670 
   21671 "
   21672 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21673 then :
   21674 
   21675 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   21676 
   21677 
   21678 fi
   21679 
   21680  fi
   21681  # If that didn't work, fall back to XPG5/UNIX98 with C89
   21682  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   21683      unset ac_cv_member_struct_msghdr_msg_control
   21684      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   21685 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   21686      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21687 #define _XOPEN_SOURCE 500
   21688 $ac_includes_default
   21689 #include <sys/socket.h>
   21690 
   21691 "
   21692 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21693 then :
   21694 
   21695 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   21696 
   21697 
   21698 fi
   21699 
   21700  fi
   21701 
   21702 
   21703 
   21704  fi
   21705  case $host_os in
   21706 	solaris*)		localdef="yes" ;;
   21707 	*)			localdef="no"  ;;
   21708  esac
   21709  # Check whether --enable-local-transport was given.
   21710 if test ${enable_local_transport+y}
   21711 then :
   21712   enableval=$enable_local_transport; LOCALCONN=$enableval
   21713 else case e in #(
   21714   e) LOCALCONN=$localdef ;;
   21715 esac
   21716 fi
   21717 
   21718  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   21719 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   21720  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   21721 printf "%s\n" "$LOCALCONN" >&6; }
   21722  if test "$LOCALCONN" = "yes"; then
   21723 
   21724 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   21725 
   21726  fi
   21727 
   21728  # Other functions Xtrans may need
   21729  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   21730 if test "x$ac_cv_func_strcasecmp" = xyes
   21731 then :
   21732   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   21733 
   21734 fi
   21735 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   21736 if test "x$ac_cv_func_strlcpy" = xyes
   21737 then :
   21738   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   21739 
   21740 fi
   21741 
   21742 
   21743 
   21744 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   21745 if test "x$ac_cv_func_getaddrinfo" = xyes
   21746 then :
   21747   printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
   21748 
   21749 fi
   21750 
   21751 fi
   21752 
   21753 # Obtain compiler/linker options for dependencies
   21754 
   21755 pkg_failed=no
   21756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
   21757 printf %s "checking for SM... " >&6; }
   21758 
   21759 if test -n "$SM_CFLAGS"; then
   21760     pkg_cv_SM_CFLAGS="$SM_CFLAGS"
   21761  elif test -n "$PKG_CONFIG"; then
   21762     if test -n "$PKG_CONFIG" && \
   21763     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice >= 1.1.0 xproto \$genid_module\""; } >&5
   21764   ($PKG_CONFIG --exists --print-errors "ice >= 1.1.0 xproto $genid_module") 2>&5
   21765   ac_status=$?
   21766   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21767   test $ac_status = 0; }; then
   21768   pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "ice >= 1.1.0 xproto $genid_module" 2>/dev/null`
   21769 		      test "x$?" != "x0" && pkg_failed=yes
   21770 else
   21771   pkg_failed=yes
   21772 fi
   21773  else
   21774     pkg_failed=untried
   21775 fi
   21776 if test -n "$SM_LIBS"; then
   21777     pkg_cv_SM_LIBS="$SM_LIBS"
   21778  elif test -n "$PKG_CONFIG"; then
   21779     if test -n "$PKG_CONFIG" && \
   21780     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ice >= 1.1.0 xproto \$genid_module\""; } >&5
   21781   ($PKG_CONFIG --exists --print-errors "ice >= 1.1.0 xproto $genid_module") 2>&5
   21782   ac_status=$?
   21783   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21784   test $ac_status = 0; }; then
   21785   pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "ice >= 1.1.0 xproto $genid_module" 2>/dev/null`
   21786 		      test "x$?" != "x0" && pkg_failed=yes
   21787 else
   21788   pkg_failed=yes
   21789 fi
   21790  else
   21791     pkg_failed=untried
   21792 fi
   21793 
   21794 
   21795 
   21796 if test $pkg_failed = yes; then
   21797    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21798 printf "%s\n" "no" >&6; }
   21799 
   21800 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21801         _pkg_short_errors_supported=yes
   21802 else
   21803         _pkg_short_errors_supported=no
   21804 fi
   21805         if test $_pkg_short_errors_supported = yes; then
   21806 	        SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ice >= 1.1.0 xproto $genid_module" 2>&1`
   21807         else
   21808 	        SM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ice >= 1.1.0 xproto $genid_module" 2>&1`
   21809         fi
   21810 	# Put the nasty error message in config.log where it belongs
   21811 	echo "$SM_PKG_ERRORS" >&5
   21812 
   21813 	as_fn_error $? "Package requirements (ice >= 1.1.0 xproto $genid_module) were not met:
   21814 
   21815 $SM_PKG_ERRORS
   21816 
   21817 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21818 installed software in a non-standard prefix.
   21819 
   21820 Alternatively, you may set the environment variables SM_CFLAGS
   21821 and SM_LIBS to avoid the need to call pkg-config.
   21822 See the pkg-config man page for more details." "$LINENO" 5
   21823 elif test $pkg_failed = untried; then
   21824      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21825 printf "%s\n" "no" >&6; }
   21826 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21827 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   21828 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   21829 is in your PATH or set the PKG_CONFIG environment variable to the full
   21830 path to pkg-config.
   21831 
   21832 Alternatively, you may set the environment variables SM_CFLAGS
   21833 and SM_LIBS to avoid the need to call pkg-config.
   21834 See the pkg-config man page for more details.
   21835 
   21836 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21837 See 'config.log' for more details" "$LINENO" 5; }
   21838 else
   21839 	SM_CFLAGS=$pkg_cv_SM_CFLAGS
   21840 	SM_LIBS=$pkg_cv_SM_LIBS
   21841         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21842 printf "%s\n" "yes" >&6; }
   21843 
   21844 fi
   21845 
   21846 
   21847 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile sm.pc"
   21848 
   21849 cat >confcache <<\_ACEOF
   21850 # This file is a shell script that caches the results of configure
   21851 # tests run on this system so they can be shared between configure
   21852 # scripts and configure runs, see configure's option --config-cache.
   21853 # It is not useful on other systems.  If it contains results you don't
   21854 # want to keep, you may remove or edit it.
   21855 #
   21856 # config.status only pays attention to the cache file if you give it
   21857 # the --recheck option to rerun configure.
   21858 #
   21859 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   21860 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   21861 # following values.
   21862 
   21863 _ACEOF
   21864 
   21865 # The following way of writing the cache mishandles newlines in values,
   21866 # but we know of no workaround that is simple, portable, and efficient.
   21867 # So, we kill variables containing newlines.
   21868 # Ultrix sh set writes to stderr and can't be redirected directly,
   21869 # and sets the high bit in the cache file unless we assign to the vars.
   21870 (
   21871   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21872     eval ac_val=\$$ac_var
   21873     case $ac_val in #(
   21874     *${as_nl}*)
   21875       case $ac_var in #(
   21876       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   21877 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21878       esac
   21879       case $ac_var in #(
   21880       _ | IFS | as_nl) ;; #(
   21881       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21882       *) { eval $ac_var=; unset $ac_var;} ;;
   21883       esac ;;
   21884     esac
   21885   done
   21886 
   21887   (set) 2>&1 |
   21888     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21889     *${as_nl}ac_space=\ *)
   21890       # 'set' does not quote correctly, so add quotes: double-quote
   21891       # substitution turns \\\\ into \\, and sed turns \\ into \.
   21892       sed -n \
   21893 	"s/'/'\\\\''/g;
   21894 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21895       ;; #(
   21896     *)
   21897       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   21898       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21899       ;;
   21900     esac |
   21901     sort
   21902 ) |
   21903   sed '
   21904      /^ac_cv_env_/b end
   21905      t clear
   21906      :clear
   21907      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   21908      t end
   21909      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21910      :end' >>confcache
   21911 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21912   if test -w "$cache_file"; then
   21913     if test "x$cache_file" != "x/dev/null"; then
   21914       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21915 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   21916       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21917 	cat confcache >"$cache_file"
   21918       else
   21919         case $cache_file in #(
   21920         */* | ?:*)
   21921 	  mv -f confcache "$cache_file"$$ &&
   21922 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21923         *)
   21924 	  mv -f confcache "$cache_file" ;;
   21925 	esac
   21926       fi
   21927     fi
   21928   else
   21929     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21930 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   21931   fi
   21932 fi
   21933 rm -f confcache
   21934 
   21935 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21936 # Let make expand exec_prefix.
   21937 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21938 
   21939 DEFS=-DHAVE_CONFIG_H
   21940 
   21941 ac_libobjs=
   21942 ac_ltlibobjs=
   21943 U=
   21944 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21945   # 1. Remove the extension, and $U if already installed.
   21946   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21947   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   21948   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21949   #    will be set to the directory where LIBOBJS objects are built.
   21950   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21951   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21952 done
   21953 LIBOBJS=$ac_libobjs
   21954 
   21955 LTLIBOBJS=$ac_ltlibobjs
   21956 
   21957 
   21958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21959 printf %s "checking that generated files are newer than configure... " >&6; }
   21960    if test -n "$am_sleep_pid"; then
   21961      # Hide warnings about reused PIDs.
   21962      wait $am_sleep_pid 2>/dev/null
   21963    fi
   21964    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21965 printf "%s\n" "done" >&6; }
   21966 case $enable_silent_rules in # (((
   21967   yes) AM_DEFAULT_VERBOSITY=0;;
   21968    no) AM_DEFAULT_VERBOSITY=1;;
   21969 esac
   21970 if test $am_cv_make_support_nested_variables = yes; then
   21971     AM_V='$(V)'
   21972   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   21973 else
   21974   AM_V=$AM_DEFAULT_VERBOSITY
   21975   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   21976 fi
   21977 
   21978  if test -n "$EXEEXT"; then
   21979   am__EXEEXT_TRUE=
   21980   am__EXEEXT_FALSE='#'
   21981 else
   21982   am__EXEEXT_TRUE='#'
   21983   am__EXEEXT_FALSE=
   21984 fi
   21985 
   21986 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21987   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21989 fi
   21990 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21991   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21993 fi
   21994 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   21995   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   21996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21997 fi
   21998 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   21999   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   22000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22001 fi
   22002 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   22003   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   22004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22005 fi
   22006 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   22007   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   22008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22009 fi
   22010 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   22011   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   22012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22013 fi
   22014 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   22015   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   22016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22017 fi
   22018 if test -z "${WITH_LIBUUID_TRUE}" && test -z "${WITH_LIBUUID_FALSE}"; then
   22019   as_fn_error $? "conditional \"WITH_LIBUUID\" was never defined.
   22020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22021 fi
   22022 
   22023 : "${CONFIG_STATUS=./config.status}"
   22024 ac_write_fail=0
   22025 ac_clean_files_save=$ac_clean_files
   22026 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   22028 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   22029 as_write_fail=0
   22030 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   22031 #! $SHELL
   22032 # Generated by $as_me.
   22033 # Run this file to recreate the current configuration.
   22034 # Compiler output produced by configure, useful for debugging
   22035 # configure, is in config.log if it exists.
   22036 
   22037 debug=false
   22038 ac_cs_recheck=false
   22039 ac_cs_silent=false
   22040 
   22041 SHELL=\${CONFIG_SHELL-$SHELL}
   22042 export SHELL
   22043 _ASEOF
   22044 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   22045 ## -------------------- ##
   22046 ## M4sh Initialization. ##
   22047 ## -------------------- ##
   22048 
   22049 # Be more Bourne compatible
   22050 DUALCASE=1; export DUALCASE # for MKS sh
   22051 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   22052 then :
   22053   emulate sh
   22054   NULLCMD=:
   22055   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22056   # is contrary to our usage.  Disable this feature.
   22057   alias -g '${1+"$@"}'='"$@"'
   22058   setopt NO_GLOB_SUBST
   22059 else case e in #(
   22060   e) case `(set -o) 2>/dev/null` in #(
   22061   *posix*) :
   22062     set -o posix ;; #(
   22063   *) :
   22064      ;;
   22065 esac ;;
   22066 esac
   22067 fi
   22068 
   22069 
   22070 
   22071 # Reset variables that may have inherited troublesome values from
   22072 # the environment.
   22073 
   22074 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   22075 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   22076 # side effect of setting IFS to empty, thus disabling word splitting.)
   22077 # Quoting is to prevent editors from complaining about space-tab.
   22078 as_nl='
   22079 '
   22080 export as_nl
   22081 IFS=" ""	$as_nl"
   22082 
   22083 PS1='$ '
   22084 PS2='> '
   22085 PS4='+ '
   22086 
   22087 # Ensure predictable behavior from utilities with locale-dependent output.
   22088 LC_ALL=C
   22089 export LC_ALL
   22090 LANGUAGE=C
   22091 export LANGUAGE
   22092 
   22093 # We cannot yet rely on "unset" to work, but we need these variables
   22094 # to be unset--not just set to an empty or harmless value--now, to
   22095 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   22096 # also avoids known problems related to "unset" and subshell syntax
   22097 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   22098 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   22099 do eval test \${$as_var+y} \
   22100   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   22101 done
   22102 
   22103 # Ensure that fds 0, 1, and 2 are open.
   22104 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   22105 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   22106 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   22107 
   22108 # The user is always right.
   22109 if ${PATH_SEPARATOR+false} :; then
   22110   PATH_SEPARATOR=:
   22111   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22112     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22113       PATH_SEPARATOR=';'
   22114   }
   22115 fi
   22116 
   22117 
   22118 # Find who we are.  Look in the path if we contain no directory separator.
   22119 as_myself=
   22120 case $0 in #((
   22121   *[\\/]* ) as_myself=$0 ;;
   22122   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22123 for as_dir in $PATH
   22124 do
   22125   IFS=$as_save_IFS
   22126   case $as_dir in #(((
   22127     '') as_dir=./ ;;
   22128     */) ;;
   22129     *) as_dir=$as_dir/ ;;
   22130   esac
   22131     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   22132   done
   22133 IFS=$as_save_IFS
   22134 
   22135      ;;
   22136 esac
   22137 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   22138 # in which case we are not to be found in the path.
   22139 if test "x$as_myself" = x; then
   22140   as_myself=$0
   22141 fi
   22142 if test ! -f "$as_myself"; then
   22143   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22144   exit 1
   22145 fi
   22146 
   22147 
   22148 
   22149 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   22150 # ----------------------------------------
   22151 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   22152 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   22153 # script with STATUS, using 1 if that was 0.
   22154 as_fn_error ()
   22155 {
   22156   as_status=$1; test $as_status -eq 0 && as_status=1
   22157   if test "$4"; then
   22158     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   22159     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   22160   fi
   22161   printf "%s\n" "$as_me: error: $2" >&2
   22162   as_fn_exit $as_status
   22163 } # as_fn_error
   22164 
   22165 
   22166 # as_fn_set_status STATUS
   22167 # -----------------------
   22168 # Set $? to STATUS, without forking.
   22169 as_fn_set_status ()
   22170 {
   22171   return $1
   22172 } # as_fn_set_status
   22173 
   22174 # as_fn_exit STATUS
   22175 # -----------------
   22176 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   22177 as_fn_exit ()
   22178 {
   22179   set +e
   22180   as_fn_set_status $1
   22181   exit $1
   22182 } # as_fn_exit
   22183 
   22184 # as_fn_unset VAR
   22185 # ---------------
   22186 # Portably unset VAR.
   22187 as_fn_unset ()
   22188 {
   22189   { eval $1=; unset $1;}
   22190 }
   22191 as_unset=as_fn_unset
   22192 
   22193 # as_fn_append VAR VALUE
   22194 # ----------------------
   22195 # Append the text in VALUE to the end of the definition contained in VAR. Take
   22196 # advantage of any shell optimizations that allow amortized linear growth over
   22197 # repeated appends, instead of the typical quadratic growth present in naive
   22198 # implementations.
   22199 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   22200 then :
   22201   eval 'as_fn_append ()
   22202   {
   22203     eval $1+=\$2
   22204   }'
   22205 else case e in #(
   22206   e) as_fn_append ()
   22207   {
   22208     eval $1=\$$1\$2
   22209   } ;;
   22210 esac
   22211 fi # as_fn_append
   22212 
   22213 # as_fn_arith ARG...
   22214 # ------------------
   22215 # Perform arithmetic evaluation on the ARGs, and store the result in the
   22216 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   22217 # must be portable across $(()) and expr.
   22218 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   22219 then :
   22220   eval 'as_fn_arith ()
   22221   {
   22222     as_val=$(( $* ))
   22223   }'
   22224 else case e in #(
   22225   e) as_fn_arith ()
   22226   {
   22227     as_val=`expr "$@" || test $? -eq 1`
   22228   } ;;
   22229 esac
   22230 fi # as_fn_arith
   22231 
   22232 
   22233 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22234    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22235   as_expr=expr
   22236 else
   22237   as_expr=false
   22238 fi
   22239 
   22240 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22241   as_basename=basename
   22242 else
   22243   as_basename=false
   22244 fi
   22245 
   22246 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22247   as_dirname=dirname
   22248 else
   22249   as_dirname=false
   22250 fi
   22251 
   22252 as_me=`$as_basename -- "$0" ||
   22253 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22254 	 X"$0" : 'X\(//\)$' \| \
   22255 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22256 printf "%s\n" X/"$0" |
   22257     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22258 	    s//\1/
   22259 	    q
   22260 	  }
   22261 	  /^X\/\(\/\/\)$/{
   22262 	    s//\1/
   22263 	    q
   22264 	  }
   22265 	  /^X\/\(\/\).*/{
   22266 	    s//\1/
   22267 	    q
   22268 	  }
   22269 	  s/.*/./; q'`
   22270 
   22271 # Avoid depending upon Character Ranges.
   22272 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22273 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22274 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22275 as_cr_digits='0123456789'
   22276 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22277 
   22278 
   22279 # Determine whether it's possible to make 'echo' print without a newline.
   22280 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   22281 # for compatibility with existing Makefiles.
   22282 ECHO_C= ECHO_N= ECHO_T=
   22283 case `echo -n x` in #(((((
   22284 -n*)
   22285   case `echo 'xy\c'` in
   22286   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22287   xy)  ECHO_C='\c';;
   22288   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   22289        ECHO_T='	';;
   22290   esac;;
   22291 *)
   22292   ECHO_N='-n';;
   22293 esac
   22294 
   22295 # For backward compatibility with old third-party macros, we provide
   22296 # the shell variables $as_echo and $as_echo_n.  New code should use
   22297 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   22298 as_echo='printf %s\n'
   22299 as_echo_n='printf %s'
   22300 
   22301 rm -f conf$$ conf$$.exe conf$$.file
   22302 if test -d conf$$.dir; then
   22303   rm -f conf$$.dir/conf$$.file
   22304 else
   22305   rm -f conf$$.dir
   22306   mkdir conf$$.dir 2>/dev/null
   22307 fi
   22308 if (echo >conf$$.file) 2>/dev/null; then
   22309   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22310     as_ln_s='ln -s'
   22311     # ... but there are two gotchas:
   22312     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   22313     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   22314     # In both cases, we have to default to 'cp -pR'.
   22315     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22316       as_ln_s='cp -pR'
   22317   elif ln conf$$.file conf$$ 2>/dev/null; then
   22318     as_ln_s=ln
   22319   else
   22320     as_ln_s='cp -pR'
   22321   fi
   22322 else
   22323   as_ln_s='cp -pR'
   22324 fi
   22325 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22326 rmdir conf$$.dir 2>/dev/null
   22327 
   22328 
   22329 # as_fn_mkdir_p
   22330 # -------------
   22331 # Create "$as_dir" as a directory, including parents if necessary.
   22332 as_fn_mkdir_p ()
   22333 {
   22334 
   22335   case $as_dir in #(
   22336   -*) as_dir=./$as_dir;;
   22337   esac
   22338   test -d "$as_dir" || eval $as_mkdir_p || {
   22339     as_dirs=
   22340     while :; do
   22341       case $as_dir in #(
   22342       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22343       *) as_qdir=$as_dir;;
   22344       esac
   22345       as_dirs="'$as_qdir' $as_dirs"
   22346       as_dir=`$as_dirname -- "$as_dir" ||
   22347 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22348 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22349 	 X"$as_dir" : 'X\(//\)$' \| \
   22350 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22351 printf "%s\n" X"$as_dir" |
   22352     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22353 	    s//\1/
   22354 	    q
   22355 	  }
   22356 	  /^X\(\/\/\)[^/].*/{
   22357 	    s//\1/
   22358 	    q
   22359 	  }
   22360 	  /^X\(\/\/\)$/{
   22361 	    s//\1/
   22362 	    q
   22363 	  }
   22364 	  /^X\(\/\).*/{
   22365 	    s//\1/
   22366 	    q
   22367 	  }
   22368 	  s/.*/./; q'`
   22369       test -d "$as_dir" && break
   22370     done
   22371     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22372   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   22373 
   22374 
   22375 } # as_fn_mkdir_p
   22376 if mkdir -p . 2>/dev/null; then
   22377   as_mkdir_p='mkdir -p "$as_dir"'
   22378 else
   22379   test -d ./-p && rmdir ./-p
   22380   as_mkdir_p=false
   22381 fi
   22382 
   22383 
   22384 # as_fn_executable_p FILE
   22385 # -----------------------
   22386 # Test if FILE is an executable regular file.
   22387 as_fn_executable_p ()
   22388 {
   22389   test -f "$1" && test -x "$1"
   22390 } # as_fn_executable_p
   22391 as_test_x='test -x'
   22392 as_executable_p=as_fn_executable_p
   22393 
   22394 # Sed expression to map a string onto a valid CPP name.
   22395 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   22396 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   22397 
   22398 # Sed expression to map a string onto a valid variable name.
   22399 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   22400 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   22401 
   22402 
   22403 exec 6>&1
   22404 ## ----------------------------------- ##
   22405 ## Main body of $CONFIG_STATUS script. ##
   22406 ## ----------------------------------- ##
   22407 _ASEOF
   22408 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   22409 
   22410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22411 # Save the log message, to keep $0 and so on meaningful, and to
   22412 # report actual input values of CONFIG_FILES etc. instead of their
   22413 # values after options handling.
   22414 ac_log="
   22415 This file was extended by libSM $as_me 1.2.6, which was
   22416 generated by GNU Autoconf 2.72.  Invocation command line was
   22417 
   22418   CONFIG_FILES    = $CONFIG_FILES
   22419   CONFIG_HEADERS  = $CONFIG_HEADERS
   22420   CONFIG_LINKS    = $CONFIG_LINKS
   22421   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22422   $ $0 $@
   22423 
   22424 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22425 "
   22426 
   22427 _ACEOF
   22428 
   22429 case $ac_config_files in *"
   22430 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22431 esac
   22432 
   22433 case $ac_config_headers in *"
   22434 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22435 esac
   22436 
   22437 
   22438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22439 # Files that config.status was made for.
   22440 config_files="$ac_config_files"
   22441 config_headers="$ac_config_headers"
   22442 config_commands="$ac_config_commands"
   22443 
   22444 _ACEOF
   22445 
   22446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22447 ac_cs_usage="\
   22448 '$as_me' instantiates files and other configuration actions
   22449 from templates according to the current configuration.  Unless the files
   22450 and actions are specified as TAGs, all are instantiated by default.
   22451 
   22452 Usage: $0 [OPTION]... [TAG]...
   22453 
   22454   -h, --help       print this help, then exit
   22455   -V, --version    print version number and configuration settings, then exit
   22456       --config     print configuration, then exit
   22457   -q, --quiet, --silent
   22458                    do not print progress messages
   22459   -d, --debug      don't remove temporary files
   22460       --recheck    update $as_me by reconfiguring in the same conditions
   22461       --file=FILE[:TEMPLATE]
   22462                    instantiate the configuration file FILE
   22463       --header=FILE[:TEMPLATE]
   22464                    instantiate the configuration header FILE
   22465 
   22466 Configuration files:
   22467 $config_files
   22468 
   22469 Configuration headers:
   22470 $config_headers
   22471 
   22472 Configuration commands:
   22473 $config_commands
   22474 
   22475 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libsm/-/issues>."
   22476 
   22477 _ACEOF
   22478 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   22479 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   22480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22481 ac_cs_config='$ac_cs_config_escaped'
   22482 ac_cs_version="\\
   22483 libSM config.status 1.2.6
   22484 configured by $0, generated by GNU Autoconf 2.72,
   22485   with options \\"\$ac_cs_config\\"
   22486 
   22487 Copyright (C) 2023 Free Software Foundation, Inc.
   22488 This config.status script is free software; the Free Software Foundation
   22489 gives unlimited permission to copy, distribute and modify it."
   22490 
   22491 ac_pwd='$ac_pwd'
   22492 srcdir='$srcdir'
   22493 INSTALL='$INSTALL'
   22494 MKDIR_P='$MKDIR_P'
   22495 AWK='$AWK'
   22496 test -n "\$AWK" || AWK=awk
   22497 _ACEOF
   22498 
   22499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22500 # The default lists apply if the user does not specify any file.
   22501 ac_need_defaults=:
   22502 while test $# != 0
   22503 do
   22504   case $1 in
   22505   --*=?*)
   22506     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22507     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22508     ac_shift=:
   22509     ;;
   22510   --*=)
   22511     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22512     ac_optarg=
   22513     ac_shift=:
   22514     ;;
   22515   *)
   22516     ac_option=$1
   22517     ac_optarg=$2
   22518     ac_shift=shift
   22519     ;;
   22520   esac
   22521 
   22522   case $ac_option in
   22523   # Handling of the options.
   22524   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22525     ac_cs_recheck=: ;;
   22526   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22527     printf "%s\n" "$ac_cs_version"; exit ;;
   22528   --config | --confi | --conf | --con | --co | --c )
   22529     printf "%s\n" "$ac_cs_config"; exit ;;
   22530   --debug | --debu | --deb | --de | --d | -d )
   22531     debug=: ;;
   22532   --file | --fil | --fi | --f )
   22533     $ac_shift
   22534     case $ac_optarg in
   22535     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22536     '') as_fn_error $? "missing file argument" ;;
   22537     esac
   22538     as_fn_append CONFIG_FILES " '$ac_optarg'"
   22539     ac_need_defaults=false;;
   22540   --header | --heade | --head | --hea )
   22541     $ac_shift
   22542     case $ac_optarg in
   22543     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22544     esac
   22545     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   22546     ac_need_defaults=false;;
   22547   --he | --h)
   22548     # Conflict between --help and --header
   22549     as_fn_error $? "ambiguous option: '$1'
   22550 Try '$0 --help' for more information.";;
   22551   --help | --hel | -h )
   22552     printf "%s\n" "$ac_cs_usage"; exit ;;
   22553   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22554   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22555     ac_cs_silent=: ;;
   22556 
   22557   # This is an error.
   22558   -*) as_fn_error $? "unrecognized option: '$1'
   22559 Try '$0 --help' for more information." ;;
   22560 
   22561   *) as_fn_append ac_config_targets " $1"
   22562      ac_need_defaults=false ;;
   22563 
   22564   esac
   22565   shift
   22566 done
   22567 
   22568 ac_configure_extra_args=
   22569 
   22570 if $ac_cs_silent; then
   22571   exec 6>/dev/null
   22572   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22573 fi
   22574 
   22575 _ACEOF
   22576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22577 if \$ac_cs_recheck; then
   22578   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22579   shift
   22580   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   22581   CONFIG_SHELL='$SHELL'
   22582   export CONFIG_SHELL
   22583   exec "\$@"
   22584 fi
   22585 
   22586 _ACEOF
   22587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22588 exec 5>>config.log
   22589 {
   22590   echo
   22591   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22592 ## Running $as_me. ##
   22593 _ASBOX
   22594   printf "%s\n" "$ac_log"
   22595 } >&5
   22596 
   22597 _ACEOF
   22598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22599 #
   22600 # INIT-COMMANDS
   22601 #
   22602 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   22603 
   22604 
   22605 # The HP-UX ksh and POSIX shell print the target directory to stdout
   22606 # if CDPATH is set.
   22607 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   22608 
   22609 sed_quote_subst='$sed_quote_subst'
   22610 double_quote_subst='$double_quote_subst'
   22611 delay_variable_subst='$delay_variable_subst'
   22612 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   22613 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   22614 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   22615 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   22616 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   22617 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   22618 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   22619 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   22620 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   22621 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   22622 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   22623 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   22624 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   22625 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   22626 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   22627 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   22628 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   22629 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   22630 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   22631 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   22632 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   22633 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   22634 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   22635 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   22636 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   22637 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   22638 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   22639 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   22640 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   22641 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   22642 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   22643 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   22644 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   22645 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   22646 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   22647 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   22648 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   22649 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   22650 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   22651 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   22652 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   22653 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   22654 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   22655 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   22656 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   22657 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   22658 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   22659 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   22660 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22661 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22662 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   22663 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   22664 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   22665 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   22666 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   22667 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   22668 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   22669 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   22670 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   22671 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   22672 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"`'
   22673 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   22674 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   22675 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   22676 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   22677 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   22678 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   22679 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   22680 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   22681 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   22682 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   22683 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   22684 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   22685 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   22686 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   22687 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   22688 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   22689 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   22690 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   22691 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   22692 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   22693 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22694 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   22695 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   22696 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   22697 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   22698 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   22699 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   22700 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22701 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   22702 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22703 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   22704 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22705 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   22706 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22707 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22708 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   22709 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   22710 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   22711 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   22712 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   22713 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22714 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   22715 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   22716 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   22717 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   22718 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   22719 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   22720 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   22721 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   22722 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   22723 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   22724 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   22725 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   22726 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   22727 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   22728 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   22729 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22730 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   22731 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   22732 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   22733 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   22734 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   22735 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22736 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22737 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   22738 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   22739 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   22740 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   22741 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   22742 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   22743 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   22744 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   22745 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   22746 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   22747 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   22748 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   22749 
   22750 LTCC='$LTCC'
   22751 LTCFLAGS='$LTCFLAGS'
   22752 compiler='$compiler_DEFAULT'
   22753 
   22754 # A function that is used when there is no print builtin or printf.
   22755 func_fallback_echo ()
   22756 {
   22757   eval 'cat <<_LTECHO_EOF
   22758 \$1
   22759 _LTECHO_EOF'
   22760 }
   22761 
   22762 # Quote evaled strings.
   22763 for var in SHELL \
   22764 ECHO \
   22765 PATH_SEPARATOR \
   22766 SED \
   22767 GREP \
   22768 EGREP \
   22769 FGREP \
   22770 LD \
   22771 NM \
   22772 LN_S \
   22773 lt_SP2NL \
   22774 lt_NL2SP \
   22775 reload_flag \
   22776 FILECMD \
   22777 OBJDUMP \
   22778 deplibs_check_method \
   22779 file_magic_cmd \
   22780 file_magic_glob \
   22781 want_nocaseglob \
   22782 DLLTOOL \
   22783 sharedlib_from_linklib_cmd \
   22784 AR \
   22785 archiver_list_spec \
   22786 STRIP \
   22787 RANLIB \
   22788 CC \
   22789 CFLAGS \
   22790 compiler \
   22791 lt_cv_sys_global_symbol_pipe \
   22792 lt_cv_sys_global_symbol_to_cdecl \
   22793 lt_cv_sys_global_symbol_to_import \
   22794 lt_cv_sys_global_symbol_to_c_name_address \
   22795 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   22796 lt_cv_nm_interface \
   22797 nm_file_list_spec \
   22798 lt_cv_truncate_bin \
   22799 lt_prog_compiler_no_builtin_flag \
   22800 lt_prog_compiler_pic \
   22801 lt_prog_compiler_wl \
   22802 lt_prog_compiler_static \
   22803 lt_cv_prog_compiler_c_o \
   22804 need_locks \
   22805 MANIFEST_TOOL \
   22806 DSYMUTIL \
   22807 NMEDIT \
   22808 LIPO \
   22809 OTOOL \
   22810 OTOOL64 \
   22811 shrext_cmds \
   22812 export_dynamic_flag_spec \
   22813 whole_archive_flag_spec \
   22814 compiler_needs_object \
   22815 with_gnu_ld \
   22816 allow_undefined_flag \
   22817 no_undefined_flag \
   22818 hardcode_libdir_flag_spec \
   22819 hardcode_libdir_separator \
   22820 exclude_expsyms \
   22821 include_expsyms \
   22822 file_list_spec \
   22823 variables_saved_for_relink \
   22824 libname_spec \
   22825 library_names_spec \
   22826 soname_spec \
   22827 install_override_mode \
   22828 finish_eval \
   22829 old_striplib \
   22830 striplib; do
   22831     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22832     *[\\\\\\\`\\"\\\$]*)
   22833       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22834       ;;
   22835     *)
   22836       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22837       ;;
   22838     esac
   22839 done
   22840 
   22841 # Double-quote double-evaled strings.
   22842 for var in reload_cmds \
   22843 old_postinstall_cmds \
   22844 old_postuninstall_cmds \
   22845 old_archive_cmds \
   22846 extract_expsyms_cmds \
   22847 old_archive_from_new_cmds \
   22848 old_archive_from_expsyms_cmds \
   22849 archive_cmds \
   22850 archive_expsym_cmds \
   22851 module_cmds \
   22852 module_expsym_cmds \
   22853 export_symbols_cmds \
   22854 prelink_cmds \
   22855 postlink_cmds \
   22856 postinstall_cmds \
   22857 postuninstall_cmds \
   22858 finish_cmds \
   22859 sys_lib_search_path_spec \
   22860 configure_time_dlsearch_path \
   22861 configure_time_lt_sys_library_path; do
   22862     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22863     *[\\\\\\\`\\"\\\$]*)
   22864       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22865       ;;
   22866     *)
   22867       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22868       ;;
   22869     esac
   22870 done
   22871 
   22872 ac_aux_dir='$ac_aux_dir'
   22873 
   22874 # See if we are running on zsh, and set the options that allow our
   22875 # commands through without removal of \ escapes INIT.
   22876 if test -n "\${ZSH_VERSION+set}"; then
   22877    setopt NO_GLOB_SUBST
   22878 fi
   22879 
   22880 
   22881     PACKAGE='$PACKAGE'
   22882     VERSION='$VERSION'
   22883     RM='$RM'
   22884     ofile='$ofile'
   22885 
   22886 
   22887 
   22888 
   22889 _ACEOF
   22890 
   22891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22892 
   22893 # Handling of arguments.
   22894 for ac_config_target in $ac_config_targets
   22895 do
   22896   case $ac_config_target in
   22897     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22898     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22899     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22900     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22901     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   22902     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22903     "sm.pc") CONFIG_FILES="$CONFIG_FILES sm.pc" ;;
   22904 
   22905   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   22906   esac
   22907 done
   22908 
   22909 
   22910 # If the user did not use the arguments to specify the items to instantiate,
   22911 # then the envvar interface is used.  Set only those that are not.
   22912 # We use the long form for the default assignment because of an extremely
   22913 # bizarre bug on SunOS 4.1.3.
   22914 if $ac_need_defaults; then
   22915   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   22916   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   22917   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   22918 fi
   22919 
   22920 # Have a temporary directory for convenience.  Make it in the build tree
   22921 # simply because there is no reason against having it here, and in addition,
   22922 # creating and moving files from /tmp can sometimes cause problems.
   22923 # Hook for its removal unless debugging.
   22924 # Note that there is a small window in which the directory will not be cleaned:
   22925 # after its creation but before its name has been assigned to '$tmp'.
   22926 $debug ||
   22927 {
   22928   tmp= ac_tmp=
   22929   trap 'exit_status=$?
   22930   : "${ac_tmp:=$tmp}"
   22931   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22932 ' 0
   22933   trap 'as_fn_exit 1' 1 2 13 15
   22934 }
   22935 # Create a (secure) tmp directory for tmp files.
   22936 
   22937 {
   22938   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22939   test -d "$tmp"
   22940 }  ||
   22941 {
   22942   tmp=./conf$$-$RANDOM
   22943   (umask 077 && mkdir "$tmp")
   22944 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22945 ac_tmp=$tmp
   22946 
   22947 # Set up the scripts for CONFIG_FILES section.
   22948 # No need to generate them if there are no CONFIG_FILES.
   22949 # This happens for instance with './config.status config.h'.
   22950 if test -n "$CONFIG_FILES"; then
   22951 
   22952 
   22953 ac_cr=`echo X | tr X '\015'`
   22954 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22955 # But we know of no other shell where ac_cr would be empty at this
   22956 # point, so we can use a bashism as a fallback.
   22957 if test "x$ac_cr" = x; then
   22958   eval ac_cr=\$\'\\r\'
   22959 fi
   22960 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22961 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22962   ac_cs_awk_cr='\\r'
   22963 else
   22964   ac_cs_awk_cr=$ac_cr
   22965 fi
   22966 
   22967 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22968 _ACEOF
   22969 
   22970 
   22971 {
   22972   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22973   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22974   echo "_ACEOF"
   22975 } >conf$$subs.sh ||
   22976   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22977 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22978 ac_delim='%!_!# '
   22979 for ac_last_try in false false false false false :; do
   22980   . ./conf$$subs.sh ||
   22981     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22982 
   22983   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22984   if test $ac_delim_n = $ac_delim_num; then
   22985     break
   22986   elif $ac_last_try; then
   22987     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22988   else
   22989     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22990   fi
   22991 done
   22992 rm -f conf$$subs.sh
   22993 
   22994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22995 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22996 _ACEOF
   22997 sed -n '
   22998 h
   22999 s/^/S["/; s/!.*/"]=/
   23000 p
   23001 g
   23002 s/^[^!]*!//
   23003 :repl
   23004 t repl
   23005 s/'"$ac_delim"'$//
   23006 t delim
   23007 :nl
   23008 h
   23009 s/\(.\{148\}\)..*/\1/
   23010 t more1
   23011 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   23012 p
   23013 n
   23014 b repl
   23015 :more1
   23016 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23017 p
   23018 g
   23019 s/.\{148\}//
   23020 t nl
   23021 :delim
   23022 h
   23023 s/\(.\{148\}\)..*/\1/
   23024 t more2
   23025 s/["\\]/\\&/g; s/^/"/; s/$/"/
   23026 p
   23027 b
   23028 :more2
   23029 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23030 p
   23031 g
   23032 s/.\{148\}//
   23033 t delim
   23034 ' <conf$$subs.awk | sed '
   23035 /^[^""]/{
   23036   N
   23037   s/\n//
   23038 }
   23039 ' >>$CONFIG_STATUS || ac_write_fail=1
   23040 rm -f conf$$subs.awk
   23041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23042 _ACAWK
   23043 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   23044   for (key in S) S_is_set[key] = 1
   23045   FS = ""
   23046 
   23047 }
   23048 {
   23049   line = $ 0
   23050   nfields = split(line, field, "@")
   23051   substed = 0
   23052   len = length(field[1])
   23053   for (i = 2; i < nfields; i++) {
   23054     key = field[i]
   23055     keylen = length(key)
   23056     if (S_is_set[key]) {
   23057       value = S[key]
   23058       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23059       len += length(value) + length(field[++i])
   23060       substed = 1
   23061     } else
   23062       len += 1 + keylen
   23063   }
   23064 
   23065   print line
   23066 }
   23067 
   23068 _ACAWK
   23069 _ACEOF
   23070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23071 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23072   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23073 else
   23074   cat
   23075 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   23076   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   23077 _ACEOF
   23078 
   23079 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   23080 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   23081 # trailing colons and then remove the whole line if VPATH becomes empty
   23082 # (actually we leave an empty line to preserve line numbers).
   23083 if test "x$srcdir" = x.; then
   23084   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   23085 h
   23086 s///
   23087 s/^/:/
   23088 s/[	 ]*$/:/
   23089 s/:\$(srcdir):/:/g
   23090 s/:\${srcdir}:/:/g
   23091 s/:@srcdir@:/:/g
   23092 s/^:*//
   23093 s/:*$//
   23094 x
   23095 s/\(=[	 ]*\).*/\1/
   23096 G
   23097 s/\n//
   23098 s/^[^=]*=[	 ]*$//
   23099 }'
   23100 fi
   23101 
   23102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23103 fi # test -n "$CONFIG_FILES"
   23104 
   23105 # Set up the scripts for CONFIG_HEADERS section.
   23106 # No need to generate them if there are no CONFIG_HEADERS.
   23107 # This happens for instance with './config.status Makefile'.
   23108 if test -n "$CONFIG_HEADERS"; then
   23109 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   23110 BEGIN {
   23111 _ACEOF
   23112 
   23113 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   23114 # here-document in config.status, that substitutes the proper values into
   23115 # config.h.in to produce config.h.
   23116 
   23117 # Create a delimiter string that does not exist in confdefs.h, to ease
   23118 # handling of long lines.
   23119 ac_delim='%!_!# '
   23120 for ac_last_try in false false :; do
   23121   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   23122   if test -z "$ac_tt"; then
   23123     break
   23124   elif $ac_last_try; then
   23125     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   23126   else
   23127     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23128   fi
   23129 done
   23130 
   23131 # For the awk script, D is an array of macro values keyed by name,
   23132 # likewise P contains macro parameters if any.  Preserve backslash
   23133 # newline sequences.
   23134 
   23135 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23136 sed -n '
   23137 s/.\{148\}/&'"$ac_delim"'/g
   23138 t rset
   23139 :rset
   23140 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23141 t def
   23142 d
   23143 :def
   23144 s/\\$//
   23145 t bsnl
   23146 s/["\\]/\\&/g
   23147 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23148 D["\1"]=" \3"/p
   23149 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23150 d
   23151 :bsnl
   23152 s/["\\]/\\&/g
   23153 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23154 D["\1"]=" \3\\\\\\n"\\/p
   23155 t cont
   23156 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23157 t cont
   23158 d
   23159 :cont
   23160 n
   23161 s/.\{148\}/&'"$ac_delim"'/g
   23162 t clear
   23163 :clear
   23164 s/\\$//
   23165 t bsnlc
   23166 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23167 d
   23168 :bsnlc
   23169 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23170 b cont
   23171 ' <confdefs.h | sed '
   23172 s/'"$ac_delim"'/"\\\
   23173 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23174 
   23175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23176   for (key in D) D_is_set[key] = 1
   23177   FS = ""
   23178 }
   23179 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23180   line = \$ 0
   23181   split(line, arg, " ")
   23182   if (arg[1] == "#") {
   23183     defundef = arg[2]
   23184     mac1 = arg[3]
   23185   } else {
   23186     defundef = substr(arg[1], 2)
   23187     mac1 = arg[2]
   23188   }
   23189   split(mac1, mac2, "(") #)
   23190   macro = mac2[1]
   23191   prefix = substr(line, 1, index(line, defundef) - 1)
   23192   if (D_is_set[macro]) {
   23193     # Preserve the white space surrounding the "#".
   23194     print prefix "define", macro P[macro] D[macro]
   23195     next
   23196   } else {
   23197     # Replace #undef with comments.  This is necessary, for example,
   23198     # in the case of _POSIX_SOURCE, which is predefined and required
   23199     # on some systems where configure will not decide to define it.
   23200     if (defundef == "undef") {
   23201       print "/*", prefix defundef, macro, "*/"
   23202       next
   23203     }
   23204   }
   23205 }
   23206 { print }
   23207 _ACAWK
   23208 _ACEOF
   23209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23210   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   23211 fi # test -n "$CONFIG_HEADERS"
   23212 
   23213 
   23214 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23215 shift
   23216 for ac_tag
   23217 do
   23218   case $ac_tag in
   23219   :[FHLC]) ac_mode=$ac_tag; continue;;
   23220   esac
   23221   case $ac_mode$ac_tag in
   23222   :[FHL]*:*);;
   23223   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   23224   :[FH]-) ac_tag=-:-;;
   23225   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23226   esac
   23227   ac_save_IFS=$IFS
   23228   IFS=:
   23229   set x $ac_tag
   23230   IFS=$ac_save_IFS
   23231   shift
   23232   ac_file=$1
   23233   shift
   23234 
   23235   case $ac_mode in
   23236   :L) ac_source=$1;;
   23237   :[FH])
   23238     ac_file_inputs=
   23239     for ac_f
   23240     do
   23241       case $ac_f in
   23242       -) ac_f="$ac_tmp/stdin";;
   23243       *) # Look for the file first in the build tree, then in the source tree
   23244 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23245 	 # because $ac_f cannot contain ':'.
   23246 	 test -f "$ac_f" ||
   23247 	   case $ac_f in
   23248 	   [\\/$]*) false;;
   23249 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23250 	   esac ||
   23251 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   23252       esac
   23253       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23254       as_fn_append ac_file_inputs " '$ac_f'"
   23255     done
   23256 
   23257     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   23258     # use $as_me), people would be surprised to read:
   23259     #    /* config.h.  Generated by config.status.  */
   23260     configure_input='Generated from '`
   23261 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23262 	`' by configure.'
   23263     if test x"$ac_file" != x-; then
   23264       configure_input="$ac_file.  $configure_input"
   23265       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   23266 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   23267     fi
   23268     # Neutralize special characters interpreted by sed in replacement strings.
   23269     case $configure_input in #(
   23270     *\&* | *\|* | *\\* )
   23271        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   23272        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23273     *) ac_sed_conf_input=$configure_input;;
   23274     esac
   23275 
   23276     case $ac_tag in
   23277     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   23278       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   23279     esac
   23280     ;;
   23281   esac
   23282 
   23283   ac_dir=`$as_dirname -- "$ac_file" ||
   23284 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23285 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23286 	 X"$ac_file" : 'X\(//\)$' \| \
   23287 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23288 printf "%s\n" X"$ac_file" |
   23289     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23290 	    s//\1/
   23291 	    q
   23292 	  }
   23293 	  /^X\(\/\/\)[^/].*/{
   23294 	    s//\1/
   23295 	    q
   23296 	  }
   23297 	  /^X\(\/\/\)$/{
   23298 	    s//\1/
   23299 	    q
   23300 	  }
   23301 	  /^X\(\/\).*/{
   23302 	    s//\1/
   23303 	    q
   23304 	  }
   23305 	  s/.*/./; q'`
   23306   as_dir="$ac_dir"; as_fn_mkdir_p
   23307   ac_builddir=.
   23308 
   23309 case "$ac_dir" in
   23310 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23311 *)
   23312   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   23313   # A ".." for each directory in $ac_dir_suffix.
   23314   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23315   case $ac_top_builddir_sub in
   23316   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23317   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23318   esac ;;
   23319 esac
   23320 ac_abs_top_builddir=$ac_pwd
   23321 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23322 # for backward compatibility:
   23323 ac_top_builddir=$ac_top_build_prefix
   23324 
   23325 case $srcdir in
   23326   .)  # We are building in place.
   23327     ac_srcdir=.
   23328     ac_top_srcdir=$ac_top_builddir_sub
   23329     ac_abs_top_srcdir=$ac_pwd ;;
   23330   [\\/]* | ?:[\\/]* )  # Absolute name.
   23331     ac_srcdir=$srcdir$ac_dir_suffix;
   23332     ac_top_srcdir=$srcdir
   23333     ac_abs_top_srcdir=$srcdir ;;
   23334   *) # Relative name.
   23335     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23336     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23337     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23338 esac
   23339 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23340 
   23341 
   23342   case $ac_mode in
   23343   :F)
   23344   #
   23345   # CONFIG_FILE
   23346   #
   23347 
   23348   case $INSTALL in
   23349   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23350   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23351   esac
   23352   ac_MKDIR_P=$MKDIR_P
   23353   case $MKDIR_P in
   23354   [\\/$]* | ?:[\\/]* ) ;;
   23355   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23356   esac
   23357 _ACEOF
   23358 
   23359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23360 # If the template does not know about datarootdir, expand it.
   23361 # FIXME: This hack should be removed a few years after 2.60.
   23362 ac_datarootdir_hack=; ac_datarootdir_seen=
   23363 ac_sed_dataroot='
   23364 /datarootdir/ {
   23365   p
   23366   q
   23367 }
   23368 /@datadir@/p
   23369 /@docdir@/p
   23370 /@infodir@/p
   23371 /@localedir@/p
   23372 /@mandir@/p'
   23373 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23374 *datarootdir*) ac_datarootdir_seen=yes;;
   23375 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23376   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23377 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23378 _ACEOF
   23379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23380   ac_datarootdir_hack='
   23381   s&@datadir@&$datadir&g
   23382   s&@docdir@&$docdir&g
   23383   s&@infodir@&$infodir&g
   23384   s&@localedir@&$localedir&g
   23385   s&@mandir@&$mandir&g
   23386   s&\\\${datarootdir}&$datarootdir&g' ;;
   23387 esac
   23388 _ACEOF
   23389 
   23390 # Neutralize VPATH when '$srcdir' = '.'.
   23391 # Shell code in configure.ac might set extrasub.
   23392 # FIXME: do we really want to maintain this feature?
   23393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23394 ac_sed_extra="$ac_vpsub
   23395 $extrasub
   23396 _ACEOF
   23397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23398 :t
   23399 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23400 s|@configure_input@|$ac_sed_conf_input|;t t
   23401 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23402 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23403 s&@srcdir@&$ac_srcdir&;t t
   23404 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23405 s&@top_srcdir@&$ac_top_srcdir&;t t
   23406 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23407 s&@builddir@&$ac_builddir&;t t
   23408 s&@abs_builddir@&$ac_abs_builddir&;t t
   23409 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23410 s&@INSTALL@&$ac_INSTALL&;t t
   23411 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23412 $ac_datarootdir_hack
   23413 "
   23414 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   23415   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23416 
   23417 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23418   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   23419   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   23420       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   23421   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   23422 which seems to be undefined.  Please make sure it is defined" >&5
   23423 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   23424 which seems to be undefined.  Please make sure it is defined" >&2;}
   23425 
   23426   rm -f "$ac_tmp/stdin"
   23427   case $ac_file in
   23428   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   23429   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   23430   esac \
   23431   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23432  ;;
   23433   :H)
   23434   #
   23435   # CONFIG_HEADER
   23436   #
   23437   if test x"$ac_file" != x-; then
   23438     {
   23439       printf "%s\n" "/* $configure_input  */" >&1 \
   23440       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   23441     } >"$ac_tmp/config.h" \
   23442       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23443     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   23444       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   23445 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   23446     else
   23447       rm -f "$ac_file"
   23448       mv "$ac_tmp/config.h" "$ac_file" \
   23449 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23450     fi
   23451   else
   23452     printf "%s\n" "/* $configure_input  */" >&1 \
   23453       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   23454       || as_fn_error $? "could not create -" "$LINENO" 5
   23455   fi
   23456 # Compute "$ac_file"'s index in $config_headers.
   23457 _am_arg="$ac_file"
   23458 _am_stamp_count=1
   23459 for _am_header in $config_headers :; do
   23460   case $_am_header in
   23461     $_am_arg | $_am_arg:* )
   23462       break ;;
   23463     * )
   23464       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23465   esac
   23466 done
   23467 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23468 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23469 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23470 	 X"$_am_arg" : 'X\(//\)$' \| \
   23471 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23472 printf "%s\n" X"$_am_arg" |
   23473     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23474 	    s//\1/
   23475 	    q
   23476 	  }
   23477 	  /^X\(\/\/\)[^/].*/{
   23478 	    s//\1/
   23479 	    q
   23480 	  }
   23481 	  /^X\(\/\/\)$/{
   23482 	    s//\1/
   23483 	    q
   23484 	  }
   23485 	  /^X\(\/\).*/{
   23486 	    s//\1/
   23487 	    q
   23488 	  }
   23489 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23490  ;;
   23491 
   23492   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   23493 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   23494  ;;
   23495   esac
   23496 
   23497 
   23498   case $ac_file$ac_mode in
   23499     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23500   # Older Autoconf quotes --file arguments for eval, but not when files
   23501   # are listed without --file.  Let's play safe and only enable the eval
   23502   # if we detect the quoting.
   23503   # TODO: see whether this extra hack can be removed once we start
   23504   # requiring Autoconf 2.70 or later.
   23505   case $CONFIG_FILES in #(
   23506   *\'*) :
   23507     eval set x "$CONFIG_FILES" ;; #(
   23508   *) :
   23509     set x $CONFIG_FILES ;; #(
   23510   *) :
   23511      ;;
   23512 esac
   23513   shift
   23514   # Used to flag and report bootstrapping failures.
   23515   am_rc=0
   23516   for am_mf
   23517   do
   23518     # Strip MF so we end up with the name of the file.
   23519     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   23520     # Check whether this is an Automake generated Makefile which includes
   23521     # dependency-tracking related rules and includes.
   23522     # Grep'ing the whole file directly is not great: AIX grep has a line
   23523     # limit of 2048, but all sed's we know have understand at least 4000.
   23524     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   23525       || continue
   23526     am_dirpart=`$as_dirname -- "$am_mf" ||
   23527 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23528 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   23529 	 X"$am_mf" : 'X\(//\)$' \| \
   23530 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23531 printf "%s\n" X"$am_mf" |
   23532     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23533 	    s//\1/
   23534 	    q
   23535 	  }
   23536 	  /^X\(\/\/\)[^/].*/{
   23537 	    s//\1/
   23538 	    q
   23539 	  }
   23540 	  /^X\(\/\/\)$/{
   23541 	    s//\1/
   23542 	    q
   23543 	  }
   23544 	  /^X\(\/\).*/{
   23545 	    s//\1/
   23546 	    q
   23547 	  }
   23548 	  s/.*/./; q'`
   23549     am_filepart=`$as_basename -- "$am_mf" ||
   23550 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   23551 	 X"$am_mf" : 'X\(//\)$' \| \
   23552 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23553 printf "%s\n" X/"$am_mf" |
   23554     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23555 	    s//\1/
   23556 	    q
   23557 	  }
   23558 	  /^X\/\(\/\/\)$/{
   23559 	    s//\1/
   23560 	    q
   23561 	  }
   23562 	  /^X\/\(\/\).*/{
   23563 	    s//\1/
   23564 	    q
   23565 	  }
   23566 	  s/.*/./; q'`
   23567     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   23568       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23569         | $MAKE -f - am--depfiles" >&5
   23570    (cd "$am_dirpart" \
   23571       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23572         | $MAKE -f - am--depfiles) >&5 2>&5
   23573    ac_status=$?
   23574    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23575    (exit $ac_status); } || am_rc=$?
   23576   done
   23577   if test $am_rc -ne 0; then
   23578     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23579 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23580 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   23581     for automatic dependency tracking.  If GNU make was not used, consider
   23582     re-running the configure script with MAKE=\"gmake\" (or whatever is
   23583     necessary).  You can also try re-running configure with the
   23584     '--disable-dependency-tracking' option to at least be able to build
   23585     the package (albeit without support for automatic dependency tracking).
   23586 See 'config.log' for more details" "$LINENO" 5; }
   23587   fi
   23588   { am_dirpart=; unset am_dirpart;}
   23589   { am_filepart=; unset am_filepart;}
   23590   { am_mf=; unset am_mf;}
   23591   { am_rc=; unset am_rc;}
   23592   rm -f conftest-deps.mk
   23593 }
   23594  ;;
   23595     "libtool":C)
   23596 
   23597     # See if we are running on zsh, and set the options that allow our
   23598     # commands through without removal of \ escapes.
   23599     if test -n "${ZSH_VERSION+set}"; then
   23600       setopt NO_GLOB_SUBST
   23601     fi
   23602 
   23603     cfgfile=${ofile}T
   23604     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   23605     $RM "$cfgfile"
   23606 
   23607     cat <<_LT_EOF >> "$cfgfile"
   23608 #! $SHELL
   23609 # Generated automatically by $as_me ($PACKAGE) $VERSION
   23610 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   23611 
   23612 # Provide generalized library-building support services.
   23613 # Written by Gordon Matzigkeit, 1996
   23614 
   23615 # Copyright (C) 2024 Free Software Foundation, Inc.
   23616 # This is free software; see the source for copying conditions.  There is NO
   23617 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   23618 
   23619 # GNU Libtool is free software; you can redistribute it and/or modify
   23620 # it under the terms of the GNU General Public License as published by
   23621 # the Free Software Foundation; either version 2 of the License, or
   23622 # (at your option) any later version.
   23623 #
   23624 # As a special exception to the GNU General Public License, if you
   23625 # distribute this file as part of a program or library that is built
   23626 # using GNU Libtool, you may include this file under the  same
   23627 # distribution terms that you use for the rest of that program.
   23628 #
   23629 # GNU Libtool is distributed in the hope that it will be useful, but
   23630 # WITHOUT ANY WARRANTY; without even the implied warranty of
   23631 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   23632 # GNU General Public License for more details.
   23633 #
   23634 # You should have received a copy of the GNU General Public License
   23635 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   23636 
   23637 
   23638 # The names of the tagged configurations supported by this script.
   23639 available_tags=''
   23640 
   23641 # Configured defaults for sys_lib_dlsearch_path munging.
   23642 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   23643 
   23644 # ### BEGIN LIBTOOL CONFIG
   23645 
   23646 # Which release of libtool.m4 was used?
   23647 macro_version=$macro_version
   23648 macro_revision=$macro_revision
   23649 
   23650 # Whether or not to build shared libraries.
   23651 build_libtool_libs=$enable_shared
   23652 
   23653 # Whether or not to build static libraries.
   23654 build_old_libs=$enable_static
   23655 
   23656 # What type of objects to build.
   23657 pic_mode=$pic_mode
   23658 
   23659 # Whether or not to optimize for fast installation.
   23660 fast_install=$enable_fast_install
   23661 
   23662 # Shared archive member basename,for filename based shared library versioning on AIX.
   23663 shared_archive_member_spec=$shared_archive_member_spec
   23664 
   23665 # Shell to use when invoking shell scripts.
   23666 SHELL=$lt_SHELL
   23667 
   23668 # An echo program that protects backslashes.
   23669 ECHO=$lt_ECHO
   23670 
   23671 # The PATH separator for the build system.
   23672 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   23673 
   23674 # The host system.
   23675 host_alias=$host_alias
   23676 host=$host
   23677 host_os=$host_os
   23678 
   23679 # The build system.
   23680 build_alias=$build_alias
   23681 build=$build
   23682 build_os=$build_os
   23683 
   23684 # A sed program that does not truncate output.
   23685 SED=$lt_SED
   23686 
   23687 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   23688 Xsed="\$SED -e 1s/^X//"
   23689 
   23690 # A grep program that handles long lines.
   23691 GREP=$lt_GREP
   23692 
   23693 # An ERE matcher.
   23694 EGREP=$lt_EGREP
   23695 
   23696 # A literal string matcher.
   23697 FGREP=$lt_FGREP
   23698 
   23699 # A BSD- or MS-compatible name lister.
   23700 NM=$lt_NM
   23701 
   23702 # Whether we need soft or hard links.
   23703 LN_S=$lt_LN_S
   23704 
   23705 # What is the maximum length of a command?
   23706 max_cmd_len=$max_cmd_len
   23707 
   23708 # Object file suffix (normally "o").
   23709 objext=$ac_objext
   23710 
   23711 # Executable file suffix (normally "").
   23712 exeext=$exeext
   23713 
   23714 # whether the shell understands "unset".
   23715 lt_unset=$lt_unset
   23716 
   23717 # turn spaces into newlines.
   23718 SP2NL=$lt_lt_SP2NL
   23719 
   23720 # turn newlines into spaces.
   23721 NL2SP=$lt_lt_NL2SP
   23722 
   23723 # convert \$build file names to \$host format.
   23724 to_host_file_cmd=$lt_cv_to_host_file_cmd
   23725 
   23726 # convert \$build files to toolchain format.
   23727 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   23728 
   23729 # A file(cmd) program that detects file types.
   23730 FILECMD=$lt_FILECMD
   23731 
   23732 # An object symbol dumper.
   23733 OBJDUMP=$lt_OBJDUMP
   23734 
   23735 # Method to check whether dependent libraries are shared objects.
   23736 deplibs_check_method=$lt_deplibs_check_method
   23737 
   23738 # Command to use when deplibs_check_method = "file_magic".
   23739 file_magic_cmd=$lt_file_magic_cmd
   23740 
   23741 # How to find potential files when deplibs_check_method = "file_magic".
   23742 file_magic_glob=$lt_file_magic_glob
   23743 
   23744 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   23745 want_nocaseglob=$lt_want_nocaseglob
   23746 
   23747 # DLL creation program.
   23748 DLLTOOL=$lt_DLLTOOL
   23749 
   23750 # Command to associate shared and link libraries.
   23751 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   23752 
   23753 # The archiver.
   23754 AR=$lt_AR
   23755 
   23756 # Flags to create an archive (by configure).
   23757 lt_ar_flags=$lt_ar_flags
   23758 
   23759 # Flags to create an archive.
   23760 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   23761 
   23762 # How to feed a file listing to the archiver.
   23763 archiver_list_spec=$lt_archiver_list_spec
   23764 
   23765 # A symbol stripping program.
   23766 STRIP=$lt_STRIP
   23767 
   23768 # Commands used to install an old-style archive.
   23769 RANLIB=$lt_RANLIB
   23770 old_postinstall_cmds=$lt_old_postinstall_cmds
   23771 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   23772 
   23773 # Whether to use a lock for old archive extraction.
   23774 lock_old_archive_extraction=$lock_old_archive_extraction
   23775 
   23776 # A C compiler.
   23777 LTCC=$lt_CC
   23778 
   23779 # LTCC compiler flags.
   23780 LTCFLAGS=$lt_CFLAGS
   23781 
   23782 # Take the output of nm and produce a listing of raw symbols and C names.
   23783 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   23784 
   23785 # Transform the output of nm in a proper C declaration.
   23786 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   23787 
   23788 # Transform the output of nm into a list of symbols to manually relocate.
   23789 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   23790 
   23791 # Transform the output of nm in a C name address pair.
   23792 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   23793 
   23794 # Transform the output of nm in a C name address pair when lib prefix is needed.
   23795 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   23796 
   23797 # The name lister interface.
   23798 nm_interface=$lt_lt_cv_nm_interface
   23799 
   23800 # Specify filename containing input files for \$NM.
   23801 nm_file_list_spec=$lt_nm_file_list_spec
   23802 
   23803 # The root where to search for dependent libraries,and where our libraries should be installed.
   23804 lt_sysroot=$lt_sysroot
   23805 
   23806 # Command to truncate a binary pipe.
   23807 lt_truncate_bin=$lt_lt_cv_truncate_bin
   23808 
   23809 # The name of the directory that contains temporary libtool files.
   23810 objdir=$objdir
   23811 
   23812 # Used to examine libraries when file_magic_cmd begins with "file".
   23813 MAGIC_CMD=$MAGIC_CMD
   23814 
   23815 # Must we lock files when doing compilation?
   23816 need_locks=$lt_need_locks
   23817 
   23818 # Manifest tool.
   23819 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   23820 
   23821 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   23822 DSYMUTIL=$lt_DSYMUTIL
   23823 
   23824 # Tool to change global to local symbols on Mac OS X.
   23825 NMEDIT=$lt_NMEDIT
   23826 
   23827 # Tool to manipulate fat objects and archives on Mac OS X.
   23828 LIPO=$lt_LIPO
   23829 
   23830 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   23831 OTOOL=$lt_OTOOL
   23832 
   23833 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   23834 OTOOL64=$lt_OTOOL64
   23835 
   23836 # Old archive suffix (normally "a").
   23837 libext=$libext
   23838 
   23839 # Shared library suffix (normally ".so").
   23840 shrext_cmds=$lt_shrext_cmds
   23841 
   23842 # The commands to extract the exported symbol list from a shared archive.
   23843 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23844 
   23845 # Variables whose values should be saved in libtool wrapper scripts and
   23846 # restored at link time.
   23847 variables_saved_for_relink=$lt_variables_saved_for_relink
   23848 
   23849 # Do we need the "lib" prefix for modules?
   23850 need_lib_prefix=$need_lib_prefix
   23851 
   23852 # Do we need a version for libraries?
   23853 need_version=$need_version
   23854 
   23855 # Library versioning type.
   23856 version_type=$version_type
   23857 
   23858 # Shared library runtime path variable.
   23859 runpath_var=$runpath_var
   23860 
   23861 # Shared library path variable.
   23862 shlibpath_var=$shlibpath_var
   23863 
   23864 # Is shlibpath searched before the hard-coded library search path?
   23865 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23866 
   23867 # Format of library name prefix.
   23868 libname_spec=$lt_libname_spec
   23869 
   23870 # List of archive names.  First name is the real one, the rest are links.
   23871 # The last name is the one that the linker finds with -lNAME
   23872 library_names_spec=$lt_library_names_spec
   23873 
   23874 # The coded name of the library, if different from the real name.
   23875 soname_spec=$lt_soname_spec
   23876 
   23877 # Permission mode override for installation of shared libraries.
   23878 install_override_mode=$lt_install_override_mode
   23879 
   23880 # Command to use after installation of a shared archive.
   23881 postinstall_cmds=$lt_postinstall_cmds
   23882 
   23883 # Command to use after uninstallation of a shared archive.
   23884 postuninstall_cmds=$lt_postuninstall_cmds
   23885 
   23886 # Commands used to finish a libtool library installation in a directory.
   23887 finish_cmds=$lt_finish_cmds
   23888 
   23889 # As "finish_cmds", except a single script fragment to be evaled but
   23890 # not shown.
   23891 finish_eval=$lt_finish_eval
   23892 
   23893 # Whether we should hardcode library paths into libraries.
   23894 hardcode_into_libs=$hardcode_into_libs
   23895 
   23896 # Compile-time system search path for libraries.
   23897 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23898 
   23899 # Detected run-time system search path for libraries.
   23900 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   23901 
   23902 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   23903 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   23904 
   23905 # Whether dlopen is supported.
   23906 dlopen_support=$enable_dlopen
   23907 
   23908 # Whether dlopen of programs is supported.
   23909 dlopen_self=$enable_dlopen_self
   23910 
   23911 # Whether dlopen of statically linked programs is supported.
   23912 dlopen_self_static=$enable_dlopen_self_static
   23913 
   23914 # Commands to strip libraries.
   23915 old_striplib=$lt_old_striplib
   23916 striplib=$lt_striplib
   23917 
   23918 
   23919 # The linker used to build libraries.
   23920 LD=$lt_LD
   23921 
   23922 # How to create reloadable object files.
   23923 reload_flag=$lt_reload_flag
   23924 reload_cmds=$lt_reload_cmds
   23925 
   23926 # Commands used to build an old-style archive.
   23927 old_archive_cmds=$lt_old_archive_cmds
   23928 
   23929 # A language specific compiler.
   23930 CC=$lt_compiler
   23931 
   23932 # Is the compiler the GNU compiler?
   23933 with_gcc=$GCC
   23934 
   23935 # Compiler flag to turn off builtin functions.
   23936 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23937 
   23938 # Additional compiler flags for building library objects.
   23939 pic_flag=$lt_lt_prog_compiler_pic
   23940 
   23941 # How to pass a linker flag through the compiler.
   23942 wl=$lt_lt_prog_compiler_wl
   23943 
   23944 # Compiler flag to prevent dynamic linking.
   23945 link_static_flag=$lt_lt_prog_compiler_static
   23946 
   23947 # Does compiler simultaneously support -c and -o options?
   23948 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23949 
   23950 # Whether or not to add -lc for building shared libraries.
   23951 build_libtool_need_lc=$archive_cmds_need_lc
   23952 
   23953 # Whether or not to disallow shared libs when runtime libs are static.
   23954 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23955 
   23956 # Compiler flag to allow reflexive dlopens.
   23957 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23958 
   23959 # Compiler flag to generate shared objects directly from archives.
   23960 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23961 
   23962 # Whether the compiler copes with passing no objects directly.
   23963 compiler_needs_object=$lt_compiler_needs_object
   23964 
   23965 # Create an old-style archive from a shared archive.
   23966 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23967 
   23968 # Create a temporary old-style archive to link instead of a shared archive.
   23969 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23970 
   23971 # Commands used to build a shared archive.
   23972 archive_cmds=$lt_archive_cmds
   23973 archive_expsym_cmds=$lt_archive_expsym_cmds
   23974 
   23975 # Commands used to build a loadable module if different from building
   23976 # a shared archive.
   23977 module_cmds=$lt_module_cmds
   23978 module_expsym_cmds=$lt_module_expsym_cmds
   23979 
   23980 # Whether we are building with GNU ld or not.
   23981 with_gnu_ld=$lt_with_gnu_ld
   23982 
   23983 # Flag that allows shared libraries with undefined symbols to be built.
   23984 allow_undefined_flag=$lt_allow_undefined_flag
   23985 
   23986 # Flag that enforces no undefined symbols.
   23987 no_undefined_flag=$lt_no_undefined_flag
   23988 
   23989 # Flag to hardcode \$libdir into a binary during linking.
   23990 # This must work even if \$libdir does not exist
   23991 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23992 
   23993 # Whether we need a single "-rpath" flag with a separated argument.
   23994 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23995 
   23996 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23997 # DIR into the resulting binary.
   23998 hardcode_direct=$hardcode_direct
   23999 
   24000 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   24001 # DIR into the resulting binary and the resulting library dependency is
   24002 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   24003 # library is relocated.
   24004 hardcode_direct_absolute=$hardcode_direct_absolute
   24005 
   24006 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   24007 # into the resulting binary.
   24008 hardcode_minus_L=$hardcode_minus_L
   24009 
   24010 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   24011 # into the resulting binary.
   24012 hardcode_shlibpath_var=$hardcode_shlibpath_var
   24013 
   24014 # Set to "yes" if building a shared library automatically hardcodes DIR
   24015 # into the library and all subsequent libraries and executables linked
   24016 # against it.
   24017 hardcode_automatic=$hardcode_automatic
   24018 
   24019 # Set to yes if linker adds runtime paths of dependent libraries
   24020 # to runtime path list.
   24021 inherit_rpath=$inherit_rpath
   24022 
   24023 # Whether libtool must link a program against all its dependency libraries.
   24024 link_all_deplibs=$link_all_deplibs
   24025 
   24026 # Set to "yes" if exported symbols are required.
   24027 always_export_symbols=$always_export_symbols
   24028 
   24029 # The commands to list exported symbols.
   24030 export_symbols_cmds=$lt_export_symbols_cmds
   24031 
   24032 # Symbols that should not be listed in the preloaded symbols.
   24033 exclude_expsyms=$lt_exclude_expsyms
   24034 
   24035 # Symbols that must always be exported.
   24036 include_expsyms=$lt_include_expsyms
   24037 
   24038 # Commands necessary for linking programs (against libraries) with templates.
   24039 prelink_cmds=$lt_prelink_cmds
   24040 
   24041 # Commands necessary for finishing linking programs.
   24042 postlink_cmds=$lt_postlink_cmds
   24043 
   24044 # Specify filename containing input files.
   24045 file_list_spec=$lt_file_list_spec
   24046 
   24047 # How to hardcode a shared library path into an executable.
   24048 hardcode_action=$hardcode_action
   24049 
   24050 # ### END LIBTOOL CONFIG
   24051 
   24052 _LT_EOF
   24053 
   24054     cat <<'_LT_EOF' >> "$cfgfile"
   24055 
   24056 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   24057 
   24058 # func_munge_path_list VARIABLE PATH
   24059 # -----------------------------------
   24060 # VARIABLE is name of variable containing _space_ separated list of
   24061 # directories to be munged by the contents of PATH, which is string
   24062 # having a format:
   24063 # "DIR[:DIR]:"
   24064 #       string "DIR[ DIR]" will be prepended to VARIABLE
   24065 # ":DIR[:DIR]"
   24066 #       string "DIR[ DIR]" will be appended to VARIABLE
   24067 # "DIRP[:DIRP]::[DIRA:]DIRA"
   24068 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   24069 #       "DIRA[ DIRA]" will be appended to VARIABLE
   24070 # "DIR[:DIR]"
   24071 #       VARIABLE will be replaced by "DIR[ DIR]"
   24072 func_munge_path_list ()
   24073 {
   24074     case x$2 in
   24075     x)
   24076         ;;
   24077     *:)
   24078         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   24079         ;;
   24080     x:*)
   24081         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   24082         ;;
   24083     *::*)
   24084         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   24085         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   24086         ;;
   24087     *)
   24088         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   24089         ;;
   24090     esac
   24091 }
   24092 
   24093 
   24094 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   24095 func_cc_basename ()
   24096 {
   24097     for cc_temp in $*""; do
   24098       case $cc_temp in
   24099         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   24100         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   24101         \-*) ;;
   24102         *) break;;
   24103       esac
   24104     done
   24105     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   24106 }
   24107 
   24108 
   24109 # ### END FUNCTIONS SHARED WITH CONFIGURE
   24110 
   24111 _LT_EOF
   24112 
   24113   case $host_os in
   24114   aix3*)
   24115     cat <<\_LT_EOF >> "$cfgfile"
   24116 # AIX sometimes has problems with the GCC collect2 program.  For some
   24117 # reason, if we set the COLLECT_NAMES environment variable, the problems
   24118 # vanish in a puff of smoke.
   24119 if test set != "${COLLECT_NAMES+set}"; then
   24120   COLLECT_NAMES=
   24121   export COLLECT_NAMES
   24122 fi
   24123 _LT_EOF
   24124     ;;
   24125   esac
   24126 
   24127 
   24128 
   24129 ltmain=$ac_aux_dir/ltmain.sh
   24130 
   24131 
   24132   # We use sed instead of cat because bash on DJGPP gets confused if
   24133   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   24134   # text mode, it properly converts lines to CR/LF.  This bash problem
   24135   # is reportedly fixed, but why not run on old versions too?
   24136   $SED '$q' "$ltmain" >> "$cfgfile" \
   24137      || (rm -f "$cfgfile"; exit 1)
   24138 
   24139    mv -f "$cfgfile" "$ofile" ||
   24140     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   24141   chmod +x "$ofile"
   24142 
   24143  ;;
   24144 
   24145   esac
   24146 done # for ac_tag
   24147 
   24148 
   24149 as_fn_exit 0
   24150 _ACEOF
   24151 ac_clean_files=$ac_clean_files_save
   24152 
   24153 test $ac_write_fail = 0 ||
   24154   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   24155 
   24156 
   24157 # configure is writing to config.log, and then calls config.status.
   24158 # config.status does its own redirection, appending to config.log.
   24159 # Unfortunately, on DOS this fails, as config.log is still kept open
   24160 # by configure, so config.status won't be able to write to it; its
   24161 # output is simply discarded.  So we exec the FD to /dev/null,
   24162 # effectively closing config.log, so it can be properly (re)opened and
   24163 # appended to by config.status.  When coming back to configure, we
   24164 # need to make the FD available again.
   24165 if test "$no_create" != yes; then
   24166   ac_cs_success=:
   24167   ac_config_status_args=
   24168   test "$silent" = yes &&
   24169     ac_config_status_args="$ac_config_status_args --quiet"
   24170   exec 5>/dev/null
   24171   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24172   exec 5>>config.log
   24173   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24174   # would make configure fail if this is the last instruction.
   24175   $ac_cs_success || as_fn_exit 1
   24176 fi
   24177 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   24178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   24179 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   24180 fi
   24181 
   24182 
   24183