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 libXfont2 2.0.8.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxfont/-/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/libxfont/-/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='libXfont2'
    677 PACKAGE_TARNAME='libXfont2'
    678 PACKAGE_VERSION='2.0.8'
    679 PACKAGE_STRING='libXfont2 2.0.8'
    680 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxfont/-/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_config_libobj_dir=src/util
    717 enable_year2038=no
    718 ac_subst_vars='am__EXEEXT_FALSE
    719 am__EXEEXT_TRUE
    720 LTLIBOBJS
    721 OS_CFLAGS
    722 XFONT_LIBS
    723 XFONT_CFLAGS
    724 MATH_LIBS
    725 XFONT_FC_FALSE
    726 XFONT_FC_TRUE
    727 XFONT_FONTFILE_FALSE
    728 XFONT_FONTFILE_TRUE
    729 XFONT_BITMAP_FALSE
    730 XFONT_BITMAP_TRUE
    731 XFONT_SNFFORMAT_FALSE
    732 XFONT_SNFFORMAT_TRUE
    733 XFONT_BDFFORMAT_FALSE
    734 XFONT_BDFFORMAT_TRUE
    735 XFONT_PCF_OR_BUILTIN_FALSE
    736 XFONT_PCF_OR_BUILTIN_TRUE
    737 XFONT_PCFFORMAT_FALSE
    738 XFONT_PCFFORMAT_TRUE
    739 XFONT_BUILTINS_FALSE
    740 XFONT_BUILTINS_TRUE
    741 Z_LIBS
    742 X_BZIP2_FONT_COMPRESSION_FALSE
    743 X_BZIP2_FONT_COMPRESSION_TRUE
    744 Z_REQUIRES
    745 ZLIB_LIBS
    746 ZLIB_CFLAGS
    747 X_GZIP_FONT_COMPRESSION
    748 FREETYPE_REQUIRES
    749 ft_config
    750 FREETYPE_LIBS
    751 FREETYPE_CFLAGS
    752 XFONT_FREETYPE_FALSE
    753 XFONT_FREETYPE_TRUE
    754 LIBOBJS
    755 LIBBSD_LIBS
    756 LIBBSD_CFLAGS
    757 HAVE_PYTHON_FALSE
    758 HAVE_PYTHON_TRUE
    759 pkgpyexecdir
    760 pyexecdir
    761 pkgpythondir
    762 pythondir
    763 PYTHON_EXEC_PREFIX
    764 PYTHON_PREFIX
    765 PYTHON_PLATFORM
    766 PYTHON_VERSION
    767 PYTHON
    768 HAVE_STYLESHEETS_FALSE
    769 HAVE_STYLESHEETS_TRUE
    770 XSL_STYLESHEET
    771 STYLESHEET_SRCDIR
    772 XORG_SGML_PATH
    773 HAVE_FOP_FALSE
    774 HAVE_FOP_TRUE
    775 FOP
    776 HAVE_XMLTO_FALSE
    777 HAVE_XMLTO_TRUE
    778 HAVE_XMLTO_TEXT_FALSE
    779 HAVE_XMLTO_TEXT_TRUE
    780 XMLTO
    781 ENABLE_DEVEL_DOCS_FALSE
    782 ENABLE_DEVEL_DOCS_TRUE
    783 MAN_SUBSTS
    784 XORG_MAN_PAGE
    785 ADMIN_MAN_DIR
    786 DRIVER_MAN_DIR
    787 MISC_MAN_DIR
    788 FILE_MAN_DIR
    789 LIB_MAN_DIR
    790 APP_MAN_DIR
    791 ADMIN_MAN_SUFFIX
    792 DRIVER_MAN_SUFFIX
    793 MISC_MAN_SUFFIX
    794 FILE_MAN_SUFFIX
    795 LIB_MAN_SUFFIX
    796 APP_MAN_SUFFIX
    797 INSTALL_CMD
    798 PKG_CONFIG_LIBDIR
    799 PKG_CONFIG_PATH
    800 PKG_CONFIG
    801 CHANGELOG_CMD
    802 STRICT_CFLAGS
    803 CWARNFLAGS
    804 BASE_CFLAGS
    805 LT_SYS_LIBRARY_PATH
    806 OTOOL64
    807 OTOOL
    808 LIPO
    809 NMEDIT
    810 DSYMUTIL
    811 MANIFEST_TOOL
    812 RANLIB
    813 ac_ct_AR
    814 AR
    815 DLLTOOL
    816 OBJDUMP
    817 FILECMD
    818 LN_S
    819 NM
    820 ac_ct_DUMPBIN
    821 DUMPBIN
    822 LD
    823 FGREP
    824 EGREP
    825 GREP
    826 SED
    827 host_os
    828 host_vendor
    829 host_cpu
    830 host
    831 build_os
    832 build_vendor
    833 build_cpu
    834 build
    835 LIBTOOL
    836 am__fastdepCC_FALSE
    837 am__fastdepCC_TRUE
    838 CCDEPMODE
    839 am__nodep
    840 AMDEPBACKSLASH
    841 AMDEP_FALSE
    842 AMDEP_TRUE
    843 am__include
    844 DEPDIR
    845 OBJEXT
    846 EXEEXT
    847 ac_ct_CC
    848 CPPFLAGS
    849 LDFLAGS
    850 CFLAGS
    851 CC
    852 am__xargs_n
    853 am__rm_f_notfound
    854 AM_BACKSLASH
    855 AM_DEFAULT_VERBOSITY
    856 AM_DEFAULT_V
    857 AM_V
    858 CSCOPE
    859 ETAGS
    860 CTAGS
    861 am__untar
    862 am__tar
    863 AMTAR
    864 am__leading_dot
    865 SET_MAKE
    866 AWK
    867 mkdir_p
    868 MKDIR_P
    869 INSTALL_STRIP_PROGRAM
    870 STRIP
    871 install_sh
    872 MAKEINFO
    873 AUTOHEADER
    874 AUTOMAKE
    875 AUTOCONF
    876 ACLOCAL
    877 VERSION
    878 PACKAGE
    879 CYGPATH_W
    880 am__isrc
    881 INSTALL_DATA
    882 INSTALL_SCRIPT
    883 INSTALL_PROGRAM
    884 target_alias
    885 host_alias
    886 build_alias
    887 LIBS
    888 ECHO_T
    889 ECHO_N
    890 ECHO_C
    891 DEFS
    892 mandir
    893 localedir
    894 libdir
    895 psdir
    896 pdfdir
    897 dvidir
    898 htmldir
    899 infodir
    900 docdir
    901 oldincludedir
    902 includedir
    903 runstatedir
    904 localstatedir
    905 sharedstatedir
    906 sysconfdir
    907 datadir
    908 datarootdir
    909 libexecdir
    910 sbindir
    911 bindir
    912 program_transform_name
    913 prefix
    914 exec_prefix
    915 PACKAGE_URL
    916 PACKAGE_BUGREPORT
    917 PACKAGE_STRING
    918 PACKAGE_VERSION
    919 PACKAGE_TARNAME
    920 PACKAGE_NAME
    921 PATH_SEPARATOR
    922 SHELL
    923 am__quote'
    924 ac_subst_files=''
    925 ac_user_opts='
    926 enable_option_checking
    927 enable_silent_rules
    928 enable_dependency_tracking
    929 enable_shared
    930 enable_static
    931 enable_pic
    932 with_pic
    933 enable_fast_install
    934 enable_aix_soname
    935 with_aix_soname
    936 with_gnu_ld
    937 with_sysroot
    938 enable_libtool_lock
    939 enable_selective_werror
    940 enable_strict_compilation
    941 enable_devel_docs
    942 with_xmlto
    943 with_fop
    944 with_python_sys_prefix
    945 with_python_prefix
    946 with_python_exec_prefix
    947 enable_largefile
    948 enable_freetype
    949 with_freetype_config
    950 with_bzip2
    951 enable_builtins
    952 enable_pcfformat
    953 enable_bdfformat
    954 enable_snfformat
    955 enable_fc
    956 enable_unix_transport
    957 enable_tcp_transport
    958 enable_ipv6
    959 enable_local_transport
    960 enable_year2038
    961 '
    962       ac_precious_vars='build_alias
    963 host_alias
    964 target_alias
    965 CC
    966 CFLAGS
    967 LDFLAGS
    968 LIBS
    969 CPPFLAGS
    970 LT_SYS_LIBRARY_PATH
    971 PKG_CONFIG
    972 PKG_CONFIG_PATH
    973 PKG_CONFIG_LIBDIR
    974 XMLTO
    975 FOP
    976 PYTHON
    977 LIBBSD_CFLAGS
    978 LIBBSD_LIBS
    979 FREETYPE_CFLAGS
    980 FREETYPE_LIBS
    981 ZLIB_CFLAGS
    982 ZLIB_LIBS
    983 XFONT_CFLAGS
    984 XFONT_LIBS'
    985 
    986 
    987 # Initialize some variables set by options.
    988 ac_init_help=
    989 ac_init_version=false
    990 ac_unrecognized_opts=
    991 ac_unrecognized_sep=
    992 # The variables have the same names as the options, with
    993 # dashes changed to underlines.
    994 cache_file=/dev/null
    995 exec_prefix=NONE
    996 no_create=
    997 no_recursion=
    998 prefix=NONE
    999 program_prefix=NONE
   1000 program_suffix=NONE
   1001 program_transform_name=s,x,x,
   1002 silent=
   1003 site=
   1004 srcdir=
   1005 verbose=
   1006 x_includes=NONE
   1007 x_libraries=NONE
   1008 
   1009 # Installation directory options.
   1010 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1011 # and all the variables that are supposed to be based on exec_prefix
   1012 # by default will actually change.
   1013 # Use braces instead of parens because sh, perl, etc. also accept them.
   1014 # (The list follows the same order as the GNU Coding Standards.)
   1015 bindir='${exec_prefix}/bin'
   1016 sbindir='${exec_prefix}/sbin'
   1017 libexecdir='${exec_prefix}/libexec'
   1018 datarootdir='${prefix}/share'
   1019 datadir='${datarootdir}'
   1020 sysconfdir='${prefix}/etc'
   1021 sharedstatedir='${prefix}/com'
   1022 localstatedir='${prefix}/var'
   1023 runstatedir='${localstatedir}/run'
   1024 includedir='${prefix}/include'
   1025 oldincludedir='/usr/include'
   1026 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1027 infodir='${datarootdir}/info'
   1028 htmldir='${docdir}'
   1029 dvidir='${docdir}'
   1030 pdfdir='${docdir}'
   1031 psdir='${docdir}'
   1032 libdir='${exec_prefix}/lib'
   1033 localedir='${datarootdir}/locale'
   1034 mandir='${datarootdir}/man'
   1035 
   1036 ac_prev=
   1037 ac_dashdash=
   1038 for ac_option
   1039 do
   1040   # If the previous option needs an argument, assign it.
   1041   if test -n "$ac_prev"; then
   1042     eval $ac_prev=\$ac_option
   1043     ac_prev=
   1044     continue
   1045   fi
   1046 
   1047   case $ac_option in
   1048   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1049   *=)   ac_optarg= ;;
   1050   *)    ac_optarg=yes ;;
   1051   esac
   1052 
   1053   case $ac_dashdash$ac_option in
   1054   --)
   1055     ac_dashdash=yes ;;
   1056 
   1057   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1058     ac_prev=bindir ;;
   1059   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1060     bindir=$ac_optarg ;;
   1061 
   1062   -build | --build | --buil | --bui | --bu)
   1063     ac_prev=build_alias ;;
   1064   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1065     build_alias=$ac_optarg ;;
   1066 
   1067   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1068   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1069     ac_prev=cache_file ;;
   1070   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1071   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1072     cache_file=$ac_optarg ;;
   1073 
   1074   --config-cache | -C)
   1075     cache_file=config.cache ;;
   1076 
   1077   -datadir | --datadir | --datadi | --datad)
   1078     ac_prev=datadir ;;
   1079   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1080     datadir=$ac_optarg ;;
   1081 
   1082   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1083   | --dataroo | --dataro | --datar)
   1084     ac_prev=datarootdir ;;
   1085   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1086   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1087     datarootdir=$ac_optarg ;;
   1088 
   1089   -disable-* | --disable-*)
   1090     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1091     # Reject names that are not valid shell variable names.
   1092     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1093       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1094     ac_useropt_orig=$ac_useropt
   1095     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1096     case $ac_user_opts in
   1097       *"
   1098 "enable_$ac_useropt"
   1099 "*) ;;
   1100       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1101 	 ac_unrecognized_sep=', ';;
   1102     esac
   1103     eval enable_$ac_useropt=no ;;
   1104 
   1105   -docdir | --docdir | --docdi | --doc | --do)
   1106     ac_prev=docdir ;;
   1107   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1108     docdir=$ac_optarg ;;
   1109 
   1110   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1111     ac_prev=dvidir ;;
   1112   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1113     dvidir=$ac_optarg ;;
   1114 
   1115   -enable-* | --enable-*)
   1116     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1117     # Reject names that are not valid shell variable names.
   1118     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1119       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1120     ac_useropt_orig=$ac_useropt
   1121     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1122     case $ac_user_opts in
   1123       *"
   1124 "enable_$ac_useropt"
   1125 "*) ;;
   1126       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1127 	 ac_unrecognized_sep=', ';;
   1128     esac
   1129     eval enable_$ac_useropt=\$ac_optarg ;;
   1130 
   1131   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1132   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1133   | --exec | --exe | --ex)
   1134     ac_prev=exec_prefix ;;
   1135   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1136   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1137   | --exec=* | --exe=* | --ex=*)
   1138     exec_prefix=$ac_optarg ;;
   1139 
   1140   -gas | --gas | --ga | --g)
   1141     # Obsolete; use --with-gas.
   1142     with_gas=yes ;;
   1143 
   1144   -help | --help | --hel | --he | -h)
   1145     ac_init_help=long ;;
   1146   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1147     ac_init_help=recursive ;;
   1148   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1149     ac_init_help=short ;;
   1150 
   1151   -host | --host | --hos | --ho)
   1152     ac_prev=host_alias ;;
   1153   -host=* | --host=* | --hos=* | --ho=*)
   1154     host_alias=$ac_optarg ;;
   1155 
   1156   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1157     ac_prev=htmldir ;;
   1158   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1159   | --ht=*)
   1160     htmldir=$ac_optarg ;;
   1161 
   1162   -includedir | --includedir | --includedi | --included | --include \
   1163   | --includ | --inclu | --incl | --inc)
   1164     ac_prev=includedir ;;
   1165   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1166   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1167     includedir=$ac_optarg ;;
   1168 
   1169   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1170     ac_prev=infodir ;;
   1171   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1172     infodir=$ac_optarg ;;
   1173 
   1174   -libdir | --libdir | --libdi | --libd)
   1175     ac_prev=libdir ;;
   1176   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1177     libdir=$ac_optarg ;;
   1178 
   1179   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1180   | --libexe | --libex | --libe)
   1181     ac_prev=libexecdir ;;
   1182   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1183   | --libexe=* | --libex=* | --libe=*)
   1184     libexecdir=$ac_optarg ;;
   1185 
   1186   -localedir | --localedir | --localedi | --localed | --locale)
   1187     ac_prev=localedir ;;
   1188   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1189     localedir=$ac_optarg ;;
   1190 
   1191   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1192   | --localstate | --localstat | --localsta | --localst | --locals)
   1193     ac_prev=localstatedir ;;
   1194   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1195   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1196     localstatedir=$ac_optarg ;;
   1197 
   1198   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1199     ac_prev=mandir ;;
   1200   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1201     mandir=$ac_optarg ;;
   1202 
   1203   -nfp | --nfp | --nf)
   1204     # Obsolete; use --without-fp.
   1205     with_fp=no ;;
   1206 
   1207   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1208   | --no-cr | --no-c | -n)
   1209     no_create=yes ;;
   1210 
   1211   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1212   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1213     no_recursion=yes ;;
   1214 
   1215   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1216   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1217   | --oldin | --oldi | --old | --ol | --o)
   1218     ac_prev=oldincludedir ;;
   1219   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1220   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1221   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1222     oldincludedir=$ac_optarg ;;
   1223 
   1224   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1225     ac_prev=prefix ;;
   1226   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1227     prefix=$ac_optarg ;;
   1228 
   1229   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1230   | --program-pre | --program-pr | --program-p)
   1231     ac_prev=program_prefix ;;
   1232   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1233   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1234     program_prefix=$ac_optarg ;;
   1235 
   1236   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1237   | --program-suf | --program-su | --program-s)
   1238     ac_prev=program_suffix ;;
   1239   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1240   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1241     program_suffix=$ac_optarg ;;
   1242 
   1243   -program-transform-name | --program-transform-name \
   1244   | --program-transform-nam | --program-transform-na \
   1245   | --program-transform-n | --program-transform- \
   1246   | --program-transform | --program-transfor \
   1247   | --program-transfo | --program-transf \
   1248   | --program-trans | --program-tran \
   1249   | --progr-tra | --program-tr | --program-t)
   1250     ac_prev=program_transform_name ;;
   1251   -program-transform-name=* | --program-transform-name=* \
   1252   | --program-transform-nam=* | --program-transform-na=* \
   1253   | --program-transform-n=* | --program-transform-=* \
   1254   | --program-transform=* | --program-transfor=* \
   1255   | --program-transfo=* | --program-transf=* \
   1256   | --program-trans=* | --program-tran=* \
   1257   | --progr-tra=* | --program-tr=* | --program-t=*)
   1258     program_transform_name=$ac_optarg ;;
   1259 
   1260   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1261     ac_prev=pdfdir ;;
   1262   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1263     pdfdir=$ac_optarg ;;
   1264 
   1265   -psdir | --psdir | --psdi | --psd | --ps)
   1266     ac_prev=psdir ;;
   1267   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1268     psdir=$ac_optarg ;;
   1269 
   1270   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1271   | -silent | --silent | --silen | --sile | --sil)
   1272     silent=yes ;;
   1273 
   1274   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1275   | --runstate | --runstat | --runsta | --runst | --runs \
   1276   | --run | --ru | --r)
   1277     ac_prev=runstatedir ;;
   1278   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1279   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1280   | --run=* | --ru=* | --r=*)
   1281     runstatedir=$ac_optarg ;;
   1282 
   1283   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1284     ac_prev=sbindir ;;
   1285   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1286   | --sbi=* | --sb=*)
   1287     sbindir=$ac_optarg ;;
   1288 
   1289   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1290   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1291   | --sharedst | --shareds | --shared | --share | --shar \
   1292   | --sha | --sh)
   1293     ac_prev=sharedstatedir ;;
   1294   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1295   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1296   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1297   | --sha=* | --sh=*)
   1298     sharedstatedir=$ac_optarg ;;
   1299 
   1300   -site | --site | --sit)
   1301     ac_prev=site ;;
   1302   -site=* | --site=* | --sit=*)
   1303     site=$ac_optarg ;;
   1304 
   1305   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1306     ac_prev=srcdir ;;
   1307   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1308     srcdir=$ac_optarg ;;
   1309 
   1310   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1311   | --syscon | --sysco | --sysc | --sys | --sy)
   1312     ac_prev=sysconfdir ;;
   1313   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1314   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1315     sysconfdir=$ac_optarg ;;
   1316 
   1317   -target | --target | --targe | --targ | --tar | --ta | --t)
   1318     ac_prev=target_alias ;;
   1319   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1320     target_alias=$ac_optarg ;;
   1321 
   1322   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1323     verbose=yes ;;
   1324 
   1325   -version | --version | --versio | --versi | --vers | -V)
   1326     ac_init_version=: ;;
   1327 
   1328   -with-* | --with-*)
   1329     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1330     # Reject names that are not valid shell variable names.
   1331     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1332       as_fn_error $? "invalid package name: '$ac_useropt'"
   1333     ac_useropt_orig=$ac_useropt
   1334     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1335     case $ac_user_opts in
   1336       *"
   1337 "with_$ac_useropt"
   1338 "*) ;;
   1339       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1340 	 ac_unrecognized_sep=', ';;
   1341     esac
   1342     eval with_$ac_useropt=\$ac_optarg ;;
   1343 
   1344   -without-* | --without-*)
   1345     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1346     # Reject names that are not valid shell variable names.
   1347     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1348       as_fn_error $? "invalid package name: '$ac_useropt'"
   1349     ac_useropt_orig=$ac_useropt
   1350     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1351     case $ac_user_opts in
   1352       *"
   1353 "with_$ac_useropt"
   1354 "*) ;;
   1355       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1356 	 ac_unrecognized_sep=', ';;
   1357     esac
   1358     eval with_$ac_useropt=no ;;
   1359 
   1360   --x)
   1361     # Obsolete; use --with-x.
   1362     with_x=yes ;;
   1363 
   1364   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1365   | --x-incl | --x-inc | --x-in | --x-i)
   1366     ac_prev=x_includes ;;
   1367   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1368   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1369     x_includes=$ac_optarg ;;
   1370 
   1371   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1372   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1373     ac_prev=x_libraries ;;
   1374   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1375   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1376     x_libraries=$ac_optarg ;;
   1377 
   1378   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1379 Try '$0 --help' for more information"
   1380     ;;
   1381 
   1382   *=*)
   1383     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1384     # Reject names that are not valid shell variable names.
   1385     case $ac_envvar in #(
   1386       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1387       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1388     esac
   1389     eval $ac_envvar=\$ac_optarg
   1390     export $ac_envvar ;;
   1391 
   1392   *)
   1393     # FIXME: should be removed in autoconf 3.0.
   1394     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1395     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1396       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1397     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1398     ;;
   1399 
   1400   esac
   1401 done
   1402 
   1403 if test -n "$ac_prev"; then
   1404   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1405   as_fn_error $? "missing argument to $ac_option"
   1406 fi
   1407 
   1408 if test -n "$ac_unrecognized_opts"; then
   1409   case $enable_option_checking in
   1410     no) ;;
   1411     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1412     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1413   esac
   1414 fi
   1415 
   1416 # Check all directory arguments for consistency.
   1417 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1418 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1419 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1420 		libdir localedir mandir runstatedir
   1421 do
   1422   eval ac_val=\$$ac_var
   1423   # Remove trailing slashes.
   1424   case $ac_val in
   1425     */ )
   1426       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1427       eval $ac_var=\$ac_val;;
   1428   esac
   1429   # Be sure to have absolute directory names.
   1430   case $ac_val in
   1431     [\\/$]* | ?:[\\/]* )  continue;;
   1432     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1433   esac
   1434   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1435 done
   1436 
   1437 # There might be people who depend on the old broken behavior: '$host'
   1438 # used to hold the argument of --host etc.
   1439 # FIXME: To remove some day.
   1440 build=$build_alias
   1441 host=$host_alias
   1442 target=$target_alias
   1443 
   1444 # FIXME: To remove some day.
   1445 if test "x$host_alias" != x; then
   1446   if test "x$build_alias" = x; then
   1447     cross_compiling=maybe
   1448   elif test "x$build_alias" != "x$host_alias"; then
   1449     cross_compiling=yes
   1450   fi
   1451 fi
   1452 
   1453 ac_tool_prefix=
   1454 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1455 
   1456 test "$silent" = yes && exec 6>/dev/null
   1457 
   1458 
   1459 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1460 ac_ls_di=`ls -di .` &&
   1461 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1462   as_fn_error $? "working directory cannot be determined"
   1463 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1464   as_fn_error $? "pwd does not report name of working directory"
   1465 
   1466 
   1467 # Find the source files, if location was not specified.
   1468 if test -z "$srcdir"; then
   1469   ac_srcdir_defaulted=yes
   1470   # Try the directory containing this script, then the parent directory.
   1471   ac_confdir=`$as_dirname -- "$as_myself" ||
   1472 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1473 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1474 	 X"$as_myself" : 'X\(//\)$' \| \
   1475 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1476 printf "%s\n" X"$as_myself" |
   1477     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1478 	    s//\1/
   1479 	    q
   1480 	  }
   1481 	  /^X\(\/\/\)[^/].*/{
   1482 	    s//\1/
   1483 	    q
   1484 	  }
   1485 	  /^X\(\/\/\)$/{
   1486 	    s//\1/
   1487 	    q
   1488 	  }
   1489 	  /^X\(\/\).*/{
   1490 	    s//\1/
   1491 	    q
   1492 	  }
   1493 	  s/.*/./; q'`
   1494   srcdir=$ac_confdir
   1495   if test ! -r "$srcdir/$ac_unique_file"; then
   1496     srcdir=..
   1497   fi
   1498 else
   1499   ac_srcdir_defaulted=no
   1500 fi
   1501 if test ! -r "$srcdir/$ac_unique_file"; then
   1502   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1503   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1504 fi
   1505 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1506 ac_abs_confdir=`(
   1507 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1508 	pwd)`
   1509 # When building in place, set srcdir=.
   1510 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1511   srcdir=.
   1512 fi
   1513 # Remove unnecessary trailing slashes from srcdir.
   1514 # Double slashes in file names in object file debugging info
   1515 # mess up M-x gdb in Emacs.
   1516 case $srcdir in
   1517 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1518 esac
   1519 for ac_var in $ac_precious_vars; do
   1520   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1521   eval ac_env_${ac_var}_value=\$${ac_var}
   1522   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1523   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1524 done
   1525 
   1526 #
   1527 # Report the --help message.
   1528 #
   1529 if test "$ac_init_help" = "long"; then
   1530   # Omit some internal or obsolete options to make the list less imposing.
   1531   # This message is too long to be a string in the A/UX 3.1 sh.
   1532   cat <<_ACEOF
   1533 'configure' configures libXfont2 2.0.8 to adapt to many kinds of systems.
   1534 
   1535 Usage: $0 [OPTION]... [VAR=VALUE]...
   1536 
   1537 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1538 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1539 
   1540 Defaults for the options are specified in brackets.
   1541 
   1542 Configuration:
   1543   -h, --help              display this help and exit
   1544       --help=short        display options specific to this package
   1545       --help=recursive    display the short help of all the included packages
   1546   -V, --version           display version information and exit
   1547   -q, --quiet, --silent   do not print 'checking ...' messages
   1548       --cache-file=FILE   cache test results in FILE [disabled]
   1549   -C, --config-cache      alias for '--cache-file=config.cache'
   1550   -n, --no-create         do not create output files
   1551       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1552 
   1553 Installation directories:
   1554   --prefix=PREFIX         install architecture-independent files in PREFIX
   1555                           [$ac_default_prefix]
   1556   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1557                           [PREFIX]
   1558 
   1559 By default, 'make install' will install all the files in
   1560 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1561 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1562 for instance '--prefix=\$HOME'.
   1563 
   1564 For better control, use the options below.
   1565 
   1566 Fine tuning of the installation directories:
   1567   --bindir=DIR            user executables [EPREFIX/bin]
   1568   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1569   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1570   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1571   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1572   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1573   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1574   --libdir=DIR            object code libraries [EPREFIX/lib]
   1575   --includedir=DIR        C header files [PREFIX/include]
   1576   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1577   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1578   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1579   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1580   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1581   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1582   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXfont2]
   1583   --htmldir=DIR           html documentation [DOCDIR]
   1584   --dvidir=DIR            dvi documentation [DOCDIR]
   1585   --pdfdir=DIR            pdf documentation [DOCDIR]
   1586   --psdir=DIR             ps documentation [DOCDIR]
   1587 _ACEOF
   1588 
   1589   cat <<\_ACEOF
   1590 
   1591 Program names:
   1592   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1593   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1594   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1595 
   1596 System types:
   1597   --build=BUILD     configure for building on BUILD [guessed]
   1598   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1599 _ACEOF
   1600 fi
   1601 
   1602 if test -n "$ac_init_help"; then
   1603   case $ac_init_help in
   1604      short | recursive ) echo "Configuration of libXfont2 2.0.8:";;
   1605    esac
   1606   cat <<\_ACEOF
   1607 
   1608 Optional Features:
   1609   --disable-option-checking  ignore unrecognized --enable/--with options
   1610   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1611   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1612   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1613   --disable-silent-rules  verbose build output (undo: "make V=0")
   1614   --enable-dependency-tracking
   1615                           do not reject slow dependency extractors
   1616   --disable-dependency-tracking
   1617                           speeds up one-time build
   1618   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1619   --enable-static[=PKGS]  build static libraries [default=yes]
   1620   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1621                           both]
   1622   --enable-fast-install[=PKGS]
   1623                           optimize for fast installation [default=yes]
   1624   --enable-aix-soname=aix|svr4|both
   1625                           shared library versioning (aka "SONAME") variant to
   1626                           provide on AIX, [default=aix].
   1627   --disable-libtool-lock  avoid locking (might break parallel builds)
   1628   --disable-selective-werror
   1629                           Turn off selective compiler errors. (default:
   1630                           enabled)
   1631   --enable-strict-compilation
   1632                           Enable all warnings from compiler and make them
   1633                           errors (default: disabled)
   1634   --enable-devel-docs     Enable building the developer documentation
   1635                           (default: yes)
   1636   --disable-largefile     omit support for large files
   1637   --disable-freetype      Build freetype backend (default: enabled)
   1638   --disable-builtins      Support builtin fonts (default: enabled)
   1639   --disable-pcfformat     Support PCF format bitmap fonts (default: enabled)
   1640   --disable-bdfformat     Support BDF format bitmap fonts (default: enabled)
   1641   --enable-snfformat      Support SNF format bitmap fonts (default: disabled)
   1642   --disable-fc            Support connections to xfs servers (default:
   1643                           enabled)
   1644   --enable-unix-transport Enable UNIX domain socket transport
   1645   --enable-tcp-transport  Enable TCP socket transport
   1646   --enable-ipv6           Enable IPv6 support
   1647   --enable-local-transport
   1648                           Enable os-specific local transport
   1649   --enable-year2038       support timestamps after 2038
   1650 
   1651 Optional Packages:
   1652   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1653   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1654   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1655   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1656                           compiler's sysroot if not specified).
   1657   --with-xmlto            Use xmlto to regenerate documentation (default:
   1658                           auto)
   1659   --with-fop              Use fop to regenerate documentation (default: auto)
   1660   --with-python-sys-prefix
   1661                           use Python's sys.prefix and sys.exec_prefix values
   1662   --with-python_prefix    override the default PYTHON_PREFIX
   1663   --with-python_exec_prefix
   1664                           override the default PYTHON_EXEC_PREFIX
   1665   --with-freetype-config=PROG
   1666                           Use FreeType configuration program PROG
   1667   --with-bzip2            Use libbz2 to support bzip2 compressed bitmap fonts
   1668                           (default: no)
   1669 
   1670 Some influential environment variables:
   1671   CC          C compiler command
   1672   CFLAGS      C compiler flags
   1673   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1674               nonstandard directory <lib dir>
   1675   LIBS        libraries to pass to the linker, e.g. -l<library>
   1676   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1677               you have headers in a nonstandard directory <include dir>
   1678   LT_SYS_LIBRARY_PATH
   1679               User-defined run-time library search path.
   1680   PKG_CONFIG  path to pkg-config utility
   1681   PKG_CONFIG_PATH
   1682               directories to add to pkg-config's search path
   1683   PKG_CONFIG_LIBDIR
   1684               path overriding pkg-config's built-in search path
   1685   XMLTO       Path to xmlto command
   1686   FOP         Path to fop command
   1687   PYTHON      the Python interpreter
   1688   LIBBSD_CFLAGS
   1689               C compiler flags for LIBBSD, overriding pkg-config
   1690   LIBBSD_LIBS linker flags for LIBBSD, overriding pkg-config
   1691   FREETYPE_CFLAGS
   1692               C compiler flags for FREETYPE, overriding pkg-config
   1693   FREETYPE_LIBS
   1694               linker flags for FREETYPE, overriding pkg-config
   1695   ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
   1696   ZLIB_LIBS   linker flags for ZLIB, overriding pkg-config
   1697   XFONT_CFLAGS
   1698               C compiler flags for XFONT, overriding pkg-config
   1699   XFONT_LIBS  linker flags for XFONT, overriding pkg-config
   1700 
   1701 Use these variables to override the choices made by 'configure' or to help
   1702 it to find libraries and programs with nonstandard names/locations.
   1703 
   1704 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxfont/-/issues>.
   1705 _ACEOF
   1706 ac_status=$?
   1707 fi
   1708 
   1709 if test "$ac_init_help" = "recursive"; then
   1710   # If there are subdirs, report their specific --help.
   1711   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1712     test -d "$ac_dir" ||
   1713       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1714       continue
   1715     ac_builddir=.
   1716 
   1717 case "$ac_dir" in
   1718 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1719 *)
   1720   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1721   # A ".." for each directory in $ac_dir_suffix.
   1722   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1723   case $ac_top_builddir_sub in
   1724   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1725   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1726   esac ;;
   1727 esac
   1728 ac_abs_top_builddir=$ac_pwd
   1729 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1730 # for backward compatibility:
   1731 ac_top_builddir=$ac_top_build_prefix
   1732 
   1733 case $srcdir in
   1734   .)  # We are building in place.
   1735     ac_srcdir=.
   1736     ac_top_srcdir=$ac_top_builddir_sub
   1737     ac_abs_top_srcdir=$ac_pwd ;;
   1738   [\\/]* | ?:[\\/]* )  # Absolute name.
   1739     ac_srcdir=$srcdir$ac_dir_suffix;
   1740     ac_top_srcdir=$srcdir
   1741     ac_abs_top_srcdir=$srcdir ;;
   1742   *) # Relative name.
   1743     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1744     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1745     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1746 esac
   1747 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1748 
   1749     cd "$ac_dir" || { ac_status=$?; continue; }
   1750     # Check for configure.gnu first; this name is used for a wrapper for
   1751     # Metaconfig's "Configure" on case-insensitive file systems.
   1752     if test -f "$ac_srcdir/configure.gnu"; then
   1753       echo &&
   1754       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1755     elif test -f "$ac_srcdir/configure"; then
   1756       echo &&
   1757       $SHELL "$ac_srcdir/configure" --help=recursive
   1758     else
   1759       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1760     fi || ac_status=$?
   1761     cd "$ac_pwd" || { ac_status=$?; break; }
   1762   done
   1763 fi
   1764 
   1765 test -n "$ac_init_help" && exit $ac_status
   1766 if $ac_init_version; then
   1767   cat <<\_ACEOF
   1768 libXfont2 configure 2.0.8
   1769 generated by GNU Autoconf 2.72
   1770 
   1771 Copyright (C) 2023 Free Software Foundation, Inc.
   1772 This configure script is free software; the Free Software Foundation
   1773 gives unlimited permission to copy, distribute and modify it.
   1774 _ACEOF
   1775   exit
   1776 fi
   1777 
   1778 ## ------------------------ ##
   1779 ## Autoconf initialization. ##
   1780 ## ------------------------ ##
   1781 
   1782 # ac_fn_c_try_compile LINENO
   1783 # --------------------------
   1784 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1785 ac_fn_c_try_compile ()
   1786 {
   1787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1788   rm -f conftest.$ac_objext conftest.beam
   1789   if { { ac_try="$ac_compile"
   1790 case "(($ac_try" in
   1791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1792   *) ac_try_echo=$ac_try;;
   1793 esac
   1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1795 printf "%s\n" "$ac_try_echo"; } >&5
   1796   (eval "$ac_compile") 2>conftest.err
   1797   ac_status=$?
   1798   if test -s conftest.err; then
   1799     grep -v '^ *+' conftest.err >conftest.er1
   1800     cat conftest.er1 >&5
   1801     mv -f conftest.er1 conftest.err
   1802   fi
   1803   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1804   test $ac_status = 0; } && {
   1805 	 test -z "$ac_c_werror_flag" ||
   1806 	 test ! -s conftest.err
   1807        } && test -s conftest.$ac_objext
   1808 then :
   1809   ac_retval=0
   1810 else case e in #(
   1811   e) printf "%s\n" "$as_me: failed program was:" >&5
   1812 sed 's/^/| /' conftest.$ac_ext >&5
   1813 
   1814 	ac_retval=1 ;;
   1815 esac
   1816 fi
   1817   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1818   as_fn_set_status $ac_retval
   1819 
   1820 } # ac_fn_c_try_compile
   1821 
   1822 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1823 # -------------------------------------------------------
   1824 # Tests whether HEADER exists and can be compiled using the include files in
   1825 # INCLUDES, setting the cache variable VAR accordingly.
   1826 ac_fn_c_check_header_compile ()
   1827 {
   1828   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1830 printf %s "checking for $2... " >&6; }
   1831 if eval test \${$3+y}
   1832 then :
   1833   printf %s "(cached) " >&6
   1834 else case e in #(
   1835   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1836 /* end confdefs.h.  */
   1837 $4
   1838 #include <$2>
   1839 _ACEOF
   1840 if ac_fn_c_try_compile "$LINENO"
   1841 then :
   1842   eval "$3=yes"
   1843 else case e in #(
   1844   e) eval "$3=no" ;;
   1845 esac
   1846 fi
   1847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1848 esac
   1849 fi
   1850 eval ac_res=\$$3
   1851 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1852 printf "%s\n" "$ac_res" >&6; }
   1853   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1854 
   1855 } # ac_fn_c_check_header_compile
   1856 
   1857 # ac_fn_c_try_link LINENO
   1858 # -----------------------
   1859 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1860 ac_fn_c_try_link ()
   1861 {
   1862   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1863   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1864   if { { ac_try="$ac_link"
   1865 case "(($ac_try" in
   1866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1867   *) ac_try_echo=$ac_try;;
   1868 esac
   1869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1870 printf "%s\n" "$ac_try_echo"; } >&5
   1871   (eval "$ac_link") 2>conftest.err
   1872   ac_status=$?
   1873   if test -s conftest.err; then
   1874     grep -v '^ *+' conftest.err >conftest.er1
   1875     cat conftest.er1 >&5
   1876     mv -f conftest.er1 conftest.err
   1877   fi
   1878   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1879   test $ac_status = 0; } && {
   1880 	 test -z "$ac_c_werror_flag" ||
   1881 	 test ! -s conftest.err
   1882        } && test -s conftest$ac_exeext && {
   1883 	 test "$cross_compiling" = yes ||
   1884 	 test -x conftest$ac_exeext
   1885        }
   1886 then :
   1887   ac_retval=0
   1888 else case e in #(
   1889   e) printf "%s\n" "$as_me: failed program was:" >&5
   1890 sed 's/^/| /' conftest.$ac_ext >&5
   1891 
   1892 	ac_retval=1 ;;
   1893 esac
   1894 fi
   1895   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1896   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1897   # interfere with the next link command; also delete a directory that is
   1898   # left behind by Apple's compiler.  We do this before executing the actions.
   1899   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1900   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1901   as_fn_set_status $ac_retval
   1902 
   1903 } # ac_fn_c_try_link
   1904 
   1905 # ac_fn_c_check_func LINENO FUNC VAR
   1906 # ----------------------------------
   1907 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1908 ac_fn_c_check_func ()
   1909 {
   1910   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1912 printf %s "checking for $2... " >&6; }
   1913 if eval test \${$3+y}
   1914 then :
   1915   printf %s "(cached) " >&6
   1916 else case e in #(
   1917   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1918 /* end confdefs.h.  */
   1919 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1920    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1921 #define $2 innocuous_$2
   1922 
   1923 /* System header to define __stub macros and hopefully few prototypes,
   1924    which can conflict with char $2 (void); below.  */
   1925 
   1926 #include <limits.h>
   1927 #undef $2
   1928 
   1929 /* Override any GCC internal prototype to avoid an error.
   1930    Use char because int might match the return type of a GCC
   1931    builtin and then its argument prototype would still apply.  */
   1932 #ifdef __cplusplus
   1933 extern "C"
   1934 #endif
   1935 char $2 (void);
   1936 /* The GNU C library defines this for functions which it implements
   1937     to always fail with ENOSYS.  Some functions are actually named
   1938     something starting with __ and the normal name is an alias.  */
   1939 #if defined __stub_$2 || defined __stub___$2
   1940 choke me
   1941 #endif
   1942 
   1943 int
   1944 main (void)
   1945 {
   1946 return $2 ();
   1947   ;
   1948   return 0;
   1949 }
   1950 _ACEOF
   1951 if ac_fn_c_try_link "$LINENO"
   1952 then :
   1953   eval "$3=yes"
   1954 else case e in #(
   1955   e) eval "$3=no" ;;
   1956 esac
   1957 fi
   1958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1959     conftest$ac_exeext conftest.$ac_ext ;;
   1960 esac
   1961 fi
   1962 eval ac_res=\$$3
   1963 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1964 printf "%s\n" "$ac_res" >&6; }
   1965   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1966 
   1967 } # ac_fn_c_check_func
   1968 
   1969 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1970 # ------------------------------------------------------------------
   1971 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1972 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1973 ac_fn_check_decl ()
   1974 {
   1975   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1976   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1978 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1979 if eval test \${$3+y}
   1980 then :
   1981   printf %s "(cached) " >&6
   1982 else case e in #(
   1983   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1984   eval ac_save_FLAGS=\$$6
   1985   as_fn_append $6 " $5"
   1986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1987 /* end confdefs.h.  */
   1988 $4
   1989 int
   1990 main (void)
   1991 {
   1992 #ifndef $as_decl_name
   1993 #ifdef __cplusplus
   1994   (void) $as_decl_use;
   1995 #else
   1996   (void) $as_decl_name;
   1997 #endif
   1998 #endif
   1999 
   2000   ;
   2001   return 0;
   2002 }
   2003 _ACEOF
   2004 if ac_fn_c_try_compile "$LINENO"
   2005 then :
   2006   eval "$3=yes"
   2007 else case e in #(
   2008   e) eval "$3=no" ;;
   2009 esac
   2010 fi
   2011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2012   eval $6=\$ac_save_FLAGS
   2013  ;;
   2014 esac
   2015 fi
   2016 eval ac_res=\$$3
   2017 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2018 printf "%s\n" "$ac_res" >&6; }
   2019   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2020 
   2021 } # ac_fn_check_decl
   2022 
   2023 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2024 # ----------------------------------------------------
   2025 # Tries to find if the field MEMBER exists in type AGGR, after including
   2026 # INCLUDES, setting cache variable VAR accordingly.
   2027 ac_fn_c_check_member ()
   2028 {
   2029   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2030   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2031 printf %s "checking for $2.$3... " >&6; }
   2032 if eval test \${$4+y}
   2033 then :
   2034   printf %s "(cached) " >&6
   2035 else case e in #(
   2036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2037 /* end confdefs.h.  */
   2038 $5
   2039 int
   2040 main (void)
   2041 {
   2042 static $2 ac_aggr;
   2043 if (ac_aggr.$3)
   2044 return 0;
   2045   ;
   2046   return 0;
   2047 }
   2048 _ACEOF
   2049 if ac_fn_c_try_compile "$LINENO"
   2050 then :
   2051   eval "$4=yes"
   2052 else case e in #(
   2053   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2054 /* end confdefs.h.  */
   2055 $5
   2056 int
   2057 main (void)
   2058 {
   2059 static $2 ac_aggr;
   2060 if (sizeof ac_aggr.$3)
   2061 return 0;
   2062   ;
   2063   return 0;
   2064 }
   2065 _ACEOF
   2066 if ac_fn_c_try_compile "$LINENO"
   2067 then :
   2068   eval "$4=yes"
   2069 else case e in #(
   2070   e) eval "$4=no" ;;
   2071 esac
   2072 fi
   2073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2074 esac
   2075 fi
   2076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2077 esac
   2078 fi
   2079 eval ac_res=\$$4
   2080 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2081 printf "%s\n" "$ac_res" >&6; }
   2082   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2083 
   2084 } # ac_fn_c_check_member
   2085 
   2086 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2087 # -------------------------------------------
   2088 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2089 # variable VAR accordingly.
   2090 ac_fn_c_check_type ()
   2091 {
   2092   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2094 printf %s "checking for $2... " >&6; }
   2095 if eval test \${$3+y}
   2096 then :
   2097   printf %s "(cached) " >&6
   2098 else case e in #(
   2099   e) eval "$3=no"
   2100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2101 /* end confdefs.h.  */
   2102 $4
   2103 int
   2104 main (void)
   2105 {
   2106 if (sizeof ($2))
   2107 	 return 0;
   2108   ;
   2109   return 0;
   2110 }
   2111 _ACEOF
   2112 if ac_fn_c_try_compile "$LINENO"
   2113 then :
   2114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2115 /* end confdefs.h.  */
   2116 $4
   2117 int
   2118 main (void)
   2119 {
   2120 if (sizeof (($2)))
   2121 	    return 0;
   2122   ;
   2123   return 0;
   2124 }
   2125 _ACEOF
   2126 if ac_fn_c_try_compile "$LINENO"
   2127 then :
   2128 
   2129 else case e in #(
   2130   e) eval "$3=yes" ;;
   2131 esac
   2132 fi
   2133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2134 fi
   2135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2136 esac
   2137 fi
   2138 eval ac_res=\$$3
   2139 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2140 printf "%s\n" "$ac_res" >&6; }
   2141   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2142 
   2143 } # ac_fn_c_check_type
   2144 ac_configure_args_raw=
   2145 for ac_arg
   2146 do
   2147   case $ac_arg in
   2148   *\'*)
   2149     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2150   esac
   2151   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2152 done
   2153 
   2154 case $ac_configure_args_raw in
   2155   *$as_nl*)
   2156     ac_safe_unquote= ;;
   2157   *)
   2158     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2159     ac_unsafe_a="$ac_unsafe_z#~"
   2160     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2161     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2162 esac
   2163 
   2164 cat >config.log <<_ACEOF
   2165 This file contains any messages produced by compilers while
   2166 running configure, to aid debugging if configure makes a mistake.
   2167 
   2168 It was created by libXfont2 $as_me 2.0.8, which was
   2169 generated by GNU Autoconf 2.72.  Invocation command line was
   2170 
   2171   $ $0$ac_configure_args_raw
   2172 
   2173 _ACEOF
   2174 exec 5>>config.log
   2175 {
   2176 cat <<_ASUNAME
   2177 ## --------- ##
   2178 ## Platform. ##
   2179 ## --------- ##
   2180 
   2181 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2182 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2183 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2184 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2185 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2186 
   2187 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2188 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2189 
   2190 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2191 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2192 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2193 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2194 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2195 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2196 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2197 
   2198 _ASUNAME
   2199 
   2200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2201 for as_dir in $PATH
   2202 do
   2203   IFS=$as_save_IFS
   2204   case $as_dir in #(((
   2205     '') as_dir=./ ;;
   2206     */) ;;
   2207     *) as_dir=$as_dir/ ;;
   2208   esac
   2209     printf "%s\n" "PATH: $as_dir"
   2210   done
   2211 IFS=$as_save_IFS
   2212 
   2213 } >&5
   2214 
   2215 cat >&5 <<_ACEOF
   2216 
   2217 
   2218 ## ----------- ##
   2219 ## Core tests. ##
   2220 ## ----------- ##
   2221 
   2222 _ACEOF
   2223 
   2224 
   2225 # Keep a trace of the command line.
   2226 # Strip out --no-create and --no-recursion so they do not pile up.
   2227 # Strip out --silent because we don't want to record it for future runs.
   2228 # Also quote any args containing shell meta-characters.
   2229 # Make two passes to allow for proper duplicate-argument suppression.
   2230 ac_configure_args=
   2231 ac_configure_args0=
   2232 ac_configure_args1=
   2233 ac_must_keep_next=false
   2234 for ac_pass in 1 2
   2235 do
   2236   for ac_arg
   2237   do
   2238     case $ac_arg in
   2239     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2240     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2241     | -silent | --silent | --silen | --sile | --sil)
   2242       continue ;;
   2243     *\'*)
   2244       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2245     esac
   2246     case $ac_pass in
   2247     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2248     2)
   2249       as_fn_append ac_configure_args1 " '$ac_arg'"
   2250       if test $ac_must_keep_next = true; then
   2251 	ac_must_keep_next=false # Got value, back to normal.
   2252       else
   2253 	case $ac_arg in
   2254 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2255 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2256 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2257 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2258 	    case "$ac_configure_args0 " in
   2259 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2260 	    esac
   2261 	    ;;
   2262 	  -* ) ac_must_keep_next=true ;;
   2263 	esac
   2264       fi
   2265       as_fn_append ac_configure_args " '$ac_arg'"
   2266       ;;
   2267     esac
   2268   done
   2269 done
   2270 { ac_configure_args0=; unset ac_configure_args0;}
   2271 { ac_configure_args1=; unset ac_configure_args1;}
   2272 
   2273 # When interrupted or exit'd, cleanup temporary files, and complete
   2274 # config.log.  We remove comments because anyway the quotes in there
   2275 # would cause problems or look ugly.
   2276 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2277 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2278 trap 'exit_status=$?
   2279   # Sanitize IFS.
   2280   IFS=" ""	$as_nl"
   2281   # Save into config.log some information that might help in debugging.
   2282   {
   2283     echo
   2284 
   2285     printf "%s\n" "## ---------------- ##
   2286 ## Cache variables. ##
   2287 ## ---------------- ##"
   2288     echo
   2289     # The following way of writing the cache mishandles newlines in values,
   2290 (
   2291   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2292     eval ac_val=\$$ac_var
   2293     case $ac_val in #(
   2294     *${as_nl}*)
   2295       case $ac_var in #(
   2296       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2297 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2298       esac
   2299       case $ac_var in #(
   2300       _ | IFS | as_nl) ;; #(
   2301       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2302       *) { eval $ac_var=; unset $ac_var;} ;;
   2303       esac ;;
   2304     esac
   2305   done
   2306   (set) 2>&1 |
   2307     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2308     *${as_nl}ac_space=\ *)
   2309       sed -n \
   2310 	"s/'\''/'\''\\\\'\'''\''/g;
   2311 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2312       ;; #(
   2313     *)
   2314       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2315       ;;
   2316     esac |
   2317     sort
   2318 )
   2319     echo
   2320 
   2321     printf "%s\n" "## ----------------- ##
   2322 ## Output variables. ##
   2323 ## ----------------- ##"
   2324     echo
   2325     for ac_var in $ac_subst_vars
   2326     do
   2327       eval ac_val=\$$ac_var
   2328       case $ac_val in
   2329       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2330       esac
   2331       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2332     done | sort
   2333     echo
   2334 
   2335     if test -n "$ac_subst_files"; then
   2336       printf "%s\n" "## ------------------- ##
   2337 ## File substitutions. ##
   2338 ## ------------------- ##"
   2339       echo
   2340       for ac_var in $ac_subst_files
   2341       do
   2342 	eval ac_val=\$$ac_var
   2343 	case $ac_val in
   2344 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2345 	esac
   2346 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2347       done | sort
   2348       echo
   2349     fi
   2350 
   2351     if test -s confdefs.h; then
   2352       printf "%s\n" "## ----------- ##
   2353 ## confdefs.h. ##
   2354 ## ----------- ##"
   2355       echo
   2356       cat confdefs.h
   2357       echo
   2358     fi
   2359     test "$ac_signal" != 0 &&
   2360       printf "%s\n" "$as_me: caught signal $ac_signal"
   2361     printf "%s\n" "$as_me: exit $exit_status"
   2362   } >&5
   2363   rm -f core *.core core.conftest.* &&
   2364     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2365     exit $exit_status
   2366 ' 0
   2367 for ac_signal in 1 2 13 15; do
   2368   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2369 done
   2370 ac_signal=0
   2371 
   2372 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2373 rm -f -r conftest* confdefs.h
   2374 
   2375 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2376 
   2377 # Predefined preprocessor variables.
   2378 
   2379 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2380 
   2381 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2382 
   2383 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2384 
   2385 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2386 
   2387 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2388 
   2389 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2390 
   2391 
   2392 # Let the site file select an alternate cache file if it wants to.
   2393 # Prefer an explicitly selected file to automatically selected ones.
   2394 if test -n "$CONFIG_SITE"; then
   2395   ac_site_files="$CONFIG_SITE"
   2396 elif test "x$prefix" != xNONE; then
   2397   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2398 else
   2399   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2400 fi
   2401 
   2402 for ac_site_file in $ac_site_files
   2403 do
   2404   case $ac_site_file in #(
   2405   */*) :
   2406      ;; #(
   2407   *) :
   2408     ac_site_file=./$ac_site_file ;;
   2409 esac
   2410   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2411     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2412 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2413     sed 's/^/| /' "$ac_site_file" >&5
   2414     . "$ac_site_file" \
   2415       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2416 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2417 as_fn_error $? "failed to load site script $ac_site_file
   2418 See 'config.log' for more details" "$LINENO" 5; }
   2419   fi
   2420 done
   2421 
   2422 if test -r "$cache_file"; then
   2423   # Some versions of bash will fail to source /dev/null (special files
   2424   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2425   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2426     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2427 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2428     case $cache_file in
   2429       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2430       *)                      . "./$cache_file";;
   2431     esac
   2432   fi
   2433 else
   2434   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2435 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2436   >$cache_file
   2437 fi
   2438 
   2439 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2440 # Test code for whether the C compiler supports C89 (global declarations)
   2441 ac_c_conftest_c89_globals='
   2442 /* Does the compiler advertise C89 conformance?
   2443    Do not test the value of __STDC__, because some compilers set it to 0
   2444    while being otherwise adequately conformant. */
   2445 #if !defined __STDC__
   2446 # error "Compiler does not advertise C89 conformance"
   2447 #endif
   2448 
   2449 #include <stddef.h>
   2450 #include <stdarg.h>
   2451 struct stat;
   2452 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2453 struct buf { int x; };
   2454 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2455 static char *e (char **p, int i)
   2456 {
   2457   return p[i];
   2458 }
   2459 static char *f (char * (*g) (char **, int), char **p, ...)
   2460 {
   2461   char *s;
   2462   va_list v;
   2463   va_start (v,p);
   2464   s = g (p, va_arg (v,int));
   2465   va_end (v);
   2466   return s;
   2467 }
   2468 
   2469 /* C89 style stringification. */
   2470 #define noexpand_stringify(a) #a
   2471 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2472 
   2473 /* C89 style token pasting.  Exercises some of the corner cases that
   2474    e.g. old MSVC gets wrong, but not very hard. */
   2475 #define noexpand_concat(a,b) a##b
   2476 #define expand_concat(a,b) noexpand_concat(a,b)
   2477 extern int vA;
   2478 extern int vbee;
   2479 #define aye A
   2480 #define bee B
   2481 int *pvA = &expand_concat(v,aye);
   2482 int *pvbee = &noexpand_concat(v,bee);
   2483 
   2484 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2485    function prototypes and stuff, but not \xHH hex character constants.
   2486    These do not provoke an error unfortunately, instead are silently treated
   2487    as an "x".  The following induces an error, until -std is added to get
   2488    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2489    array size at least.  It is necessary to write \x00 == 0 to get something
   2490    that is true only with -std.  */
   2491 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2492 
   2493 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2494    inside strings and character constants.  */
   2495 #define FOO(x) '\''x'\''
   2496 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2497 
   2498 int test (int i, double x);
   2499 struct s1 {int (*f) (int a);};
   2500 struct s2 {int (*f) (double a);};
   2501 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2502                int, int);'
   2503 
   2504 # Test code for whether the C compiler supports C89 (body of main).
   2505 ac_c_conftest_c89_main='
   2506 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2507 '
   2508 
   2509 # Test code for whether the C compiler supports C99 (global declarations)
   2510 ac_c_conftest_c99_globals='
   2511 /* Does the compiler advertise C99 conformance? */
   2512 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2513 # error "Compiler does not advertise C99 conformance"
   2514 #endif
   2515 
   2516 // See if C++-style comments work.
   2517 
   2518 #include <stdbool.h>
   2519 extern int puts (const char *);
   2520 extern int printf (const char *, ...);
   2521 extern int dprintf (int, const char *, ...);
   2522 extern void *malloc (size_t);
   2523 extern void free (void *);
   2524 
   2525 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2526 // dprintf is used instead of fprintf to avoid needing to declare
   2527 // FILE and stderr.
   2528 #define debug(...) dprintf (2, __VA_ARGS__)
   2529 #define showlist(...) puts (#__VA_ARGS__)
   2530 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2531 static void
   2532 test_varargs_macros (void)
   2533 {
   2534   int x = 1234;
   2535   int y = 5678;
   2536   debug ("Flag");
   2537   debug ("X = %d\n", x);
   2538   showlist (The first, second, and third items.);
   2539   report (x>y, "x is %d but y is %d", x, y);
   2540 }
   2541 
   2542 // Check long long types.
   2543 #define BIG64 18446744073709551615ull
   2544 #define BIG32 4294967295ul
   2545 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2546 #if !BIG_OK
   2547   #error "your preprocessor is broken"
   2548 #endif
   2549 #if BIG_OK
   2550 #else
   2551   #error "your preprocessor is broken"
   2552 #endif
   2553 static long long int bignum = -9223372036854775807LL;
   2554 static unsigned long long int ubignum = BIG64;
   2555 
   2556 struct incomplete_array
   2557 {
   2558   int datasize;
   2559   double data[];
   2560 };
   2561 
   2562 struct named_init {
   2563   int number;
   2564   const wchar_t *name;
   2565   double average;
   2566 };
   2567 
   2568 typedef const char *ccp;
   2569 
   2570 static inline int
   2571 test_restrict (ccp restrict text)
   2572 {
   2573   // Iterate through items via the restricted pointer.
   2574   // Also check for declarations in for loops.
   2575   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2576     continue;
   2577   return 0;
   2578 }
   2579 
   2580 // Check varargs and va_copy.
   2581 static bool
   2582 test_varargs (const char *format, ...)
   2583 {
   2584   va_list args;
   2585   va_start (args, format);
   2586   va_list args_copy;
   2587   va_copy (args_copy, args);
   2588 
   2589   const char *str = "";
   2590   int number = 0;
   2591   float fnumber = 0;
   2592 
   2593   while (*format)
   2594     {
   2595       switch (*format++)
   2596 	{
   2597 	case '\''s'\'': // string
   2598 	  str = va_arg (args_copy, const char *);
   2599 	  break;
   2600 	case '\''d'\'': // int
   2601 	  number = va_arg (args_copy, int);
   2602 	  break;
   2603 	case '\''f'\'': // float
   2604 	  fnumber = va_arg (args_copy, double);
   2605 	  break;
   2606 	default:
   2607 	  break;
   2608 	}
   2609     }
   2610   va_end (args_copy);
   2611   va_end (args);
   2612 
   2613   return *str && number && fnumber;
   2614 }
   2615 '
   2616 
   2617 # Test code for whether the C compiler supports C99 (body of main).
   2618 ac_c_conftest_c99_main='
   2619   // Check bool.
   2620   _Bool success = false;
   2621   success |= (argc != 0);
   2622 
   2623   // Check restrict.
   2624   if (test_restrict ("String literal") == 0)
   2625     success = true;
   2626   char *restrict newvar = "Another string";
   2627 
   2628   // Check varargs.
   2629   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2630   test_varargs_macros ();
   2631 
   2632   // Check flexible array members.
   2633   struct incomplete_array *ia =
   2634     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2635   ia->datasize = 10;
   2636   for (int i = 0; i < ia->datasize; ++i)
   2637     ia->data[i] = i * 1.234;
   2638   // Work around memory leak warnings.
   2639   free (ia);
   2640 
   2641   // Check named initializers.
   2642   struct named_init ni = {
   2643     .number = 34,
   2644     .name = L"Test wide string",
   2645     .average = 543.34343,
   2646   };
   2647 
   2648   ni.number = 58;
   2649 
   2650   int dynamic_array[ni.number];
   2651   dynamic_array[0] = argv[0][0];
   2652   dynamic_array[ni.number - 1] = 543;
   2653 
   2654   // work around unused variable warnings
   2655   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2656 	 || dynamic_array[ni.number - 1] != 543);
   2657 '
   2658 
   2659 # Test code for whether the C compiler supports C11 (global declarations)
   2660 ac_c_conftest_c11_globals='
   2661 /* Does the compiler advertise C11 conformance? */
   2662 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2663 # error "Compiler does not advertise C11 conformance"
   2664 #endif
   2665 
   2666 // Check _Alignas.
   2667 char _Alignas (double) aligned_as_double;
   2668 char _Alignas (0) no_special_alignment;
   2669 extern char aligned_as_int;
   2670 char _Alignas (0) _Alignas (int) aligned_as_int;
   2671 
   2672 // Check _Alignof.
   2673 enum
   2674 {
   2675   int_alignment = _Alignof (int),
   2676   int_array_alignment = _Alignof (int[100]),
   2677   char_alignment = _Alignof (char)
   2678 };
   2679 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2680 
   2681 // Check _Noreturn.
   2682 int _Noreturn does_not_return (void) { for (;;) continue; }
   2683 
   2684 // Check _Static_assert.
   2685 struct test_static_assert
   2686 {
   2687   int x;
   2688   _Static_assert (sizeof (int) <= sizeof (long int),
   2689                   "_Static_assert does not work in struct");
   2690   long int y;
   2691 };
   2692 
   2693 // Check UTF-8 literals.
   2694 #define u8 syntax error!
   2695 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2696 
   2697 // Check duplicate typedefs.
   2698 typedef long *long_ptr;
   2699 typedef long int *long_ptr;
   2700 typedef long_ptr long_ptr;
   2701 
   2702 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2703 struct anonymous
   2704 {
   2705   union {
   2706     struct { int i; int j; };
   2707     struct { int k; long int l; } w;
   2708   };
   2709   int m;
   2710 } v1;
   2711 '
   2712 
   2713 # Test code for whether the C compiler supports C11 (body of main).
   2714 ac_c_conftest_c11_main='
   2715   _Static_assert ((offsetof (struct anonymous, i)
   2716 		   == offsetof (struct anonymous, w.k)),
   2717 		  "Anonymous union alignment botch");
   2718   v1.i = 2;
   2719   v1.w.k = 5;
   2720   ok |= v1.i != 5;
   2721 '
   2722 
   2723 # Test code for whether the C compiler supports C11 (complete).
   2724 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2725 ${ac_c_conftest_c99_globals}
   2726 ${ac_c_conftest_c11_globals}
   2727 
   2728 int
   2729 main (int argc, char **argv)
   2730 {
   2731   int ok = 0;
   2732   ${ac_c_conftest_c89_main}
   2733   ${ac_c_conftest_c99_main}
   2734   ${ac_c_conftest_c11_main}
   2735   return ok;
   2736 }
   2737 "
   2738 
   2739 # Test code for whether the C compiler supports C99 (complete).
   2740 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2741 ${ac_c_conftest_c99_globals}
   2742 
   2743 int
   2744 main (int argc, char **argv)
   2745 {
   2746   int ok = 0;
   2747   ${ac_c_conftest_c89_main}
   2748   ${ac_c_conftest_c99_main}
   2749   return ok;
   2750 }
   2751 "
   2752 
   2753 # Test code for whether the C compiler supports C89 (complete).
   2754 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2755 
   2756 int
   2757 main (int argc, char **argv)
   2758 {
   2759   int ok = 0;
   2760   ${ac_c_conftest_c89_main}
   2761   return ok;
   2762 }
   2763 "
   2764 
   2765 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2766 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2767 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2768 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2769 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2770 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2771 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2772 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2773 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2774 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2775 
   2776 # Auxiliary files required by this configure script.
   2777 ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
   2778 
   2779 # Locations in which to look for auxiliary files.
   2780 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2781 
   2782 # Search for a directory containing all of the required auxiliary files,
   2783 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2784 # If we don't find one directory that contains all the files we need,
   2785 # we report the set of missing files from the *first* directory in
   2786 # $ac_aux_dir_candidates and give up.
   2787 ac_missing_aux_files=""
   2788 ac_first_candidate=:
   2789 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2791 as_found=false
   2792 for as_dir in $ac_aux_dir_candidates
   2793 do
   2794   IFS=$as_save_IFS
   2795   case $as_dir in #(((
   2796     '') as_dir=./ ;;
   2797     */) ;;
   2798     *) as_dir=$as_dir/ ;;
   2799   esac
   2800   as_found=:
   2801 
   2802   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2803   ac_aux_dir_found=yes
   2804   ac_install_sh=
   2805   for ac_aux in $ac_aux_files
   2806   do
   2807     # As a special case, if "install-sh" is required, that requirement
   2808     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2809     # and $ac_install_sh is set appropriately for whichever one is found.
   2810     if test x"$ac_aux" = x"install-sh"
   2811     then
   2812       if test -f "${as_dir}install-sh"; then
   2813         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2814         ac_install_sh="${as_dir}install-sh -c"
   2815       elif test -f "${as_dir}install.sh"; then
   2816         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2817         ac_install_sh="${as_dir}install.sh -c"
   2818       elif test -f "${as_dir}shtool"; then
   2819         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2820         ac_install_sh="${as_dir}shtool install -c"
   2821       else
   2822         ac_aux_dir_found=no
   2823         if $ac_first_candidate; then
   2824           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2825         else
   2826           break
   2827         fi
   2828       fi
   2829     else
   2830       if test -f "${as_dir}${ac_aux}"; then
   2831         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2832       else
   2833         ac_aux_dir_found=no
   2834         if $ac_first_candidate; then
   2835           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2836         else
   2837           break
   2838         fi
   2839       fi
   2840     fi
   2841   done
   2842   if test "$ac_aux_dir_found" = yes; then
   2843     ac_aux_dir="$as_dir"
   2844     break
   2845   fi
   2846   ac_first_candidate=false
   2847 
   2848   as_found=false
   2849 done
   2850 IFS=$as_save_IFS
   2851 if $as_found
   2852 then :
   2853 
   2854 else case e in #(
   2855   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2856 esac
   2857 fi
   2858 
   2859 
   2860 # These three variables are undocumented and unsupported,
   2861 # and are intended to be withdrawn in a future Autoconf release.
   2862 # They can cause serious problems if a builder's source tree is in a directory
   2863 # whose full name contains unusual characters.
   2864 if test -f "${ac_aux_dir}config.guess"; then
   2865   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2866 fi
   2867 if test -f "${ac_aux_dir}config.sub"; then
   2868   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2869 fi
   2870 if test -f "$ac_aux_dir/configure"; then
   2871   ac_configure="$SHELL ${ac_aux_dir}configure"
   2872 fi
   2873 
   2874 # Check that the precious variables saved in the cache have kept the same
   2875 # value.
   2876 ac_cache_corrupted=false
   2877 for ac_var in $ac_precious_vars; do
   2878   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2879   eval ac_new_set=\$ac_env_${ac_var}_set
   2880   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2881   eval ac_new_val=\$ac_env_${ac_var}_value
   2882   case $ac_old_set,$ac_new_set in
   2883     set,)
   2884       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2885 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2886       ac_cache_corrupted=: ;;
   2887     ,set)
   2888       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2889 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2890       ac_cache_corrupted=: ;;
   2891     ,);;
   2892     *)
   2893       if test "x$ac_old_val" != "x$ac_new_val"; then
   2894 	# differences in whitespace do not lead to failure.
   2895 	ac_old_val_w=`echo x $ac_old_val`
   2896 	ac_new_val_w=`echo x $ac_new_val`
   2897 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2898 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2899 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2900 	  ac_cache_corrupted=:
   2901 	else
   2902 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2903 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2904 	  eval $ac_var=\$ac_old_val
   2905 	fi
   2906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2907 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2908 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2909 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2910       fi;;
   2911   esac
   2912   # Pass precious variables to config.status.
   2913   if test "$ac_new_set" = set; then
   2914     case $ac_new_val in
   2915     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2916     *) ac_arg=$ac_var=$ac_new_val ;;
   2917     esac
   2918     case " $ac_configure_args " in
   2919       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2920       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2921     esac
   2922   fi
   2923 done
   2924 if $ac_cache_corrupted; then
   2925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2926 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2927   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2928 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2929   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2930 	    and start over" "$LINENO" 5
   2931 fi
   2932 ## -------------------- ##
   2933 ## Main body of script. ##
   2934 ## -------------------- ##
   2935 
   2936 ac_ext=c
   2937 ac_cpp='$CPP $CPPFLAGS'
   2938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2941 
   2942 
   2943 
   2944 ac_config_headers="$ac_config_headers config.h"
   2945 
   2946 
   2947 
   2948 # Initialize Automake
   2949 am__api_version='1.18'
   2950 
   2951 
   2952 
   2953   # Find a good install program.  We prefer a C program (faster),
   2954 # so one script is as good as another.  But avoid the broken or
   2955 # incompatible versions:
   2956 # SysV /etc/install, /usr/sbin/install
   2957 # SunOS /usr/etc/install
   2958 # IRIX /sbin/install
   2959 # AIX /bin/install
   2960 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2961 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2962 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2963 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2964 # OS/2's system install, which has a completely different semantic
   2965 # ./install, which can be erroneously created by make from ./install.sh.
   2966 # Reject install programs that cannot install multiple files.
   2967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2968 printf %s "checking for a BSD-compatible install... " >&6; }
   2969 if test -z "$INSTALL"; then
   2970 if test ${ac_cv_path_install+y}
   2971 then :
   2972   printf %s "(cached) " >&6
   2973 else case e in #(
   2974   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2975 for as_dir in $PATH
   2976 do
   2977   IFS=$as_save_IFS
   2978   case $as_dir in #(((
   2979     '') as_dir=./ ;;
   2980     */) ;;
   2981     *) as_dir=$as_dir/ ;;
   2982   esac
   2983     # Account for fact that we put trailing slashes in our PATH walk.
   2984 case $as_dir in #((
   2985   ./ | /[cC]/* | \
   2986   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2987   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2988   /usr/ucb/* ) ;;
   2989   *)
   2990     # OSF1 and SCO ODT 3.0 have their own names for install.
   2991     # Don't use installbsd from OSF since it installs stuff as root
   2992     # by default.
   2993     for ac_prog in ginstall scoinst install; do
   2994       for ac_exec_ext in '' $ac_executable_extensions; do
   2995 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2996 	  if test $ac_prog = install &&
   2997 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2998 	    # AIX install.  It has an incompatible calling convention.
   2999 	    :
   3000 	  elif test $ac_prog = install &&
   3001 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3002 	    # program-specific install script used by HP pwplus--don't use.
   3003 	    :
   3004 	  else
   3005 	    rm -rf conftest.one conftest.two conftest.dir
   3006 	    echo one > conftest.one
   3007 	    echo two > conftest.two
   3008 	    mkdir conftest.dir
   3009 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3010 	      test -s conftest.one && test -s conftest.two &&
   3011 	      test -s conftest.dir/conftest.one &&
   3012 	      test -s conftest.dir/conftest.two
   3013 	    then
   3014 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3015 	      break 3
   3016 	    fi
   3017 	  fi
   3018 	fi
   3019       done
   3020     done
   3021     ;;
   3022 esac
   3023 
   3024   done
   3025 IFS=$as_save_IFS
   3026 
   3027 rm -rf conftest.one conftest.two conftest.dir
   3028  ;;
   3029 esac
   3030 fi
   3031   if test ${ac_cv_path_install+y}; then
   3032     INSTALL=$ac_cv_path_install
   3033   else
   3034     # As a last resort, use the slow shell script.  Don't cache a
   3035     # value for INSTALL within a source directory, because that will
   3036     # break other packages using the cache if that directory is
   3037     # removed, or if the value is a relative name.
   3038     INSTALL=$ac_install_sh
   3039   fi
   3040 fi
   3041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3042 printf "%s\n" "$INSTALL" >&6; }
   3043 
   3044 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3045 # It thinks the first close brace ends the variable substitution.
   3046 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3047 
   3048 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3049 
   3050 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3051 
   3052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   3053 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   3054 if test ${am_cv_sleep_fractional_seconds+y}
   3055 then :
   3056   printf %s "(cached) " >&6
   3057 else case e in #(
   3058   e) if sleep 0.001 2>/dev/null
   3059 then :
   3060   am_cv_sleep_fractional_seconds=yes
   3061 else case e in #(
   3062   e) am_cv_sleep_fractional_seconds=no ;;
   3063 esac
   3064 fi
   3065  ;;
   3066 esac
   3067 fi
   3068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   3069 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   3070 
   3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   3072 printf %s "checking filesystem timestamp resolution... " >&6; }
   3073 if test ${am_cv_filesystem_timestamp_resolution+y}
   3074 then :
   3075   printf %s "(cached) " >&6
   3076 else case e in #(
   3077   e) # Default to the worst case.
   3078 am_cv_filesystem_timestamp_resolution=2
   3079 
   3080 # Only try to go finer than 1 sec if sleep can do it.
   3081 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   3082 # - 1 sec is not much of a win compared to 2 sec, and
   3083 # - it takes 2 seconds to perform the test whether 1 sec works.
   3084 #
   3085 # Instead, just use the default 2s on platforms that have 1s resolution,
   3086 # accept the extra 1s delay when using $sleep in the Automake tests, in
   3087 # exchange for not incurring the 2s delay for running the test for all
   3088 # packages.
   3089 #
   3090 am_try_resolutions=
   3091 if test "$am_cv_sleep_fractional_seconds" = yes; then
   3092   # Even a millisecond often causes a bunch of false positives,
   3093   # so just try a hundredth of a second. The time saved between .001 and
   3094   # .01 is not terribly consequential.
   3095   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   3096 fi
   3097 
   3098 # In order to catch current-generation FAT out, we must *modify* files
   3099 # that already exist; the *creation* timestamp is finer.  Use names
   3100 # that make ls -t sort them differently when they have equal
   3101 # timestamps than when they have distinct timestamps, keeping
   3102 # in mind that ls -t prints the *newest* file first.
   3103 rm -f conftest.ts?
   3104 : > conftest.ts1
   3105 : > conftest.ts2
   3106 : > conftest.ts3
   3107 
   3108 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   3109 # clobber the current shell's arguments. (Outer-level square brackets
   3110 # are removed by m4; they're present so that m4 does not expand
   3111 # <dollar><star>; be careful, easy to get confused.)
   3112 if (
   3113      set X `ls -t conftest.ts[12]` &&
   3114      {
   3115        test "$*" != "X conftest.ts1 conftest.ts2" ||
   3116        test "$*" != "X conftest.ts2 conftest.ts1";
   3117      }
   3118 ); then :; else
   3119   # If neither matched, then we have a broken ls.  This can happen
   3120   # if, for instance, CONFIG_SHELL is bash and it inherits a
   3121   # broken ls alias from the environment.  This has actually
   3122   # happened.  Such a system could not be considered "sane".
   3123   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   3124   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3125 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3126 as_fn_error $? "ls -t produces unexpected output.
   3127 Make sure there is not a broken ls alias in your environment.
   3128 See 'config.log' for more details" "$LINENO" 5; }
   3129 fi
   3130 
   3131 for am_try_res in $am_try_resolutions; do
   3132   # Any one fine-grained sleep might happen to cross the boundary
   3133   # between two values of a coarser actual resolution, but if we do
   3134   # two fine-grained sleeps in a row, at least one of them will fall
   3135   # entirely within a coarse interval.
   3136   echo alpha > conftest.ts1
   3137   sleep $am_try_res
   3138   echo beta > conftest.ts2
   3139   sleep $am_try_res
   3140   echo gamma > conftest.ts3
   3141 
   3142   # We assume that 'ls -t' will make use of high-resolution
   3143   # timestamps if the operating system supports them at all.
   3144   if (set X `ls -t conftest.ts?` &&
   3145       test "$2" = conftest.ts3 &&
   3146       test "$3" = conftest.ts2 &&
   3147       test "$4" = conftest.ts1); then
   3148     #
   3149     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   3150     # because we don't need to test make.
   3151     make_ok=true
   3152     if test $am_try_res != 1; then
   3153       # But if we've succeeded so far with a subsecond resolution, we
   3154       # have one more thing to check: make. It can happen that
   3155       # everything else supports the subsecond mtimes, but make doesn't;
   3156       # notably on macOS, which ships make 3.81 from 2006 (the last one
   3157       # released under GPLv2). https://bugs.gnu.org/68808
   3158       #
   3159       # We test $MAKE if it is defined in the environment, else "make".
   3160       # It might get overridden later, but our hope is that in practice
   3161       # it does not matter: it is the system "make" which is (by far)
   3162       # the most likely to be broken, whereas if the user overrides it,
   3163       # probably they did so with a better, or at least not worse, make.
   3164       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   3165       #
   3166       # Create a Makefile (real tab character here):
   3167       rm -f conftest.mk
   3168       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   3169       echo '	touch conftest.ts2' >>conftest.mk
   3170       #
   3171       # Now, running
   3172       #   touch conftest.ts1; touch conftest.ts2; make
   3173       # should touch ts1 because ts2 is newer. This could happen by luck,
   3174       # but most often, it will fail if make's support is insufficient. So
   3175       # test for several consecutive successes.
   3176       #
   3177       # (We reuse conftest.ts[12] because we still want to modify existing
   3178       # files, not create new ones, per above.)
   3179       n=0
   3180       make=${MAKE-make}
   3181       until test $n -eq 3; do
   3182         echo one > conftest.ts1
   3183         sleep $am_try_res
   3184         echo two > conftest.ts2 # ts2 should now be newer than ts1
   3185         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   3186           make_ok=false
   3187           break # out of $n loop
   3188         fi
   3189         n=`expr $n + 1`
   3190       done
   3191     fi
   3192     #
   3193     if $make_ok; then
   3194       # Everything we know to check worked out, so call this resolution good.
   3195       am_cv_filesystem_timestamp_resolution=$am_try_res
   3196       break # out of $am_try_res loop
   3197     fi
   3198     # Otherwise, we'll go on to check the next resolution.
   3199   fi
   3200 done
   3201 rm -f conftest.ts?
   3202 # (end _am_filesystem_timestamp_resolution)
   3203  ;;
   3204 esac
   3205 fi
   3206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   3207 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   3208 
   3209 # This check should not be cached, as it may vary across builds of
   3210 # different projects.
   3211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3212 printf %s "checking whether build environment is sane... " >&6; }
   3213 # Reject unsafe characters in $srcdir or the absolute working directory
   3214 # name.  Accept space and tab only in the latter.
   3215 am_lf='
   3216 '
   3217 case `pwd` in
   3218   *[\\\"\#\$\&\'\`$am_lf]*)
   3219     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3220 printf "%s\n" "no" >&6; }
   3221     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3222 esac
   3223 case $srcdir in
   3224   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3225     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3226 printf "%s\n" "no" >&6; }
   3227     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3228 esac
   3229 
   3230 # Do 'set' in a subshell so we don't clobber the current shell's
   3231 # arguments.  Must try -L first in case configure is actually a
   3232 # symlink; some systems play weird games with the mod time of symlinks
   3233 # (eg FreeBSD returns the mod time of the symlink's containing
   3234 # directory).
   3235 am_build_env_is_sane=no
   3236 am_has_slept=no
   3237 rm -f conftest.file
   3238 for am_try in 1 2; do
   3239   echo "timestamp, slept: $am_has_slept" > conftest.file
   3240   if (
   3241     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3242     if test "$*" = "X"; then
   3243       # -L didn't work.
   3244       set X `ls -t "$srcdir/configure" conftest.file`
   3245     fi
   3246     test "$2" = conftest.file
   3247   ); then
   3248     am_build_env_is_sane=yes
   3249     break
   3250   fi
   3251   # Just in case.
   3252   sleep "$am_cv_filesystem_timestamp_resolution"
   3253   am_has_slept=yes
   3254 done
   3255 
   3256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   3257 printf "%s\n" "$am_build_env_is_sane" >&6; }
   3258 if test "$am_build_env_is_sane" = no; then
   3259   as_fn_error $? "newly created file is older than distributed files!
   3260 Check your system clock" "$LINENO" 5
   3261 fi
   3262 
   3263 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3264 # generated files are strictly newer.
   3265 am_sleep_pid=
   3266 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   3267 then :
   3268 
   3269 else case e in #(
   3270   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   3271   am_sleep_pid=$!
   3272  ;;
   3273 esac
   3274 fi
   3275 
   3276 rm -f conftest.file
   3277 
   3278 test "$program_prefix" != NONE &&
   3279   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3280 # Use a double $ so make ignores it.
   3281 test "$program_suffix" != NONE &&
   3282   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3283 # Double any \ or $.
   3284 # By default was 's,x,x', remove it if useless.
   3285 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3286 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3287 
   3288 
   3289 # Expand $ac_aux_dir to an absolute path.
   3290 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3291 
   3292 
   3293   if test x"${MISSING+set}" != xset; then
   3294   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3295 fi
   3296 # Use eval to expand $SHELL
   3297 if eval "$MISSING --is-lightweight"; then
   3298   am_missing_run="$MISSING "
   3299 else
   3300   am_missing_run=
   3301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3302 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3303 fi
   3304 
   3305 if test x"${install_sh+set}" != xset; then
   3306   case $am_aux_dir in
   3307   *\ * | *\	*)
   3308     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3309   *)
   3310     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3311   esac
   3312 fi
   3313 
   3314 # Installed binaries are usually stripped using 'strip' when the user
   3315 # run "make install-strip".  However 'strip' might not be the right
   3316 # tool to use in cross-compilation environments, therefore Automake
   3317 # will honor the 'STRIP' environment variable to overrule this program.
   3318 if test "$cross_compiling" != no; then
   3319   if test -n "$ac_tool_prefix"; then
   3320   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3321 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3323 printf %s "checking for $ac_word... " >&6; }
   3324 if test ${ac_cv_prog_STRIP+y}
   3325 then :
   3326   printf %s "(cached) " >&6
   3327 else case e in #(
   3328   e) if test -n "$STRIP"; then
   3329   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3330 else
   3331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3332 for as_dir in $PATH
   3333 do
   3334   IFS=$as_save_IFS
   3335   case $as_dir in #(((
   3336     '') as_dir=./ ;;
   3337     */) ;;
   3338     *) as_dir=$as_dir/ ;;
   3339   esac
   3340     for ac_exec_ext in '' $ac_executable_extensions; do
   3341   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3342     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3343     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3344     break 2
   3345   fi
   3346 done
   3347   done
   3348 IFS=$as_save_IFS
   3349 
   3350 fi ;;
   3351 esac
   3352 fi
   3353 STRIP=$ac_cv_prog_STRIP
   3354 if test -n "$STRIP"; then
   3355   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3356 printf "%s\n" "$STRIP" >&6; }
   3357 else
   3358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3359 printf "%s\n" "no" >&6; }
   3360 fi
   3361 
   3362 
   3363 fi
   3364 if test -z "$ac_cv_prog_STRIP"; then
   3365   ac_ct_STRIP=$STRIP
   3366   # Extract the first word of "strip", so it can be a program name with args.
   3367 set dummy strip; ac_word=$2
   3368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3369 printf %s "checking for $ac_word... " >&6; }
   3370 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3371 then :
   3372   printf %s "(cached) " >&6
   3373 else case e in #(
   3374   e) if test -n "$ac_ct_STRIP"; then
   3375   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3376 else
   3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3378 for as_dir in $PATH
   3379 do
   3380   IFS=$as_save_IFS
   3381   case $as_dir in #(((
   3382     '') as_dir=./ ;;
   3383     */) ;;
   3384     *) as_dir=$as_dir/ ;;
   3385   esac
   3386     for ac_exec_ext in '' $ac_executable_extensions; do
   3387   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3388     ac_cv_prog_ac_ct_STRIP="strip"
   3389     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3390     break 2
   3391   fi
   3392 done
   3393   done
   3394 IFS=$as_save_IFS
   3395 
   3396 fi ;;
   3397 esac
   3398 fi
   3399 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3400 if test -n "$ac_ct_STRIP"; then
   3401   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3402 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3403 else
   3404   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3405 printf "%s\n" "no" >&6; }
   3406 fi
   3407 
   3408   if test "x$ac_ct_STRIP" = x; then
   3409     STRIP=":"
   3410   else
   3411     case $cross_compiling:$ac_tool_warned in
   3412 yes:)
   3413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3414 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3415 ac_tool_warned=yes ;;
   3416 esac
   3417     STRIP=$ac_ct_STRIP
   3418   fi
   3419 else
   3420   STRIP="$ac_cv_prog_STRIP"
   3421 fi
   3422 
   3423 fi
   3424 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3425 
   3426 
   3427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3428 printf %s "checking for a race-free mkdir -p... " >&6; }
   3429 if test -z "$MKDIR_P"; then
   3430   if test ${ac_cv_path_mkdir+y}
   3431 then :
   3432   printf %s "(cached) " >&6
   3433 else case e in #(
   3434   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3435 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3436 do
   3437   IFS=$as_save_IFS
   3438   case $as_dir in #(((
   3439     '') as_dir=./ ;;
   3440     */) ;;
   3441     *) as_dir=$as_dir/ ;;
   3442   esac
   3443     for ac_prog in mkdir gmkdir; do
   3444 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3445 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3446 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3447 	     'mkdir ('*'coreutils) '* | \
   3448 	     *'BusyBox '* | \
   3449 	     'mkdir (fileutils) '4.1*)
   3450 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3451 	       break 3;;
   3452 	   esac
   3453 	 done
   3454        done
   3455   done
   3456 IFS=$as_save_IFS
   3457  ;;
   3458 esac
   3459 fi
   3460 
   3461   test -d ./--version && rmdir ./--version
   3462   if test ${ac_cv_path_mkdir+y}; then
   3463     MKDIR_P="$ac_cv_path_mkdir -p"
   3464   else
   3465     # As a last resort, use plain mkdir -p,
   3466     # in the hope it doesn't have the bugs of ancient mkdir.
   3467     MKDIR_P='mkdir -p'
   3468   fi
   3469 fi
   3470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3471 printf "%s\n" "$MKDIR_P" >&6; }
   3472 
   3473 for ac_prog in gawk mawk nawk awk
   3474 do
   3475   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3476 set dummy $ac_prog; ac_word=$2
   3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3478 printf %s "checking for $ac_word... " >&6; }
   3479 if test ${ac_cv_prog_AWK+y}
   3480 then :
   3481   printf %s "(cached) " >&6
   3482 else case e in #(
   3483   e) if test -n "$AWK"; then
   3484   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3485 else
   3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3487 for as_dir in $PATH
   3488 do
   3489   IFS=$as_save_IFS
   3490   case $as_dir in #(((
   3491     '') as_dir=./ ;;
   3492     */) ;;
   3493     *) as_dir=$as_dir/ ;;
   3494   esac
   3495     for ac_exec_ext in '' $ac_executable_extensions; do
   3496   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3497     ac_cv_prog_AWK="$ac_prog"
   3498     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3499     break 2
   3500   fi
   3501 done
   3502   done
   3503 IFS=$as_save_IFS
   3504 
   3505 fi ;;
   3506 esac
   3507 fi
   3508 AWK=$ac_cv_prog_AWK
   3509 if test -n "$AWK"; then
   3510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3511 printf "%s\n" "$AWK" >&6; }
   3512 else
   3513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3514 printf "%s\n" "no" >&6; }
   3515 fi
   3516 
   3517 
   3518   test -n "$AWK" && break
   3519 done
   3520 
   3521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3522 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3523 set x ${MAKE-make}
   3524 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3525 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3526 then :
   3527   printf %s "(cached) " >&6
   3528 else case e in #(
   3529   e) cat >conftest.make <<\_ACEOF
   3530 SHELL = /bin/sh
   3531 all:
   3532 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3533 _ACEOF
   3534 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3535 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3536   *@@@%%%=?*=@@@%%%*)
   3537     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3538   *)
   3539     eval ac_cv_prog_make_${ac_make}_set=no;;
   3540 esac
   3541 rm -f conftest.make ;;
   3542 esac
   3543 fi
   3544 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3546 printf "%s\n" "yes" >&6; }
   3547   SET_MAKE=
   3548 else
   3549   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3550 printf "%s\n" "no" >&6; }
   3551   SET_MAKE="MAKE=${MAKE-make}"
   3552 fi
   3553 
   3554 rm -rf .tst 2>/dev/null
   3555 mkdir .tst 2>/dev/null
   3556 if test -d .tst; then
   3557   am__leading_dot=.
   3558 else
   3559   am__leading_dot=_
   3560 fi
   3561 rmdir .tst 2>/dev/null
   3562 
   3563 AM_DEFAULT_VERBOSITY=1
   3564 # Check whether --enable-silent-rules was given.
   3565 if test ${enable_silent_rules+y}
   3566 then :
   3567   enableval=$enable_silent_rules;
   3568 fi
   3569 
   3570 am_make=${MAKE-make}
   3571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3572 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3573 if test ${am_cv_make_support_nested_variables+y}
   3574 then :
   3575   printf %s "(cached) " >&6
   3576 else case e in #(
   3577   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3578 BAR0=false
   3579 BAR1=true
   3580 V=1
   3581 am__doit:
   3582 	@$(TRUE)
   3583 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3584   am_cv_make_support_nested_variables=yes
   3585 else
   3586   am_cv_make_support_nested_variables=no
   3587 fi ;;
   3588 esac
   3589 fi
   3590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3591 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3592 AM_BACKSLASH='\'
   3593 
   3594 am__rm_f_notfound=
   3595 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3596 then :
   3597 
   3598 else case e in #(
   3599   e) am__rm_f_notfound='""' ;;
   3600 esac
   3601 fi
   3602 
   3603 
   3604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3605 printf %s "checking xargs -n works... " >&6; }
   3606 if test ${am_cv_xargs_n_works+y}
   3607 then :
   3608   printf %s "(cached) " >&6
   3609 else case e in #(
   3610   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3611 3"
   3612 then :
   3613   am_cv_xargs_n_works=yes
   3614 else case e in #(
   3615   e) am_cv_xargs_n_works=no ;;
   3616 esac
   3617 fi ;;
   3618 esac
   3619 fi
   3620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3621 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3622 if test "$am_cv_xargs_n_works" = yes
   3623 then :
   3624   am__xargs_n='xargs -n'
   3625 else case e in #(
   3626   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3627  ;;
   3628 esac
   3629 fi
   3630 
   3631 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3632   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3633   # is not polluted with repeated "-I."
   3634   am__isrc=' -I$(srcdir)'
   3635   # test to see if srcdir already configured
   3636   if test -f $srcdir/config.status; then
   3637     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3638   fi
   3639 fi
   3640 
   3641 # test whether we have cygpath
   3642 if test -z "$CYGPATH_W"; then
   3643   if (cygpath --version) >/dev/null 2>/dev/null; then
   3644     CYGPATH_W='cygpath -w'
   3645   else
   3646     CYGPATH_W=echo
   3647   fi
   3648 fi
   3649 
   3650 
   3651 # Define the identity of the package.
   3652  PACKAGE='libXfont2'
   3653  VERSION='2.0.8'
   3654 
   3655 
   3656 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3657 
   3658 
   3659 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3660 
   3661 # Some tools Automake needs.
   3662 
   3663 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3664 
   3665 
   3666 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3667 
   3668 
   3669 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3670 
   3671 
   3672 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3673 
   3674 
   3675 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3676 
   3677 # For better backward compatibility.  To be removed once Automake 1.9.x
   3678 # dies out for good.  For more background, see:
   3679 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3680 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3681 mkdir_p='$(MKDIR_P)'
   3682 
   3683 # We need awk for the "check" target (and possibly the TAP driver).  The
   3684 # system "awk" is bad on some platforms.
   3685 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3686 # in the wild :-(  We should find a proper way to deprecate it ...
   3687 AMTAR='$${TAR-tar}'
   3688 
   3689 
   3690 # We'll loop over all known methods to create a tar archive until one works.
   3691 _am_tools='gnutar plaintar pax cpio none'
   3692 
   3693 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3694       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3695       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3696       # and bug#13588).
   3697       am_max_uid=2097151 # 2^21 - 1
   3698       am_max_gid=$am_max_uid
   3699       # The $UID and $GID variables are not portable, so we need to resort
   3700       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3701       # below are definitely unexpected, so allow the users to see them
   3702       # (that is, avoid stderr redirection).
   3703       am_uid=`id -u || echo unknown`
   3704       am_gid=`id -g || echo unknown`
   3705       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3706 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3707       if test x$am_uid = xunknown; then
   3708         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3709 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3710       elif test $am_uid -le $am_max_uid; then
   3711         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3712 printf "%s\n" "yes" >&6; }
   3713       else
   3714         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3715 printf "%s\n" "no" >&6; }
   3716         _am_tools=none
   3717       fi
   3718       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3719 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3720       if test x$gm_gid = xunknown; then
   3721         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3722 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3723       elif test $am_gid -le $am_max_gid; then
   3724         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3725 printf "%s\n" "yes" >&6; }
   3726       else
   3727         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3728 printf "%s\n" "no" >&6; }
   3729         _am_tools=none
   3730       fi
   3731 
   3732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3733 printf %s "checking how to create a ustar tar archive... " >&6; }
   3734 
   3735   # Go ahead even if we have the value already cached.  We do so because we
   3736   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3737   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3738 
   3739   for _am_tool in $_am_tools; do
   3740     case $_am_tool in
   3741     gnutar)
   3742       for _am_tar in tar gnutar gtar; do
   3743         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3744    ($_am_tar --version) >&5 2>&5
   3745    ac_status=$?
   3746    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3747    (exit $ac_status); } && break
   3748       done
   3749       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3750       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3751       am__untar="$_am_tar -xf -"
   3752       ;;
   3753     plaintar)
   3754       # Must skip GNU tar: if it does not support --format= it doesn't create
   3755       # ustar tarball either.
   3756       (tar --version) >/dev/null 2>&1 && continue
   3757       am__tar='tar chf - "$$tardir"'
   3758       am__tar_='tar chf - "$tardir"'
   3759       am__untar='tar xf -'
   3760       ;;
   3761     pax)
   3762       am__tar='pax -L -x ustar -w "$$tardir"'
   3763       am__tar_='pax -L -x ustar -w "$tardir"'
   3764       am__untar='pax -r'
   3765       ;;
   3766     cpio)
   3767       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3768       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3769       am__untar='cpio -i -H ustar -d'
   3770       ;;
   3771     none)
   3772       am__tar=false
   3773       am__tar_=false
   3774       am__untar=false
   3775       ;;
   3776     esac
   3777 
   3778     # If the value was cached, stop now.  We just wanted to have am__tar
   3779     # and am__untar set.
   3780     test -n "${am_cv_prog_tar_ustar}" && break
   3781 
   3782     # tar/untar a dummy directory, and stop if the command works.
   3783     rm -rf conftest.dir
   3784     mkdir conftest.dir
   3785     echo GrepMe > conftest.dir/file
   3786     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3787    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3788    ac_status=$?
   3789    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3790    (exit $ac_status); }
   3791     rm -rf conftest.dir
   3792     if test -s conftest.tar; then
   3793       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3794    ($am__untar <conftest.tar) >&5 2>&5
   3795    ac_status=$?
   3796    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3797    (exit $ac_status); }
   3798       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3799    (cat conftest.dir/file) >&5 2>&5
   3800    ac_status=$?
   3801    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3802    (exit $ac_status); }
   3803       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3804     fi
   3805   done
   3806   rm -rf conftest.dir
   3807 
   3808   if test ${am_cv_prog_tar_ustar+y}
   3809 then :
   3810   printf %s "(cached) " >&6
   3811 else case e in #(
   3812   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3813 esac
   3814 fi
   3815 
   3816   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3817 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3818 
   3819 
   3820 
   3821 
   3822 
   3823 # Variables for tags utilities; see am/tags.am
   3824 if test -z "$CTAGS"; then
   3825   CTAGS=ctags
   3826 fi
   3827 
   3828 if test -z "$ETAGS"; then
   3829   ETAGS=etags
   3830 fi
   3831 
   3832 if test -z "$CSCOPE"; then
   3833   CSCOPE=cscope
   3834 fi
   3835 
   3836 
   3837 
   3838 
   3839 
   3840 
   3841 
   3842 
   3843 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3844 # Must be called before any macros that run the compiler (like
   3845 # LT_INIT) to avoid autoconf errors.
   3846 
   3847 
   3848 
   3849 
   3850 
   3851 
   3852 
   3853 
   3854 
   3855 DEPDIR="${am__leading_dot}deps"
   3856 
   3857 ac_config_commands="$ac_config_commands depfiles"
   3858 
   3859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3860 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3861 cat > confinc.mk << 'END'
   3862 am__doit:
   3863 	@echo this is the am__doit target >confinc.out
   3864 .PHONY: am__doit
   3865 END
   3866 am__include="#"
   3867 am__quote=
   3868 # BSD make does it like this.
   3869 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3870 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3871 echo 'include confinc.mk # ignored' > confmf.GNU
   3872 _am_result=no
   3873 for s in GNU BSD; do
   3874   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3875    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3876    ac_status=$?
   3877    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3878    (exit $ac_status); }
   3879   case $?:`cat confinc.out 2>/dev/null` in #(
   3880   '0:this is the am__doit target') :
   3881     case $s in #(
   3882   BSD) :
   3883     am__include='.include' am__quote='"' ;; #(
   3884   *) :
   3885     am__include='include' am__quote='' ;;
   3886 esac ;; #(
   3887   *) :
   3888      ;;
   3889 esac
   3890   if test "$am__include" != "#"; then
   3891     _am_result="yes ($s style)"
   3892     break
   3893   fi
   3894 done
   3895 rm -f confinc.* confmf.*
   3896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3897 printf "%s\n" "${_am_result}" >&6; }
   3898 
   3899 # Check whether --enable-dependency-tracking was given.
   3900 if test ${enable_dependency_tracking+y}
   3901 then :
   3902   enableval=$enable_dependency_tracking;
   3903 fi
   3904 
   3905 if test "x$enable_dependency_tracking" != xno; then
   3906   am_depcomp="$ac_aux_dir/depcomp"
   3907   AMDEPBACKSLASH='\'
   3908   am__nodep='_no'
   3909 fi
   3910  if test "x$enable_dependency_tracking" != xno; then
   3911   AMDEP_TRUE=
   3912   AMDEP_FALSE='#'
   3913 else
   3914   AMDEP_TRUE='#'
   3915   AMDEP_FALSE=
   3916 fi
   3917 
   3918 
   3919 ac_ext=c
   3920 ac_cpp='$CPP $CPPFLAGS'
   3921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3924 if test -n "$ac_tool_prefix"; then
   3925   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3926 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3928 printf %s "checking for $ac_word... " >&6; }
   3929 if test ${ac_cv_prog_CC+y}
   3930 then :
   3931   printf %s "(cached) " >&6
   3932 else case e in #(
   3933   e) if test -n "$CC"; then
   3934   ac_cv_prog_CC="$CC" # Let the user override the test.
   3935 else
   3936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3937 for as_dir in $PATH
   3938 do
   3939   IFS=$as_save_IFS
   3940   case $as_dir in #(((
   3941     '') as_dir=./ ;;
   3942     */) ;;
   3943     *) as_dir=$as_dir/ ;;
   3944   esac
   3945     for ac_exec_ext in '' $ac_executable_extensions; do
   3946   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3947     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3948     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3949     break 2
   3950   fi
   3951 done
   3952   done
   3953 IFS=$as_save_IFS
   3954 
   3955 fi ;;
   3956 esac
   3957 fi
   3958 CC=$ac_cv_prog_CC
   3959 if test -n "$CC"; then
   3960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3961 printf "%s\n" "$CC" >&6; }
   3962 else
   3963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3964 printf "%s\n" "no" >&6; }
   3965 fi
   3966 
   3967 
   3968 fi
   3969 if test -z "$ac_cv_prog_CC"; then
   3970   ac_ct_CC=$CC
   3971   # Extract the first word of "gcc", so it can be a program name with args.
   3972 set dummy gcc; ac_word=$2
   3973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3974 printf %s "checking for $ac_word... " >&6; }
   3975 if test ${ac_cv_prog_ac_ct_CC+y}
   3976 then :
   3977   printf %s "(cached) " >&6
   3978 else case e in #(
   3979   e) if test -n "$ac_ct_CC"; then
   3980   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3981 else
   3982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3983 for as_dir in $PATH
   3984 do
   3985   IFS=$as_save_IFS
   3986   case $as_dir in #(((
   3987     '') as_dir=./ ;;
   3988     */) ;;
   3989     *) as_dir=$as_dir/ ;;
   3990   esac
   3991     for ac_exec_ext in '' $ac_executable_extensions; do
   3992   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3993     ac_cv_prog_ac_ct_CC="gcc"
   3994     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3995     break 2
   3996   fi
   3997 done
   3998   done
   3999 IFS=$as_save_IFS
   4000 
   4001 fi ;;
   4002 esac
   4003 fi
   4004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4005 if test -n "$ac_ct_CC"; then
   4006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4007 printf "%s\n" "$ac_ct_CC" >&6; }
   4008 else
   4009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4010 printf "%s\n" "no" >&6; }
   4011 fi
   4012 
   4013   if test "x$ac_ct_CC" = x; then
   4014     CC=""
   4015   else
   4016     case $cross_compiling:$ac_tool_warned in
   4017 yes:)
   4018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4019 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4020 ac_tool_warned=yes ;;
   4021 esac
   4022     CC=$ac_ct_CC
   4023   fi
   4024 else
   4025   CC="$ac_cv_prog_CC"
   4026 fi
   4027 
   4028 if test -z "$CC"; then
   4029           if test -n "$ac_tool_prefix"; then
   4030     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4031 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4033 printf %s "checking for $ac_word... " >&6; }
   4034 if test ${ac_cv_prog_CC+y}
   4035 then :
   4036   printf %s "(cached) " >&6
   4037 else case e in #(
   4038   e) if test -n "$CC"; then
   4039   ac_cv_prog_CC="$CC" # Let the user override the test.
   4040 else
   4041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4042 for as_dir in $PATH
   4043 do
   4044   IFS=$as_save_IFS
   4045   case $as_dir in #(((
   4046     '') as_dir=./ ;;
   4047     */) ;;
   4048     *) as_dir=$as_dir/ ;;
   4049   esac
   4050     for ac_exec_ext in '' $ac_executable_extensions; do
   4051   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4052     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4053     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4054     break 2
   4055   fi
   4056 done
   4057   done
   4058 IFS=$as_save_IFS
   4059 
   4060 fi ;;
   4061 esac
   4062 fi
   4063 CC=$ac_cv_prog_CC
   4064 if test -n "$CC"; then
   4065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4066 printf "%s\n" "$CC" >&6; }
   4067 else
   4068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4069 printf "%s\n" "no" >&6; }
   4070 fi
   4071 
   4072 
   4073   fi
   4074 fi
   4075 if test -z "$CC"; then
   4076   # Extract the first word of "cc", so it can be a program name with args.
   4077 set dummy cc; ac_word=$2
   4078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4079 printf %s "checking for $ac_word... " >&6; }
   4080 if test ${ac_cv_prog_CC+y}
   4081 then :
   4082   printf %s "(cached) " >&6
   4083 else case e in #(
   4084   e) if test -n "$CC"; then
   4085   ac_cv_prog_CC="$CC" # Let the user override the test.
   4086 else
   4087   ac_prog_rejected=no
   4088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4089 for as_dir in $PATH
   4090 do
   4091   IFS=$as_save_IFS
   4092   case $as_dir in #(((
   4093     '') as_dir=./ ;;
   4094     */) ;;
   4095     *) as_dir=$as_dir/ ;;
   4096   esac
   4097     for ac_exec_ext in '' $ac_executable_extensions; do
   4098   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4099     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4100        ac_prog_rejected=yes
   4101        continue
   4102      fi
   4103     ac_cv_prog_CC="cc"
   4104     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4105     break 2
   4106   fi
   4107 done
   4108   done
   4109 IFS=$as_save_IFS
   4110 
   4111 if test $ac_prog_rejected = yes; then
   4112   # We found a bogon in the path, so make sure we never use it.
   4113   set dummy $ac_cv_prog_CC
   4114   shift
   4115   if test $# != 0; then
   4116     # We chose a different compiler from the bogus one.
   4117     # However, it has the same basename, so the bogon will be chosen
   4118     # first if we set CC to just the basename; use the full file name.
   4119     shift
   4120     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4121   fi
   4122 fi
   4123 fi ;;
   4124 esac
   4125 fi
   4126 CC=$ac_cv_prog_CC
   4127 if test -n "$CC"; then
   4128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4129 printf "%s\n" "$CC" >&6; }
   4130 else
   4131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4132 printf "%s\n" "no" >&6; }
   4133 fi
   4134 
   4135 
   4136 fi
   4137 if test -z "$CC"; then
   4138   if test -n "$ac_tool_prefix"; then
   4139   for ac_prog in cl.exe
   4140   do
   4141     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4142 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4144 printf %s "checking for $ac_word... " >&6; }
   4145 if test ${ac_cv_prog_CC+y}
   4146 then :
   4147   printf %s "(cached) " >&6
   4148 else case e in #(
   4149   e) if test -n "$CC"; then
   4150   ac_cv_prog_CC="$CC" # Let the user override the test.
   4151 else
   4152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4153 for as_dir in $PATH
   4154 do
   4155   IFS=$as_save_IFS
   4156   case $as_dir in #(((
   4157     '') as_dir=./ ;;
   4158     */) ;;
   4159     *) as_dir=$as_dir/ ;;
   4160   esac
   4161     for ac_exec_ext in '' $ac_executable_extensions; do
   4162   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4163     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4164     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4165     break 2
   4166   fi
   4167 done
   4168   done
   4169 IFS=$as_save_IFS
   4170 
   4171 fi ;;
   4172 esac
   4173 fi
   4174 CC=$ac_cv_prog_CC
   4175 if test -n "$CC"; then
   4176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4177 printf "%s\n" "$CC" >&6; }
   4178 else
   4179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4180 printf "%s\n" "no" >&6; }
   4181 fi
   4182 
   4183 
   4184     test -n "$CC" && break
   4185   done
   4186 fi
   4187 if test -z "$CC"; then
   4188   ac_ct_CC=$CC
   4189   for ac_prog in cl.exe
   4190 do
   4191   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4192 set dummy $ac_prog; ac_word=$2
   4193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4194 printf %s "checking for $ac_word... " >&6; }
   4195 if test ${ac_cv_prog_ac_ct_CC+y}
   4196 then :
   4197   printf %s "(cached) " >&6
   4198 else case e in #(
   4199   e) if test -n "$ac_ct_CC"; then
   4200   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4201 else
   4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4203 for as_dir in $PATH
   4204 do
   4205   IFS=$as_save_IFS
   4206   case $as_dir in #(((
   4207     '') as_dir=./ ;;
   4208     */) ;;
   4209     *) as_dir=$as_dir/ ;;
   4210   esac
   4211     for ac_exec_ext in '' $ac_executable_extensions; do
   4212   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4213     ac_cv_prog_ac_ct_CC="$ac_prog"
   4214     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4215     break 2
   4216   fi
   4217 done
   4218   done
   4219 IFS=$as_save_IFS
   4220 
   4221 fi ;;
   4222 esac
   4223 fi
   4224 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4225 if test -n "$ac_ct_CC"; then
   4226   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4227 printf "%s\n" "$ac_ct_CC" >&6; }
   4228 else
   4229   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4230 printf "%s\n" "no" >&6; }
   4231 fi
   4232 
   4233 
   4234   test -n "$ac_ct_CC" && break
   4235 done
   4236 
   4237   if test "x$ac_ct_CC" = x; then
   4238     CC=""
   4239   else
   4240     case $cross_compiling:$ac_tool_warned in
   4241 yes:)
   4242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4243 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4244 ac_tool_warned=yes ;;
   4245 esac
   4246     CC=$ac_ct_CC
   4247   fi
   4248 fi
   4249 
   4250 fi
   4251 if test -z "$CC"; then
   4252   if test -n "$ac_tool_prefix"; then
   4253   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4254 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4256 printf %s "checking for $ac_word... " >&6; }
   4257 if test ${ac_cv_prog_CC+y}
   4258 then :
   4259   printf %s "(cached) " >&6
   4260 else case e in #(
   4261   e) if test -n "$CC"; then
   4262   ac_cv_prog_CC="$CC" # Let the user override the test.
   4263 else
   4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4265 for as_dir in $PATH
   4266 do
   4267   IFS=$as_save_IFS
   4268   case $as_dir in #(((
   4269     '') as_dir=./ ;;
   4270     */) ;;
   4271     *) as_dir=$as_dir/ ;;
   4272   esac
   4273     for ac_exec_ext in '' $ac_executable_extensions; do
   4274   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4275     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4276     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4277     break 2
   4278   fi
   4279 done
   4280   done
   4281 IFS=$as_save_IFS
   4282 
   4283 fi ;;
   4284 esac
   4285 fi
   4286 CC=$ac_cv_prog_CC
   4287 if test -n "$CC"; then
   4288   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4289 printf "%s\n" "$CC" >&6; }
   4290 else
   4291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4292 printf "%s\n" "no" >&6; }
   4293 fi
   4294 
   4295 
   4296 fi
   4297 if test -z "$ac_cv_prog_CC"; then
   4298   ac_ct_CC=$CC
   4299   # Extract the first word of "clang", so it can be a program name with args.
   4300 set dummy clang; ac_word=$2
   4301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4302 printf %s "checking for $ac_word... " >&6; }
   4303 if test ${ac_cv_prog_ac_ct_CC+y}
   4304 then :
   4305   printf %s "(cached) " >&6
   4306 else case e in #(
   4307   e) if test -n "$ac_ct_CC"; then
   4308   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4309 else
   4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4311 for as_dir in $PATH
   4312 do
   4313   IFS=$as_save_IFS
   4314   case $as_dir in #(((
   4315     '') as_dir=./ ;;
   4316     */) ;;
   4317     *) as_dir=$as_dir/ ;;
   4318   esac
   4319     for ac_exec_ext in '' $ac_executable_extensions; do
   4320   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4321     ac_cv_prog_ac_ct_CC="clang"
   4322     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4323     break 2
   4324   fi
   4325 done
   4326   done
   4327 IFS=$as_save_IFS
   4328 
   4329 fi ;;
   4330 esac
   4331 fi
   4332 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4333 if test -n "$ac_ct_CC"; then
   4334   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4335 printf "%s\n" "$ac_ct_CC" >&6; }
   4336 else
   4337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4338 printf "%s\n" "no" >&6; }
   4339 fi
   4340 
   4341   if test "x$ac_ct_CC" = x; then
   4342     CC=""
   4343   else
   4344     case $cross_compiling:$ac_tool_warned in
   4345 yes:)
   4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4347 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4348 ac_tool_warned=yes ;;
   4349 esac
   4350     CC=$ac_ct_CC
   4351   fi
   4352 else
   4353   CC="$ac_cv_prog_CC"
   4354 fi
   4355 
   4356 fi
   4357 
   4358 
   4359 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4360 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4361 as_fn_error $? "no acceptable C compiler found in \$PATH
   4362 See 'config.log' for more details" "$LINENO" 5; }
   4363 
   4364 # Provide some information about the compiler.
   4365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4366 set X $ac_compile
   4367 ac_compiler=$2
   4368 for ac_option in --version -v -V -qversion -version; do
   4369   { { ac_try="$ac_compiler $ac_option >&5"
   4370 case "(($ac_try" in
   4371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4372   *) ac_try_echo=$ac_try;;
   4373 esac
   4374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4375 printf "%s\n" "$ac_try_echo"; } >&5
   4376   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4377   ac_status=$?
   4378   if test -s conftest.err; then
   4379     sed '10a\
   4380 ... rest of stderr output deleted ...
   4381          10q' conftest.err >conftest.er1
   4382     cat conftest.er1 >&5
   4383   fi
   4384   rm -f conftest.er1 conftest.err
   4385   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4386   test $ac_status = 0; }
   4387 done
   4388 
   4389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4390 /* end confdefs.h.  */
   4391 
   4392 int
   4393 main (void)
   4394 {
   4395 
   4396   ;
   4397   return 0;
   4398 }
   4399 _ACEOF
   4400 ac_clean_files_save=$ac_clean_files
   4401 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4402 # Try to create an executable without -o first, disregard a.out.
   4403 # It will help us diagnose broken compilers, and finding out an intuition
   4404 # of exeext.
   4405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4406 printf %s "checking whether the C compiler works... " >&6; }
   4407 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4408 
   4409 # The possible output files:
   4410 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4411 
   4412 ac_rmfiles=
   4413 for ac_file in $ac_files
   4414 do
   4415   case $ac_file in
   4416     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4417     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4418   esac
   4419 done
   4420 rm -f $ac_rmfiles
   4421 
   4422 if { { ac_try="$ac_link_default"
   4423 case "(($ac_try" in
   4424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4425   *) ac_try_echo=$ac_try;;
   4426 esac
   4427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4428 printf "%s\n" "$ac_try_echo"; } >&5
   4429   (eval "$ac_link_default") 2>&5
   4430   ac_status=$?
   4431   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4432   test $ac_status = 0; }
   4433 then :
   4434   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4435 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4436 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4437 # so that the user can short-circuit this test for compilers unknown to
   4438 # Autoconf.
   4439 for ac_file in $ac_files ''
   4440 do
   4441   test -f "$ac_file" || continue
   4442   case $ac_file in
   4443     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4444 	;;
   4445     [ab].out )
   4446 	# We found the default executable, but exeext='' is most
   4447 	# certainly right.
   4448 	break;;
   4449     *.* )
   4450 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4451 	then :; else
   4452 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4453 	fi
   4454 	# We set ac_cv_exeext here because the later test for it is not
   4455 	# safe: cross compilers may not add the suffix if given an '-o'
   4456 	# argument, so we may need to know it at that point already.
   4457 	# Even if this section looks crufty: it has the advantage of
   4458 	# actually working.
   4459 	break;;
   4460     * )
   4461 	break;;
   4462   esac
   4463 done
   4464 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4465 
   4466 else case e in #(
   4467   e) ac_file='' ;;
   4468 esac
   4469 fi
   4470 if test -z "$ac_file"
   4471 then :
   4472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4473 printf "%s\n" "no" >&6; }
   4474 printf "%s\n" "$as_me: failed program was:" >&5
   4475 sed 's/^/| /' conftest.$ac_ext >&5
   4476 
   4477 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4478 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4479 as_fn_error 77 "C compiler cannot create executables
   4480 See 'config.log' for more details" "$LINENO" 5; }
   4481 else case e in #(
   4482   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4483 printf "%s\n" "yes" >&6; } ;;
   4484 esac
   4485 fi
   4486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4487 printf %s "checking for C compiler default output file name... " >&6; }
   4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4489 printf "%s\n" "$ac_file" >&6; }
   4490 ac_exeext=$ac_cv_exeext
   4491 
   4492 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4493 ac_clean_files=$ac_clean_files_save
   4494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4495 printf %s "checking for suffix of executables... " >&6; }
   4496 if { { ac_try="$ac_link"
   4497 case "(($ac_try" in
   4498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4499   *) ac_try_echo=$ac_try;;
   4500 esac
   4501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4502 printf "%s\n" "$ac_try_echo"; } >&5
   4503   (eval "$ac_link") 2>&5
   4504   ac_status=$?
   4505   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4506   test $ac_status = 0; }
   4507 then :
   4508   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4509 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4510 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4511 # 'rm'.
   4512 for ac_file in conftest.exe conftest conftest.*; do
   4513   test -f "$ac_file" || continue
   4514   case $ac_file in
   4515     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4516     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4517 	  break;;
   4518     * ) break;;
   4519   esac
   4520 done
   4521 else case e in #(
   4522   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4523 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4524 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4525 See 'config.log' for more details" "$LINENO" 5; } ;;
   4526 esac
   4527 fi
   4528 rm -f conftest conftest$ac_cv_exeext
   4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4530 printf "%s\n" "$ac_cv_exeext" >&6; }
   4531 
   4532 rm -f conftest.$ac_ext
   4533 EXEEXT=$ac_cv_exeext
   4534 ac_exeext=$EXEEXT
   4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4536 /* end confdefs.h.  */
   4537 #include <stdio.h>
   4538 int
   4539 main (void)
   4540 {
   4541 FILE *f = fopen ("conftest.out", "w");
   4542  if (!f)
   4543   return 1;
   4544  return ferror (f) || fclose (f) != 0;
   4545 
   4546   ;
   4547   return 0;
   4548 }
   4549 _ACEOF
   4550 ac_clean_files="$ac_clean_files conftest.out"
   4551 # Check that the compiler produces executables we can run.  If not, either
   4552 # the compiler is broken, or we cross compile.
   4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4554 printf %s "checking whether we are cross compiling... " >&6; }
   4555 if test "$cross_compiling" != yes; then
   4556   { { ac_try="$ac_link"
   4557 case "(($ac_try" in
   4558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4559   *) ac_try_echo=$ac_try;;
   4560 esac
   4561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4562 printf "%s\n" "$ac_try_echo"; } >&5
   4563   (eval "$ac_link") 2>&5
   4564   ac_status=$?
   4565   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4566   test $ac_status = 0; }
   4567   if { ac_try='./conftest$ac_cv_exeext'
   4568   { { case "(($ac_try" in
   4569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4570   *) ac_try_echo=$ac_try;;
   4571 esac
   4572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4573 printf "%s\n" "$ac_try_echo"; } >&5
   4574   (eval "$ac_try") 2>&5
   4575   ac_status=$?
   4576   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4577   test $ac_status = 0; }; }; then
   4578     cross_compiling=no
   4579   else
   4580     if test "$cross_compiling" = maybe; then
   4581 	cross_compiling=yes
   4582     else
   4583 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4584 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4585 as_fn_error 77 "cannot run C compiled programs.
   4586 If you meant to cross compile, use '--host'.
   4587 See 'config.log' for more details" "$LINENO" 5; }
   4588     fi
   4589   fi
   4590 fi
   4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4592 printf "%s\n" "$cross_compiling" >&6; }
   4593 
   4594 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4595   conftest.o conftest.obj conftest.out
   4596 ac_clean_files=$ac_clean_files_save
   4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4598 printf %s "checking for suffix of object files... " >&6; }
   4599 if test ${ac_cv_objext+y}
   4600 then :
   4601   printf %s "(cached) " >&6
   4602 else case e in #(
   4603   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4604 /* end confdefs.h.  */
   4605 
   4606 int
   4607 main (void)
   4608 {
   4609 
   4610   ;
   4611   return 0;
   4612 }
   4613 _ACEOF
   4614 rm -f conftest.o conftest.obj
   4615 if { { ac_try="$ac_compile"
   4616 case "(($ac_try" in
   4617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4618   *) ac_try_echo=$ac_try;;
   4619 esac
   4620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4621 printf "%s\n" "$ac_try_echo"; } >&5
   4622   (eval "$ac_compile") 2>&5
   4623   ac_status=$?
   4624   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4625   test $ac_status = 0; }
   4626 then :
   4627   for ac_file in conftest.o conftest.obj conftest.*; do
   4628   test -f "$ac_file" || continue;
   4629   case $ac_file in
   4630     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4631     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4632        break;;
   4633   esac
   4634 done
   4635 else case e in #(
   4636   e) printf "%s\n" "$as_me: failed program was:" >&5
   4637 sed 's/^/| /' conftest.$ac_ext >&5
   4638 
   4639 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4640 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4641 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4642 See 'config.log' for more details" "$LINENO" 5; } ;;
   4643 esac
   4644 fi
   4645 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4646 esac
   4647 fi
   4648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4649 printf "%s\n" "$ac_cv_objext" >&6; }
   4650 OBJEXT=$ac_cv_objext
   4651 ac_objext=$OBJEXT
   4652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4653 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4654 if test ${ac_cv_c_compiler_gnu+y}
   4655 then :
   4656   printf %s "(cached) " >&6
   4657 else case e in #(
   4658   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4659 /* end confdefs.h.  */
   4660 
   4661 int
   4662 main (void)
   4663 {
   4664 #ifndef __GNUC__
   4665        choke me
   4666 #endif
   4667 
   4668   ;
   4669   return 0;
   4670 }
   4671 _ACEOF
   4672 if ac_fn_c_try_compile "$LINENO"
   4673 then :
   4674   ac_compiler_gnu=yes
   4675 else case e in #(
   4676   e) ac_compiler_gnu=no ;;
   4677 esac
   4678 fi
   4679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4680 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4681  ;;
   4682 esac
   4683 fi
   4684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4685 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4687 
   4688 if test $ac_compiler_gnu = yes; then
   4689   GCC=yes
   4690 else
   4691   GCC=
   4692 fi
   4693 ac_test_CFLAGS=${CFLAGS+y}
   4694 ac_save_CFLAGS=$CFLAGS
   4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4696 printf %s "checking whether $CC accepts -g... " >&6; }
   4697 if test ${ac_cv_prog_cc_g+y}
   4698 then :
   4699   printf %s "(cached) " >&6
   4700 else case e in #(
   4701   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4702    ac_c_werror_flag=yes
   4703    ac_cv_prog_cc_g=no
   4704    CFLAGS="-g"
   4705    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4706 /* end confdefs.h.  */
   4707 
   4708 int
   4709 main (void)
   4710 {
   4711 
   4712   ;
   4713   return 0;
   4714 }
   4715 _ACEOF
   4716 if ac_fn_c_try_compile "$LINENO"
   4717 then :
   4718   ac_cv_prog_cc_g=yes
   4719 else case e in #(
   4720   e) CFLAGS=""
   4721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4722 /* end confdefs.h.  */
   4723 
   4724 int
   4725 main (void)
   4726 {
   4727 
   4728   ;
   4729   return 0;
   4730 }
   4731 _ACEOF
   4732 if ac_fn_c_try_compile "$LINENO"
   4733 then :
   4734 
   4735 else case e in #(
   4736   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4737 	 CFLAGS="-g"
   4738 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4739 /* end confdefs.h.  */
   4740 
   4741 int
   4742 main (void)
   4743 {
   4744 
   4745   ;
   4746   return 0;
   4747 }
   4748 _ACEOF
   4749 if ac_fn_c_try_compile "$LINENO"
   4750 then :
   4751   ac_cv_prog_cc_g=yes
   4752 fi
   4753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4754 esac
   4755 fi
   4756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4757 esac
   4758 fi
   4759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4760    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4761 esac
   4762 fi
   4763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4764 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4765 if test $ac_test_CFLAGS; then
   4766   CFLAGS=$ac_save_CFLAGS
   4767 elif test $ac_cv_prog_cc_g = yes; then
   4768   if test "$GCC" = yes; then
   4769     CFLAGS="-g -O2"
   4770   else
   4771     CFLAGS="-g"
   4772   fi
   4773 else
   4774   if test "$GCC" = yes; then
   4775     CFLAGS="-O2"
   4776   else
   4777     CFLAGS=
   4778   fi
   4779 fi
   4780 ac_prog_cc_stdc=no
   4781 if test x$ac_prog_cc_stdc = xno
   4782 then :
   4783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4784 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4785 if test ${ac_cv_prog_cc_c11+y}
   4786 then :
   4787   printf %s "(cached) " >&6
   4788 else case e in #(
   4789   e) ac_cv_prog_cc_c11=no
   4790 ac_save_CC=$CC
   4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4792 /* end confdefs.h.  */
   4793 $ac_c_conftest_c11_program
   4794 _ACEOF
   4795 for ac_arg in '' -std=gnu11
   4796 do
   4797   CC="$ac_save_CC $ac_arg"
   4798   if ac_fn_c_try_compile "$LINENO"
   4799 then :
   4800   ac_cv_prog_cc_c11=$ac_arg
   4801 fi
   4802 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4803   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4804 done
   4805 rm -f conftest.$ac_ext
   4806 CC=$ac_save_CC ;;
   4807 esac
   4808 fi
   4809 
   4810 if test "x$ac_cv_prog_cc_c11" = xno
   4811 then :
   4812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4813 printf "%s\n" "unsupported" >&6; }
   4814 else case e in #(
   4815   e) if test "x$ac_cv_prog_cc_c11" = x
   4816 then :
   4817   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4818 printf "%s\n" "none needed" >&6; }
   4819 else case e in #(
   4820   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4821 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4822      CC="$CC $ac_cv_prog_cc_c11" ;;
   4823 esac
   4824 fi
   4825   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4826   ac_prog_cc_stdc=c11 ;;
   4827 esac
   4828 fi
   4829 fi
   4830 if test x$ac_prog_cc_stdc = xno
   4831 then :
   4832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4833 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4834 if test ${ac_cv_prog_cc_c99+y}
   4835 then :
   4836   printf %s "(cached) " >&6
   4837 else case e in #(
   4838   e) ac_cv_prog_cc_c99=no
   4839 ac_save_CC=$CC
   4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4841 /* end confdefs.h.  */
   4842 $ac_c_conftest_c99_program
   4843 _ACEOF
   4844 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4845 do
   4846   CC="$ac_save_CC $ac_arg"
   4847   if ac_fn_c_try_compile "$LINENO"
   4848 then :
   4849   ac_cv_prog_cc_c99=$ac_arg
   4850 fi
   4851 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4852   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4853 done
   4854 rm -f conftest.$ac_ext
   4855 CC=$ac_save_CC ;;
   4856 esac
   4857 fi
   4858 
   4859 if test "x$ac_cv_prog_cc_c99" = xno
   4860 then :
   4861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4862 printf "%s\n" "unsupported" >&6; }
   4863 else case e in #(
   4864   e) if test "x$ac_cv_prog_cc_c99" = x
   4865 then :
   4866   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4867 printf "%s\n" "none needed" >&6; }
   4868 else case e in #(
   4869   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4870 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4871      CC="$CC $ac_cv_prog_cc_c99" ;;
   4872 esac
   4873 fi
   4874   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4875   ac_prog_cc_stdc=c99 ;;
   4876 esac
   4877 fi
   4878 fi
   4879 if test x$ac_prog_cc_stdc = xno
   4880 then :
   4881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4882 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4883 if test ${ac_cv_prog_cc_c89+y}
   4884 then :
   4885   printf %s "(cached) " >&6
   4886 else case e in #(
   4887   e) ac_cv_prog_cc_c89=no
   4888 ac_save_CC=$CC
   4889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4890 /* end confdefs.h.  */
   4891 $ac_c_conftest_c89_program
   4892 _ACEOF
   4893 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4894 do
   4895   CC="$ac_save_CC $ac_arg"
   4896   if ac_fn_c_try_compile "$LINENO"
   4897 then :
   4898   ac_cv_prog_cc_c89=$ac_arg
   4899 fi
   4900 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4901   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4902 done
   4903 rm -f conftest.$ac_ext
   4904 CC=$ac_save_CC ;;
   4905 esac
   4906 fi
   4907 
   4908 if test "x$ac_cv_prog_cc_c89" = xno
   4909 then :
   4910   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4911 printf "%s\n" "unsupported" >&6; }
   4912 else case e in #(
   4913   e) if test "x$ac_cv_prog_cc_c89" = x
   4914 then :
   4915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4916 printf "%s\n" "none needed" >&6; }
   4917 else case e in #(
   4918   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4919 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4920      CC="$CC $ac_cv_prog_cc_c89" ;;
   4921 esac
   4922 fi
   4923   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4924   ac_prog_cc_stdc=c89 ;;
   4925 esac
   4926 fi
   4927 fi
   4928 
   4929 ac_ext=c
   4930 ac_cpp='$CPP $CPPFLAGS'
   4931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4934 
   4935 
   4936   ac_ext=c
   4937 ac_cpp='$CPP $CPPFLAGS'
   4938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4942 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4943 if test ${am_cv_prog_cc_c_o+y}
   4944 then :
   4945   printf %s "(cached) " >&6
   4946 else case e in #(
   4947   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4948 /* end confdefs.h.  */
   4949 
   4950 int
   4951 main (void)
   4952 {
   4953 
   4954   ;
   4955   return 0;
   4956 }
   4957 _ACEOF
   4958   # Make sure it works both with $CC and with simple cc.
   4959   # Following AC_PROG_CC_C_O, we do the test twice because some
   4960   # compilers refuse to overwrite an existing .o file with -o,
   4961   # though they will create one.
   4962   am_cv_prog_cc_c_o=yes
   4963   for am_i in 1 2; do
   4964     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4965    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4966    ac_status=$?
   4967    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4968    (exit $ac_status); } \
   4969          && test -f conftest2.$ac_objext; then
   4970       : OK
   4971     else
   4972       am_cv_prog_cc_c_o=no
   4973       break
   4974     fi
   4975   done
   4976   # aligned with autoconf, so not including core; see bug#72225.
   4977   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4978     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4979     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4980   unset am_i ;;
   4981 esac
   4982 fi
   4983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4984 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4985 if test "$am_cv_prog_cc_c_o" != yes; then
   4986    # Losing compiler, so override with the script.
   4987    # FIXME: It is wrong to rewrite CC.
   4988    # But if we don't then we get into trouble of one sort or another.
   4989    # A longer-term fix would be to have automake use am__CC in this case,
   4990    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4991    CC="$am_aux_dir/compile $CC"
   4992 fi
   4993 ac_ext=c
   4994 ac_cpp='$CPP $CPPFLAGS'
   4995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4998 
   4999 
   5000 depcc="$CC"   am_compiler_list=
   5001 
   5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5003 printf %s "checking dependency style of $depcc... " >&6; }
   5004 if test ${am_cv_CC_dependencies_compiler_type+y}
   5005 then :
   5006   printf %s "(cached) " >&6
   5007 else case e in #(
   5008   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5009   # We make a subdir and do the tests there.  Otherwise we can end up
   5010   # making bogus files that we don't know about and never remove.  For
   5011   # instance it was reported that on HP-UX the gcc test will end up
   5012   # making a dummy file named 'D' -- because '-MD' means "put the output
   5013   # in D".
   5014   rm -rf conftest.dir
   5015   mkdir conftest.dir
   5016   # Copy depcomp to subdir because otherwise we won't find it if we're
   5017   # using a relative directory.
   5018   cp "$am_depcomp" conftest.dir
   5019   cd conftest.dir
   5020   # We will build objects and dependencies in a subdirectory because
   5021   # it helps to detect inapplicable dependency modes.  For instance
   5022   # both Tru64's cc and ICC support -MD to output dependencies as a
   5023   # side effect of compilation, but ICC will put the dependencies in
   5024   # the current directory while Tru64 will put them in the object
   5025   # directory.
   5026   mkdir sub
   5027 
   5028   am_cv_CC_dependencies_compiler_type=none
   5029   if test "$am_compiler_list" = ""; then
   5030      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5031   fi
   5032   am__universal=false
   5033   case " $depcc " in #(
   5034      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5035      esac
   5036 
   5037   for depmode in $am_compiler_list; do
   5038     # Setup a source with many dependencies, because some compilers
   5039     # like to wrap large dependency lists on column 80 (with \), and
   5040     # we should not choose a depcomp mode which is confused by this.
   5041     #
   5042     # We need to recreate these files for each test, as the compiler may
   5043     # overwrite some of them when testing with obscure command lines.
   5044     # This happens at least with the AIX C compiler.
   5045     : > sub/conftest.c
   5046     for i in 1 2 3 4 5 6; do
   5047       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5048       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5049       # Solaris 10 /bin/sh.
   5050       echo '/* dummy */' > sub/conftst$i.h
   5051     done
   5052     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5053 
   5054     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5055     # mode.  It turns out that the SunPro C++ compiler does not properly
   5056     # handle '-M -o', and we need to detect this.  Also, some Intel
   5057     # versions had trouble with output in subdirs.
   5058     am__obj=sub/conftest.${OBJEXT-o}
   5059     am__minus_obj="-o $am__obj"
   5060     case $depmode in
   5061     gcc)
   5062       # This depmode causes a compiler race in universal mode.
   5063       test "$am__universal" = false || continue
   5064       ;;
   5065     nosideeffect)
   5066       # After this tag, mechanisms are not by side-effect, so they'll
   5067       # only be used when explicitly requested.
   5068       if test "x$enable_dependency_tracking" = xyes; then
   5069 	continue
   5070       else
   5071 	break
   5072       fi
   5073       ;;
   5074     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5075       # This compiler won't grok '-c -o', but also, the minuso test has
   5076       # not run yet.  These depmodes are late enough in the game, and
   5077       # so weak that their functioning should not be impacted.
   5078       am__obj=conftest.${OBJEXT-o}
   5079       am__minus_obj=
   5080       ;;
   5081     none) break ;;
   5082     esac
   5083     if depmode=$depmode \
   5084        source=sub/conftest.c object=$am__obj \
   5085        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5086        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5087          >/dev/null 2>conftest.err &&
   5088        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5089        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5090        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5091        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5092       # icc doesn't choke on unknown options, it will just issue warnings
   5093       # or remarks (even with -Werror).  So we grep stderr for any message
   5094       # that says an option was ignored or not supported.
   5095       # When given -MP, icc 7.0 and 7.1 complain thus:
   5096       #   icc: Command line warning: ignoring option '-M'; no argument required
   5097       # The diagnosis changed in icc 8.0:
   5098       #   icc: Command line remark: option '-MP' not supported
   5099       if (grep 'ignoring option' conftest.err ||
   5100           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5101         am_cv_CC_dependencies_compiler_type=$depmode
   5102         break
   5103       fi
   5104     fi
   5105   done
   5106 
   5107   cd ..
   5108   rm -rf conftest.dir
   5109 else
   5110   am_cv_CC_dependencies_compiler_type=none
   5111 fi
   5112  ;;
   5113 esac
   5114 fi
   5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5116 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5117 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5118 
   5119  if
   5120   test "x$enable_dependency_tracking" != xno \
   5121   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5122   am__fastdepCC_TRUE=
   5123   am__fastdepCC_FALSE='#'
   5124 else
   5125   am__fastdepCC_TRUE='#'
   5126   am__fastdepCC_FALSE=
   5127 fi
   5128 
   5129 
   5130 
   5131 ac_header= ac_cache=
   5132 for ac_item in $ac_header_c_list
   5133 do
   5134   if test $ac_cache; then
   5135     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5136     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5137       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   5138     fi
   5139     ac_header= ac_cache=
   5140   elif test $ac_header; then
   5141     ac_cache=$ac_item
   5142   else
   5143     ac_header=$ac_item
   5144   fi
   5145 done
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5155 then :
   5156 
   5157 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   5158 
   5159 fi
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5167 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5168 if test ${ac_cv_safe_to_define___extensions__+y}
   5169 then :
   5170   printf %s "(cached) " >&6
   5171 else case e in #(
   5172   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5173 /* end confdefs.h.  */
   5174 
   5175 #         define __EXTENSIONS__ 1
   5176           $ac_includes_default
   5177 int
   5178 main (void)
   5179 {
   5180 
   5181   ;
   5182   return 0;
   5183 }
   5184 _ACEOF
   5185 if ac_fn_c_try_compile "$LINENO"
   5186 then :
   5187   ac_cv_safe_to_define___extensions__=yes
   5188 else case e in #(
   5189   e) ac_cv_safe_to_define___extensions__=no ;;
   5190 esac
   5191 fi
   5192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5193 esac
   5194 fi
   5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5196 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   5197 
   5198   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   5199 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   5200 if test ${ac_cv_should_define__xopen_source+y}
   5201 then :
   5202   printf %s "(cached) " >&6
   5203 else case e in #(
   5204   e) ac_cv_should_define__xopen_source=no
   5205     if test $ac_cv_header_wchar_h = yes
   5206 then :
   5207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5208 /* end confdefs.h.  */
   5209 
   5210           #include <wchar.h>
   5211           mbstate_t x;
   5212 int
   5213 main (void)
   5214 {
   5215 
   5216   ;
   5217   return 0;
   5218 }
   5219 _ACEOF
   5220 if ac_fn_c_try_compile "$LINENO"
   5221 then :
   5222 
   5223 else case e in #(
   5224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5225 /* end confdefs.h.  */
   5226 
   5227             #define _XOPEN_SOURCE 500
   5228             #include <wchar.h>
   5229             mbstate_t x;
   5230 int
   5231 main (void)
   5232 {
   5233 
   5234   ;
   5235   return 0;
   5236 }
   5237 _ACEOF
   5238 if ac_fn_c_try_compile "$LINENO"
   5239 then :
   5240   ac_cv_should_define__xopen_source=yes
   5241 fi
   5242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5243 esac
   5244 fi
   5245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5246 fi ;;
   5247 esac
   5248 fi
   5249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   5250 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   5251 
   5252   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   5253 
   5254   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   5255 
   5256   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   5257 
   5258   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   5259 
   5260   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   5261 
   5262   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   5263 
   5264   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5265 
   5266   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   5267 
   5268   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   5269 
   5270   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   5271 
   5272   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   5273 
   5274   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   5275 
   5276   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   5277 
   5278   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   5279 
   5280   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   5281 
   5282   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   5283 
   5284   if test $ac_cv_header_minix_config_h = yes
   5285 then :
   5286   MINIX=yes
   5287     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   5288 
   5289     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   5290 
   5291     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5292 
   5293 else case e in #(
   5294   e) MINIX= ;;
   5295 esac
   5296 fi
   5297   if test $ac_cv_safe_to_define___extensions__ = yes
   5298 then :
   5299   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   5300 
   5301 fi
   5302   if test $ac_cv_should_define__xopen_source = yes
   5303 then :
   5304   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   5305 
   5306 fi
   5307 
   5308 
   5309 # Initialize libtool
   5310 case `pwd` in
   5311   *\ * | *\	*)
   5312     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5313 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5314 esac
   5315 
   5316 
   5317 
   5318 macro_version='2.5.4'
   5319 macro_revision='2.5.4'
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 ltmain=$ac_aux_dir/ltmain.sh
   5335 
   5336 
   5337 
   5338   # Make sure we can run config.sub.
   5339 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5340   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5341 
   5342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5343 printf %s "checking build system type... " >&6; }
   5344 if test ${ac_cv_build+y}
   5345 then :
   5346   printf %s "(cached) " >&6
   5347 else case e in #(
   5348   e) ac_build_alias=$build_alias
   5349 test "x$ac_build_alias" = x &&
   5350   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5351 test "x$ac_build_alias" = x &&
   5352   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5353 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5354   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5355  ;;
   5356 esac
   5357 fi
   5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5359 printf "%s\n" "$ac_cv_build" >&6; }
   5360 case $ac_cv_build in
   5361 *-*-*) ;;
   5362 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5363 esac
   5364 build=$ac_cv_build
   5365 ac_save_IFS=$IFS; IFS='-'
   5366 set x $ac_cv_build
   5367 shift
   5368 build_cpu=$1
   5369 build_vendor=$2
   5370 shift; shift
   5371 # Remember, the first character of IFS is used to create $*,
   5372 # except with old shells:
   5373 build_os=$*
   5374 IFS=$ac_save_IFS
   5375 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5376 
   5377 
   5378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5379 printf %s "checking host system type... " >&6; }
   5380 if test ${ac_cv_host+y}
   5381 then :
   5382   printf %s "(cached) " >&6
   5383 else case e in #(
   5384   e) if test "x$host_alias" = x; then
   5385   ac_cv_host=$ac_cv_build
   5386 else
   5387   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5388     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5389 fi
   5390  ;;
   5391 esac
   5392 fi
   5393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5394 printf "%s\n" "$ac_cv_host" >&6; }
   5395 case $ac_cv_host in
   5396 *-*-*) ;;
   5397 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5398 esac
   5399 host=$ac_cv_host
   5400 ac_save_IFS=$IFS; IFS='-'
   5401 set x $ac_cv_host
   5402 shift
   5403 host_cpu=$1
   5404 host_vendor=$2
   5405 shift; shift
   5406 # Remember, the first character of IFS is used to create $*,
   5407 # except with old shells:
   5408 host_os=$*
   5409 IFS=$ac_save_IFS
   5410 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5411 
   5412 
   5413 # Backslashify metacharacters that are still active within
   5414 # double-quoted strings.
   5415 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5416 
   5417 # Same as above, but do not quote variable references.
   5418 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5419 
   5420 # Sed substitution to delay expansion of an escaped shell variable in a
   5421 # double_quote_subst'ed string.
   5422 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5423 
   5424 # Sed substitution to delay expansion of an escaped single quote.
   5425 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5426 
   5427 # Sed substitution to avoid accidental globbing in evaled expressions
   5428 no_glob_subst='s/\*/\\\*/g'
   5429 
   5430 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5431 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5432 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5433 
   5434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5435 printf %s "checking how to print strings... " >&6; }
   5436 # Test print first, because it will be a builtin if present.
   5437 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5438    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5439   ECHO='print -r --'
   5440 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5441   ECHO='printf %s\n'
   5442 else
   5443   # Use this function as a fallback that always works.
   5444   func_fallback_echo ()
   5445   {
   5446     eval 'cat <<_LTECHO_EOF
   5447 $1
   5448 _LTECHO_EOF'
   5449   }
   5450   ECHO='func_fallback_echo'
   5451 fi
   5452 
   5453 # func_echo_all arg...
   5454 # Invoke $ECHO with all args, space-separated.
   5455 func_echo_all ()
   5456 {
   5457     $ECHO ""
   5458 }
   5459 
   5460 case $ECHO in
   5461   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5462 printf "%s\n" "printf" >&6; } ;;
   5463   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5464 printf "%s\n" "print -r" >&6; } ;;
   5465   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5466 printf "%s\n" "cat" >&6; } ;;
   5467 esac
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5483 printf %s "checking for a sed that does not truncate output... " >&6; }
   5484 if test ${ac_cv_path_SED+y}
   5485 then :
   5486   printf %s "(cached) " >&6
   5487 else case e in #(
   5488   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5489      for ac_i in 1 2 3 4 5 6 7; do
   5490        ac_script="$ac_script$as_nl$ac_script"
   5491      done
   5492      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5493      { ac_script=; unset ac_script;}
   5494      if test -z "$SED"; then
   5495   ac_path_SED_found=false
   5496   # Loop through the user's path and test for each of PROGNAME-LIST
   5497   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5498 for as_dir in $PATH
   5499 do
   5500   IFS=$as_save_IFS
   5501   case $as_dir in #(((
   5502     '') as_dir=./ ;;
   5503     */) ;;
   5504     *) as_dir=$as_dir/ ;;
   5505   esac
   5506     for ac_prog in sed gsed
   5507    do
   5508     for ac_exec_ext in '' $ac_executable_extensions; do
   5509       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5510       as_fn_executable_p "$ac_path_SED" || continue
   5511 # Check for GNU ac_path_SED and select it if it is found.
   5512   # Check for GNU $ac_path_SED
   5513 case `"$ac_path_SED" --version 2>&1` in #(
   5514 *GNU*)
   5515   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5516 #(
   5517 *)
   5518   ac_count=0
   5519   printf %s 0123456789 >"conftest.in"
   5520   while :
   5521   do
   5522     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5523     mv "conftest.tmp" "conftest.in"
   5524     cp "conftest.in" "conftest.nl"
   5525     printf "%s\n" '' >> "conftest.nl"
   5526     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5527     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5528     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5529     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5530       # Best one so far, save it but keep looking for a better one
   5531       ac_cv_path_SED="$ac_path_SED"
   5532       ac_path_SED_max=$ac_count
   5533     fi
   5534     # 10*(2^10) chars as input seems more than enough
   5535     test $ac_count -gt 10 && break
   5536   done
   5537   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5538 esac
   5539 
   5540       $ac_path_SED_found && break 3
   5541     done
   5542   done
   5543   done
   5544 IFS=$as_save_IFS
   5545   if test -z "$ac_cv_path_SED"; then
   5546     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5547   fi
   5548 else
   5549   ac_cv_path_SED=$SED
   5550 fi
   5551  ;;
   5552 esac
   5553 fi
   5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5555 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5556  SED="$ac_cv_path_SED"
   5557   rm -f conftest.sed
   5558 
   5559 test -z "$SED" && SED=sed
   5560 Xsed="$SED -e 1s/^X//"
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5573 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5574 if test ${ac_cv_path_GREP+y}
   5575 then :
   5576   printf %s "(cached) " >&6
   5577 else case e in #(
   5578   e) if test -z "$GREP"; then
   5579   ac_path_GREP_found=false
   5580   # Loop through the user's path and test for each of PROGNAME-LIST
   5581   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5582 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5583 do
   5584   IFS=$as_save_IFS
   5585   case $as_dir in #(((
   5586     '') as_dir=./ ;;
   5587     */) ;;
   5588     *) as_dir=$as_dir/ ;;
   5589   esac
   5590     for ac_prog in grep ggrep
   5591    do
   5592     for ac_exec_ext in '' $ac_executable_extensions; do
   5593       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5594       as_fn_executable_p "$ac_path_GREP" || continue
   5595 # Check for GNU ac_path_GREP and select it if it is found.
   5596   # Check for GNU $ac_path_GREP
   5597 case `"$ac_path_GREP" --version 2>&1` in #(
   5598 *GNU*)
   5599   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5600 #(
   5601 *)
   5602   ac_count=0
   5603   printf %s 0123456789 >"conftest.in"
   5604   while :
   5605   do
   5606     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5607     mv "conftest.tmp" "conftest.in"
   5608     cp "conftest.in" "conftest.nl"
   5609     printf "%s\n" 'GREP' >> "conftest.nl"
   5610     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5611     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5612     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5613     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5614       # Best one so far, save it but keep looking for a better one
   5615       ac_cv_path_GREP="$ac_path_GREP"
   5616       ac_path_GREP_max=$ac_count
   5617     fi
   5618     # 10*(2^10) chars as input seems more than enough
   5619     test $ac_count -gt 10 && break
   5620   done
   5621   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5622 esac
   5623 
   5624       $ac_path_GREP_found && break 3
   5625     done
   5626   done
   5627   done
   5628 IFS=$as_save_IFS
   5629   if test -z "$ac_cv_path_GREP"; then
   5630     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5631   fi
   5632 else
   5633   ac_cv_path_GREP=$GREP
   5634 fi
   5635  ;;
   5636 esac
   5637 fi
   5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5639 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5640  GREP="$ac_cv_path_GREP"
   5641 
   5642 
   5643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5644 printf %s "checking for egrep... " >&6; }
   5645 if test ${ac_cv_path_EGREP+y}
   5646 then :
   5647   printf %s "(cached) " >&6
   5648 else case e in #(
   5649   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5650    then ac_cv_path_EGREP="$GREP -E"
   5651    else
   5652      if test -z "$EGREP"; then
   5653   ac_path_EGREP_found=false
   5654   # Loop through the user's path and test for each of PROGNAME-LIST
   5655   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5656 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5657 do
   5658   IFS=$as_save_IFS
   5659   case $as_dir in #(((
   5660     '') as_dir=./ ;;
   5661     */) ;;
   5662     *) as_dir=$as_dir/ ;;
   5663   esac
   5664     for ac_prog in egrep
   5665    do
   5666     for ac_exec_ext in '' $ac_executable_extensions; do
   5667       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5668       as_fn_executable_p "$ac_path_EGREP" || continue
   5669 # Check for GNU ac_path_EGREP and select it if it is found.
   5670   # Check for GNU $ac_path_EGREP
   5671 case `"$ac_path_EGREP" --version 2>&1` in #(
   5672 *GNU*)
   5673   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5674 #(
   5675 *)
   5676   ac_count=0
   5677   printf %s 0123456789 >"conftest.in"
   5678   while :
   5679   do
   5680     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5681     mv "conftest.tmp" "conftest.in"
   5682     cp "conftest.in" "conftest.nl"
   5683     printf "%s\n" 'EGREP' >> "conftest.nl"
   5684     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5685     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5686     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5687     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5688       # Best one so far, save it but keep looking for a better one
   5689       ac_cv_path_EGREP="$ac_path_EGREP"
   5690       ac_path_EGREP_max=$ac_count
   5691     fi
   5692     # 10*(2^10) chars as input seems more than enough
   5693     test $ac_count -gt 10 && break
   5694   done
   5695   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5696 esac
   5697 
   5698       $ac_path_EGREP_found && break 3
   5699     done
   5700   done
   5701   done
   5702 IFS=$as_save_IFS
   5703   if test -z "$ac_cv_path_EGREP"; then
   5704     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5705   fi
   5706 else
   5707   ac_cv_path_EGREP=$EGREP
   5708 fi
   5709 
   5710    fi ;;
   5711 esac
   5712 fi
   5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5714 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5715  EGREP="$ac_cv_path_EGREP"
   5716 
   5717          EGREP_TRADITIONAL=$EGREP
   5718  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5719 
   5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5721 printf %s "checking for fgrep... " >&6; }
   5722 if test ${ac_cv_path_FGREP+y}
   5723 then :
   5724   printf %s "(cached) " >&6
   5725 else case e in #(
   5726   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5727    then ac_cv_path_FGREP="$GREP -F"
   5728    else
   5729      if test -z "$FGREP"; then
   5730   ac_path_FGREP_found=false
   5731   # Loop through the user's path and test for each of PROGNAME-LIST
   5732   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5733 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5734 do
   5735   IFS=$as_save_IFS
   5736   case $as_dir in #(((
   5737     '') as_dir=./ ;;
   5738     */) ;;
   5739     *) as_dir=$as_dir/ ;;
   5740   esac
   5741     for ac_prog in fgrep
   5742    do
   5743     for ac_exec_ext in '' $ac_executable_extensions; do
   5744       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5745       as_fn_executable_p "$ac_path_FGREP" || continue
   5746 # Check for GNU ac_path_FGREP and select it if it is found.
   5747   # Check for GNU $ac_path_FGREP
   5748 case `"$ac_path_FGREP" --version 2>&1` in #(
   5749 *GNU*)
   5750   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5751 #(
   5752 *)
   5753   ac_count=0
   5754   printf %s 0123456789 >"conftest.in"
   5755   while :
   5756   do
   5757     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5758     mv "conftest.tmp" "conftest.in"
   5759     cp "conftest.in" "conftest.nl"
   5760     printf "%s\n" 'FGREP' >> "conftest.nl"
   5761     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5762     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5763     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5764     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5765       # Best one so far, save it but keep looking for a better one
   5766       ac_cv_path_FGREP="$ac_path_FGREP"
   5767       ac_path_FGREP_max=$ac_count
   5768     fi
   5769     # 10*(2^10) chars as input seems more than enough
   5770     test $ac_count -gt 10 && break
   5771   done
   5772   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5773 esac
   5774 
   5775       $ac_path_FGREP_found && break 3
   5776     done
   5777   done
   5778   done
   5779 IFS=$as_save_IFS
   5780   if test -z "$ac_cv_path_FGREP"; then
   5781     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5782   fi
   5783 else
   5784   ac_cv_path_FGREP=$FGREP
   5785 fi
   5786 
   5787    fi ;;
   5788 esac
   5789 fi
   5790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5791 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5792  FGREP="$ac_cv_path_FGREP"
   5793 
   5794 
   5795 test -z "$GREP" && GREP=grep
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 # Check whether --with-gnu-ld was given.
   5816 if test ${with_gnu_ld+y}
   5817 then :
   5818   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5819 else case e in #(
   5820   e) with_gnu_ld=no ;;
   5821 esac
   5822 fi
   5823 
   5824 ac_prog=ld
   5825 if test yes = "$GCC"; then
   5826   # Check if gcc -print-prog-name=ld gives a path.
   5827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5828 printf %s "checking for ld used by $CC... " >&6; }
   5829   case $host in
   5830   *-*-mingw* | *-*-windows*)
   5831     # gcc leaves a trailing carriage return, which upsets mingw
   5832     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5833   *)
   5834     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5835   esac
   5836   case $ac_prog in
   5837     # Accept absolute paths.
   5838     [\\/]* | ?:[\\/]*)
   5839       re_direlt='/[^/][^/]*/\.\./'
   5840       # Canonicalize the pathname of ld
   5841       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5842       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5843 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5844       done
   5845       test -z "$LD" && LD=$ac_prog
   5846       ;;
   5847   "")
   5848     # If it fails, then pretend we aren't using GCC.
   5849     ac_prog=ld
   5850     ;;
   5851   *)
   5852     # If it is relative, then search for the first ld in PATH.
   5853     with_gnu_ld=unknown
   5854     ;;
   5855   esac
   5856 elif test yes = "$with_gnu_ld"; then
   5857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5858 printf %s "checking for GNU ld... " >&6; }
   5859 else
   5860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5861 printf %s "checking for non-GNU ld... " >&6; }
   5862 fi
   5863 if test ${lt_cv_path_LD+y}
   5864 then :
   5865   printf %s "(cached) " >&6
   5866 else case e in #(
   5867   e) if test -z "$LD"; then
   5868   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5869   for ac_dir in $PATH; do
   5870     IFS=$lt_save_ifs
   5871     test -z "$ac_dir" && ac_dir=.
   5872     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5873       lt_cv_path_LD=$ac_dir/$ac_prog
   5874       # Check to see if the program is GNU ld.  I'd rather use --version,
   5875       # but apparently some variants of GNU ld only accept -v.
   5876       # Break only if it was the GNU/non-GNU ld that we prefer.
   5877       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5878       *GNU* | *'with BFD'*)
   5879 	test no != "$with_gnu_ld" && break
   5880 	;;
   5881       *)
   5882 	test yes != "$with_gnu_ld" && break
   5883 	;;
   5884       esac
   5885     fi
   5886   done
   5887   IFS=$lt_save_ifs
   5888 else
   5889   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5890 fi ;;
   5891 esac
   5892 fi
   5893 
   5894 LD=$lt_cv_path_LD
   5895 if test -n "$LD"; then
   5896   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5897 printf "%s\n" "$LD" >&6; }
   5898 else
   5899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5900 printf "%s\n" "no" >&6; }
   5901 fi
   5902 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5904 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5905 if test ${lt_cv_prog_gnu_ld+y}
   5906 then :
   5907   printf %s "(cached) " >&6
   5908 else case e in #(
   5909   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5910 case `$LD -v 2>&1 </dev/null` in
   5911 *GNU* | *'with BFD'*)
   5912   lt_cv_prog_gnu_ld=yes
   5913   ;;
   5914 *)
   5915   lt_cv_prog_gnu_ld=no
   5916   ;;
   5917 esac ;;
   5918 esac
   5919 fi
   5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5921 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5922 with_gnu_ld=$lt_cv_prog_gnu_ld
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5933 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5934 if test ${lt_cv_path_NM+y}
   5935 then :
   5936   printf %s "(cached) " >&6
   5937 else case e in #(
   5938   e) if test -n "$NM"; then
   5939   # Let the user override the test.
   5940   lt_cv_path_NM=$NM
   5941 else
   5942   lt_nm_to_check=${ac_tool_prefix}nm
   5943   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5944     lt_nm_to_check="$lt_nm_to_check nm"
   5945   fi
   5946   for lt_tmp_nm in $lt_nm_to_check; do
   5947     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5948     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5949       IFS=$lt_save_ifs
   5950       test -z "$ac_dir" && ac_dir=.
   5951       tmp_nm=$ac_dir/$lt_tmp_nm
   5952       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5953 	# Check to see if the nm accepts a BSD-compat flag.
   5954 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5955 	#   nm: unknown option "B" ignored
   5956 	# Tru64's nm complains that /dev/null is an invalid object file
   5957 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5958 	case $build_os in
   5959 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5960 	*) lt_bad_file=/dev/null ;;
   5961 	esac
   5962 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5963 	*$lt_bad_file* | *'Invalid file or object type'*)
   5964 	  lt_cv_path_NM="$tmp_nm -B"
   5965 	  break 2
   5966 	  ;;
   5967 	*)
   5968 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5969 	  */dev/null*)
   5970 	    lt_cv_path_NM="$tmp_nm -p"
   5971 	    break 2
   5972 	    ;;
   5973 	  *)
   5974 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5975 	    continue # so that we can try to find one that supports BSD flags
   5976 	    ;;
   5977 	  esac
   5978 	  ;;
   5979 	esac
   5980       fi
   5981     done
   5982     IFS=$lt_save_ifs
   5983   done
   5984   : ${lt_cv_path_NM=no}
   5985 fi ;;
   5986 esac
   5987 fi
   5988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5989 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5990 if test no != "$lt_cv_path_NM"; then
   5991   NM=$lt_cv_path_NM
   5992 else
   5993   # Didn't find any BSD compatible name lister, look for dumpbin.
   5994   if test -n "$DUMPBIN"; then :
   5995     # Let the user override the test.
   5996   else
   5997     if test -n "$ac_tool_prefix"; then
   5998   for ac_prog in dumpbin "link -dump"
   5999   do
   6000     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6001 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6003 printf %s "checking for $ac_word... " >&6; }
   6004 if test ${ac_cv_prog_DUMPBIN+y}
   6005 then :
   6006   printf %s "(cached) " >&6
   6007 else case e in #(
   6008   e) if test -n "$DUMPBIN"; then
   6009   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6010 else
   6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6012 for as_dir in $PATH
   6013 do
   6014   IFS=$as_save_IFS
   6015   case $as_dir in #(((
   6016     '') as_dir=./ ;;
   6017     */) ;;
   6018     *) as_dir=$as_dir/ ;;
   6019   esac
   6020     for ac_exec_ext in '' $ac_executable_extensions; do
   6021   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6022     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6023     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6024     break 2
   6025   fi
   6026 done
   6027   done
   6028 IFS=$as_save_IFS
   6029 
   6030 fi ;;
   6031 esac
   6032 fi
   6033 DUMPBIN=$ac_cv_prog_DUMPBIN
   6034 if test -n "$DUMPBIN"; then
   6035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6036 printf "%s\n" "$DUMPBIN" >&6; }
   6037 else
   6038   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6039 printf "%s\n" "no" >&6; }
   6040 fi
   6041 
   6042 
   6043     test -n "$DUMPBIN" && break
   6044   done
   6045 fi
   6046 if test -z "$DUMPBIN"; then
   6047   ac_ct_DUMPBIN=$DUMPBIN
   6048   for ac_prog in dumpbin "link -dump"
   6049 do
   6050   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6051 set dummy $ac_prog; ac_word=$2
   6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6053 printf %s "checking for $ac_word... " >&6; }
   6054 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   6055 then :
   6056   printf %s "(cached) " >&6
   6057 else case e in #(
   6058   e) if test -n "$ac_ct_DUMPBIN"; then
   6059   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6060 else
   6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6062 for as_dir in $PATH
   6063 do
   6064   IFS=$as_save_IFS
   6065   case $as_dir in #(((
   6066     '') as_dir=./ ;;
   6067     */) ;;
   6068     *) as_dir=$as_dir/ ;;
   6069   esac
   6070     for ac_exec_ext in '' $ac_executable_extensions; do
   6071   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6072     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6073     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6074     break 2
   6075   fi
   6076 done
   6077   done
   6078 IFS=$as_save_IFS
   6079 
   6080 fi ;;
   6081 esac
   6082 fi
   6083 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6084 if test -n "$ac_ct_DUMPBIN"; then
   6085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6086 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   6087 else
   6088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6089 printf "%s\n" "no" >&6; }
   6090 fi
   6091 
   6092 
   6093   test -n "$ac_ct_DUMPBIN" && break
   6094 done
   6095 
   6096   if test "x$ac_ct_DUMPBIN" = x; then
   6097     DUMPBIN=":"
   6098   else
   6099     case $cross_compiling:$ac_tool_warned in
   6100 yes:)
   6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6102 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6103 ac_tool_warned=yes ;;
   6104 esac
   6105     DUMPBIN=$ac_ct_DUMPBIN
   6106   fi
   6107 fi
   6108 
   6109     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   6110     *COFF*)
   6111       DUMPBIN="$DUMPBIN -symbols -headers"
   6112       ;;
   6113     *)
   6114       DUMPBIN=:
   6115       ;;
   6116     esac
   6117   fi
   6118 
   6119   if test : != "$DUMPBIN"; then
   6120     NM=$DUMPBIN
   6121   fi
   6122 fi
   6123 test -z "$NM" && NM=nm
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6131 printf %s "checking the name lister ($NM) interface... " >&6; }
   6132 if test ${lt_cv_nm_interface+y}
   6133 then :
   6134   printf %s "(cached) " >&6
   6135 else case e in #(
   6136   e) lt_cv_nm_interface="BSD nm"
   6137   echo "int some_variable = 0;" > conftest.$ac_ext
   6138   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6139   (eval "$ac_compile" 2>conftest.err)
   6140   cat conftest.err >&5
   6141   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6142   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6143   cat conftest.err >&5
   6144   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6145   cat conftest.out >&5
   6146   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6147     lt_cv_nm_interface="MS dumpbin"
   6148   fi
   6149   rm -f conftest* ;;
   6150 esac
   6151 fi
   6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6153 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   6154 
   6155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6156 printf %s "checking whether ln -s works... " >&6; }
   6157 LN_S=$as_ln_s
   6158 if test "$LN_S" = "ln -s"; then
   6159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6160 printf "%s\n" "yes" >&6; }
   6161 else
   6162   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6163 printf "%s\n" "no, using $LN_S" >&6; }
   6164 fi
   6165 
   6166 # find the maximum length of command line arguments
   6167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6168 printf %s "checking the maximum length of command line arguments... " >&6; }
   6169 if test ${lt_cv_sys_max_cmd_len+y}
   6170 then :
   6171   printf %s "(cached) " >&6
   6172 else case e in #(
   6173   e)   i=0
   6174   teststring=ABCD
   6175 
   6176   case $build_os in
   6177   msdosdjgpp*)
   6178     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6179     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6180     # during glob expansion).  Even if it were fixed, the result of this
   6181     # check would be larger than it should be.
   6182     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6183     ;;
   6184 
   6185   gnu* | ironclad*)
   6186     # Under GNU Hurd and Ironclad, this test is not required because there
   6187     # is no limit to the length of command line arguments.
   6188     # Libtool will interpret -1 as no limit whatsoever
   6189     lt_cv_sys_max_cmd_len=-1;
   6190     ;;
   6191 
   6192   cygwin* | mingw* | windows* | cegcc*)
   6193     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6194     # about 5 minutes as the teststring grows exponentially.
   6195     # Worse, since 9x/ME are not pre-emptively multitasking,
   6196     # you end up with a "frozen" computer, even though with patience
   6197     # the test eventually succeeds (with a max line length of 256k).
   6198     # Instead, let's just punt: use the minimum linelength reported by
   6199     # all of the supported platforms: 8192 (on NT/2K/XP).
   6200     lt_cv_sys_max_cmd_len=8192;
   6201     ;;
   6202 
   6203   mint*)
   6204     # On MiNT this can take a long time and run out of memory.
   6205     lt_cv_sys_max_cmd_len=8192;
   6206     ;;
   6207 
   6208   amigaos*)
   6209     # On AmigaOS with pdksh, this test takes hours, literally.
   6210     # So we just punt and use a minimum line length of 8192.
   6211     lt_cv_sys_max_cmd_len=8192;
   6212     ;;
   6213 
   6214   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6215     # This has been around since 386BSD, at least.  Likely further.
   6216     if test -x /sbin/sysctl; then
   6217       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6218     elif test -x /usr/sbin/sysctl; then
   6219       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6220     else
   6221       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6222     fi
   6223     # And add a safety zone
   6224     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6225     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6226     ;;
   6227 
   6228   interix*)
   6229     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6230     lt_cv_sys_max_cmd_len=196608
   6231     ;;
   6232 
   6233   os2*)
   6234     # The test takes a long time on OS/2.
   6235     lt_cv_sys_max_cmd_len=8192
   6236     ;;
   6237 
   6238   osf*)
   6239     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6240     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6241     # nice to cause kernel panics so lets avoid the loop below.
   6242     # First set a reasonable default.
   6243     lt_cv_sys_max_cmd_len=16384
   6244     #
   6245     if test -x /sbin/sysconfig; then
   6246       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6247         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6248       esac
   6249     fi
   6250     ;;
   6251   sco3.2v5*)
   6252     lt_cv_sys_max_cmd_len=102400
   6253     ;;
   6254   sysv5* | sco5v6* | sysv4.2uw2*)
   6255     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6256     if test -n "$kargmax"; then
   6257       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6258     else
   6259       lt_cv_sys_max_cmd_len=32768
   6260     fi
   6261     ;;
   6262   *)
   6263     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6264     if test -n "$lt_cv_sys_max_cmd_len" && \
   6265        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6266       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6267       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6268     else
   6269       # Make teststring a little bigger before we do anything with it.
   6270       # a 1K string should be a reasonable start.
   6271       for i in 1 2 3 4 5 6 7 8; do
   6272         teststring=$teststring$teststring
   6273       done
   6274       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6275       # If test is not a shell built-in, we'll probably end up computing a
   6276       # maximum length that is only half of the actual maximum length, but
   6277       # we can't tell.
   6278       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6279 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6280 	      test 17 != "$i" # 1/2 MB should be enough
   6281       do
   6282         i=`expr $i + 1`
   6283         teststring=$teststring$teststring
   6284       done
   6285       # Only check the string length outside the loop.
   6286       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6287       teststring=
   6288       # Add a significant safety factor because C++ compilers can tack on
   6289       # massive amounts of additional arguments before passing them to the
   6290       # linker.  It appears as though 1/2 is a usable value.
   6291       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6292     fi
   6293     ;;
   6294   esac
   6295  ;;
   6296 esac
   6297 fi
   6298 
   6299 if test -n "$lt_cv_sys_max_cmd_len"; then
   6300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6301 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6302 else
   6303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6304 printf "%s\n" "none" >&6; }
   6305 fi
   6306 max_cmd_len=$lt_cv_sys_max_cmd_len
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 : ${CP="cp -f"}
   6314 : ${MV="mv -f"}
   6315 : ${RM="rm -f"}
   6316 
   6317 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6318   lt_unset=unset
   6319 else
   6320   lt_unset=false
   6321 fi
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 # test EBCDIC or ASCII
   6328 case `echo X|tr X '\101'` in
   6329  A) # ASCII based system
   6330     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6331   lt_SP2NL='tr \040 \012'
   6332   lt_NL2SP='tr \015\012 \040\040'
   6333   ;;
   6334  *) # EBCDIC based system
   6335   lt_SP2NL='tr \100 \n'
   6336   lt_NL2SP='tr \r\n \100\100'
   6337   ;;
   6338 esac
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6349 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6350 if test ${lt_cv_to_host_file_cmd+y}
   6351 then :
   6352   printf %s "(cached) " >&6
   6353 else case e in #(
   6354   e) case $host in
   6355   *-*-mingw* )
   6356     case $build in
   6357       *-*-mingw* | *-*-windows* ) # actually msys
   6358         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6359         ;;
   6360       *-*-cygwin* )
   6361         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6362         ;;
   6363       * ) # otherwise, assume *nix
   6364         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6365         ;;
   6366     esac
   6367     ;;
   6368   *-*-cygwin* )
   6369     case $build in
   6370       *-*-mingw* | *-*-windows* ) # actually msys
   6371         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6372         ;;
   6373       *-*-cygwin* )
   6374         lt_cv_to_host_file_cmd=func_convert_file_noop
   6375         ;;
   6376       * ) # otherwise, assume *nix
   6377         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6378         ;;
   6379     esac
   6380     ;;
   6381   * ) # unhandled hosts (and "normal" native builds)
   6382     lt_cv_to_host_file_cmd=func_convert_file_noop
   6383     ;;
   6384 esac
   6385  ;;
   6386 esac
   6387 fi
   6388 
   6389 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6391 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6398 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6399 if test ${lt_cv_to_tool_file_cmd+y}
   6400 then :
   6401   printf %s "(cached) " >&6
   6402 else case e in #(
   6403   e) #assume ordinary cross tools, or native build.
   6404 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6405 case $host in
   6406   *-*-mingw* | *-*-windows* )
   6407     case $build in
   6408       *-*-mingw* | *-*-windows* ) # actually msys
   6409         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6410         ;;
   6411     esac
   6412     ;;
   6413 esac
   6414  ;;
   6415 esac
   6416 fi
   6417 
   6418 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6420 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6427 printf %s "checking for $LD option to reload object files... " >&6; }
   6428 if test ${lt_cv_ld_reload_flag+y}
   6429 then :
   6430   printf %s "(cached) " >&6
   6431 else case e in #(
   6432   e) lt_cv_ld_reload_flag='-r' ;;
   6433 esac
   6434 fi
   6435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6436 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6437 reload_flag=$lt_cv_ld_reload_flag
   6438 case $reload_flag in
   6439 "" | " "*) ;;
   6440 *) reload_flag=" $reload_flag" ;;
   6441 esac
   6442 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6443 case $host_os in
   6444   cygwin* | mingw* | windows* | pw32* | cegcc*)
   6445     if test yes != "$GCC"; then
   6446       reload_cmds=false
   6447     fi
   6448     ;;
   6449   darwin*)
   6450     if test yes = "$GCC"; then
   6451       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6452     else
   6453       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6454     fi
   6455     ;;
   6456 esac
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 # Extract the first word of "file", so it can be a program name with args.
   6467 set dummy file; ac_word=$2
   6468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6469 printf %s "checking for $ac_word... " >&6; }
   6470 if test ${ac_cv_prog_FILECMD+y}
   6471 then :
   6472   printf %s "(cached) " >&6
   6473 else case e in #(
   6474   e) if test -n "$FILECMD"; then
   6475   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6476 else
   6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6478 for as_dir in $PATH
   6479 do
   6480   IFS=$as_save_IFS
   6481   case $as_dir in #(((
   6482     '') as_dir=./ ;;
   6483     */) ;;
   6484     *) as_dir=$as_dir/ ;;
   6485   esac
   6486     for ac_exec_ext in '' $ac_executable_extensions; do
   6487   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6488     ac_cv_prog_FILECMD="file"
   6489     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6490     break 2
   6491   fi
   6492 done
   6493   done
   6494 IFS=$as_save_IFS
   6495 
   6496   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6497 fi ;;
   6498 esac
   6499 fi
   6500 FILECMD=$ac_cv_prog_FILECMD
   6501 if test -n "$FILECMD"; then
   6502   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6503 printf "%s\n" "$FILECMD" >&6; }
   6504 else
   6505   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6506 printf "%s\n" "no" >&6; }
   6507 fi
   6508 
   6509 
   6510 
   6511 
   6512 
   6513 
   6514 
   6515 
   6516 if test -n "$ac_tool_prefix"; then
   6517   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6518 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6520 printf %s "checking for $ac_word... " >&6; }
   6521 if test ${ac_cv_prog_OBJDUMP+y}
   6522 then :
   6523   printf %s "(cached) " >&6
   6524 else case e in #(
   6525   e) if test -n "$OBJDUMP"; then
   6526   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6527 else
   6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6529 for as_dir in $PATH
   6530 do
   6531   IFS=$as_save_IFS
   6532   case $as_dir in #(((
   6533     '') as_dir=./ ;;
   6534     */) ;;
   6535     *) as_dir=$as_dir/ ;;
   6536   esac
   6537     for ac_exec_ext in '' $ac_executable_extensions; do
   6538   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6539     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6540     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6541     break 2
   6542   fi
   6543 done
   6544   done
   6545 IFS=$as_save_IFS
   6546 
   6547 fi ;;
   6548 esac
   6549 fi
   6550 OBJDUMP=$ac_cv_prog_OBJDUMP
   6551 if test -n "$OBJDUMP"; then
   6552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6553 printf "%s\n" "$OBJDUMP" >&6; }
   6554 else
   6555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6556 printf "%s\n" "no" >&6; }
   6557 fi
   6558 
   6559 
   6560 fi
   6561 if test -z "$ac_cv_prog_OBJDUMP"; then
   6562   ac_ct_OBJDUMP=$OBJDUMP
   6563   # Extract the first word of "objdump", so it can be a program name with args.
   6564 set dummy objdump; ac_word=$2
   6565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6566 printf %s "checking for $ac_word... " >&6; }
   6567 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6568 then :
   6569   printf %s "(cached) " >&6
   6570 else case e in #(
   6571   e) if test -n "$ac_ct_OBJDUMP"; then
   6572   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6573 else
   6574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6575 for as_dir in $PATH
   6576 do
   6577   IFS=$as_save_IFS
   6578   case $as_dir in #(((
   6579     '') as_dir=./ ;;
   6580     */) ;;
   6581     *) as_dir=$as_dir/ ;;
   6582   esac
   6583     for ac_exec_ext in '' $ac_executable_extensions; do
   6584   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6585     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6586     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6587     break 2
   6588   fi
   6589 done
   6590   done
   6591 IFS=$as_save_IFS
   6592 
   6593 fi ;;
   6594 esac
   6595 fi
   6596 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6597 if test -n "$ac_ct_OBJDUMP"; then
   6598   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6599 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6600 else
   6601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6602 printf "%s\n" "no" >&6; }
   6603 fi
   6604 
   6605   if test "x$ac_ct_OBJDUMP" = x; then
   6606     OBJDUMP="false"
   6607   else
   6608     case $cross_compiling:$ac_tool_warned in
   6609 yes:)
   6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6611 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6612 ac_tool_warned=yes ;;
   6613 esac
   6614     OBJDUMP=$ac_ct_OBJDUMP
   6615   fi
   6616 else
   6617   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6618 fi
   6619 
   6620 test -z "$OBJDUMP" && OBJDUMP=objdump
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629 
   6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6631 printf %s "checking how to recognize dependent libraries... " >&6; }
   6632 if test ${lt_cv_deplibs_check_method+y}
   6633 then :
   6634   printf %s "(cached) " >&6
   6635 else case e in #(
   6636   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6637 lt_cv_file_magic_test_file=
   6638 lt_cv_deplibs_check_method='unknown'
   6639 # Need to set the preceding variable on all platforms that support
   6640 # interlibrary dependencies.
   6641 # 'none' -- dependencies not supported.
   6642 # 'unknown' -- same as none, but documents that we really don't know.
   6643 # 'pass_all' -- all dependencies passed with no checks.
   6644 # 'file_magic [[regex]]' -- check by looking for files in library path
   6645 # that responds to the $file_magic_cmd with a given extended regex.
   6646 # If you have 'file' or equivalent on your system and you're not sure
   6647 # whether 'pass_all' will *always* work, you probably want this one.
   6648 
   6649 case $host_os in
   6650 aix[4-9]*)
   6651   lt_cv_deplibs_check_method=pass_all
   6652   ;;
   6653 
   6654 beos*)
   6655   lt_cv_deplibs_check_method=pass_all
   6656   ;;
   6657 
   6658 bsdi[45]*)
   6659   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6660   lt_cv_file_magic_cmd='$FILECMD -L'
   6661   lt_cv_file_magic_test_file=/shlib/libc.so
   6662   ;;
   6663 
   6664 cygwin*)
   6665   # func_win32_libid is a shell function defined in ltmain.sh
   6666   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6667   lt_cv_file_magic_cmd='func_win32_libid'
   6668   ;;
   6669 
   6670 mingw* | windows* | pw32*)
   6671   # Base MSYS/MinGW do not provide the 'file' command needed by
   6672   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6673   # unless we find 'file', for example because we are cross-compiling.
   6674   if ( file / ) >/dev/null 2>&1; then
   6675     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6676     lt_cv_file_magic_cmd='func_win32_libid'
   6677   else
   6678     # Keep this pattern in sync with the one in func_win32_libid.
   6679     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6680     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6681   fi
   6682   ;;
   6683 
   6684 cegcc*)
   6685   # use the weaker test based on 'objdump'. See mingw*.
   6686   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6687   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6688   ;;
   6689 
   6690 darwin* | rhapsody*)
   6691   lt_cv_deplibs_check_method=pass_all
   6692   ;;
   6693 
   6694 freebsd* | dragonfly* | midnightbsd*)
   6695   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6696     case $host_cpu in
   6697     i*86 )
   6698       # Not sure whether the presence of OpenBSD here was a mistake.
   6699       # Let's accept both of them until this is cleared up.
   6700       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6701       lt_cv_file_magic_cmd=$FILECMD
   6702       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6703       ;;
   6704     esac
   6705   else
   6706     lt_cv_deplibs_check_method=pass_all
   6707   fi
   6708   ;;
   6709 
   6710 haiku*)
   6711   lt_cv_deplibs_check_method=pass_all
   6712   ;;
   6713 
   6714 hpux10.20* | hpux11*)
   6715   lt_cv_file_magic_cmd=$FILECMD
   6716   case $host_cpu in
   6717   ia64*)
   6718     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6719     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6720     ;;
   6721   hppa*64*)
   6722     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]'
   6723     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6724     ;;
   6725   *)
   6726     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6727     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6728     ;;
   6729   esac
   6730   ;;
   6731 
   6732 interix[3-9]*)
   6733   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6734   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6735   ;;
   6736 
   6737 irix5* | irix6* | nonstopux*)
   6738   case $LD in
   6739   *-32|*"-32 ") libmagic=32-bit;;
   6740   *-n32|*"-n32 ") libmagic=N32;;
   6741   *-64|*"-64 ") libmagic=64-bit;;
   6742   *) libmagic=never-match;;
   6743   esac
   6744   lt_cv_deplibs_check_method=pass_all
   6745   ;;
   6746 
   6747 # This must be glibc/ELF.
   6748 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6749   lt_cv_deplibs_check_method=pass_all
   6750   ;;
   6751 
   6752 *-mlibc)
   6753   lt_cv_deplibs_check_method=pass_all
   6754   ;;
   6755 
   6756 netbsd* | netbsdelf*-gnu)
   6757   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6758     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6759   else
   6760     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6761   fi
   6762   ;;
   6763 
   6764 newos6*)
   6765   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6766   lt_cv_file_magic_cmd=$FILECMD
   6767   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6768   ;;
   6769 
   6770 *nto* | *qnx*)
   6771   lt_cv_deplibs_check_method=pass_all
   6772   ;;
   6773 
   6774 openbsd*)
   6775   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6776     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6777   else
   6778     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6779   fi
   6780   ;;
   6781 
   6782 osf3* | osf4* | osf5*)
   6783   lt_cv_deplibs_check_method=pass_all
   6784   ;;
   6785 
   6786 rdos*)
   6787   lt_cv_deplibs_check_method=pass_all
   6788   ;;
   6789 
   6790 serenity*)
   6791   lt_cv_deplibs_check_method=pass_all
   6792   ;;
   6793 
   6794 solaris*)
   6795   lt_cv_deplibs_check_method=pass_all
   6796   ;;
   6797 
   6798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6799   lt_cv_deplibs_check_method=pass_all
   6800   ;;
   6801 
   6802 sysv4 | sysv4.3*)
   6803   case $host_vendor in
   6804   motorola)
   6805     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]'
   6806     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6807     ;;
   6808   ncr)
   6809     lt_cv_deplibs_check_method=pass_all
   6810     ;;
   6811   sequent)
   6812     lt_cv_file_magic_cmd='/bin/file'
   6813     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6814     ;;
   6815   sni)
   6816     lt_cv_file_magic_cmd='/bin/file'
   6817     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6818     lt_cv_file_magic_test_file=/lib/libc.so
   6819     ;;
   6820   siemens)
   6821     lt_cv_deplibs_check_method=pass_all
   6822     ;;
   6823   pc)
   6824     lt_cv_deplibs_check_method=pass_all
   6825     ;;
   6826   esac
   6827   ;;
   6828 
   6829 tpf*)
   6830   lt_cv_deplibs_check_method=pass_all
   6831   ;;
   6832 os2*)
   6833   lt_cv_deplibs_check_method=pass_all
   6834   ;;
   6835 esac
   6836  ;;
   6837 esac
   6838 fi
   6839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6840 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6841 
   6842 file_magic_glob=
   6843 want_nocaseglob=no
   6844 if test "$build" = "$host"; then
   6845   case $host_os in
   6846   mingw* | windows* | pw32*)
   6847     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6848       want_nocaseglob=yes
   6849     else
   6850       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6851     fi
   6852     ;;
   6853   esac
   6854 fi
   6855 
   6856 file_magic_cmd=$lt_cv_file_magic_cmd
   6857 deplibs_check_method=$lt_cv_deplibs_check_method
   6858 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 if test -n "$ac_tool_prefix"; then
   6882   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6883 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6885 printf %s "checking for $ac_word... " >&6; }
   6886 if test ${ac_cv_prog_DLLTOOL+y}
   6887 then :
   6888   printf %s "(cached) " >&6
   6889 else case e in #(
   6890   e) if test -n "$DLLTOOL"; then
   6891   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6892 else
   6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6894 for as_dir in $PATH
   6895 do
   6896   IFS=$as_save_IFS
   6897   case $as_dir in #(((
   6898     '') as_dir=./ ;;
   6899     */) ;;
   6900     *) as_dir=$as_dir/ ;;
   6901   esac
   6902     for ac_exec_ext in '' $ac_executable_extensions; do
   6903   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6904     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6905     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6906     break 2
   6907   fi
   6908 done
   6909   done
   6910 IFS=$as_save_IFS
   6911 
   6912 fi ;;
   6913 esac
   6914 fi
   6915 DLLTOOL=$ac_cv_prog_DLLTOOL
   6916 if test -n "$DLLTOOL"; then
   6917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6918 printf "%s\n" "$DLLTOOL" >&6; }
   6919 else
   6920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6921 printf "%s\n" "no" >&6; }
   6922 fi
   6923 
   6924 
   6925 fi
   6926 if test -z "$ac_cv_prog_DLLTOOL"; then
   6927   ac_ct_DLLTOOL=$DLLTOOL
   6928   # Extract the first word of "dlltool", so it can be a program name with args.
   6929 set dummy dlltool; ac_word=$2
   6930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6931 printf %s "checking for $ac_word... " >&6; }
   6932 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6933 then :
   6934   printf %s "(cached) " >&6
   6935 else case e in #(
   6936   e) if test -n "$ac_ct_DLLTOOL"; then
   6937   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6938 else
   6939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6940 for as_dir in $PATH
   6941 do
   6942   IFS=$as_save_IFS
   6943   case $as_dir in #(((
   6944     '') as_dir=./ ;;
   6945     */) ;;
   6946     *) as_dir=$as_dir/ ;;
   6947   esac
   6948     for ac_exec_ext in '' $ac_executable_extensions; do
   6949   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6950     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6951     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6952     break 2
   6953   fi
   6954 done
   6955   done
   6956 IFS=$as_save_IFS
   6957 
   6958 fi ;;
   6959 esac
   6960 fi
   6961 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6962 if test -n "$ac_ct_DLLTOOL"; then
   6963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6964 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6965 else
   6966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6967 printf "%s\n" "no" >&6; }
   6968 fi
   6969 
   6970   if test "x$ac_ct_DLLTOOL" = x; then
   6971     DLLTOOL="false"
   6972   else
   6973     case $cross_compiling:$ac_tool_warned in
   6974 yes:)
   6975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6976 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6977 ac_tool_warned=yes ;;
   6978 esac
   6979     DLLTOOL=$ac_ct_DLLTOOL
   6980   fi
   6981 else
   6982   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6983 fi
   6984 
   6985 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6997 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6998 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6999 then :
   7000   printf %s "(cached) " >&6
   7001 else case e in #(
   7002   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   7003 
   7004 case $host_os in
   7005 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7006   # two different shell functions defined in ltmain.sh;
   7007   # decide which one to use based on capabilities of $DLLTOOL
   7008   case `$DLLTOOL --help 2>&1` in
   7009   *--identify-strict*)
   7010     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7011     ;;
   7012   *)
   7013     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7014     ;;
   7015   esac
   7016   ;;
   7017 *)
   7018   # fallback: assume linklib IS sharedlib
   7019   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7020   ;;
   7021 esac
   7022  ;;
   7023 esac
   7024 fi
   7025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7026 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7027 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7028 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 if test -n "$ac_tool_prefix"; then
   7037   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7038 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7040 printf %s "checking for $ac_word... " >&6; }
   7041 if test ${ac_cv_prog_RANLIB+y}
   7042 then :
   7043   printf %s "(cached) " >&6
   7044 else case e in #(
   7045   e) if test -n "$RANLIB"; then
   7046   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7047 else
   7048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7049 for as_dir in $PATH
   7050 do
   7051   IFS=$as_save_IFS
   7052   case $as_dir in #(((
   7053     '') as_dir=./ ;;
   7054     */) ;;
   7055     *) as_dir=$as_dir/ ;;
   7056   esac
   7057     for ac_exec_ext in '' $ac_executable_extensions; do
   7058   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7059     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7060     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7061     break 2
   7062   fi
   7063 done
   7064   done
   7065 IFS=$as_save_IFS
   7066 
   7067 fi ;;
   7068 esac
   7069 fi
   7070 RANLIB=$ac_cv_prog_RANLIB
   7071 if test -n "$RANLIB"; then
   7072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7073 printf "%s\n" "$RANLIB" >&6; }
   7074 else
   7075   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7076 printf "%s\n" "no" >&6; }
   7077 fi
   7078 
   7079 
   7080 fi
   7081 if test -z "$ac_cv_prog_RANLIB"; then
   7082   ac_ct_RANLIB=$RANLIB
   7083   # Extract the first word of "ranlib", so it can be a program name with args.
   7084 set dummy ranlib; ac_word=$2
   7085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7086 printf %s "checking for $ac_word... " >&6; }
   7087 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7088 then :
   7089   printf %s "(cached) " >&6
   7090 else case e in #(
   7091   e) if test -n "$ac_ct_RANLIB"; then
   7092   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7093 else
   7094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7095 for as_dir in $PATH
   7096 do
   7097   IFS=$as_save_IFS
   7098   case $as_dir in #(((
   7099     '') as_dir=./ ;;
   7100     */) ;;
   7101     *) as_dir=$as_dir/ ;;
   7102   esac
   7103     for ac_exec_ext in '' $ac_executable_extensions; do
   7104   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7105     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7106     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7107     break 2
   7108   fi
   7109 done
   7110   done
   7111 IFS=$as_save_IFS
   7112 
   7113 fi ;;
   7114 esac
   7115 fi
   7116 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7117 if test -n "$ac_ct_RANLIB"; then
   7118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7119 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7120 else
   7121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7122 printf "%s\n" "no" >&6; }
   7123 fi
   7124 
   7125   if test "x$ac_ct_RANLIB" = x; then
   7126     RANLIB=":"
   7127   else
   7128     case $cross_compiling:$ac_tool_warned in
   7129 yes:)
   7130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7131 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7132 ac_tool_warned=yes ;;
   7133 esac
   7134     RANLIB=$ac_ct_RANLIB
   7135   fi
   7136 else
   7137   RANLIB="$ac_cv_prog_RANLIB"
   7138 fi
   7139 
   7140 if test -n "$ac_tool_prefix"; then
   7141   for ac_prog in ar
   7142   do
   7143     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7144 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7146 printf %s "checking for $ac_word... " >&6; }
   7147 if test ${ac_cv_prog_AR+y}
   7148 then :
   7149   printf %s "(cached) " >&6
   7150 else case e in #(
   7151   e) if test -n "$AR"; then
   7152   ac_cv_prog_AR="$AR" # Let the user override the test.
   7153 else
   7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7155 for as_dir in $PATH
   7156 do
   7157   IFS=$as_save_IFS
   7158   case $as_dir in #(((
   7159     '') as_dir=./ ;;
   7160     */) ;;
   7161     *) as_dir=$as_dir/ ;;
   7162   esac
   7163     for ac_exec_ext in '' $ac_executable_extensions; do
   7164   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7165     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7166     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7167     break 2
   7168   fi
   7169 done
   7170   done
   7171 IFS=$as_save_IFS
   7172 
   7173 fi ;;
   7174 esac
   7175 fi
   7176 AR=$ac_cv_prog_AR
   7177 if test -n "$AR"; then
   7178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7179 printf "%s\n" "$AR" >&6; }
   7180 else
   7181   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7182 printf "%s\n" "no" >&6; }
   7183 fi
   7184 
   7185 
   7186     test -n "$AR" && break
   7187   done
   7188 fi
   7189 if test -z "$AR"; then
   7190   ac_ct_AR=$AR
   7191   for ac_prog in ar
   7192 do
   7193   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7194 set dummy $ac_prog; ac_word=$2
   7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7196 printf %s "checking for $ac_word... " >&6; }
   7197 if test ${ac_cv_prog_ac_ct_AR+y}
   7198 then :
   7199   printf %s "(cached) " >&6
   7200 else case e in #(
   7201   e) if test -n "$ac_ct_AR"; then
   7202   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7203 else
   7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7205 for as_dir in $PATH
   7206 do
   7207   IFS=$as_save_IFS
   7208   case $as_dir in #(((
   7209     '') as_dir=./ ;;
   7210     */) ;;
   7211     *) as_dir=$as_dir/ ;;
   7212   esac
   7213     for ac_exec_ext in '' $ac_executable_extensions; do
   7214   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7215     ac_cv_prog_ac_ct_AR="$ac_prog"
   7216     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7217     break 2
   7218   fi
   7219 done
   7220   done
   7221 IFS=$as_save_IFS
   7222 
   7223 fi ;;
   7224 esac
   7225 fi
   7226 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7227 if test -n "$ac_ct_AR"; then
   7228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7229 printf "%s\n" "$ac_ct_AR" >&6; }
   7230 else
   7231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7232 printf "%s\n" "no" >&6; }
   7233 fi
   7234 
   7235 
   7236   test -n "$ac_ct_AR" && break
   7237 done
   7238 
   7239   if test "x$ac_ct_AR" = x; then
   7240     AR="false"
   7241   else
   7242     case $cross_compiling:$ac_tool_warned in
   7243 yes:)
   7244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7245 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7246 ac_tool_warned=yes ;;
   7247 esac
   7248     AR=$ac_ct_AR
   7249   fi
   7250 fi
   7251 
   7252 : ${AR=ar}
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7260 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7261 # higher priority because that's what people were doing historically (setting
   7262 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7263 # variable obsoleted/removed.
   7264 
   7265 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7266 lt_ar_flags=$AR_FLAGS
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7274 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7282 printf %s "checking for archiver @FILE support... " >&6; }
   7283 if test ${lt_cv_ar_at_file+y}
   7284 then :
   7285   printf %s "(cached) " >&6
   7286 else case e in #(
   7287   e) lt_cv_ar_at_file=no
   7288    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7289 /* end confdefs.h.  */
   7290 
   7291 int
   7292 main (void)
   7293 {
   7294 
   7295   ;
   7296   return 0;
   7297 }
   7298 _ACEOF
   7299 if ac_fn_c_try_compile "$LINENO"
   7300 then :
   7301   echo conftest.$ac_objext > conftest.lst
   7302       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7303       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7304   (eval $lt_ar_try) 2>&5
   7305   ac_status=$?
   7306   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7307   test $ac_status = 0; }
   7308       if test 0 -eq "$ac_status"; then
   7309 	# Ensure the archiver fails upon bogus file names.
   7310 	rm -f conftest.$ac_objext libconftest.a
   7311 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7312   (eval $lt_ar_try) 2>&5
   7313   ac_status=$?
   7314   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7315   test $ac_status = 0; }
   7316 	if test 0 -ne "$ac_status"; then
   7317           lt_cv_ar_at_file=@
   7318         fi
   7319       fi
   7320       rm -f conftest.* libconftest.a
   7321 
   7322 fi
   7323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7324    ;;
   7325 esac
   7326 fi
   7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7328 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7329 
   7330 if test no = "$lt_cv_ar_at_file"; then
   7331   archiver_list_spec=
   7332 else
   7333   archiver_list_spec=$lt_cv_ar_at_file
   7334 fi
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 if test -n "$ac_tool_prefix"; then
   7343   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7344 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7346 printf %s "checking for $ac_word... " >&6; }
   7347 if test ${ac_cv_prog_STRIP+y}
   7348 then :
   7349   printf %s "(cached) " >&6
   7350 else case e in #(
   7351   e) if test -n "$STRIP"; then
   7352   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7353 else
   7354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7355 for as_dir in $PATH
   7356 do
   7357   IFS=$as_save_IFS
   7358   case $as_dir in #(((
   7359     '') as_dir=./ ;;
   7360     */) ;;
   7361     *) as_dir=$as_dir/ ;;
   7362   esac
   7363     for ac_exec_ext in '' $ac_executable_extensions; do
   7364   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7365     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7366     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7367     break 2
   7368   fi
   7369 done
   7370   done
   7371 IFS=$as_save_IFS
   7372 
   7373 fi ;;
   7374 esac
   7375 fi
   7376 STRIP=$ac_cv_prog_STRIP
   7377 if test -n "$STRIP"; then
   7378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7379 printf "%s\n" "$STRIP" >&6; }
   7380 else
   7381   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7382 printf "%s\n" "no" >&6; }
   7383 fi
   7384 
   7385 
   7386 fi
   7387 if test -z "$ac_cv_prog_STRIP"; then
   7388   ac_ct_STRIP=$STRIP
   7389   # Extract the first word of "strip", so it can be a program name with args.
   7390 set dummy strip; ac_word=$2
   7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7392 printf %s "checking for $ac_word... " >&6; }
   7393 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7394 then :
   7395   printf %s "(cached) " >&6
   7396 else case e in #(
   7397   e) if test -n "$ac_ct_STRIP"; then
   7398   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7399 else
   7400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7401 for as_dir in $PATH
   7402 do
   7403   IFS=$as_save_IFS
   7404   case $as_dir in #(((
   7405     '') as_dir=./ ;;
   7406     */) ;;
   7407     *) as_dir=$as_dir/ ;;
   7408   esac
   7409     for ac_exec_ext in '' $ac_executable_extensions; do
   7410   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7411     ac_cv_prog_ac_ct_STRIP="strip"
   7412     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7413     break 2
   7414   fi
   7415 done
   7416   done
   7417 IFS=$as_save_IFS
   7418 
   7419 fi ;;
   7420 esac
   7421 fi
   7422 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7423 if test -n "$ac_ct_STRIP"; then
   7424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7425 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7426 else
   7427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7428 printf "%s\n" "no" >&6; }
   7429 fi
   7430 
   7431   if test "x$ac_ct_STRIP" = x; then
   7432     STRIP=":"
   7433   else
   7434     case $cross_compiling:$ac_tool_warned in
   7435 yes:)
   7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7437 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7438 ac_tool_warned=yes ;;
   7439 esac
   7440     STRIP=$ac_ct_STRIP
   7441   fi
   7442 else
   7443   STRIP="$ac_cv_prog_STRIP"
   7444 fi
   7445 
   7446 test -z "$STRIP" && STRIP=:
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 test -z "$RANLIB" && RANLIB=:
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 # Determine commands to create old-style static archives.
   7462 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7463 old_postinstall_cmds='chmod 644 $oldlib'
   7464 old_postuninstall_cmds=
   7465 
   7466 if test -n "$RANLIB"; then
   7467   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7468   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7469 fi
   7470 
   7471 case $host_os in
   7472   darwin*)
   7473     lock_old_archive_extraction=yes ;;
   7474   *)
   7475     lock_old_archive_extraction=no ;;
   7476 esac
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 # If no C compiler was specified, use CC.
   7517 LTCC=${LTCC-"$CC"}
   7518 
   7519 # If no C compiler flags were specified, use CFLAGS.
   7520 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7521 
   7522 # Allow CC to be a program name with arguments.
   7523 compiler=$CC
   7524 
   7525 
   7526 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7528 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7529 if test ${lt_cv_sys_global_symbol_pipe+y}
   7530 then :
   7531   printf %s "(cached) " >&6
   7532 else case e in #(
   7533   e)
   7534 # These are sane defaults that work on at least a few old systems.
   7535 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7536 
   7537 # Character class describing NM global symbol codes.
   7538 symcode='[BCDEGRST]'
   7539 
   7540 # Regexp to match symbols that can be accessed directly from C.
   7541 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7542 
   7543 # Define system-specific variables.
   7544 case $host_os in
   7545 aix*)
   7546   symcode='[BCDT]'
   7547   ;;
   7548 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7549   symcode='[ABCDGISTW]'
   7550   ;;
   7551 hpux*)
   7552   if test ia64 = "$host_cpu"; then
   7553     symcode='[ABCDEGRST]'
   7554   fi
   7555   ;;
   7556 irix* | nonstopux*)
   7557   symcode='[BCDEGRST]'
   7558   ;;
   7559 osf*)
   7560   symcode='[BCDEGQRST]'
   7561   ;;
   7562 solaris*)
   7563   symcode='[BCDRT]'
   7564   ;;
   7565 sco3.2v5*)
   7566   symcode='[DT]'
   7567   ;;
   7568 sysv4.2uw2*)
   7569   symcode='[DT]'
   7570   ;;
   7571 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7572   symcode='[ABDT]'
   7573   ;;
   7574 sysv4)
   7575   symcode='[DFNSTU]'
   7576   ;;
   7577 esac
   7578 
   7579 # If we're using GNU nm, then use its standard symbol codes.
   7580 case `$NM -V 2>&1` in
   7581 *GNU* | *'with BFD'*)
   7582   symcode='[ABCDGIRSTW]' ;;
   7583 esac
   7584 
   7585 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7586   # Gets list of data symbols to import.
   7587   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7588   # Adjust the below global symbol transforms to fixup imported variables.
   7589   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7590   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7591   lt_c_name_lib_hook="\
   7592   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7593   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7594 else
   7595   # Disable hooks by default.
   7596   lt_cv_sys_global_symbol_to_import=
   7597   lt_cdecl_hook=
   7598   lt_c_name_hook=
   7599   lt_c_name_lib_hook=
   7600 fi
   7601 
   7602 # Transform an extracted symbol line into a proper C declaration.
   7603 # Some systems (esp. on ia64) link data and code symbols differently,
   7604 # so use this general approach.
   7605 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7606 $lt_cdecl_hook\
   7607 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7608 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7609 
   7610 # Transform an extracted symbol line into symbol name and symbol address
   7611 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7612 $lt_c_name_hook\
   7613 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7614 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7615 
   7616 # Transform an extracted symbol line into symbol name with lib prefix and
   7617 # symbol address.
   7618 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7619 $lt_c_name_lib_hook\
   7620 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7621 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7622 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7623 
   7624 # Handle CRLF in mingw tool chain
   7625 opt_cr=
   7626 case $build_os in
   7627 mingw* | windows*)
   7628   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7629   ;;
   7630 esac
   7631 
   7632 # Try without a prefix underscore, then with it.
   7633 for ac_symprfx in "" "_"; do
   7634 
   7635   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7636   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7637 
   7638   # Write the raw and C identifiers.
   7639   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7640     # Fake it for dumpbin and say T for any non-static function,
   7641     # D for any global variable and I for any imported variable.
   7642     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7643     # which start with @ or ?.
   7644     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7645 "     {last_section=section; section=\$ 3};"\
   7646 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7647 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7648 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7649 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7650 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7651 "     \$ 0!~/External *\|/{next};"\
   7652 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7653 "     {if(hide[section]) next};"\
   7654 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7655 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7656 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7657 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7658 "     ' prfx=^$ac_symprfx"
   7659   else
   7660     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7661   fi
   7662   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7663 
   7664   # Check to see that the pipe works correctly.
   7665   pipe_works=no
   7666 
   7667   rm -f conftest*
   7668   cat > conftest.$ac_ext <<_LT_EOF
   7669 #ifdef __cplusplus
   7670 extern "C" {
   7671 #endif
   7672 char nm_test_var;
   7673 void nm_test_func(void);
   7674 void nm_test_func(void){}
   7675 #ifdef __cplusplus
   7676 }
   7677 #endif
   7678 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7679 _LT_EOF
   7680 
   7681   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7682   (eval $ac_compile) 2>&5
   7683   ac_status=$?
   7684   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7685   test $ac_status = 0; }; then
   7686     # Now try to grab the symbols.
   7687     nlist=conftest.nm
   7688     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7689     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7690       # Try sorting and uniquifying the output.
   7691       if sort "$nlist" | uniq > "$nlist"T; then
   7692 	mv -f "$nlist"T "$nlist"
   7693       else
   7694 	rm -f "$nlist"T
   7695       fi
   7696 
   7697       # Make sure that we snagged all the symbols we need.
   7698       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7699 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7700 	  cat <<_LT_EOF > conftest.$ac_ext
   7701 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7702 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7703 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7704    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7705 # define LT_DLSYM_CONST
   7706 #elif defined __osf__
   7707 /* This system does not cope well with relocations in const data.  */
   7708 # define LT_DLSYM_CONST
   7709 #else
   7710 # define LT_DLSYM_CONST const
   7711 #endif
   7712 
   7713 #ifdef __cplusplus
   7714 extern "C" {
   7715 #endif
   7716 
   7717 _LT_EOF
   7718 	  # Now generate the symbol file.
   7719 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7720 
   7721 	  cat <<_LT_EOF >> conftest.$ac_ext
   7722 
   7723 /* The mapping between symbol names and symbols.  */
   7724 LT_DLSYM_CONST struct {
   7725   const char *name;
   7726   void       *address;
   7727 }
   7728 lt__PROGRAM__LTX_preloaded_symbols[] =
   7729 {
   7730   { "@PROGRAM@", (void *) 0 },
   7731 _LT_EOF
   7732 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7733 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7734   {0, (void *) 0}
   7735 };
   7736 
   7737 /* This works around a problem in FreeBSD linker */
   7738 #ifdef FREEBSD_WORKAROUND
   7739 static const void *lt_preloaded_setup() {
   7740   return lt__PROGRAM__LTX_preloaded_symbols;
   7741 }
   7742 #endif
   7743 
   7744 #ifdef __cplusplus
   7745 }
   7746 #endif
   7747 _LT_EOF
   7748 	  # Now try linking the two files.
   7749 	  mv conftest.$ac_objext conftstm.$ac_objext
   7750 	  lt_globsym_save_LIBS=$LIBS
   7751 	  lt_globsym_save_CFLAGS=$CFLAGS
   7752 	  LIBS=conftstm.$ac_objext
   7753 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7754 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7755   (eval $ac_link) 2>&5
   7756   ac_status=$?
   7757   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7758   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7759 	    pipe_works=yes
   7760 	  fi
   7761 	  LIBS=$lt_globsym_save_LIBS
   7762 	  CFLAGS=$lt_globsym_save_CFLAGS
   7763 	else
   7764 	  echo "cannot find nm_test_func in $nlist" >&5
   7765 	fi
   7766       else
   7767 	echo "cannot find nm_test_var in $nlist" >&5
   7768       fi
   7769     else
   7770       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7771     fi
   7772   else
   7773     echo "$progname: failed program was:" >&5
   7774     cat conftest.$ac_ext >&5
   7775   fi
   7776   rm -rf conftest* conftst*
   7777 
   7778   # Do not use the global_symbol_pipe unless it works.
   7779   if test yes = "$pipe_works"; then
   7780     break
   7781   else
   7782     lt_cv_sys_global_symbol_pipe=
   7783   fi
   7784 done
   7785  ;;
   7786 esac
   7787 fi
   7788 
   7789 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7790   lt_cv_sys_global_symbol_to_cdecl=
   7791 fi
   7792 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7793   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7794 printf "%s\n" "failed" >&6; }
   7795 else
   7796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7797 printf "%s\n" "ok" >&6; }
   7798 fi
   7799 
   7800 # Response file support.
   7801 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7802   nm_file_list_spec='@'
   7803 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7804   nm_file_list_spec='@'
   7805 fi
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7844 printf %s "checking for sysroot... " >&6; }
   7845 
   7846 # Check whether --with-sysroot was given.
   7847 if test ${with_sysroot+y}
   7848 then :
   7849   withval=$with_sysroot;
   7850 else case e in #(
   7851   e) with_sysroot=no ;;
   7852 esac
   7853 fi
   7854 
   7855 
   7856 lt_sysroot=
   7857 case $with_sysroot in #(
   7858  yes)
   7859    if test yes = "$GCC"; then
   7860      # Trim trailing / since we'll always append absolute paths and we want
   7861      # to avoid //, if only for less confusing output for the user.
   7862      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7863    fi
   7864    ;; #(
   7865  /*)
   7866    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7867    ;; #(
   7868  no|'')
   7869    ;; #(
   7870  *)
   7871    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7872 printf "%s\n" "$with_sysroot" >&6; }
   7873    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7874    ;;
   7875 esac
   7876 
   7877  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7878 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7885 printf %s "checking for a working dd... " >&6; }
   7886 if test ${ac_cv_path_lt_DD+y}
   7887 then :
   7888   printf %s "(cached) " >&6
   7889 else case e in #(
   7890   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7891 cat conftest.i conftest.i >conftest2.i
   7892 : ${lt_DD:=$DD}
   7893 if test -z "$lt_DD"; then
   7894   ac_path_lt_DD_found=false
   7895   # Loop through the user's path and test for each of PROGNAME-LIST
   7896   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7897 for as_dir in $PATH
   7898 do
   7899   IFS=$as_save_IFS
   7900   case $as_dir in #(((
   7901     '') as_dir=./ ;;
   7902     */) ;;
   7903     *) as_dir=$as_dir/ ;;
   7904   esac
   7905     for ac_prog in dd
   7906    do
   7907     for ac_exec_ext in '' $ac_executable_extensions; do
   7908       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7909       as_fn_executable_p "$ac_path_lt_DD" || continue
   7910 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7911   cmp -s conftest.i conftest.out \
   7912   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7913 fi
   7914       $ac_path_lt_DD_found && break 3
   7915     done
   7916   done
   7917   done
   7918 IFS=$as_save_IFS
   7919   if test -z "$ac_cv_path_lt_DD"; then
   7920     :
   7921   fi
   7922 else
   7923   ac_cv_path_lt_DD=$lt_DD
   7924 fi
   7925 
   7926 rm -f conftest.i conftest2.i conftest.out ;;
   7927 esac
   7928 fi
   7929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7930 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7931 
   7932 
   7933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7934 printf %s "checking how to truncate binary pipes... " >&6; }
   7935 if test ${lt_cv_truncate_bin+y}
   7936 then :
   7937   printf %s "(cached) " >&6
   7938 else case e in #(
   7939   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7940 cat conftest.i conftest.i >conftest2.i
   7941 lt_cv_truncate_bin=
   7942 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7943   cmp -s conftest.i conftest.out \
   7944   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7945 fi
   7946 rm -f conftest.i conftest2.i conftest.out
   7947 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7948 esac
   7949 fi
   7950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7951 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7960 func_cc_basename ()
   7961 {
   7962     for cc_temp in $*""; do
   7963       case $cc_temp in
   7964         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7965         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7966         \-*) ;;
   7967         *) break;;
   7968       esac
   7969     done
   7970     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7971 }
   7972 
   7973 # Check whether --enable-libtool-lock was given.
   7974 if test ${enable_libtool_lock+y}
   7975 then :
   7976   enableval=$enable_libtool_lock;
   7977 fi
   7978 
   7979 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7980 
   7981 # Some flags need to be propagated to the compiler or linker for good
   7982 # libtool support.
   7983 case $host in
   7984 ia64-*-hpux*)
   7985   # Find out what ABI is being produced by ac_compile, and set mode
   7986   # options accordingly.
   7987   echo 'int i;' > conftest.$ac_ext
   7988   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7989   (eval $ac_compile) 2>&5
   7990   ac_status=$?
   7991   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7992   test $ac_status = 0; }; then
   7993     case `$FILECMD conftest.$ac_objext` in
   7994       *ELF-32*)
   7995 	HPUX_IA64_MODE=32
   7996 	;;
   7997       *ELF-64*)
   7998 	HPUX_IA64_MODE=64
   7999 	;;
   8000     esac
   8001   fi
   8002   rm -rf conftest*
   8003   ;;
   8004 *-*-irix6*)
   8005   # Find out what ABI is being produced by ac_compile, and set linker
   8006   # options accordingly.
   8007   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8008   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8009   (eval $ac_compile) 2>&5
   8010   ac_status=$?
   8011   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8012   test $ac_status = 0; }; then
   8013     if test yes = "$lt_cv_prog_gnu_ld"; then
   8014       case `$FILECMD conftest.$ac_objext` in
   8015 	*32-bit*)
   8016 	  LD="${LD-ld} -melf32bsmip"
   8017 	  ;;
   8018 	*N32*)
   8019 	  LD="${LD-ld} -melf32bmipn32"
   8020 	  ;;
   8021 	*64-bit*)
   8022 	  LD="${LD-ld} -melf64bmip"
   8023 	;;
   8024       esac
   8025     else
   8026       case `$FILECMD conftest.$ac_objext` in
   8027 	*32-bit*)
   8028 	  LD="${LD-ld} -32"
   8029 	  ;;
   8030 	*N32*)
   8031 	  LD="${LD-ld} -n32"
   8032 	  ;;
   8033 	*64-bit*)
   8034 	  LD="${LD-ld} -64"
   8035 	  ;;
   8036       esac
   8037     fi
   8038   fi
   8039   rm -rf conftest*
   8040   ;;
   8041 
   8042 mips64*-*linux*)
   8043   # Find out what ABI is being produced by ac_compile, and set linker
   8044   # options accordingly.
   8045   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8046   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8047   (eval $ac_compile) 2>&5
   8048   ac_status=$?
   8049   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8050   test $ac_status = 0; }; then
   8051     emul=elf
   8052     case `$FILECMD conftest.$ac_objext` in
   8053       *32-bit*)
   8054 	emul="${emul}32"
   8055 	;;
   8056       *64-bit*)
   8057 	emul="${emul}64"
   8058 	;;
   8059     esac
   8060     case `$FILECMD conftest.$ac_objext` in
   8061       *MSB*)
   8062 	emul="${emul}btsmip"
   8063 	;;
   8064       *LSB*)
   8065 	emul="${emul}ltsmip"
   8066 	;;
   8067     esac
   8068     case `$FILECMD conftest.$ac_objext` in
   8069       *N32*)
   8070 	emul="${emul}n32"
   8071 	;;
   8072     esac
   8073     LD="${LD-ld} -m $emul"
   8074   fi
   8075   rm -rf conftest*
   8076   ;;
   8077 
   8078 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8079 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   8080   # Find out what ABI is being produced by ac_compile, and set linker
   8081   # options accordingly.  Note that the listed cases only cover the
   8082   # situations where additional linker options are needed (such as when
   8083   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8084   # vice versa); the common cases where no linker options are needed do
   8085   # not appear in the list.
   8086   echo 'int i;' > conftest.$ac_ext
   8087   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8088   (eval $ac_compile) 2>&5
   8089   ac_status=$?
   8090   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8091   test $ac_status = 0; }; then
   8092     case `$FILECMD conftest.o` in
   8093       *32-bit*)
   8094 	case $host in
   8095 	  x86_64-*kfreebsd*-gnu)
   8096 	    LD="${LD-ld} -m elf_i386_fbsd"
   8097 	    ;;
   8098 	  x86_64-*linux*|x86_64-gnu*)
   8099 	    case `$FILECMD conftest.o` in
   8100 	      *x86-64*)
   8101 		LD="${LD-ld} -m elf32_x86_64"
   8102 		;;
   8103 	      *)
   8104 		LD="${LD-ld} -m elf_i386"
   8105 		;;
   8106 	    esac
   8107 	    ;;
   8108 	  powerpc64le-*linux*)
   8109 	    LD="${LD-ld} -m elf32lppclinux"
   8110 	    ;;
   8111 	  powerpc64-*linux*)
   8112 	    LD="${LD-ld} -m elf32ppclinux"
   8113 	    ;;
   8114 	  s390x-*linux*)
   8115 	    LD="${LD-ld} -m elf_s390"
   8116 	    ;;
   8117 	  sparc64-*linux*)
   8118 	    LD="${LD-ld} -m elf32_sparc"
   8119 	    ;;
   8120 	esac
   8121 	;;
   8122       *64-bit*)
   8123 	case $host in
   8124 	  x86_64-*kfreebsd*-gnu)
   8125 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8126 	    ;;
   8127 	  x86_64-*linux*|x86_64-gnu*)
   8128 	    LD="${LD-ld} -m elf_x86_64"
   8129 	    ;;
   8130 	  powerpcle-*linux*)
   8131 	    LD="${LD-ld} -m elf64lppc"
   8132 	    ;;
   8133 	  powerpc-*linux*)
   8134 	    LD="${LD-ld} -m elf64ppc"
   8135 	    ;;
   8136 	  s390*-*linux*|s390*-*tpf*)
   8137 	    LD="${LD-ld} -m elf64_s390"
   8138 	    ;;
   8139 	  sparc*-*linux*)
   8140 	    LD="${LD-ld} -m elf64_sparc"
   8141 	    ;;
   8142 	esac
   8143 	;;
   8144     esac
   8145   fi
   8146   rm -rf conftest*
   8147   ;;
   8148 
   8149 *-*-sco3.2v5*)
   8150   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8151   SAVE_CFLAGS=$CFLAGS
   8152   CFLAGS="$CFLAGS -belf"
   8153   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8154 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8155 if test ${lt_cv_cc_needs_belf+y}
   8156 then :
   8157   printf %s "(cached) " >&6
   8158 else case e in #(
   8159   e) ac_ext=c
   8160 ac_cpp='$CPP $CPPFLAGS'
   8161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8164 
   8165      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8166 /* end confdefs.h.  */
   8167 
   8168 int
   8169 main (void)
   8170 {
   8171 
   8172   ;
   8173   return 0;
   8174 }
   8175 _ACEOF
   8176 if ac_fn_c_try_link "$LINENO"
   8177 then :
   8178   lt_cv_cc_needs_belf=yes
   8179 else case e in #(
   8180   e) lt_cv_cc_needs_belf=no ;;
   8181 esac
   8182 fi
   8183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8184     conftest$ac_exeext conftest.$ac_ext
   8185      ac_ext=c
   8186 ac_cpp='$CPP $CPPFLAGS'
   8187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8190  ;;
   8191 esac
   8192 fi
   8193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8194 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8195   if test yes != "$lt_cv_cc_needs_belf"; then
   8196     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8197     CFLAGS=$SAVE_CFLAGS
   8198   fi
   8199   ;;
   8200 *-*solaris*)
   8201   # Find out what ABI is being produced by ac_compile, and set linker
   8202   # options accordingly.
   8203   echo 'int i;' > conftest.$ac_ext
   8204   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8205   (eval $ac_compile) 2>&5
   8206   ac_status=$?
   8207   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8208   test $ac_status = 0; }; then
   8209     case `$FILECMD conftest.o` in
   8210     *64-bit*)
   8211       case $lt_cv_prog_gnu_ld in
   8212       yes*)
   8213         case $host in
   8214         i?86-*-solaris*|x86_64-*-solaris*)
   8215           LD="${LD-ld} -m elf_x86_64"
   8216           ;;
   8217         sparc*-*-solaris*)
   8218           LD="${LD-ld} -m elf64_sparc"
   8219           ;;
   8220         esac
   8221         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8222         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8223           LD=${LD-ld}_sol2
   8224         fi
   8225         ;;
   8226       *)
   8227 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8228 	  LD="${LD-ld} -64"
   8229 	fi
   8230 	;;
   8231       esac
   8232       ;;
   8233     esac
   8234   fi
   8235   rm -rf conftest*
   8236   ;;
   8237 esac
   8238 
   8239 need_locks=$enable_libtool_lock
   8240 
   8241 if test -n "$ac_tool_prefix"; then
   8242   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8243 set dummy ${ac_tool_prefix}mt; 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_MANIFEST_TOOL+y}
   8247 then :
   8248   printf %s "(cached) " >&6
   8249 else case e in #(
   8250   e) if test -n "$MANIFEST_TOOL"; then
   8251   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # 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_MANIFEST_TOOL="${ac_tool_prefix}mt"
   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 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8276 if test -n "$MANIFEST_TOOL"; then
   8277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8278 printf "%s\n" "$MANIFEST_TOOL" >&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 
   8285 fi
   8286 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8287   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8288   # Extract the first word of "mt", so it can be a program name with args.
   8289 set dummy mt; ac_word=$2
   8290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8291 printf %s "checking for $ac_word... " >&6; }
   8292 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8293 then :
   8294   printf %s "(cached) " >&6
   8295 else case e in #(
   8296   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   8297   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8298 else
   8299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8300 for as_dir in $PATH
   8301 do
   8302   IFS=$as_save_IFS
   8303   case $as_dir in #(((
   8304     '') as_dir=./ ;;
   8305     */) ;;
   8306     *) as_dir=$as_dir/ ;;
   8307   esac
   8308     for ac_exec_ext in '' $ac_executable_extensions; do
   8309   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8310     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8311     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8312     break 2
   8313   fi
   8314 done
   8315   done
   8316 IFS=$as_save_IFS
   8317 
   8318 fi ;;
   8319 esac
   8320 fi
   8321 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8322 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8323   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8324 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8325 else
   8326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8327 printf "%s\n" "no" >&6; }
   8328 fi
   8329 
   8330   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8331     MANIFEST_TOOL=":"
   8332   else
   8333     case $cross_compiling:$ac_tool_warned in
   8334 yes:)
   8335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8336 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8337 ac_tool_warned=yes ;;
   8338 esac
   8339     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8340   fi
   8341 else
   8342   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8343 fi
   8344 
   8345 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8347 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8348 if test ${lt_cv_path_manifest_tool+y}
   8349 then :
   8350   printf %s "(cached) " >&6
   8351 else case e in #(
   8352   e) lt_cv_path_manifest_tool=no
   8353   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8354   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8355   cat conftest.err >&5
   8356   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8357     lt_cv_path_manifest_tool=yes
   8358   fi
   8359   rm -f conftest* ;;
   8360 esac
   8361 fi
   8362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   8363 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   8364 if test yes != "$lt_cv_path_manifest_tool"; then
   8365   MANIFEST_TOOL=:
   8366 fi
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373   case $host_os in
   8374     rhapsody* | darwin*)
   8375     if test -n "$ac_tool_prefix"; then
   8376   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8377 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8379 printf %s "checking for $ac_word... " >&6; }
   8380 if test ${ac_cv_prog_DSYMUTIL+y}
   8381 then :
   8382   printf %s "(cached) " >&6
   8383 else case e in #(
   8384   e) if test -n "$DSYMUTIL"; then
   8385   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8386 else
   8387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8388 for as_dir in $PATH
   8389 do
   8390   IFS=$as_save_IFS
   8391   case $as_dir in #(((
   8392     '') as_dir=./ ;;
   8393     */) ;;
   8394     *) as_dir=$as_dir/ ;;
   8395   esac
   8396     for ac_exec_ext in '' $ac_executable_extensions; do
   8397   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8398     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8399     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8400     break 2
   8401   fi
   8402 done
   8403   done
   8404 IFS=$as_save_IFS
   8405 
   8406 fi ;;
   8407 esac
   8408 fi
   8409 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8410 if test -n "$DSYMUTIL"; then
   8411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8412 printf "%s\n" "$DSYMUTIL" >&6; }
   8413 else
   8414   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8415 printf "%s\n" "no" >&6; }
   8416 fi
   8417 
   8418 
   8419 fi
   8420 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8421   ac_ct_DSYMUTIL=$DSYMUTIL
   8422   # Extract the first word of "dsymutil", so it can be a program name with args.
   8423 set dummy dsymutil; ac_word=$2
   8424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8425 printf %s "checking for $ac_word... " >&6; }
   8426 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8427 then :
   8428   printf %s "(cached) " >&6
   8429 else case e in #(
   8430   e) if test -n "$ac_ct_DSYMUTIL"; then
   8431   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8432 else
   8433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8434 for as_dir in $PATH
   8435 do
   8436   IFS=$as_save_IFS
   8437   case $as_dir in #(((
   8438     '') as_dir=./ ;;
   8439     */) ;;
   8440     *) as_dir=$as_dir/ ;;
   8441   esac
   8442     for ac_exec_ext in '' $ac_executable_extensions; do
   8443   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8444     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8446     break 2
   8447   fi
   8448 done
   8449   done
   8450 IFS=$as_save_IFS
   8451 
   8452 fi ;;
   8453 esac
   8454 fi
   8455 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8456 if test -n "$ac_ct_DSYMUTIL"; then
   8457   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8458 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8459 else
   8460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8461 printf "%s\n" "no" >&6; }
   8462 fi
   8463 
   8464   if test "x$ac_ct_DSYMUTIL" = x; then
   8465     DSYMUTIL=":"
   8466   else
   8467     case $cross_compiling:$ac_tool_warned in
   8468 yes:)
   8469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8470 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8471 ac_tool_warned=yes ;;
   8472 esac
   8473     DSYMUTIL=$ac_ct_DSYMUTIL
   8474   fi
   8475 else
   8476   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8477 fi
   8478 
   8479     if test -n "$ac_tool_prefix"; then
   8480   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8481 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8483 printf %s "checking for $ac_word... " >&6; }
   8484 if test ${ac_cv_prog_NMEDIT+y}
   8485 then :
   8486   printf %s "(cached) " >&6
   8487 else case e in #(
   8488   e) if test -n "$NMEDIT"; then
   8489   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8490 else
   8491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8492 for as_dir in $PATH
   8493 do
   8494   IFS=$as_save_IFS
   8495   case $as_dir in #(((
   8496     '') as_dir=./ ;;
   8497     */) ;;
   8498     *) as_dir=$as_dir/ ;;
   8499   esac
   8500     for ac_exec_ext in '' $ac_executable_extensions; do
   8501   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8502     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8503     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8504     break 2
   8505   fi
   8506 done
   8507   done
   8508 IFS=$as_save_IFS
   8509 
   8510 fi ;;
   8511 esac
   8512 fi
   8513 NMEDIT=$ac_cv_prog_NMEDIT
   8514 if test -n "$NMEDIT"; then
   8515   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8516 printf "%s\n" "$NMEDIT" >&6; }
   8517 else
   8518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8519 printf "%s\n" "no" >&6; }
   8520 fi
   8521 
   8522 
   8523 fi
   8524 if test -z "$ac_cv_prog_NMEDIT"; then
   8525   ac_ct_NMEDIT=$NMEDIT
   8526   # Extract the first word of "nmedit", so it can be a program name with args.
   8527 set dummy nmedit; ac_word=$2
   8528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8529 printf %s "checking for $ac_word... " >&6; }
   8530 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8531 then :
   8532   printf %s "(cached) " >&6
   8533 else case e in #(
   8534   e) if test -n "$ac_ct_NMEDIT"; then
   8535   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8536 else
   8537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8538 for as_dir in $PATH
   8539 do
   8540   IFS=$as_save_IFS
   8541   case $as_dir in #(((
   8542     '') as_dir=./ ;;
   8543     */) ;;
   8544     *) as_dir=$as_dir/ ;;
   8545   esac
   8546     for ac_exec_ext in '' $ac_executable_extensions; do
   8547   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8548     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8549     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8550     break 2
   8551   fi
   8552 done
   8553   done
   8554 IFS=$as_save_IFS
   8555 
   8556 fi ;;
   8557 esac
   8558 fi
   8559 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8560 if test -n "$ac_ct_NMEDIT"; then
   8561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8562 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8563 else
   8564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8565 printf "%s\n" "no" >&6; }
   8566 fi
   8567 
   8568   if test "x$ac_ct_NMEDIT" = x; then
   8569     NMEDIT=":"
   8570   else
   8571     case $cross_compiling:$ac_tool_warned in
   8572 yes:)
   8573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8574 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8575 ac_tool_warned=yes ;;
   8576 esac
   8577     NMEDIT=$ac_ct_NMEDIT
   8578   fi
   8579 else
   8580   NMEDIT="$ac_cv_prog_NMEDIT"
   8581 fi
   8582 
   8583     if test -n "$ac_tool_prefix"; then
   8584   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8585 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8587 printf %s "checking for $ac_word... " >&6; }
   8588 if test ${ac_cv_prog_LIPO+y}
   8589 then :
   8590   printf %s "(cached) " >&6
   8591 else case e in #(
   8592   e) if test -n "$LIPO"; then
   8593   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8594 else
   8595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8596 for as_dir in $PATH
   8597 do
   8598   IFS=$as_save_IFS
   8599   case $as_dir in #(((
   8600     '') as_dir=./ ;;
   8601     */) ;;
   8602     *) as_dir=$as_dir/ ;;
   8603   esac
   8604     for ac_exec_ext in '' $ac_executable_extensions; do
   8605   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8606     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8607     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8608     break 2
   8609   fi
   8610 done
   8611   done
   8612 IFS=$as_save_IFS
   8613 
   8614 fi ;;
   8615 esac
   8616 fi
   8617 LIPO=$ac_cv_prog_LIPO
   8618 if test -n "$LIPO"; then
   8619   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8620 printf "%s\n" "$LIPO" >&6; }
   8621 else
   8622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8623 printf "%s\n" "no" >&6; }
   8624 fi
   8625 
   8626 
   8627 fi
   8628 if test -z "$ac_cv_prog_LIPO"; then
   8629   ac_ct_LIPO=$LIPO
   8630   # Extract the first word of "lipo", so it can be a program name with args.
   8631 set dummy lipo; ac_word=$2
   8632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8633 printf %s "checking for $ac_word... " >&6; }
   8634 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8635 then :
   8636   printf %s "(cached) " >&6
   8637 else case e in #(
   8638   e) if test -n "$ac_ct_LIPO"; then
   8639   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8640 else
   8641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8642 for as_dir in $PATH
   8643 do
   8644   IFS=$as_save_IFS
   8645   case $as_dir in #(((
   8646     '') as_dir=./ ;;
   8647     */) ;;
   8648     *) as_dir=$as_dir/ ;;
   8649   esac
   8650     for ac_exec_ext in '' $ac_executable_extensions; do
   8651   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8652     ac_cv_prog_ac_ct_LIPO="lipo"
   8653     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8654     break 2
   8655   fi
   8656 done
   8657   done
   8658 IFS=$as_save_IFS
   8659 
   8660 fi ;;
   8661 esac
   8662 fi
   8663 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8664 if test -n "$ac_ct_LIPO"; then
   8665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8666 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8667 else
   8668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8669 printf "%s\n" "no" >&6; }
   8670 fi
   8671 
   8672   if test "x$ac_ct_LIPO" = x; then
   8673     LIPO=":"
   8674   else
   8675     case $cross_compiling:$ac_tool_warned in
   8676 yes:)
   8677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8678 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8679 ac_tool_warned=yes ;;
   8680 esac
   8681     LIPO=$ac_ct_LIPO
   8682   fi
   8683 else
   8684   LIPO="$ac_cv_prog_LIPO"
   8685 fi
   8686 
   8687     if test -n "$ac_tool_prefix"; then
   8688   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8689 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8691 printf %s "checking for $ac_word... " >&6; }
   8692 if test ${ac_cv_prog_OTOOL+y}
   8693 then :
   8694   printf %s "(cached) " >&6
   8695 else case e in #(
   8696   e) if test -n "$OTOOL"; then
   8697   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8698 else
   8699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8700 for as_dir in $PATH
   8701 do
   8702   IFS=$as_save_IFS
   8703   case $as_dir in #(((
   8704     '') as_dir=./ ;;
   8705     */) ;;
   8706     *) as_dir=$as_dir/ ;;
   8707   esac
   8708     for ac_exec_ext in '' $ac_executable_extensions; do
   8709   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8710     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8711     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8712     break 2
   8713   fi
   8714 done
   8715   done
   8716 IFS=$as_save_IFS
   8717 
   8718 fi ;;
   8719 esac
   8720 fi
   8721 OTOOL=$ac_cv_prog_OTOOL
   8722 if test -n "$OTOOL"; then
   8723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8724 printf "%s\n" "$OTOOL" >&6; }
   8725 else
   8726   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8727 printf "%s\n" "no" >&6; }
   8728 fi
   8729 
   8730 
   8731 fi
   8732 if test -z "$ac_cv_prog_OTOOL"; then
   8733   ac_ct_OTOOL=$OTOOL
   8734   # Extract the first word of "otool", so it can be a program name with args.
   8735 set dummy otool; ac_word=$2
   8736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8737 printf %s "checking for $ac_word... " >&6; }
   8738 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8739 then :
   8740   printf %s "(cached) " >&6
   8741 else case e in #(
   8742   e) if test -n "$ac_ct_OTOOL"; then
   8743   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8744 else
   8745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8746 for as_dir in $PATH
   8747 do
   8748   IFS=$as_save_IFS
   8749   case $as_dir in #(((
   8750     '') as_dir=./ ;;
   8751     */) ;;
   8752     *) as_dir=$as_dir/ ;;
   8753   esac
   8754     for ac_exec_ext in '' $ac_executable_extensions; do
   8755   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8756     ac_cv_prog_ac_ct_OTOOL="otool"
   8757     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8758     break 2
   8759   fi
   8760 done
   8761   done
   8762 IFS=$as_save_IFS
   8763 
   8764 fi ;;
   8765 esac
   8766 fi
   8767 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8768 if test -n "$ac_ct_OTOOL"; then
   8769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8770 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8771 else
   8772   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8773 printf "%s\n" "no" >&6; }
   8774 fi
   8775 
   8776   if test "x$ac_ct_OTOOL" = x; then
   8777     OTOOL=":"
   8778   else
   8779     case $cross_compiling:$ac_tool_warned in
   8780 yes:)
   8781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8782 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8783 ac_tool_warned=yes ;;
   8784 esac
   8785     OTOOL=$ac_ct_OTOOL
   8786   fi
   8787 else
   8788   OTOOL="$ac_cv_prog_OTOOL"
   8789 fi
   8790 
   8791     if test -n "$ac_tool_prefix"; then
   8792   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8793 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8795 printf %s "checking for $ac_word... " >&6; }
   8796 if test ${ac_cv_prog_OTOOL64+y}
   8797 then :
   8798   printf %s "(cached) " >&6
   8799 else case e in #(
   8800   e) if test -n "$OTOOL64"; then
   8801   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8802 else
   8803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8804 for as_dir in $PATH
   8805 do
   8806   IFS=$as_save_IFS
   8807   case $as_dir in #(((
   8808     '') as_dir=./ ;;
   8809     */) ;;
   8810     *) as_dir=$as_dir/ ;;
   8811   esac
   8812     for ac_exec_ext in '' $ac_executable_extensions; do
   8813   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8814     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8815     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8816     break 2
   8817   fi
   8818 done
   8819   done
   8820 IFS=$as_save_IFS
   8821 
   8822 fi ;;
   8823 esac
   8824 fi
   8825 OTOOL64=$ac_cv_prog_OTOOL64
   8826 if test -n "$OTOOL64"; then
   8827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8828 printf "%s\n" "$OTOOL64" >&6; }
   8829 else
   8830   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8831 printf "%s\n" "no" >&6; }
   8832 fi
   8833 
   8834 
   8835 fi
   8836 if test -z "$ac_cv_prog_OTOOL64"; then
   8837   ac_ct_OTOOL64=$OTOOL64
   8838   # Extract the first word of "otool64", so it can be a program name with args.
   8839 set dummy otool64; ac_word=$2
   8840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8841 printf %s "checking for $ac_word... " >&6; }
   8842 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8843 then :
   8844   printf %s "(cached) " >&6
   8845 else case e in #(
   8846   e) if test -n "$ac_ct_OTOOL64"; then
   8847   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8848 else
   8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8850 for as_dir in $PATH
   8851 do
   8852   IFS=$as_save_IFS
   8853   case $as_dir in #(((
   8854     '') as_dir=./ ;;
   8855     */) ;;
   8856     *) as_dir=$as_dir/ ;;
   8857   esac
   8858     for ac_exec_ext in '' $ac_executable_extensions; do
   8859   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8860     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8861     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8862     break 2
   8863   fi
   8864 done
   8865   done
   8866 IFS=$as_save_IFS
   8867 
   8868 fi ;;
   8869 esac
   8870 fi
   8871 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8872 if test -n "$ac_ct_OTOOL64"; then
   8873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8874 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8875 else
   8876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8877 printf "%s\n" "no" >&6; }
   8878 fi
   8879 
   8880   if test "x$ac_ct_OTOOL64" = x; then
   8881     OTOOL64=":"
   8882   else
   8883     case $cross_compiling:$ac_tool_warned in
   8884 yes:)
   8885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8886 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8887 ac_tool_warned=yes ;;
   8888 esac
   8889     OTOOL64=$ac_ct_OTOOL64
   8890   fi
   8891 else
   8892   OTOOL64="$ac_cv_prog_OTOOL64"
   8893 fi
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8922 printf %s "checking for -single_module linker flag... " >&6; }
   8923 if test ${lt_cv_apple_cc_single_mod+y}
   8924 then :
   8925   printf %s "(cached) " >&6
   8926 else case e in #(
   8927   e) lt_cv_apple_cc_single_mod=no
   8928       if test -z "$LT_MULTI_MODULE"; then
   8929 	# By default we will add the -single_module flag. You can override
   8930 	# by either setting the environment variable LT_MULTI_MODULE
   8931 	# non-empty at configure time, or by adding -multi_module to the
   8932 	# link flags.
   8933 	rm -rf libconftest.dylib*
   8934 	echo "int foo(void){return 1;}" > conftest.c
   8935 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8936 -dynamiclib -Wl,-single_module conftest.c" >&5
   8937 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8938 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8939         _lt_result=$?
   8940 	# If there is a non-empty error log, and "single_module"
   8941 	# appears in it, assume the flag caused a linker warning
   8942         if test -s conftest.err && $GREP single_module conftest.err; then
   8943 	  cat conftest.err >&5
   8944 	# Otherwise, if the output was created with a 0 exit code from
   8945 	# the compiler, it worked.
   8946 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8947 	  lt_cv_apple_cc_single_mod=yes
   8948 	else
   8949 	  cat conftest.err >&5
   8950 	fi
   8951 	rm -rf libconftest.dylib*
   8952 	rm -f conftest.*
   8953       fi ;;
   8954 esac
   8955 fi
   8956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8957 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8958 
   8959     # Feature test to disable chained fixups since it is not
   8960     # compatible with '-undefined dynamic_lookup'
   8961     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8962 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8963 if test ${lt_cv_support_no_fixup_chains+y}
   8964 then :
   8965   printf %s "(cached) " >&6
   8966 else case e in #(
   8967   e)  save_LDFLAGS=$LDFLAGS
   8968         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8969         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8970 /* end confdefs.h.  */
   8971 
   8972 int
   8973 main (void)
   8974 {
   8975 
   8976   ;
   8977   return 0;
   8978 }
   8979 _ACEOF
   8980 if ac_fn_c_try_link "$LINENO"
   8981 then :
   8982   lt_cv_support_no_fixup_chains=yes
   8983 else case e in #(
   8984   e) lt_cv_support_no_fixup_chains=no
   8985          ;;
   8986 esac
   8987 fi
   8988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8989     conftest$ac_exeext conftest.$ac_ext
   8990         LDFLAGS=$save_LDFLAGS
   8991 
   8992      ;;
   8993 esac
   8994 fi
   8995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8996 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   8997 
   8998     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8999 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   9000 if test ${lt_cv_ld_exported_symbols_list+y}
   9001 then :
   9002   printf %s "(cached) " >&6
   9003 else case e in #(
   9004   e) lt_cv_ld_exported_symbols_list=no
   9005       save_LDFLAGS=$LDFLAGS
   9006       echo "_main" > conftest.sym
   9007       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9009 /* end confdefs.h.  */
   9010 
   9011 int
   9012 main (void)
   9013 {
   9014 
   9015   ;
   9016   return 0;
   9017 }
   9018 _ACEOF
   9019 if ac_fn_c_try_link "$LINENO"
   9020 then :
   9021   lt_cv_ld_exported_symbols_list=yes
   9022 else case e in #(
   9023   e) lt_cv_ld_exported_symbols_list=no ;;
   9024 esac
   9025 fi
   9026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9027     conftest$ac_exeext conftest.$ac_ext
   9028 	LDFLAGS=$save_LDFLAGS
   9029      ;;
   9030 esac
   9031 fi
   9032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9033 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   9034 
   9035     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9036 printf %s "checking for -force_load linker flag... " >&6; }
   9037 if test ${lt_cv_ld_force_load+y}
   9038 then :
   9039   printf %s "(cached) " >&6
   9040 else case e in #(
   9041   e) lt_cv_ld_force_load=no
   9042       cat > conftest.c << _LT_EOF
   9043 int forced_loaded() { return 2;}
   9044 _LT_EOF
   9045       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9046       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9047       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   9048       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   9049       echo "$RANLIB libconftest.a" >&5
   9050       $RANLIB libconftest.a 2>&5
   9051       cat > conftest.c << _LT_EOF
   9052 int main(void) { return 0;}
   9053 _LT_EOF
   9054       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9055       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9056       _lt_result=$?
   9057       if test -s conftest.err && $GREP force_load conftest.err; then
   9058 	cat conftest.err >&5
   9059       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9060 	lt_cv_ld_force_load=yes
   9061       else
   9062 	cat conftest.err >&5
   9063       fi
   9064         rm -f conftest.err libconftest.a conftest conftest.c
   9065         rm -rf conftest.dSYM
   9066      ;;
   9067 esac
   9068 fi
   9069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9070 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   9071     case $host_os in
   9072     rhapsody* | darwin1.[012])
   9073       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9074     darwin1.*)
   9075       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9076     darwin*)
   9077       case $MACOSX_DEPLOYMENT_TARGET,$host in
   9078         10.[012],*|,*powerpc*-darwin[5-8]*)
   9079           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9080         *)
   9081           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   9082           if test yes = "$lt_cv_support_no_fixup_chains"; then
   9083             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   9084           fi
   9085         ;;
   9086       esac
   9087     ;;
   9088   esac
   9089     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9090       _lt_dar_single_mod='$single_module'
   9091     fi
   9092     _lt_dar_needs_single_mod=no
   9093     case $host_os in
   9094     rhapsody* | darwin1.*)
   9095       _lt_dar_needs_single_mod=yes ;;
   9096     darwin*)
   9097       # When targeting Mac OS X 10.4 (darwin 8) or later,
   9098       # -single_module is the default and -multi_module is unsupported.
   9099       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   9100       # target any OS version that needs -single_module.
   9101       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9102       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   9103         _lt_dar_needs_single_mod=yes ;;
   9104       esac
   9105     ;;
   9106     esac
   9107     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9108       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9109     else
   9110       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9111     fi
   9112     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9113       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9114     else
   9115       _lt_dsymutil=
   9116     fi
   9117     ;;
   9118   esac
   9119 
   9120 # func_munge_path_list VARIABLE PATH
   9121 # -----------------------------------
   9122 # VARIABLE is name of variable containing _space_ separated list of
   9123 # directories to be munged by the contents of PATH, which is string
   9124 # having a format:
   9125 # "DIR[:DIR]:"
   9126 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9127 # ":DIR[:DIR]"
   9128 #       string "DIR[ DIR]" will be appended to VARIABLE
   9129 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9130 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9131 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9132 # "DIR[:DIR]"
   9133 #       VARIABLE will be replaced by "DIR[ DIR]"
   9134 func_munge_path_list ()
   9135 {
   9136     case x$2 in
   9137     x)
   9138         ;;
   9139     *:)
   9140         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9141         ;;
   9142     x:*)
   9143         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9144         ;;
   9145     *::*)
   9146         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9147         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9148         ;;
   9149     *)
   9150         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9151         ;;
   9152     esac
   9153 }
   9154 
   9155 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9156 "
   9157 if test "x$ac_cv_header_dlfcn_h" = xyes
   9158 then :
   9159   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   9160 
   9161 fi
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 # Set options
   9168 
   9169 
   9170 
   9171         enable_dlopen=no
   9172 
   9173 
   9174   enable_win32_dll=no
   9175 
   9176 
   9177             # Check whether --enable-shared was given.
   9178 if test ${enable_shared+y}
   9179 then :
   9180   enableval=$enable_shared; p=${PACKAGE-default}
   9181     case $enableval in
   9182     yes) enable_shared=yes ;;
   9183     no) enable_shared=no ;;
   9184     *)
   9185       enable_shared=no
   9186       # Look at the argument we got.  We use all the common list separators.
   9187       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9188       for pkg in $enableval; do
   9189 	IFS=$lt_save_ifs
   9190 	if test "X$pkg" = "X$p"; then
   9191 	  enable_shared=yes
   9192 	fi
   9193       done
   9194       IFS=$lt_save_ifs
   9195       ;;
   9196     esac
   9197 else case e in #(
   9198   e) enable_shared=yes ;;
   9199 esac
   9200 fi
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210   # Check whether --enable-static was given.
   9211 if test ${enable_static+y}
   9212 then :
   9213   enableval=$enable_static; p=${PACKAGE-default}
   9214     case $enableval in
   9215     yes) enable_static=yes ;;
   9216     no) enable_static=no ;;
   9217     *)
   9218      enable_static=no
   9219       # Look at the argument we got.  We use all the common list separators.
   9220       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9221       for pkg in $enableval; do
   9222 	IFS=$lt_save_ifs
   9223 	if test "X$pkg" = "X$p"; then
   9224 	  enable_static=yes
   9225 	fi
   9226       done
   9227       IFS=$lt_save_ifs
   9228       ;;
   9229     esac
   9230 else case e in #(
   9231   e) enable_static=yes ;;
   9232 esac
   9233 fi
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243   # Check whether --enable-pic was given.
   9244 if test ${enable_pic+y}
   9245 then :
   9246   enableval=$enable_pic; lt_p=${PACKAGE-default}
   9247      case $enableval in
   9248      yes|no) pic_mode=$enableval ;;
   9249      *)
   9250        pic_mode=default
   9251        # Look at the argument we got.  We use all the common list separators.
   9252        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9253        for lt_pkg in $enableval; do
   9254 	 IFS=$lt_save_ifs
   9255 	 if test "X$lt_pkg" = "X$lt_p"; then
   9256 	   pic_mode=yes
   9257 	 fi
   9258        done
   9259        IFS=$lt_save_ifs
   9260        ;;
   9261      esac
   9262 else case e in #(
   9263   e)           # Check whether --with-pic was given.
   9264 if test ${with_pic+y}
   9265 then :
   9266   withval=$with_pic; lt_p=${PACKAGE-default}
   9267 	 case $withval in
   9268 	 yes|no) pic_mode=$withval ;;
   9269 	 *)
   9270 	   pic_mode=default
   9271 	   # Look at the argument we got.  We use all the common list separators.
   9272 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9273 	   for lt_pkg in $withval; do
   9274 	     IFS=$lt_save_ifs
   9275 	     if test "X$lt_pkg" = "X$lt_p"; then
   9276 	       pic_mode=yes
   9277 	     fi
   9278 	   done
   9279 	   IFS=$lt_save_ifs
   9280 	   ;;
   9281 	 esac
   9282 else case e in #(
   9283   e) pic_mode=default ;;
   9284 esac
   9285 fi
   9286 
   9287      ;;
   9288 esac
   9289 fi
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298   # Check whether --enable-fast-install was given.
   9299 if test ${enable_fast_install+y}
   9300 then :
   9301   enableval=$enable_fast_install; p=${PACKAGE-default}
   9302     case $enableval in
   9303     yes) enable_fast_install=yes ;;
   9304     no) enable_fast_install=no ;;
   9305     *)
   9306       enable_fast_install=no
   9307       # Look at the argument we got.  We use all the common list separators.
   9308       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9309       for pkg in $enableval; do
   9310 	IFS=$lt_save_ifs
   9311 	if test "X$pkg" = "X$p"; then
   9312 	  enable_fast_install=yes
   9313 	fi
   9314       done
   9315       IFS=$lt_save_ifs
   9316       ;;
   9317     esac
   9318 else case e in #(
   9319   e) enable_fast_install=yes ;;
   9320 esac
   9321 fi
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330   shared_archive_member_spec=
   9331 case $host,$enable_shared in
   9332 power*-*-aix[5-9]*,yes)
   9333   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9334 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9335   # Check whether --enable-aix-soname was given.
   9336 if test ${enable_aix_soname+y}
   9337 then :
   9338   enableval=$enable_aix_soname; case $enableval in
   9339      aix|svr4|both)
   9340        ;;
   9341      *)
   9342        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   9343        ;;
   9344      esac
   9345      lt_cv_with_aix_soname=$enable_aix_soname
   9346 else case e in #(
   9347   e) # Check whether --with-aix-soname was given.
   9348 if test ${with_aix_soname+y}
   9349 then :
   9350   withval=$with_aix_soname; case $withval in
   9351          aix|svr4|both)
   9352            ;;
   9353          *)
   9354            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9355            ;;
   9356          esac
   9357          lt_cv_with_aix_soname=$with_aix_soname
   9358 else case e in #(
   9359   e) if test ${lt_cv_with_aix_soname+y}
   9360 then :
   9361   printf %s "(cached) " >&6
   9362 else case e in #(
   9363   e) lt_cv_with_aix_soname=aix ;;
   9364 esac
   9365 fi
   9366  ;;
   9367 esac
   9368 fi
   9369 
   9370      enable_aix_soname=$lt_cv_with_aix_soname ;;
   9371 esac
   9372 fi
   9373 
   9374   with_aix_soname=$enable_aix_soname
   9375   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9376 printf "%s\n" "$with_aix_soname" >&6; }
   9377   if test aix != "$with_aix_soname"; then
   9378     # For the AIX way of multilib, we name the shared archive member
   9379     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9380     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9381     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9382     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9383     if test 64 = "${OBJECT_MODE-32}"; then
   9384       shared_archive_member_spec=shr_64
   9385     else
   9386       shared_archive_member_spec=shr
   9387     fi
   9388   fi
   9389   ;;
   9390 *)
   9391   with_aix_soname=aix
   9392   ;;
   9393 esac
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 # This can be used to rebuild libtool when needed
   9405 LIBTOOL_DEPS=$ltmain
   9406 
   9407 # Always use our own libtool.
   9408 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 test -z "$LN_S" && LN_S="ln -s"
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 if test -n "${ZSH_VERSION+set}"; then
   9455    setopt NO_GLOB_SUBST
   9456 fi
   9457 
   9458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9459 printf %s "checking for objdir... " >&6; }
   9460 if test ${lt_cv_objdir+y}
   9461 then :
   9462   printf %s "(cached) " >&6
   9463 else case e in #(
   9464   e) rm -f .libs 2>/dev/null
   9465 mkdir .libs 2>/dev/null
   9466 if test -d .libs; then
   9467   lt_cv_objdir=.libs
   9468 else
   9469   # MS-DOS does not allow filenames that begin with a dot.
   9470   lt_cv_objdir=_libs
   9471 fi
   9472 rmdir .libs 2>/dev/null ;;
   9473 esac
   9474 fi
   9475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9476 printf "%s\n" "$lt_cv_objdir" >&6; }
   9477 objdir=$lt_cv_objdir
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9484 
   9485 
   9486 
   9487 
   9488 case $host_os in
   9489 aix3*)
   9490   # AIX sometimes has problems with the GCC collect2 program.  For some
   9491   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9492   # vanish in a puff of smoke.
   9493   if test set != "${COLLECT_NAMES+set}"; then
   9494     COLLECT_NAMES=
   9495     export COLLECT_NAMES
   9496   fi
   9497   ;;
   9498 esac
   9499 
   9500 # Global variables:
   9501 ofile=libtool
   9502 can_build_shared=yes
   9503 
   9504 # All known linkers require a '.a' archive for static linking (except MSVC and
   9505 # ICC, which need '.lib').
   9506 libext=a
   9507 
   9508 with_gnu_ld=$lt_cv_prog_gnu_ld
   9509 
   9510 old_CC=$CC
   9511 old_CFLAGS=$CFLAGS
   9512 
   9513 # Set sane defaults for various variables
   9514 test -z "$CC" && CC=cc
   9515 test -z "$LTCC" && LTCC=$CC
   9516 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9517 test -z "$LD" && LD=ld
   9518 test -z "$ac_objext" && ac_objext=o
   9519 
   9520 func_cc_basename $compiler
   9521 cc_basename=$func_cc_basename_result
   9522 
   9523 
   9524 # Only perform the check for file, if the check method requires it
   9525 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9526 case $deplibs_check_method in
   9527 file_magic*)
   9528   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9529     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9530 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9531 if test ${lt_cv_path_MAGIC_CMD+y}
   9532 then :
   9533   printf %s "(cached) " >&6
   9534 else case e in #(
   9535   e) case $MAGIC_CMD in
   9536 [\\/*] |  ?:[\\/]*)
   9537   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9538   ;;
   9539 *)
   9540   lt_save_MAGIC_CMD=$MAGIC_CMD
   9541   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9542   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9543   for ac_dir in $ac_dummy; do
   9544     IFS=$lt_save_ifs
   9545     test -z "$ac_dir" && ac_dir=.
   9546     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9547       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9548       if test -n "$file_magic_test_file"; then
   9549 	case $deplibs_check_method in
   9550 	"file_magic "*)
   9551 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9552 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9553 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9554 	    $EGREP "$file_magic_regex" > /dev/null; then
   9555 	    :
   9556 	  else
   9557 	    cat <<_LT_EOF 1>&2
   9558 
   9559 *** Warning: the command libtool uses to detect shared libraries,
   9560 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9561 *** The result is that libtool may fail to recognize shared libraries
   9562 *** as such.  This will affect the creation of libtool libraries that
   9563 *** depend on shared libraries, but programs linked with such libtool
   9564 *** libraries will work regardless of this problem.  Nevertheless, you
   9565 *** may want to report the problem to your system manager and/or to
   9566 *** bug-libtool@gnu.org
   9567 
   9568 _LT_EOF
   9569 	  fi ;;
   9570 	esac
   9571       fi
   9572       break
   9573     fi
   9574   done
   9575   IFS=$lt_save_ifs
   9576   MAGIC_CMD=$lt_save_MAGIC_CMD
   9577   ;;
   9578 esac ;;
   9579 esac
   9580 fi
   9581 
   9582 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9583 if test -n "$MAGIC_CMD"; then
   9584   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9585 printf "%s\n" "$MAGIC_CMD" >&6; }
   9586 else
   9587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9588 printf "%s\n" "no" >&6; }
   9589 fi
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9596   if test -n "$ac_tool_prefix"; then
   9597     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9598 printf %s "checking for file... " >&6; }
   9599 if test ${lt_cv_path_MAGIC_CMD+y}
   9600 then :
   9601   printf %s "(cached) " >&6
   9602 else case e in #(
   9603   e) case $MAGIC_CMD in
   9604 [\\/*] |  ?:[\\/]*)
   9605   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9606   ;;
   9607 *)
   9608   lt_save_MAGIC_CMD=$MAGIC_CMD
   9609   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9610   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9611   for ac_dir in $ac_dummy; do
   9612     IFS=$lt_save_ifs
   9613     test -z "$ac_dir" && ac_dir=.
   9614     if test -f "$ac_dir/file"; then
   9615       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9616       if test -n "$file_magic_test_file"; then
   9617 	case $deplibs_check_method in
   9618 	"file_magic "*)
   9619 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9620 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9621 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9622 	    $EGREP "$file_magic_regex" > /dev/null; then
   9623 	    :
   9624 	  else
   9625 	    cat <<_LT_EOF 1>&2
   9626 
   9627 *** Warning: the command libtool uses to detect shared libraries,
   9628 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9629 *** The result is that libtool may fail to recognize shared libraries
   9630 *** as such.  This will affect the creation of libtool libraries that
   9631 *** depend on shared libraries, but programs linked with such libtool
   9632 *** libraries will work regardless of this problem.  Nevertheless, you
   9633 *** may want to report the problem to your system manager and/or to
   9634 *** bug-libtool@gnu.org
   9635 
   9636 _LT_EOF
   9637 	  fi ;;
   9638 	esac
   9639       fi
   9640       break
   9641     fi
   9642   done
   9643   IFS=$lt_save_ifs
   9644   MAGIC_CMD=$lt_save_MAGIC_CMD
   9645   ;;
   9646 esac ;;
   9647 esac
   9648 fi
   9649 
   9650 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9651 if test -n "$MAGIC_CMD"; then
   9652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9653 printf "%s\n" "$MAGIC_CMD" >&6; }
   9654 else
   9655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9656 printf "%s\n" "no" >&6; }
   9657 fi
   9658 
   9659 
   9660   else
   9661     MAGIC_CMD=:
   9662   fi
   9663 fi
   9664 
   9665   fi
   9666   ;;
   9667 esac
   9668 
   9669 # Use C for the default configuration in the libtool script
   9670 
   9671 lt_save_CC=$CC
   9672 ac_ext=c
   9673 ac_cpp='$CPP $CPPFLAGS'
   9674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9677 
   9678 
   9679 # Source file extension for C test sources.
   9680 ac_ext=c
   9681 
   9682 # Object file extension for compiled C test sources.
   9683 objext=o
   9684 objext=$objext
   9685 
   9686 # Code to be used in simple compile tests
   9687 lt_simple_compile_test_code="int some_variable = 0;"
   9688 
   9689 # Code to be used in simple link tests
   9690 lt_simple_link_test_code='int main(void){return(0);}'
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 # If no C compiler was specified, use CC.
   9699 LTCC=${LTCC-"$CC"}
   9700 
   9701 # If no C compiler flags were specified, use CFLAGS.
   9702 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9703 
   9704 # Allow CC to be a program name with arguments.
   9705 compiler=$CC
   9706 
   9707 # Save the default compiler, since it gets overwritten when the other
   9708 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9709 compiler_DEFAULT=$CC
   9710 
   9711 # save warnings/boilerplate of simple test code
   9712 ac_outfile=conftest.$ac_objext
   9713 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9714 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9715 _lt_compiler_boilerplate=`cat conftest.err`
   9716 $RM conftest*
   9717 
   9718 ac_outfile=conftest.$ac_objext
   9719 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9720 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9721 _lt_linker_boilerplate=`cat conftest.err`
   9722 $RM -r conftest*
   9723 
   9724 
   9725 ## CAVEAT EMPTOR:
   9726 ## There is no encapsulation within the following macros, do not change
   9727 ## the running order or otherwise move them around unless you know exactly
   9728 ## what you are doing...
   9729 if test -n "$compiler"; then
   9730 
   9731 lt_prog_compiler_no_builtin_flag=
   9732 
   9733 if test yes = "$GCC"; then
   9734   case $cc_basename in
   9735   nvcc*)
   9736     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9737   *)
   9738     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9739   esac
   9740 
   9741   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9742 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9743 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9744 then :
   9745   printf %s "(cached) " >&6
   9746 else case e in #(
   9747   e) lt_cv_prog_compiler_rtti_exceptions=no
   9748    ac_outfile=conftest.$ac_objext
   9749    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9750    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9751    # Insert the option either (1) after the last *FLAGS variable, or
   9752    # (2) before a word containing "conftest.", or (3) at the end.
   9753    # Note that $ac_compile itself does not contain backslashes and begins
   9754    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9755    # The option is referenced via a variable to avoid confusing sed.
   9756    lt_compile=`echo "$ac_compile" | $SED \
   9757    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9758    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9759    -e 's:$: $lt_compiler_flag:'`
   9760    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9761    (eval "$lt_compile" 2>conftest.err)
   9762    ac_status=$?
   9763    cat conftest.err >&5
   9764    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9765    if (exit $ac_status) && test -s "$ac_outfile"; then
   9766      # The compiler can only warn and ignore the option if not recognized
   9767      # So say no if there are warnings other than the usual output.
   9768      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9769      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9770      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9771        lt_cv_prog_compiler_rtti_exceptions=yes
   9772      fi
   9773    fi
   9774    $RM conftest*
   9775  ;;
   9776 esac
   9777 fi
   9778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9779 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9780 
   9781 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9782     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9783 else
   9784     :
   9785 fi
   9786 
   9787 fi
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794   lt_prog_compiler_wl=
   9795 lt_prog_compiler_pic=
   9796 lt_prog_compiler_static=
   9797 
   9798 
   9799   if test yes = "$GCC"; then
   9800     lt_prog_compiler_wl='-Wl,'
   9801     lt_prog_compiler_static='-static'
   9802 
   9803     case $host_os in
   9804       aix*)
   9805       # All AIX code is PIC.
   9806       if test ia64 = "$host_cpu"; then
   9807 	# AIX 5 now supports IA64 processor
   9808 	lt_prog_compiler_static='-Bstatic'
   9809       fi
   9810       lt_prog_compiler_pic='-fPIC'
   9811       ;;
   9812 
   9813     amigaos*)
   9814       case $host_cpu in
   9815       powerpc)
   9816             # see comment about AmigaOS4 .so support
   9817             lt_prog_compiler_pic='-fPIC'
   9818         ;;
   9819       m68k)
   9820             # FIXME: we need at least 68020 code to build shared libraries, but
   9821             # adding the '-m68020' flag to GCC prevents building anything better,
   9822             # like '-m68040'.
   9823             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9824         ;;
   9825       esac
   9826       ;;
   9827 
   9828     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9829       # PIC is the default for these OSes.
   9830       ;;
   9831 
   9832     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9833       # This hack is so that the source file can tell whether it is being
   9834       # built for inclusion in a dll (and should export symbols for example).
   9835       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9836       # (--disable-auto-import) libraries
   9837       lt_prog_compiler_pic='-DDLL_EXPORT'
   9838       case $host_os in
   9839       os2*)
   9840 	lt_prog_compiler_static='$wl-static'
   9841 	;;
   9842       esac
   9843       ;;
   9844 
   9845     darwin* | rhapsody*)
   9846       # PIC is the default on this platform
   9847       # Common symbols not allowed in MH_DYLIB files
   9848       lt_prog_compiler_pic='-fno-common'
   9849       ;;
   9850 
   9851     haiku*)
   9852       # PIC is the default for Haiku.
   9853       # The "-static" flag exists, but is broken.
   9854       lt_prog_compiler_static=
   9855       ;;
   9856 
   9857     hpux*)
   9858       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9859       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9860       # sets the default TLS model and affects inlining.
   9861       case $host_cpu in
   9862       hppa*64*)
   9863 	# +Z the default
   9864 	;;
   9865       *)
   9866 	lt_prog_compiler_pic='-fPIC'
   9867 	;;
   9868       esac
   9869       ;;
   9870 
   9871     interix[3-9]*)
   9872       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9873       # Instead, we relocate shared libraries at runtime.
   9874       ;;
   9875 
   9876     msdosdjgpp*)
   9877       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9878       # on systems that don't support them.
   9879       lt_prog_compiler_can_build_shared=no
   9880       enable_shared=no
   9881       ;;
   9882 
   9883     *nto* | *qnx*)
   9884       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9885       # it will coredump.
   9886       lt_prog_compiler_pic='-fPIC -shared'
   9887       ;;
   9888 
   9889     sysv4*MP*)
   9890       if test -d /usr/nec; then
   9891 	lt_prog_compiler_pic=-Kconform_pic
   9892       fi
   9893       ;;
   9894 
   9895     *)
   9896       lt_prog_compiler_pic='-fPIC'
   9897       ;;
   9898     esac
   9899 
   9900     case $cc_basename in
   9901     nvcc*) # Cuda Compiler Driver 2.2
   9902       lt_prog_compiler_wl='-Xlinker '
   9903       if test -n "$lt_prog_compiler_pic"; then
   9904         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9905       fi
   9906       ;;
   9907     esac
   9908   else
   9909     # PORTME Check for flag to pass linker flags through the system compiler.
   9910     case $host_os in
   9911     aix*)
   9912       lt_prog_compiler_wl='-Wl,'
   9913       if test ia64 = "$host_cpu"; then
   9914 	# AIX 5 now supports IA64 processor
   9915 	lt_prog_compiler_static='-Bstatic'
   9916       else
   9917 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9918       fi
   9919       ;;
   9920 
   9921     darwin* | rhapsody*)
   9922       # PIC is the default on this platform
   9923       # Common symbols not allowed in MH_DYLIB files
   9924       lt_prog_compiler_pic='-fno-common'
   9925       case $cc_basename in
   9926       nagfor*)
   9927         # NAG Fortran compiler
   9928         lt_prog_compiler_wl='-Wl,-Wl,,'
   9929         lt_prog_compiler_pic='-PIC'
   9930         lt_prog_compiler_static='-Bstatic'
   9931         ;;
   9932       esac
   9933       ;;
   9934 
   9935     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9936       # This hack is so that the source file can tell whether it is being
   9937       # built for inclusion in a dll (and should export symbols for example).
   9938       lt_prog_compiler_pic='-DDLL_EXPORT'
   9939       case $host_os in
   9940       os2*)
   9941 	lt_prog_compiler_static='$wl-static'
   9942 	;;
   9943       esac
   9944       ;;
   9945 
   9946     hpux9* | hpux10* | hpux11*)
   9947       lt_prog_compiler_wl='-Wl,'
   9948       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9949       # not for PA HP-UX.
   9950       case $host_cpu in
   9951       hppa*64*|ia64*)
   9952 	# +Z the default
   9953 	;;
   9954       *)
   9955 	lt_prog_compiler_pic='+Z'
   9956 	;;
   9957       esac
   9958       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9959       lt_prog_compiler_static='$wl-a ${wl}archive'
   9960       ;;
   9961 
   9962     irix5* | irix6* | nonstopux*)
   9963       lt_prog_compiler_wl='-Wl,'
   9964       # PIC (with -KPIC) is the default.
   9965       lt_prog_compiler_static='-non_shared'
   9966       ;;
   9967 
   9968     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9969       case $cc_basename in
   9970       # old Intel for x86_64, which still supported -KPIC.
   9971       ecc*)
   9972 	lt_prog_compiler_wl='-Wl,'
   9973 	lt_prog_compiler_pic='-KPIC'
   9974 	lt_prog_compiler_static='-static'
   9975         ;;
   9976       *flang* | ftn | f18* | f95*)
   9977         # Flang compiler.
   9978 	lt_prog_compiler_wl='-Wl,'
   9979 	lt_prog_compiler_pic='-fPIC'
   9980 	lt_prog_compiler_static='-static'
   9981         ;;
   9982       # icc used to be incompatible with GCC.
   9983       # ICC 10 doesn't accept -KPIC any more.
   9984       icc* | ifort*)
   9985 	lt_prog_compiler_wl='-Wl,'
   9986 	lt_prog_compiler_pic='-fPIC'
   9987 	lt_prog_compiler_static='-static'
   9988         ;;
   9989       # Lahey Fortran 8.1.
   9990       lf95*)
   9991 	lt_prog_compiler_wl='-Wl,'
   9992 	lt_prog_compiler_pic='--shared'
   9993 	lt_prog_compiler_static='--static'
   9994 	;;
   9995       nagfor*)
   9996 	# NAG Fortran compiler
   9997 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9998 	lt_prog_compiler_pic='-PIC'
   9999 	lt_prog_compiler_static='-Bstatic'
   10000 	;;
   10001       tcc*)
   10002 	# Fabrice Bellard et al's Tiny C Compiler
   10003 	lt_prog_compiler_wl='-Wl,'
   10004 	lt_prog_compiler_pic='-fPIC'
   10005 	lt_prog_compiler_static='-static'
   10006 	;;
   10007       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   10008         # Portland Group compilers (*not* the Pentium gcc compiler,
   10009 	# which looks to be a dead project)
   10010 	lt_prog_compiler_wl='-Wl,'
   10011 	lt_prog_compiler_pic='-fpic'
   10012 	lt_prog_compiler_static='-Bstatic'
   10013         ;;
   10014       ccc*)
   10015         lt_prog_compiler_wl='-Wl,'
   10016         # All Alpha code is PIC.
   10017         lt_prog_compiler_static='-non_shared'
   10018         ;;
   10019       xl* | bgxl* | bgf* | mpixl*)
   10020 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10021 	lt_prog_compiler_wl='-Wl,'
   10022 	lt_prog_compiler_pic='-qpic'
   10023 	lt_prog_compiler_static='-qstaticlink'
   10024 	;;
   10025       *)
   10026 	case `$CC -V 2>&1 | $SED 5q` in
   10027 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   10028 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10029 	  lt_prog_compiler_pic='-KPIC'
   10030 	  lt_prog_compiler_static='-Bstatic'
   10031 	  lt_prog_compiler_wl=''
   10032 	  ;;
   10033 	*Sun\ F* | *Sun*Fortran*)
   10034 	  lt_prog_compiler_pic='-KPIC'
   10035 	  lt_prog_compiler_static='-Bstatic'
   10036 	  lt_prog_compiler_wl='-Qoption ld '
   10037 	  ;;
   10038 	*Sun\ C*)
   10039 	  # Sun C 5.9
   10040 	  lt_prog_compiler_pic='-KPIC'
   10041 	  lt_prog_compiler_static='-Bstatic'
   10042 	  lt_prog_compiler_wl='-Wl,'
   10043 	  ;;
   10044         *Intel*\ [CF]*Compiler*)
   10045 	  lt_prog_compiler_wl='-Wl,'
   10046 	  lt_prog_compiler_pic='-fPIC'
   10047 	  lt_prog_compiler_static='-static'
   10048 	  ;;
   10049 	*Portland\ Group*)
   10050 	  lt_prog_compiler_wl='-Wl,'
   10051 	  lt_prog_compiler_pic='-fpic'
   10052 	  lt_prog_compiler_static='-Bstatic'
   10053 	  ;;
   10054 	esac
   10055 	;;
   10056       esac
   10057       ;;
   10058 
   10059     newsos6)
   10060       lt_prog_compiler_pic='-KPIC'
   10061       lt_prog_compiler_static='-Bstatic'
   10062       ;;
   10063 
   10064     *-mlibc)
   10065       lt_prog_compiler_wl='-Wl,'
   10066       lt_prog_compiler_pic='-fPIC'
   10067       lt_prog_compiler_static='-static'
   10068       ;;
   10069 
   10070     *nto* | *qnx*)
   10071       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10072       # it will coredump.
   10073       lt_prog_compiler_pic='-fPIC -shared'
   10074       ;;
   10075 
   10076     osf3* | osf4* | osf5*)
   10077       lt_prog_compiler_wl='-Wl,'
   10078       # All OSF/1 code is PIC.
   10079       lt_prog_compiler_static='-non_shared'
   10080       ;;
   10081 
   10082     rdos*)
   10083       lt_prog_compiler_static='-non_shared'
   10084       ;;
   10085 
   10086     serenity*)
   10087       ;;
   10088 
   10089     solaris*)
   10090       lt_prog_compiler_pic='-KPIC'
   10091       lt_prog_compiler_static='-Bstatic'
   10092       case $cc_basename in
   10093       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10094 	lt_prog_compiler_wl='-Qoption ld ';;
   10095       *)
   10096 	lt_prog_compiler_wl='-Wl,';;
   10097       esac
   10098       ;;
   10099 
   10100     sunos4*)
   10101       lt_prog_compiler_wl='-Qoption ld '
   10102       lt_prog_compiler_pic='-PIC'
   10103       lt_prog_compiler_static='-Bstatic'
   10104       ;;
   10105 
   10106     sysv4 | sysv4.2uw2* | sysv4.3*)
   10107       lt_prog_compiler_wl='-Wl,'
   10108       lt_prog_compiler_pic='-KPIC'
   10109       lt_prog_compiler_static='-Bstatic'
   10110       ;;
   10111 
   10112     sysv4*MP*)
   10113       if test -d /usr/nec; then
   10114 	lt_prog_compiler_pic='-Kconform_pic'
   10115 	lt_prog_compiler_static='-Bstatic'
   10116       fi
   10117       ;;
   10118 
   10119     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10120       lt_prog_compiler_wl='-Wl,'
   10121       lt_prog_compiler_pic='-KPIC'
   10122       lt_prog_compiler_static='-Bstatic'
   10123       ;;
   10124 
   10125     unicos*)
   10126       lt_prog_compiler_wl='-Wl,'
   10127       lt_prog_compiler_can_build_shared=no
   10128       ;;
   10129 
   10130     uts4*)
   10131       lt_prog_compiler_pic='-pic'
   10132       lt_prog_compiler_static='-Bstatic'
   10133       ;;
   10134 
   10135     *)
   10136       lt_prog_compiler_can_build_shared=no
   10137       ;;
   10138     esac
   10139   fi
   10140 
   10141 case $host_os in
   10142   # For platforms that do not support PIC, -DPIC is meaningless:
   10143   *djgpp*)
   10144     lt_prog_compiler_pic=
   10145     ;;
   10146   *)
   10147     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10148     ;;
   10149 esac
   10150 
   10151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10152 printf %s "checking for $compiler option to produce PIC... " >&6; }
   10153 if test ${lt_cv_prog_compiler_pic+y}
   10154 then :
   10155   printf %s "(cached) " >&6
   10156 else case e in #(
   10157   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   10158 esac
   10159 fi
   10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10161 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   10162 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10163 
   10164 #
   10165 # Check to make sure the PIC flag actually works.
   10166 #
   10167 if test -n "$lt_prog_compiler_pic"; then
   10168   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10169 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10170 if test ${lt_cv_prog_compiler_pic_works+y}
   10171 then :
   10172   printf %s "(cached) " >&6
   10173 else case e in #(
   10174   e) lt_cv_prog_compiler_pic_works=no
   10175    ac_outfile=conftest.$ac_objext
   10176    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10177    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10178    # Insert the option either (1) after the last *FLAGS variable, or
   10179    # (2) before a word containing "conftest.", or (3) at the end.
   10180    # Note that $ac_compile itself does not contain backslashes and begins
   10181    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10182    # The option is referenced via a variable to avoid confusing sed.
   10183    lt_compile=`echo "$ac_compile" | $SED \
   10184    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10185    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10186    -e 's:$: $lt_compiler_flag:'`
   10187    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10188    (eval "$lt_compile" 2>conftest.err)
   10189    ac_status=$?
   10190    cat conftest.err >&5
   10191    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10192    if (exit $ac_status) && test -s "$ac_outfile"; then
   10193      # The compiler can only warn and ignore the option if not recognized
   10194      # So say no if there are warnings other than the usual output.
   10195      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10196      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10197      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10198        lt_cv_prog_compiler_pic_works=yes
   10199      fi
   10200    fi
   10201    $RM conftest*
   10202  ;;
   10203 esac
   10204 fi
   10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10206 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   10207 
   10208 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10209     case $lt_prog_compiler_pic in
   10210      "" | " "*) ;;
   10211      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10212      esac
   10213 else
   10214     lt_prog_compiler_pic=
   10215      lt_prog_compiler_can_build_shared=no
   10216 fi
   10217 
   10218 fi
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 #
   10231 # Check to make sure the static flag actually works.
   10232 #
   10233 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10235 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10236 if test ${lt_cv_prog_compiler_static_works+y}
   10237 then :
   10238   printf %s "(cached) " >&6
   10239 else case e in #(
   10240   e) lt_cv_prog_compiler_static_works=no
   10241    save_LDFLAGS=$LDFLAGS
   10242    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10243    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10244    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10245      # The linker can only warn and ignore the option if not recognized
   10246      # So say no if there are warnings
   10247      if test -s conftest.err; then
   10248        # Append any errors to the config.log.
   10249        cat conftest.err 1>&5
   10250        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10251        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10252        if diff conftest.exp conftest.er2 >/dev/null; then
   10253          lt_cv_prog_compiler_static_works=yes
   10254        fi
   10255      else
   10256        lt_cv_prog_compiler_static_works=yes
   10257      fi
   10258    fi
   10259    $RM -r conftest*
   10260    LDFLAGS=$save_LDFLAGS
   10261  ;;
   10262 esac
   10263 fi
   10264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10265 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   10266 
   10267 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10268     :
   10269 else
   10270     lt_prog_compiler_static=
   10271 fi
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10280 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10281 if test ${lt_cv_prog_compiler_c_o+y}
   10282 then :
   10283   printf %s "(cached) " >&6
   10284 else case e in #(
   10285   e) lt_cv_prog_compiler_c_o=no
   10286    $RM -r conftest 2>/dev/null
   10287    mkdir conftest
   10288    cd conftest
   10289    mkdir out
   10290    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10291 
   10292    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10293    # Insert the option either (1) after the last *FLAGS variable, or
   10294    # (2) before a word containing "conftest.", or (3) at the end.
   10295    # Note that $ac_compile itself does not contain backslashes and begins
   10296    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10297    lt_compile=`echo "$ac_compile" | $SED \
   10298    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10299    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10300    -e 's:$: $lt_compiler_flag:'`
   10301    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10302    (eval "$lt_compile" 2>out/conftest.err)
   10303    ac_status=$?
   10304    cat out/conftest.err >&5
   10305    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10306    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10307    then
   10308      # The compiler can only warn and ignore the option if not recognized
   10309      # So say no if there are warnings
   10310      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10311      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10312      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10313        lt_cv_prog_compiler_c_o=yes
   10314      fi
   10315    fi
   10316    chmod u+w . 2>&5
   10317    $RM conftest*
   10318    # SGI C++ compiler will create directory out/ii_files/ for
   10319    # template instantiation
   10320    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10321    $RM out/* && rmdir out
   10322    cd ..
   10323    $RM -r conftest
   10324    $RM conftest*
   10325  ;;
   10326 esac
   10327 fi
   10328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10329 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10337 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10338 if test ${lt_cv_prog_compiler_c_o+y}
   10339 then :
   10340   printf %s "(cached) " >&6
   10341 else case e in #(
   10342   e) lt_cv_prog_compiler_c_o=no
   10343    $RM -r conftest 2>/dev/null
   10344    mkdir conftest
   10345    cd conftest
   10346    mkdir out
   10347    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10348 
   10349    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10350    # Insert the option either (1) after the last *FLAGS variable, or
   10351    # (2) before a word containing "conftest.", or (3) at the end.
   10352    # Note that $ac_compile itself does not contain backslashes and begins
   10353    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10354    lt_compile=`echo "$ac_compile" | $SED \
   10355    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10356    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10357    -e 's:$: $lt_compiler_flag:'`
   10358    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10359    (eval "$lt_compile" 2>out/conftest.err)
   10360    ac_status=$?
   10361    cat out/conftest.err >&5
   10362    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10363    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10364    then
   10365      # The compiler can only warn and ignore the option if not recognized
   10366      # So say no if there are warnings
   10367      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10368      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10369      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10370        lt_cv_prog_compiler_c_o=yes
   10371      fi
   10372    fi
   10373    chmod u+w . 2>&5
   10374    $RM conftest*
   10375    # SGI C++ compiler will create directory out/ii_files/ for
   10376    # template instantiation
   10377    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10378    $RM out/* && rmdir out
   10379    cd ..
   10380    $RM -r conftest
   10381    $RM conftest*
   10382  ;;
   10383 esac
   10384 fi
   10385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10386 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10387 
   10388 
   10389 
   10390 
   10391 hard_links=nottested
   10392 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10393   # do not overwrite the value of need_locks provided by the user
   10394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10395 printf %s "checking if we can lock with hard links... " >&6; }
   10396   hard_links=yes
   10397   $RM conftest*
   10398   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10399   touch conftest.a
   10400   ln conftest.a conftest.b 2>&5 || hard_links=no
   10401   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10403 printf "%s\n" "$hard_links" >&6; }
   10404   if test no = "$hard_links"; then
   10405     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10406 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10407     need_locks=warn
   10408   fi
   10409 else
   10410   need_locks=no
   10411 fi
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10419 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10420 
   10421   runpath_var=
   10422   allow_undefined_flag=
   10423   always_export_symbols=no
   10424   archive_cmds=
   10425   archive_expsym_cmds=
   10426   compiler_needs_object=no
   10427   enable_shared_with_static_runtimes=no
   10428   export_dynamic_flag_spec=
   10429   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10430   hardcode_automatic=no
   10431   hardcode_direct=no
   10432   hardcode_direct_absolute=no
   10433   hardcode_libdir_flag_spec=
   10434   hardcode_libdir_separator=
   10435   hardcode_minus_L=no
   10436   hardcode_shlibpath_var=unsupported
   10437   inherit_rpath=no
   10438   link_all_deplibs=unknown
   10439   module_cmds=
   10440   module_expsym_cmds=
   10441   old_archive_from_new_cmds=
   10442   old_archive_from_expsyms_cmds=
   10443   thread_safe_flag_spec=
   10444   whole_archive_flag_spec=
   10445   # include_expsyms should be a list of space-separated symbols to be *always*
   10446   # included in the symbol list
   10447   include_expsyms=
   10448   # exclude_expsyms can be an extended regexp of symbols to exclude
   10449   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10450   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10451   # as well as any symbol that contains 'd'.
   10452   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10453   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10454   # platforms (ab)use it in PIC code, but their linkers get confused if
   10455   # the symbol is explicitly referenced.  Since portable code cannot
   10456   # rely on this symbol name, it's probably fine to never include it in
   10457   # preloaded symbol tables.
   10458   # Exclude shared library initialization/finalization symbols.
   10459   extract_expsyms_cmds=
   10460 
   10461   case $host_os in
   10462   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10463     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10464     # When not using gcc, we currently assume that we are using
   10465     # Microsoft Visual C++ or Intel C++ Compiler.
   10466     if test yes != "$GCC"; then
   10467       with_gnu_ld=no
   10468     fi
   10469     ;;
   10470   interix*)
   10471     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10472     with_gnu_ld=yes
   10473     ;;
   10474   esac
   10475 
   10476   ld_shlibs=yes
   10477 
   10478   # On some targets, GNU ld is compatible enough with the native linker
   10479   # that we're better off using the native interface for both.
   10480   lt_use_gnu_ld_interface=no
   10481   if test yes = "$with_gnu_ld"; then
   10482     case $host_os in
   10483       aix*)
   10484 	# The AIX port of GNU ld has always aspired to compatibility
   10485 	# with the native linker.  However, as the warning in the GNU ld
   10486 	# block says, versions before 2.19.5* couldn't really create working
   10487 	# shared libraries, regardless of the interface used.
   10488 	case `$LD -v 2>&1` in
   10489 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10490 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10491 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10492 	  *)
   10493 	    lt_use_gnu_ld_interface=yes
   10494 	    ;;
   10495 	esac
   10496 	;;
   10497       *)
   10498 	lt_use_gnu_ld_interface=yes
   10499 	;;
   10500     esac
   10501   fi
   10502 
   10503   if test yes = "$lt_use_gnu_ld_interface"; then
   10504     # If archive_cmds runs LD, not CC, wlarc should be empty
   10505     wlarc='$wl'
   10506 
   10507     # Set some defaults for GNU ld with shared library support. These
   10508     # are reset later if shared libraries are not supported. Putting them
   10509     # here allows them to be overridden if necessary.
   10510     runpath_var=LD_RUN_PATH
   10511     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10512     export_dynamic_flag_spec='$wl--export-dynamic'
   10513     # ancient GNU ld didn't support --whole-archive et. al.
   10514     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10515       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10516     else
   10517       whole_archive_flag_spec=
   10518     fi
   10519     supports_anon_versioning=no
   10520     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10521       *GNU\ gold*) supports_anon_versioning=yes ;;
   10522       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10523       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10524       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10525       *\ 2.11.*) ;; # other 2.11 versions
   10526       *) supports_anon_versioning=yes ;;
   10527     esac
   10528 
   10529     # See if GNU ld supports shared libraries.
   10530     case $host_os in
   10531     aix[3-9]*)
   10532       # On AIX/PPC, the GNU linker is very broken
   10533       if test ia64 != "$host_cpu"; then
   10534 	ld_shlibs=no
   10535 	cat <<_LT_EOF 1>&2
   10536 
   10537 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10538 *** to be unable to reliably create shared libraries on AIX.
   10539 *** Therefore, libtool is disabling shared libraries support.  If you
   10540 *** really care for shared libraries, you may want to install binutils
   10541 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10542 *** You will then need to restart the configuration process.
   10543 
   10544 _LT_EOF
   10545       fi
   10546       ;;
   10547 
   10548     amigaos*)
   10549       case $host_cpu in
   10550       powerpc)
   10551             # see comment about AmigaOS4 .so support
   10552             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10553             archive_expsym_cmds=''
   10554         ;;
   10555       m68k)
   10556             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)'
   10557             hardcode_libdir_flag_spec='-L$libdir'
   10558             hardcode_minus_L=yes
   10559         ;;
   10560       esac
   10561       ;;
   10562 
   10563     beos*)
   10564       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10565 	allow_undefined_flag=unsupported
   10566 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10567 	# support --undefined.  This deserves some investigation.  FIXME
   10568 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10569       else
   10570 	ld_shlibs=no
   10571       fi
   10572       ;;
   10573 
   10574     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10575       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10576       # as there is no search path for DLLs.
   10577       hardcode_libdir_flag_spec='-L$libdir'
   10578       export_dynamic_flag_spec='$wl--export-all-symbols'
   10579       allow_undefined_flag=unsupported
   10580       always_export_symbols=no
   10581       enable_shared_with_static_runtimes=yes
   10582       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'
   10583       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10584       file_list_spec='@'
   10585 
   10586       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10587         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10588 	# If the export-symbols file already is a .def file, use it as
   10589 	# is; otherwise, prepend EXPORTS...
   10590 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10591           cp $export_symbols $output_objdir/$soname.def;
   10592         else
   10593           echo EXPORTS > $output_objdir/$soname.def;
   10594           cat $export_symbols >> $output_objdir/$soname.def;
   10595         fi~
   10596         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10597       else
   10598 	ld_shlibs=no
   10599       fi
   10600       ;;
   10601 
   10602     haiku*)
   10603       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10604       link_all_deplibs=no
   10605       ;;
   10606 
   10607     os2*)
   10608       hardcode_libdir_flag_spec='-L$libdir'
   10609       hardcode_minus_L=yes
   10610       allow_undefined_flag=unsupported
   10611       shrext_cmds=.dll
   10612       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10613 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10614 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10615 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10616 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10617 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10618 	emximp -o $lib $output_objdir/$libname.def'
   10619       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10620 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10621 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10622 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10623 	prefix_cmds="$SED"~
   10624 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10625 	  prefix_cmds="$prefix_cmds -e 1d";
   10626 	fi~
   10627 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10628 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10629 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10630 	emximp -o $lib $output_objdir/$libname.def'
   10631       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10632       enable_shared_with_static_runtimes=yes
   10633       file_list_spec='@'
   10634       ;;
   10635 
   10636     interix[3-9]*)
   10637       hardcode_direct=no
   10638       hardcode_shlibpath_var=no
   10639       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10640       export_dynamic_flag_spec='$wl-E'
   10641       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10642       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10643       # default) and relocated if they conflict, which is a slow very memory
   10644       # consuming and fragmenting process.  To avoid this, we pick a random,
   10645       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10646       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10647       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10648       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'
   10649       ;;
   10650 
   10651     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10652       tmp_diet=no
   10653       if test linux-dietlibc = "$host_os"; then
   10654 	case $cc_basename in
   10655 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10656 	esac
   10657       fi
   10658       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10659 	 && test no = "$tmp_diet"
   10660       then
   10661 	tmp_addflag=' $pic_flag'
   10662 	tmp_sharedflag='-shared'
   10663 	case $cc_basename,$host_cpu in
   10664         pgcc*)				# Portland Group C compiler
   10665 	  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'
   10666 	  tmp_addflag=' $pic_flag'
   10667 	  ;;
   10668 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10669 					# Portland Group f77 and f90 compilers
   10670 	  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'
   10671 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10672 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10673 	  tmp_addflag=' -i_dynamic' ;;
   10674 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10675 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10676 	ifc* | ifort*)			# Intel Fortran compiler
   10677 	  tmp_addflag=' -nofor_main' ;;
   10678 	lf95*)				# Lahey Fortran 8.1
   10679 	  whole_archive_flag_spec=
   10680 	  tmp_sharedflag='--shared' ;;
   10681         nagfor*)                        # NAGFOR 5.3
   10682           tmp_sharedflag='-Wl,-shared' ;;
   10683 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10684 	  tmp_sharedflag='-qmkshrobj'
   10685 	  tmp_addflag= ;;
   10686 	nvcc*)	# Cuda Compiler Driver 2.2
   10687 	  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'
   10688 	  compiler_needs_object=yes
   10689 	  ;;
   10690 	esac
   10691 	case `$CC -V 2>&1 | $SED 5q` in
   10692 	*Sun\ C*)			# Sun C 5.9
   10693 	  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'
   10694 	  compiler_needs_object=yes
   10695 	  tmp_sharedflag='-G' ;;
   10696 	*Sun\ F*)			# Sun Fortran 8.3
   10697 	  tmp_sharedflag='-G' ;;
   10698 	esac
   10699 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10700 
   10701         if test yes = "$supports_anon_versioning"; then
   10702           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10703             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10704             echo "local: *; };" >> $output_objdir/$libname.ver~
   10705             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10706         fi
   10707 
   10708 	case $cc_basename in
   10709 	tcc*)
   10710 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10711 	  export_dynamic_flag_spec='-rdynamic'
   10712 	  ;;
   10713 	xlf* | bgf* | bgxlf* | mpixlf*)
   10714 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10715 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10716 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10717 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10718 	  if test yes = "$supports_anon_versioning"; then
   10719 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10720               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10721               echo "local: *; };" >> $output_objdir/$libname.ver~
   10722               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10723 	  fi
   10724 	  ;;
   10725 	esac
   10726       else
   10727         ld_shlibs=no
   10728       fi
   10729       ;;
   10730 
   10731     *-mlibc)
   10732 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10733 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10734       ;;
   10735 
   10736     netbsd* | netbsdelf*-gnu)
   10737       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10738 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10739 	wlarc=
   10740       else
   10741 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10742 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10743       fi
   10744       ;;
   10745 
   10746     solaris*)
   10747       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10748 	ld_shlibs=no
   10749 	cat <<_LT_EOF 1>&2
   10750 
   10751 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10752 *** create shared libraries on Solaris systems.  Therefore, libtool
   10753 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10754 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10755 *** your PATH or compiler configuration so that the native linker is
   10756 *** used, and then restart.
   10757 
   10758 _LT_EOF
   10759       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10760 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10761 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10762       else
   10763 	ld_shlibs=no
   10764       fi
   10765       ;;
   10766 
   10767     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10768       case `$LD -v 2>&1` in
   10769         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10770 	ld_shlibs=no
   10771 	cat <<_LT_EOF 1>&2
   10772 
   10773 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10774 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10775 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10776 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10777 *** your PATH or compiler configuration so that the native linker is
   10778 *** used, and then restart.
   10779 
   10780 _LT_EOF
   10781 	;;
   10782 	*)
   10783 	  # For security reasons, it is highly recommended that you always
   10784 	  # use absolute paths for naming shared libraries, and exclude the
   10785 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10786 	  # requires that you compile everything twice, which is a pain.
   10787 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10788 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10789 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10790 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10791 	  else
   10792 	    ld_shlibs=no
   10793 	  fi
   10794 	;;
   10795       esac
   10796       ;;
   10797 
   10798     sunos4*)
   10799       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10800       wlarc=
   10801       hardcode_direct=yes
   10802       hardcode_shlibpath_var=no
   10803       ;;
   10804 
   10805     *)
   10806       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10807 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10808 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10809       else
   10810 	ld_shlibs=no
   10811       fi
   10812       ;;
   10813     esac
   10814 
   10815     if test no = "$ld_shlibs"; then
   10816       runpath_var=
   10817       hardcode_libdir_flag_spec=
   10818       export_dynamic_flag_spec=
   10819       whole_archive_flag_spec=
   10820     fi
   10821   else
   10822     # PORTME fill in a description of your system's linker (not GNU ld)
   10823     case $host_os in
   10824     aix3*)
   10825       allow_undefined_flag=unsupported
   10826       always_export_symbols=yes
   10827       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'
   10828       # Note: this linker hardcodes the directories in LIBPATH if there
   10829       # are no directories specified by -L.
   10830       hardcode_minus_L=yes
   10831       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10832 	# Neither direct hardcoding nor static linking is supported with a
   10833 	# broken collect2.
   10834 	hardcode_direct=unsupported
   10835       fi
   10836       ;;
   10837 
   10838     aix[4-9]*)
   10839       if test ia64 = "$host_cpu"; then
   10840 	# On IA64, the linker does run time linking by default, so we don't
   10841 	# have to do anything special.
   10842 	aix_use_runtimelinking=no
   10843 	exp_sym_flag='-Bexport'
   10844 	no_entry_flag=
   10845       else
   10846 	# If we're using GNU nm, then we don't want the "-C" option.
   10847 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10848 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10849 	# weak defined symbols like other global defined symbols, whereas
   10850 	# GNU nm marks them as "W".
   10851 	# While the 'weak' keyword is ignored in the Export File, we need
   10852 	# it in the Import File for the 'aix-soname' feature, so we have
   10853 	# to replace the "-B" option with "-P" for AIX nm.
   10854 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10855 	  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'
   10856 	else
   10857 	  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'
   10858 	fi
   10859 	aix_use_runtimelinking=no
   10860 
   10861 	# Test if we are trying to use run time linking or normal
   10862 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10863 	# have runtime linking enabled, and use it for executables.
   10864 	# For shared libraries, we enable/disable runtime linking
   10865 	# depending on the kind of the shared library created -
   10866 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10867 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10868 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10869 	#            lib.a           static archive
   10870 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10871 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10872 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10873 	#            lib.a(lib.so.V) shared, rtl:no
   10874 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10875 	#            lib.a           static archive
   10876 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10877 	  for ld_flag in $LDFLAGS; do
   10878 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10879 	    aix_use_runtimelinking=yes
   10880 	    break
   10881 	  fi
   10882 	  done
   10883 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10884 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10885 	    # so we don't have lib.a shared libs to link our executables.
   10886 	    # We have to force runtime linking in this case.
   10887 	    aix_use_runtimelinking=yes
   10888 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10889 	  fi
   10890 	  ;;
   10891 	esac
   10892 
   10893 	exp_sym_flag='-bexport'
   10894 	no_entry_flag='-bnoentry'
   10895       fi
   10896 
   10897       # When large executables or shared objects are built, AIX ld can
   10898       # have problems creating the table of contents.  If linking a library
   10899       # or program results in "error TOC overflow" add -mminimal-toc to
   10900       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10901       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10902 
   10903       archive_cmds=''
   10904       hardcode_direct=yes
   10905       hardcode_direct_absolute=yes
   10906       hardcode_libdir_separator=':'
   10907       link_all_deplibs=yes
   10908       file_list_spec='$wl-f,'
   10909       case $with_aix_soname,$aix_use_runtimelinking in
   10910       aix,*) ;; # traditional, no import file
   10911       svr4,* | *,yes) # use import file
   10912 	# The Import File defines what to hardcode.
   10913 	hardcode_direct=no
   10914 	hardcode_direct_absolute=no
   10915 	;;
   10916       esac
   10917 
   10918       if test yes = "$GCC"; then
   10919 	case $host_os in aix4.[012]|aix4.[012].*)
   10920 	# We only want to do this on AIX 4.2 and lower, the check
   10921 	# below for broken collect2 doesn't work under 4.3+
   10922 	  collect2name=`$CC -print-prog-name=collect2`
   10923 	  if test -f "$collect2name" &&
   10924 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10925 	  then
   10926 	  # We have reworked collect2
   10927 	  :
   10928 	  else
   10929 	  # We have old collect2
   10930 	  hardcode_direct=unsupported
   10931 	  # It fails to find uninstalled libraries when the uninstalled
   10932 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10933 	  # to unsupported forces relinking
   10934 	  hardcode_minus_L=yes
   10935 	  hardcode_libdir_flag_spec='-L$libdir'
   10936 	  hardcode_libdir_separator=
   10937 	  fi
   10938 	  ;;
   10939 	esac
   10940 	shared_flag='-shared'
   10941 	if test yes = "$aix_use_runtimelinking"; then
   10942 	  shared_flag="$shared_flag "'$wl-G'
   10943 	fi
   10944 	# Need to ensure runtime linking is disabled for the traditional
   10945 	# shared library, or the linker may eventually find shared libraries
   10946 	# /with/ Import File - we do not want to mix them.
   10947 	shared_flag_aix='-shared'
   10948 	shared_flag_svr4='-shared $wl-G'
   10949       else
   10950 	# not using gcc
   10951 	if test ia64 = "$host_cpu"; then
   10952 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10953 	# chokes on -Wl,-G. The following line is correct:
   10954 	  shared_flag='-G'
   10955 	else
   10956 	  if test yes = "$aix_use_runtimelinking"; then
   10957 	    shared_flag='$wl-G'
   10958 	  else
   10959 	    shared_flag='$wl-bM:SRE'
   10960 	  fi
   10961 	  shared_flag_aix='$wl-bM:SRE'
   10962 	  shared_flag_svr4='$wl-G'
   10963 	fi
   10964       fi
   10965 
   10966       export_dynamic_flag_spec='$wl-bexpall'
   10967       # It seems that -bexpall does not export symbols beginning with
   10968       # underscore (_), so it is better to generate a list of symbols to export.
   10969       always_export_symbols=yes
   10970       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10971 	# Warning - without using the other runtime loading flags (-brtl),
   10972 	# -berok will link without error, but may produce a broken library.
   10973 	allow_undefined_flag='-berok'
   10974         # Determine the default libpath from the value encoded in an
   10975         # empty executable.
   10976         if test set = "${lt_cv_aix_libpath+set}"; then
   10977   aix_libpath=$lt_cv_aix_libpath
   10978 else
   10979   if test ${lt_cv_aix_libpath_+y}
   10980 then :
   10981   printf %s "(cached) " >&6
   10982 else case e in #(
   10983   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10984 /* end confdefs.h.  */
   10985 
   10986 int
   10987 main (void)
   10988 {
   10989 
   10990   ;
   10991   return 0;
   10992 }
   10993 _ACEOF
   10994 if ac_fn_c_try_link "$LINENO"
   10995 then :
   10996 
   10997   lt_aix_libpath_sed='
   10998       /Import File Strings/,/^$/ {
   10999 	  /^0/ {
   11000 	      s/^0  *\([^ ]*\) *$/\1/
   11001 	      p
   11002 	  }
   11003       }'
   11004   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11005   # Check for a 64-bit object if we didn't find anything.
   11006   if test -z "$lt_cv_aix_libpath_"; then
   11007     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11008   fi
   11009 fi
   11010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11011     conftest$ac_exeext conftest.$ac_ext
   11012   if test -z "$lt_cv_aix_libpath_"; then
   11013     lt_cv_aix_libpath_=/usr/lib:/lib
   11014   fi
   11015    ;;
   11016 esac
   11017 fi
   11018 
   11019   aix_libpath=$lt_cv_aix_libpath_
   11020 fi
   11021 
   11022         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11023         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
   11024       else
   11025 	if test ia64 = "$host_cpu"; then
   11026 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   11027 	  allow_undefined_flag="-z nodefs"
   11028 	  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"
   11029 	else
   11030 	 # Determine the default libpath from the value encoded in an
   11031 	 # empty executable.
   11032 	 if test set = "${lt_cv_aix_libpath+set}"; then
   11033   aix_libpath=$lt_cv_aix_libpath
   11034 else
   11035   if test ${lt_cv_aix_libpath_+y}
   11036 then :
   11037   printf %s "(cached) " >&6
   11038 else case e in #(
   11039   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11040 /* end confdefs.h.  */
   11041 
   11042 int
   11043 main (void)
   11044 {
   11045 
   11046   ;
   11047   return 0;
   11048 }
   11049 _ACEOF
   11050 if ac_fn_c_try_link "$LINENO"
   11051 then :
   11052 
   11053   lt_aix_libpath_sed='
   11054       /Import File Strings/,/^$/ {
   11055 	  /^0/ {
   11056 	      s/^0  *\([^ ]*\) *$/\1/
   11057 	      p
   11058 	  }
   11059       }'
   11060   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11061   # Check for a 64-bit object if we didn't find anything.
   11062   if test -z "$lt_cv_aix_libpath_"; then
   11063     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11064   fi
   11065 fi
   11066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11067     conftest$ac_exeext conftest.$ac_ext
   11068   if test -z "$lt_cv_aix_libpath_"; then
   11069     lt_cv_aix_libpath_=/usr/lib:/lib
   11070   fi
   11071    ;;
   11072 esac
   11073 fi
   11074 
   11075   aix_libpath=$lt_cv_aix_libpath_
   11076 fi
   11077 
   11078 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11079 	  # Warning - without using the other run time loading flags,
   11080 	  # -berok will link without error, but may produce a broken library.
   11081 	  no_undefined_flag=' $wl-bernotok'
   11082 	  allow_undefined_flag=' $wl-berok'
   11083 	  if test yes = "$with_gnu_ld"; then
   11084 	    # We only use this code for GNU lds that support --whole-archive.
   11085 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   11086 	  else
   11087 	    # Exported symbols can be pulled into shared objects from archives
   11088 	    whole_archive_flag_spec='$convenience'
   11089 	  fi
   11090 	  archive_cmds_need_lc=yes
   11091 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   11092 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   11093 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   11094 	  if test svr4 != "$with_aix_soname"; then
   11095 	    # This is similar to how AIX traditionally builds its shared libraries.
   11096 	    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'
   11097 	  fi
   11098 	  if test aix != "$with_aix_soname"; then
   11099 	    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'
   11100 	  else
   11101 	    # used by -dlpreopen to get the symbols
   11102 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   11103 	  fi
   11104 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   11105 	fi
   11106       fi
   11107       ;;
   11108 
   11109     amigaos*)
   11110       case $host_cpu in
   11111       powerpc)
   11112             # see comment about AmigaOS4 .so support
   11113             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11114             archive_expsym_cmds=''
   11115         ;;
   11116       m68k)
   11117             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)'
   11118             hardcode_libdir_flag_spec='-L$libdir'
   11119             hardcode_minus_L=yes
   11120         ;;
   11121       esac
   11122       ;;
   11123 
   11124     bsdi[45]*)
   11125       export_dynamic_flag_spec=-rdynamic
   11126       ;;
   11127 
   11128     cygwin* | mingw* | windows* | pw32* | cegcc*)
   11129       # When not using gcc, we currently assume that we are using
   11130       # Microsoft Visual C++ or Intel C++ Compiler.
   11131       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11132       # no search path for DLLs.
   11133       case $cc_basename in
   11134       cl* | icl*)
   11135 	# Native MSVC or ICC
   11136 	hardcode_libdir_flag_spec=' '
   11137 	allow_undefined_flag=unsupported
   11138 	always_export_symbols=yes
   11139 	file_list_spec='@'
   11140 	# Tell ltmain to make .lib files, not .a files.
   11141 	libext=lib
   11142 	# Tell ltmain to make .dll files, not .so files.
   11143 	shrext_cmds=.dll
   11144 	# FIXME: Setting linknames here is a bad hack.
   11145 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11146 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11147             cp "$export_symbols" "$output_objdir/$soname.def";
   11148             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   11149           else
   11150             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   11151           fi~
   11152           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   11153           linknames='
   11154 	# The linker will not automatically build a static lib if we build a DLL.
   11155 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11156 	enable_shared_with_static_runtimes=yes
   11157 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11158 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11159 	# Don't use ranlib
   11160 	old_postinstall_cmds='chmod 644 $oldlib'
   11161 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11162           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11163           case $lt_outputfile in
   11164             *.exe|*.EXE) ;;
   11165             *)
   11166               lt_outputfile=$lt_outputfile.exe
   11167               lt_tool_outputfile=$lt_tool_outputfile.exe
   11168               ;;
   11169           esac~
   11170           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11171             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11172             $RM "$lt_outputfile.manifest";
   11173           fi'
   11174 	;;
   11175       *)
   11176 	# Assume MSVC and ICC wrapper
   11177 	hardcode_libdir_flag_spec=' '
   11178 	allow_undefined_flag=unsupported
   11179 	# Tell ltmain to make .lib files, not .a files.
   11180 	libext=lib
   11181 	# Tell ltmain to make .dll files, not .so files.
   11182 	shrext_cmds=.dll
   11183 	# FIXME: Setting linknames here is a bad hack.
   11184 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11185 	# The linker will automatically build a .lib file if we build a DLL.
   11186 	old_archive_from_new_cmds='true'
   11187 	# FIXME: Should let the user specify the lib program.
   11188 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11189 	enable_shared_with_static_runtimes=yes
   11190 	;;
   11191       esac
   11192       ;;
   11193 
   11194     darwin* | rhapsody*)
   11195 
   11196 
   11197   archive_cmds_need_lc=no
   11198   hardcode_direct=no
   11199   hardcode_automatic=yes
   11200   hardcode_shlibpath_var=unsupported
   11201   if test yes = "$lt_cv_ld_force_load"; then
   11202     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\"`'
   11203 
   11204   else
   11205     whole_archive_flag_spec=''
   11206   fi
   11207   link_all_deplibs=yes
   11208   allow_undefined_flag=$_lt_dar_allow_undefined
   11209   case $cc_basename in
   11210      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11211      *) _lt_dar_can_shared=$GCC ;;
   11212   esac
   11213   if test yes = "$_lt_dar_can_shared"; then
   11214     output_verbose_link_cmd=func_echo_all
   11215     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11216     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11217     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"
   11218     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"
   11219 
   11220   else
   11221   ld_shlibs=no
   11222   fi
   11223 
   11224       ;;
   11225 
   11226     dgux*)
   11227       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11228       hardcode_libdir_flag_spec='-L$libdir'
   11229       hardcode_shlibpath_var=no
   11230       ;;
   11231 
   11232     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11233     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11234     # does not break anything, and helps significantly (at the cost of a little
   11235     # extra space).
   11236     freebsd2.2*)
   11237       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11238       hardcode_libdir_flag_spec='-R$libdir'
   11239       hardcode_direct=yes
   11240       hardcode_shlibpath_var=no
   11241       ;;
   11242 
   11243     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11244     freebsd2.*)
   11245       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11246       hardcode_direct=yes
   11247       hardcode_minus_L=yes
   11248       hardcode_shlibpath_var=no
   11249       ;;
   11250 
   11251     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11252     freebsd* | dragonfly* | midnightbsd*)
   11253       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11254       hardcode_libdir_flag_spec='-R$libdir'
   11255       hardcode_direct=yes
   11256       hardcode_shlibpath_var=no
   11257       ;;
   11258 
   11259     hpux9*)
   11260       if test yes = "$GCC"; then
   11261 	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'
   11262       else
   11263 	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'
   11264       fi
   11265       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11266       hardcode_libdir_separator=:
   11267       hardcode_direct=yes
   11268 
   11269       # hardcode_minus_L: Not really in the search PATH,
   11270       # but as the default location of the library.
   11271       hardcode_minus_L=yes
   11272       export_dynamic_flag_spec='$wl-E'
   11273       ;;
   11274 
   11275     hpux10*)
   11276       if test yes,no = "$GCC,$with_gnu_ld"; then
   11277 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11278       else
   11279 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11280       fi
   11281       if test no = "$with_gnu_ld"; then
   11282 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11283 	hardcode_libdir_separator=:
   11284 	hardcode_direct=yes
   11285 	hardcode_direct_absolute=yes
   11286 	export_dynamic_flag_spec='$wl-E'
   11287 	# hardcode_minus_L: Not really in the search PATH,
   11288 	# but as the default location of the library.
   11289 	hardcode_minus_L=yes
   11290       fi
   11291       ;;
   11292 
   11293     hpux11*)
   11294       if test yes,no = "$GCC,$with_gnu_ld"; then
   11295 	case $host_cpu in
   11296 	hppa*64*)
   11297 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11298 	  ;;
   11299 	ia64*)
   11300 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11301 	  ;;
   11302 	*)
   11303 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11304 	  ;;
   11305 	esac
   11306       else
   11307 	case $host_cpu in
   11308 	hppa*64*)
   11309 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11310 	  ;;
   11311 	ia64*)
   11312 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11313 	  ;;
   11314 	*)
   11315 
   11316 	  # Older versions of the 11.00 compiler do not understand -b yet
   11317 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11318 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11319 printf %s "checking if $CC understands -b... " >&6; }
   11320 if test ${lt_cv_prog_compiler__b+y}
   11321 then :
   11322   printf %s "(cached) " >&6
   11323 else case e in #(
   11324   e) lt_cv_prog_compiler__b=no
   11325    save_LDFLAGS=$LDFLAGS
   11326    LDFLAGS="$LDFLAGS -b"
   11327    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11328    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11329      # The linker can only warn and ignore the option if not recognized
   11330      # So say no if there are warnings
   11331      if test -s conftest.err; then
   11332        # Append any errors to the config.log.
   11333        cat conftest.err 1>&5
   11334        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11335        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11336        if diff conftest.exp conftest.er2 >/dev/null; then
   11337          lt_cv_prog_compiler__b=yes
   11338        fi
   11339      else
   11340        lt_cv_prog_compiler__b=yes
   11341      fi
   11342    fi
   11343    $RM -r conftest*
   11344    LDFLAGS=$save_LDFLAGS
   11345  ;;
   11346 esac
   11347 fi
   11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11349 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   11350 
   11351 if test yes = "$lt_cv_prog_compiler__b"; then
   11352     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11353 else
   11354     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11355 fi
   11356 
   11357 	  ;;
   11358 	esac
   11359       fi
   11360       if test no = "$with_gnu_ld"; then
   11361 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11362 	hardcode_libdir_separator=:
   11363 
   11364 	case $host_cpu in
   11365 	hppa*64*|ia64*)
   11366 	  hardcode_direct=no
   11367 	  hardcode_shlibpath_var=no
   11368 	  ;;
   11369 	*)
   11370 	  hardcode_direct=yes
   11371 	  hardcode_direct_absolute=yes
   11372 	  export_dynamic_flag_spec='$wl-E'
   11373 
   11374 	  # hardcode_minus_L: Not really in the search PATH,
   11375 	  # but as the default location of the library.
   11376 	  hardcode_minus_L=yes
   11377 	  ;;
   11378 	esac
   11379       fi
   11380       ;;
   11381 
   11382     irix5* | irix6* | nonstopux*)
   11383       if test yes = "$GCC"; then
   11384 	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'
   11385 	# Try to use the -exported_symbol ld option, if it does not
   11386 	# work, assume that -exports_file does not work either and
   11387 	# implicitly export all symbols.
   11388 	# This should be the same for all languages, so no per-tag cache variable.
   11389 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11390 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11391 if test ${lt_cv_irix_exported_symbol+y}
   11392 then :
   11393   printf %s "(cached) " >&6
   11394 else case e in #(
   11395   e) save_LDFLAGS=$LDFLAGS
   11396 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11397 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11398 /* end confdefs.h.  */
   11399 int foo (void) { return 0; }
   11400 _ACEOF
   11401 if ac_fn_c_try_link "$LINENO"
   11402 then :
   11403   lt_cv_irix_exported_symbol=yes
   11404 else case e in #(
   11405   e) lt_cv_irix_exported_symbol=no ;;
   11406 esac
   11407 fi
   11408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11409     conftest$ac_exeext conftest.$ac_ext
   11410            LDFLAGS=$save_LDFLAGS ;;
   11411 esac
   11412 fi
   11413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11414 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11415 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11416           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'
   11417 	fi
   11418       else
   11419 	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'
   11420 	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'
   11421       fi
   11422       archive_cmds_need_lc='no'
   11423       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11424       hardcode_libdir_separator=:
   11425       inherit_rpath=yes
   11426       link_all_deplibs=yes
   11427       ;;
   11428 
   11429     linux*)
   11430       case $cc_basename in
   11431       tcc*)
   11432 	# Fabrice Bellard et al's Tiny C Compiler
   11433 	ld_shlibs=yes
   11434 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11435 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11436 	;;
   11437       esac
   11438       ;;
   11439 
   11440     *-mlibc)
   11441       ;;
   11442 
   11443     netbsd* | netbsdelf*-gnu)
   11444       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11445 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11446       else
   11447 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11448       fi
   11449       hardcode_libdir_flag_spec='-R$libdir'
   11450       hardcode_direct=yes
   11451       hardcode_shlibpath_var=no
   11452       ;;
   11453 
   11454     newsos6)
   11455       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11456       hardcode_direct=yes
   11457       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11458       hardcode_libdir_separator=:
   11459       hardcode_shlibpath_var=no
   11460       ;;
   11461 
   11462     *nto* | *qnx*)
   11463       ;;
   11464 
   11465     openbsd*)
   11466       if test -f /usr/libexec/ld.so; then
   11467 	hardcode_direct=yes
   11468 	hardcode_shlibpath_var=no
   11469 	hardcode_direct_absolute=yes
   11470 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11471 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11472 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11473 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11474 	  export_dynamic_flag_spec='$wl-E'
   11475 	else
   11476 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11477 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11478 	fi
   11479       else
   11480 	ld_shlibs=no
   11481       fi
   11482       ;;
   11483 
   11484     os2*)
   11485       hardcode_libdir_flag_spec='-L$libdir'
   11486       hardcode_minus_L=yes
   11487       allow_undefined_flag=unsupported
   11488       shrext_cmds=.dll
   11489       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11490 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11491 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11492 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11493 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11494 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11495 	emximp -o $lib $output_objdir/$libname.def'
   11496       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11497 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11498 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11499 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11500 	prefix_cmds="$SED"~
   11501 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11502 	  prefix_cmds="$prefix_cmds -e 1d";
   11503 	fi~
   11504 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11505 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11506 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11507 	emximp -o $lib $output_objdir/$libname.def'
   11508       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11509       enable_shared_with_static_runtimes=yes
   11510       file_list_spec='@'
   11511       ;;
   11512 
   11513     osf3*)
   11514       if test yes = "$GCC"; then
   11515 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11516 	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'
   11517       else
   11518 	allow_undefined_flag=' -expect_unresolved \*'
   11519 	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'
   11520       fi
   11521       archive_cmds_need_lc='no'
   11522       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11523       hardcode_libdir_separator=:
   11524       ;;
   11525 
   11526     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11527       if test yes = "$GCC"; then
   11528 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11529 	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'
   11530 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11531       else
   11532 	allow_undefined_flag=' -expect_unresolved \*'
   11533 	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'
   11534 	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~
   11535           $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'
   11536 
   11537 	# Both c and cxx compiler support -rpath directly
   11538 	hardcode_libdir_flag_spec='-rpath $libdir'
   11539       fi
   11540       archive_cmds_need_lc='no'
   11541       hardcode_libdir_separator=:
   11542       ;;
   11543 
   11544     serenity*)
   11545       ;;
   11546 
   11547     solaris*)
   11548       no_undefined_flag=' -z defs'
   11549       if test yes = "$GCC"; then
   11550 	wlarc='$wl'
   11551 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11552 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11553           $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'
   11554       else
   11555 	case `$CC -V 2>&1` in
   11556 	*"Compilers 5.0"*)
   11557 	  wlarc=''
   11558 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11559 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11560             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11561 	  ;;
   11562 	*)
   11563 	  wlarc='$wl'
   11564 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11565 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11566             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11567 	  ;;
   11568 	esac
   11569       fi
   11570       hardcode_libdir_flag_spec='-R$libdir'
   11571       hardcode_shlibpath_var=no
   11572       case $host_os in
   11573       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11574       *)
   11575 	# The compiler driver will combine and reorder linker options,
   11576 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11577 	# but is careful enough not to reorder.
   11578 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11579 	if test yes = "$GCC"; then
   11580 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11581 	else
   11582 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11583 	fi
   11584 	;;
   11585       esac
   11586       link_all_deplibs=yes
   11587       ;;
   11588 
   11589     sunos4*)
   11590       if test sequent = "$host_vendor"; then
   11591 	# Use $CC to link under sequent, because it throws in some extra .o
   11592 	# files that make .init and .fini sections work.
   11593 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11594       else
   11595 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11596       fi
   11597       hardcode_libdir_flag_spec='-L$libdir'
   11598       hardcode_direct=yes
   11599       hardcode_minus_L=yes
   11600       hardcode_shlibpath_var=no
   11601       ;;
   11602 
   11603     sysv4)
   11604       case $host_vendor in
   11605 	sni)
   11606 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11607 	  hardcode_direct=yes # is this really true???
   11608 	;;
   11609 	siemens)
   11610 	  ## LD is ld it makes a PLAMLIB
   11611 	  ## CC just makes a GrossModule.
   11612 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11613 	  reload_cmds='$CC -r -o $output$reload_objs'
   11614 	  hardcode_direct=no
   11615         ;;
   11616 	motorola)
   11617 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11618 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11619 	;;
   11620       esac
   11621       runpath_var='LD_RUN_PATH'
   11622       hardcode_shlibpath_var=no
   11623       ;;
   11624 
   11625     sysv4.3*)
   11626       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11627       hardcode_shlibpath_var=no
   11628       export_dynamic_flag_spec='-Bexport'
   11629       ;;
   11630 
   11631     sysv4*MP*)
   11632       if test -d /usr/nec; then
   11633 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11634 	hardcode_shlibpath_var=no
   11635 	runpath_var=LD_RUN_PATH
   11636 	hardcode_runpath_var=yes
   11637 	ld_shlibs=yes
   11638       fi
   11639       ;;
   11640 
   11641     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11642       no_undefined_flag='$wl-z,text'
   11643       archive_cmds_need_lc=no
   11644       hardcode_shlibpath_var=no
   11645       runpath_var='LD_RUN_PATH'
   11646 
   11647       if test yes = "$GCC"; then
   11648 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11649 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11650       else
   11651 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11652 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11653       fi
   11654       ;;
   11655 
   11656     sysv5* | sco3.2v5* | sco5v6*)
   11657       # Note: We CANNOT use -z defs as we might desire, because we do not
   11658       # link with -lc, and that would cause any symbols used from libc to
   11659       # always be unresolved, which means just about no library would
   11660       # ever link correctly.  If we're not using GNU ld we use -z text
   11661       # though, which does catch some bad symbols but isn't as heavy-handed
   11662       # as -z defs.
   11663       no_undefined_flag='$wl-z,text'
   11664       allow_undefined_flag='$wl-z,nodefs'
   11665       archive_cmds_need_lc=no
   11666       hardcode_shlibpath_var=no
   11667       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11668       hardcode_libdir_separator=':'
   11669       link_all_deplibs=yes
   11670       export_dynamic_flag_spec='$wl-Bexport'
   11671       runpath_var='LD_RUN_PATH'
   11672 
   11673       if test yes = "$GCC"; then
   11674 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11675 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11676       else
   11677 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11678 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11679       fi
   11680       ;;
   11681 
   11682     uts4*)
   11683       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11684       hardcode_libdir_flag_spec='-L$libdir'
   11685       hardcode_shlibpath_var=no
   11686       ;;
   11687 
   11688     *)
   11689       ld_shlibs=no
   11690       ;;
   11691     esac
   11692 
   11693     if test sni = "$host_vendor"; then
   11694       case $host in
   11695       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11696 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11697 	;;
   11698       esac
   11699     fi
   11700   fi
   11701 
   11702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11703 printf "%s\n" "$ld_shlibs" >&6; }
   11704 test no = "$ld_shlibs" && can_build_shared=no
   11705 
   11706 with_gnu_ld=$with_gnu_ld
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 #
   11723 # Do we need to explicitly link libc?
   11724 #
   11725 case "x$archive_cmds_need_lc" in
   11726 x|xyes)
   11727   # Assume -lc should be added
   11728   archive_cmds_need_lc=yes
   11729 
   11730   if test yes,yes = "$GCC,$enable_shared"; then
   11731     case $archive_cmds in
   11732     *'~'*)
   11733       # FIXME: we may have to deal with multi-command sequences.
   11734       ;;
   11735     '$CC '*)
   11736       # Test whether the compiler implicitly links with -lc since on some
   11737       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11738       # to ld, don't add -lc before -lgcc.
   11739       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11740 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11741 if test ${lt_cv_archive_cmds_need_lc+y}
   11742 then :
   11743   printf %s "(cached) " >&6
   11744 else case e in #(
   11745   e) $RM conftest*
   11746 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11747 
   11748 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11749   (eval $ac_compile) 2>&5
   11750   ac_status=$?
   11751   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11752   test $ac_status = 0; } 2>conftest.err; then
   11753 	  soname=conftest
   11754 	  lib=conftest
   11755 	  libobjs=conftest.$ac_objext
   11756 	  deplibs=
   11757 	  wl=$lt_prog_compiler_wl
   11758 	  pic_flag=$lt_prog_compiler_pic
   11759 	  compiler_flags=-v
   11760 	  linker_flags=-v
   11761 	  verstring=
   11762 	  output_objdir=.
   11763 	  libname=conftest
   11764 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11765 	  allow_undefined_flag=
   11766 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11767   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11768   ac_status=$?
   11769   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11770   test $ac_status = 0; }
   11771 	  then
   11772 	    lt_cv_archive_cmds_need_lc=no
   11773 	  else
   11774 	    lt_cv_archive_cmds_need_lc=yes
   11775 	  fi
   11776 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11777 	else
   11778 	  cat conftest.err 1>&5
   11779 	fi
   11780 	$RM conftest*
   11781 	 ;;
   11782 esac
   11783 fi
   11784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11785 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11786       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11787       ;;
   11788     esac
   11789   fi
   11790   ;;
   11791 esac
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11945 printf %s "checking dynamic linker characteristics... " >&6; }
   11946 
   11947 if test yes = "$GCC"; then
   11948   case $host_os in
   11949     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11950     *) lt_awk_arg='/^libraries:/' ;;
   11951   esac
   11952   case $host_os in
   11953     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11954     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11955   esac
   11956   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11957   case $lt_search_path_spec in
   11958   *\;*)
   11959     # if the path contains ";" then we assume it to be the separator
   11960     # otherwise default to the standard path separator (i.e. ":") - it is
   11961     # assumed that no part of a normal pathname contains ";" but that should
   11962     # okay in the real world where ";" in dirpaths is itself problematic.
   11963     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11964     ;;
   11965   *)
   11966     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11967     ;;
   11968   esac
   11969   # Ok, now we have the path, separated by spaces, we can step through it
   11970   # and add multilib dir if necessary...
   11971   lt_tmp_lt_search_path_spec=
   11972   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11973   # ...but if some path component already ends with the multilib dir we assume
   11974   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11975   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11976   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11977     lt_multi_os_dir=
   11978     ;;
   11979   esac
   11980   for lt_sys_path in $lt_search_path_spec; do
   11981     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11982       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11983     elif test -n "$lt_multi_os_dir"; then
   11984       test -d "$lt_sys_path" && \
   11985 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11986     fi
   11987   done
   11988   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11989 BEGIN {RS = " "; FS = "/|\n";} {
   11990   lt_foo = "";
   11991   lt_count = 0;
   11992   for (lt_i = NF; lt_i > 0; lt_i--) {
   11993     if ($lt_i != "" && $lt_i != ".") {
   11994       if ($lt_i == "..") {
   11995         lt_count++;
   11996       } else {
   11997         if (lt_count == 0) {
   11998           lt_foo = "/" $lt_i lt_foo;
   11999         } else {
   12000           lt_count--;
   12001         }
   12002       }
   12003     }
   12004   }
   12005   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12006   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12007 }'`
   12008   # AWK program above erroneously prepends '/' to C:/dos/paths
   12009   # for these hosts.
   12010   case $host_os in
   12011     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   12012       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   12013   esac
   12014   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   12015 else
   12016   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12017 fi
   12018 library_names_spec=
   12019 libname_spec='lib$name'
   12020 soname_spec=
   12021 shrext_cmds=.so
   12022 postinstall_cmds=
   12023 postuninstall_cmds=
   12024 finish_cmds=
   12025 finish_eval=
   12026 shlibpath_var=
   12027 shlibpath_overrides_runpath=unknown
   12028 version_type=none
   12029 dynamic_linker="$host_os ld.so"
   12030 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12031 need_lib_prefix=unknown
   12032 hardcode_into_libs=no
   12033 
   12034 # when you set need_version to no, make sure it does not cause -set_version
   12035 # flags to be left without arguments
   12036 need_version=unknown
   12037 
   12038 
   12039 
   12040 case $host_os in
   12041 aix3*)
   12042   version_type=linux # correct to gnu/linux during the next big refactor
   12043   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   12044   shlibpath_var=LIBPATH
   12045 
   12046   # AIX 3 has no versioning support, so we append a major version to the name.
   12047   soname_spec='$libname$release$shared_ext$major'
   12048   ;;
   12049 
   12050 aix[4-9]*)
   12051   version_type=linux # correct to gnu/linux during the next big refactor
   12052   need_lib_prefix=no
   12053   need_version=no
   12054   hardcode_into_libs=yes
   12055   if test ia64 = "$host_cpu"; then
   12056     # AIX 5 supports IA64
   12057     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   12058     shlibpath_var=LD_LIBRARY_PATH
   12059   else
   12060     # With GCC up to 2.95.x, collect2 would create an import file
   12061     # for dependence libraries.  The import file would start with
   12062     # the line '#! .'.  This would cause the generated library to
   12063     # depend on '.', always an invalid library.  This was fixed in
   12064     # development snapshots of GCC prior to 3.0.
   12065     case $host_os in
   12066       aix4 | aix4.[01] | aix4.[01].*)
   12067       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12068 	   echo ' yes '
   12069 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   12070 	:
   12071       else
   12072 	can_build_shared=no
   12073       fi
   12074       ;;
   12075     esac
   12076     # Using Import Files as archive members, it is possible to support
   12077     # filename-based versioning of shared library archives on AIX. While
   12078     # this would work for both with and without runtime linking, it will
   12079     # prevent static linking of such archives. So we do filename-based
   12080     # shared library versioning with .so extension only, which is used
   12081     # when both runtime linking and shared linking is enabled.
   12082     # Unfortunately, runtime linking may impact performance, so we do
   12083     # not want this to be the default eventually. Also, we use the
   12084     # versioned .so libs for executables only if there is the -brtl
   12085     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   12086     # To allow for filename-based versioning support, we need to create
   12087     # libNAME.so.V as an archive file, containing:
   12088     # *) an Import File, referring to the versioned filename of the
   12089     #    archive as well as the shared archive member, telling the
   12090     #    bitwidth (32 or 64) of that shared object, and providing the
   12091     #    list of exported symbols of that shared object, eventually
   12092     #    decorated with the 'weak' keyword
   12093     # *) the shared object with the F_LOADONLY flag set, to really avoid
   12094     #    it being seen by the linker.
   12095     # At run time we better use the real file rather than another symlink,
   12096     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   12097 
   12098     case $with_aix_soname,$aix_use_runtimelinking in
   12099     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   12100     # soname into executable. Probably we can add versioning support to
   12101     # collect2, so additional links can be useful in future.
   12102     aix,yes) # traditional libtool
   12103       dynamic_linker='AIX unversionable lib.so'
   12104       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12105       # instead of lib<name>.a to let people know that these are not
   12106       # typical AIX shared libraries.
   12107       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12108       ;;
   12109     aix,no) # traditional AIX only
   12110       dynamic_linker='AIX lib.a(lib.so.V)'
   12111       # We preserve .a as extension for shared libraries through AIX4.2
   12112       # and later when we are not doing run time linking.
   12113       library_names_spec='$libname$release.a $libname.a'
   12114       soname_spec='$libname$release$shared_ext$major'
   12115       ;;
   12116     svr4,*) # full svr4 only
   12117       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12118       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12119       # We do not specify a path in Import Files, so LIBPATH fires.
   12120       shlibpath_overrides_runpath=yes
   12121       ;;
   12122     *,yes) # both, prefer svr4
   12123       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12124       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12125       # unpreferred sharedlib libNAME.a needs extra handling
   12126       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"'
   12127       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"'
   12128       # We do not specify a path in Import Files, so LIBPATH fires.
   12129       shlibpath_overrides_runpath=yes
   12130       ;;
   12131     *,no) # both, prefer aix
   12132       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12133       library_names_spec='$libname$release.a $libname.a'
   12134       soname_spec='$libname$release$shared_ext$major'
   12135       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12136       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)'
   12137       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"'
   12138       ;;
   12139     esac
   12140     shlibpath_var=LIBPATH
   12141   fi
   12142   ;;
   12143 
   12144 amigaos*)
   12145   case $host_cpu in
   12146   powerpc)
   12147     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12148     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12149     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12150     ;;
   12151   m68k)
   12152     library_names_spec='$libname.ixlibrary $libname.a'
   12153     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12154     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'
   12155     ;;
   12156   esac
   12157   ;;
   12158 
   12159 beos*)
   12160   library_names_spec='$libname$shared_ext'
   12161   dynamic_linker="$host_os ld.so"
   12162   shlibpath_var=LIBRARY_PATH
   12163   ;;
   12164 
   12165 bsdi[45]*)
   12166   version_type=linux # correct to gnu/linux during the next big refactor
   12167   need_version=no
   12168   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12169   soname_spec='$libname$release$shared_ext$major'
   12170   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12171   shlibpath_var=LD_LIBRARY_PATH
   12172   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12173   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12174   # the default ld.so.conf also contains /usr/contrib/lib and
   12175   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12176   # libtool to hard-code these into programs
   12177   ;;
   12178 
   12179 cygwin* | mingw* | windows* | pw32* | cegcc*)
   12180   version_type=windows
   12181   shrext_cmds=.dll
   12182   need_version=no
   12183   need_lib_prefix=no
   12184 
   12185   case $GCC,$cc_basename in
   12186   yes,*)
   12187     # gcc
   12188     library_names_spec='$libname.dll.a'
   12189     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12190     # If user builds GCC with multilib enabled,
   12191     # it should just install on $(libdir)
   12192     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   12193     if test xyes = x"$multilib"; then
   12194       postinstall_cmds='base_file=`basename \$file`~
   12195         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12196         dldir=$destdir/`dirname \$dlpath`~
   12197         $install_prog $dir/$dlname $destdir/$dlname~
   12198         chmod a+x $destdir/$dlname~
   12199         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12200           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   12201         fi'
   12202     else
   12203       postinstall_cmds='base_file=`basename \$file`~
   12204         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12205         dldir=$destdir/`dirname \$dlpath`~
   12206         test -d \$dldir || mkdir -p \$dldir~
   12207         $install_prog $dir/$dlname \$dldir/$dlname~
   12208         chmod a+x \$dldir/$dlname~
   12209         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12210           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12211         fi'
   12212     fi
   12213     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12214       dlpath=$dir/\$dldll~
   12215        $RM \$dlpath'
   12216     shlibpath_overrides_runpath=yes
   12217 
   12218     case $host_os in
   12219     cygwin*)
   12220       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12221       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12222 
   12223       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12224       ;;
   12225     mingw* | windows* | cegcc*)
   12226       # MinGW DLLs use traditional 'lib' prefix
   12227       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12228       ;;
   12229     pw32*)
   12230       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12231       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12232       ;;
   12233     esac
   12234     dynamic_linker='Win32 ld.exe'
   12235     ;;
   12236 
   12237   *,cl* | *,icl*)
   12238     # Native MSVC or ICC
   12239     libname_spec='$name'
   12240     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12241     library_names_spec='$libname.dll.lib'
   12242 
   12243     case $build_os in
   12244     mingw* | windows*)
   12245       sys_lib_search_path_spec=
   12246       lt_save_ifs=$IFS
   12247       IFS=';'
   12248       for lt_path in $LIB
   12249       do
   12250         IFS=$lt_save_ifs
   12251         # Let DOS variable expansion print the short 8.3 style file name.
   12252         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12253         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12254       done
   12255       IFS=$lt_save_ifs
   12256       # Convert to MSYS style.
   12257       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12258       ;;
   12259     cygwin*)
   12260       # Convert to unix form, then to dos form, then back to unix form
   12261       # but this time dos style (no spaces!) so that the unix form looks
   12262       # like /cygdrive/c/PROGRA~1:/cygdr...
   12263       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12264       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12265       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12266       ;;
   12267     *)
   12268       sys_lib_search_path_spec=$LIB
   12269       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12270         # It is most probably a Windows format PATH.
   12271         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12272       else
   12273         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12274       fi
   12275       # FIXME: find the short name or the path components, as spaces are
   12276       # common. (e.g. "Program Files" -> "PROGRA~1")
   12277       ;;
   12278     esac
   12279 
   12280     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12281     postinstall_cmds='base_file=`basename \$file`~
   12282       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12283       dldir=$destdir/`dirname \$dlpath`~
   12284       test -d \$dldir || mkdir -p \$dldir~
   12285       $install_prog $dir/$dlname \$dldir/$dlname'
   12286     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12287       dlpath=$dir/\$dldll~
   12288        $RM \$dlpath'
   12289     shlibpath_overrides_runpath=yes
   12290     dynamic_linker='Win32 link.exe'
   12291     ;;
   12292 
   12293   *)
   12294     # Assume MSVC and ICC wrapper
   12295     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12296     dynamic_linker='Win32 ld.exe'
   12297     ;;
   12298   esac
   12299   # FIXME: first we should search . and the directory the executable is in
   12300   shlibpath_var=PATH
   12301   ;;
   12302 
   12303 darwin* | rhapsody*)
   12304   dynamic_linker="$host_os dyld"
   12305   version_type=darwin
   12306   need_lib_prefix=no
   12307   need_version=no
   12308   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12309   soname_spec='$libname$release$major$shared_ext'
   12310   shlibpath_overrides_runpath=yes
   12311   shlibpath_var=DYLD_LIBRARY_PATH
   12312   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12313 
   12314   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12315   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12316   ;;
   12317 
   12318 dgux*)
   12319   version_type=linux # correct to gnu/linux during the next big refactor
   12320   need_lib_prefix=no
   12321   need_version=no
   12322   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12323   soname_spec='$libname$release$shared_ext$major'
   12324   shlibpath_var=LD_LIBRARY_PATH
   12325   ;;
   12326 
   12327 freebsd* | dragonfly* | midnightbsd*)
   12328   # DragonFly does not have aout.  When/if they implement a new
   12329   # versioning mechanism, adjust this.
   12330   if test -x /usr/bin/objformat; then
   12331     objformat=`/usr/bin/objformat`
   12332   else
   12333     case $host_os in
   12334     freebsd[23].*) objformat=aout ;;
   12335     *) objformat=elf ;;
   12336     esac
   12337   fi
   12338   version_type=freebsd-$objformat
   12339   case $version_type in
   12340     freebsd-elf*)
   12341       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12342       soname_spec='$libname$release$shared_ext$major'
   12343       need_version=no
   12344       need_lib_prefix=no
   12345       ;;
   12346     freebsd-*)
   12347       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12348       need_version=yes
   12349       ;;
   12350   esac
   12351   case $host_cpu in
   12352     powerpc64)
   12353       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   12354       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   12355       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12356 /* end confdefs.h.  */
   12357 int test_pointer_size[sizeof (void *) - 5];
   12358 
   12359 _ACEOF
   12360 if ac_fn_c_try_compile "$LINENO"
   12361 then :
   12362   shlibpath_var=LD_LIBRARY_PATH
   12363 else case e in #(
   12364   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   12365 esac
   12366 fi
   12367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12368       ;;
   12369     *)
   12370       shlibpath_var=LD_LIBRARY_PATH
   12371       ;;
   12372   esac
   12373   case $host_os in
   12374   freebsd2.*)
   12375     shlibpath_overrides_runpath=yes
   12376     ;;
   12377   freebsd3.[01]* | freebsdelf3.[01]*)
   12378     shlibpath_overrides_runpath=yes
   12379     hardcode_into_libs=yes
   12380     ;;
   12381   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12382   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12383     shlibpath_overrides_runpath=no
   12384     hardcode_into_libs=yes
   12385     ;;
   12386   *) # from 4.6 on, and DragonFly
   12387     shlibpath_overrides_runpath=yes
   12388     hardcode_into_libs=yes
   12389     ;;
   12390   esac
   12391   ;;
   12392 
   12393 haiku*)
   12394   version_type=linux # correct to gnu/linux during the next big refactor
   12395   need_lib_prefix=no
   12396   need_version=no
   12397   dynamic_linker="$host_os runtime_loader"
   12398   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12399   soname_spec='$libname$release$shared_ext$major'
   12400   shlibpath_var=LIBRARY_PATH
   12401   shlibpath_overrides_runpath=no
   12402   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   12403   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   12404   hardcode_into_libs=no
   12405   ;;
   12406 
   12407 hpux9* | hpux10* | hpux11*)
   12408   # Give a soname corresponding to the major version so that dld.sl refuses to
   12409   # link against other versions.
   12410   version_type=sunos
   12411   need_lib_prefix=no
   12412   need_version=no
   12413   case $host_cpu in
   12414   ia64*)
   12415     shrext_cmds='.so'
   12416     hardcode_into_libs=yes
   12417     dynamic_linker="$host_os dld.so"
   12418     shlibpath_var=LD_LIBRARY_PATH
   12419     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12420     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12421     soname_spec='$libname$release$shared_ext$major'
   12422     if test 32 = "$HPUX_IA64_MODE"; then
   12423       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12424       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12425     else
   12426       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12427       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12428     fi
   12429     ;;
   12430   hppa*64*)
   12431     shrext_cmds='.sl'
   12432     hardcode_into_libs=yes
   12433     dynamic_linker="$host_os dld.sl"
   12434     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12435     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12436     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12437     soname_spec='$libname$release$shared_ext$major'
   12438     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12439     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12440     ;;
   12441   *)
   12442     shrext_cmds='.sl'
   12443     dynamic_linker="$host_os dld.sl"
   12444     shlibpath_var=SHLIB_PATH
   12445     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12446     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12447     soname_spec='$libname$release$shared_ext$major'
   12448     ;;
   12449   esac
   12450   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12451   postinstall_cmds='chmod 555 $lib'
   12452   # or fails outright, so override atomically:
   12453   install_override_mode=555
   12454   ;;
   12455 
   12456 interix[3-9]*)
   12457   version_type=linux # correct to gnu/linux during the next big refactor
   12458   need_lib_prefix=no
   12459   need_version=no
   12460   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12461   soname_spec='$libname$release$shared_ext$major'
   12462   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12463   shlibpath_var=LD_LIBRARY_PATH
   12464   shlibpath_overrides_runpath=no
   12465   hardcode_into_libs=yes
   12466   ;;
   12467 
   12468 irix5* | irix6* | nonstopux*)
   12469   case $host_os in
   12470     nonstopux*) version_type=nonstopux ;;
   12471     *)
   12472 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12473 		version_type=linux # correct to gnu/linux during the next big refactor
   12474 	else
   12475 		version_type=irix
   12476 	fi ;;
   12477   esac
   12478   need_lib_prefix=no
   12479   need_version=no
   12480   soname_spec='$libname$release$shared_ext$major'
   12481   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12482   case $host_os in
   12483   irix5* | nonstopux*)
   12484     libsuff= shlibsuff=
   12485     ;;
   12486   *)
   12487     case $LD in # libtool.m4 will add one of these switches to LD
   12488     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12489       libsuff= shlibsuff= libmagic=32-bit;;
   12490     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12491       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12492     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12493       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12494     *) libsuff= shlibsuff= libmagic=never-match;;
   12495     esac
   12496     ;;
   12497   esac
   12498   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12499   shlibpath_overrides_runpath=no
   12500   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12501   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12502   hardcode_into_libs=yes
   12503   ;;
   12504 
   12505 # No shared lib support for Linux oldld, aout, or coff.
   12506 linux*oldld* | linux*aout* | linux*coff*)
   12507   dynamic_linker=no
   12508   ;;
   12509 
   12510 linux*android*)
   12511   version_type=none # Android doesn't support versioned libraries.
   12512   need_lib_prefix=no
   12513   need_version=no
   12514   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12515   soname_spec='$libname$release$shared_ext'
   12516   finish_cmds=
   12517   shlibpath_var=LD_LIBRARY_PATH
   12518   shlibpath_overrides_runpath=yes
   12519 
   12520   # This implies no fast_install, which is unacceptable.
   12521   # Some rework will be needed to allow for fast_install
   12522   # before this can be enabled.
   12523   hardcode_into_libs=yes
   12524 
   12525   dynamic_linker='Android linker'
   12526   # -rpath works at least for libraries that are not overridden by
   12527   # libraries installed in system locations.
   12528   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12529   ;;
   12530 
   12531 # This must be glibc/ELF.
   12532 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12533   version_type=linux # correct to gnu/linux during the next big refactor
   12534   need_lib_prefix=no
   12535   need_version=no
   12536   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12537   soname_spec='$libname$release$shared_ext$major'
   12538   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12539   shlibpath_var=LD_LIBRARY_PATH
   12540   shlibpath_overrides_runpath=no
   12541 
   12542   # Some binutils ld are patched to set DT_RUNPATH
   12543   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12544 then :
   12545   printf %s "(cached) " >&6
   12546 else case e in #(
   12547   e) lt_cv_shlibpath_overrides_runpath=no
   12548     save_LDFLAGS=$LDFLAGS
   12549     save_libdir=$libdir
   12550     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12551 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12552     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12553 /* end confdefs.h.  */
   12554 
   12555 int
   12556 main (void)
   12557 {
   12558 
   12559   ;
   12560   return 0;
   12561 }
   12562 _ACEOF
   12563 if ac_fn_c_try_link "$LINENO"
   12564 then :
   12565   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12566 then :
   12567   lt_cv_shlibpath_overrides_runpath=yes
   12568 fi
   12569 fi
   12570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12571     conftest$ac_exeext conftest.$ac_ext
   12572     LDFLAGS=$save_LDFLAGS
   12573     libdir=$save_libdir
   12574      ;;
   12575 esac
   12576 fi
   12577 
   12578   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12579 
   12580   # This implies no fast_install, which is unacceptable.
   12581   # Some rework will be needed to allow for fast_install
   12582   # before this can be enabled.
   12583   hardcode_into_libs=yes
   12584 
   12585   # Add ABI-specific directories to the system library path.
   12586   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   12587 
   12588   # Ideally, we could use ldconfig to report *all* directories which are
   12589   # searched for libraries, however this is still not possible.  Aside from not
   12590   # being certain /sbin/ldconfig is available, command
   12591   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12592   # even though it is searched at run-time.  Try to do the best guess by
   12593   # appending ld.so.conf contents (and includes) to the search path.
   12594   if test -f /etc/ld.so.conf; then
   12595     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' ' '`
   12596     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   12597   fi
   12598 
   12599   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12600   # powerpc, because MkLinux only supported shared libraries with the
   12601   # GNU dynamic linker.  Since this was broken with cross compilers,
   12602   # most powerpc-linux boxes support dynamic linking these days and
   12603   # people can always --disable-shared, the test was removed, and we
   12604   # assume the GNU/Linux dynamic linker is in use.
   12605   dynamic_linker='GNU/Linux ld.so'
   12606   ;;
   12607 
   12608 netbsdelf*-gnu)
   12609   version_type=linux
   12610   need_lib_prefix=no
   12611   need_version=no
   12612   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12613   soname_spec='$libname$release$shared_ext$major'
   12614   shlibpath_var=LD_LIBRARY_PATH
   12615   shlibpath_overrides_runpath=no
   12616   hardcode_into_libs=yes
   12617   dynamic_linker='NetBSD ld.elf_so'
   12618   ;;
   12619 
   12620 netbsd*)
   12621   version_type=sunos
   12622   need_lib_prefix=no
   12623   need_version=no
   12624   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12625     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12626     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12627     dynamic_linker='NetBSD (a.out) ld.so'
   12628   else
   12629     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12630     soname_spec='$libname$release$shared_ext$major'
   12631     dynamic_linker='NetBSD ld.elf_so'
   12632   fi
   12633   shlibpath_var=LD_LIBRARY_PATH
   12634   shlibpath_overrides_runpath=yes
   12635   hardcode_into_libs=yes
   12636   ;;
   12637 
   12638 *-mlibc)
   12639   version_type=linux # correct to gnu/linux during the next big refactor
   12640   need_lib_prefix=no
   12641   need_version=no
   12642   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12643   soname_spec='$libname$release$shared_ext$major'
   12644   dynamic_linker='mlibc ld.so'
   12645   shlibpath_var=LD_LIBRARY_PATH
   12646   shlibpath_overrides_runpath=no
   12647   hardcode_into_libs=yes
   12648   ;;
   12649 
   12650 newsos6)
   12651   version_type=linux # correct to gnu/linux during the next big refactor
   12652   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12653   shlibpath_var=LD_LIBRARY_PATH
   12654   shlibpath_overrides_runpath=yes
   12655   ;;
   12656 
   12657 *nto* | *qnx*)
   12658   version_type=qnx
   12659   need_lib_prefix=no
   12660   need_version=no
   12661   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12662   soname_spec='$libname$release$shared_ext$major'
   12663   shlibpath_var=LD_LIBRARY_PATH
   12664   shlibpath_overrides_runpath=no
   12665   hardcode_into_libs=yes
   12666   dynamic_linker='ldqnx.so'
   12667   ;;
   12668 
   12669 openbsd*)
   12670   version_type=sunos
   12671   sys_lib_dlsearch_path_spec=/usr/lib
   12672   need_lib_prefix=no
   12673   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12674     need_version=no
   12675   else
   12676     need_version=yes
   12677   fi
   12678   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12679   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12680   shlibpath_var=LD_LIBRARY_PATH
   12681   shlibpath_overrides_runpath=yes
   12682   ;;
   12683 
   12684 os2*)
   12685   libname_spec='$name'
   12686   version_type=windows
   12687   shrext_cmds=.dll
   12688   need_version=no
   12689   need_lib_prefix=no
   12690   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12691   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12692     v=$($ECHO $release$versuffix | tr -d .-);
   12693     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12694     $ECHO $n$v`$shared_ext'
   12695   library_names_spec='${libname}_dll.$libext'
   12696   dynamic_linker='OS/2 ld.exe'
   12697   shlibpath_var=BEGINLIBPATH
   12698   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12699   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12700   postinstall_cmds='base_file=`basename \$file`~
   12701     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12702     dldir=$destdir/`dirname \$dlpath`~
   12703     test -d \$dldir || mkdir -p \$dldir~
   12704     $install_prog $dir/$dlname \$dldir/$dlname~
   12705     chmod a+x \$dldir/$dlname~
   12706     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12707       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12708     fi'
   12709   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12710     dlpath=$dir/\$dldll~
   12711     $RM \$dlpath'
   12712   ;;
   12713 
   12714 osf3* | osf4* | osf5*)
   12715   version_type=osf
   12716   need_lib_prefix=no
   12717   need_version=no
   12718   soname_spec='$libname$release$shared_ext$major'
   12719   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12720   shlibpath_var=LD_LIBRARY_PATH
   12721   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12722   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12723   ;;
   12724 
   12725 rdos*)
   12726   dynamic_linker=no
   12727   ;;
   12728 
   12729 serenity*)
   12730   version_type=linux # correct to gnu/linux during the next big refactor
   12731   need_lib_prefix=no
   12732   need_version=no
   12733   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12734   soname_spec='$libname$release$shared_ext$major'
   12735   shlibpath_var=LD_LIBRARY_PATH
   12736   shlibpath_overrides_runpath=no
   12737   dynamic_linker='SerenityOS LibELF'
   12738   ;;
   12739 
   12740 solaris*)
   12741   version_type=linux # correct to gnu/linux during the next big refactor
   12742   need_lib_prefix=no
   12743   need_version=no
   12744   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12745   soname_spec='$libname$release$shared_ext$major'
   12746   shlibpath_var=LD_LIBRARY_PATH
   12747   shlibpath_overrides_runpath=yes
   12748   hardcode_into_libs=yes
   12749   # ldd complains unless libraries are executable
   12750   postinstall_cmds='chmod +x $lib'
   12751   ;;
   12752 
   12753 sunos4*)
   12754   version_type=sunos
   12755   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12756   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12757   shlibpath_var=LD_LIBRARY_PATH
   12758   shlibpath_overrides_runpath=yes
   12759   if test yes = "$with_gnu_ld"; then
   12760     need_lib_prefix=no
   12761   fi
   12762   need_version=yes
   12763   ;;
   12764 
   12765 sysv4 | sysv4.3*)
   12766   version_type=linux # correct to gnu/linux during the next big refactor
   12767   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12768   soname_spec='$libname$release$shared_ext$major'
   12769   shlibpath_var=LD_LIBRARY_PATH
   12770   case $host_vendor in
   12771     sni)
   12772       shlibpath_overrides_runpath=no
   12773       need_lib_prefix=no
   12774       runpath_var=LD_RUN_PATH
   12775       ;;
   12776     siemens)
   12777       need_lib_prefix=no
   12778       ;;
   12779     motorola)
   12780       need_lib_prefix=no
   12781       need_version=no
   12782       shlibpath_overrides_runpath=no
   12783       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12784       ;;
   12785   esac
   12786   ;;
   12787 
   12788 sysv4*MP*)
   12789   if test -d /usr/nec; then
   12790     version_type=linux # correct to gnu/linux during the next big refactor
   12791     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12792     soname_spec='$libname$shared_ext.$major'
   12793     shlibpath_var=LD_LIBRARY_PATH
   12794   fi
   12795   ;;
   12796 
   12797 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12798   version_type=sco
   12799   need_lib_prefix=no
   12800   need_version=no
   12801   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12802   soname_spec='$libname$release$shared_ext$major'
   12803   shlibpath_var=LD_LIBRARY_PATH
   12804   shlibpath_overrides_runpath=yes
   12805   hardcode_into_libs=yes
   12806   if test yes = "$with_gnu_ld"; then
   12807     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12808   else
   12809     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12810     case $host_os in
   12811       sco3.2v5*)
   12812         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12813 	;;
   12814     esac
   12815   fi
   12816   sys_lib_dlsearch_path_spec='/usr/lib'
   12817   ;;
   12818 
   12819 tpf*)
   12820   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12821   version_type=linux # correct to gnu/linux during the next big refactor
   12822   need_lib_prefix=no
   12823   need_version=no
   12824   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12825   shlibpath_var=LD_LIBRARY_PATH
   12826   shlibpath_overrides_runpath=no
   12827   hardcode_into_libs=yes
   12828   ;;
   12829 
   12830 uts4*)
   12831   version_type=linux # correct to gnu/linux during the next big refactor
   12832   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12833   soname_spec='$libname$release$shared_ext$major'
   12834   shlibpath_var=LD_LIBRARY_PATH
   12835   ;;
   12836 
   12837 emscripten*)
   12838   version_type=none
   12839   need_lib_prefix=no
   12840   need_version=no
   12841   library_names_spec='$libname$release$shared_ext'
   12842   soname_spec='$libname$release$shared_ext'
   12843   finish_cmds=
   12844   dynamic_linker="Emscripten linker"
   12845   lt_prog_compiler_wl=
   12846 lt_prog_compiler_pic=
   12847 lt_prog_compiler_static=
   12848 
   12849 
   12850   if test yes = "$GCC"; then
   12851     lt_prog_compiler_wl='-Wl,'
   12852     lt_prog_compiler_static='-static'
   12853 
   12854     case $host_os in
   12855       aix*)
   12856       # All AIX code is PIC.
   12857       if test ia64 = "$host_cpu"; then
   12858 	# AIX 5 now supports IA64 processor
   12859 	lt_prog_compiler_static='-Bstatic'
   12860       fi
   12861       lt_prog_compiler_pic='-fPIC'
   12862       ;;
   12863 
   12864     amigaos*)
   12865       case $host_cpu in
   12866       powerpc)
   12867             # see comment about AmigaOS4 .so support
   12868             lt_prog_compiler_pic='-fPIC'
   12869         ;;
   12870       m68k)
   12871             # FIXME: we need at least 68020 code to build shared libraries, but
   12872             # adding the '-m68020' flag to GCC prevents building anything better,
   12873             # like '-m68040'.
   12874             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12875         ;;
   12876       esac
   12877       ;;
   12878 
   12879     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12880       # PIC is the default for these OSes.
   12881       ;;
   12882 
   12883     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12884       # This hack is so that the source file can tell whether it is being
   12885       # built for inclusion in a dll (and should export symbols for example).
   12886       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12887       # (--disable-auto-import) libraries
   12888       lt_prog_compiler_pic='-DDLL_EXPORT'
   12889       case $host_os in
   12890       os2*)
   12891 	lt_prog_compiler_static='$wl-static'
   12892 	;;
   12893       esac
   12894       ;;
   12895 
   12896     darwin* | rhapsody*)
   12897       # PIC is the default on this platform
   12898       # Common symbols not allowed in MH_DYLIB files
   12899       lt_prog_compiler_pic='-fno-common'
   12900       ;;
   12901 
   12902     haiku*)
   12903       # PIC is the default for Haiku.
   12904       # The "-static" flag exists, but is broken.
   12905       lt_prog_compiler_static=
   12906       ;;
   12907 
   12908     hpux*)
   12909       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12910       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12911       # sets the default TLS model and affects inlining.
   12912       case $host_cpu in
   12913       hppa*64*)
   12914 	# +Z the default
   12915 	;;
   12916       *)
   12917 	lt_prog_compiler_pic='-fPIC'
   12918 	;;
   12919       esac
   12920       ;;
   12921 
   12922     interix[3-9]*)
   12923       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12924       # Instead, we relocate shared libraries at runtime.
   12925       ;;
   12926 
   12927     msdosdjgpp*)
   12928       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12929       # on systems that don't support them.
   12930       lt_prog_compiler_can_build_shared=no
   12931       enable_shared=no
   12932       ;;
   12933 
   12934     *nto* | *qnx*)
   12935       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12936       # it will coredump.
   12937       lt_prog_compiler_pic='-fPIC -shared'
   12938       ;;
   12939 
   12940     sysv4*MP*)
   12941       if test -d /usr/nec; then
   12942 	lt_prog_compiler_pic=-Kconform_pic
   12943       fi
   12944       ;;
   12945 
   12946     *)
   12947       lt_prog_compiler_pic='-fPIC'
   12948       ;;
   12949     esac
   12950 
   12951     case $cc_basename in
   12952     nvcc*) # Cuda Compiler Driver 2.2
   12953       lt_prog_compiler_wl='-Xlinker '
   12954       if test -n "$lt_prog_compiler_pic"; then
   12955         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12956       fi
   12957       ;;
   12958     esac
   12959   else
   12960     # PORTME Check for flag to pass linker flags through the system compiler.
   12961     case $host_os in
   12962     aix*)
   12963       lt_prog_compiler_wl='-Wl,'
   12964       if test ia64 = "$host_cpu"; then
   12965 	# AIX 5 now supports IA64 processor
   12966 	lt_prog_compiler_static='-Bstatic'
   12967       else
   12968 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   12969       fi
   12970       ;;
   12971 
   12972     darwin* | rhapsody*)
   12973       # PIC is the default on this platform
   12974       # Common symbols not allowed in MH_DYLIB files
   12975       lt_prog_compiler_pic='-fno-common'
   12976       case $cc_basename in
   12977       nagfor*)
   12978         # NAG Fortran compiler
   12979         lt_prog_compiler_wl='-Wl,-Wl,,'
   12980         lt_prog_compiler_pic='-PIC'
   12981         lt_prog_compiler_static='-Bstatic'
   12982         ;;
   12983       esac
   12984       ;;
   12985 
   12986     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12987       # This hack is so that the source file can tell whether it is being
   12988       # built for inclusion in a dll (and should export symbols for example).
   12989       lt_prog_compiler_pic='-DDLL_EXPORT'
   12990       case $host_os in
   12991       os2*)
   12992 	lt_prog_compiler_static='$wl-static'
   12993 	;;
   12994       esac
   12995       ;;
   12996 
   12997     hpux9* | hpux10* | hpux11*)
   12998       lt_prog_compiler_wl='-Wl,'
   12999       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13000       # not for PA HP-UX.
   13001       case $host_cpu in
   13002       hppa*64*|ia64*)
   13003 	# +Z the default
   13004 	;;
   13005       *)
   13006 	lt_prog_compiler_pic='+Z'
   13007 	;;
   13008       esac
   13009       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13010       lt_prog_compiler_static='$wl-a ${wl}archive'
   13011       ;;
   13012 
   13013     irix5* | irix6* | nonstopux*)
   13014       lt_prog_compiler_wl='-Wl,'
   13015       # PIC (with -KPIC) is the default.
   13016       lt_prog_compiler_static='-non_shared'
   13017       ;;
   13018 
   13019     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13020       case $cc_basename in
   13021       # old Intel for x86_64, which still supported -KPIC.
   13022       ecc*)
   13023 	lt_prog_compiler_wl='-Wl,'
   13024 	lt_prog_compiler_pic='-KPIC'
   13025 	lt_prog_compiler_static='-static'
   13026         ;;
   13027       *flang* | ftn | f18* | f95*)
   13028         # Flang compiler.
   13029 	lt_prog_compiler_wl='-Wl,'
   13030 	lt_prog_compiler_pic='-fPIC'
   13031 	lt_prog_compiler_static='-static'
   13032         ;;
   13033       # icc used to be incompatible with GCC.
   13034       # ICC 10 doesn't accept -KPIC any more.
   13035       icc* | ifort*)
   13036 	lt_prog_compiler_wl='-Wl,'
   13037 	lt_prog_compiler_pic='-fPIC'
   13038 	lt_prog_compiler_static='-static'
   13039         ;;
   13040       # Lahey Fortran 8.1.
   13041       lf95*)
   13042 	lt_prog_compiler_wl='-Wl,'
   13043 	lt_prog_compiler_pic='--shared'
   13044 	lt_prog_compiler_static='--static'
   13045 	;;
   13046       nagfor*)
   13047 	# NAG Fortran compiler
   13048 	lt_prog_compiler_wl='-Wl,-Wl,,'
   13049 	lt_prog_compiler_pic='-PIC'
   13050 	lt_prog_compiler_static='-Bstatic'
   13051 	;;
   13052       tcc*)
   13053 	# Fabrice Bellard et al's Tiny C Compiler
   13054 	lt_prog_compiler_wl='-Wl,'
   13055 	lt_prog_compiler_pic='-fPIC'
   13056 	lt_prog_compiler_static='-static'
   13057 	;;
   13058       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   13059         # Portland Group compilers (*not* the Pentium gcc compiler,
   13060 	# which looks to be a dead project)
   13061 	lt_prog_compiler_wl='-Wl,'
   13062 	lt_prog_compiler_pic='-fpic'
   13063 	lt_prog_compiler_static='-Bstatic'
   13064         ;;
   13065       ccc*)
   13066         lt_prog_compiler_wl='-Wl,'
   13067         # All Alpha code is PIC.
   13068         lt_prog_compiler_static='-non_shared'
   13069         ;;
   13070       xl* | bgxl* | bgf* | mpixl*)
   13071 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   13072 	lt_prog_compiler_wl='-Wl,'
   13073 	lt_prog_compiler_pic='-qpic'
   13074 	lt_prog_compiler_static='-qstaticlink'
   13075 	;;
   13076       *)
   13077 	case `$CC -V 2>&1 | $SED 5q` in
   13078 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   13079 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13080 	  lt_prog_compiler_pic='-KPIC'
   13081 	  lt_prog_compiler_static='-Bstatic'
   13082 	  lt_prog_compiler_wl=''
   13083 	  ;;
   13084 	*Sun\ F* | *Sun*Fortran*)
   13085 	  lt_prog_compiler_pic='-KPIC'
   13086 	  lt_prog_compiler_static='-Bstatic'
   13087 	  lt_prog_compiler_wl='-Qoption ld '
   13088 	  ;;
   13089 	*Sun\ C*)
   13090 	  # Sun C 5.9
   13091 	  lt_prog_compiler_pic='-KPIC'
   13092 	  lt_prog_compiler_static='-Bstatic'
   13093 	  lt_prog_compiler_wl='-Wl,'
   13094 	  ;;
   13095         *Intel*\ [CF]*Compiler*)
   13096 	  lt_prog_compiler_wl='-Wl,'
   13097 	  lt_prog_compiler_pic='-fPIC'
   13098 	  lt_prog_compiler_static='-static'
   13099 	  ;;
   13100 	*Portland\ Group*)
   13101 	  lt_prog_compiler_wl='-Wl,'
   13102 	  lt_prog_compiler_pic='-fpic'
   13103 	  lt_prog_compiler_static='-Bstatic'
   13104 	  ;;
   13105 	esac
   13106 	;;
   13107       esac
   13108       ;;
   13109 
   13110     newsos6)
   13111       lt_prog_compiler_pic='-KPIC'
   13112       lt_prog_compiler_static='-Bstatic'
   13113       ;;
   13114 
   13115     *-mlibc)
   13116       lt_prog_compiler_wl='-Wl,'
   13117       lt_prog_compiler_pic='-fPIC'
   13118       lt_prog_compiler_static='-static'
   13119       ;;
   13120 
   13121     *nto* | *qnx*)
   13122       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13123       # it will coredump.
   13124       lt_prog_compiler_pic='-fPIC -shared'
   13125       ;;
   13126 
   13127     osf3* | osf4* | osf5*)
   13128       lt_prog_compiler_wl='-Wl,'
   13129       # All OSF/1 code is PIC.
   13130       lt_prog_compiler_static='-non_shared'
   13131       ;;
   13132 
   13133     rdos*)
   13134       lt_prog_compiler_static='-non_shared'
   13135       ;;
   13136 
   13137     serenity*)
   13138       ;;
   13139 
   13140     solaris*)
   13141       lt_prog_compiler_pic='-KPIC'
   13142       lt_prog_compiler_static='-Bstatic'
   13143       case $cc_basename in
   13144       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13145 	lt_prog_compiler_wl='-Qoption ld ';;
   13146       *)
   13147 	lt_prog_compiler_wl='-Wl,';;
   13148       esac
   13149       ;;
   13150 
   13151     sunos4*)
   13152       lt_prog_compiler_wl='-Qoption ld '
   13153       lt_prog_compiler_pic='-PIC'
   13154       lt_prog_compiler_static='-Bstatic'
   13155       ;;
   13156 
   13157     sysv4 | sysv4.2uw2* | sysv4.3*)
   13158       lt_prog_compiler_wl='-Wl,'
   13159       lt_prog_compiler_pic='-KPIC'
   13160       lt_prog_compiler_static='-Bstatic'
   13161       ;;
   13162 
   13163     sysv4*MP*)
   13164       if test -d /usr/nec; then
   13165 	lt_prog_compiler_pic='-Kconform_pic'
   13166 	lt_prog_compiler_static='-Bstatic'
   13167       fi
   13168       ;;
   13169 
   13170     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13171       lt_prog_compiler_wl='-Wl,'
   13172       lt_prog_compiler_pic='-KPIC'
   13173       lt_prog_compiler_static='-Bstatic'
   13174       ;;
   13175 
   13176     unicos*)
   13177       lt_prog_compiler_wl='-Wl,'
   13178       lt_prog_compiler_can_build_shared=no
   13179       ;;
   13180 
   13181     uts4*)
   13182       lt_prog_compiler_pic='-pic'
   13183       lt_prog_compiler_static='-Bstatic'
   13184       ;;
   13185 
   13186     *)
   13187       lt_prog_compiler_can_build_shared=no
   13188       ;;
   13189     esac
   13190   fi
   13191 
   13192 case $host_os in
   13193   # For platforms that do not support PIC, -DPIC is meaningless:
   13194   *djgpp*)
   13195     lt_prog_compiler_pic=
   13196     ;;
   13197   *)
   13198     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13199     ;;
   13200 esac
   13201 
   13202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13203 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13204 if test ${lt_cv_prog_compiler_pic+y}
   13205 then :
   13206   printf %s "(cached) " >&6
   13207 else case e in #(
   13208   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   13209 esac
   13210 fi
   13211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13212 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   13213 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13214 
   13215 #
   13216 # Check to make sure the PIC flag actually works.
   13217 #
   13218 if test -n "$lt_prog_compiler_pic"; then
   13219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13220 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13221 if test ${lt_cv_prog_compiler_pic_works+y}
   13222 then :
   13223   printf %s "(cached) " >&6
   13224 else case e in #(
   13225   e) lt_cv_prog_compiler_pic_works=no
   13226    ac_outfile=conftest.$ac_objext
   13227    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13228    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13229    # Insert the option either (1) after the last *FLAGS variable, or
   13230    # (2) before a word containing "conftest.", or (3) at the end.
   13231    # Note that $ac_compile itself does not contain backslashes and begins
   13232    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13233    # The option is referenced via a variable to avoid confusing sed.
   13234    lt_compile=`echo "$ac_compile" | $SED \
   13235    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13236    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13237    -e 's:$: $lt_compiler_flag:'`
   13238    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13239    (eval "$lt_compile" 2>conftest.err)
   13240    ac_status=$?
   13241    cat conftest.err >&5
   13242    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13243    if (exit $ac_status) && test -s "$ac_outfile"; then
   13244      # The compiler can only warn and ignore the option if not recognized
   13245      # So say no if there are warnings other than the usual output.
   13246      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13247      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13248      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13249        lt_cv_prog_compiler_pic_works=yes
   13250      fi
   13251    fi
   13252    $RM conftest*
   13253  ;;
   13254 esac
   13255 fi
   13256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13257 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   13258 
   13259 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13260     case $lt_prog_compiler_pic in
   13261      "" | " "*) ;;
   13262      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13263      esac
   13264 else
   13265     lt_prog_compiler_pic=
   13266      lt_prog_compiler_can_build_shared=no
   13267 fi
   13268 
   13269 fi
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 #
   13276 # Check to make sure the static flag actually works.
   13277 #
   13278 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13280 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13281 if test ${lt_cv_prog_compiler_static_works+y}
   13282 then :
   13283   printf %s "(cached) " >&6
   13284 else case e in #(
   13285   e) lt_cv_prog_compiler_static_works=no
   13286    save_LDFLAGS=$LDFLAGS
   13287    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13288    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13289    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13290      # The linker can only warn and ignore the option if not recognized
   13291      # So say no if there are warnings
   13292      if test -s conftest.err; then
   13293        # Append any errors to the config.log.
   13294        cat conftest.err 1>&5
   13295        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13296        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13297        if diff conftest.exp conftest.er2 >/dev/null; then
   13298          lt_cv_prog_compiler_static_works=yes
   13299        fi
   13300      else
   13301        lt_cv_prog_compiler_static_works=yes
   13302      fi
   13303    fi
   13304    $RM -r conftest*
   13305    LDFLAGS=$save_LDFLAGS
   13306  ;;
   13307 esac
   13308 fi
   13309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13310 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   13311 
   13312 if test yes = "$lt_cv_prog_compiler_static_works"; then
   13313     :
   13314 else
   13315     lt_prog_compiler_static=
   13316 fi
   13317 
   13318 
   13319 
   13320 ='-fPIC'
   13321   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   13322   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'
   13323   archive_cmds_need_lc=no
   13324   no_undefined_flag=
   13325   ;;
   13326 
   13327 *)
   13328   dynamic_linker=no
   13329   ;;
   13330 esac
   13331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13332 printf "%s\n" "$dynamic_linker" >&6; }
   13333 test no = "$dynamic_linker" && can_build_shared=no
   13334 
   13335 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13336 if test yes = "$GCC"; then
   13337   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13338 fi
   13339 
   13340 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13341   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13342 fi
   13343 
   13344 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13345   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13346 fi
   13347 
   13348 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13349 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13350 
   13351 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13352 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13353 
   13354 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13355 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 
   13365 
   13366 
   13367 
   13368 
   13369 
   13370 
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 
   13437 
   13438 
   13439 
   13440 
   13441 
   13442 
   13443 
   13444 
   13445 
   13446 
   13447 
   13448 
   13449 
   13450 
   13451 
   13452 
   13453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13454 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13455 hardcode_action=
   13456 if test -n "$hardcode_libdir_flag_spec" ||
   13457    test -n "$runpath_var" ||
   13458    test yes = "$hardcode_automatic"; then
   13459 
   13460   # We can hardcode non-existent directories.
   13461   if test no != "$hardcode_direct" &&
   13462      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13463      # have to relink, otherwise we might link with an installed library
   13464      # when we should be linking with a yet-to-be-installed one
   13465      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13466      test no != "$hardcode_minus_L"; then
   13467     # Linking always hardcodes the temporary library directory.
   13468     hardcode_action=relink
   13469   else
   13470     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13471     hardcode_action=immediate
   13472   fi
   13473 else
   13474   # We cannot hardcode anything, or else we can only hardcode existing
   13475   # directories.
   13476   hardcode_action=unsupported
   13477 fi
   13478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13479 printf "%s\n" "$hardcode_action" >&6; }
   13480 
   13481 if test relink = "$hardcode_action" ||
   13482    test yes = "$inherit_rpath"; then
   13483   # Fast installation is not supported
   13484   enable_fast_install=no
   13485 elif test yes = "$shlibpath_overrides_runpath" ||
   13486      test no = "$enable_shared"; then
   13487   # Fast installation is not necessary
   13488   enable_fast_install=needless
   13489 fi
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 
   13496   if test yes != "$enable_dlopen"; then
   13497   enable_dlopen=unknown
   13498   enable_dlopen_self=unknown
   13499   enable_dlopen_self_static=unknown
   13500 else
   13501   lt_cv_dlopen=no
   13502   lt_cv_dlopen_libs=
   13503 
   13504   case $host_os in
   13505   beos*)
   13506     lt_cv_dlopen=load_add_on
   13507     lt_cv_dlopen_libs=
   13508     lt_cv_dlopen_self=yes
   13509     ;;
   13510 
   13511   mingw* | windows* | pw32* | cegcc*)
   13512     lt_cv_dlopen=LoadLibrary
   13513     lt_cv_dlopen_libs=
   13514     ;;
   13515 
   13516   cygwin*)
   13517     lt_cv_dlopen=dlopen
   13518     lt_cv_dlopen_libs=
   13519     ;;
   13520 
   13521   darwin*)
   13522     # if libdl is installed we need to link against it
   13523     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13524 printf %s "checking for dlopen in -ldl... " >&6; }
   13525 if test ${ac_cv_lib_dl_dlopen+y}
   13526 then :
   13527   printf %s "(cached) " >&6
   13528 else case e in #(
   13529   e) ac_check_lib_save_LIBS=$LIBS
   13530 LIBS="-ldl  $LIBS"
   13531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13532 /* end confdefs.h.  */
   13533 
   13534 /* Override any GCC internal prototype to avoid an error.
   13535    Use char because int might match the return type of a GCC
   13536    builtin and then its argument prototype would still apply.
   13537    The 'extern "C"' is for builds by C++ compilers;
   13538    although this is not generally supported in C code supporting it here
   13539    has little cost and some practical benefit (sr 110532).  */
   13540 #ifdef __cplusplus
   13541 extern "C"
   13542 #endif
   13543 char dlopen (void);
   13544 int
   13545 main (void)
   13546 {
   13547 return dlopen ();
   13548   ;
   13549   return 0;
   13550 }
   13551 _ACEOF
   13552 if ac_fn_c_try_link "$LINENO"
   13553 then :
   13554   ac_cv_lib_dl_dlopen=yes
   13555 else case e in #(
   13556   e) ac_cv_lib_dl_dlopen=no ;;
   13557 esac
   13558 fi
   13559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13560     conftest$ac_exeext conftest.$ac_ext
   13561 LIBS=$ac_check_lib_save_LIBS ;;
   13562 esac
   13563 fi
   13564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13565 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13566 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13567 then :
   13568   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13569 else case e in #(
   13570   e)
   13571     lt_cv_dlopen=dyld
   13572     lt_cv_dlopen_libs=
   13573     lt_cv_dlopen_self=yes
   13574      ;;
   13575 esac
   13576 fi
   13577 
   13578     ;;
   13579 
   13580   tpf*)
   13581     # Don't try to run any link tests for TPF.  We know it's impossible
   13582     # because TPF is a cross-compiler, and we know how we open DSOs.
   13583     lt_cv_dlopen=dlopen
   13584     lt_cv_dlopen_libs=
   13585     lt_cv_dlopen_self=no
   13586     ;;
   13587 
   13588   *)
   13589     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13590 if test "x$ac_cv_func_shl_load" = xyes
   13591 then :
   13592   lt_cv_dlopen=shl_load
   13593 else case e in #(
   13594   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13595 printf %s "checking for shl_load in -ldld... " >&6; }
   13596 if test ${ac_cv_lib_dld_shl_load+y}
   13597 then :
   13598   printf %s "(cached) " >&6
   13599 else case e in #(
   13600   e) ac_check_lib_save_LIBS=$LIBS
   13601 LIBS="-ldld  $LIBS"
   13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13603 /* end confdefs.h.  */
   13604 
   13605 /* Override any GCC internal prototype to avoid an error.
   13606    Use char because int might match the return type of a GCC
   13607    builtin and then its argument prototype would still apply.
   13608    The 'extern "C"' is for builds by C++ compilers;
   13609    although this is not generally supported in C code supporting it here
   13610    has little cost and some practical benefit (sr 110532).  */
   13611 #ifdef __cplusplus
   13612 extern "C"
   13613 #endif
   13614 char shl_load (void);
   13615 int
   13616 main (void)
   13617 {
   13618 return shl_load ();
   13619   ;
   13620   return 0;
   13621 }
   13622 _ACEOF
   13623 if ac_fn_c_try_link "$LINENO"
   13624 then :
   13625   ac_cv_lib_dld_shl_load=yes
   13626 else case e in #(
   13627   e) ac_cv_lib_dld_shl_load=no ;;
   13628 esac
   13629 fi
   13630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13631     conftest$ac_exeext conftest.$ac_ext
   13632 LIBS=$ac_check_lib_save_LIBS ;;
   13633 esac
   13634 fi
   13635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13636 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13637 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13638 then :
   13639   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13640 else case e in #(
   13641   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13642 if test "x$ac_cv_func_dlopen" = xyes
   13643 then :
   13644   lt_cv_dlopen=dlopen
   13645 else case e in #(
   13646   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13647 printf %s "checking for dlopen in -ldl... " >&6; }
   13648 if test ${ac_cv_lib_dl_dlopen+y}
   13649 then :
   13650   printf %s "(cached) " >&6
   13651 else case e in #(
   13652   e) ac_check_lib_save_LIBS=$LIBS
   13653 LIBS="-ldl  $LIBS"
   13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13655 /* end confdefs.h.  */
   13656 
   13657 /* Override any GCC internal prototype to avoid an error.
   13658    Use char because int might match the return type of a GCC
   13659    builtin and then its argument prototype would still apply.
   13660    The 'extern "C"' is for builds by C++ compilers;
   13661    although this is not generally supported in C code supporting it here
   13662    has little cost and some practical benefit (sr 110532).  */
   13663 #ifdef __cplusplus
   13664 extern "C"
   13665 #endif
   13666 char dlopen (void);
   13667 int
   13668 main (void)
   13669 {
   13670 return dlopen ();
   13671   ;
   13672   return 0;
   13673 }
   13674 _ACEOF
   13675 if ac_fn_c_try_link "$LINENO"
   13676 then :
   13677   ac_cv_lib_dl_dlopen=yes
   13678 else case e in #(
   13679   e) ac_cv_lib_dl_dlopen=no ;;
   13680 esac
   13681 fi
   13682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13683     conftest$ac_exeext conftest.$ac_ext
   13684 LIBS=$ac_check_lib_save_LIBS ;;
   13685 esac
   13686 fi
   13687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13688 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13689 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13690 then :
   13691   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13692 else case e in #(
   13693   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13694 printf %s "checking for dlopen in -lsvld... " >&6; }
   13695 if test ${ac_cv_lib_svld_dlopen+y}
   13696 then :
   13697   printf %s "(cached) " >&6
   13698 else case e in #(
   13699   e) ac_check_lib_save_LIBS=$LIBS
   13700 LIBS="-lsvld  $LIBS"
   13701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13702 /* end confdefs.h.  */
   13703 
   13704 /* Override any GCC internal prototype to avoid an error.
   13705    Use char because int might match the return type of a GCC
   13706    builtin and then its argument prototype would still apply.
   13707    The 'extern "C"' is for builds by C++ compilers;
   13708    although this is not generally supported in C code supporting it here
   13709    has little cost and some practical benefit (sr 110532).  */
   13710 #ifdef __cplusplus
   13711 extern "C"
   13712 #endif
   13713 char dlopen (void);
   13714 int
   13715 main (void)
   13716 {
   13717 return dlopen ();
   13718   ;
   13719   return 0;
   13720 }
   13721 _ACEOF
   13722 if ac_fn_c_try_link "$LINENO"
   13723 then :
   13724   ac_cv_lib_svld_dlopen=yes
   13725 else case e in #(
   13726   e) ac_cv_lib_svld_dlopen=no ;;
   13727 esac
   13728 fi
   13729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13730     conftest$ac_exeext conftest.$ac_ext
   13731 LIBS=$ac_check_lib_save_LIBS ;;
   13732 esac
   13733 fi
   13734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13735 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13736 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13737 then :
   13738   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13739 else case e in #(
   13740   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13741 printf %s "checking for dld_link in -ldld... " >&6; }
   13742 if test ${ac_cv_lib_dld_dld_link+y}
   13743 then :
   13744   printf %s "(cached) " >&6
   13745 else case e in #(
   13746   e) ac_check_lib_save_LIBS=$LIBS
   13747 LIBS="-ldld  $LIBS"
   13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13749 /* end confdefs.h.  */
   13750 
   13751 /* Override any GCC internal prototype to avoid an error.
   13752    Use char because int might match the return type of a GCC
   13753    builtin and then its argument prototype would still apply.
   13754    The 'extern "C"' is for builds by C++ compilers;
   13755    although this is not generally supported in C code supporting it here
   13756    has little cost and some practical benefit (sr 110532).  */
   13757 #ifdef __cplusplus
   13758 extern "C"
   13759 #endif
   13760 char dld_link (void);
   13761 int
   13762 main (void)
   13763 {
   13764 return dld_link ();
   13765   ;
   13766   return 0;
   13767 }
   13768 _ACEOF
   13769 if ac_fn_c_try_link "$LINENO"
   13770 then :
   13771   ac_cv_lib_dld_dld_link=yes
   13772 else case e in #(
   13773   e) ac_cv_lib_dld_dld_link=no ;;
   13774 esac
   13775 fi
   13776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13777     conftest$ac_exeext conftest.$ac_ext
   13778 LIBS=$ac_check_lib_save_LIBS ;;
   13779 esac
   13780 fi
   13781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13782 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13783 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13784 then :
   13785   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13786 fi
   13787 
   13788 	       ;;
   13789 esac
   13790 fi
   13791 
   13792 	     ;;
   13793 esac
   13794 fi
   13795 
   13796 	   ;;
   13797 esac
   13798 fi
   13799 
   13800 	 ;;
   13801 esac
   13802 fi
   13803 
   13804        ;;
   13805 esac
   13806 fi
   13807 
   13808     ;;
   13809   esac
   13810 
   13811   if test no = "$lt_cv_dlopen"; then
   13812     enable_dlopen=no
   13813   else
   13814     enable_dlopen=yes
   13815   fi
   13816 
   13817   case $lt_cv_dlopen in
   13818   dlopen)
   13819     save_CPPFLAGS=$CPPFLAGS
   13820     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13821 
   13822     save_LDFLAGS=$LDFLAGS
   13823     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13824 
   13825     save_LIBS=$LIBS
   13826     LIBS="$lt_cv_dlopen_libs $LIBS"
   13827 
   13828     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13829 printf %s "checking whether a program can dlopen itself... " >&6; }
   13830 if test ${lt_cv_dlopen_self+y}
   13831 then :
   13832   printf %s "(cached) " >&6
   13833 else case e in #(
   13834   e) 	  if test yes = "$cross_compiling"; then :
   13835   lt_cv_dlopen_self=cross
   13836 else
   13837   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13838   lt_status=$lt_dlunknown
   13839   cat > conftest.$ac_ext <<_LT_EOF
   13840 #line $LINENO "configure"
   13841 #include "confdefs.h"
   13842 
   13843 #if HAVE_DLFCN_H
   13844 #include <dlfcn.h>
   13845 #endif
   13846 
   13847 #include <stdio.h>
   13848 
   13849 #ifdef RTLD_GLOBAL
   13850 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13851 #else
   13852 #  ifdef DL_GLOBAL
   13853 #    define LT_DLGLOBAL		DL_GLOBAL
   13854 #  else
   13855 #    define LT_DLGLOBAL		0
   13856 #  endif
   13857 #endif
   13858 
   13859 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13860    find out it does not work in some platform. */
   13861 #ifndef LT_DLLAZY_OR_NOW
   13862 #  ifdef RTLD_LAZY
   13863 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13864 #  else
   13865 #    ifdef DL_LAZY
   13866 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13867 #    else
   13868 #      ifdef RTLD_NOW
   13869 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13870 #      else
   13871 #        ifdef DL_NOW
   13872 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13873 #        else
   13874 #          define LT_DLLAZY_OR_NOW	0
   13875 #        endif
   13876 #      endif
   13877 #    endif
   13878 #  endif
   13879 #endif
   13880 
   13881 /* When -fvisibility=hidden is used, assume the code has been annotated
   13882    correspondingly for the symbols needed.  */
   13883 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13884 int fnord (void) __attribute__((visibility("default")));
   13885 #endif
   13886 
   13887 int fnord (void) { return 42; }
   13888 int main (void)
   13889 {
   13890   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13891   int status = $lt_dlunknown;
   13892 
   13893   if (self)
   13894     {
   13895       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13896       else
   13897         {
   13898 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13899           else puts (dlerror ());
   13900 	}
   13901       /* dlclose (self); */
   13902     }
   13903   else
   13904     puts (dlerror ());
   13905 
   13906   return status;
   13907 }
   13908 _LT_EOF
   13909   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13910   (eval $ac_link) 2>&5
   13911   ac_status=$?
   13912   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13913   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13914     (./conftest; exit; ) >&5 2>/dev/null
   13915     lt_status=$?
   13916     case x$lt_status in
   13917       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13918       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13919       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13920     esac
   13921   else :
   13922     # compilation failed
   13923     lt_cv_dlopen_self=no
   13924   fi
   13925 fi
   13926 rm -fr conftest*
   13927 
   13928      ;;
   13929 esac
   13930 fi
   13931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13932 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13933 
   13934     if test yes = "$lt_cv_dlopen_self"; then
   13935       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13936       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13937 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13938 if test ${lt_cv_dlopen_self_static+y}
   13939 then :
   13940   printf %s "(cached) " >&6
   13941 else case e in #(
   13942   e) 	  if test yes = "$cross_compiling"; then :
   13943   lt_cv_dlopen_self_static=cross
   13944 else
   13945   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13946   lt_status=$lt_dlunknown
   13947   cat > conftest.$ac_ext <<_LT_EOF
   13948 #line $LINENO "configure"
   13949 #include "confdefs.h"
   13950 
   13951 #if HAVE_DLFCN_H
   13952 #include <dlfcn.h>
   13953 #endif
   13954 
   13955 #include <stdio.h>
   13956 
   13957 #ifdef RTLD_GLOBAL
   13958 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13959 #else
   13960 #  ifdef DL_GLOBAL
   13961 #    define LT_DLGLOBAL		DL_GLOBAL
   13962 #  else
   13963 #    define LT_DLGLOBAL		0
   13964 #  endif
   13965 #endif
   13966 
   13967 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13968    find out it does not work in some platform. */
   13969 #ifndef LT_DLLAZY_OR_NOW
   13970 #  ifdef RTLD_LAZY
   13971 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13972 #  else
   13973 #    ifdef DL_LAZY
   13974 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13975 #    else
   13976 #      ifdef RTLD_NOW
   13977 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13978 #      else
   13979 #        ifdef DL_NOW
   13980 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13981 #        else
   13982 #          define LT_DLLAZY_OR_NOW	0
   13983 #        endif
   13984 #      endif
   13985 #    endif
   13986 #  endif
   13987 #endif
   13988 
   13989 /* When -fvisibility=hidden is used, assume the code has been annotated
   13990    correspondingly for the symbols needed.  */
   13991 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13992 int fnord (void) __attribute__((visibility("default")));
   13993 #endif
   13994 
   13995 int fnord (void) { return 42; }
   13996 int main (void)
   13997 {
   13998   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13999   int status = $lt_dlunknown;
   14000 
   14001   if (self)
   14002     {
   14003       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14004       else
   14005         {
   14006 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14007           else puts (dlerror ());
   14008 	}
   14009       /* dlclose (self); */
   14010     }
   14011   else
   14012     puts (dlerror ());
   14013 
   14014   return status;
   14015 }
   14016 _LT_EOF
   14017   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14018   (eval $ac_link) 2>&5
   14019   ac_status=$?
   14020   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14021   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14022     (./conftest; exit; ) >&5 2>/dev/null
   14023     lt_status=$?
   14024     case x$lt_status in
   14025       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   14026       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   14027       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   14028     esac
   14029   else :
   14030     # compilation failed
   14031     lt_cv_dlopen_self_static=no
   14032   fi
   14033 fi
   14034 rm -fr conftest*
   14035 
   14036        ;;
   14037 esac
   14038 fi
   14039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   14040 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   14041     fi
   14042 
   14043     CPPFLAGS=$save_CPPFLAGS
   14044     LDFLAGS=$save_LDFLAGS
   14045     LIBS=$save_LIBS
   14046     ;;
   14047   esac
   14048 
   14049   case $lt_cv_dlopen_self in
   14050   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   14051   *) enable_dlopen_self=unknown ;;
   14052   esac
   14053 
   14054   case $lt_cv_dlopen_self_static in
   14055   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   14056   *) enable_dlopen_self_static=unknown ;;
   14057   esac
   14058 fi
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 striplib=
   14077 old_striplib=
   14078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   14079 printf %s "checking whether stripping libraries is possible... " >&6; }
   14080 if test -z "$STRIP"; then
   14081   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14082 printf "%s\n" "no" >&6; }
   14083 else
   14084   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   14085     old_striplib="$STRIP --strip-debug"
   14086     striplib="$STRIP --strip-unneeded"
   14087     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14088 printf "%s\n" "yes" >&6; }
   14089   else
   14090     case $host_os in
   14091     darwin*)
   14092       # FIXME - insert some real tests, host_os isn't really good enough
   14093       striplib="$STRIP -x"
   14094       old_striplib="$STRIP -S"
   14095       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14096 printf "%s\n" "yes" >&6; }
   14097       ;;
   14098     freebsd*)
   14099       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   14100         old_striplib="$STRIP --strip-debug"
   14101         striplib="$STRIP --strip-unneeded"
   14102         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14103 printf "%s\n" "yes" >&6; }
   14104       else
   14105         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14106 printf "%s\n" "no" >&6; }
   14107       fi
   14108       ;;
   14109     *)
   14110       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14111 printf "%s\n" "no" >&6; }
   14112       ;;
   14113     esac
   14114   fi
   14115 fi
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 
   14128   # Report what library types will actually be built
   14129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   14130 printf %s "checking if libtool supports shared libraries... " >&6; }
   14131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   14132 printf "%s\n" "$can_build_shared" >&6; }
   14133 
   14134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   14135 printf %s "checking whether to build shared libraries... " >&6; }
   14136   test no = "$can_build_shared" && enable_shared=no
   14137 
   14138   # On AIX, shared libraries and static libraries use the same namespace, and
   14139   # are all built from PIC.
   14140   case $host_os in
   14141   aix3*)
   14142     test yes = "$enable_shared" && enable_static=no
   14143     if test -n "$RANLIB"; then
   14144       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14145       postinstall_cmds='$RANLIB $lib'
   14146     fi
   14147     ;;
   14148 
   14149   aix[4-9]*)
   14150     if test ia64 != "$host_cpu"; then
   14151       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   14152       yes,aix,yes) ;;			# shared object as lib.so file only
   14153       yes,svr4,*) ;;			# shared object as lib.so archive member only
   14154       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   14155       esac
   14156     fi
   14157     ;;
   14158   esac
   14159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   14160 printf "%s\n" "$enable_shared" >&6; }
   14161 
   14162   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   14163 printf %s "checking whether to build static libraries... " >&6; }
   14164   # Make sure either enable_shared or enable_static is yes.
   14165   test yes = "$enable_shared" || enable_static=yes
   14166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   14167 printf "%s\n" "$enable_static" >&6; }
   14168 
   14169 
   14170 
   14171 
   14172 fi
   14173 ac_ext=c
   14174 ac_cpp='$CPP $CPPFLAGS'
   14175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14178 
   14179 CC=$lt_save_CC
   14180 
   14181 
   14182 
   14183 
   14184 
   14185 
   14186 
   14187 
   14188 
   14189 
   14190 
   14191 
   14192 
   14193 
   14194 
   14195         ac_config_commands="$ac_config_commands libtool"
   14196 
   14197 
   14198 
   14199 
   14200 # Only expand once:
   14201 
   14202 
   14203 
   14204 # Require xorg-macros minimum of 1.10 for DocBook XML documentation
   14205 
   14206 
   14207 
   14208 
   14209 
   14210 
   14211 
   14212 
   14213 
   14214 
   14215 
   14216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   14217 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   14218 if test ${ac_cv_c_undeclared_builtin_options+y}
   14219 then :
   14220   printf %s "(cached) " >&6
   14221 else case e in #(
   14222   e) ac_save_CFLAGS=$CFLAGS
   14223    ac_cv_c_undeclared_builtin_options='cannot detect'
   14224    for ac_arg in '' -fno-builtin; do
   14225      CFLAGS="$ac_save_CFLAGS $ac_arg"
   14226      # This test program should *not* compile successfully.
   14227      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14228 /* end confdefs.h.  */
   14229 
   14230 int
   14231 main (void)
   14232 {
   14233 (void) strchr;
   14234   ;
   14235   return 0;
   14236 }
   14237 _ACEOF
   14238 if ac_fn_c_try_compile "$LINENO"
   14239 then :
   14240 
   14241 else case e in #(
   14242   e) # This test program should compile successfully.
   14243         # No library function is consistently available on
   14244         # freestanding implementations, so test against a dummy
   14245         # declaration.  Include always-available headers on the
   14246         # off chance that they somehow elicit warnings.
   14247         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14248 /* end confdefs.h.  */
   14249 #include <float.h>
   14250 #include <limits.h>
   14251 #include <stdarg.h>
   14252 #include <stddef.h>
   14253 extern void ac_decl (int, char *);
   14254 
   14255 int
   14256 main (void)
   14257 {
   14258 (void) ac_decl (0, (char *) 0);
   14259   (void) ac_decl;
   14260 
   14261   ;
   14262   return 0;
   14263 }
   14264 _ACEOF
   14265 if ac_fn_c_try_compile "$LINENO"
   14266 then :
   14267   if test x"$ac_arg" = x
   14268 then :
   14269   ac_cv_c_undeclared_builtin_options='none needed'
   14270 else case e in #(
   14271   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   14272 esac
   14273 fi
   14274           break
   14275 fi
   14276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14277 esac
   14278 fi
   14279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14280     done
   14281     CFLAGS=$ac_save_CFLAGS
   14282    ;;
   14283 esac
   14284 fi
   14285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   14286 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   14287   case $ac_cv_c_undeclared_builtin_options in #(
   14288   'cannot detect') :
   14289     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14290 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   14291 as_fn_error $? "cannot make $CC report undeclared builtins
   14292 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   14293   'none needed') :
   14294     ac_c_undeclared_builtin_options='' ;; #(
   14295   *) :
   14296     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   14297 esac
   14298 
   14299 
   14300 
   14301 
   14302 
   14303 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14304 if test "x$ac_cv_have_decl___clang__" = xyes
   14305 then :
   14306   CLANGCC="yes"
   14307 else case e in #(
   14308   e) CLANGCC="no" ;;
   14309 esac
   14310 fi
   14311 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14312 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   14313 then :
   14314   INTELCC="yes"
   14315 else case e in #(
   14316   e) INTELCC="no" ;;
   14317 esac
   14318 fi
   14319 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14320 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   14321 then :
   14322   SUNCC="yes"
   14323 else case e in #(
   14324   e) SUNCC="no" ;;
   14325 esac
   14326 fi
   14327 
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   14336 	if test -n "$ac_tool_prefix"; then
   14337   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   14338 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   14339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14340 printf %s "checking for $ac_word... " >&6; }
   14341 if test ${ac_cv_path_PKG_CONFIG+y}
   14342 then :
   14343   printf %s "(cached) " >&6
   14344 else case e in #(
   14345   e) case $PKG_CONFIG in
   14346   [\\/]* | ?:[\\/]*)
   14347   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   14348   ;;
   14349   *)
   14350   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14351 for as_dir in $PATH
   14352 do
   14353   IFS=$as_save_IFS
   14354   case $as_dir in #(((
   14355     '') as_dir=./ ;;
   14356     */) ;;
   14357     *) as_dir=$as_dir/ ;;
   14358   esac
   14359     for ac_exec_ext in '' $ac_executable_extensions; do
   14360   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14361     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14362     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14363     break 2
   14364   fi
   14365 done
   14366   done
   14367 IFS=$as_save_IFS
   14368 
   14369   ;;
   14370 esac ;;
   14371 esac
   14372 fi
   14373 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   14374 if test -n "$PKG_CONFIG"; then
   14375   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   14376 printf "%s\n" "$PKG_CONFIG" >&6; }
   14377 else
   14378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14379 printf "%s\n" "no" >&6; }
   14380 fi
   14381 
   14382 
   14383 fi
   14384 if test -z "$ac_cv_path_PKG_CONFIG"; then
   14385   ac_pt_PKG_CONFIG=$PKG_CONFIG
   14386   # Extract the first word of "pkg-config", so it can be a program name with args.
   14387 set dummy pkg-config; ac_word=$2
   14388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14389 printf %s "checking for $ac_word... " >&6; }
   14390 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   14391 then :
   14392   printf %s "(cached) " >&6
   14393 else case e in #(
   14394   e) case $ac_pt_PKG_CONFIG in
   14395   [\\/]* | ?:[\\/]*)
   14396   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   14397   ;;
   14398   *)
   14399   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14400 for as_dir in $PATH
   14401 do
   14402   IFS=$as_save_IFS
   14403   case $as_dir in #(((
   14404     '') as_dir=./ ;;
   14405     */) ;;
   14406     *) as_dir=$as_dir/ ;;
   14407   esac
   14408     for ac_exec_ext in '' $ac_executable_extensions; do
   14409   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14410     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14411     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14412     break 2
   14413   fi
   14414 done
   14415   done
   14416 IFS=$as_save_IFS
   14417 
   14418   ;;
   14419 esac ;;
   14420 esac
   14421 fi
   14422 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   14423 if test -n "$ac_pt_PKG_CONFIG"; then
   14424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   14425 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   14426 else
   14427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14428 printf "%s\n" "no" >&6; }
   14429 fi
   14430 
   14431   if test "x$ac_pt_PKG_CONFIG" = x; then
   14432     PKG_CONFIG=""
   14433   else
   14434     case $cross_compiling:$ac_tool_warned in
   14435 yes:)
   14436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14437 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14438 ac_tool_warned=yes ;;
   14439 esac
   14440     PKG_CONFIG=$ac_pt_PKG_CONFIG
   14441   fi
   14442 else
   14443   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   14444 fi
   14445 
   14446 fi
   14447 if test -n "$PKG_CONFIG"; then
   14448 	_pkg_min_version=0.9.0
   14449 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   14450 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   14451 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   14452 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14453 printf "%s\n" "yes" >&6; }
   14454 	else
   14455 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14456 printf "%s\n" "no" >&6; }
   14457 		PKG_CONFIG=""
   14458 	fi
   14459 fi
   14460 if test -z "$PKG_CONFIG"; then
   14461 	as_fn_error $? "pkg-config not found" "$LINENO" 5
   14462 fi
   14463 
   14464 
   14465 
   14466 
   14467 
   14468 # Check whether --enable-selective-werror was given.
   14469 if test ${enable_selective_werror+y}
   14470 then :
   14471   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14472 else case e in #(
   14473   e) SELECTIVE_WERROR=yes ;;
   14474 esac
   14475 fi
   14476 
   14477 
   14478 
   14479 
   14480 
   14481 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14482 if test "x$SUNCC" = "xyes"; then
   14483     BASE_CFLAGS="-v"
   14484 else
   14485     BASE_CFLAGS=""
   14486 fi
   14487 
   14488 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14489 
   14490 
   14491 
   14492 
   14493 
   14494 
   14495 
   14496 
   14497 
   14498 
   14499 
   14500 
   14501 
   14502 xorg_testset_save_CFLAGS="$CFLAGS"
   14503 
   14504 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14505 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14506 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14507 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14508 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14509 then :
   14510   printf %s "(cached) " >&6
   14511 else case e in #(
   14512   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14513 /* end confdefs.h.  */
   14514 int i;
   14515 _ACEOF
   14516 if ac_fn_c_try_compile "$LINENO"
   14517 then :
   14518   xorg_cv_cc_flag_unknown_warning_option=yes
   14519 else case e in #(
   14520   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14521 esac
   14522 fi
   14523 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14524 esac
   14525 fi
   14526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14527 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14528 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14529 	CFLAGS="$xorg_testset_save_CFLAGS"
   14530 fi
   14531 
   14532 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14533 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14534 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14535 	fi
   14536 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14537 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14538 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14539 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14540 then :
   14541   printf %s "(cached) " >&6
   14542 else case e in #(
   14543   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14544 /* end confdefs.h.  */
   14545 int i;
   14546 _ACEOF
   14547 if ac_fn_c_try_compile "$LINENO"
   14548 then :
   14549   xorg_cv_cc_flag_unused_command_line_argument=yes
   14550 else case e in #(
   14551   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14552 esac
   14553 fi
   14554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14555 esac
   14556 fi
   14557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14558 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14559 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14560 	CFLAGS="$xorg_testset_save_CFLAGS"
   14561 fi
   14562 
   14563 found="no"
   14564 
   14565 	if test $found = "no" ; then
   14566 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14567 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14568 		fi
   14569 
   14570 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14571 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14572 		fi
   14573 
   14574 		CFLAGS="$CFLAGS -Wall"
   14575 
   14576 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14577 printf %s "checking if $CC supports -Wall... " >&6; }
   14578 		cacheid=xorg_cv_cc_flag__Wall
   14579 		if eval test \${$cacheid+y}
   14580 then :
   14581   printf %s "(cached) " >&6
   14582 else case e in #(
   14583   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14584 /* end confdefs.h.  */
   14585 int i;
   14586 int
   14587 main (void)
   14588 {
   14589 
   14590   ;
   14591   return 0;
   14592 }
   14593 _ACEOF
   14594 if ac_fn_c_try_link "$LINENO"
   14595 then :
   14596   eval $cacheid=yes
   14597 else case e in #(
   14598   e) eval $cacheid=no ;;
   14599 esac
   14600 fi
   14601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14602     conftest$ac_exeext conftest.$ac_ext ;;
   14603 esac
   14604 fi
   14605 
   14606 
   14607 		CFLAGS="$xorg_testset_save_CFLAGS"
   14608 
   14609 		eval supported=\$$cacheid
   14610 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14611 printf "%s\n" "$supported" >&6; }
   14612 		if test "$supported" = "yes" ; then
   14613 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14614 			found="yes"
   14615 		fi
   14616 	fi
   14617 
   14618 
   14619 
   14620 
   14621 
   14622 
   14623 
   14624 
   14625 
   14626 
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 xorg_testset_save_CFLAGS="$CFLAGS"
   14633 
   14634 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14635 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14636 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14637 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14638 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14639 then :
   14640   printf %s "(cached) " >&6
   14641 else case e in #(
   14642   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14643 /* end confdefs.h.  */
   14644 int i;
   14645 _ACEOF
   14646 if ac_fn_c_try_compile "$LINENO"
   14647 then :
   14648   xorg_cv_cc_flag_unknown_warning_option=yes
   14649 else case e in #(
   14650   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14651 esac
   14652 fi
   14653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14654 esac
   14655 fi
   14656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14657 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14659 	CFLAGS="$xorg_testset_save_CFLAGS"
   14660 fi
   14661 
   14662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14665 	fi
   14666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14667 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14668 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14669 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14670 then :
   14671   printf %s "(cached) " >&6
   14672 else case e in #(
   14673   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14674 /* end confdefs.h.  */
   14675 int i;
   14676 _ACEOF
   14677 if ac_fn_c_try_compile "$LINENO"
   14678 then :
   14679   xorg_cv_cc_flag_unused_command_line_argument=yes
   14680 else case e in #(
   14681   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14682 esac
   14683 fi
   14684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14685 esac
   14686 fi
   14687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14688 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14690 	CFLAGS="$xorg_testset_save_CFLAGS"
   14691 fi
   14692 
   14693 found="no"
   14694 
   14695 	if test $found = "no" ; then
   14696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14698 		fi
   14699 
   14700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14702 		fi
   14703 
   14704 		CFLAGS="$CFLAGS -Wpointer-arith"
   14705 
   14706 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14707 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14708 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14709 		if eval test \${$cacheid+y}
   14710 then :
   14711   printf %s "(cached) " >&6
   14712 else case e in #(
   14713   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14714 /* end confdefs.h.  */
   14715 int i;
   14716 int
   14717 main (void)
   14718 {
   14719 
   14720   ;
   14721   return 0;
   14722 }
   14723 _ACEOF
   14724 if ac_fn_c_try_link "$LINENO"
   14725 then :
   14726   eval $cacheid=yes
   14727 else case e in #(
   14728   e) eval $cacheid=no ;;
   14729 esac
   14730 fi
   14731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14732     conftest$ac_exeext conftest.$ac_ext ;;
   14733 esac
   14734 fi
   14735 
   14736 
   14737 		CFLAGS="$xorg_testset_save_CFLAGS"
   14738 
   14739 		eval supported=\$$cacheid
   14740 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14741 printf "%s\n" "$supported" >&6; }
   14742 		if test "$supported" = "yes" ; then
   14743 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14744 			found="yes"
   14745 		fi
   14746 	fi
   14747 
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757 
   14758 
   14759 
   14760 
   14761 
   14762 xorg_testset_save_CFLAGS="$CFLAGS"
   14763 
   14764 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14765 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14767 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14768 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14769 then :
   14770   printf %s "(cached) " >&6
   14771 else case e in #(
   14772   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14773 /* end confdefs.h.  */
   14774 int i;
   14775 _ACEOF
   14776 if ac_fn_c_try_compile "$LINENO"
   14777 then :
   14778   xorg_cv_cc_flag_unknown_warning_option=yes
   14779 else case e in #(
   14780   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14781 esac
   14782 fi
   14783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14784 esac
   14785 fi
   14786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14787 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14788 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14789 	CFLAGS="$xorg_testset_save_CFLAGS"
   14790 fi
   14791 
   14792 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14793 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14794 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14795 	fi
   14796 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14797 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14798 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14799 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14800 then :
   14801   printf %s "(cached) " >&6
   14802 else case e in #(
   14803   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14804 /* end confdefs.h.  */
   14805 int i;
   14806 _ACEOF
   14807 if ac_fn_c_try_compile "$LINENO"
   14808 then :
   14809   xorg_cv_cc_flag_unused_command_line_argument=yes
   14810 else case e in #(
   14811   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14812 esac
   14813 fi
   14814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14815 esac
   14816 fi
   14817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14818 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14820 	CFLAGS="$xorg_testset_save_CFLAGS"
   14821 fi
   14822 
   14823 found="no"
   14824 
   14825 	if test $found = "no" ; then
   14826 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14828 		fi
   14829 
   14830 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14832 		fi
   14833 
   14834 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14835 
   14836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14837 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14838 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14839 		if eval test \${$cacheid+y}
   14840 then :
   14841   printf %s "(cached) " >&6
   14842 else case e in #(
   14843   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14844 /* end confdefs.h.  */
   14845 int i;
   14846 int
   14847 main (void)
   14848 {
   14849 
   14850   ;
   14851   return 0;
   14852 }
   14853 _ACEOF
   14854 if ac_fn_c_try_link "$LINENO"
   14855 then :
   14856   eval $cacheid=yes
   14857 else case e in #(
   14858   e) eval $cacheid=no ;;
   14859 esac
   14860 fi
   14861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14862     conftest$ac_exeext conftest.$ac_ext ;;
   14863 esac
   14864 fi
   14865 
   14866 
   14867 		CFLAGS="$xorg_testset_save_CFLAGS"
   14868 
   14869 		eval supported=\$$cacheid
   14870 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14871 printf "%s\n" "$supported" >&6; }
   14872 		if test "$supported" = "yes" ; then
   14873 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14874 			found="yes"
   14875 		fi
   14876 	fi
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 
   14886 
   14887 
   14888 
   14889 
   14890 
   14891 
   14892 xorg_testset_save_CFLAGS="$CFLAGS"
   14893 
   14894 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14895 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14896 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14897 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14898 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14899 then :
   14900   printf %s "(cached) " >&6
   14901 else case e in #(
   14902   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14903 /* end confdefs.h.  */
   14904 int i;
   14905 _ACEOF
   14906 if ac_fn_c_try_compile "$LINENO"
   14907 then :
   14908   xorg_cv_cc_flag_unknown_warning_option=yes
   14909 else case e in #(
   14910   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14911 esac
   14912 fi
   14913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14914 esac
   14915 fi
   14916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14917 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14918 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14919 	CFLAGS="$xorg_testset_save_CFLAGS"
   14920 fi
   14921 
   14922 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14923 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14924 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14925 	fi
   14926 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14927 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14928 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14929 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14930 then :
   14931   printf %s "(cached) " >&6
   14932 else case e in #(
   14933   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14934 /* end confdefs.h.  */
   14935 int i;
   14936 _ACEOF
   14937 if ac_fn_c_try_compile "$LINENO"
   14938 then :
   14939   xorg_cv_cc_flag_unused_command_line_argument=yes
   14940 else case e in #(
   14941   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14942 esac
   14943 fi
   14944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14945 esac
   14946 fi
   14947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14948 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14949 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14950 	CFLAGS="$xorg_testset_save_CFLAGS"
   14951 fi
   14952 
   14953 found="no"
   14954 
   14955 	if test $found = "no" ; then
   14956 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14957 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14958 		fi
   14959 
   14960 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14961 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14962 		fi
   14963 
   14964 		CFLAGS="$CFLAGS -Wformat=2"
   14965 
   14966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14967 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14968 		cacheid=xorg_cv_cc_flag__Wformat_2
   14969 		if eval test \${$cacheid+y}
   14970 then :
   14971   printf %s "(cached) " >&6
   14972 else case e in #(
   14973   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14974 /* end confdefs.h.  */
   14975 int i;
   14976 int
   14977 main (void)
   14978 {
   14979 
   14980   ;
   14981   return 0;
   14982 }
   14983 _ACEOF
   14984 if ac_fn_c_try_link "$LINENO"
   14985 then :
   14986   eval $cacheid=yes
   14987 else case e in #(
   14988   e) eval $cacheid=no ;;
   14989 esac
   14990 fi
   14991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14992     conftest$ac_exeext conftest.$ac_ext ;;
   14993 esac
   14994 fi
   14995 
   14996 
   14997 		CFLAGS="$xorg_testset_save_CFLAGS"
   14998 
   14999 		eval supported=\$$cacheid
   15000 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15001 printf "%s\n" "$supported" >&6; }
   15002 		if test "$supported" = "yes" ; then
   15003 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   15004 			found="yes"
   15005 		fi
   15006 	fi
   15007 
   15008 	if test $found = "no" ; then
   15009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15011 		fi
   15012 
   15013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15015 		fi
   15016 
   15017 		CFLAGS="$CFLAGS -Wformat"
   15018 
   15019 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   15020 printf %s "checking if $CC supports -Wformat... " >&6; }
   15021 		cacheid=xorg_cv_cc_flag__Wformat
   15022 		if eval test \${$cacheid+y}
   15023 then :
   15024   printf %s "(cached) " >&6
   15025 else case e in #(
   15026   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15027 /* end confdefs.h.  */
   15028 int i;
   15029 int
   15030 main (void)
   15031 {
   15032 
   15033   ;
   15034   return 0;
   15035 }
   15036 _ACEOF
   15037 if ac_fn_c_try_link "$LINENO"
   15038 then :
   15039   eval $cacheid=yes
   15040 else case e in #(
   15041   e) eval $cacheid=no ;;
   15042 esac
   15043 fi
   15044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15045     conftest$ac_exeext conftest.$ac_ext ;;
   15046 esac
   15047 fi
   15048 
   15049 
   15050 		CFLAGS="$xorg_testset_save_CFLAGS"
   15051 
   15052 		eval supported=\$$cacheid
   15053 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15054 printf "%s\n" "$supported" >&6; }
   15055 		if test "$supported" = "yes" ; then
   15056 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   15057 			found="yes"
   15058 		fi
   15059 	fi
   15060 
   15061 
   15062 
   15063 
   15064 
   15065 
   15066 
   15067 
   15068 
   15069 
   15070 
   15071 
   15072 
   15073 
   15074 
   15075 
   15076 
   15077 xorg_testset_save_CFLAGS="$CFLAGS"
   15078 
   15079 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15080 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15081 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15082 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15083 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15084 then :
   15085   printf %s "(cached) " >&6
   15086 else case e in #(
   15087   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15088 /* end confdefs.h.  */
   15089 int i;
   15090 _ACEOF
   15091 if ac_fn_c_try_compile "$LINENO"
   15092 then :
   15093   xorg_cv_cc_flag_unknown_warning_option=yes
   15094 else case e in #(
   15095   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15096 esac
   15097 fi
   15098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15099 esac
   15100 fi
   15101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15102 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15104 	CFLAGS="$xorg_testset_save_CFLAGS"
   15105 fi
   15106 
   15107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15110 	fi
   15111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15112 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15113 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15114 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15115 then :
   15116   printf %s "(cached) " >&6
   15117 else case e in #(
   15118   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15119 /* end confdefs.h.  */
   15120 int i;
   15121 _ACEOF
   15122 if ac_fn_c_try_compile "$LINENO"
   15123 then :
   15124   xorg_cv_cc_flag_unused_command_line_argument=yes
   15125 else case e in #(
   15126   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15127 esac
   15128 fi
   15129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15130 esac
   15131 fi
   15132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15133 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15134 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15135 	CFLAGS="$xorg_testset_save_CFLAGS"
   15136 fi
   15137 
   15138 found="no"
   15139 
   15140 	if test $found = "no" ; then
   15141 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15142 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15143 		fi
   15144 
   15145 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15146 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15147 		fi
   15148 
   15149 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   15150 
   15151 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   15152 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   15153 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   15154 		if eval test \${$cacheid+y}
   15155 then :
   15156   printf %s "(cached) " >&6
   15157 else case e in #(
   15158   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15159 /* end confdefs.h.  */
   15160 int i;
   15161 int
   15162 main (void)
   15163 {
   15164 
   15165   ;
   15166   return 0;
   15167 }
   15168 _ACEOF
   15169 if ac_fn_c_try_link "$LINENO"
   15170 then :
   15171   eval $cacheid=yes
   15172 else case e in #(
   15173   e) eval $cacheid=no ;;
   15174 esac
   15175 fi
   15176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15177     conftest$ac_exeext conftest.$ac_ext ;;
   15178 esac
   15179 fi
   15180 
   15181 
   15182 		CFLAGS="$xorg_testset_save_CFLAGS"
   15183 
   15184 		eval supported=\$$cacheid
   15185 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15186 printf "%s\n" "$supported" >&6; }
   15187 		if test "$supported" = "yes" ; then
   15188 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   15189 			found="yes"
   15190 		fi
   15191 	fi
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 xorg_testset_save_CFLAGS="$CFLAGS"
   15208 
   15209 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15210 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15211 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15212 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15213 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15214 then :
   15215   printf %s "(cached) " >&6
   15216 else case e in #(
   15217   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15218 /* end confdefs.h.  */
   15219 int i;
   15220 _ACEOF
   15221 if ac_fn_c_try_compile "$LINENO"
   15222 then :
   15223   xorg_cv_cc_flag_unknown_warning_option=yes
   15224 else case e in #(
   15225   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15226 esac
   15227 fi
   15228 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15229 esac
   15230 fi
   15231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15232 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15233 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15234 	CFLAGS="$xorg_testset_save_CFLAGS"
   15235 fi
   15236 
   15237 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15238 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15239 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15240 	fi
   15241 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15242 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15243 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15244 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15245 then :
   15246   printf %s "(cached) " >&6
   15247 else case e in #(
   15248   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15249 /* end confdefs.h.  */
   15250 int i;
   15251 _ACEOF
   15252 if ac_fn_c_try_compile "$LINENO"
   15253 then :
   15254   xorg_cv_cc_flag_unused_command_line_argument=yes
   15255 else case e in #(
   15256   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15257 esac
   15258 fi
   15259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15260 esac
   15261 fi
   15262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15263 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15264 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15265 	CFLAGS="$xorg_testset_save_CFLAGS"
   15266 fi
   15267 
   15268 found="no"
   15269 
   15270 	if test $found = "no" ; then
   15271 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15273 		fi
   15274 
   15275 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15277 		fi
   15278 
   15279 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   15280 
   15281 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   15282 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   15283 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   15284 		if eval test \${$cacheid+y}
   15285 then :
   15286   printf %s "(cached) " >&6
   15287 else case e in #(
   15288   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15289 /* end confdefs.h.  */
   15290 int i;
   15291 int
   15292 main (void)
   15293 {
   15294 
   15295   ;
   15296   return 0;
   15297 }
   15298 _ACEOF
   15299 if ac_fn_c_try_link "$LINENO"
   15300 then :
   15301   eval $cacheid=yes
   15302 else case e in #(
   15303   e) eval $cacheid=no ;;
   15304 esac
   15305 fi
   15306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15307     conftest$ac_exeext conftest.$ac_ext ;;
   15308 esac
   15309 fi
   15310 
   15311 
   15312 		CFLAGS="$xorg_testset_save_CFLAGS"
   15313 
   15314 		eval supported=\$$cacheid
   15315 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15316 printf "%s\n" "$supported" >&6; }
   15317 		if test "$supported" = "yes" ; then
   15318 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   15319 			found="yes"
   15320 		fi
   15321 	fi
   15322 
   15323 
   15324 
   15325 
   15326 
   15327 
   15328 
   15329 
   15330 
   15331 
   15332 
   15333 
   15334 
   15335 
   15336 
   15337 xorg_testset_save_CFLAGS="$CFLAGS"
   15338 
   15339 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15340 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15341 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15342 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15343 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15344 then :
   15345   printf %s "(cached) " >&6
   15346 else case e in #(
   15347   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15348 /* end confdefs.h.  */
   15349 int i;
   15350 _ACEOF
   15351 if ac_fn_c_try_compile "$LINENO"
   15352 then :
   15353   xorg_cv_cc_flag_unknown_warning_option=yes
   15354 else case e in #(
   15355   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15356 esac
   15357 fi
   15358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15359 esac
   15360 fi
   15361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15362 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15363 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15364 	CFLAGS="$xorg_testset_save_CFLAGS"
   15365 fi
   15366 
   15367 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15368 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15369 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15370 	fi
   15371 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15372 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15373 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15374 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15375 then :
   15376   printf %s "(cached) " >&6
   15377 else case e in #(
   15378   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15379 /* end confdefs.h.  */
   15380 int i;
   15381 _ACEOF
   15382 if ac_fn_c_try_compile "$LINENO"
   15383 then :
   15384   xorg_cv_cc_flag_unused_command_line_argument=yes
   15385 else case e in #(
   15386   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15387 esac
   15388 fi
   15389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15390 esac
   15391 fi
   15392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15393 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15395 	CFLAGS="$xorg_testset_save_CFLAGS"
   15396 fi
   15397 
   15398 found="no"
   15399 
   15400 	if test $found = "no" ; then
   15401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15403 		fi
   15404 
   15405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15407 		fi
   15408 
   15409 		CFLAGS="$CFLAGS -Wnested-externs"
   15410 
   15411 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   15412 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   15413 		cacheid=xorg_cv_cc_flag__Wnested_externs
   15414 		if eval test \${$cacheid+y}
   15415 then :
   15416   printf %s "(cached) " >&6
   15417 else case e in #(
   15418   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15419 /* end confdefs.h.  */
   15420 int i;
   15421 int
   15422 main (void)
   15423 {
   15424 
   15425   ;
   15426   return 0;
   15427 }
   15428 _ACEOF
   15429 if ac_fn_c_try_link "$LINENO"
   15430 then :
   15431   eval $cacheid=yes
   15432 else case e in #(
   15433   e) eval $cacheid=no ;;
   15434 esac
   15435 fi
   15436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15437     conftest$ac_exeext conftest.$ac_ext ;;
   15438 esac
   15439 fi
   15440 
   15441 
   15442 		CFLAGS="$xorg_testset_save_CFLAGS"
   15443 
   15444 		eval supported=\$$cacheid
   15445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15446 printf "%s\n" "$supported" >&6; }
   15447 		if test "$supported" = "yes" ; then
   15448 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   15449 			found="yes"
   15450 		fi
   15451 	fi
   15452 
   15453 
   15454 
   15455 
   15456 
   15457 
   15458 
   15459 
   15460 
   15461 
   15462 
   15463 
   15464 
   15465 
   15466 
   15467 xorg_testset_save_CFLAGS="$CFLAGS"
   15468 
   15469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15472 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15473 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15474 then :
   15475   printf %s "(cached) " >&6
   15476 else case e in #(
   15477   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15478 /* end confdefs.h.  */
   15479 int i;
   15480 _ACEOF
   15481 if ac_fn_c_try_compile "$LINENO"
   15482 then :
   15483   xorg_cv_cc_flag_unknown_warning_option=yes
   15484 else case e in #(
   15485   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15486 esac
   15487 fi
   15488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15489 esac
   15490 fi
   15491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15492 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15494 	CFLAGS="$xorg_testset_save_CFLAGS"
   15495 fi
   15496 
   15497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15500 	fi
   15501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15502 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15503 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15504 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15505 then :
   15506   printf %s "(cached) " >&6
   15507 else case e in #(
   15508   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15509 /* end confdefs.h.  */
   15510 int i;
   15511 _ACEOF
   15512 if ac_fn_c_try_compile "$LINENO"
   15513 then :
   15514   xorg_cv_cc_flag_unused_command_line_argument=yes
   15515 else case e in #(
   15516   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15517 esac
   15518 fi
   15519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15520 esac
   15521 fi
   15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15523 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15524 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15525 	CFLAGS="$xorg_testset_save_CFLAGS"
   15526 fi
   15527 
   15528 found="no"
   15529 
   15530 	if test $found = "no" ; then
   15531 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15533 		fi
   15534 
   15535 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15537 		fi
   15538 
   15539 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15540 
   15541 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15542 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15543 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15544 		if eval test \${$cacheid+y}
   15545 then :
   15546   printf %s "(cached) " >&6
   15547 else case e in #(
   15548   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15549 /* end confdefs.h.  */
   15550 int i;
   15551 int
   15552 main (void)
   15553 {
   15554 
   15555   ;
   15556   return 0;
   15557 }
   15558 _ACEOF
   15559 if ac_fn_c_try_link "$LINENO"
   15560 then :
   15561   eval $cacheid=yes
   15562 else case e in #(
   15563   e) eval $cacheid=no ;;
   15564 esac
   15565 fi
   15566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15567     conftest$ac_exeext conftest.$ac_ext ;;
   15568 esac
   15569 fi
   15570 
   15571 
   15572 		CFLAGS="$xorg_testset_save_CFLAGS"
   15573 
   15574 		eval supported=\$$cacheid
   15575 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15576 printf "%s\n" "$supported" >&6; }
   15577 		if test "$supported" = "yes" ; then
   15578 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15579 			found="yes"
   15580 		fi
   15581 	fi
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 xorg_testset_save_CFLAGS="$CFLAGS"
   15598 
   15599 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15600 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15601 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15602 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15603 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15604 then :
   15605   printf %s "(cached) " >&6
   15606 else case e in #(
   15607   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15608 /* end confdefs.h.  */
   15609 int i;
   15610 _ACEOF
   15611 if ac_fn_c_try_compile "$LINENO"
   15612 then :
   15613   xorg_cv_cc_flag_unknown_warning_option=yes
   15614 else case e in #(
   15615   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15616 esac
   15617 fi
   15618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15619 esac
   15620 fi
   15621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15622 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15623 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15624 	CFLAGS="$xorg_testset_save_CFLAGS"
   15625 fi
   15626 
   15627 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15628 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15629 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15630 	fi
   15631 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15632 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15633 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15634 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15635 then :
   15636   printf %s "(cached) " >&6
   15637 else case e in #(
   15638   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15639 /* end confdefs.h.  */
   15640 int i;
   15641 _ACEOF
   15642 if ac_fn_c_try_compile "$LINENO"
   15643 then :
   15644   xorg_cv_cc_flag_unused_command_line_argument=yes
   15645 else case e in #(
   15646   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15647 esac
   15648 fi
   15649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15650 esac
   15651 fi
   15652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15653 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15654 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15655 	CFLAGS="$xorg_testset_save_CFLAGS"
   15656 fi
   15657 
   15658 found="no"
   15659 
   15660 	if test $found = "no" ; then
   15661 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15663 		fi
   15664 
   15665 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15667 		fi
   15668 
   15669 		CFLAGS="$CFLAGS -Wold-style-definition"
   15670 
   15671 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15672 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15673 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15674 		if eval test \${$cacheid+y}
   15675 then :
   15676   printf %s "(cached) " >&6
   15677 else case e in #(
   15678   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15679 /* end confdefs.h.  */
   15680 int i;
   15681 int
   15682 main (void)
   15683 {
   15684 
   15685   ;
   15686   return 0;
   15687 }
   15688 _ACEOF
   15689 if ac_fn_c_try_link "$LINENO"
   15690 then :
   15691   eval $cacheid=yes
   15692 else case e in #(
   15693   e) eval $cacheid=no ;;
   15694 esac
   15695 fi
   15696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15697     conftest$ac_exeext conftest.$ac_ext ;;
   15698 esac
   15699 fi
   15700 
   15701 
   15702 		CFLAGS="$xorg_testset_save_CFLAGS"
   15703 
   15704 		eval supported=\$$cacheid
   15705 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15706 printf "%s\n" "$supported" >&6; }
   15707 		if test "$supported" = "yes" ; then
   15708 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15709 			found="yes"
   15710 		fi
   15711 	fi
   15712 
   15713 	if test $found = "no" ; then
   15714 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15715 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15716 		fi
   15717 
   15718 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15719 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15720 		fi
   15721 
   15722 		CFLAGS="$CFLAGS -fd"
   15723 
   15724 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15725 printf %s "checking if $CC supports -fd... " >&6; }
   15726 		cacheid=xorg_cv_cc_flag__fd
   15727 		if eval test \${$cacheid+y}
   15728 then :
   15729   printf %s "(cached) " >&6
   15730 else case e in #(
   15731   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15732 /* end confdefs.h.  */
   15733 int i;
   15734 int
   15735 main (void)
   15736 {
   15737 
   15738   ;
   15739   return 0;
   15740 }
   15741 _ACEOF
   15742 if ac_fn_c_try_link "$LINENO"
   15743 then :
   15744   eval $cacheid=yes
   15745 else case e in #(
   15746   e) eval $cacheid=no ;;
   15747 esac
   15748 fi
   15749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15750     conftest$ac_exeext conftest.$ac_ext ;;
   15751 esac
   15752 fi
   15753 
   15754 
   15755 		CFLAGS="$xorg_testset_save_CFLAGS"
   15756 
   15757 		eval supported=\$$cacheid
   15758 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15759 printf "%s\n" "$supported" >&6; }
   15760 		if test "$supported" = "yes" ; then
   15761 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15762 			found="yes"
   15763 		fi
   15764 	fi
   15765 
   15766 
   15767 
   15768 
   15769 
   15770 # This chunk adds additional warnings that could catch undesired effects.
   15771 
   15772 
   15773 
   15774 
   15775 
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 
   15784 xorg_testset_save_CFLAGS="$CFLAGS"
   15785 
   15786 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15787 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15789 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15790 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15791 then :
   15792   printf %s "(cached) " >&6
   15793 else case e in #(
   15794   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15795 /* end confdefs.h.  */
   15796 int i;
   15797 _ACEOF
   15798 if ac_fn_c_try_compile "$LINENO"
   15799 then :
   15800   xorg_cv_cc_flag_unknown_warning_option=yes
   15801 else case e in #(
   15802   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15803 esac
   15804 fi
   15805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15806 esac
   15807 fi
   15808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15809 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15811 	CFLAGS="$xorg_testset_save_CFLAGS"
   15812 fi
   15813 
   15814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15817 	fi
   15818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15819 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15820 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15821 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15822 then :
   15823   printf %s "(cached) " >&6
   15824 else case e in #(
   15825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15826 /* end confdefs.h.  */
   15827 int i;
   15828 _ACEOF
   15829 if ac_fn_c_try_compile "$LINENO"
   15830 then :
   15831   xorg_cv_cc_flag_unused_command_line_argument=yes
   15832 else case e in #(
   15833   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15834 esac
   15835 fi
   15836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15837 esac
   15838 fi
   15839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15840 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15842 	CFLAGS="$xorg_testset_save_CFLAGS"
   15843 fi
   15844 
   15845 found="no"
   15846 
   15847 	if test $found = "no" ; then
   15848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15850 		fi
   15851 
   15852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15854 		fi
   15855 
   15856 		CFLAGS="$CFLAGS -Wunused"
   15857 
   15858 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15859 printf %s "checking if $CC supports -Wunused... " >&6; }
   15860 		cacheid=xorg_cv_cc_flag__Wunused
   15861 		if eval test \${$cacheid+y}
   15862 then :
   15863   printf %s "(cached) " >&6
   15864 else case e in #(
   15865   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15866 /* end confdefs.h.  */
   15867 int i;
   15868 int
   15869 main (void)
   15870 {
   15871 
   15872   ;
   15873   return 0;
   15874 }
   15875 _ACEOF
   15876 if ac_fn_c_try_link "$LINENO"
   15877 then :
   15878   eval $cacheid=yes
   15879 else case e in #(
   15880   e) eval $cacheid=no ;;
   15881 esac
   15882 fi
   15883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15884     conftest$ac_exeext conftest.$ac_ext ;;
   15885 esac
   15886 fi
   15887 
   15888 
   15889 		CFLAGS="$xorg_testset_save_CFLAGS"
   15890 
   15891 		eval supported=\$$cacheid
   15892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15893 printf "%s\n" "$supported" >&6; }
   15894 		if test "$supported" = "yes" ; then
   15895 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15896 			found="yes"
   15897 		fi
   15898 	fi
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 
   15909 
   15910 
   15911 
   15912 
   15913 
   15914 xorg_testset_save_CFLAGS="$CFLAGS"
   15915 
   15916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15919 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15920 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15921 then :
   15922   printf %s "(cached) " >&6
   15923 else case e in #(
   15924   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15925 /* end confdefs.h.  */
   15926 int i;
   15927 _ACEOF
   15928 if ac_fn_c_try_compile "$LINENO"
   15929 then :
   15930   xorg_cv_cc_flag_unknown_warning_option=yes
   15931 else case e in #(
   15932   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15933 esac
   15934 fi
   15935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15936 esac
   15937 fi
   15938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15939 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15940 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15941 	CFLAGS="$xorg_testset_save_CFLAGS"
   15942 fi
   15943 
   15944 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15945 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15946 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15947 	fi
   15948 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15950 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15951 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15952 then :
   15953   printf %s "(cached) " >&6
   15954 else case e in #(
   15955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15956 /* end confdefs.h.  */
   15957 int i;
   15958 _ACEOF
   15959 if ac_fn_c_try_compile "$LINENO"
   15960 then :
   15961   xorg_cv_cc_flag_unused_command_line_argument=yes
   15962 else case e in #(
   15963   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15964 esac
   15965 fi
   15966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15967 esac
   15968 fi
   15969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15970 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15972 	CFLAGS="$xorg_testset_save_CFLAGS"
   15973 fi
   15974 
   15975 found="no"
   15976 
   15977 	if test $found = "no" ; then
   15978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15980 		fi
   15981 
   15982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15984 		fi
   15985 
   15986 		CFLAGS="$CFLAGS -Wuninitialized"
   15987 
   15988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15989 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15990 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15991 		if eval test \${$cacheid+y}
   15992 then :
   15993   printf %s "(cached) " >&6
   15994 else case e in #(
   15995   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15996 /* end confdefs.h.  */
   15997 int i;
   15998 int
   15999 main (void)
   16000 {
   16001 
   16002   ;
   16003   return 0;
   16004 }
   16005 _ACEOF
   16006 if ac_fn_c_try_link "$LINENO"
   16007 then :
   16008   eval $cacheid=yes
   16009 else case e in #(
   16010   e) eval $cacheid=no ;;
   16011 esac
   16012 fi
   16013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16014     conftest$ac_exeext conftest.$ac_ext ;;
   16015 esac
   16016 fi
   16017 
   16018 
   16019 		CFLAGS="$xorg_testset_save_CFLAGS"
   16020 
   16021 		eval supported=\$$cacheid
   16022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16023 printf "%s\n" "$supported" >&6; }
   16024 		if test "$supported" = "yes" ; then
   16025 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   16026 			found="yes"
   16027 		fi
   16028 	fi
   16029 
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 
   16042 
   16043 
   16044 xorg_testset_save_CFLAGS="$CFLAGS"
   16045 
   16046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16051 then :
   16052   printf %s "(cached) " >&6
   16053 else case e in #(
   16054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16055 /* end confdefs.h.  */
   16056 int i;
   16057 _ACEOF
   16058 if ac_fn_c_try_compile "$LINENO"
   16059 then :
   16060   xorg_cv_cc_flag_unknown_warning_option=yes
   16061 else case e in #(
   16062   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16063 esac
   16064 fi
   16065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16066 esac
   16067 fi
   16068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16069 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16071 	CFLAGS="$xorg_testset_save_CFLAGS"
   16072 fi
   16073 
   16074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16077 	fi
   16078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16079 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16080 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16081 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16082 then :
   16083   printf %s "(cached) " >&6
   16084 else case e in #(
   16085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16086 /* end confdefs.h.  */
   16087 int i;
   16088 _ACEOF
   16089 if ac_fn_c_try_compile "$LINENO"
   16090 then :
   16091   xorg_cv_cc_flag_unused_command_line_argument=yes
   16092 else case e in #(
   16093   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16094 esac
   16095 fi
   16096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16097 esac
   16098 fi
   16099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16100 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16102 	CFLAGS="$xorg_testset_save_CFLAGS"
   16103 fi
   16104 
   16105 found="no"
   16106 
   16107 	if test $found = "no" ; then
   16108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16110 		fi
   16111 
   16112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16114 		fi
   16115 
   16116 		CFLAGS="$CFLAGS -Wshadow"
   16117 
   16118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   16119 printf %s "checking if $CC supports -Wshadow... " >&6; }
   16120 		cacheid=xorg_cv_cc_flag__Wshadow
   16121 		if eval test \${$cacheid+y}
   16122 then :
   16123   printf %s "(cached) " >&6
   16124 else case e in #(
   16125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16126 /* end confdefs.h.  */
   16127 int i;
   16128 int
   16129 main (void)
   16130 {
   16131 
   16132   ;
   16133   return 0;
   16134 }
   16135 _ACEOF
   16136 if ac_fn_c_try_link "$LINENO"
   16137 then :
   16138   eval $cacheid=yes
   16139 else case e in #(
   16140   e) eval $cacheid=no ;;
   16141 esac
   16142 fi
   16143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16144     conftest$ac_exeext conftest.$ac_ext ;;
   16145 esac
   16146 fi
   16147 
   16148 
   16149 		CFLAGS="$xorg_testset_save_CFLAGS"
   16150 
   16151 		eval supported=\$$cacheid
   16152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16153 printf "%s\n" "$supported" >&6; }
   16154 		if test "$supported" = "yes" ; then
   16155 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   16156 			found="yes"
   16157 		fi
   16158 	fi
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 xorg_testset_save_CFLAGS="$CFLAGS"
   16175 
   16176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16179 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16180 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16181 then :
   16182   printf %s "(cached) " >&6
   16183 else case e in #(
   16184   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16185 /* end confdefs.h.  */
   16186 int i;
   16187 _ACEOF
   16188 if ac_fn_c_try_compile "$LINENO"
   16189 then :
   16190   xorg_cv_cc_flag_unknown_warning_option=yes
   16191 else case e in #(
   16192   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16193 esac
   16194 fi
   16195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16196 esac
   16197 fi
   16198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16199 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16201 	CFLAGS="$xorg_testset_save_CFLAGS"
   16202 fi
   16203 
   16204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16207 	fi
   16208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16210 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16211 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16212 then :
   16213   printf %s "(cached) " >&6
   16214 else case e in #(
   16215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16216 /* end confdefs.h.  */
   16217 int i;
   16218 _ACEOF
   16219 if ac_fn_c_try_compile "$LINENO"
   16220 then :
   16221   xorg_cv_cc_flag_unused_command_line_argument=yes
   16222 else case e in #(
   16223   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16224 esac
   16225 fi
   16226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16227 esac
   16228 fi
   16229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16230 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16231 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16232 	CFLAGS="$xorg_testset_save_CFLAGS"
   16233 fi
   16234 
   16235 found="no"
   16236 
   16237 	if test $found = "no" ; then
   16238 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16240 		fi
   16241 
   16242 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16244 		fi
   16245 
   16246 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   16247 
   16248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   16249 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   16250 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   16251 		if eval test \${$cacheid+y}
   16252 then :
   16253   printf %s "(cached) " >&6
   16254 else case e in #(
   16255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16256 /* end confdefs.h.  */
   16257 int i;
   16258 int
   16259 main (void)
   16260 {
   16261 
   16262   ;
   16263   return 0;
   16264 }
   16265 _ACEOF
   16266 if ac_fn_c_try_link "$LINENO"
   16267 then :
   16268   eval $cacheid=yes
   16269 else case e in #(
   16270   e) eval $cacheid=no ;;
   16271 esac
   16272 fi
   16273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16274     conftest$ac_exeext conftest.$ac_ext ;;
   16275 esac
   16276 fi
   16277 
   16278 
   16279 		CFLAGS="$xorg_testset_save_CFLAGS"
   16280 
   16281 		eval supported=\$$cacheid
   16282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16283 printf "%s\n" "$supported" >&6; }
   16284 		if test "$supported" = "yes" ; then
   16285 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   16286 			found="yes"
   16287 		fi
   16288 	fi
   16289 
   16290 
   16291 
   16292 
   16293 
   16294 
   16295 
   16296 
   16297 
   16298 
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 xorg_testset_save_CFLAGS="$CFLAGS"
   16305 
   16306 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16308 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16309 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16310 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16311 then :
   16312   printf %s "(cached) " >&6
   16313 else case e in #(
   16314   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16315 /* end confdefs.h.  */
   16316 int i;
   16317 _ACEOF
   16318 if ac_fn_c_try_compile "$LINENO"
   16319 then :
   16320   xorg_cv_cc_flag_unknown_warning_option=yes
   16321 else case e in #(
   16322   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16323 esac
   16324 fi
   16325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16326 esac
   16327 fi
   16328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16329 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16330 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16331 	CFLAGS="$xorg_testset_save_CFLAGS"
   16332 fi
   16333 
   16334 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16335 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16336 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16337 	fi
   16338 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16339 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16340 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16341 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16342 then :
   16343   printf %s "(cached) " >&6
   16344 else case e in #(
   16345   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16346 /* end confdefs.h.  */
   16347 int i;
   16348 _ACEOF
   16349 if ac_fn_c_try_compile "$LINENO"
   16350 then :
   16351   xorg_cv_cc_flag_unused_command_line_argument=yes
   16352 else case e in #(
   16353   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16354 esac
   16355 fi
   16356 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16357 esac
   16358 fi
   16359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16360 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16361 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16362 	CFLAGS="$xorg_testset_save_CFLAGS"
   16363 fi
   16364 
   16365 found="no"
   16366 
   16367 	if test $found = "no" ; then
   16368 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16369 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16370 		fi
   16371 
   16372 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16373 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16374 		fi
   16375 
   16376 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   16377 
   16378 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   16379 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   16380 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   16381 		if eval test \${$cacheid+y}
   16382 then :
   16383   printf %s "(cached) " >&6
   16384 else case e in #(
   16385   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16386 /* end confdefs.h.  */
   16387 int i;
   16388 int
   16389 main (void)
   16390 {
   16391 
   16392   ;
   16393   return 0;
   16394 }
   16395 _ACEOF
   16396 if ac_fn_c_try_link "$LINENO"
   16397 then :
   16398   eval $cacheid=yes
   16399 else case e in #(
   16400   e) eval $cacheid=no ;;
   16401 esac
   16402 fi
   16403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16404     conftest$ac_exeext conftest.$ac_ext ;;
   16405 esac
   16406 fi
   16407 
   16408 
   16409 		CFLAGS="$xorg_testset_save_CFLAGS"
   16410 
   16411 		eval supported=\$$cacheid
   16412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16413 printf "%s\n" "$supported" >&6; }
   16414 		if test "$supported" = "yes" ; then
   16415 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   16416 			found="yes"
   16417 		fi
   16418 	fi
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 xorg_testset_save_CFLAGS="$CFLAGS"
   16435 
   16436 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16437 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16438 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16439 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16440 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16441 then :
   16442   printf %s "(cached) " >&6
   16443 else case e in #(
   16444   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16445 /* end confdefs.h.  */
   16446 int i;
   16447 _ACEOF
   16448 if ac_fn_c_try_compile "$LINENO"
   16449 then :
   16450   xorg_cv_cc_flag_unknown_warning_option=yes
   16451 else case e in #(
   16452   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16453 esac
   16454 fi
   16455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16456 esac
   16457 fi
   16458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16459 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16460 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16461 	CFLAGS="$xorg_testset_save_CFLAGS"
   16462 fi
   16463 
   16464 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16465 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16466 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16467 	fi
   16468 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16470 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16471 if test ${xorg_cv_cc_flag_unused_command_line_argument+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 _ACEOF
   16479 if ac_fn_c_try_compile "$LINENO"
   16480 then :
   16481   xorg_cv_cc_flag_unused_command_line_argument=yes
   16482 else case e in #(
   16483   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16484 esac
   16485 fi
   16486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16487 esac
   16488 fi
   16489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16490 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16492 	CFLAGS="$xorg_testset_save_CFLAGS"
   16493 fi
   16494 
   16495 found="no"
   16496 
   16497 	if test $found = "no" ; then
   16498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16500 		fi
   16501 
   16502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16504 		fi
   16505 
   16506 		CFLAGS="$CFLAGS -Wredundant-decls"
   16507 
   16508 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16509 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16510 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16511 		if eval test \${$cacheid+y}
   16512 then :
   16513   printf %s "(cached) " >&6
   16514 else case e in #(
   16515   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16516 /* end confdefs.h.  */
   16517 int i;
   16518 int
   16519 main (void)
   16520 {
   16521 
   16522   ;
   16523   return 0;
   16524 }
   16525 _ACEOF
   16526 if ac_fn_c_try_link "$LINENO"
   16527 then :
   16528   eval $cacheid=yes
   16529 else case e in #(
   16530   e) eval $cacheid=no ;;
   16531 esac
   16532 fi
   16533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16534     conftest$ac_exeext conftest.$ac_ext ;;
   16535 esac
   16536 fi
   16537 
   16538 
   16539 		CFLAGS="$xorg_testset_save_CFLAGS"
   16540 
   16541 		eval supported=\$$cacheid
   16542 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16543 printf "%s\n" "$supported" >&6; }
   16544 		if test "$supported" = "yes" ; then
   16545 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16546 			found="yes"
   16547 		fi
   16548 	fi
   16549 
   16550 
   16551 
   16552 
   16553 
   16554 
   16555 
   16556 
   16557 
   16558 
   16559 
   16560 
   16561 
   16562 
   16563 
   16564 xorg_testset_save_CFLAGS="$CFLAGS"
   16565 
   16566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16568 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16569 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16570 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16571 then :
   16572   printf %s "(cached) " >&6
   16573 else case e in #(
   16574   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16575 /* end confdefs.h.  */
   16576 int i;
   16577 _ACEOF
   16578 if ac_fn_c_try_compile "$LINENO"
   16579 then :
   16580   xorg_cv_cc_flag_unknown_warning_option=yes
   16581 else case e in #(
   16582   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16583 esac
   16584 fi
   16585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16586 esac
   16587 fi
   16588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16589 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16591 	CFLAGS="$xorg_testset_save_CFLAGS"
   16592 fi
   16593 
   16594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16597 	fi
   16598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16600 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16601 if test ${xorg_cv_cc_flag_unused_command_line_argument+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 _ACEOF
   16609 if ac_fn_c_try_compile "$LINENO"
   16610 then :
   16611   xorg_cv_cc_flag_unused_command_line_argument=yes
   16612 else case e in #(
   16613   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16614 esac
   16615 fi
   16616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16617 esac
   16618 fi
   16619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16620 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16622 	CFLAGS="$xorg_testset_save_CFLAGS"
   16623 fi
   16624 
   16625 found="no"
   16626 
   16627 	if test $found = "no" ; then
   16628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16630 		fi
   16631 
   16632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16634 		fi
   16635 
   16636 		CFLAGS="$CFLAGS -Wlogical-op"
   16637 
   16638 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16639 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16640 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16641 		if eval test \${$cacheid+y}
   16642 then :
   16643   printf %s "(cached) " >&6
   16644 else case e in #(
   16645   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16646 /* end confdefs.h.  */
   16647 int i;
   16648 int
   16649 main (void)
   16650 {
   16651 
   16652   ;
   16653   return 0;
   16654 }
   16655 _ACEOF
   16656 if ac_fn_c_try_link "$LINENO"
   16657 then :
   16658   eval $cacheid=yes
   16659 else case e in #(
   16660   e) eval $cacheid=no ;;
   16661 esac
   16662 fi
   16663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16664     conftest$ac_exeext conftest.$ac_ext ;;
   16665 esac
   16666 fi
   16667 
   16668 
   16669 		CFLAGS="$xorg_testset_save_CFLAGS"
   16670 
   16671 		eval supported=\$$cacheid
   16672 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16673 printf "%s\n" "$supported" >&6; }
   16674 		if test "$supported" = "yes" ; then
   16675 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16676 			found="yes"
   16677 		fi
   16678 	fi
   16679 
   16680 
   16681 
   16682 # These are currently disabled because they are noisy.  They will be enabled
   16683 # in the future once the codebase is sufficiently modernized to silence
   16684 # them.  For now, I don't want them to drown out the other warnings.
   16685 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16686 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16687 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16688 
   16689 # Turn some warnings into errors, so we don't accidentally get successful builds
   16690 # when there are problems that should be fixed.
   16691 
   16692 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 xorg_testset_save_CFLAGS="$CFLAGS"
   16707 
   16708 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16709 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16711 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16712 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16713 then :
   16714   printf %s "(cached) " >&6
   16715 else case e in #(
   16716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16717 /* end confdefs.h.  */
   16718 int i;
   16719 _ACEOF
   16720 if ac_fn_c_try_compile "$LINENO"
   16721 then :
   16722   xorg_cv_cc_flag_unknown_warning_option=yes
   16723 else case e in #(
   16724   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16725 esac
   16726 fi
   16727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16728 esac
   16729 fi
   16730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16731 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16732 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16733 	CFLAGS="$xorg_testset_save_CFLAGS"
   16734 fi
   16735 
   16736 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16737 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16738 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16739 	fi
   16740 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16741 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16742 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16743 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16744 then :
   16745   printf %s "(cached) " >&6
   16746 else case e in #(
   16747   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16748 /* end confdefs.h.  */
   16749 int i;
   16750 _ACEOF
   16751 if ac_fn_c_try_compile "$LINENO"
   16752 then :
   16753   xorg_cv_cc_flag_unused_command_line_argument=yes
   16754 else case e in #(
   16755   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16756 esac
   16757 fi
   16758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16759 esac
   16760 fi
   16761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16762 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16764 	CFLAGS="$xorg_testset_save_CFLAGS"
   16765 fi
   16766 
   16767 found="no"
   16768 
   16769 	if test $found = "no" ; then
   16770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16772 		fi
   16773 
   16774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16776 		fi
   16777 
   16778 		CFLAGS="$CFLAGS -Werror=implicit"
   16779 
   16780 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16781 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16782 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16783 		if eval test \${$cacheid+y}
   16784 then :
   16785   printf %s "(cached) " >&6
   16786 else case e in #(
   16787   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16788 /* end confdefs.h.  */
   16789 int i;
   16790 int
   16791 main (void)
   16792 {
   16793 
   16794   ;
   16795   return 0;
   16796 }
   16797 _ACEOF
   16798 if ac_fn_c_try_link "$LINENO"
   16799 then :
   16800   eval $cacheid=yes
   16801 else case e in #(
   16802   e) eval $cacheid=no ;;
   16803 esac
   16804 fi
   16805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16806     conftest$ac_exeext conftest.$ac_ext ;;
   16807 esac
   16808 fi
   16809 
   16810 
   16811 		CFLAGS="$xorg_testset_save_CFLAGS"
   16812 
   16813 		eval supported=\$$cacheid
   16814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16815 printf "%s\n" "$supported" >&6; }
   16816 		if test "$supported" = "yes" ; then
   16817 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16818 			found="yes"
   16819 		fi
   16820 	fi
   16821 
   16822 	if test $found = "no" ; then
   16823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16825 		fi
   16826 
   16827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16829 		fi
   16830 
   16831 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16832 
   16833 		{ 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
   16834 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16835 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16836 		if eval test \${$cacheid+y}
   16837 then :
   16838   printf %s "(cached) " >&6
   16839 else case e in #(
   16840   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16841 /* end confdefs.h.  */
   16842 int i;
   16843 int
   16844 main (void)
   16845 {
   16846 
   16847   ;
   16848   return 0;
   16849 }
   16850 _ACEOF
   16851 if ac_fn_c_try_link "$LINENO"
   16852 then :
   16853   eval $cacheid=yes
   16854 else case e in #(
   16855   e) eval $cacheid=no ;;
   16856 esac
   16857 fi
   16858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16859     conftest$ac_exeext conftest.$ac_ext ;;
   16860 esac
   16861 fi
   16862 
   16863 
   16864 		CFLAGS="$xorg_testset_save_CFLAGS"
   16865 
   16866 		eval supported=\$$cacheid
   16867 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16868 printf "%s\n" "$supported" >&6; }
   16869 		if test "$supported" = "yes" ; then
   16870 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16871 			found="yes"
   16872 		fi
   16873 	fi
   16874 
   16875 
   16876 
   16877 
   16878 
   16879 
   16880 
   16881 
   16882 
   16883 
   16884 
   16885 
   16886 
   16887 
   16888 
   16889 xorg_testset_save_CFLAGS="$CFLAGS"
   16890 
   16891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16894 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16895 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16896 then :
   16897   printf %s "(cached) " >&6
   16898 else case e in #(
   16899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16900 /* end confdefs.h.  */
   16901 int i;
   16902 _ACEOF
   16903 if ac_fn_c_try_compile "$LINENO"
   16904 then :
   16905   xorg_cv_cc_flag_unknown_warning_option=yes
   16906 else case e in #(
   16907   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16908 esac
   16909 fi
   16910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16911 esac
   16912 fi
   16913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16914 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16916 	CFLAGS="$xorg_testset_save_CFLAGS"
   16917 fi
   16918 
   16919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16922 	fi
   16923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16925 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16926 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16927 then :
   16928   printf %s "(cached) " >&6
   16929 else case e in #(
   16930   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16931 /* end confdefs.h.  */
   16932 int i;
   16933 _ACEOF
   16934 if ac_fn_c_try_compile "$LINENO"
   16935 then :
   16936   xorg_cv_cc_flag_unused_command_line_argument=yes
   16937 else case e in #(
   16938   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16939 esac
   16940 fi
   16941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16942 esac
   16943 fi
   16944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16945 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16946 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16947 	CFLAGS="$xorg_testset_save_CFLAGS"
   16948 fi
   16949 
   16950 found="no"
   16951 
   16952 	if test $found = "no" ; then
   16953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16955 		fi
   16956 
   16957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16959 		fi
   16960 
   16961 		CFLAGS="$CFLAGS -Werror=nonnull"
   16962 
   16963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16964 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16965 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16966 		if eval test \${$cacheid+y}
   16967 then :
   16968   printf %s "(cached) " >&6
   16969 else case e in #(
   16970   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16971 /* end confdefs.h.  */
   16972 int i;
   16973 int
   16974 main (void)
   16975 {
   16976 
   16977   ;
   16978   return 0;
   16979 }
   16980 _ACEOF
   16981 if ac_fn_c_try_link "$LINENO"
   16982 then :
   16983   eval $cacheid=yes
   16984 else case e in #(
   16985   e) eval $cacheid=no ;;
   16986 esac
   16987 fi
   16988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16989     conftest$ac_exeext conftest.$ac_ext ;;
   16990 esac
   16991 fi
   16992 
   16993 
   16994 		CFLAGS="$xorg_testset_save_CFLAGS"
   16995 
   16996 		eval supported=\$$cacheid
   16997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16998 printf "%s\n" "$supported" >&6; }
   16999 		if test "$supported" = "yes" ; then
   17000 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   17001 			found="yes"
   17002 		fi
   17003 	fi
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 xorg_testset_save_CFLAGS="$CFLAGS"
   17020 
   17021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17024 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17025 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17026 then :
   17027   printf %s "(cached) " >&6
   17028 else case e in #(
   17029   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17030 /* end confdefs.h.  */
   17031 int i;
   17032 _ACEOF
   17033 if ac_fn_c_try_compile "$LINENO"
   17034 then :
   17035   xorg_cv_cc_flag_unknown_warning_option=yes
   17036 else case e in #(
   17037   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17038 esac
   17039 fi
   17040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17041 esac
   17042 fi
   17043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17044 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17046 	CFLAGS="$xorg_testset_save_CFLAGS"
   17047 fi
   17048 
   17049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17052 	fi
   17053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17055 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17056 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17057 then :
   17058   printf %s "(cached) " >&6
   17059 else case e in #(
   17060   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17061 /* end confdefs.h.  */
   17062 int i;
   17063 _ACEOF
   17064 if ac_fn_c_try_compile "$LINENO"
   17065 then :
   17066   xorg_cv_cc_flag_unused_command_line_argument=yes
   17067 else case e in #(
   17068   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17069 esac
   17070 fi
   17071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17072 esac
   17073 fi
   17074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17075 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17077 	CFLAGS="$xorg_testset_save_CFLAGS"
   17078 fi
   17079 
   17080 found="no"
   17081 
   17082 	if test $found = "no" ; then
   17083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17085 		fi
   17086 
   17087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17089 		fi
   17090 
   17091 		CFLAGS="$CFLAGS -Werror=init-self"
   17092 
   17093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   17094 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   17095 		cacheid=xorg_cv_cc_flag__Werror_init_self
   17096 		if eval test \${$cacheid+y}
   17097 then :
   17098   printf %s "(cached) " >&6
   17099 else case e in #(
   17100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17101 /* end confdefs.h.  */
   17102 int i;
   17103 int
   17104 main (void)
   17105 {
   17106 
   17107   ;
   17108   return 0;
   17109 }
   17110 _ACEOF
   17111 if ac_fn_c_try_link "$LINENO"
   17112 then :
   17113   eval $cacheid=yes
   17114 else case e in #(
   17115   e) eval $cacheid=no ;;
   17116 esac
   17117 fi
   17118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17119     conftest$ac_exeext conftest.$ac_ext ;;
   17120 esac
   17121 fi
   17122 
   17123 
   17124 		CFLAGS="$xorg_testset_save_CFLAGS"
   17125 
   17126 		eval supported=\$$cacheid
   17127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17128 printf "%s\n" "$supported" >&6; }
   17129 		if test "$supported" = "yes" ; then
   17130 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   17131 			found="yes"
   17132 		fi
   17133 	fi
   17134 
   17135 
   17136 
   17137 
   17138 
   17139 
   17140 
   17141 
   17142 
   17143 
   17144 
   17145 
   17146 
   17147 
   17148 
   17149 xorg_testset_save_CFLAGS="$CFLAGS"
   17150 
   17151 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17152 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17153 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17154 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17155 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17156 then :
   17157   printf %s "(cached) " >&6
   17158 else case e in #(
   17159   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17160 /* end confdefs.h.  */
   17161 int i;
   17162 _ACEOF
   17163 if ac_fn_c_try_compile "$LINENO"
   17164 then :
   17165   xorg_cv_cc_flag_unknown_warning_option=yes
   17166 else case e in #(
   17167   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17168 esac
   17169 fi
   17170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17171 esac
   17172 fi
   17173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17174 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17176 	CFLAGS="$xorg_testset_save_CFLAGS"
   17177 fi
   17178 
   17179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17182 	fi
   17183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17184 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17185 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17186 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17187 then :
   17188   printf %s "(cached) " >&6
   17189 else case e in #(
   17190   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17191 /* end confdefs.h.  */
   17192 int i;
   17193 _ACEOF
   17194 if ac_fn_c_try_compile "$LINENO"
   17195 then :
   17196   xorg_cv_cc_flag_unused_command_line_argument=yes
   17197 else case e in #(
   17198   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17199 esac
   17200 fi
   17201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17202 esac
   17203 fi
   17204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17205 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17207 	CFLAGS="$xorg_testset_save_CFLAGS"
   17208 fi
   17209 
   17210 found="no"
   17211 
   17212 	if test $found = "no" ; then
   17213 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17215 		fi
   17216 
   17217 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17219 		fi
   17220 
   17221 		CFLAGS="$CFLAGS -Werror=main"
   17222 
   17223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   17224 printf %s "checking if $CC supports -Werror=main... " >&6; }
   17225 		cacheid=xorg_cv_cc_flag__Werror_main
   17226 		if eval test \${$cacheid+y}
   17227 then :
   17228   printf %s "(cached) " >&6
   17229 else case e in #(
   17230   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17231 /* end confdefs.h.  */
   17232 int i;
   17233 int
   17234 main (void)
   17235 {
   17236 
   17237   ;
   17238   return 0;
   17239 }
   17240 _ACEOF
   17241 if ac_fn_c_try_link "$LINENO"
   17242 then :
   17243   eval $cacheid=yes
   17244 else case e in #(
   17245   e) eval $cacheid=no ;;
   17246 esac
   17247 fi
   17248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17249     conftest$ac_exeext conftest.$ac_ext ;;
   17250 esac
   17251 fi
   17252 
   17253 
   17254 		CFLAGS="$xorg_testset_save_CFLAGS"
   17255 
   17256 		eval supported=\$$cacheid
   17257 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17258 printf "%s\n" "$supported" >&6; }
   17259 		if test "$supported" = "yes" ; then
   17260 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   17261 			found="yes"
   17262 		fi
   17263 	fi
   17264 
   17265 
   17266 
   17267 
   17268 
   17269 
   17270 
   17271 
   17272 
   17273 
   17274 
   17275 
   17276 
   17277 
   17278 
   17279 xorg_testset_save_CFLAGS="$CFLAGS"
   17280 
   17281 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17282 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17283 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17284 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17285 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17286 then :
   17287   printf %s "(cached) " >&6
   17288 else case e in #(
   17289   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17290 /* end confdefs.h.  */
   17291 int i;
   17292 _ACEOF
   17293 if ac_fn_c_try_compile "$LINENO"
   17294 then :
   17295   xorg_cv_cc_flag_unknown_warning_option=yes
   17296 else case e in #(
   17297   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17298 esac
   17299 fi
   17300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17301 esac
   17302 fi
   17303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17304 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17305 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17306 	CFLAGS="$xorg_testset_save_CFLAGS"
   17307 fi
   17308 
   17309 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17310 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17312 	fi
   17313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17315 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17316 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17317 then :
   17318   printf %s "(cached) " >&6
   17319 else case e in #(
   17320   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17321 /* end confdefs.h.  */
   17322 int i;
   17323 _ACEOF
   17324 if ac_fn_c_try_compile "$LINENO"
   17325 then :
   17326   xorg_cv_cc_flag_unused_command_line_argument=yes
   17327 else case e in #(
   17328   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17329 esac
   17330 fi
   17331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17332 esac
   17333 fi
   17334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17335 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17336 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17337 	CFLAGS="$xorg_testset_save_CFLAGS"
   17338 fi
   17339 
   17340 found="no"
   17341 
   17342 	if test $found = "no" ; then
   17343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17345 		fi
   17346 
   17347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17349 		fi
   17350 
   17351 		CFLAGS="$CFLAGS -Werror=missing-braces"
   17352 
   17353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   17354 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   17355 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   17356 		if eval test \${$cacheid+y}
   17357 then :
   17358   printf %s "(cached) " >&6
   17359 else case e in #(
   17360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17361 /* end confdefs.h.  */
   17362 int i;
   17363 int
   17364 main (void)
   17365 {
   17366 
   17367   ;
   17368   return 0;
   17369 }
   17370 _ACEOF
   17371 if ac_fn_c_try_link "$LINENO"
   17372 then :
   17373   eval $cacheid=yes
   17374 else case e in #(
   17375   e) eval $cacheid=no ;;
   17376 esac
   17377 fi
   17378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17379     conftest$ac_exeext conftest.$ac_ext ;;
   17380 esac
   17381 fi
   17382 
   17383 
   17384 		CFLAGS="$xorg_testset_save_CFLAGS"
   17385 
   17386 		eval supported=\$$cacheid
   17387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17388 printf "%s\n" "$supported" >&6; }
   17389 		if test "$supported" = "yes" ; then
   17390 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   17391 			found="yes"
   17392 		fi
   17393 	fi
   17394 
   17395 
   17396 
   17397 
   17398 
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 
   17406 
   17407 
   17408 
   17409 xorg_testset_save_CFLAGS="$CFLAGS"
   17410 
   17411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17413 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17414 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17415 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17416 then :
   17417   printf %s "(cached) " >&6
   17418 else case e in #(
   17419   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17420 /* end confdefs.h.  */
   17421 int i;
   17422 _ACEOF
   17423 if ac_fn_c_try_compile "$LINENO"
   17424 then :
   17425   xorg_cv_cc_flag_unknown_warning_option=yes
   17426 else case e in #(
   17427   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17428 esac
   17429 fi
   17430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17431 esac
   17432 fi
   17433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17434 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17436 	CFLAGS="$xorg_testset_save_CFLAGS"
   17437 fi
   17438 
   17439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17442 	fi
   17443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17444 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17445 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17446 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17447 then :
   17448   printf %s "(cached) " >&6
   17449 else case e in #(
   17450   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17451 /* end confdefs.h.  */
   17452 int i;
   17453 _ACEOF
   17454 if ac_fn_c_try_compile "$LINENO"
   17455 then :
   17456   xorg_cv_cc_flag_unused_command_line_argument=yes
   17457 else case e in #(
   17458   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17459 esac
   17460 fi
   17461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17462 esac
   17463 fi
   17464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17465 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17467 	CFLAGS="$xorg_testset_save_CFLAGS"
   17468 fi
   17469 
   17470 found="no"
   17471 
   17472 	if test $found = "no" ; then
   17473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17475 		fi
   17476 
   17477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17479 		fi
   17480 
   17481 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17482 
   17483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17484 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17485 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17486 		if eval test \${$cacheid+y}
   17487 then :
   17488   printf %s "(cached) " >&6
   17489 else case e in #(
   17490   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17491 /* end confdefs.h.  */
   17492 int i;
   17493 int
   17494 main (void)
   17495 {
   17496 
   17497   ;
   17498   return 0;
   17499 }
   17500 _ACEOF
   17501 if ac_fn_c_try_link "$LINENO"
   17502 then :
   17503   eval $cacheid=yes
   17504 else case e in #(
   17505   e) eval $cacheid=no ;;
   17506 esac
   17507 fi
   17508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17509     conftest$ac_exeext conftest.$ac_ext ;;
   17510 esac
   17511 fi
   17512 
   17513 
   17514 		CFLAGS="$xorg_testset_save_CFLAGS"
   17515 
   17516 		eval supported=\$$cacheid
   17517 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17518 printf "%s\n" "$supported" >&6; }
   17519 		if test "$supported" = "yes" ; then
   17520 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17521 			found="yes"
   17522 		fi
   17523 	fi
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 
   17530 
   17531 
   17532 
   17533 
   17534 
   17535 
   17536 
   17537 
   17538 
   17539 xorg_testset_save_CFLAGS="$CFLAGS"
   17540 
   17541 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17542 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17543 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17544 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17545 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17546 then :
   17547   printf %s "(cached) " >&6
   17548 else case e in #(
   17549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17550 /* end confdefs.h.  */
   17551 int i;
   17552 _ACEOF
   17553 if ac_fn_c_try_compile "$LINENO"
   17554 then :
   17555   xorg_cv_cc_flag_unknown_warning_option=yes
   17556 else case e in #(
   17557   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17558 esac
   17559 fi
   17560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17561 esac
   17562 fi
   17563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17564 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17566 	CFLAGS="$xorg_testset_save_CFLAGS"
   17567 fi
   17568 
   17569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17572 	fi
   17573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17574 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17575 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17576 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17577 then :
   17578   printf %s "(cached) " >&6
   17579 else case e in #(
   17580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17581 /* end confdefs.h.  */
   17582 int i;
   17583 _ACEOF
   17584 if ac_fn_c_try_compile "$LINENO"
   17585 then :
   17586   xorg_cv_cc_flag_unused_command_line_argument=yes
   17587 else case e in #(
   17588   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17589 esac
   17590 fi
   17591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17592 esac
   17593 fi
   17594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17595 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17597 	CFLAGS="$xorg_testset_save_CFLAGS"
   17598 fi
   17599 
   17600 found="no"
   17601 
   17602 	if test $found = "no" ; then
   17603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17605 		fi
   17606 
   17607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17609 		fi
   17610 
   17611 		CFLAGS="$CFLAGS -Werror=return-type"
   17612 
   17613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17614 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17615 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17616 		if eval test \${$cacheid+y}
   17617 then :
   17618   printf %s "(cached) " >&6
   17619 else case e in #(
   17620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17621 /* end confdefs.h.  */
   17622 int i;
   17623 int
   17624 main (void)
   17625 {
   17626 
   17627   ;
   17628   return 0;
   17629 }
   17630 _ACEOF
   17631 if ac_fn_c_try_link "$LINENO"
   17632 then :
   17633   eval $cacheid=yes
   17634 else case e in #(
   17635   e) eval $cacheid=no ;;
   17636 esac
   17637 fi
   17638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17639     conftest$ac_exeext conftest.$ac_ext ;;
   17640 esac
   17641 fi
   17642 
   17643 
   17644 		CFLAGS="$xorg_testset_save_CFLAGS"
   17645 
   17646 		eval supported=\$$cacheid
   17647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17648 printf "%s\n" "$supported" >&6; }
   17649 		if test "$supported" = "yes" ; then
   17650 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17651 			found="yes"
   17652 		fi
   17653 	fi
   17654 
   17655 	if test $found = "no" ; then
   17656 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17657 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17658 		fi
   17659 
   17660 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17661 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17662 		fi
   17663 
   17664 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17665 
   17666 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17667 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17668 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17669 		if eval test \${$cacheid+y}
   17670 then :
   17671   printf %s "(cached) " >&6
   17672 else case e in #(
   17673   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17674 /* end confdefs.h.  */
   17675 int i;
   17676 int
   17677 main (void)
   17678 {
   17679 
   17680   ;
   17681   return 0;
   17682 }
   17683 _ACEOF
   17684 if ac_fn_c_try_link "$LINENO"
   17685 then :
   17686   eval $cacheid=yes
   17687 else case e in #(
   17688   e) eval $cacheid=no ;;
   17689 esac
   17690 fi
   17691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17692     conftest$ac_exeext conftest.$ac_ext ;;
   17693 esac
   17694 fi
   17695 
   17696 
   17697 		CFLAGS="$xorg_testset_save_CFLAGS"
   17698 
   17699 		eval supported=\$$cacheid
   17700 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17701 printf "%s\n" "$supported" >&6; }
   17702 		if test "$supported" = "yes" ; then
   17703 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17704 			found="yes"
   17705 		fi
   17706 	fi
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 xorg_testset_save_CFLAGS="$CFLAGS"
   17723 
   17724 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17725 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17726 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17727 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17728 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17729 then :
   17730   printf %s "(cached) " >&6
   17731 else case e in #(
   17732   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17733 /* end confdefs.h.  */
   17734 int i;
   17735 _ACEOF
   17736 if ac_fn_c_try_compile "$LINENO"
   17737 then :
   17738   xorg_cv_cc_flag_unknown_warning_option=yes
   17739 else case e in #(
   17740   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17741 esac
   17742 fi
   17743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17744 esac
   17745 fi
   17746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17747 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17748 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17749 	CFLAGS="$xorg_testset_save_CFLAGS"
   17750 fi
   17751 
   17752 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17753 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17754 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17755 	fi
   17756 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17757 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17758 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17759 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17760 then :
   17761   printf %s "(cached) " >&6
   17762 else case e in #(
   17763   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17764 /* end confdefs.h.  */
   17765 int i;
   17766 _ACEOF
   17767 if ac_fn_c_try_compile "$LINENO"
   17768 then :
   17769   xorg_cv_cc_flag_unused_command_line_argument=yes
   17770 else case e in #(
   17771   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17772 esac
   17773 fi
   17774 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17775 esac
   17776 fi
   17777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17778 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17779 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17780 	CFLAGS="$xorg_testset_save_CFLAGS"
   17781 fi
   17782 
   17783 found="no"
   17784 
   17785 	if test $found = "no" ; then
   17786 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17787 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17788 		fi
   17789 
   17790 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17791 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17792 		fi
   17793 
   17794 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17795 
   17796 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17797 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17798 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17799 		if eval test \${$cacheid+y}
   17800 then :
   17801   printf %s "(cached) " >&6
   17802 else case e in #(
   17803   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17804 /* end confdefs.h.  */
   17805 int i;
   17806 int
   17807 main (void)
   17808 {
   17809 
   17810   ;
   17811   return 0;
   17812 }
   17813 _ACEOF
   17814 if ac_fn_c_try_link "$LINENO"
   17815 then :
   17816   eval $cacheid=yes
   17817 else case e in #(
   17818   e) eval $cacheid=no ;;
   17819 esac
   17820 fi
   17821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17822     conftest$ac_exeext conftest.$ac_ext ;;
   17823 esac
   17824 fi
   17825 
   17826 
   17827 		CFLAGS="$xorg_testset_save_CFLAGS"
   17828 
   17829 		eval supported=\$$cacheid
   17830 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17831 printf "%s\n" "$supported" >&6; }
   17832 		if test "$supported" = "yes" ; then
   17833 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17834 			found="yes"
   17835 		fi
   17836 	fi
   17837 
   17838 
   17839 
   17840 
   17841 
   17842 
   17843 
   17844 
   17845 
   17846 
   17847 
   17848 
   17849 
   17850 
   17851 
   17852 xorg_testset_save_CFLAGS="$CFLAGS"
   17853 
   17854 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17855 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17856 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17857 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17858 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17859 then :
   17860   printf %s "(cached) " >&6
   17861 else case e in #(
   17862   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17863 /* end confdefs.h.  */
   17864 int i;
   17865 _ACEOF
   17866 if ac_fn_c_try_compile "$LINENO"
   17867 then :
   17868   xorg_cv_cc_flag_unknown_warning_option=yes
   17869 else case e in #(
   17870   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17871 esac
   17872 fi
   17873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17874 esac
   17875 fi
   17876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17877 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17878 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17879 	CFLAGS="$xorg_testset_save_CFLAGS"
   17880 fi
   17881 
   17882 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17883 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17884 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17885 	fi
   17886 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17887 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17888 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17889 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17890 then :
   17891   printf %s "(cached) " >&6
   17892 else case e in #(
   17893   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17894 /* end confdefs.h.  */
   17895 int i;
   17896 _ACEOF
   17897 if ac_fn_c_try_compile "$LINENO"
   17898 then :
   17899   xorg_cv_cc_flag_unused_command_line_argument=yes
   17900 else case e in #(
   17901   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17902 esac
   17903 fi
   17904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17905 esac
   17906 fi
   17907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17908 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17909 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17910 	CFLAGS="$xorg_testset_save_CFLAGS"
   17911 fi
   17912 
   17913 found="no"
   17914 
   17915 	if test $found = "no" ; then
   17916 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17918 		fi
   17919 
   17920 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17922 		fi
   17923 
   17924 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17925 
   17926 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17927 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17928 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17929 		if eval test \${$cacheid+y}
   17930 then :
   17931   printf %s "(cached) " >&6
   17932 else case e in #(
   17933   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17934 /* end confdefs.h.  */
   17935 int i;
   17936 int
   17937 main (void)
   17938 {
   17939 
   17940   ;
   17941   return 0;
   17942 }
   17943 _ACEOF
   17944 if ac_fn_c_try_link "$LINENO"
   17945 then :
   17946   eval $cacheid=yes
   17947 else case e in #(
   17948   e) eval $cacheid=no ;;
   17949 esac
   17950 fi
   17951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17952     conftest$ac_exeext conftest.$ac_ext ;;
   17953 esac
   17954 fi
   17955 
   17956 
   17957 		CFLAGS="$xorg_testset_save_CFLAGS"
   17958 
   17959 		eval supported=\$$cacheid
   17960 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17961 printf "%s\n" "$supported" >&6; }
   17962 		if test "$supported" = "yes" ; then
   17963 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17964 			found="yes"
   17965 		fi
   17966 	fi
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979 
   17980 
   17981 
   17982 xorg_testset_save_CFLAGS="$CFLAGS"
   17983 
   17984 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17985 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17986 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17987 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17988 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17989 then :
   17990   printf %s "(cached) " >&6
   17991 else case e in #(
   17992   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17993 /* end confdefs.h.  */
   17994 int i;
   17995 _ACEOF
   17996 if ac_fn_c_try_compile "$LINENO"
   17997 then :
   17998   xorg_cv_cc_flag_unknown_warning_option=yes
   17999 else case e in #(
   18000   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18001 esac
   18002 fi
   18003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18004 esac
   18005 fi
   18006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18007 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18008 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18009 	CFLAGS="$xorg_testset_save_CFLAGS"
   18010 fi
   18011 
   18012 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18013 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18014 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18015 	fi
   18016 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18018 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18019 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18020 then :
   18021   printf %s "(cached) " >&6
   18022 else case e in #(
   18023   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18024 /* end confdefs.h.  */
   18025 int i;
   18026 _ACEOF
   18027 if ac_fn_c_try_compile "$LINENO"
   18028 then :
   18029   xorg_cv_cc_flag_unused_command_line_argument=yes
   18030 else case e in #(
   18031   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18032 esac
   18033 fi
   18034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18035 esac
   18036 fi
   18037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18038 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18039 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18040 	CFLAGS="$xorg_testset_save_CFLAGS"
   18041 fi
   18042 
   18043 found="no"
   18044 
   18045 	if test $found = "no" ; then
   18046 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18047 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18048 		fi
   18049 
   18050 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18051 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18052 		fi
   18053 
   18054 		CFLAGS="$CFLAGS -Werror=write-strings"
   18055 
   18056 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   18057 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   18058 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   18059 		if eval test \${$cacheid+y}
   18060 then :
   18061   printf %s "(cached) " >&6
   18062 else case e in #(
   18063   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18064 /* end confdefs.h.  */
   18065 int i;
   18066 int
   18067 main (void)
   18068 {
   18069 
   18070   ;
   18071   return 0;
   18072 }
   18073 _ACEOF
   18074 if ac_fn_c_try_link "$LINENO"
   18075 then :
   18076   eval $cacheid=yes
   18077 else case e in #(
   18078   e) eval $cacheid=no ;;
   18079 esac
   18080 fi
   18081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18082     conftest$ac_exeext conftest.$ac_ext ;;
   18083 esac
   18084 fi
   18085 
   18086 
   18087 		CFLAGS="$xorg_testset_save_CFLAGS"
   18088 
   18089 		eval supported=\$$cacheid
   18090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18091 printf "%s\n" "$supported" >&6; }
   18092 		if test "$supported" = "yes" ; then
   18093 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   18094 			found="yes"
   18095 		fi
   18096 	fi
   18097 
   18098 
   18099 
   18100 
   18101 
   18102 
   18103 
   18104 
   18105 
   18106 
   18107 
   18108 
   18109 
   18110 
   18111 
   18112 xorg_testset_save_CFLAGS="$CFLAGS"
   18113 
   18114 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18116 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18117 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18118 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18119 then :
   18120   printf %s "(cached) " >&6
   18121 else case e in #(
   18122   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18123 /* end confdefs.h.  */
   18124 int i;
   18125 _ACEOF
   18126 if ac_fn_c_try_compile "$LINENO"
   18127 then :
   18128   xorg_cv_cc_flag_unknown_warning_option=yes
   18129 else case e in #(
   18130   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18131 esac
   18132 fi
   18133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18134 esac
   18135 fi
   18136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18137 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18138 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18139 	CFLAGS="$xorg_testset_save_CFLAGS"
   18140 fi
   18141 
   18142 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18143 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18145 	fi
   18146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18147 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18148 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18149 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18150 then :
   18151   printf %s "(cached) " >&6
   18152 else case e in #(
   18153   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18154 /* end confdefs.h.  */
   18155 int i;
   18156 _ACEOF
   18157 if ac_fn_c_try_compile "$LINENO"
   18158 then :
   18159   xorg_cv_cc_flag_unused_command_line_argument=yes
   18160 else case e in #(
   18161   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18162 esac
   18163 fi
   18164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18165 esac
   18166 fi
   18167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18168 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18169 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18170 	CFLAGS="$xorg_testset_save_CFLAGS"
   18171 fi
   18172 
   18173 found="no"
   18174 
   18175 	if test $found = "no" ; then
   18176 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18178 		fi
   18179 
   18180 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18182 		fi
   18183 
   18184 		CFLAGS="$CFLAGS -Werror=address"
   18185 
   18186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   18187 printf %s "checking if $CC supports -Werror=address... " >&6; }
   18188 		cacheid=xorg_cv_cc_flag__Werror_address
   18189 		if eval test \${$cacheid+y}
   18190 then :
   18191   printf %s "(cached) " >&6
   18192 else case e in #(
   18193   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18194 /* end confdefs.h.  */
   18195 int i;
   18196 int
   18197 main (void)
   18198 {
   18199 
   18200   ;
   18201   return 0;
   18202 }
   18203 _ACEOF
   18204 if ac_fn_c_try_link "$LINENO"
   18205 then :
   18206   eval $cacheid=yes
   18207 else case e in #(
   18208   e) eval $cacheid=no ;;
   18209 esac
   18210 fi
   18211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18212     conftest$ac_exeext conftest.$ac_ext ;;
   18213 esac
   18214 fi
   18215 
   18216 
   18217 		CFLAGS="$xorg_testset_save_CFLAGS"
   18218 
   18219 		eval supported=\$$cacheid
   18220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18221 printf "%s\n" "$supported" >&6; }
   18222 		if test "$supported" = "yes" ; then
   18223 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   18224 			found="yes"
   18225 		fi
   18226 	fi
   18227 
   18228 
   18229 
   18230 
   18231 
   18232 
   18233 
   18234 
   18235 
   18236 
   18237 
   18238 
   18239 
   18240 
   18241 
   18242 xorg_testset_save_CFLAGS="$CFLAGS"
   18243 
   18244 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18246 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18247 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18248 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18249 then :
   18250   printf %s "(cached) " >&6
   18251 else case e in #(
   18252   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18253 /* end confdefs.h.  */
   18254 int i;
   18255 _ACEOF
   18256 if ac_fn_c_try_compile "$LINENO"
   18257 then :
   18258   xorg_cv_cc_flag_unknown_warning_option=yes
   18259 else case e in #(
   18260   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18261 esac
   18262 fi
   18263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18264 esac
   18265 fi
   18266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18267 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18269 	CFLAGS="$xorg_testset_save_CFLAGS"
   18270 fi
   18271 
   18272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18275 	fi
   18276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18278 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18279 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18280 then :
   18281   printf %s "(cached) " >&6
   18282 else case e in #(
   18283   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18284 /* end confdefs.h.  */
   18285 int i;
   18286 _ACEOF
   18287 if ac_fn_c_try_compile "$LINENO"
   18288 then :
   18289   xorg_cv_cc_flag_unused_command_line_argument=yes
   18290 else case e in #(
   18291   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18292 esac
   18293 fi
   18294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18295 esac
   18296 fi
   18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18298 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18299 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18300 	CFLAGS="$xorg_testset_save_CFLAGS"
   18301 fi
   18302 
   18303 found="no"
   18304 
   18305 	if test $found = "no" ; then
   18306 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18307 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18308 		fi
   18309 
   18310 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18311 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18312 		fi
   18313 
   18314 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   18315 
   18316 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   18317 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   18318 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   18319 		if eval test \${$cacheid+y}
   18320 then :
   18321   printf %s "(cached) " >&6
   18322 else case e in #(
   18323   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18324 /* end confdefs.h.  */
   18325 int i;
   18326 int
   18327 main (void)
   18328 {
   18329 
   18330   ;
   18331   return 0;
   18332 }
   18333 _ACEOF
   18334 if ac_fn_c_try_link "$LINENO"
   18335 then :
   18336   eval $cacheid=yes
   18337 else case e in #(
   18338   e) eval $cacheid=no ;;
   18339 esac
   18340 fi
   18341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18342     conftest$ac_exeext conftest.$ac_ext ;;
   18343 esac
   18344 fi
   18345 
   18346 
   18347 		CFLAGS="$xorg_testset_save_CFLAGS"
   18348 
   18349 		eval supported=\$$cacheid
   18350 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18351 printf "%s\n" "$supported" >&6; }
   18352 		if test "$supported" = "yes" ; then
   18353 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   18354 			found="yes"
   18355 		fi
   18356 	fi
   18357 
   18358 	if test $found = "no" ; then
   18359 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18360 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18361 		fi
   18362 
   18363 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18364 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18365 		fi
   18366 
   18367 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18368 
   18369 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   18370 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   18371 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   18372 		if eval test \${$cacheid+y}
   18373 then :
   18374   printf %s "(cached) " >&6
   18375 else case e in #(
   18376   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18377 /* end confdefs.h.  */
   18378 int i;
   18379 int
   18380 main (void)
   18381 {
   18382 
   18383   ;
   18384   return 0;
   18385 }
   18386 _ACEOF
   18387 if ac_fn_c_try_link "$LINENO"
   18388 then :
   18389   eval $cacheid=yes
   18390 else case e in #(
   18391   e) eval $cacheid=no ;;
   18392 esac
   18393 fi
   18394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18395     conftest$ac_exeext conftest.$ac_ext ;;
   18396 esac
   18397 fi
   18398 
   18399 
   18400 		CFLAGS="$xorg_testset_save_CFLAGS"
   18401 
   18402 		eval supported=\$$cacheid
   18403 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18404 printf "%s\n" "$supported" >&6; }
   18405 		if test "$supported" = "yes" ; then
   18406 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18407 			found="yes"
   18408 		fi
   18409 	fi
   18410 
   18411 
   18412 
   18413 
   18414 
   18415 
   18416 
   18417 
   18418 
   18419 
   18420 
   18421 
   18422 
   18423 
   18424 
   18425 xorg_testset_save_CFLAGS="$CFLAGS"
   18426 
   18427 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18429 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18430 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18431 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18432 then :
   18433   printf %s "(cached) " >&6
   18434 else case e in #(
   18435   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18436 /* end confdefs.h.  */
   18437 int i;
   18438 _ACEOF
   18439 if ac_fn_c_try_compile "$LINENO"
   18440 then :
   18441   xorg_cv_cc_flag_unknown_warning_option=yes
   18442 else case e in #(
   18443   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18444 esac
   18445 fi
   18446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18447 esac
   18448 fi
   18449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18450 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18451 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18452 	CFLAGS="$xorg_testset_save_CFLAGS"
   18453 fi
   18454 
   18455 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18456 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18457 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18458 	fi
   18459 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18460 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18461 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18462 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18463 then :
   18464   printf %s "(cached) " >&6
   18465 else case e in #(
   18466   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18467 /* end confdefs.h.  */
   18468 int i;
   18469 _ACEOF
   18470 if ac_fn_c_try_compile "$LINENO"
   18471 then :
   18472   xorg_cv_cc_flag_unused_command_line_argument=yes
   18473 else case e in #(
   18474   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18475 esac
   18476 fi
   18477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18478 esac
   18479 fi
   18480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18481 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18483 	CFLAGS="$xorg_testset_save_CFLAGS"
   18484 fi
   18485 
   18486 found="no"
   18487 
   18488 	if test $found = "no" ; then
   18489 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18491 		fi
   18492 
   18493 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18495 		fi
   18496 
   18497 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18498 
   18499 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18500 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18501 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18502 		if eval test \${$cacheid+y}
   18503 then :
   18504   printf %s "(cached) " >&6
   18505 else case e in #(
   18506   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18507 /* end confdefs.h.  */
   18508 int i;
   18509 int
   18510 main (void)
   18511 {
   18512 
   18513   ;
   18514   return 0;
   18515 }
   18516 _ACEOF
   18517 if ac_fn_c_try_link "$LINENO"
   18518 then :
   18519   eval $cacheid=yes
   18520 else case e in #(
   18521   e) eval $cacheid=no ;;
   18522 esac
   18523 fi
   18524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18525     conftest$ac_exeext conftest.$ac_ext ;;
   18526 esac
   18527 fi
   18528 
   18529 
   18530 		CFLAGS="$xorg_testset_save_CFLAGS"
   18531 
   18532 		eval supported=\$$cacheid
   18533 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18534 printf "%s\n" "$supported" >&6; }
   18535 		if test "$supported" = "yes" ; then
   18536 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18537 			found="yes"
   18538 		fi
   18539 	fi
   18540 
   18541  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18542 else
   18543 { 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
   18544 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;}
   18545 
   18546 
   18547 
   18548 
   18549 
   18550 
   18551 
   18552 
   18553 
   18554 
   18555 
   18556 
   18557 
   18558 xorg_testset_save_CFLAGS="$CFLAGS"
   18559 
   18560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18562 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18563 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18564 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18565 then :
   18566   printf %s "(cached) " >&6
   18567 else case e in #(
   18568   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18569 /* end confdefs.h.  */
   18570 int i;
   18571 _ACEOF
   18572 if ac_fn_c_try_compile "$LINENO"
   18573 then :
   18574   xorg_cv_cc_flag_unknown_warning_option=yes
   18575 else case e in #(
   18576   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18577 esac
   18578 fi
   18579 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18580 esac
   18581 fi
   18582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18583 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18585 	CFLAGS="$xorg_testset_save_CFLAGS"
   18586 fi
   18587 
   18588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18591 	fi
   18592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18593 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18594 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18595 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18596 then :
   18597   printf %s "(cached) " >&6
   18598 else case e in #(
   18599   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18600 /* end confdefs.h.  */
   18601 int i;
   18602 _ACEOF
   18603 if ac_fn_c_try_compile "$LINENO"
   18604 then :
   18605   xorg_cv_cc_flag_unused_command_line_argument=yes
   18606 else case e in #(
   18607   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18608 esac
   18609 fi
   18610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18611 esac
   18612 fi
   18613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18614 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18615 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18616 	CFLAGS="$xorg_testset_save_CFLAGS"
   18617 fi
   18618 
   18619 found="no"
   18620 
   18621 	if test $found = "no" ; then
   18622 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18623 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18624 		fi
   18625 
   18626 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18627 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18628 		fi
   18629 
   18630 		CFLAGS="$CFLAGS -Wimplicit"
   18631 
   18632 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18633 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18634 		cacheid=xorg_cv_cc_flag__Wimplicit
   18635 		if eval test \${$cacheid+y}
   18636 then :
   18637   printf %s "(cached) " >&6
   18638 else case e in #(
   18639   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18640 /* end confdefs.h.  */
   18641 int i;
   18642 int
   18643 main (void)
   18644 {
   18645 
   18646   ;
   18647   return 0;
   18648 }
   18649 _ACEOF
   18650 if ac_fn_c_try_link "$LINENO"
   18651 then :
   18652   eval $cacheid=yes
   18653 else case e in #(
   18654   e) eval $cacheid=no ;;
   18655 esac
   18656 fi
   18657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18658     conftest$ac_exeext conftest.$ac_ext ;;
   18659 esac
   18660 fi
   18661 
   18662 
   18663 		CFLAGS="$xorg_testset_save_CFLAGS"
   18664 
   18665 		eval supported=\$$cacheid
   18666 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18667 printf "%s\n" "$supported" >&6; }
   18668 		if test "$supported" = "yes" ; then
   18669 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18670 			found="yes"
   18671 		fi
   18672 	fi
   18673 
   18674 
   18675 
   18676 
   18677 
   18678 
   18679 
   18680 
   18681 
   18682 
   18683 
   18684 
   18685 
   18686 
   18687 
   18688 xorg_testset_save_CFLAGS="$CFLAGS"
   18689 
   18690 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18691 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18692 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18693 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18694 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18695 then :
   18696   printf %s "(cached) " >&6
   18697 else case e in #(
   18698   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18699 /* end confdefs.h.  */
   18700 int i;
   18701 _ACEOF
   18702 if ac_fn_c_try_compile "$LINENO"
   18703 then :
   18704   xorg_cv_cc_flag_unknown_warning_option=yes
   18705 else case e in #(
   18706   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18707 esac
   18708 fi
   18709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18710 esac
   18711 fi
   18712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18713 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18715 	CFLAGS="$xorg_testset_save_CFLAGS"
   18716 fi
   18717 
   18718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18721 	fi
   18722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18723 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18724 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18725 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18726 then :
   18727   printf %s "(cached) " >&6
   18728 else case e in #(
   18729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18730 /* end confdefs.h.  */
   18731 int i;
   18732 _ACEOF
   18733 if ac_fn_c_try_compile "$LINENO"
   18734 then :
   18735   xorg_cv_cc_flag_unused_command_line_argument=yes
   18736 else case e in #(
   18737   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18738 esac
   18739 fi
   18740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18741 esac
   18742 fi
   18743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18744 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18746 	CFLAGS="$xorg_testset_save_CFLAGS"
   18747 fi
   18748 
   18749 found="no"
   18750 
   18751 	if test $found = "no" ; then
   18752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18754 		fi
   18755 
   18756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18758 		fi
   18759 
   18760 		CFLAGS="$CFLAGS -Wnonnull"
   18761 
   18762 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18763 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18764 		cacheid=xorg_cv_cc_flag__Wnonnull
   18765 		if eval test \${$cacheid+y}
   18766 then :
   18767   printf %s "(cached) " >&6
   18768 else case e in #(
   18769   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18770 /* end confdefs.h.  */
   18771 int i;
   18772 int
   18773 main (void)
   18774 {
   18775 
   18776   ;
   18777   return 0;
   18778 }
   18779 _ACEOF
   18780 if ac_fn_c_try_link "$LINENO"
   18781 then :
   18782   eval $cacheid=yes
   18783 else case e in #(
   18784   e) eval $cacheid=no ;;
   18785 esac
   18786 fi
   18787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18788     conftest$ac_exeext conftest.$ac_ext ;;
   18789 esac
   18790 fi
   18791 
   18792 
   18793 		CFLAGS="$xorg_testset_save_CFLAGS"
   18794 
   18795 		eval supported=\$$cacheid
   18796 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18797 printf "%s\n" "$supported" >&6; }
   18798 		if test "$supported" = "yes" ; then
   18799 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18800 			found="yes"
   18801 		fi
   18802 	fi
   18803 
   18804 
   18805 
   18806 
   18807 
   18808 
   18809 
   18810 
   18811 
   18812 
   18813 
   18814 
   18815 
   18816 
   18817 
   18818 xorg_testset_save_CFLAGS="$CFLAGS"
   18819 
   18820 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18821 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18822 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18823 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18824 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18825 then :
   18826   printf %s "(cached) " >&6
   18827 else case e in #(
   18828   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18829 /* end confdefs.h.  */
   18830 int i;
   18831 _ACEOF
   18832 if ac_fn_c_try_compile "$LINENO"
   18833 then :
   18834   xorg_cv_cc_flag_unknown_warning_option=yes
   18835 else case e in #(
   18836   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18837 esac
   18838 fi
   18839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18840 esac
   18841 fi
   18842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18843 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18844 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18845 	CFLAGS="$xorg_testset_save_CFLAGS"
   18846 fi
   18847 
   18848 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18849 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18850 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18851 	fi
   18852 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18853 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18854 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18855 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18856 then :
   18857   printf %s "(cached) " >&6
   18858 else case e in #(
   18859   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18860 /* end confdefs.h.  */
   18861 int i;
   18862 _ACEOF
   18863 if ac_fn_c_try_compile "$LINENO"
   18864 then :
   18865   xorg_cv_cc_flag_unused_command_line_argument=yes
   18866 else case e in #(
   18867   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18868 esac
   18869 fi
   18870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18871 esac
   18872 fi
   18873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18874 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18876 	CFLAGS="$xorg_testset_save_CFLAGS"
   18877 fi
   18878 
   18879 found="no"
   18880 
   18881 	if test $found = "no" ; then
   18882 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18884 		fi
   18885 
   18886 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18888 		fi
   18889 
   18890 		CFLAGS="$CFLAGS -Winit-self"
   18891 
   18892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18893 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18894 		cacheid=xorg_cv_cc_flag__Winit_self
   18895 		if eval test \${$cacheid+y}
   18896 then :
   18897   printf %s "(cached) " >&6
   18898 else case e in #(
   18899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18900 /* end confdefs.h.  */
   18901 int i;
   18902 int
   18903 main (void)
   18904 {
   18905 
   18906   ;
   18907   return 0;
   18908 }
   18909 _ACEOF
   18910 if ac_fn_c_try_link "$LINENO"
   18911 then :
   18912   eval $cacheid=yes
   18913 else case e in #(
   18914   e) eval $cacheid=no ;;
   18915 esac
   18916 fi
   18917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18918     conftest$ac_exeext conftest.$ac_ext ;;
   18919 esac
   18920 fi
   18921 
   18922 
   18923 		CFLAGS="$xorg_testset_save_CFLAGS"
   18924 
   18925 		eval supported=\$$cacheid
   18926 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18927 printf "%s\n" "$supported" >&6; }
   18928 		if test "$supported" = "yes" ; then
   18929 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18930 			found="yes"
   18931 		fi
   18932 	fi
   18933 
   18934 
   18935 
   18936 
   18937 
   18938 
   18939 
   18940 
   18941 
   18942 
   18943 
   18944 
   18945 
   18946 
   18947 
   18948 xorg_testset_save_CFLAGS="$CFLAGS"
   18949 
   18950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18952 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18953 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18954 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18955 then :
   18956   printf %s "(cached) " >&6
   18957 else case e in #(
   18958   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18959 /* end confdefs.h.  */
   18960 int i;
   18961 _ACEOF
   18962 if ac_fn_c_try_compile "$LINENO"
   18963 then :
   18964   xorg_cv_cc_flag_unknown_warning_option=yes
   18965 else case e in #(
   18966   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18967 esac
   18968 fi
   18969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18970 esac
   18971 fi
   18972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18973 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18975 	CFLAGS="$xorg_testset_save_CFLAGS"
   18976 fi
   18977 
   18978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18981 	fi
   18982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18983 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18984 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18985 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18986 then :
   18987   printf %s "(cached) " >&6
   18988 else case e in #(
   18989   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18990 /* end confdefs.h.  */
   18991 int i;
   18992 _ACEOF
   18993 if ac_fn_c_try_compile "$LINENO"
   18994 then :
   18995   xorg_cv_cc_flag_unused_command_line_argument=yes
   18996 else case e in #(
   18997   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18998 esac
   18999 fi
   19000 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19001 esac
   19002 fi
   19003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19004 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19005 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19006 	CFLAGS="$xorg_testset_save_CFLAGS"
   19007 fi
   19008 
   19009 found="no"
   19010 
   19011 	if test $found = "no" ; then
   19012 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19013 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19014 		fi
   19015 
   19016 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19017 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19018 		fi
   19019 
   19020 		CFLAGS="$CFLAGS -Wmain"
   19021 
   19022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   19023 printf %s "checking if $CC supports -Wmain... " >&6; }
   19024 		cacheid=xorg_cv_cc_flag__Wmain
   19025 		if eval test \${$cacheid+y}
   19026 then :
   19027   printf %s "(cached) " >&6
   19028 else case e in #(
   19029   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19030 /* end confdefs.h.  */
   19031 int i;
   19032 int
   19033 main (void)
   19034 {
   19035 
   19036   ;
   19037   return 0;
   19038 }
   19039 _ACEOF
   19040 if ac_fn_c_try_link "$LINENO"
   19041 then :
   19042   eval $cacheid=yes
   19043 else case e in #(
   19044   e) eval $cacheid=no ;;
   19045 esac
   19046 fi
   19047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19048     conftest$ac_exeext conftest.$ac_ext ;;
   19049 esac
   19050 fi
   19051 
   19052 
   19053 		CFLAGS="$xorg_testset_save_CFLAGS"
   19054 
   19055 		eval supported=\$$cacheid
   19056 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19057 printf "%s\n" "$supported" >&6; }
   19058 		if test "$supported" = "yes" ; then
   19059 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   19060 			found="yes"
   19061 		fi
   19062 	fi
   19063 
   19064 
   19065 
   19066 
   19067 
   19068 
   19069 
   19070 
   19071 
   19072 
   19073 
   19074 
   19075 
   19076 
   19077 
   19078 xorg_testset_save_CFLAGS="$CFLAGS"
   19079 
   19080 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19081 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19082 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19083 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19084 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19085 then :
   19086   printf %s "(cached) " >&6
   19087 else case e in #(
   19088   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19089 /* end confdefs.h.  */
   19090 int i;
   19091 _ACEOF
   19092 if ac_fn_c_try_compile "$LINENO"
   19093 then :
   19094   xorg_cv_cc_flag_unknown_warning_option=yes
   19095 else case e in #(
   19096   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19097 esac
   19098 fi
   19099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19100 esac
   19101 fi
   19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19103 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19104 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19105 	CFLAGS="$xorg_testset_save_CFLAGS"
   19106 fi
   19107 
   19108 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19109 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19110 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19111 	fi
   19112 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19113 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19114 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19115 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19116 then :
   19117   printf %s "(cached) " >&6
   19118 else case e in #(
   19119   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19120 /* end confdefs.h.  */
   19121 int i;
   19122 _ACEOF
   19123 if ac_fn_c_try_compile "$LINENO"
   19124 then :
   19125   xorg_cv_cc_flag_unused_command_line_argument=yes
   19126 else case e in #(
   19127   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19128 esac
   19129 fi
   19130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19131 esac
   19132 fi
   19133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19134 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19136 	CFLAGS="$xorg_testset_save_CFLAGS"
   19137 fi
   19138 
   19139 found="no"
   19140 
   19141 	if test $found = "no" ; then
   19142 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19144 		fi
   19145 
   19146 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19148 		fi
   19149 
   19150 		CFLAGS="$CFLAGS -Wmissing-braces"
   19151 
   19152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   19153 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   19154 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   19155 		if eval test \${$cacheid+y}
   19156 then :
   19157   printf %s "(cached) " >&6
   19158 else case e in #(
   19159   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19160 /* end confdefs.h.  */
   19161 int i;
   19162 int
   19163 main (void)
   19164 {
   19165 
   19166   ;
   19167   return 0;
   19168 }
   19169 _ACEOF
   19170 if ac_fn_c_try_link "$LINENO"
   19171 then :
   19172   eval $cacheid=yes
   19173 else case e in #(
   19174   e) eval $cacheid=no ;;
   19175 esac
   19176 fi
   19177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19178     conftest$ac_exeext conftest.$ac_ext ;;
   19179 esac
   19180 fi
   19181 
   19182 
   19183 		CFLAGS="$xorg_testset_save_CFLAGS"
   19184 
   19185 		eval supported=\$$cacheid
   19186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19187 printf "%s\n" "$supported" >&6; }
   19188 		if test "$supported" = "yes" ; then
   19189 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   19190 			found="yes"
   19191 		fi
   19192 	fi
   19193 
   19194 
   19195 
   19196 
   19197 
   19198 
   19199 
   19200 
   19201 
   19202 
   19203 
   19204 
   19205 
   19206 
   19207 
   19208 xorg_testset_save_CFLAGS="$CFLAGS"
   19209 
   19210 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19211 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19212 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19213 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19214 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19215 then :
   19216   printf %s "(cached) " >&6
   19217 else case e in #(
   19218   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19219 /* end confdefs.h.  */
   19220 int i;
   19221 _ACEOF
   19222 if ac_fn_c_try_compile "$LINENO"
   19223 then :
   19224   xorg_cv_cc_flag_unknown_warning_option=yes
   19225 else case e in #(
   19226   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19227 esac
   19228 fi
   19229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19230 esac
   19231 fi
   19232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19233 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19234 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19235 	CFLAGS="$xorg_testset_save_CFLAGS"
   19236 fi
   19237 
   19238 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19239 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19240 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19241 	fi
   19242 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19243 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19244 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19245 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19246 then :
   19247   printf %s "(cached) " >&6
   19248 else case e in #(
   19249   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19250 /* end confdefs.h.  */
   19251 int i;
   19252 _ACEOF
   19253 if ac_fn_c_try_compile "$LINENO"
   19254 then :
   19255   xorg_cv_cc_flag_unused_command_line_argument=yes
   19256 else case e in #(
   19257   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19258 esac
   19259 fi
   19260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19261 esac
   19262 fi
   19263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19264 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19265 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19266 	CFLAGS="$xorg_testset_save_CFLAGS"
   19267 fi
   19268 
   19269 found="no"
   19270 
   19271 	if test $found = "no" ; then
   19272 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19273 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19274 		fi
   19275 
   19276 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19277 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19278 		fi
   19279 
   19280 		CFLAGS="$CFLAGS -Wsequence-point"
   19281 
   19282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   19283 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   19284 		cacheid=xorg_cv_cc_flag__Wsequence_point
   19285 		if eval test \${$cacheid+y}
   19286 then :
   19287   printf %s "(cached) " >&6
   19288 else case e in #(
   19289   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19290 /* end confdefs.h.  */
   19291 int i;
   19292 int
   19293 main (void)
   19294 {
   19295 
   19296   ;
   19297   return 0;
   19298 }
   19299 _ACEOF
   19300 if ac_fn_c_try_link "$LINENO"
   19301 then :
   19302   eval $cacheid=yes
   19303 else case e in #(
   19304   e) eval $cacheid=no ;;
   19305 esac
   19306 fi
   19307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19308     conftest$ac_exeext conftest.$ac_ext ;;
   19309 esac
   19310 fi
   19311 
   19312 
   19313 		CFLAGS="$xorg_testset_save_CFLAGS"
   19314 
   19315 		eval supported=\$$cacheid
   19316 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19317 printf "%s\n" "$supported" >&6; }
   19318 		if test "$supported" = "yes" ; then
   19319 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   19320 			found="yes"
   19321 		fi
   19322 	fi
   19323 
   19324 
   19325 
   19326 
   19327 
   19328 
   19329 
   19330 
   19331 
   19332 
   19333 
   19334 
   19335 
   19336 
   19337 
   19338 xorg_testset_save_CFLAGS="$CFLAGS"
   19339 
   19340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19343 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19344 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19345 then :
   19346   printf %s "(cached) " >&6
   19347 else case e in #(
   19348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19349 /* end confdefs.h.  */
   19350 int i;
   19351 _ACEOF
   19352 if ac_fn_c_try_compile "$LINENO"
   19353 then :
   19354   xorg_cv_cc_flag_unknown_warning_option=yes
   19355 else case e in #(
   19356   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19357 esac
   19358 fi
   19359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19360 esac
   19361 fi
   19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19363 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19364 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19365 	CFLAGS="$xorg_testset_save_CFLAGS"
   19366 fi
   19367 
   19368 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19369 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19370 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19371 	fi
   19372 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19374 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19375 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19376 then :
   19377   printf %s "(cached) " >&6
   19378 else case e in #(
   19379   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19380 /* end confdefs.h.  */
   19381 int i;
   19382 _ACEOF
   19383 if ac_fn_c_try_compile "$LINENO"
   19384 then :
   19385   xorg_cv_cc_flag_unused_command_line_argument=yes
   19386 else case e in #(
   19387   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19388 esac
   19389 fi
   19390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19391 esac
   19392 fi
   19393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19394 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19395 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19396 	CFLAGS="$xorg_testset_save_CFLAGS"
   19397 fi
   19398 
   19399 found="no"
   19400 
   19401 	if test $found = "no" ; then
   19402 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19404 		fi
   19405 
   19406 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19408 		fi
   19409 
   19410 		CFLAGS="$CFLAGS -Wreturn-type"
   19411 
   19412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   19413 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   19414 		cacheid=xorg_cv_cc_flag__Wreturn_type
   19415 		if eval test \${$cacheid+y}
   19416 then :
   19417   printf %s "(cached) " >&6
   19418 else case e in #(
   19419   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19420 /* end confdefs.h.  */
   19421 int i;
   19422 int
   19423 main (void)
   19424 {
   19425 
   19426   ;
   19427   return 0;
   19428 }
   19429 _ACEOF
   19430 if ac_fn_c_try_link "$LINENO"
   19431 then :
   19432   eval $cacheid=yes
   19433 else case e in #(
   19434   e) eval $cacheid=no ;;
   19435 esac
   19436 fi
   19437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19438     conftest$ac_exeext conftest.$ac_ext ;;
   19439 esac
   19440 fi
   19441 
   19442 
   19443 		CFLAGS="$xorg_testset_save_CFLAGS"
   19444 
   19445 		eval supported=\$$cacheid
   19446 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19447 printf "%s\n" "$supported" >&6; }
   19448 		if test "$supported" = "yes" ; then
   19449 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   19450 			found="yes"
   19451 		fi
   19452 	fi
   19453 
   19454 
   19455 
   19456 
   19457 
   19458 
   19459 
   19460 
   19461 
   19462 
   19463 
   19464 
   19465 
   19466 
   19467 
   19468 xorg_testset_save_CFLAGS="$CFLAGS"
   19469 
   19470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19471 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19473 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19474 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19475 then :
   19476   printf %s "(cached) " >&6
   19477 else case e in #(
   19478   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19479 /* end confdefs.h.  */
   19480 int i;
   19481 _ACEOF
   19482 if ac_fn_c_try_compile "$LINENO"
   19483 then :
   19484   xorg_cv_cc_flag_unknown_warning_option=yes
   19485 else case e in #(
   19486   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19487 esac
   19488 fi
   19489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19490 esac
   19491 fi
   19492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19493 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19494 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19495 	CFLAGS="$xorg_testset_save_CFLAGS"
   19496 fi
   19497 
   19498 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19499 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19500 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19501 	fi
   19502 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19503 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19504 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19505 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19506 then :
   19507   printf %s "(cached) " >&6
   19508 else case e in #(
   19509   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19510 /* end confdefs.h.  */
   19511 int i;
   19512 _ACEOF
   19513 if ac_fn_c_try_compile "$LINENO"
   19514 then :
   19515   xorg_cv_cc_flag_unused_command_line_argument=yes
   19516 else case e in #(
   19517   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19518 esac
   19519 fi
   19520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19521 esac
   19522 fi
   19523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19524 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19525 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19526 	CFLAGS="$xorg_testset_save_CFLAGS"
   19527 fi
   19528 
   19529 found="no"
   19530 
   19531 	if test $found = "no" ; then
   19532 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19533 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19534 		fi
   19535 
   19536 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19537 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19538 		fi
   19539 
   19540 		CFLAGS="$CFLAGS -Wtrigraphs"
   19541 
   19542 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19543 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19544 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19545 		if eval test \${$cacheid+y}
   19546 then :
   19547   printf %s "(cached) " >&6
   19548 else case e in #(
   19549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19550 /* end confdefs.h.  */
   19551 int i;
   19552 int
   19553 main (void)
   19554 {
   19555 
   19556   ;
   19557   return 0;
   19558 }
   19559 _ACEOF
   19560 if ac_fn_c_try_link "$LINENO"
   19561 then :
   19562   eval $cacheid=yes
   19563 else case e in #(
   19564   e) eval $cacheid=no ;;
   19565 esac
   19566 fi
   19567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19568     conftest$ac_exeext conftest.$ac_ext ;;
   19569 esac
   19570 fi
   19571 
   19572 
   19573 		CFLAGS="$xorg_testset_save_CFLAGS"
   19574 
   19575 		eval supported=\$$cacheid
   19576 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19577 printf "%s\n" "$supported" >&6; }
   19578 		if test "$supported" = "yes" ; then
   19579 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19580 			found="yes"
   19581 		fi
   19582 	fi
   19583 
   19584 
   19585 
   19586 
   19587 
   19588 
   19589 
   19590 
   19591 
   19592 
   19593 
   19594 
   19595 
   19596 
   19597 
   19598 xorg_testset_save_CFLAGS="$CFLAGS"
   19599 
   19600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19602 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19603 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19604 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19605 then :
   19606   printf %s "(cached) " >&6
   19607 else case e in #(
   19608   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19609 /* end confdefs.h.  */
   19610 int i;
   19611 _ACEOF
   19612 if ac_fn_c_try_compile "$LINENO"
   19613 then :
   19614   xorg_cv_cc_flag_unknown_warning_option=yes
   19615 else case e in #(
   19616   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19617 esac
   19618 fi
   19619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19620 esac
   19621 fi
   19622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19623 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19624 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19625 	CFLAGS="$xorg_testset_save_CFLAGS"
   19626 fi
   19627 
   19628 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19629 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19630 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19631 	fi
   19632 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19633 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19634 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19635 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19636 then :
   19637   printf %s "(cached) " >&6
   19638 else case e in #(
   19639   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19640 /* end confdefs.h.  */
   19641 int i;
   19642 _ACEOF
   19643 if ac_fn_c_try_compile "$LINENO"
   19644 then :
   19645   xorg_cv_cc_flag_unused_command_line_argument=yes
   19646 else case e in #(
   19647   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19648 esac
   19649 fi
   19650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19651 esac
   19652 fi
   19653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19654 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19655 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19656 	CFLAGS="$xorg_testset_save_CFLAGS"
   19657 fi
   19658 
   19659 found="no"
   19660 
   19661 	if test $found = "no" ; then
   19662 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19663 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19664 		fi
   19665 
   19666 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19667 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19668 		fi
   19669 
   19670 		CFLAGS="$CFLAGS -Warray-bounds"
   19671 
   19672 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19673 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19674 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19675 		if eval test \${$cacheid+y}
   19676 then :
   19677   printf %s "(cached) " >&6
   19678 else case e in #(
   19679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19680 /* end confdefs.h.  */
   19681 int i;
   19682 int
   19683 main (void)
   19684 {
   19685 
   19686   ;
   19687   return 0;
   19688 }
   19689 _ACEOF
   19690 if ac_fn_c_try_link "$LINENO"
   19691 then :
   19692   eval $cacheid=yes
   19693 else case e in #(
   19694   e) eval $cacheid=no ;;
   19695 esac
   19696 fi
   19697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19698     conftest$ac_exeext conftest.$ac_ext ;;
   19699 esac
   19700 fi
   19701 
   19702 
   19703 		CFLAGS="$xorg_testset_save_CFLAGS"
   19704 
   19705 		eval supported=\$$cacheid
   19706 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19707 printf "%s\n" "$supported" >&6; }
   19708 		if test "$supported" = "yes" ; then
   19709 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19710 			found="yes"
   19711 		fi
   19712 	fi
   19713 
   19714 
   19715 
   19716 
   19717 
   19718 
   19719 
   19720 
   19721 
   19722 
   19723 
   19724 
   19725 
   19726 
   19727 
   19728 xorg_testset_save_CFLAGS="$CFLAGS"
   19729 
   19730 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19731 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19732 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19733 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19734 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19735 then :
   19736   printf %s "(cached) " >&6
   19737 else case e in #(
   19738   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19739 /* end confdefs.h.  */
   19740 int i;
   19741 _ACEOF
   19742 if ac_fn_c_try_compile "$LINENO"
   19743 then :
   19744   xorg_cv_cc_flag_unknown_warning_option=yes
   19745 else case e in #(
   19746   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19747 esac
   19748 fi
   19749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19750 esac
   19751 fi
   19752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19753 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19754 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19755 	CFLAGS="$xorg_testset_save_CFLAGS"
   19756 fi
   19757 
   19758 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19759 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19760 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19761 	fi
   19762 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19763 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19764 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19765 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19766 then :
   19767   printf %s "(cached) " >&6
   19768 else case e in #(
   19769   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19770 /* end confdefs.h.  */
   19771 int i;
   19772 _ACEOF
   19773 if ac_fn_c_try_compile "$LINENO"
   19774 then :
   19775   xorg_cv_cc_flag_unused_command_line_argument=yes
   19776 else case e in #(
   19777   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19778 esac
   19779 fi
   19780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19781 esac
   19782 fi
   19783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19784 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19786 	CFLAGS="$xorg_testset_save_CFLAGS"
   19787 fi
   19788 
   19789 found="no"
   19790 
   19791 	if test $found = "no" ; then
   19792 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19794 		fi
   19795 
   19796 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19798 		fi
   19799 
   19800 		CFLAGS="$CFLAGS -Wwrite-strings"
   19801 
   19802 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19803 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19804 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19805 		if eval test \${$cacheid+y}
   19806 then :
   19807   printf %s "(cached) " >&6
   19808 else case e in #(
   19809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19810 /* end confdefs.h.  */
   19811 int i;
   19812 int
   19813 main (void)
   19814 {
   19815 
   19816   ;
   19817   return 0;
   19818 }
   19819 _ACEOF
   19820 if ac_fn_c_try_link "$LINENO"
   19821 then :
   19822   eval $cacheid=yes
   19823 else case e in #(
   19824   e) eval $cacheid=no ;;
   19825 esac
   19826 fi
   19827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19828     conftest$ac_exeext conftest.$ac_ext ;;
   19829 esac
   19830 fi
   19831 
   19832 
   19833 		CFLAGS="$xorg_testset_save_CFLAGS"
   19834 
   19835 		eval supported=\$$cacheid
   19836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19837 printf "%s\n" "$supported" >&6; }
   19838 		if test "$supported" = "yes" ; then
   19839 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19840 			found="yes"
   19841 		fi
   19842 	fi
   19843 
   19844 
   19845 
   19846 
   19847 
   19848 
   19849 
   19850 
   19851 
   19852 
   19853 
   19854 
   19855 
   19856 
   19857 
   19858 xorg_testset_save_CFLAGS="$CFLAGS"
   19859 
   19860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19862 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19863 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19864 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19865 then :
   19866   printf %s "(cached) " >&6
   19867 else case e in #(
   19868   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19869 /* end confdefs.h.  */
   19870 int i;
   19871 _ACEOF
   19872 if ac_fn_c_try_compile "$LINENO"
   19873 then :
   19874   xorg_cv_cc_flag_unknown_warning_option=yes
   19875 else case e in #(
   19876   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19877 esac
   19878 fi
   19879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19880 esac
   19881 fi
   19882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19883 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19885 	CFLAGS="$xorg_testset_save_CFLAGS"
   19886 fi
   19887 
   19888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19891 	fi
   19892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19894 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19895 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19896 then :
   19897   printf %s "(cached) " >&6
   19898 else case e in #(
   19899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19900 /* end confdefs.h.  */
   19901 int i;
   19902 _ACEOF
   19903 if ac_fn_c_try_compile "$LINENO"
   19904 then :
   19905   xorg_cv_cc_flag_unused_command_line_argument=yes
   19906 else case e in #(
   19907   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19908 esac
   19909 fi
   19910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19911 esac
   19912 fi
   19913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19914 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19915 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19916 	CFLAGS="$xorg_testset_save_CFLAGS"
   19917 fi
   19918 
   19919 found="no"
   19920 
   19921 	if test $found = "no" ; then
   19922 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19924 		fi
   19925 
   19926 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19928 		fi
   19929 
   19930 		CFLAGS="$CFLAGS -Waddress"
   19931 
   19932 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19933 printf %s "checking if $CC supports -Waddress... " >&6; }
   19934 		cacheid=xorg_cv_cc_flag__Waddress
   19935 		if eval test \${$cacheid+y}
   19936 then :
   19937   printf %s "(cached) " >&6
   19938 else case e in #(
   19939   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19940 /* end confdefs.h.  */
   19941 int i;
   19942 int
   19943 main (void)
   19944 {
   19945 
   19946   ;
   19947   return 0;
   19948 }
   19949 _ACEOF
   19950 if ac_fn_c_try_link "$LINENO"
   19951 then :
   19952   eval $cacheid=yes
   19953 else case e in #(
   19954   e) eval $cacheid=no ;;
   19955 esac
   19956 fi
   19957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19958     conftest$ac_exeext conftest.$ac_ext ;;
   19959 esac
   19960 fi
   19961 
   19962 
   19963 		CFLAGS="$xorg_testset_save_CFLAGS"
   19964 
   19965 		eval supported=\$$cacheid
   19966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19967 printf "%s\n" "$supported" >&6; }
   19968 		if test "$supported" = "yes" ; then
   19969 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19970 			found="yes"
   19971 		fi
   19972 	fi
   19973 
   19974 
   19975 
   19976 
   19977 
   19978 
   19979 
   19980 
   19981 
   19982 
   19983 
   19984 
   19985 
   19986 
   19987 
   19988 xorg_testset_save_CFLAGS="$CFLAGS"
   19989 
   19990 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19991 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19992 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19993 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19994 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19995 then :
   19996   printf %s "(cached) " >&6
   19997 else case e in #(
   19998   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19999 /* end confdefs.h.  */
   20000 int i;
   20001 _ACEOF
   20002 if ac_fn_c_try_compile "$LINENO"
   20003 then :
   20004   xorg_cv_cc_flag_unknown_warning_option=yes
   20005 else case e in #(
   20006   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20007 esac
   20008 fi
   20009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20010 esac
   20011 fi
   20012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20013 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20015 	CFLAGS="$xorg_testset_save_CFLAGS"
   20016 fi
   20017 
   20018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20021 	fi
   20022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20024 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20025 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20026 then :
   20027   printf %s "(cached) " >&6
   20028 else case e in #(
   20029   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20030 /* end confdefs.h.  */
   20031 int i;
   20032 _ACEOF
   20033 if ac_fn_c_try_compile "$LINENO"
   20034 then :
   20035   xorg_cv_cc_flag_unused_command_line_argument=yes
   20036 else case e in #(
   20037   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20038 esac
   20039 fi
   20040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20041 esac
   20042 fi
   20043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20044 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20045 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20046 	CFLAGS="$xorg_testset_save_CFLAGS"
   20047 fi
   20048 
   20049 found="no"
   20050 
   20051 	if test $found = "no" ; then
   20052 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20054 		fi
   20055 
   20056 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20058 		fi
   20059 
   20060 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   20061 
   20062 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   20063 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   20064 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   20065 		if eval test \${$cacheid+y}
   20066 then :
   20067   printf %s "(cached) " >&6
   20068 else case e in #(
   20069   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20070 /* end confdefs.h.  */
   20071 int i;
   20072 int
   20073 main (void)
   20074 {
   20075 
   20076   ;
   20077   return 0;
   20078 }
   20079 _ACEOF
   20080 if ac_fn_c_try_link "$LINENO"
   20081 then :
   20082   eval $cacheid=yes
   20083 else case e in #(
   20084   e) eval $cacheid=no ;;
   20085 esac
   20086 fi
   20087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20088     conftest$ac_exeext conftest.$ac_ext ;;
   20089 esac
   20090 fi
   20091 
   20092 
   20093 		CFLAGS="$xorg_testset_save_CFLAGS"
   20094 
   20095 		eval supported=\$$cacheid
   20096 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20097 printf "%s\n" "$supported" >&6; }
   20098 		if test "$supported" = "yes" ; then
   20099 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   20100 			found="yes"
   20101 		fi
   20102 	fi
   20103 
   20104 
   20105 
   20106 
   20107 
   20108 
   20109 
   20110 
   20111 
   20112 
   20113 
   20114 
   20115 
   20116 
   20117 
   20118 xorg_testset_save_CFLAGS="$CFLAGS"
   20119 
   20120 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20121 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20122 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20123 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20124 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20125 then :
   20126   printf %s "(cached) " >&6
   20127 else case e in #(
   20128   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20129 /* end confdefs.h.  */
   20130 int i;
   20131 _ACEOF
   20132 if ac_fn_c_try_compile "$LINENO"
   20133 then :
   20134   xorg_cv_cc_flag_unknown_warning_option=yes
   20135 else case e in #(
   20136   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20137 esac
   20138 fi
   20139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20140 esac
   20141 fi
   20142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20143 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20144 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20145 	CFLAGS="$xorg_testset_save_CFLAGS"
   20146 fi
   20147 
   20148 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20149 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20150 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20151 	fi
   20152 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20153 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20154 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20155 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20156 then :
   20157   printf %s "(cached) " >&6
   20158 else case e in #(
   20159   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20160 /* end confdefs.h.  */
   20161 int i;
   20162 _ACEOF
   20163 if ac_fn_c_try_compile "$LINENO"
   20164 then :
   20165   xorg_cv_cc_flag_unused_command_line_argument=yes
   20166 else case e in #(
   20167   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20168 esac
   20169 fi
   20170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20171 esac
   20172 fi
   20173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20174 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20176 	CFLAGS="$xorg_testset_save_CFLAGS"
   20177 fi
   20178 
   20179 found="no"
   20180 
   20181 	if test $found = "no" ; then
   20182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20184 		fi
   20185 
   20186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20188 		fi
   20189 
   20190 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   20191 
   20192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   20193 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   20194 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   20195 		if eval test \${$cacheid+y}
   20196 then :
   20197   printf %s "(cached) " >&6
   20198 else case e in #(
   20199   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20200 /* end confdefs.h.  */
   20201 int i;
   20202 int
   20203 main (void)
   20204 {
   20205 
   20206   ;
   20207   return 0;
   20208 }
   20209 _ACEOF
   20210 if ac_fn_c_try_link "$LINENO"
   20211 then :
   20212   eval $cacheid=yes
   20213 else case e in #(
   20214   e) eval $cacheid=no ;;
   20215 esac
   20216 fi
   20217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20218     conftest$ac_exeext conftest.$ac_ext ;;
   20219 esac
   20220 fi
   20221 
   20222 
   20223 		CFLAGS="$xorg_testset_save_CFLAGS"
   20224 
   20225 		eval supported=\$$cacheid
   20226 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20227 printf "%s\n" "$supported" >&6; }
   20228 		if test "$supported" = "yes" ; then
   20229 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   20230 			found="yes"
   20231 		fi
   20232 	fi
   20233 
   20234 
   20235 fi
   20236 
   20237 
   20238 
   20239 
   20240 
   20241 
   20242 
   20243 		CWARNFLAGS="$BASE_CFLAGS"
   20244 		if  test "x$GCC" = xyes ; then
   20245 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   20246 		fi
   20247 
   20248 
   20249 
   20250 
   20251 
   20252 
   20253 
   20254 
   20255 # Check whether --enable-strict-compilation was given.
   20256 if test ${enable_strict_compilation+y}
   20257 then :
   20258   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20259 else case e in #(
   20260   e) STRICT_COMPILE=no ;;
   20261 esac
   20262 fi
   20263 
   20264 
   20265 
   20266 
   20267 
   20268 
   20269 STRICT_CFLAGS=""
   20270 
   20271 
   20272 
   20273 
   20274 
   20275 
   20276 
   20277 
   20278 
   20279 
   20280 
   20281 
   20282 
   20283 xorg_testset_save_CFLAGS="$CFLAGS"
   20284 
   20285 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20286 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20288 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20289 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20290 then :
   20291   printf %s "(cached) " >&6
   20292 else case e in #(
   20293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20294 /* end confdefs.h.  */
   20295 int i;
   20296 _ACEOF
   20297 if ac_fn_c_try_compile "$LINENO"
   20298 then :
   20299   xorg_cv_cc_flag_unknown_warning_option=yes
   20300 else case e in #(
   20301   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20302 esac
   20303 fi
   20304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20305 esac
   20306 fi
   20307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20308 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20309 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20310 	CFLAGS="$xorg_testset_save_CFLAGS"
   20311 fi
   20312 
   20313 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20314 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20315 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20316 	fi
   20317 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20318 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20319 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20320 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20321 then :
   20322   printf %s "(cached) " >&6
   20323 else case e in #(
   20324   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20325 /* end confdefs.h.  */
   20326 int i;
   20327 _ACEOF
   20328 if ac_fn_c_try_compile "$LINENO"
   20329 then :
   20330   xorg_cv_cc_flag_unused_command_line_argument=yes
   20331 else case e in #(
   20332   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20333 esac
   20334 fi
   20335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20336 esac
   20337 fi
   20338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20339 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20341 	CFLAGS="$xorg_testset_save_CFLAGS"
   20342 fi
   20343 
   20344 found="no"
   20345 
   20346 	if test $found = "no" ; then
   20347 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20349 		fi
   20350 
   20351 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20353 		fi
   20354 
   20355 		CFLAGS="$CFLAGS -pedantic"
   20356 
   20357 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   20358 printf %s "checking if $CC supports -pedantic... " >&6; }
   20359 		cacheid=xorg_cv_cc_flag__pedantic
   20360 		if eval test \${$cacheid+y}
   20361 then :
   20362   printf %s "(cached) " >&6
   20363 else case e in #(
   20364   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20365 /* end confdefs.h.  */
   20366 int i;
   20367 int
   20368 main (void)
   20369 {
   20370 
   20371   ;
   20372   return 0;
   20373 }
   20374 _ACEOF
   20375 if ac_fn_c_try_link "$LINENO"
   20376 then :
   20377   eval $cacheid=yes
   20378 else case e in #(
   20379   e) eval $cacheid=no ;;
   20380 esac
   20381 fi
   20382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20383     conftest$ac_exeext conftest.$ac_ext ;;
   20384 esac
   20385 fi
   20386 
   20387 
   20388 		CFLAGS="$xorg_testset_save_CFLAGS"
   20389 
   20390 		eval supported=\$$cacheid
   20391 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20392 printf "%s\n" "$supported" >&6; }
   20393 		if test "$supported" = "yes" ; then
   20394 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   20395 			found="yes"
   20396 		fi
   20397 	fi
   20398 
   20399 
   20400 
   20401 
   20402 
   20403 
   20404 
   20405 
   20406 
   20407 
   20408 
   20409 
   20410 
   20411 
   20412 
   20413 xorg_testset_save_CFLAGS="$CFLAGS"
   20414 
   20415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20417 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20418 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20419 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20420 then :
   20421   printf %s "(cached) " >&6
   20422 else case e in #(
   20423   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20424 /* end confdefs.h.  */
   20425 int i;
   20426 _ACEOF
   20427 if ac_fn_c_try_compile "$LINENO"
   20428 then :
   20429   xorg_cv_cc_flag_unknown_warning_option=yes
   20430 else case e in #(
   20431   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20432 esac
   20433 fi
   20434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20435 esac
   20436 fi
   20437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20438 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20439 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20440 	CFLAGS="$xorg_testset_save_CFLAGS"
   20441 fi
   20442 
   20443 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20444 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20445 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20446 	fi
   20447 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20449 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20450 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20451 then :
   20452   printf %s "(cached) " >&6
   20453 else case e in #(
   20454   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20455 /* end confdefs.h.  */
   20456 int i;
   20457 _ACEOF
   20458 if ac_fn_c_try_compile "$LINENO"
   20459 then :
   20460   xorg_cv_cc_flag_unused_command_line_argument=yes
   20461 else case e in #(
   20462   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20463 esac
   20464 fi
   20465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20466 esac
   20467 fi
   20468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20469 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20470 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20471 	CFLAGS="$xorg_testset_save_CFLAGS"
   20472 fi
   20473 
   20474 found="no"
   20475 
   20476 	if test $found = "no" ; then
   20477 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20478 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20479 		fi
   20480 
   20481 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20482 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20483 		fi
   20484 
   20485 		CFLAGS="$CFLAGS -Werror"
   20486 
   20487 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20488 printf %s "checking if $CC supports -Werror... " >&6; }
   20489 		cacheid=xorg_cv_cc_flag__Werror
   20490 		if eval test \${$cacheid+y}
   20491 then :
   20492   printf %s "(cached) " >&6
   20493 else case e in #(
   20494   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20495 /* end confdefs.h.  */
   20496 int i;
   20497 int
   20498 main (void)
   20499 {
   20500 
   20501   ;
   20502   return 0;
   20503 }
   20504 _ACEOF
   20505 if ac_fn_c_try_link "$LINENO"
   20506 then :
   20507   eval $cacheid=yes
   20508 else case e in #(
   20509   e) eval $cacheid=no ;;
   20510 esac
   20511 fi
   20512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20513     conftest$ac_exeext conftest.$ac_ext ;;
   20514 esac
   20515 fi
   20516 
   20517 
   20518 		CFLAGS="$xorg_testset_save_CFLAGS"
   20519 
   20520 		eval supported=\$$cacheid
   20521 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20522 printf "%s\n" "$supported" >&6; }
   20523 		if test "$supported" = "yes" ; then
   20524 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20525 			found="yes"
   20526 		fi
   20527 	fi
   20528 
   20529 	if test $found = "no" ; then
   20530 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20532 		fi
   20533 
   20534 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20536 		fi
   20537 
   20538 		CFLAGS="$CFLAGS -errwarn"
   20539 
   20540 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20541 printf %s "checking if $CC supports -errwarn... " >&6; }
   20542 		cacheid=xorg_cv_cc_flag__errwarn
   20543 		if eval test \${$cacheid+y}
   20544 then :
   20545   printf %s "(cached) " >&6
   20546 else case e in #(
   20547   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20548 /* end confdefs.h.  */
   20549 int i;
   20550 int
   20551 main (void)
   20552 {
   20553 
   20554   ;
   20555   return 0;
   20556 }
   20557 _ACEOF
   20558 if ac_fn_c_try_link "$LINENO"
   20559 then :
   20560   eval $cacheid=yes
   20561 else case e in #(
   20562   e) eval $cacheid=no ;;
   20563 esac
   20564 fi
   20565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20566     conftest$ac_exeext conftest.$ac_ext ;;
   20567 esac
   20568 fi
   20569 
   20570 
   20571 		CFLAGS="$xorg_testset_save_CFLAGS"
   20572 
   20573 		eval supported=\$$cacheid
   20574 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20575 printf "%s\n" "$supported" >&6; }
   20576 		if test "$supported" = "yes" ; then
   20577 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20578 			found="yes"
   20579 		fi
   20580 	fi
   20581 
   20582 
   20583 
   20584 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20585 # activate it with -Werror, so we add it here explicitly.
   20586 
   20587 
   20588 
   20589 
   20590 
   20591 
   20592 
   20593 
   20594 
   20595 
   20596 
   20597 
   20598 
   20599 xorg_testset_save_CFLAGS="$CFLAGS"
   20600 
   20601 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20602 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20603 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20604 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20605 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20606 then :
   20607   printf %s "(cached) " >&6
   20608 else case e in #(
   20609   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20610 /* end confdefs.h.  */
   20611 int i;
   20612 _ACEOF
   20613 if ac_fn_c_try_compile "$LINENO"
   20614 then :
   20615   xorg_cv_cc_flag_unknown_warning_option=yes
   20616 else case e in #(
   20617   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20618 esac
   20619 fi
   20620 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20621 esac
   20622 fi
   20623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20624 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20626 	CFLAGS="$xorg_testset_save_CFLAGS"
   20627 fi
   20628 
   20629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20632 	fi
   20633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20634 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20635 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20636 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20637 then :
   20638   printf %s "(cached) " >&6
   20639 else case e in #(
   20640   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20641 /* end confdefs.h.  */
   20642 int i;
   20643 _ACEOF
   20644 if ac_fn_c_try_compile "$LINENO"
   20645 then :
   20646   xorg_cv_cc_flag_unused_command_line_argument=yes
   20647 else case e in #(
   20648   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20649 esac
   20650 fi
   20651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20652 esac
   20653 fi
   20654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20655 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20656 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20657 	CFLAGS="$xorg_testset_save_CFLAGS"
   20658 fi
   20659 
   20660 found="no"
   20661 
   20662 	if test $found = "no" ; then
   20663 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20665 		fi
   20666 
   20667 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20669 		fi
   20670 
   20671 		CFLAGS="$CFLAGS -Werror=attributes"
   20672 
   20673 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20674 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20675 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20676 		if eval test \${$cacheid+y}
   20677 then :
   20678   printf %s "(cached) " >&6
   20679 else case e in #(
   20680   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20681 /* end confdefs.h.  */
   20682 int i;
   20683 int
   20684 main (void)
   20685 {
   20686 
   20687   ;
   20688   return 0;
   20689 }
   20690 _ACEOF
   20691 if ac_fn_c_try_link "$LINENO"
   20692 then :
   20693   eval $cacheid=yes
   20694 else case e in #(
   20695   e) eval $cacheid=no ;;
   20696 esac
   20697 fi
   20698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20699     conftest$ac_exeext conftest.$ac_ext ;;
   20700 esac
   20701 fi
   20702 
   20703 
   20704 		CFLAGS="$xorg_testset_save_CFLAGS"
   20705 
   20706 		eval supported=\$$cacheid
   20707 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20708 printf "%s\n" "$supported" >&6; }
   20709 		if test "$supported" = "yes" ; then
   20710 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20711 			found="yes"
   20712 		fi
   20713 	fi
   20714 
   20715 
   20716 
   20717 if test "x$STRICT_COMPILE" = "xyes"; then
   20718     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20719     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20720 fi
   20721 
   20722 
   20723 
   20724 
   20725 
   20726 
   20727 
   20728 
   20729 cat >>confdefs.h <<_ACEOF
   20730 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20731 _ACEOF
   20732 
   20733 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20734 	if test "x$PVM" = "x"; then
   20735 		PVM="0"
   20736 	fi
   20737 
   20738 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20739 
   20740 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20741 	if test "x$PVP" = "x"; then
   20742 		PVP="0"
   20743 	fi
   20744 
   20745 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20746 
   20747 
   20748 
   20749 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20750 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20751 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20752 touch \$(top_srcdir)/ChangeLog; \
   20753 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20754 
   20755 
   20756 
   20757 
   20758 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20759 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20760 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20761 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20762 touch \$(top_srcdir)/INSTALL; \
   20763 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20764 
   20765 
   20766 
   20767 
   20768 
   20769 
   20770 case $host_os in
   20771     solaris*)
   20772         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20773         # check for a man page file found in later versions that use
   20774         # traditional section numbers instead
   20775         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20776 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20777 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20778 then :
   20779   printf %s "(cached) " >&6
   20780 else case e in #(
   20781   e) test "$cross_compiling" = yes &&
   20782   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20783 if test -r "/usr/share/man/man7/attributes.7"; then
   20784   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20785 else
   20786   ac_cv_file__usr_share_man_man7_attributes_7=no
   20787 fi ;;
   20788 esac
   20789 fi
   20790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20791 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20792 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20793 then :
   20794   SYSV_MAN_SECTIONS=false
   20795 else case e in #(
   20796   e) SYSV_MAN_SECTIONS=true ;;
   20797 esac
   20798 fi
   20799 
   20800         ;;
   20801     *) SYSV_MAN_SECTIONS=false ;;
   20802 esac
   20803 
   20804 if test x$APP_MAN_SUFFIX = x    ; then
   20805     APP_MAN_SUFFIX=1
   20806 fi
   20807 if test x$APP_MAN_DIR = x    ; then
   20808     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20809 fi
   20810 
   20811 if test x$LIB_MAN_SUFFIX = x    ; then
   20812     LIB_MAN_SUFFIX=3
   20813 fi
   20814 if test x$LIB_MAN_DIR = x    ; then
   20815     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20816 fi
   20817 
   20818 if test x$FILE_MAN_SUFFIX = x    ; then
   20819     case $SYSV_MAN_SECTIONS in
   20820 	true)				FILE_MAN_SUFFIX=4  ;;
   20821 	*)				FILE_MAN_SUFFIX=5  ;;
   20822     esac
   20823 fi
   20824 if test x$FILE_MAN_DIR = x    ; then
   20825     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20826 fi
   20827 
   20828 if test x$MISC_MAN_SUFFIX = x    ; then
   20829     case $SYSV_MAN_SECTIONS in
   20830 	true)				MISC_MAN_SUFFIX=5  ;;
   20831 	*)				MISC_MAN_SUFFIX=7  ;;
   20832     esac
   20833 fi
   20834 if test x$MISC_MAN_DIR = x    ; then
   20835     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20836 fi
   20837 
   20838 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20839     case $SYSV_MAN_SECTIONS in
   20840 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20841 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20842     esac
   20843 fi
   20844 if test x$DRIVER_MAN_DIR = x    ; then
   20845     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20846 fi
   20847 
   20848 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20849     case $SYSV_MAN_SECTIONS in
   20850 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20851 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20852     esac
   20853 fi
   20854 if test x$ADMIN_MAN_DIR = x    ; then
   20855     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20856 fi
   20857 
   20858 
   20859 
   20860 
   20861 
   20862 
   20863 
   20864 
   20865 
   20866 
   20867 
   20868 
   20869 
   20870 
   20871 
   20872 XORG_MAN_PAGE="X Version 11"
   20873 
   20874 MAN_SUBSTS="\
   20875 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20876 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20877 	-e 's|__xservername__|Xorg|g' \
   20878 	-e 's|__xconfigfile__|xorg.conf|g' \
   20879 	-e 's|__projectroot__|\$(prefix)|g' \
   20880 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20881 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20882 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20883 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20884 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20885 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20886 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20887 
   20888 
   20889 
   20890 
   20891 AM_DEFAULT_VERBOSITY=0
   20892 
   20893 
   20894 
   20895 
   20896 
   20897 
   20898 # Check whether --enable-devel-docs was given.
   20899 if test ${enable_devel_docs+y}
   20900 then :
   20901   enableval=$enable_devel_docs; build_devel_docs=$enableval
   20902 else case e in #(
   20903   e) build_devel_docs=yes ;;
   20904 esac
   20905 fi
   20906 
   20907 
   20908  if test x$build_devel_docs = xyes; then
   20909   ENABLE_DEVEL_DOCS_TRUE=
   20910   ENABLE_DEVEL_DOCS_FALSE='#'
   20911 else
   20912   ENABLE_DEVEL_DOCS_TRUE='#'
   20913   ENABLE_DEVEL_DOCS_FALSE=
   20914 fi
   20915 
   20916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   20917 printf %s "checking whether to build developer documentation... " >&6; }
   20918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   20919 printf "%s\n" "$build_devel_docs" >&6; }
   20920 
   20921 
   20922 
   20923 
   20924 
   20925 # Check whether --with-xmlto was given.
   20926 if test ${with_xmlto+y}
   20927 then :
   20928   withval=$with_xmlto; use_xmlto=$withval
   20929 else case e in #(
   20930   e) use_xmlto=auto ;;
   20931 esac
   20932 fi
   20933 
   20934 
   20935 
   20936 if test "x$use_xmlto" = x"auto"; then
   20937    # Extract the first word of "xmlto", so it can be a program name with args.
   20938 set dummy xmlto; ac_word=$2
   20939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20940 printf %s "checking for $ac_word... " >&6; }
   20941 if test ${ac_cv_path_XMLTO+y}
   20942 then :
   20943   printf %s "(cached) " >&6
   20944 else case e in #(
   20945   e) case $XMLTO in
   20946   [\\/]* | ?:[\\/]*)
   20947   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20948   ;;
   20949   *)
   20950   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20951 for as_dir in $PATH
   20952 do
   20953   IFS=$as_save_IFS
   20954   case $as_dir in #(((
   20955     '') as_dir=./ ;;
   20956     */) ;;
   20957     *) as_dir=$as_dir/ ;;
   20958   esac
   20959     for ac_exec_ext in '' $ac_executable_extensions; do
   20960   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20961     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20962     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20963     break 2
   20964   fi
   20965 done
   20966   done
   20967 IFS=$as_save_IFS
   20968 
   20969   ;;
   20970 esac ;;
   20971 esac
   20972 fi
   20973 XMLTO=$ac_cv_path_XMLTO
   20974 if test -n "$XMLTO"; then
   20975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20976 printf "%s\n" "$XMLTO" >&6; }
   20977 else
   20978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20979 printf "%s\n" "no" >&6; }
   20980 fi
   20981 
   20982 
   20983    if test "x$XMLTO" = "x"; then
   20984         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   20985 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   20986 	have_xmlto=no
   20987    else
   20988         have_xmlto=yes
   20989    fi
   20990 elif test "x$use_xmlto" = x"yes" ; then
   20991    # Extract the first word of "xmlto", so it can be a program name with args.
   20992 set dummy xmlto; ac_word=$2
   20993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20994 printf %s "checking for $ac_word... " >&6; }
   20995 if test ${ac_cv_path_XMLTO+y}
   20996 then :
   20997   printf %s "(cached) " >&6
   20998 else case e in #(
   20999   e) case $XMLTO in
   21000   [\\/]* | ?:[\\/]*)
   21001   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   21002   ;;
   21003   *)
   21004   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21005 for as_dir in $PATH
   21006 do
   21007   IFS=$as_save_IFS
   21008   case $as_dir in #(((
   21009     '') as_dir=./ ;;
   21010     */) ;;
   21011     *) as_dir=$as_dir/ ;;
   21012   esac
   21013     for ac_exec_ext in '' $ac_executable_extensions; do
   21014   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21015     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   21016     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21017     break 2
   21018   fi
   21019 done
   21020   done
   21021 IFS=$as_save_IFS
   21022 
   21023   ;;
   21024 esac ;;
   21025 esac
   21026 fi
   21027 XMLTO=$ac_cv_path_XMLTO
   21028 if test -n "$XMLTO"; then
   21029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   21030 printf "%s\n" "$XMLTO" >&6; }
   21031 else
   21032   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21033 printf "%s\n" "no" >&6; }
   21034 fi
   21035 
   21036 
   21037    if test "x$XMLTO" = "x"; then
   21038         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   21039    fi
   21040    have_xmlto=yes
   21041 elif test "x$use_xmlto" = x"no" ; then
   21042    if test "x$XMLTO" != "x"; then
   21043       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   21044 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   21045    fi
   21046    have_xmlto=no
   21047 else
   21048    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   21049 fi
   21050 
   21051 # Test for a minimum version of xmlto, if provided.
   21052 if test "$have_xmlto" = yes; then
   21053     # scrape the xmlto version
   21054     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   21055 printf %s "checking the xmlto version... " >&6; }
   21056     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   21057     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   21058 printf "%s\n" "$xmlto_version" >&6; }
   21059     as_arg_v1=$xmlto_version
   21060 as_arg_v2=0.0.22
   21061 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   21062 case $? in #(
   21063   1) :
   21064     if test "x$use_xmlto" = xauto; then
   21065             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   21066 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   21067             have_xmlto=no
   21068         else
   21069             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   21070         fi ;; #(
   21071   0) :
   21072      ;; #(
   21073   2) :
   21074      ;; #(
   21075   *) :
   21076      ;;
   21077 esac
   21078 fi
   21079 
   21080 # Test for the ability of xmlto to generate a text target
   21081 #
   21082 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   21083 # following test for empty XML docbook files.
   21084 # For compatibility reasons use the following empty XML docbook file and if
   21085 # it fails try it again with a non-empty XML file.
   21086 have_xmlto_text=no
   21087 cat > conftest.xml << "EOF"
   21088 EOF
   21089 if test "$have_xmlto" = yes
   21090 then :
   21091   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   21092 then :
   21093   have_xmlto_text=yes
   21094 else case e in #(
   21095   e) # Try it again with a non-empty XML file.
   21096               cat > conftest.xml << "EOF"
   21097 <x></x>
   21098 EOF
   21099               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   21100 then :
   21101   have_xmlto_text=yes
   21102 else case e in #(
   21103   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   21104 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;} ;;
   21105 esac
   21106 fi ;;
   21107 esac
   21108 fi
   21109 fi
   21110 rm -f conftest.xml
   21111  if test $have_xmlto_text = yes; then
   21112   HAVE_XMLTO_TEXT_TRUE=
   21113   HAVE_XMLTO_TEXT_FALSE='#'
   21114 else
   21115   HAVE_XMLTO_TEXT_TRUE='#'
   21116   HAVE_XMLTO_TEXT_FALSE=
   21117 fi
   21118 
   21119  if test "$have_xmlto" = yes; then
   21120   HAVE_XMLTO_TRUE=
   21121   HAVE_XMLTO_FALSE='#'
   21122 else
   21123   HAVE_XMLTO_TRUE='#'
   21124   HAVE_XMLTO_FALSE=
   21125 fi
   21126 
   21127 
   21128 
   21129 
   21130 
   21131 
   21132 # Check whether --with-fop was given.
   21133 if test ${with_fop+y}
   21134 then :
   21135   withval=$with_fop; use_fop=$withval
   21136 else case e in #(
   21137   e) use_fop=auto ;;
   21138 esac
   21139 fi
   21140 
   21141 
   21142 
   21143 if test "x$use_fop" = x"auto"; then
   21144    # Extract the first word of "fop", so it can be a program name with args.
   21145 set dummy fop; ac_word=$2
   21146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21147 printf %s "checking for $ac_word... " >&6; }
   21148 if test ${ac_cv_path_FOP+y}
   21149 then :
   21150   printf %s "(cached) " >&6
   21151 else case e in #(
   21152   e) case $FOP in
   21153   [\\/]* | ?:[\\/]*)
   21154   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   21155   ;;
   21156   *)
   21157   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21158 for as_dir in $PATH
   21159 do
   21160   IFS=$as_save_IFS
   21161   case $as_dir in #(((
   21162     '') as_dir=./ ;;
   21163     */) ;;
   21164     *) as_dir=$as_dir/ ;;
   21165   esac
   21166     for ac_exec_ext in '' $ac_executable_extensions; do
   21167   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21168     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   21169     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21170     break 2
   21171   fi
   21172 done
   21173   done
   21174 IFS=$as_save_IFS
   21175 
   21176   ;;
   21177 esac ;;
   21178 esac
   21179 fi
   21180 FOP=$ac_cv_path_FOP
   21181 if test -n "$FOP"; then
   21182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   21183 printf "%s\n" "$FOP" >&6; }
   21184 else
   21185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21186 printf "%s\n" "no" >&6; }
   21187 fi
   21188 
   21189 
   21190    if test "x$FOP" = "x"; then
   21191         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   21192 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   21193 	have_fop=no
   21194    else
   21195         have_fop=yes
   21196    fi
   21197 elif test "x$use_fop" = x"yes" ; then
   21198    # Extract the first word of "fop", so it can be a program name with args.
   21199 set dummy fop; ac_word=$2
   21200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21201 printf %s "checking for $ac_word... " >&6; }
   21202 if test ${ac_cv_path_FOP+y}
   21203 then :
   21204   printf %s "(cached) " >&6
   21205 else case e in #(
   21206   e) case $FOP in
   21207   [\\/]* | ?:[\\/]*)
   21208   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   21209   ;;
   21210   *)
   21211   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21212 for as_dir in $PATH
   21213 do
   21214   IFS=$as_save_IFS
   21215   case $as_dir in #(((
   21216     '') as_dir=./ ;;
   21217     */) ;;
   21218     *) as_dir=$as_dir/ ;;
   21219   esac
   21220     for ac_exec_ext in '' $ac_executable_extensions; do
   21221   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21222     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   21223     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21224     break 2
   21225   fi
   21226 done
   21227   done
   21228 IFS=$as_save_IFS
   21229 
   21230   ;;
   21231 esac ;;
   21232 esac
   21233 fi
   21234 FOP=$ac_cv_path_FOP
   21235 if test -n "$FOP"; then
   21236   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   21237 printf "%s\n" "$FOP" >&6; }
   21238 else
   21239   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21240 printf "%s\n" "no" >&6; }
   21241 fi
   21242 
   21243 
   21244    if test "x$FOP" = "x"; then
   21245         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   21246    fi
   21247    have_fop=yes
   21248 elif test "x$use_fop" = x"no" ; then
   21249    if test "x$FOP" != "x"; then
   21250       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   21251 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   21252    fi
   21253    have_fop=no
   21254 else
   21255    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   21256 fi
   21257 
   21258 # Test for a minimum version of fop, if provided.
   21259 
   21260  if test "$have_fop" = yes; then
   21261   HAVE_FOP_TRUE=
   21262   HAVE_FOP_FALSE='#'
   21263 else
   21264   HAVE_FOP_TRUE='#'
   21265   HAVE_FOP_FALSE=
   21266 fi
   21267 
   21268 
   21269 
   21270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.7" >&5
   21271 printf %s "checking for X.Org SGML entities >= 1.7... " >&6; }
   21272 XORG_SGML_PATH=
   21273 if test -n "$PKG_CONFIG" && \
   21274     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.7\""; } >&5
   21275   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.7") 2>&5
   21276   ac_status=$?
   21277   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21278   test $ac_status = 0; }; then
   21279   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   21280 else
   21281   :
   21282 
   21283 fi
   21284 
   21285 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   21286 # the path and the name of the doc stylesheet
   21287 if test "x$XORG_SGML_PATH" != "x" ; then
   21288    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   21289 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   21290    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   21291    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   21292 else
   21293    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21294 printf "%s\n" "no" >&6; }
   21295 fi
   21296 
   21297 
   21298 
   21299 
   21300  if test "x$XSL_STYLESHEET" != "x"; then
   21301   HAVE_STYLESHEETS_TRUE=
   21302   HAVE_STYLESHEETS_FALSE='#'
   21303 else
   21304   HAVE_STYLESHEETS_TRUE='#'
   21305   HAVE_STYLESHEETS_FALSE=
   21306 fi
   21307 
   21308 
   21309 
   21310 # Check for Python 3 (needed to generate test font data)
   21311 
   21312 
   21313 
   21314 
   21315 
   21316 
   21317         if test -n "$PYTHON"; then
   21318       # If the user set $PYTHON, use it and don't search something else.
   21319       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.0" >&5
   21320 printf %s "checking whether $PYTHON version is >= 3.0... " >&6; }
   21321       prog="import sys
   21322 # split strings by '.' and convert to numeric.  Append some zeros
   21323 # because we need at least 4 digits for the hex conversion.
   21324 # map returns an iterator in Python 3.0 and a list in 2.x
   21325 minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0]
   21326 minverhex = 0
   21327 # xrange is not present in Python 3.0 and range returns an iterator
   21328 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   21329 sys.exit(sys.hexversion < minverhex)"
   21330   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   21331    ($PYTHON -c "$prog") >&5 2>&5
   21332    ac_status=$?
   21333    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21334    (exit $ac_status); }
   21335 then :
   21336   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21337 printf "%s\n" "yes" >&6; }
   21338 else case e in #(
   21339   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21340 printf "%s\n" "no" >&6; }
   21341 			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5 ;;
   21342 esac
   21343 fi
   21344       am_display_PYTHON=$PYTHON
   21345     else
   21346       # Otherwise, try each interpreter until we find one that satisfies
   21347       # VERSION.
   21348       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.0" >&5
   21349 printf %s "checking for a Python interpreter with version >= 3.0... " >&6; }
   21350 if test ${am_cv_pathless_PYTHON+y}
   21351 then :
   21352   printf %s "(cached) " >&6
   21353 else case e in #(
   21354   e)
   21355 	for am_cv_pathless_PYTHON in python python3  python3.20 python3.19 python3.18 python3.17 python3.16  python3.15 python3.14 python3.13 python3.12 python3.11 python3.10  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0 none; do
   21356 	  test "$am_cv_pathless_PYTHON" = none && break
   21357 	  prog="import sys
   21358 # split strings by '.' and convert to numeric.  Append some zeros
   21359 # because we need at least 4 digits for the hex conversion.
   21360 # map returns an iterator in Python 3.0 and a list in 2.x
   21361 minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0]
   21362 minverhex = 0
   21363 # xrange is not present in Python 3.0 and range returns an iterator
   21364 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   21365 sys.exit(sys.hexversion < minverhex)"
   21366   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
   21367    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
   21368    ac_status=$?
   21369    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21370    (exit $ac_status); }
   21371 then :
   21372   break
   21373 fi
   21374 	done ;;
   21375 esac
   21376 fi
   21377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
   21378 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
   21379       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
   21380       if test "$am_cv_pathless_PYTHON" = none; then
   21381 	PYTHON=:
   21382       else
   21383         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
   21384 set dummy $am_cv_pathless_PYTHON; ac_word=$2
   21385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21386 printf %s "checking for $ac_word... " >&6; }
   21387 if test ${ac_cv_path_PYTHON+y}
   21388 then :
   21389   printf %s "(cached) " >&6
   21390 else case e in #(
   21391   e) case $PYTHON in
   21392   [\\/]* | ?:[\\/]*)
   21393   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   21394   ;;
   21395   *)
   21396   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21397 for as_dir in $PATH
   21398 do
   21399   IFS=$as_save_IFS
   21400   case $as_dir in #(((
   21401     '') as_dir=./ ;;
   21402     */) ;;
   21403     *) as_dir=$as_dir/ ;;
   21404   esac
   21405     for ac_exec_ext in '' $ac_executable_extensions; do
   21406   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21407     ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
   21408     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21409     break 2
   21410   fi
   21411 done
   21412   done
   21413 IFS=$as_save_IFS
   21414 
   21415   ;;
   21416 esac ;;
   21417 esac
   21418 fi
   21419 PYTHON=$ac_cv_path_PYTHON
   21420 if test -n "$PYTHON"; then
   21421   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   21422 printf "%s\n" "$PYTHON" >&6; }
   21423 else
   21424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21425 printf "%s\n" "no" >&6; }
   21426 fi
   21427 
   21428 
   21429       fi
   21430       am_display_PYTHON=$am_cv_pathless_PYTHON
   21431     fi
   21432 
   21433 
   21434   if test "$PYTHON" = :; then
   21435         :
   21436   else
   21437 
   21438               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
   21439 printf %s "checking for $am_display_PYTHON version... " >&6; }
   21440 if test ${am_cv_python_version+y}
   21441 then :
   21442   printf %s "(cached) " >&6
   21443 else case e in #(
   21444   e) am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"` ;;
   21445 esac
   21446 fi
   21447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
   21448 printf "%s\n" "$am_cv_python_version" >&6; }
   21449   PYTHON_VERSION=$am_cv_python_version
   21450 
   21451 
   21452         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
   21453 printf %s "checking for $am_display_PYTHON platform... " >&6; }
   21454 if test ${am_cv_python_platform+y}
   21455 then :
   21456   printf %s "(cached) " >&6
   21457 else case e in #(
   21458   e) am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` ;;
   21459 esac
   21460 fi
   21461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
   21462 printf "%s\n" "$am_cv_python_platform" >&6; }
   21463   PYTHON_PLATFORM=$am_cv_python_platform
   21464 
   21465 
   21466                             if test "x$prefix" = xNONE; then
   21467     am__usable_prefix=$ac_default_prefix
   21468   else
   21469     am__usable_prefix=$prefix
   21470   fi
   21471 
   21472   # Allow user to request using sys.* values from Python,
   21473   # instead of the GNU $prefix values.
   21474 
   21475 # Check whether --with-python-sys-prefix was given.
   21476 if test ${with_python_sys_prefix+y}
   21477 then :
   21478   withval=$with_python_sys_prefix; am_use_python_sys=:
   21479 else case e in #(
   21480   e) am_use_python_sys=false ;;
   21481 esac
   21482 fi
   21483 
   21484 
   21485   # Allow user to override whatever the default Python prefix is.
   21486 
   21487 # Check whether --with-python_prefix was given.
   21488 if test ${with_python_prefix+y}
   21489 then :
   21490   withval=$with_python_prefix; am_python_prefix_subst=$withval
   21491    am_cv_python_prefix=$withval
   21492    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
   21493 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
   21494    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   21495 printf "%s\n" "$am_cv_python_prefix" >&6; }
   21496 else case e in #(
   21497   e)
   21498    if $am_use_python_sys; then
   21499      # using python sys.prefix value, not GNU
   21500      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
   21501 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
   21502 if test ${am_cv_python_prefix+y}
   21503 then :
   21504   printf %s "(cached) " >&6
   21505 else case e in #(
   21506   e) am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"` ;;
   21507 esac
   21508 fi
   21509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   21510 printf "%s\n" "$am_cv_python_prefix" >&6; }
   21511 
   21512                case $am_cv_python_prefix in
   21513      $am__usable_prefix*)
   21514        am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
   21515        am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
   21516        ;;
   21517      *)
   21518        am_python_prefix_subst=$am_cv_python_prefix
   21519        ;;
   21520      esac
   21521    else # using GNU prefix value, not python sys.prefix
   21522      am_python_prefix_subst='${prefix}'
   21523      am_python_prefix=$am_python_prefix_subst
   21524      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
   21525 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
   21526      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
   21527 printf "%s\n" "$am_python_prefix" >&6; }
   21528    fi ;;
   21529 esac
   21530 fi
   21531 
   21532   # Substituting python_prefix_subst value.
   21533   PYTHON_PREFIX=$am_python_prefix_subst
   21534 
   21535 
   21536   # emacs-page Now do it all over again for Python exec_prefix, but with yet
   21537   # another conditional: fall back to regular prefix if that was specified.
   21538 
   21539 # Check whether --with-python_exec_prefix was given.
   21540 if test ${with_python_exec_prefix+y}
   21541 then :
   21542   withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
   21543    am_cv_python_exec_prefix=$withval
   21544    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
   21545 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
   21546    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   21547 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   21548 else case e in #(
   21549   e)
   21550    # no explicit --with-python_exec_prefix, but if
   21551    # --with-python_prefix was given, use its value for python_exec_prefix too.
   21552    if test -n "$with_python_prefix"
   21553 then :
   21554   am_python_exec_prefix_subst=$with_python_prefix
   21555     am_cv_python_exec_prefix=$with_python_prefix
   21556     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
   21557 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
   21558     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   21559 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   21560 else case e in #(
   21561   e)
   21562     # Set am__usable_exec_prefix whether using GNU or Python values,
   21563     # since we use that variable for pyexecdir.
   21564     if test "x$exec_prefix" = xNONE; then
   21565       am__usable_exec_prefix=$am__usable_prefix
   21566     else
   21567       am__usable_exec_prefix=$exec_prefix
   21568     fi
   21569     #
   21570     if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
   21571       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
   21572 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
   21573 if test ${am_cv_python_exec_prefix+y}
   21574 then :
   21575   printf %s "(cached) " >&6
   21576 else case e in #(
   21577   e) am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"` ;;
   21578 esac
   21579 fi
   21580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   21581 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   21582                         case $am_cv_python_exec_prefix in
   21583       $am__usable_exec_prefix*)
   21584         am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
   21585         am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
   21586         ;;
   21587       *)
   21588         am_python_exec_prefix_subst=$am_cv_python_exec_prefix
   21589         ;;
   21590      esac
   21591    else # using GNU $exec_prefix, not python sys.exec_prefix
   21592      am_python_exec_prefix_subst='${exec_prefix}'
   21593      am_python_exec_prefix=$am_python_exec_prefix_subst
   21594      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
   21595 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
   21596      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
   21597 printf "%s\n" "$am_python_exec_prefix" >&6; }
   21598    fi ;;
   21599 esac
   21600 fi ;;
   21601 esac
   21602 fi
   21603 
   21604   # Substituting python_exec_prefix_subst.
   21605   PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
   21606 
   21607 
   21608   # Factor out some code duplication into this shell variable.
   21609   am_python_setup_sysconfig="\
   21610 import sys
   21611 # Prefer sysconfig over distutils.sysconfig, for better compatibility
   21612 # with python 3.x.  See automake bug#10227.
   21613 try:
   21614     import sysconfig
   21615 except ImportError:
   21616     can_use_sysconfig = 0
   21617 else:
   21618     can_use_sysconfig = 1
   21619 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
   21620 # <https://github.com/pypa/virtualenv/issues/118>
   21621 try:
   21622     from platform import python_implementation
   21623     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
   21624         can_use_sysconfig = 0
   21625 except ImportError:
   21626     pass" # end of am_python_setup_sysconfig
   21627 
   21628   # More repeated code, for figuring out the installation scheme to use.
   21629   am_python_setup_scheme="if hasattr(sysconfig, 'get_default_scheme'):
   21630       scheme = sysconfig.get_default_scheme()
   21631     else:
   21632       scheme = sysconfig._get_default_scheme()
   21633     if scheme == 'posix_local':
   21634       if '$am_py_prefix' == '/usr':
   21635         scheme = 'deb_system' # should only happen during Debian package builds
   21636       else:
   21637         # Debian's default scheme installs to /usr/local/ but we want to
   21638         # follow the prefix, as we always have.
   21639         # See bugs#54412, #64837, et al.
   21640         scheme = 'posix_prefix'" # end of am_python_setup_scheme
   21641 
   21642 
   21643               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
   21644 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
   21645 if test ${am_cv_python_pythondir+y}
   21646 then :
   21647   printf %s "(cached) " >&6
   21648 else case e in #(
   21649   e) if test "x$am_cv_python_prefix" = x; then
   21650      am_py_prefix=$am__usable_prefix
   21651    else
   21652      am_py_prefix=$am_cv_python_prefix
   21653    fi
   21654    am_cv_python_pythondir=`$PYTHON -c "
   21655 $am_python_setup_sysconfig
   21656 if can_use_sysconfig:
   21657   try:
   21658     $am_python_setup_scheme
   21659     sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
   21660   except:
   21661     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
   21662 else:
   21663   from distutils import sysconfig
   21664   sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
   21665 sys.stdout.write(sitedir)"`
   21666    #
   21667    case $am_cv_python_pythondir in
   21668    $am_py_prefix*)
   21669      am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
   21670      am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
   21671      ;;
   21672    *)
   21673      case $am_py_prefix in
   21674        /usr|/System*) ;;
   21675        *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   21676           ;;
   21677      esac
   21678      ;;
   21679    esac
   21680    ;;
   21681 esac
   21682 fi
   21683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
   21684 printf "%s\n" "$am_cv_python_pythondir" >&6; }
   21685   pythondir=$am_cv_python_pythondir
   21686 
   21687 
   21688           pkgpythondir=\${pythondir}/$PACKAGE
   21689 
   21690 
   21691             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
   21692 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
   21693 if test ${am_cv_python_pyexecdir+y}
   21694 then :
   21695   printf %s "(cached) " >&6
   21696 else case e in #(
   21697   e) if test "x$am_cv_python_exec_prefix" = x; then
   21698      am_py_exec_prefix=$am__usable_exec_prefix
   21699    else
   21700      am_py_exec_prefix=$am_cv_python_exec_prefix
   21701    fi
   21702    am_cv_python_pyexecdir=`$PYTHON -c "
   21703 $am_python_setup_sysconfig
   21704 if can_use_sysconfig:
   21705   try:
   21706     $am_python_setup_scheme
   21707     sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
   21708   except:
   21709     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
   21710 else:
   21711   from distutils import sysconfig
   21712   sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
   21713 sys.stdout.write(sitedir)"`
   21714    #
   21715    case $am_cv_python_pyexecdir in
   21716    $am_py_exec_prefix*)
   21717      am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
   21718      am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
   21719      ;;
   21720    *)
   21721      case $am_py_exec_prefix in
   21722        /usr|/System*) ;;
   21723        *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   21724           ;;
   21725      esac
   21726      ;;
   21727    esac
   21728    ;;
   21729 esac
   21730 fi
   21731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
   21732 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
   21733   pyexecdir=$am_cv_python_pyexecdir
   21734 
   21735 
   21736       pkgpyexecdir=\${pyexecdir}/$PACKAGE
   21737 
   21738 
   21739 
   21740   fi
   21741 
   21742  if test "$PYTHON" != :; then
   21743   HAVE_PYTHON_TRUE=
   21744   HAVE_PYTHON_FALSE='#'
   21745 else
   21746   HAVE_PYTHON_TRUE='#'
   21747   HAVE_PYTHON_FALSE=
   21748 fi
   21749 
   21750 
   21751 # Checks for header files.
   21752 ac_fn_c_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
   21753 if test "x$ac_cv_header_endian_h" = xyes
   21754 then :
   21755   printf "%s\n" "#define HAVE_ENDIAN_H 1" >>confdefs.h
   21756 
   21757 fi
   21758 ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
   21759 if test "x$ac_cv_header_poll_h" = xyes
   21760 then :
   21761   printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h
   21762 
   21763 fi
   21764 ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
   21765 if test "x$ac_cv_header_sys_poll_h" = xyes
   21766 then :
   21767   printf "%s\n" "#define HAVE_SYS_POLL_H 1" >>confdefs.h
   21768 
   21769 fi
   21770 
   21771 
   21772 # Checks for non-standard functions and fallback to libbsd if we can
   21773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21774 /* end confdefs.h.  */
   21775 
   21776 /* Override any GCC internal prototype to avoid an error.
   21777    Use char because int might match the return type of a GCC
   21778    builtin and then its argument prototype would still apply.
   21779    The 'extern "C"' is for builds by C++ compilers;
   21780    although this is not generally supported in C code supporting it here
   21781    has little cost and some practical benefit (sr 110532).  */
   21782 #ifdef __cplusplus
   21783 extern "C"
   21784 #endif
   21785 char reallocarray (void);
   21786 int
   21787 main (void)
   21788 {
   21789 return reallocarray ();
   21790   ;
   21791   return 0;
   21792 }
   21793 _ACEOF
   21794 if ac_fn_c_try_link "$LINENO"
   21795 then :
   21796   TRY_LIBBSD="no"
   21797 else case e in #(
   21798   e) TRY_LIBBSD="yes" ;;
   21799 esac
   21800 fi
   21801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21802     conftest$ac_exeext conftest.$ac_ext
   21803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21804 /* end confdefs.h.  */
   21805 
   21806 /* Override any GCC internal prototype to avoid an error.
   21807    Use char because int might match the return type of a GCC
   21808    builtin and then its argument prototype would still apply.
   21809    The 'extern "C"' is for builds by C++ compilers;
   21810    although this is not generally supported in C code supporting it here
   21811    has little cost and some practical benefit (sr 110532).  */
   21812 #ifdef __cplusplus
   21813 extern "C"
   21814 #endif
   21815 char strlcat (void);
   21816 int
   21817 main (void)
   21818 {
   21819 return strlcat ();
   21820   ;
   21821   return 0;
   21822 }
   21823 _ACEOF
   21824 if ac_fn_c_try_link "$LINENO"
   21825 then :
   21826   TRY_LIBBSD="no"
   21827 else case e in #(
   21828   e) TRY_LIBBSD="yes" ;;
   21829 esac
   21830 fi
   21831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21832     conftest$ac_exeext conftest.$ac_ext
   21833 if test "x$TRY_LIBBSD" = "xyes"
   21834 then :
   21835 
   21836 pkg_failed=no
   21837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libbsd-overlay" >&5
   21838 printf %s "checking for libbsd-overlay... " >&6; }
   21839 
   21840 if test -n "$LIBBSD_CFLAGS"; then
   21841     pkg_cv_LIBBSD_CFLAGS="$LIBBSD_CFLAGS"
   21842  elif test -n "$PKG_CONFIG"; then
   21843     if test -n "$PKG_CONFIG" && \
   21844     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbsd-overlay\""; } >&5
   21845   ($PKG_CONFIG --exists --print-errors "libbsd-overlay") 2>&5
   21846   ac_status=$?
   21847   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21848   test $ac_status = 0; }; then
   21849   pkg_cv_LIBBSD_CFLAGS=`$PKG_CONFIG --cflags "libbsd-overlay" 2>/dev/null`
   21850 		      test "x$?" != "x0" && pkg_failed=yes
   21851 else
   21852   pkg_failed=yes
   21853 fi
   21854  else
   21855     pkg_failed=untried
   21856 fi
   21857 if test -n "$LIBBSD_LIBS"; then
   21858     pkg_cv_LIBBSD_LIBS="$LIBBSD_LIBS"
   21859  elif test -n "$PKG_CONFIG"; then
   21860     if test -n "$PKG_CONFIG" && \
   21861     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbsd-overlay\""; } >&5
   21862   ($PKG_CONFIG --exists --print-errors "libbsd-overlay") 2>&5
   21863   ac_status=$?
   21864   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21865   test $ac_status = 0; }; then
   21866   pkg_cv_LIBBSD_LIBS=`$PKG_CONFIG --libs "libbsd-overlay" 2>/dev/null`
   21867 		      test "x$?" != "x0" && pkg_failed=yes
   21868 else
   21869   pkg_failed=yes
   21870 fi
   21871  else
   21872     pkg_failed=untried
   21873 fi
   21874 
   21875 
   21876 
   21877 if test $pkg_failed = yes; then
   21878         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21879 printf "%s\n" "no" >&6; }
   21880 
   21881 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21882         _pkg_short_errors_supported=yes
   21883 else
   21884         _pkg_short_errors_supported=no
   21885 fi
   21886         if test $_pkg_short_errors_supported = yes; then
   21887                 LIBBSD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbsd-overlay" 2>&1`
   21888         else
   21889                 LIBBSD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbsd-overlay" 2>&1`
   21890         fi
   21891         # Put the nasty error message in config.log where it belongs
   21892         echo "$LIBBSD_PKG_ERRORS" >&5
   21893 
   21894         :
   21895 elif test $pkg_failed = untried; then
   21896         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21897 printf "%s\n" "no" >&6; }
   21898         :
   21899 else
   21900         LIBBSD_CFLAGS=$pkg_cv_LIBBSD_CFLAGS
   21901         LIBBSD_LIBS=$pkg_cv_LIBBSD_LIBS
   21902         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21903 printf "%s\n" "yes" >&6; }
   21904 
   21905 	CFLAGS="$CFLAGS $LIBBSD_CFLAGS"
   21906 	LIBS="$LIBS $LIBBSD_LIBS"
   21907 
   21908 fi
   21909 fi
   21910 
   21911 # Checks for library functions.
   21912 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   21913 if test "x$ac_cv_func_poll" = xyes
   21914 then :
   21915   printf "%s\n" "#define HAVE_POLL 1" >>confdefs.h
   21916 
   21917 fi
   21918 ac_fn_c_check_func "$LINENO" "readlink" "ac_cv_func_readlink"
   21919 if test "x$ac_cv_func_readlink" = xyes
   21920 then :
   21921   printf "%s\n" "#define HAVE_READLINK 1" >>confdefs.h
   21922 
   21923 fi
   21924 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   21925 if test "x$ac_cv_func_strlcat" = xyes
   21926 then :
   21927   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   21928 
   21929 fi
   21930 
   21931 
   21932 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   21933 if test "x$ac_cv_func_reallocarray" = xyes
   21934 then :
   21935   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   21936 
   21937 else case e in #(
   21938   e) case " $LIBOBJS " in
   21939   *" reallocarray.$ac_objext "* ) ;;
   21940   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
   21941  ;;
   21942 esac
   21943  ;;
   21944 esac
   21945 fi
   21946 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
   21947 if test "x$ac_cv_func_realpath" = xyes
   21948 then :
   21949   printf "%s\n" "#define HAVE_REALPATH 1" >>confdefs.h
   21950 
   21951 else case e in #(
   21952   e) case " $LIBOBJS " in
   21953   *" realpath.$ac_objext "* ) ;;
   21954   *) LIBOBJS="$LIBOBJS realpath.$ac_objext"
   21955  ;;
   21956 esac
   21957  ;;
   21958 esac
   21959 fi
   21960 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   21961 if test "x$ac_cv_func_strlcat" = xyes
   21962 then :
   21963   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   21964 
   21965 else case e in #(
   21966   e) case " $LIBOBJS " in
   21967   *" strlcat.$ac_objext "* ) ;;
   21968   *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
   21969  ;;
   21970 esac
   21971  ;;
   21972 esac
   21973 fi
   21974 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   21975 if test "x$ac_cv_func_strlcpy" = xyes
   21976 then :
   21977   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   21978 
   21979 else case e in #(
   21980   e) case " $LIBOBJS " in
   21981   *" strlcpy.$ac_objext "* ) ;;
   21982   *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
   21983  ;;
   21984 esac
   21985  ;;
   21986 esac
   21987 fi
   21988 
   21989 
   21990 # Checks for header files.
   21991 ac_fn_c_check_header_compile "$LINENO" "err.h" "ac_cv_header_err_h" "$ac_includes_default"
   21992 if test "x$ac_cv_header_err_h" = xyes
   21993 then :
   21994   printf "%s\n" "#define HAVE_ERR_H 1" >>confdefs.h
   21995 
   21996 fi
   21997 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
   21998 if test "x$ac_cv_header_float_h" = xyes
   21999 then :
   22000   printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
   22001 
   22002 fi
   22003 
   22004 
   22005 # Checks for typedefs, structures, and compiler characteristics.
   22006 # Check whether --enable-largefile was given.
   22007 if test ${enable_largefile+y}
   22008 then :
   22009   enableval=$enable_largefile;
   22010 fi
   22011 if test "$enable_largefile,$enable_year2038" != no,no
   22012 then :
   22013   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   22014 printf %s "checking for $CC option to enable large file support... " >&6; }
   22015 if test ${ac_cv_sys_largefile_opts+y}
   22016 then :
   22017   printf %s "(cached) " >&6
   22018 else case e in #(
   22019   e) ac_save_CC="$CC"
   22020   ac_opt_found=no
   22021   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   22022     if test x"$ac_opt" != x"none needed"
   22023 then :
   22024   CC="$ac_save_CC $ac_opt"
   22025 fi
   22026     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22027 /* end confdefs.h.  */
   22028 #include <sys/types.h>
   22029 #ifndef FTYPE
   22030 # define FTYPE off_t
   22031 #endif
   22032  /* Check that FTYPE can represent 2**63 - 1 correctly.
   22033     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   22034     since some C++ compilers masquerading as C compilers
   22035     incorrectly reject 9223372036854775807.  */
   22036 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   22037   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   22038 		       && LARGE_FTYPE % 2147483647 == 1)
   22039 		      ? 1 : -1];
   22040 int
   22041 main (void)
   22042 {
   22043 
   22044   ;
   22045   return 0;
   22046 }
   22047 _ACEOF
   22048 if ac_fn_c_try_compile "$LINENO"
   22049 then :
   22050   if test x"$ac_opt" = x"none needed"
   22051 then :
   22052   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   22053 	 CC="$CC -DFTYPE=ino_t"
   22054 	 if ac_fn_c_try_compile "$LINENO"
   22055 then :
   22056 
   22057 else case e in #(
   22058   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   22059 	    if ac_fn_c_try_compile "$LINENO"
   22060 then :
   22061   ac_opt='-D_FILE_OFFSET_BITS=64'
   22062 fi
   22063 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   22064 esac
   22065 fi
   22066 rm -f core conftest.err conftest.$ac_objext conftest.beam
   22067 fi
   22068       ac_cv_sys_largefile_opts=$ac_opt
   22069       ac_opt_found=yes
   22070 fi
   22071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   22072     test $ac_opt_found = no || break
   22073   done
   22074   CC="$ac_save_CC"
   22075 
   22076   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   22077 esac
   22078 fi
   22079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   22080 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   22081 
   22082 ac_have_largefile=yes
   22083 case $ac_cv_sys_largefile_opts in #(
   22084   "none needed") :
   22085      ;; #(
   22086   "supported through gnulib") :
   22087      ;; #(
   22088   "support not detected") :
   22089     ac_have_largefile=no ;; #(
   22090   "-D_FILE_OFFSET_BITS=64") :
   22091 
   22092 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   22093  ;; #(
   22094   "-D_LARGE_FILES=1") :
   22095 
   22096 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   22097  ;; #(
   22098   "-n32") :
   22099     CC="$CC -n32" ;; #(
   22100   *) :
   22101     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   22102 esac
   22103 
   22104 if test "$enable_year2038" != no
   22105 then :
   22106   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   22107 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   22108 if test ${ac_cv_sys_year2038_opts+y}
   22109 then :
   22110   printf %s "(cached) " >&6
   22111 else case e in #(
   22112   e) ac_save_CPPFLAGS="$CPPFLAGS"
   22113   ac_opt_found=no
   22114   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
   22115     if test x"$ac_opt" != x"none needed"
   22116 then :
   22117   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   22118 fi
   22119     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22120 /* end confdefs.h.  */
   22121 
   22122   #include <time.h>
   22123   /* Check that time_t can represent 2**32 - 1 correctly.  */
   22124   #define LARGE_TIME_T \\
   22125     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   22126   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   22127                            && LARGE_TIME_T % 65537 == 0)
   22128                           ? 1 : -1];
   22129 
   22130 int
   22131 main (void)
   22132 {
   22133 
   22134   ;
   22135   return 0;
   22136 }
   22137 _ACEOF
   22138 if ac_fn_c_try_compile "$LINENO"
   22139 then :
   22140   ac_cv_sys_year2038_opts="$ac_opt"
   22141       ac_opt_found=yes
   22142 fi
   22143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   22144     test $ac_opt_found = no || break
   22145   done
   22146   CPPFLAGS="$ac_save_CPPFLAGS"
   22147   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   22148 esac
   22149 fi
   22150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   22151 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   22152 
   22153 ac_have_year2038=yes
   22154 case $ac_cv_sys_year2038_opts in #(
   22155   "none needed") :
   22156      ;; #(
   22157   "support not detected") :
   22158     ac_have_year2038=no ;; #(
   22159   "-D_TIME_BITS=64") :
   22160 
   22161 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   22162  ;; #(
   22163   "-D__MINGW_USE_VC2005_COMPAT") :
   22164 
   22165 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   22166  ;; #(
   22167   "-U_USE_32_BIT_TIME_T"*) :
   22168     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22169 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22170 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   22171 will stop working after mid-January 2038. Remove
   22172 _USE_32BIT_TIME_T from the compiler flags.
   22173 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   22174   *) :
   22175     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   22176 esac
   22177 
   22178 fi
   22179 
   22180 fi
   22181 
   22182 #
   22183 # select libraries to include
   22184 #
   22185 
   22186 XFONT_FONTFILE=no
   22187 
   22188 #
   22189 # FreeType for all scalable (OpenType, TrueType, PostScript) and
   22190 # some bitmap formats (BDF & PCF)
   22191 #
   22192 # Check whether --enable-freetype was given.
   22193 if test ${enable_freetype+y}
   22194 then :
   22195   enableval=$enable_freetype; XFONT_FREETYPE=$enableval
   22196 else case e in #(
   22197   e) XFONT_FREETYPE=yes ;;
   22198 esac
   22199 fi
   22200 
   22201  if test x$XFONT_FREETYPE = xyes; then
   22202   XFONT_FREETYPE_TRUE=
   22203   XFONT_FREETYPE_FALSE='#'
   22204 else
   22205   XFONT_FREETYPE_TRUE='#'
   22206   XFONT_FREETYPE_FALSE=
   22207 fi
   22208 
   22209 if test x$XFONT_FREETYPE = xyes; then
   22210 
   22211 printf "%s\n" "#define XFONT_FREETYPE 1" >>confdefs.h
   22212 
   22213 
   22214 # Check whether --with-freetype-config was given.
   22215 if test ${with_freetype_config+y}
   22216 then :
   22217   withval=$with_freetype_config; freetype_config=$withval
   22218 else case e in #(
   22219   e) freetype_config=auto ;;
   22220 esac
   22221 fi
   22222 
   22223 
   22224 	if test "$freetype_config" = "auto" ; then
   22225 
   22226 pkg_failed=no
   22227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for freetype2" >&5
   22228 printf %s "checking for freetype2... " >&6; }
   22229 
   22230 if test -n "$FREETYPE_CFLAGS"; then
   22231     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   22232  elif test -n "$PKG_CONFIG"; then
   22233     if test -n "$PKG_CONFIG" && \
   22234     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   22235   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   22236   ac_status=$?
   22237   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22238   test $ac_status = 0; }; then
   22239   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
   22240 		      test "x$?" != "x0" && pkg_failed=yes
   22241 else
   22242   pkg_failed=yes
   22243 fi
   22244  else
   22245     pkg_failed=untried
   22246 fi
   22247 if test -n "$FREETYPE_LIBS"; then
   22248     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   22249  elif test -n "$PKG_CONFIG"; then
   22250     if test -n "$PKG_CONFIG" && \
   22251     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   22252   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   22253   ac_status=$?
   22254   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22255   test $ac_status = 0; }; then
   22256   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
   22257 		      test "x$?" != "x0" && pkg_failed=yes
   22258 else
   22259   pkg_failed=yes
   22260 fi
   22261  else
   22262     pkg_failed=untried
   22263 fi
   22264 
   22265 
   22266 
   22267 if test $pkg_failed = yes; then
   22268         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22269 printf "%s\n" "no" >&6; }
   22270 
   22271 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22272         _pkg_short_errors_supported=yes
   22273 else
   22274         _pkg_short_errors_supported=no
   22275 fi
   22276         if test $_pkg_short_errors_supported = yes; then
   22277                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
   22278         else
   22279                 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
   22280         fi
   22281         # Put the nasty error message in config.log where it belongs
   22282         echo "$FREETYPE_PKG_ERRORS" >&5
   22283 
   22284         freetype_config=yes
   22285 elif test $pkg_failed = untried; then
   22286         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22287 printf "%s\n" "no" >&6; }
   22288         freetype_config=yes
   22289 else
   22290         FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   22291         FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   22292         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22293 printf "%s\n" "yes" >&6; }
   22294         freetype_config=no
   22295 fi
   22296 	fi
   22297 
   22298 	if test "$freetype_config" = "yes"; then
   22299 		# Extract the first word of "freetype-config", so it can be a program name with args.
   22300 set dummy freetype-config; ac_word=$2
   22301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22302 printf %s "checking for $ac_word... " >&6; }
   22303 if test ${ac_cv_path_ft_config+y}
   22304 then :
   22305   printf %s "(cached) " >&6
   22306 else case e in #(
   22307   e) case $ft_config in
   22308   [\\/]* | ?:[\\/]*)
   22309   ac_cv_path_ft_config="$ft_config" # Let the user override the test with a path.
   22310   ;;
   22311   *)
   22312   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22313 for as_dir in $PATH
   22314 do
   22315   IFS=$as_save_IFS
   22316   case $as_dir in #(((
   22317     '') as_dir=./ ;;
   22318     */) ;;
   22319     *) as_dir=$as_dir/ ;;
   22320   esac
   22321     for ac_exec_ext in '' $ac_executable_extensions; do
   22322   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22323     ac_cv_path_ft_config="$as_dir$ac_word$ac_exec_ext"
   22324     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22325     break 2
   22326   fi
   22327 done
   22328   done
   22329 IFS=$as_save_IFS
   22330 
   22331   test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config="no"
   22332   ;;
   22333 esac ;;
   22334 esac
   22335 fi
   22336 ft_config=$ac_cv_path_ft_config
   22337 if test -n "$ft_config"; then
   22338   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ft_config" >&5
   22339 printf "%s\n" "$ft_config" >&6; }
   22340 else
   22341   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22342 printf "%s\n" "no" >&6; }
   22343 fi
   22344 
   22345 
   22346 		if test "$ft_config" = "no"; then
   22347 			as_fn_error $? "You must have freetype installed; see http://www.freetype.org/" "$LINENO" 5
   22348 		fi
   22349 	else
   22350 		ft_config="$freetype_config"
   22351 	fi
   22352 
   22353 	if test "$freetype_config" != "no"; then
   22354 		FREETYPE_CFLAGS="`$ft_config --cflags`"
   22355 		FREETYPE_LIBS="`$ft_config --libs`"
   22356 	fi
   22357 	FREETYPE_REQUIRES="freetype2"
   22358 	XFONT_FONTFILE=yes
   22359 else
   22360 	FREETYPE_CFLAGS=""
   22361 	FREETYPE_LIBS=""
   22362 	FREETYPE_REQUIRES=""
   22363 fi
   22364 
   22365 
   22366 
   22367 
   22368 #
   22369 # Bitmap fonts in files:
   22370 #	Builtins (gzipped pcf format in .text segment)
   22371 #	PCF
   22372 #	BDF
   22373 #	SNF
   22374 #
   22375 
   22376 
   22377 printf "%s\n" "#define X_GZIP_FONT_COMPRESSION 1" >>confdefs.h
   22378 
   22379 X_GZIP_FONT_COMPRESSION=1
   22380 
   22381 
   22382 pkg_failed=no
   22383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
   22384 printf %s "checking for zlib... " >&6; }
   22385 
   22386 if test -n "$ZLIB_CFLAGS"; then
   22387     pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
   22388  elif test -n "$PKG_CONFIG"; then
   22389     if test -n "$PKG_CONFIG" && \
   22390     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
   22391   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
   22392   ac_status=$?
   22393   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22394   test $ac_status = 0; }; then
   22395   pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
   22396 		      test "x$?" != "x0" && pkg_failed=yes
   22397 else
   22398   pkg_failed=yes
   22399 fi
   22400  else
   22401     pkg_failed=untried
   22402 fi
   22403 if test -n "$ZLIB_LIBS"; then
   22404     pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
   22405  elif test -n "$PKG_CONFIG"; then
   22406     if test -n "$PKG_CONFIG" && \
   22407     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
   22408   ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
   22409   ac_status=$?
   22410   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22411   test $ac_status = 0; }; then
   22412   pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
   22413 		      test "x$?" != "x0" && pkg_failed=yes
   22414 else
   22415   pkg_failed=yes
   22416 fi
   22417  else
   22418     pkg_failed=untried
   22419 fi
   22420 
   22421 
   22422 
   22423 if test $pkg_failed = yes; then
   22424         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22425 printf "%s\n" "no" >&6; }
   22426 
   22427 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22428         _pkg_short_errors_supported=yes
   22429 else
   22430         _pkg_short_errors_supported=no
   22431 fi
   22432         if test $_pkg_short_errors_supported = yes; then
   22433                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1`
   22434         else
   22435                 ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1`
   22436         fi
   22437         # Put the nasty error message in config.log where it belongs
   22438         echo "$ZLIB_PKG_ERRORS" >&5
   22439 
   22440         Z_REQUIRES=""
   22441 elif test $pkg_failed = untried; then
   22442         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22443 printf "%s\n" "no" >&6; }
   22444         Z_REQUIRES=""
   22445 else
   22446         ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
   22447         ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
   22448         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22449 printf "%s\n" "yes" >&6; }
   22450         Z_REQUIRES=zlib
   22451 fi
   22452 if test "x$Z_REQUIRES" = "x"; then
   22453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   22454 printf %s "checking for gzopen in -lz... " >&6; }
   22455 if test ${ac_cv_lib_z_gzopen+y}
   22456 then :
   22457   printf %s "(cached) " >&6
   22458 else case e in #(
   22459   e) ac_check_lib_save_LIBS=$LIBS
   22460 LIBS="-lz  $LIBS"
   22461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22462 /* end confdefs.h.  */
   22463 
   22464 /* Override any GCC internal prototype to avoid an error.
   22465    Use char because int might match the return type of a GCC
   22466    builtin and then its argument prototype would still apply.
   22467    The 'extern "C"' is for builds by C++ compilers;
   22468    although this is not generally supported in C code supporting it here
   22469    has little cost and some practical benefit (sr 110532).  */
   22470 #ifdef __cplusplus
   22471 extern "C"
   22472 #endif
   22473 char gzopen (void);
   22474 int
   22475 main (void)
   22476 {
   22477 return gzopen ();
   22478   ;
   22479   return 0;
   22480 }
   22481 _ACEOF
   22482 if ac_fn_c_try_link "$LINENO"
   22483 then :
   22484   ac_cv_lib_z_gzopen=yes
   22485 else case e in #(
   22486   e) ac_cv_lib_z_gzopen=no ;;
   22487 esac
   22488 fi
   22489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22490     conftest$ac_exeext conftest.$ac_ext
   22491 LIBS=$ac_check_lib_save_LIBS ;;
   22492 esac
   22493 fi
   22494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   22495 printf "%s\n" "$ac_cv_lib_z_gzopen" >&6; }
   22496 if test "x$ac_cv_lib_z_gzopen" = xyes
   22497 then :
   22498   Z_LIBS=-lz
   22499 else case e in #(
   22500   e) as_fn_error $? "*** zlib is required" "$LINENO" 5 ;;
   22501 esac
   22502 fi
   22503 
   22504 fi
   22505 
   22506 
   22507 
   22508 # Check whether --with-bzip2 was given.
   22509 if test ${with_bzip2+y}
   22510 then :
   22511   withval=$with_bzip2;
   22512 else case e in #(
   22513   e) with_bzip2=no ;;
   22514 esac
   22515 fi
   22516 
   22517 if test "x$with_bzip2" = xyes; then
   22518 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzopen in -lbz2" >&5
   22519 printf %s "checking for BZ2_bzopen in -lbz2... " >&6; }
   22520 if test ${ac_cv_lib_bz2_BZ2_bzopen+y}
   22521 then :
   22522   printf %s "(cached) " >&6
   22523 else case e in #(
   22524   e) ac_check_lib_save_LIBS=$LIBS
   22525 LIBS="-lbz2  $LIBS"
   22526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22527 /* end confdefs.h.  */
   22528 
   22529 /* Override any GCC internal prototype to avoid an error.
   22530    Use char because int might match the return type of a GCC
   22531    builtin and then its argument prototype would still apply.
   22532    The 'extern "C"' is for builds by C++ compilers;
   22533    although this is not generally supported in C code supporting it here
   22534    has little cost and some practical benefit (sr 110532).  */
   22535 #ifdef __cplusplus
   22536 extern "C"
   22537 #endif
   22538 char BZ2_bzopen (void);
   22539 int
   22540 main (void)
   22541 {
   22542 return BZ2_bzopen ();
   22543   ;
   22544   return 0;
   22545 }
   22546 _ACEOF
   22547 if ac_fn_c_try_link "$LINENO"
   22548 then :
   22549   ac_cv_lib_bz2_BZ2_bzopen=yes
   22550 else case e in #(
   22551   e) ac_cv_lib_bz2_BZ2_bzopen=no ;;
   22552 esac
   22553 fi
   22554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22555     conftest$ac_exeext conftest.$ac_ext
   22556 LIBS=$ac_check_lib_save_LIBS ;;
   22557 esac
   22558 fi
   22559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
   22560 printf "%s\n" "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
   22561 if test "x$ac_cv_lib_bz2_BZ2_bzopen" = xyes
   22562 then :
   22563   Z_LIBS="$Z_LIBS -lbz2"
   22564 else case e in #(
   22565   e) as_fn_error $? "*** libbz2 is required for bzip2 support" "$LINENO" 5 ;;
   22566 esac
   22567 fi
   22568 
   22569 
   22570 printf "%s\n" "#define X_BZIP2_FONT_COMPRESSION 1" >>confdefs.h
   22571 
   22572 fi
   22573  if test "x$with_bzip2" = xyes ; then
   22574   X_BZIP2_FONT_COMPRESSION_TRUE=
   22575   X_BZIP2_FONT_COMPRESSION_FALSE='#'
   22576 else
   22577   X_BZIP2_FONT_COMPRESSION_TRUE='#'
   22578   X_BZIP2_FONT_COMPRESSION_FALSE=
   22579 fi
   22580 
   22581 
   22582 
   22583 # Check whether --enable-builtins was given.
   22584 if test ${enable_builtins+y}
   22585 then :
   22586   enableval=$enable_builtins; XFONT_BUILTINS=$enableval
   22587 else case e in #(
   22588   e) XFONT_BUILTINS=yes ;;
   22589 esac
   22590 fi
   22591 
   22592  if test "x$XFONT_BUILTINS" = xyes ; then
   22593   XFONT_BUILTINS_TRUE=
   22594   XFONT_BUILTINS_FALSE='#'
   22595 else
   22596   XFONT_BUILTINS_TRUE='#'
   22597   XFONT_BUILTINS_FALSE=
   22598 fi
   22599 
   22600 if test "x$XFONT_BUILTINS" = xyes; then
   22601 
   22602 printf "%s\n" "#define XFONT_BUILTINS 1" >>confdefs.h
   22603 
   22604 	XFONT_BITMAP=yes
   22605 fi
   22606 
   22607 # Check whether --enable-pcfformat was given.
   22608 if test ${enable_pcfformat+y}
   22609 then :
   22610   enableval=$enable_pcfformat; XFONT_PCFFORMAT=$enableval
   22611 else case e in #(
   22612   e) XFONT_PCFFORMAT=yes ;;
   22613 esac
   22614 fi
   22615 
   22616  if test "x$XFONT_PCFFORMAT" = xyes; then
   22617   XFONT_PCFFORMAT_TRUE=
   22618   XFONT_PCFFORMAT_FALSE='#'
   22619 else
   22620   XFONT_PCFFORMAT_TRUE='#'
   22621   XFONT_PCFFORMAT_FALSE=
   22622 fi
   22623 
   22624 if test "x$XFONT_PCFFORMAT" = xyes; then
   22625 
   22626 printf "%s\n" "#define XFONT_PCFFORMAT 1" >>confdefs.h
   22627 
   22628 	XFONT_BITMAP=yes
   22629 fi
   22630 
   22631  if test "x$XFONT_PCFFORMAT" = xyes -o "x$XFONT_BUILTINS" = xyes; then
   22632   XFONT_PCF_OR_BUILTIN_TRUE=
   22633   XFONT_PCF_OR_BUILTIN_FALSE='#'
   22634 else
   22635   XFONT_PCF_OR_BUILTIN_TRUE='#'
   22636   XFONT_PCF_OR_BUILTIN_FALSE=
   22637 fi
   22638 
   22639 
   22640 # Check whether --enable-bdfformat was given.
   22641 if test ${enable_bdfformat+y}
   22642 then :
   22643   enableval=$enable_bdfformat; XFONT_BDFFORMAT=$enableval
   22644 else case e in #(
   22645   e) XFONT_BDFFORMAT=yes ;;
   22646 esac
   22647 fi
   22648 
   22649  if test "x$XFONT_BDFFORMAT" = xyes; then
   22650   XFONT_BDFFORMAT_TRUE=
   22651   XFONT_BDFFORMAT_FALSE='#'
   22652 else
   22653   XFONT_BDFFORMAT_TRUE='#'
   22654   XFONT_BDFFORMAT_FALSE=
   22655 fi
   22656 
   22657 if test "x$XFONT_BDFFORMAT" = xyes; then
   22658 
   22659 printf "%s\n" "#define XFONT_BDFFORMAT 1" >>confdefs.h
   22660 
   22661 	XFONT_BITMAP=yes
   22662 fi
   22663 
   22664 # Check whether --enable-snfformat was given.
   22665 if test ${enable_snfformat+y}
   22666 then :
   22667   enableval=$enable_snfformat; XFONT_SNFFORMAT=$enableval
   22668 else case e in #(
   22669   e) XFONT_SNFFORMAT=no ;;
   22670 esac
   22671 fi
   22672 
   22673  if test "x$XFONT_SNFFORMAT" = xyes; then
   22674   XFONT_SNFFORMAT_TRUE=
   22675   XFONT_SNFFORMAT_FALSE='#'
   22676 else
   22677   XFONT_SNFFORMAT_TRUE='#'
   22678   XFONT_SNFFORMAT_FALSE=
   22679 fi
   22680 
   22681 if test "x$XFONT_SNFFORMAT" = xyes; then
   22682 
   22683 printf "%s\n" "#define XFONT_SNFFORMAT 1" >>confdefs.h
   22684 
   22685 	XFONT_BITMAP=yes
   22686 fi
   22687 
   22688  if test "x$XFONT_BITMAP" = xyes ; then
   22689   XFONT_BITMAP_TRUE=
   22690   XFONT_BITMAP_FALSE='#'
   22691 else
   22692   XFONT_BITMAP_TRUE='#'
   22693   XFONT_BITMAP_FALSE=
   22694 fi
   22695 
   22696 if test "x$XFONT_BITMAP" = xyes; then
   22697 
   22698 printf "%s\n" "#define XFONT_BITMAP 1" >>confdefs.h
   22699 
   22700 	XFONT_FONTFILE=yes
   22701 fi
   22702 
   22703  if test "x$XFONT_FONTFILE" = xyes; then
   22704   XFONT_FONTFILE_TRUE=
   22705   XFONT_FONTFILE_FALSE='#'
   22706 else
   22707   XFONT_FONTFILE_TRUE='#'
   22708   XFONT_FONTFILE_FALSE=
   22709 fi
   22710 
   22711 if test "x$XFONT_FONTFILE" = xyes; then
   22712 
   22713 printf "%s\n" "#define XFONT_FONTFILE 1" >>confdefs.h
   22714 
   22715 fi
   22716 
   22717 #
   22718 # Support connection to font servers?
   22719 #
   22720 
   22721 # Check whether --enable-fc was given.
   22722 if test ${enable_fc+y}
   22723 then :
   22724   enableval=$enable_fc; XFONT_FC=$enableval
   22725 else case e in #(
   22726   e) XFONT_FC=yes ;;
   22727 esac
   22728 fi
   22729 
   22730  if test "x$XFONT_FC" = xyes; then
   22731   XFONT_FC_TRUE=
   22732   XFONT_FC_FALSE='#'
   22733 else
   22734   XFONT_FC_TRUE='#'
   22735   XFONT_FC_FALSE=
   22736 fi
   22737 
   22738 if test "x$XFONT_FC" = xyes; then
   22739 
   22740 printf "%s\n" "#define XFONT_FC 1" >>confdefs.h
   22741 
   22742 fi
   22743 
   22744 
   22745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
   22746 printf %s "checking for hypot in -lm... " >&6; }
   22747 if test ${ac_cv_lib_m_hypot+y}
   22748 then :
   22749   printf %s "(cached) " >&6
   22750 else case e in #(
   22751   e) ac_check_lib_save_LIBS=$LIBS
   22752 LIBS="-lm  $LIBS"
   22753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22754 /* end confdefs.h.  */
   22755 
   22756 /* Override any GCC internal prototype to avoid an error.
   22757    Use char because int might match the return type of a GCC
   22758    builtin and then its argument prototype would still apply.
   22759    The 'extern "C"' is for builds by C++ compilers;
   22760    although this is not generally supported in C code supporting it here
   22761    has little cost and some practical benefit (sr 110532).  */
   22762 #ifdef __cplusplus
   22763 extern "C"
   22764 #endif
   22765 char hypot (void);
   22766 int
   22767 main (void)
   22768 {
   22769 return hypot ();
   22770   ;
   22771   return 0;
   22772 }
   22773 _ACEOF
   22774 if ac_fn_c_try_link "$LINENO"
   22775 then :
   22776   ac_cv_lib_m_hypot=yes
   22777 else case e in #(
   22778   e) ac_cv_lib_m_hypot=no ;;
   22779 esac
   22780 fi
   22781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22782     conftest$ac_exeext conftest.$ac_ext
   22783 LIBS=$ac_check_lib_save_LIBS ;;
   22784 esac
   22785 fi
   22786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
   22787 printf "%s\n" "$ac_cv_lib_m_hypot" >&6; }
   22788 if test "x$ac_cv_lib_m_hypot" = xyes
   22789 then :
   22790   MATH_LIBS=-lm
   22791 
   22792 else case e in #(
   22793   e) as_fn_error $? "*** libm is required" "$LINENO" 5 ;;
   22794 esac
   22795 fi
   22796 
   22797 
   22798 
   22799 pkg_failed=no
   22800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xproto xtrans fontsproto >= 2.1.3 fontenc" >&5
   22801 printf %s "checking for xproto xtrans fontsproto >= 2.1.3 fontenc... " >&6; }
   22802 
   22803 if test -n "$XFONT_CFLAGS"; then
   22804     pkg_cv_XFONT_CFLAGS="$XFONT_CFLAGS"
   22805  elif test -n "$PKG_CONFIG"; then
   22806     if test -n "$PKG_CONFIG" && \
   22807     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto >= 2.1.3 fontenc\""; } >&5
   22808   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto >= 2.1.3 fontenc") 2>&5
   22809   ac_status=$?
   22810   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22811   test $ac_status = 0; }; then
   22812   pkg_cv_XFONT_CFLAGS=`$PKG_CONFIG --cflags "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>/dev/null`
   22813 		      test "x$?" != "x0" && pkg_failed=yes
   22814 else
   22815   pkg_failed=yes
   22816 fi
   22817  else
   22818     pkg_failed=untried
   22819 fi
   22820 if test -n "$XFONT_LIBS"; then
   22821     pkg_cv_XFONT_LIBS="$XFONT_LIBS"
   22822  elif test -n "$PKG_CONFIG"; then
   22823     if test -n "$PKG_CONFIG" && \
   22824     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto >= 2.1.3 fontenc\""; } >&5
   22825   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto >= 2.1.3 fontenc") 2>&5
   22826   ac_status=$?
   22827   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22828   test $ac_status = 0; }; then
   22829   pkg_cv_XFONT_LIBS=`$PKG_CONFIG --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>/dev/null`
   22830 		      test "x$?" != "x0" && pkg_failed=yes
   22831 else
   22832   pkg_failed=yes
   22833 fi
   22834  else
   22835     pkg_failed=untried
   22836 fi
   22837 
   22838 
   22839 
   22840 if test $pkg_failed = yes; then
   22841         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22842 printf "%s\n" "no" >&6; }
   22843 
   22844 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22845         _pkg_short_errors_supported=yes
   22846 else
   22847         _pkg_short_errors_supported=no
   22848 fi
   22849         if test $_pkg_short_errors_supported = yes; then
   22850                 XFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>&1`
   22851         else
   22852                 XFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>&1`
   22853         fi
   22854         # Put the nasty error message in config.log where it belongs
   22855         echo "$XFONT_PKG_ERRORS" >&5
   22856 
   22857         as_fn_error $? "Package requirements (xproto xtrans fontsproto >= 2.1.3 fontenc) were not met:
   22858 
   22859 $XFONT_PKG_ERRORS
   22860 
   22861 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22862 installed software in a non-standard prefix.
   22863 
   22864 Alternatively, you may set the environment variables XFONT_CFLAGS
   22865 and XFONT_LIBS to avoid the need to call pkg-config.
   22866 See the pkg-config man page for more details." "$LINENO" 5
   22867 elif test $pkg_failed = untried; then
   22868         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22869 printf "%s\n" "no" >&6; }
   22870         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22871 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22872 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   22873 is in your PATH or set the PKG_CONFIG environment variable to the full
   22874 path to pkg-config.
   22875 
   22876 Alternatively, you may set the environment variables XFONT_CFLAGS
   22877 and XFONT_LIBS to avoid the need to call pkg-config.
   22878 See the pkg-config man page for more details.
   22879 
   22880 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22881 See 'config.log' for more details" "$LINENO" 5; }
   22882 else
   22883         XFONT_CFLAGS=$pkg_cv_XFONT_CFLAGS
   22884         XFONT_LIBS=$pkg_cv_XFONT_LIBS
   22885         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22886 printf "%s\n" "yes" >&6; }
   22887 
   22888 fi
   22889 
   22890 # Transport selection macro from xtrans.m4
   22891 
   22892 
   22893  case $host_os in
   22894 	mingw*)	unixdef="no"   ;;
   22895 	*)	unixdef="yes"  ;;
   22896  esac
   22897  # Check whether --enable-unix-transport was given.
   22898 if test ${enable_unix_transport+y}
   22899 then :
   22900   enableval=$enable_unix_transport; UNIXCONN=$enableval
   22901 else case e in #(
   22902   e) UNIXCONN=$unixdef ;;
   22903 esac
   22904 fi
   22905 
   22906  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   22907 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   22908  if test "$UNIXCONN" = "yes"; then
   22909 
   22910 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   22911 
   22912  fi
   22913  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   22914 printf "%s\n" "$UNIXCONN" >&6; }
   22915  # Check whether --enable-tcp-transport was given.
   22916 if test ${enable_tcp_transport+y}
   22917 then :
   22918   enableval=$enable_tcp_transport; TCPCONN=$enableval
   22919 else case e in #(
   22920   e) TCPCONN=yes ;;
   22921 esac
   22922 fi
   22923 
   22924  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   22925 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   22926  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   22927 printf "%s\n" "$TCPCONN" >&6; }
   22928  if test "$TCPCONN" = "yes"; then
   22929 
   22930 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   22931 
   22932 
   22933  # SVR4 hides these in libraries other than libc
   22934  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   22935 printf %s "checking for library containing socket... " >&6; }
   22936 if test ${ac_cv_search_socket+y}
   22937 then :
   22938   printf %s "(cached) " >&6
   22939 else case e in #(
   22940   e) ac_func_search_save_LIBS=$LIBS
   22941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22942 /* end confdefs.h.  */
   22943 
   22944 /* Override any GCC internal prototype to avoid an error.
   22945    Use char because int might match the return type of a GCC
   22946    builtin and then its argument prototype would still apply.
   22947    The 'extern "C"' is for builds by C++ compilers;
   22948    although this is not generally supported in C code supporting it here
   22949    has little cost and some practical benefit (sr 110532).  */
   22950 #ifdef __cplusplus
   22951 extern "C"
   22952 #endif
   22953 char socket (void);
   22954 int
   22955 main (void)
   22956 {
   22957 return socket ();
   22958   ;
   22959   return 0;
   22960 }
   22961 _ACEOF
   22962 for ac_lib in '' socket
   22963 do
   22964   if test -z "$ac_lib"; then
   22965     ac_res="none required"
   22966   else
   22967     ac_res=-l$ac_lib
   22968     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22969   fi
   22970   if ac_fn_c_try_link "$LINENO"
   22971 then :
   22972   ac_cv_search_socket=$ac_res
   22973 fi
   22974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22975     conftest$ac_exeext
   22976   if test ${ac_cv_search_socket+y}
   22977 then :
   22978   break
   22979 fi
   22980 done
   22981 if test ${ac_cv_search_socket+y}
   22982 then :
   22983 
   22984 else case e in #(
   22985   e) ac_cv_search_socket=no ;;
   22986 esac
   22987 fi
   22988 rm conftest.$ac_ext
   22989 LIBS=$ac_func_search_save_LIBS ;;
   22990 esac
   22991 fi
   22992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   22993 printf "%s\n" "$ac_cv_search_socket" >&6; }
   22994 ac_res=$ac_cv_search_socket
   22995 if test "$ac_res" != no
   22996 then :
   22997   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22998 
   22999 fi
   23000 
   23001  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   23002 printf %s "checking for library containing gethostbyname... " >&6; }
   23003 if test ${ac_cv_search_gethostbyname+y}
   23004 then :
   23005   printf %s "(cached) " >&6
   23006 else case e in #(
   23007   e) ac_func_search_save_LIBS=$LIBS
   23008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23009 /* end confdefs.h.  */
   23010 
   23011 /* Override any GCC internal prototype to avoid an error.
   23012    Use char because int might match the return type of a GCC
   23013    builtin and then its argument prototype would still apply.
   23014    The 'extern "C"' is for builds by C++ compilers;
   23015    although this is not generally supported in C code supporting it here
   23016    has little cost and some practical benefit (sr 110532).  */
   23017 #ifdef __cplusplus
   23018 extern "C"
   23019 #endif
   23020 char gethostbyname (void);
   23021 int
   23022 main (void)
   23023 {
   23024 return gethostbyname ();
   23025   ;
   23026   return 0;
   23027 }
   23028 _ACEOF
   23029 for ac_lib in '' nsl
   23030 do
   23031   if test -z "$ac_lib"; then
   23032     ac_res="none required"
   23033   else
   23034     ac_res=-l$ac_lib
   23035     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23036   fi
   23037   if ac_fn_c_try_link "$LINENO"
   23038 then :
   23039   ac_cv_search_gethostbyname=$ac_res
   23040 fi
   23041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23042     conftest$ac_exeext
   23043   if test ${ac_cv_search_gethostbyname+y}
   23044 then :
   23045   break
   23046 fi
   23047 done
   23048 if test ${ac_cv_search_gethostbyname+y}
   23049 then :
   23050 
   23051 else case e in #(
   23052   e) ac_cv_search_gethostbyname=no ;;
   23053 esac
   23054 fi
   23055 rm conftest.$ac_ext
   23056 LIBS=$ac_func_search_save_LIBS ;;
   23057 esac
   23058 fi
   23059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   23060 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   23061 ac_res=$ac_cv_search_gethostbyname
   23062 if test "$ac_res" != no
   23063 then :
   23064   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23065 
   23066 fi
   23067 
   23068  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   23069    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   23070 printf %s "checking for main in -lws2_32... " >&6; }
   23071 if test ${ac_cv_lib_ws2_32_main+y}
   23072 then :
   23073   printf %s "(cached) " >&6
   23074 else case e in #(
   23075   e) ac_check_lib_save_LIBS=$LIBS
   23076 LIBS="-lws2_32  $LIBS"
   23077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23078 /* end confdefs.h.  */
   23079 
   23080 
   23081 int
   23082 main (void)
   23083 {
   23084 return main ();
   23085   ;
   23086   return 0;
   23087 }
   23088 _ACEOF
   23089 if ac_fn_c_try_link "$LINENO"
   23090 then :
   23091   ac_cv_lib_ws2_32_main=yes
   23092 else case e in #(
   23093   e) ac_cv_lib_ws2_32_main=no ;;
   23094 esac
   23095 fi
   23096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23097     conftest$ac_exeext conftest.$ac_ext
   23098 LIBS=$ac_check_lib_save_LIBS ;;
   23099 esac
   23100 fi
   23101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   23102 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   23103 if test "x$ac_cv_lib_ws2_32_main" = xyes
   23104 then :
   23105   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   23106 
   23107   LIBS="-lws2_32 $LIBS"
   23108 
   23109 fi
   23110 
   23111  fi
   23112 
   23113  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   23114  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   23115 if test "x$ac_cv_func_getaddrinfo" = xyes
   23116 then :
   23117   printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
   23118 
   23119 fi
   23120 ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
   23121 if test "x$ac_cv_func_inet_ntop" = xyes
   23122 then :
   23123   printf "%s\n" "#define HAVE_INET_NTOP 1" >>confdefs.h
   23124 
   23125 fi
   23126 
   23127 
   23128  # Check whether --enable-ipv6 was given.
   23129 if test ${enable_ipv6+y}
   23130 then :
   23131   enableval=$enable_ipv6; IPV6CONN=$enableval
   23132 else case e in #(
   23133   e) IPV6CONN=$ac_cv_func_getaddrinfo ;;
   23134 esac
   23135 fi
   23136 
   23137  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   23138 printf %s "checking if IPv6 support should be built... " >&6; }
   23139  if test "$IPV6CONN" = "yes"; then
   23140 
   23141 printf "%s\n" "#define IPv6 1" >>confdefs.h
   23142 
   23143  fi
   23144  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   23145 printf "%s\n" "$IPV6CONN" >&6; }
   23146 
   23147  # 4.3BSD-Reno added a new member to struct sockaddr_in
   23148  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   23149 #include <sys/types.h>
   23150 #include <sys/socket.h>
   23151 #include <netinet/in.h>
   23152 
   23153 "
   23154 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   23155 then :
   23156 
   23157 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   23158 
   23159 fi
   23160 
   23161 
   23162  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   23163  # and added a type defined to be large enough to hold any sockaddr format.
   23164  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   23165 $ac_includes_default
   23166 #include <sys/socket.h>
   23167 
   23168 "
   23169 if test "x$ac_cv_type_socklen_t" = xyes
   23170 then :
   23171 
   23172 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   23173 
   23174 
   23175 fi
   23176 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
   23177 $ac_includes_default
   23178 #include <sys/socket.h>
   23179 
   23180 "
   23181 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
   23182 then :
   23183 
   23184 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
   23185 
   23186 
   23187 fi
   23188 
   23189 
   23190  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   23191  # _XOPEN_SOURCE to get it (such as on Solaris)
   23192  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   23193 $ac_includes_default
   23194 #include <sys/socket.h>
   23195 
   23196 "
   23197 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   23198 then :
   23199 
   23200 fi
   23201 
   23202  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   23203  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   23204      unset ac_cv_member_struct_msghdr_msg_control
   23205      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   23206 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   23207      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   23208 #define _XOPEN_SOURCE 600
   23209 $ac_includes_default
   23210 #include <sys/socket.h>
   23211 
   23212 "
   23213 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   23214 then :
   23215 
   23216 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   23217 
   23218 
   23219 fi
   23220 
   23221  fi
   23222  # If that didn't work, fall back to XPG5/UNIX98 with C89
   23223  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   23224      unset ac_cv_member_struct_msghdr_msg_control
   23225      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   23226 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   23227      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   23228 #define _XOPEN_SOURCE 500
   23229 $ac_includes_default
   23230 #include <sys/socket.h>
   23231 
   23232 "
   23233 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   23234 then :
   23235 
   23236 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   23237 
   23238 
   23239 fi
   23240 
   23241  fi
   23242 
   23243 
   23244 
   23245  fi
   23246  case $host_os in
   23247 	solaris*)		localdef="yes" ;;
   23248 	*)			localdef="no"  ;;
   23249  esac
   23250  # Check whether --enable-local-transport was given.
   23251 if test ${enable_local_transport+y}
   23252 then :
   23253   enableval=$enable_local_transport; LOCALCONN=$enableval
   23254 else case e in #(
   23255   e) LOCALCONN=$localdef ;;
   23256 esac
   23257 fi
   23258 
   23259  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   23260 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   23261  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   23262 printf "%s\n" "$LOCALCONN" >&6; }
   23263  if test "$LOCALCONN" = "yes"; then
   23264 
   23265 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   23266 
   23267  fi
   23268 
   23269  # Other functions Xtrans may need
   23270  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   23271 if test "x$ac_cv_func_strcasecmp" = xyes
   23272 then :
   23273   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   23274 
   23275 fi
   23276 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   23277 if test "x$ac_cv_func_strlcpy" = xyes
   23278 then :
   23279   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   23280 
   23281 fi
   23282 
   23283 
   23284 
   23285 
   23286 case $host_os in
   23287     linux*)
   23288         OS_CFLAGS="-D_XOPEN_SOURCE"
   23289         ;;
   23290     *)
   23291         OS_CFLAGS=
   23292         ;;
   23293 esac
   23294 
   23295 save_CFLAGS="$CFLAGS"
   23296 CFLAGS="$CFLAGS -fvisibility=hidden"
   23297 CFLAGS_VISIBILITY=
   23298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23299 /* end confdefs.h.  */
   23300 
   23301     #if defined(__CYGWIN__) || defined(__MINGW32__)
   23302     #error No visibility support
   23303     #endif
   23304     extern __attribute__((__visibility__("default"))) int x;
   23305 
   23306 _ACEOF
   23307 if ac_fn_c_try_compile "$LINENO"
   23308 then :
   23309   CFLAGS_VISIBILITY=-fvisibility=hidden
   23310 fi
   23311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   23312 CFLAGS="$save_CFLAGS"
   23313 OS_CFLAGS="$OS_CFLAGS $CFLAGS_VISIBILITY"
   23314 
   23315 
   23316 
   23317 ac_config_files="$ac_config_files Makefile doc/Makefile xfont2.pc"
   23318 
   23319 cat >confcache <<\_ACEOF
   23320 # This file is a shell script that caches the results of configure
   23321 # tests run on this system so they can be shared between configure
   23322 # scripts and configure runs, see configure's option --config-cache.
   23323 # It is not useful on other systems.  If it contains results you don't
   23324 # want to keep, you may remove or edit it.
   23325 #
   23326 # config.status only pays attention to the cache file if you give it
   23327 # the --recheck option to rerun configure.
   23328 #
   23329 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   23330 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   23331 # following values.
   23332 
   23333 _ACEOF
   23334 
   23335 # The following way of writing the cache mishandles newlines in values,
   23336 # but we know of no workaround that is simple, portable, and efficient.
   23337 # So, we kill variables containing newlines.
   23338 # Ultrix sh set writes to stderr and can't be redirected directly,
   23339 # and sets the high bit in the cache file unless we assign to the vars.
   23340 (
   23341   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   23342     eval ac_val=\$$ac_var
   23343     case $ac_val in #(
   23344     *${as_nl}*)
   23345       case $ac_var in #(
   23346       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   23347 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   23348       esac
   23349       case $ac_var in #(
   23350       _ | IFS | as_nl) ;; #(
   23351       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   23352       *) { eval $ac_var=; unset $ac_var;} ;;
   23353       esac ;;
   23354     esac
   23355   done
   23356 
   23357   (set) 2>&1 |
   23358     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   23359     *${as_nl}ac_space=\ *)
   23360       # 'set' does not quote correctly, so add quotes: double-quote
   23361       # substitution turns \\\\ into \\, and sed turns \\ into \.
   23362       sed -n \
   23363 	"s/'/'\\\\''/g;
   23364 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   23365       ;; #(
   23366     *)
   23367       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   23368       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   23369       ;;
   23370     esac |
   23371     sort
   23372 ) |
   23373   sed '
   23374      /^ac_cv_env_/b end
   23375      t clear
   23376      :clear
   23377      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   23378      t end
   23379      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   23380      :end' >>confcache
   23381 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   23382   if test -w "$cache_file"; then
   23383     if test "x$cache_file" != "x/dev/null"; then
   23384       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   23385 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   23386       if test ! -f "$cache_file" || test -h "$cache_file"; then
   23387 	cat confcache >"$cache_file"
   23388       else
   23389         case $cache_file in #(
   23390         */* | ?:*)
   23391 	  mv -f confcache "$cache_file"$$ &&
   23392 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   23393         *)
   23394 	  mv -f confcache "$cache_file" ;;
   23395 	esac
   23396       fi
   23397     fi
   23398   else
   23399     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   23400 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   23401   fi
   23402 fi
   23403 rm -f confcache
   23404 
   23405 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   23406 # Let make expand exec_prefix.
   23407 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   23408 
   23409 DEFS=-DHAVE_CONFIG_H
   23410 
   23411 ac_libobjs=
   23412 ac_ltlibobjs=
   23413 U=
   23414 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   23415   # 1. Remove the extension, and $U if already installed.
   23416   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   23417   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   23418   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   23419   #    will be set to the directory where LIBOBJS objects are built.
   23420   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   23421   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   23422 done
   23423 LIBOBJS=$ac_libobjs
   23424 
   23425 LTLIBOBJS=$ac_ltlibobjs
   23426 
   23427 
   23428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   23429 printf %s "checking that generated files are newer than configure... " >&6; }
   23430    if test -n "$am_sleep_pid"; then
   23431      # Hide warnings about reused PIDs.
   23432      wait $am_sleep_pid 2>/dev/null
   23433    fi
   23434    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   23435 printf "%s\n" "done" >&6; }
   23436 case $enable_silent_rules in # (((
   23437   yes) AM_DEFAULT_VERBOSITY=0;;
   23438    no) AM_DEFAULT_VERBOSITY=1;;
   23439 esac
   23440 if test $am_cv_make_support_nested_variables = yes; then
   23441     AM_V='$(V)'
   23442   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   23443 else
   23444   AM_V=$AM_DEFAULT_VERBOSITY
   23445   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   23446 fi
   23447 
   23448  if test -n "$EXEEXT"; then
   23449   am__EXEEXT_TRUE=
   23450   am__EXEEXT_FALSE='#'
   23451 else
   23452   am__EXEEXT_TRUE='#'
   23453   am__EXEEXT_FALSE=
   23454 fi
   23455 
   23456 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   23457   as_fn_error $? "conditional \"AMDEP\" was never defined.
   23458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23459 fi
   23460 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   23461   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   23462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23463 fi
   23464 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   23465   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   23466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23467 fi
   23468 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   23469   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   23470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23471 fi
   23472 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   23473   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   23474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23475 fi
   23476 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   23477   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   23478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23479 fi
   23480 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   23481   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   23482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23483 fi
   23484 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
   23485   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
   23486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23487 fi
   23488 # Check whether --enable-year2038 was given.
   23489 if test ${enable_year2038+y}
   23490 then :
   23491   enableval=$enable_year2038;
   23492 fi
   23493 
   23494 if test -z "${XFONT_FREETYPE_TRUE}" && test -z "${XFONT_FREETYPE_FALSE}"; then
   23495   as_fn_error $? "conditional \"XFONT_FREETYPE\" was never defined.
   23496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23497 fi
   23498 if test -z "${X_BZIP2_FONT_COMPRESSION_TRUE}" && test -z "${X_BZIP2_FONT_COMPRESSION_FALSE}"; then
   23499   as_fn_error $? "conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
   23500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23501 fi
   23502 if test -z "${XFONT_BUILTINS_TRUE}" && test -z "${XFONT_BUILTINS_FALSE}"; then
   23503   as_fn_error $? "conditional \"XFONT_BUILTINS\" was never defined.
   23504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23505 fi
   23506 if test -z "${XFONT_PCFFORMAT_TRUE}" && test -z "${XFONT_PCFFORMAT_FALSE}"; then
   23507   as_fn_error $? "conditional \"XFONT_PCFFORMAT\" was never defined.
   23508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23509 fi
   23510 if test -z "${XFONT_PCF_OR_BUILTIN_TRUE}" && test -z "${XFONT_PCF_OR_BUILTIN_FALSE}"; then
   23511   as_fn_error $? "conditional \"XFONT_PCF_OR_BUILTIN\" was never defined.
   23512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23513 fi
   23514 if test -z "${XFONT_BDFFORMAT_TRUE}" && test -z "${XFONT_BDFFORMAT_FALSE}"; then
   23515   as_fn_error $? "conditional \"XFONT_BDFFORMAT\" was never defined.
   23516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23517 fi
   23518 if test -z "${XFONT_SNFFORMAT_TRUE}" && test -z "${XFONT_SNFFORMAT_FALSE}"; then
   23519   as_fn_error $? "conditional \"XFONT_SNFFORMAT\" was never defined.
   23520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23521 fi
   23522 if test -z "${XFONT_BITMAP_TRUE}" && test -z "${XFONT_BITMAP_FALSE}"; then
   23523   as_fn_error $? "conditional \"XFONT_BITMAP\" was never defined.
   23524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23525 fi
   23526 if test -z "${XFONT_FONTFILE_TRUE}" && test -z "${XFONT_FONTFILE_FALSE}"; then
   23527   as_fn_error $? "conditional \"XFONT_FONTFILE\" was never defined.
   23528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23529 fi
   23530 if test -z "${XFONT_FC_TRUE}" && test -z "${XFONT_FC_FALSE}"; then
   23531   as_fn_error $? "conditional \"XFONT_FC\" was never defined.
   23532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23533 fi
   23534 
   23535 : "${CONFIG_STATUS=./config.status}"
   23536 ac_write_fail=0
   23537 ac_clean_files_save=$ac_clean_files
   23538 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   23539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   23540 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   23541 as_write_fail=0
   23542 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   23543 #! $SHELL
   23544 # Generated by $as_me.
   23545 # Run this file to recreate the current configuration.
   23546 # Compiler output produced by configure, useful for debugging
   23547 # configure, is in config.log if it exists.
   23548 
   23549 debug=false
   23550 ac_cs_recheck=false
   23551 ac_cs_silent=false
   23552 
   23553 SHELL=\${CONFIG_SHELL-$SHELL}
   23554 export SHELL
   23555 _ASEOF
   23556 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   23557 ## -------------------- ##
   23558 ## M4sh Initialization. ##
   23559 ## -------------------- ##
   23560 
   23561 # Be more Bourne compatible
   23562 DUALCASE=1; export DUALCASE # for MKS sh
   23563 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   23564 then :
   23565   emulate sh
   23566   NULLCMD=:
   23567   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23568   # is contrary to our usage.  Disable this feature.
   23569   alias -g '${1+"$@"}'='"$@"'
   23570   setopt NO_GLOB_SUBST
   23571 else case e in #(
   23572   e) case `(set -o) 2>/dev/null` in #(
   23573   *posix*) :
   23574     set -o posix ;; #(
   23575   *) :
   23576      ;;
   23577 esac ;;
   23578 esac
   23579 fi
   23580 
   23581 
   23582 
   23583 # Reset variables that may have inherited troublesome values from
   23584 # the environment.
   23585 
   23586 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   23587 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   23588 # side effect of setting IFS to empty, thus disabling word splitting.)
   23589 # Quoting is to prevent editors from complaining about space-tab.
   23590 as_nl='
   23591 '
   23592 export as_nl
   23593 IFS=" ""	$as_nl"
   23594 
   23595 PS1='$ '
   23596 PS2='> '
   23597 PS4='+ '
   23598 
   23599 # Ensure predictable behavior from utilities with locale-dependent output.
   23600 LC_ALL=C
   23601 export LC_ALL
   23602 LANGUAGE=C
   23603 export LANGUAGE
   23604 
   23605 # We cannot yet rely on "unset" to work, but we need these variables
   23606 # to be unset--not just set to an empty or harmless value--now, to
   23607 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   23608 # also avoids known problems related to "unset" and subshell syntax
   23609 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   23610 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   23611 do eval test \${$as_var+y} \
   23612   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   23613 done
   23614 
   23615 # Ensure that fds 0, 1, and 2 are open.
   23616 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   23617 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   23618 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   23619 
   23620 # The user is always right.
   23621 if ${PATH_SEPARATOR+false} :; then
   23622   PATH_SEPARATOR=:
   23623   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   23624     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   23625       PATH_SEPARATOR=';'
   23626   }
   23627 fi
   23628 
   23629 
   23630 # Find who we are.  Look in the path if we contain no directory separator.
   23631 as_myself=
   23632 case $0 in #((
   23633   *[\\/]* ) as_myself=$0 ;;
   23634   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23635 for as_dir in $PATH
   23636 do
   23637   IFS=$as_save_IFS
   23638   case $as_dir in #(((
   23639     '') as_dir=./ ;;
   23640     */) ;;
   23641     *) as_dir=$as_dir/ ;;
   23642   esac
   23643     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   23644   done
   23645 IFS=$as_save_IFS
   23646 
   23647      ;;
   23648 esac
   23649 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   23650 # in which case we are not to be found in the path.
   23651 if test "x$as_myself" = x; then
   23652   as_myself=$0
   23653 fi
   23654 if test ! -f "$as_myself"; then
   23655   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   23656   exit 1
   23657 fi
   23658 
   23659 
   23660 
   23661 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   23662 # ----------------------------------------
   23663 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   23664 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   23665 # script with STATUS, using 1 if that was 0.
   23666 as_fn_error ()
   23667 {
   23668   as_status=$1; test $as_status -eq 0 && as_status=1
   23669   if test "$4"; then
   23670     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   23671     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   23672   fi
   23673   printf "%s\n" "$as_me: error: $2" >&2
   23674   as_fn_exit $as_status
   23675 } # as_fn_error
   23676 
   23677 
   23678 # as_fn_set_status STATUS
   23679 # -----------------------
   23680 # Set $? to STATUS, without forking.
   23681 as_fn_set_status ()
   23682 {
   23683   return $1
   23684 } # as_fn_set_status
   23685 
   23686 # as_fn_exit STATUS
   23687 # -----------------
   23688 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   23689 as_fn_exit ()
   23690 {
   23691   set +e
   23692   as_fn_set_status $1
   23693   exit $1
   23694 } # as_fn_exit
   23695 
   23696 # as_fn_unset VAR
   23697 # ---------------
   23698 # Portably unset VAR.
   23699 as_fn_unset ()
   23700 {
   23701   { eval $1=; unset $1;}
   23702 }
   23703 as_unset=as_fn_unset
   23704 
   23705 # as_fn_append VAR VALUE
   23706 # ----------------------
   23707 # Append the text in VALUE to the end of the definition contained in VAR. Take
   23708 # advantage of any shell optimizations that allow amortized linear growth over
   23709 # repeated appends, instead of the typical quadratic growth present in naive
   23710 # implementations.
   23711 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   23712 then :
   23713   eval 'as_fn_append ()
   23714   {
   23715     eval $1+=\$2
   23716   }'
   23717 else case e in #(
   23718   e) as_fn_append ()
   23719   {
   23720     eval $1=\$$1\$2
   23721   } ;;
   23722 esac
   23723 fi # as_fn_append
   23724 
   23725 # as_fn_arith ARG...
   23726 # ------------------
   23727 # Perform arithmetic evaluation on the ARGs, and store the result in the
   23728 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   23729 # must be portable across $(()) and expr.
   23730 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   23731 then :
   23732   eval 'as_fn_arith ()
   23733   {
   23734     as_val=$(( $* ))
   23735   }'
   23736 else case e in #(
   23737   e) as_fn_arith ()
   23738   {
   23739     as_val=`expr "$@" || test $? -eq 1`
   23740   } ;;
   23741 esac
   23742 fi # as_fn_arith
   23743 
   23744 
   23745 if expr a : '\(a\)' >/dev/null 2>&1 &&
   23746    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   23747   as_expr=expr
   23748 else
   23749   as_expr=false
   23750 fi
   23751 
   23752 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   23753   as_basename=basename
   23754 else
   23755   as_basename=false
   23756 fi
   23757 
   23758 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   23759   as_dirname=dirname
   23760 else
   23761   as_dirname=false
   23762 fi
   23763 
   23764 as_me=`$as_basename -- "$0" ||
   23765 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   23766 	 X"$0" : 'X\(//\)$' \| \
   23767 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   23768 printf "%s\n" X/"$0" |
   23769     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23770 	    s//\1/
   23771 	    q
   23772 	  }
   23773 	  /^X\/\(\/\/\)$/{
   23774 	    s//\1/
   23775 	    q
   23776 	  }
   23777 	  /^X\/\(\/\).*/{
   23778 	    s//\1/
   23779 	    q
   23780 	  }
   23781 	  s/.*/./; q'`
   23782 
   23783 # Avoid depending upon Character Ranges.
   23784 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   23785 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   23786 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   23787 as_cr_digits='0123456789'
   23788 as_cr_alnum=$as_cr_Letters$as_cr_digits
   23789 
   23790 
   23791 # Determine whether it's possible to make 'echo' print without a newline.
   23792 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   23793 # for compatibility with existing Makefiles.
   23794 ECHO_C= ECHO_N= ECHO_T=
   23795 case `echo -n x` in #(((((
   23796 -n*)
   23797   case `echo 'xy\c'` in
   23798   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   23799   xy)  ECHO_C='\c';;
   23800   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   23801        ECHO_T='	';;
   23802   esac;;
   23803 *)
   23804   ECHO_N='-n';;
   23805 esac
   23806 
   23807 # For backward compatibility with old third-party macros, we provide
   23808 # the shell variables $as_echo and $as_echo_n.  New code should use
   23809 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   23810 as_echo='printf %s\n'
   23811 as_echo_n='printf %s'
   23812 
   23813 rm -f conf$$ conf$$.exe conf$$.file
   23814 if test -d conf$$.dir; then
   23815   rm -f conf$$.dir/conf$$.file
   23816 else
   23817   rm -f conf$$.dir
   23818   mkdir conf$$.dir 2>/dev/null
   23819 fi
   23820 if (echo >conf$$.file) 2>/dev/null; then
   23821   if ln -s conf$$.file conf$$ 2>/dev/null; then
   23822     as_ln_s='ln -s'
   23823     # ... but there are two gotchas:
   23824     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   23825     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   23826     # In both cases, we have to default to 'cp -pR'.
   23827     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   23828       as_ln_s='cp -pR'
   23829   elif ln conf$$.file conf$$ 2>/dev/null; then
   23830     as_ln_s=ln
   23831   else
   23832     as_ln_s='cp -pR'
   23833   fi
   23834 else
   23835   as_ln_s='cp -pR'
   23836 fi
   23837 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   23838 rmdir conf$$.dir 2>/dev/null
   23839 
   23840 
   23841 # as_fn_mkdir_p
   23842 # -------------
   23843 # Create "$as_dir" as a directory, including parents if necessary.
   23844 as_fn_mkdir_p ()
   23845 {
   23846 
   23847   case $as_dir in #(
   23848   -*) as_dir=./$as_dir;;
   23849   esac
   23850   test -d "$as_dir" || eval $as_mkdir_p || {
   23851     as_dirs=
   23852     while :; do
   23853       case $as_dir in #(
   23854       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23855       *) as_qdir=$as_dir;;
   23856       esac
   23857       as_dirs="'$as_qdir' $as_dirs"
   23858       as_dir=`$as_dirname -- "$as_dir" ||
   23859 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23860 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23861 	 X"$as_dir" : 'X\(//\)$' \| \
   23862 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23863 printf "%s\n" X"$as_dir" |
   23864     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23865 	    s//\1/
   23866 	    q
   23867 	  }
   23868 	  /^X\(\/\/\)[^/].*/{
   23869 	    s//\1/
   23870 	    q
   23871 	  }
   23872 	  /^X\(\/\/\)$/{
   23873 	    s//\1/
   23874 	    q
   23875 	  }
   23876 	  /^X\(\/\).*/{
   23877 	    s//\1/
   23878 	    q
   23879 	  }
   23880 	  s/.*/./; q'`
   23881       test -d "$as_dir" && break
   23882     done
   23883     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23884   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   23885 
   23886 
   23887 } # as_fn_mkdir_p
   23888 if mkdir -p . 2>/dev/null; then
   23889   as_mkdir_p='mkdir -p "$as_dir"'
   23890 else
   23891   test -d ./-p && rmdir ./-p
   23892   as_mkdir_p=false
   23893 fi
   23894 
   23895 
   23896 # as_fn_executable_p FILE
   23897 # -----------------------
   23898 # Test if FILE is an executable regular file.
   23899 as_fn_executable_p ()
   23900 {
   23901   test -f "$1" && test -x "$1"
   23902 } # as_fn_executable_p
   23903 as_test_x='test -x'
   23904 as_executable_p=as_fn_executable_p
   23905 
   23906 # Sed expression to map a string onto a valid CPP name.
   23907 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   23908 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   23909 
   23910 # Sed expression to map a string onto a valid variable name.
   23911 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   23912 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   23913 
   23914 
   23915 exec 6>&1
   23916 ## ----------------------------------- ##
   23917 ## Main body of $CONFIG_STATUS script. ##
   23918 ## ----------------------------------- ##
   23919 _ASEOF
   23920 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   23921 
   23922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23923 # Save the log message, to keep $0 and so on meaningful, and to
   23924 # report actual input values of CONFIG_FILES etc. instead of their
   23925 # values after options handling.
   23926 ac_log="
   23927 This file was extended by libXfont2 $as_me 2.0.8, which was
   23928 generated by GNU Autoconf 2.72.  Invocation command line was
   23929 
   23930   CONFIG_FILES    = $CONFIG_FILES
   23931   CONFIG_HEADERS  = $CONFIG_HEADERS
   23932   CONFIG_LINKS    = $CONFIG_LINKS
   23933   CONFIG_COMMANDS = $CONFIG_COMMANDS
   23934   $ $0 $@
   23935 
   23936 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   23937 "
   23938 
   23939 _ACEOF
   23940 
   23941 case $ac_config_files in *"
   23942 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   23943 esac
   23944 
   23945 case $ac_config_headers in *"
   23946 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   23947 esac
   23948 
   23949 
   23950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23951 # Files that config.status was made for.
   23952 config_files="$ac_config_files"
   23953 config_headers="$ac_config_headers"
   23954 config_commands="$ac_config_commands"
   23955 
   23956 _ACEOF
   23957 
   23958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23959 ac_cs_usage="\
   23960 '$as_me' instantiates files and other configuration actions
   23961 from templates according to the current configuration.  Unless the files
   23962 and actions are specified as TAGs, all are instantiated by default.
   23963 
   23964 Usage: $0 [OPTION]... [TAG]...
   23965 
   23966   -h, --help       print this help, then exit
   23967   -V, --version    print version number and configuration settings, then exit
   23968       --config     print configuration, then exit
   23969   -q, --quiet, --silent
   23970                    do not print progress messages
   23971   -d, --debug      don't remove temporary files
   23972       --recheck    update $as_me by reconfiguring in the same conditions
   23973       --file=FILE[:TEMPLATE]
   23974                    instantiate the configuration file FILE
   23975       --header=FILE[:TEMPLATE]
   23976                    instantiate the configuration header FILE
   23977 
   23978 Configuration files:
   23979 $config_files
   23980 
   23981 Configuration headers:
   23982 $config_headers
   23983 
   23984 Configuration commands:
   23985 $config_commands
   23986 
   23987 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxfont/-/issues>."
   23988 
   23989 _ACEOF
   23990 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   23991 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   23992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23993 ac_cs_config='$ac_cs_config_escaped'
   23994 ac_cs_version="\\
   23995 libXfont2 config.status 2.0.8
   23996 configured by $0, generated by GNU Autoconf 2.72,
   23997   with options \\"\$ac_cs_config\\"
   23998 
   23999 Copyright (C) 2023 Free Software Foundation, Inc.
   24000 This config.status script is free software; the Free Software Foundation
   24001 gives unlimited permission to copy, distribute and modify it."
   24002 
   24003 ac_pwd='$ac_pwd'
   24004 srcdir='$srcdir'
   24005 INSTALL='$INSTALL'
   24006 MKDIR_P='$MKDIR_P'
   24007 AWK='$AWK'
   24008 test -n "\$AWK" || AWK=awk
   24009 _ACEOF
   24010 
   24011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24012 # The default lists apply if the user does not specify any file.
   24013 ac_need_defaults=:
   24014 while test $# != 0
   24015 do
   24016   case $1 in
   24017   --*=?*)
   24018     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24019     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   24020     ac_shift=:
   24021     ;;
   24022   --*=)
   24023     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24024     ac_optarg=
   24025     ac_shift=:
   24026     ;;
   24027   *)
   24028     ac_option=$1
   24029     ac_optarg=$2
   24030     ac_shift=shift
   24031     ;;
   24032   esac
   24033 
   24034   case $ac_option in
   24035   # Handling of the options.
   24036   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   24037     ac_cs_recheck=: ;;
   24038   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   24039     printf "%s\n" "$ac_cs_version"; exit ;;
   24040   --config | --confi | --conf | --con | --co | --c )
   24041     printf "%s\n" "$ac_cs_config"; exit ;;
   24042   --debug | --debu | --deb | --de | --d | -d )
   24043     debug=: ;;
   24044   --file | --fil | --fi | --f )
   24045     $ac_shift
   24046     case $ac_optarg in
   24047     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24048     '') as_fn_error $? "missing file argument" ;;
   24049     esac
   24050     as_fn_append CONFIG_FILES " '$ac_optarg'"
   24051     ac_need_defaults=false;;
   24052   --header | --heade | --head | --hea )
   24053     $ac_shift
   24054     case $ac_optarg in
   24055     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24056     esac
   24057     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   24058     ac_need_defaults=false;;
   24059   --he | --h)
   24060     # Conflict between --help and --header
   24061     as_fn_error $? "ambiguous option: '$1'
   24062 Try '$0 --help' for more information.";;
   24063   --help | --hel | -h )
   24064     printf "%s\n" "$ac_cs_usage"; exit ;;
   24065   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   24066   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   24067     ac_cs_silent=: ;;
   24068 
   24069   # This is an error.
   24070   -*) as_fn_error $? "unrecognized option: '$1'
   24071 Try '$0 --help' for more information." ;;
   24072 
   24073   *) as_fn_append ac_config_targets " $1"
   24074      ac_need_defaults=false ;;
   24075 
   24076   esac
   24077   shift
   24078 done
   24079 
   24080 ac_configure_extra_args=
   24081 
   24082 if $ac_cs_silent; then
   24083   exec 6>/dev/null
   24084   ac_configure_extra_args="$ac_configure_extra_args --silent"
   24085 fi
   24086 
   24087 _ACEOF
   24088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24089 if \$ac_cs_recheck; then
   24090   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   24091   shift
   24092   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   24093   CONFIG_SHELL='$SHELL'
   24094   export CONFIG_SHELL
   24095   exec "\$@"
   24096 fi
   24097 
   24098 _ACEOF
   24099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24100 exec 5>>config.log
   24101 {
   24102   echo
   24103   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   24104 ## Running $as_me. ##
   24105 _ASBOX
   24106   printf "%s\n" "$ac_log"
   24107 } >&5
   24108 
   24109 _ACEOF
   24110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24111 #
   24112 # INIT-COMMANDS
   24113 #
   24114 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   24115 
   24116 
   24117 # The HP-UX ksh and POSIX shell print the target directory to stdout
   24118 # if CDPATH is set.
   24119 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   24120 
   24121 sed_quote_subst='$sed_quote_subst'
   24122 double_quote_subst='$double_quote_subst'
   24123 delay_variable_subst='$delay_variable_subst'
   24124 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   24125 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   24126 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   24127 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   24128 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   24129 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   24130 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   24131 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   24132 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   24133 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   24134 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   24135 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   24136 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   24137 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   24138 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   24139 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   24140 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   24141 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   24142 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   24143 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   24144 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   24145 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   24146 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   24147 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   24148 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   24149 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   24150 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   24151 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   24152 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   24153 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   24154 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   24155 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   24156 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   24157 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   24158 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   24159 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   24160 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   24161 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   24162 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   24163 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   24164 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   24165 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   24166 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   24167 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   24168 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   24169 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   24170 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   24171 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   24172 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   24173 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   24174 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   24175 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   24176 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   24177 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   24178 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   24179 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   24180 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   24181 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   24182 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   24183 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   24184 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"`'
   24185 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   24186 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   24187 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   24188 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   24189 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   24190 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   24191 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   24192 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   24193 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   24194 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   24195 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   24196 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   24197 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   24198 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   24199 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   24200 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   24201 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   24202 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   24203 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   24204 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   24205 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   24206 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   24207 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   24208 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   24209 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   24210 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   24211 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   24212 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   24213 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   24214 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   24215 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   24216 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   24217 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   24218 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   24219 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   24220 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   24221 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   24222 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   24223 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   24224 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   24225 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   24226 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   24227 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   24228 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   24229 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   24230 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   24231 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   24232 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   24233 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   24234 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   24235 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   24236 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   24237 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   24238 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   24239 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   24240 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   24241 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   24242 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   24243 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   24244 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   24245 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   24246 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   24247 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   24248 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   24249 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   24250 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   24251 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   24252 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   24253 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   24254 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   24255 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   24256 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   24257 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   24258 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   24259 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   24260 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   24261 
   24262 LTCC='$LTCC'
   24263 LTCFLAGS='$LTCFLAGS'
   24264 compiler='$compiler_DEFAULT'
   24265 
   24266 # A function that is used when there is no print builtin or printf.
   24267 func_fallback_echo ()
   24268 {
   24269   eval 'cat <<_LTECHO_EOF
   24270 \$1
   24271 _LTECHO_EOF'
   24272 }
   24273 
   24274 # Quote evaled strings.
   24275 for var in SHELL \
   24276 ECHO \
   24277 PATH_SEPARATOR \
   24278 SED \
   24279 GREP \
   24280 EGREP \
   24281 FGREP \
   24282 LD \
   24283 NM \
   24284 LN_S \
   24285 lt_SP2NL \
   24286 lt_NL2SP \
   24287 reload_flag \
   24288 FILECMD \
   24289 OBJDUMP \
   24290 deplibs_check_method \
   24291 file_magic_cmd \
   24292 file_magic_glob \
   24293 want_nocaseglob \
   24294 DLLTOOL \
   24295 sharedlib_from_linklib_cmd \
   24296 AR \
   24297 archiver_list_spec \
   24298 STRIP \
   24299 RANLIB \
   24300 CC \
   24301 CFLAGS \
   24302 compiler \
   24303 lt_cv_sys_global_symbol_pipe \
   24304 lt_cv_sys_global_symbol_to_cdecl \
   24305 lt_cv_sys_global_symbol_to_import \
   24306 lt_cv_sys_global_symbol_to_c_name_address \
   24307 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   24308 lt_cv_nm_interface \
   24309 nm_file_list_spec \
   24310 lt_cv_truncate_bin \
   24311 lt_prog_compiler_no_builtin_flag \
   24312 lt_prog_compiler_pic \
   24313 lt_prog_compiler_wl \
   24314 lt_prog_compiler_static \
   24315 lt_cv_prog_compiler_c_o \
   24316 need_locks \
   24317 MANIFEST_TOOL \
   24318 DSYMUTIL \
   24319 NMEDIT \
   24320 LIPO \
   24321 OTOOL \
   24322 OTOOL64 \
   24323 shrext_cmds \
   24324 export_dynamic_flag_spec \
   24325 whole_archive_flag_spec \
   24326 compiler_needs_object \
   24327 with_gnu_ld \
   24328 allow_undefined_flag \
   24329 no_undefined_flag \
   24330 hardcode_libdir_flag_spec \
   24331 hardcode_libdir_separator \
   24332 exclude_expsyms \
   24333 include_expsyms \
   24334 file_list_spec \
   24335 variables_saved_for_relink \
   24336 libname_spec \
   24337 library_names_spec \
   24338 soname_spec \
   24339 install_override_mode \
   24340 finish_eval \
   24341 old_striplib \
   24342 striplib; do
   24343     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   24344     *[\\\\\\\`\\"\\\$]*)
   24345       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   24346       ;;
   24347     *)
   24348       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   24349       ;;
   24350     esac
   24351 done
   24352 
   24353 # Double-quote double-evaled strings.
   24354 for var in reload_cmds \
   24355 old_postinstall_cmds \
   24356 old_postuninstall_cmds \
   24357 old_archive_cmds \
   24358 extract_expsyms_cmds \
   24359 old_archive_from_new_cmds \
   24360 old_archive_from_expsyms_cmds \
   24361 archive_cmds \
   24362 archive_expsym_cmds \
   24363 module_cmds \
   24364 module_expsym_cmds \
   24365 export_symbols_cmds \
   24366 prelink_cmds \
   24367 postlink_cmds \
   24368 postinstall_cmds \
   24369 postuninstall_cmds \
   24370 finish_cmds \
   24371 sys_lib_search_path_spec \
   24372 configure_time_dlsearch_path \
   24373 configure_time_lt_sys_library_path; do
   24374     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   24375     *[\\\\\\\`\\"\\\$]*)
   24376       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   24377       ;;
   24378     *)
   24379       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   24380       ;;
   24381     esac
   24382 done
   24383 
   24384 ac_aux_dir='$ac_aux_dir'
   24385 
   24386 # See if we are running on zsh, and set the options that allow our
   24387 # commands through without removal of \ escapes INIT.
   24388 if test -n "\${ZSH_VERSION+set}"; then
   24389    setopt NO_GLOB_SUBST
   24390 fi
   24391 
   24392 
   24393     PACKAGE='$PACKAGE'
   24394     VERSION='$VERSION'
   24395     RM='$RM'
   24396     ofile='$ofile'
   24397 
   24398 
   24399 
   24400 
   24401 _ACEOF
   24402 
   24403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24404 
   24405 # Handling of arguments.
   24406 for ac_config_target in $ac_config_targets
   24407 do
   24408   case $ac_config_target in
   24409     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   24410     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   24411     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   24412     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   24413     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   24414     "xfont2.pc") CONFIG_FILES="$CONFIG_FILES xfont2.pc" ;;
   24415 
   24416   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   24417   esac
   24418 done
   24419 
   24420 
   24421 # If the user did not use the arguments to specify the items to instantiate,
   24422 # then the envvar interface is used.  Set only those that are not.
   24423 # We use the long form for the default assignment because of an extremely
   24424 # bizarre bug on SunOS 4.1.3.
   24425 if $ac_need_defaults; then
   24426   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   24427   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   24428   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   24429 fi
   24430 
   24431 # Have a temporary directory for convenience.  Make it in the build tree
   24432 # simply because there is no reason against having it here, and in addition,
   24433 # creating and moving files from /tmp can sometimes cause problems.
   24434 # Hook for its removal unless debugging.
   24435 # Note that there is a small window in which the directory will not be cleaned:
   24436 # after its creation but before its name has been assigned to '$tmp'.
   24437 $debug ||
   24438 {
   24439   tmp= ac_tmp=
   24440   trap 'exit_status=$?
   24441   : "${ac_tmp:=$tmp}"
   24442   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   24443 ' 0
   24444   trap 'as_fn_exit 1' 1 2 13 15
   24445 }
   24446 # Create a (secure) tmp directory for tmp files.
   24447 
   24448 {
   24449   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   24450   test -d "$tmp"
   24451 }  ||
   24452 {
   24453   tmp=./conf$$-$RANDOM
   24454   (umask 077 && mkdir "$tmp")
   24455 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   24456 ac_tmp=$tmp
   24457 
   24458 # Set up the scripts for CONFIG_FILES section.
   24459 # No need to generate them if there are no CONFIG_FILES.
   24460 # This happens for instance with './config.status config.h'.
   24461 if test -n "$CONFIG_FILES"; then
   24462 
   24463 
   24464 ac_cr=`echo X | tr X '\015'`
   24465 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   24466 # But we know of no other shell where ac_cr would be empty at this
   24467 # point, so we can use a bashism as a fallback.
   24468 if test "x$ac_cr" = x; then
   24469   eval ac_cr=\$\'\\r\'
   24470 fi
   24471 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   24472 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   24473   ac_cs_awk_cr='\\r'
   24474 else
   24475   ac_cs_awk_cr=$ac_cr
   24476 fi
   24477 
   24478 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   24479 _ACEOF
   24480 
   24481 
   24482 {
   24483   echo "cat >conf$$subs.awk <<_ACEOF" &&
   24484   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   24485   echo "_ACEOF"
   24486 } >conf$$subs.sh ||
   24487   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24488 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   24489 ac_delim='%!_!# '
   24490 for ac_last_try in false false false false false :; do
   24491   . ./conf$$subs.sh ||
   24492     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24493 
   24494   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   24495   if test $ac_delim_n = $ac_delim_num; then
   24496     break
   24497   elif $ac_last_try; then
   24498     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24499   else
   24500     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24501   fi
   24502 done
   24503 rm -f conf$$subs.sh
   24504 
   24505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24506 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   24507 _ACEOF
   24508 sed -n '
   24509 h
   24510 s/^/S["/; s/!.*/"]=/
   24511 p
   24512 g
   24513 s/^[^!]*!//
   24514 :repl
   24515 t repl
   24516 s/'"$ac_delim"'$//
   24517 t delim
   24518 :nl
   24519 h
   24520 s/\(.\{148\}\)..*/\1/
   24521 t more1
   24522 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   24523 p
   24524 n
   24525 b repl
   24526 :more1
   24527 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   24528 p
   24529 g
   24530 s/.\{148\}//
   24531 t nl
   24532 :delim
   24533 h
   24534 s/\(.\{148\}\)..*/\1/
   24535 t more2
   24536 s/["\\]/\\&/g; s/^/"/; s/$/"/
   24537 p
   24538 b
   24539 :more2
   24540 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   24541 p
   24542 g
   24543 s/.\{148\}//
   24544 t delim
   24545 ' <conf$$subs.awk | sed '
   24546 /^[^""]/{
   24547   N
   24548   s/\n//
   24549 }
   24550 ' >>$CONFIG_STATUS || ac_write_fail=1
   24551 rm -f conf$$subs.awk
   24552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24553 _ACAWK
   24554 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   24555   for (key in S) S_is_set[key] = 1
   24556   FS = ""
   24557 
   24558 }
   24559 {
   24560   line = $ 0
   24561   nfields = split(line, field, "@")
   24562   substed = 0
   24563   len = length(field[1])
   24564   for (i = 2; i < nfields; i++) {
   24565     key = field[i]
   24566     keylen = length(key)
   24567     if (S_is_set[key]) {
   24568       value = S[key]
   24569       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   24570       len += length(value) + length(field[++i])
   24571       substed = 1
   24572     } else
   24573       len += 1 + keylen
   24574   }
   24575 
   24576   print line
   24577 }
   24578 
   24579 _ACAWK
   24580 _ACEOF
   24581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24582 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   24583   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   24584 else
   24585   cat
   24586 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   24587   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   24588 _ACEOF
   24589 
   24590 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   24591 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   24592 # trailing colons and then remove the whole line if VPATH becomes empty
   24593 # (actually we leave an empty line to preserve line numbers).
   24594 if test "x$srcdir" = x.; then
   24595   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   24596 h
   24597 s///
   24598 s/^/:/
   24599 s/[	 ]*$/:/
   24600 s/:\$(srcdir):/:/g
   24601 s/:\${srcdir}:/:/g
   24602 s/:@srcdir@:/:/g
   24603 s/^:*//
   24604 s/:*$//
   24605 x
   24606 s/\(=[	 ]*\).*/\1/
   24607 G
   24608 s/\n//
   24609 s/^[^=]*=[	 ]*$//
   24610 }'
   24611 fi
   24612 
   24613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24614 fi # test -n "$CONFIG_FILES"
   24615 
   24616 # Set up the scripts for CONFIG_HEADERS section.
   24617 # No need to generate them if there are no CONFIG_HEADERS.
   24618 # This happens for instance with './config.status Makefile'.
   24619 if test -n "$CONFIG_HEADERS"; then
   24620 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   24621 BEGIN {
   24622 _ACEOF
   24623 
   24624 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   24625 # here-document in config.status, that substitutes the proper values into
   24626 # config.h.in to produce config.h.
   24627 
   24628 # Create a delimiter string that does not exist in confdefs.h, to ease
   24629 # handling of long lines.
   24630 ac_delim='%!_!# '
   24631 for ac_last_try in false false :; do
   24632   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   24633   if test -z "$ac_tt"; then
   24634     break
   24635   elif $ac_last_try; then
   24636     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   24637   else
   24638     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24639   fi
   24640 done
   24641 
   24642 # For the awk script, D is an array of macro values keyed by name,
   24643 # likewise P contains macro parameters if any.  Preserve backslash
   24644 # newline sequences.
   24645 
   24646 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   24647 sed -n '
   24648 s/.\{148\}/&'"$ac_delim"'/g
   24649 t rset
   24650 :rset
   24651 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   24652 t def
   24653 d
   24654 :def
   24655 s/\\$//
   24656 t bsnl
   24657 s/["\\]/\\&/g
   24658 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   24659 D["\1"]=" \3"/p
   24660 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   24661 d
   24662 :bsnl
   24663 s/["\\]/\\&/g
   24664 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   24665 D["\1"]=" \3\\\\\\n"\\/p
   24666 t cont
   24667 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   24668 t cont
   24669 d
   24670 :cont
   24671 n
   24672 s/.\{148\}/&'"$ac_delim"'/g
   24673 t clear
   24674 :clear
   24675 s/\\$//
   24676 t bsnlc
   24677 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   24678 d
   24679 :bsnlc
   24680 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   24681 b cont
   24682 ' <confdefs.h | sed '
   24683 s/'"$ac_delim"'/"\\\
   24684 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   24685 
   24686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24687   for (key in D) D_is_set[key] = 1
   24688   FS = ""
   24689 }
   24690 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   24691   line = \$ 0
   24692   split(line, arg, " ")
   24693   if (arg[1] == "#") {
   24694     defundef = arg[2]
   24695     mac1 = arg[3]
   24696   } else {
   24697     defundef = substr(arg[1], 2)
   24698     mac1 = arg[2]
   24699   }
   24700   split(mac1, mac2, "(") #)
   24701   macro = mac2[1]
   24702   prefix = substr(line, 1, index(line, defundef) - 1)
   24703   if (D_is_set[macro]) {
   24704     # Preserve the white space surrounding the "#".
   24705     print prefix "define", macro P[macro] D[macro]
   24706     next
   24707   } else {
   24708     # Replace #undef with comments.  This is necessary, for example,
   24709     # in the case of _POSIX_SOURCE, which is predefined and required
   24710     # on some systems where configure will not decide to define it.
   24711     if (defundef == "undef") {
   24712       print "/*", prefix defundef, macro, "*/"
   24713       next
   24714     }
   24715   }
   24716 }
   24717 { print }
   24718 _ACAWK
   24719 _ACEOF
   24720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24721   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   24722 fi # test -n "$CONFIG_HEADERS"
   24723 
   24724 
   24725 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   24726 shift
   24727 for ac_tag
   24728 do
   24729   case $ac_tag in
   24730   :[FHLC]) ac_mode=$ac_tag; continue;;
   24731   esac
   24732   case $ac_mode$ac_tag in
   24733   :[FHL]*:*);;
   24734   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   24735   :[FH]-) ac_tag=-:-;;
   24736   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   24737   esac
   24738   ac_save_IFS=$IFS
   24739   IFS=:
   24740   set x $ac_tag
   24741   IFS=$ac_save_IFS
   24742   shift
   24743   ac_file=$1
   24744   shift
   24745 
   24746   case $ac_mode in
   24747   :L) ac_source=$1;;
   24748   :[FH])
   24749     ac_file_inputs=
   24750     for ac_f
   24751     do
   24752       case $ac_f in
   24753       -) ac_f="$ac_tmp/stdin";;
   24754       *) # Look for the file first in the build tree, then in the source tree
   24755 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   24756 	 # because $ac_f cannot contain ':'.
   24757 	 test -f "$ac_f" ||
   24758 	   case $ac_f in
   24759 	   [\\/$]*) false;;
   24760 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   24761 	   esac ||
   24762 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   24763       esac
   24764       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   24765       as_fn_append ac_file_inputs " '$ac_f'"
   24766     done
   24767 
   24768     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   24769     # use $as_me), people would be surprised to read:
   24770     #    /* config.h.  Generated by config.status.  */
   24771     configure_input='Generated from '`
   24772 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   24773 	`' by configure.'
   24774     if test x"$ac_file" != x-; then
   24775       configure_input="$ac_file.  $configure_input"
   24776       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   24777 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   24778     fi
   24779     # Neutralize special characters interpreted by sed in replacement strings.
   24780     case $configure_input in #(
   24781     *\&* | *\|* | *\\* )
   24782        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   24783        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   24784     *) ac_sed_conf_input=$configure_input;;
   24785     esac
   24786 
   24787     case $ac_tag in
   24788     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   24789       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   24790     esac
   24791     ;;
   24792   esac
   24793 
   24794   ac_dir=`$as_dirname -- "$ac_file" ||
   24795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24796 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   24797 	 X"$ac_file" : 'X\(//\)$' \| \
   24798 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   24799 printf "%s\n" X"$ac_file" |
   24800     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24801 	    s//\1/
   24802 	    q
   24803 	  }
   24804 	  /^X\(\/\/\)[^/].*/{
   24805 	    s//\1/
   24806 	    q
   24807 	  }
   24808 	  /^X\(\/\/\)$/{
   24809 	    s//\1/
   24810 	    q
   24811 	  }
   24812 	  /^X\(\/\).*/{
   24813 	    s//\1/
   24814 	    q
   24815 	  }
   24816 	  s/.*/./; q'`
   24817   as_dir="$ac_dir"; as_fn_mkdir_p
   24818   ac_builddir=.
   24819 
   24820 case "$ac_dir" in
   24821 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24822 *)
   24823   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   24824   # A ".." for each directory in $ac_dir_suffix.
   24825   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   24826   case $ac_top_builddir_sub in
   24827   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24828   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   24829   esac ;;
   24830 esac
   24831 ac_abs_top_builddir=$ac_pwd
   24832 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   24833 # for backward compatibility:
   24834 ac_top_builddir=$ac_top_build_prefix
   24835 
   24836 case $srcdir in
   24837   .)  # We are building in place.
   24838     ac_srcdir=.
   24839     ac_top_srcdir=$ac_top_builddir_sub
   24840     ac_abs_top_srcdir=$ac_pwd ;;
   24841   [\\/]* | ?:[\\/]* )  # Absolute name.
   24842     ac_srcdir=$srcdir$ac_dir_suffix;
   24843     ac_top_srcdir=$srcdir
   24844     ac_abs_top_srcdir=$srcdir ;;
   24845   *) # Relative name.
   24846     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   24847     ac_top_srcdir=$ac_top_build_prefix$srcdir
   24848     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   24849 esac
   24850 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   24851 
   24852 
   24853   case $ac_mode in
   24854   :F)
   24855   #
   24856   # CONFIG_FILE
   24857   #
   24858 
   24859   case $INSTALL in
   24860   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   24861   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   24862   esac
   24863   ac_MKDIR_P=$MKDIR_P
   24864   case $MKDIR_P in
   24865   [\\/$]* | ?:[\\/]* ) ;;
   24866   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   24867   esac
   24868 _ACEOF
   24869 
   24870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24871 # If the template does not know about datarootdir, expand it.
   24872 # FIXME: This hack should be removed a few years after 2.60.
   24873 ac_datarootdir_hack=; ac_datarootdir_seen=
   24874 ac_sed_dataroot='
   24875 /datarootdir/ {
   24876   p
   24877   q
   24878 }
   24879 /@datadir@/p
   24880 /@docdir@/p
   24881 /@infodir@/p
   24882 /@localedir@/p
   24883 /@mandir@/p'
   24884 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   24885 *datarootdir*) ac_datarootdir_seen=yes;;
   24886 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   24887   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   24888 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   24889 _ACEOF
   24890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24891   ac_datarootdir_hack='
   24892   s&@datadir@&$datadir&g
   24893   s&@docdir@&$docdir&g
   24894   s&@infodir@&$infodir&g
   24895   s&@localedir@&$localedir&g
   24896   s&@mandir@&$mandir&g
   24897   s&\\\${datarootdir}&$datarootdir&g' ;;
   24898 esac
   24899 _ACEOF
   24900 
   24901 # Neutralize VPATH when '$srcdir' = '.'.
   24902 # Shell code in configure.ac might set extrasub.
   24903 # FIXME: do we really want to maintain this feature?
   24904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24905 ac_sed_extra="$ac_vpsub
   24906 $extrasub
   24907 _ACEOF
   24908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24909 :t
   24910 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   24911 s|@configure_input@|$ac_sed_conf_input|;t t
   24912 s&@top_builddir@&$ac_top_builddir_sub&;t t
   24913 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   24914 s&@srcdir@&$ac_srcdir&;t t
   24915 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   24916 s&@top_srcdir@&$ac_top_srcdir&;t t
   24917 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   24918 s&@builddir@&$ac_builddir&;t t
   24919 s&@abs_builddir@&$ac_abs_builddir&;t t
   24920 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   24921 s&@INSTALL@&$ac_INSTALL&;t t
   24922 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   24923 $ac_datarootdir_hack
   24924 "
   24925 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   24926   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24927 
   24928 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   24929   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   24930   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   24931       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   24932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   24933 which seems to be undefined.  Please make sure it is defined" >&5
   24934 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   24935 which seems to be undefined.  Please make sure it is defined" >&2;}
   24936 
   24937   rm -f "$ac_tmp/stdin"
   24938   case $ac_file in
   24939   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   24940   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   24941   esac \
   24942   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24943  ;;
   24944   :H)
   24945   #
   24946   # CONFIG_HEADER
   24947   #
   24948   if test x"$ac_file" != x-; then
   24949     {
   24950       printf "%s\n" "/* $configure_input  */" >&1 \
   24951       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   24952     } >"$ac_tmp/config.h" \
   24953       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24954     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   24955       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   24956 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   24957     else
   24958       rm -f "$ac_file"
   24959       mv "$ac_tmp/config.h" "$ac_file" \
   24960 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24961     fi
   24962   else
   24963     printf "%s\n" "/* $configure_input  */" >&1 \
   24964       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   24965       || as_fn_error $? "could not create -" "$LINENO" 5
   24966   fi
   24967 # Compute "$ac_file"'s index in $config_headers.
   24968 _am_arg="$ac_file"
   24969 _am_stamp_count=1
   24970 for _am_header in $config_headers :; do
   24971   case $_am_header in
   24972     $_am_arg | $_am_arg:* )
   24973       break ;;
   24974     * )
   24975       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   24976   esac
   24977 done
   24978 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   24979 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24980 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   24981 	 X"$_am_arg" : 'X\(//\)$' \| \
   24982 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   24983 printf "%s\n" X"$_am_arg" |
   24984     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24985 	    s//\1/
   24986 	    q
   24987 	  }
   24988 	  /^X\(\/\/\)[^/].*/{
   24989 	    s//\1/
   24990 	    q
   24991 	  }
   24992 	  /^X\(\/\/\)$/{
   24993 	    s//\1/
   24994 	    q
   24995 	  }
   24996 	  /^X\(\/\).*/{
   24997 	    s//\1/
   24998 	    q
   24999 	  }
   25000 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   25001  ;;
   25002 
   25003   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   25004 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   25005  ;;
   25006   esac
   25007 
   25008 
   25009   case $ac_file$ac_mode in
   25010     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   25011   # Older Autoconf quotes --file arguments for eval, but not when files
   25012   # are listed without --file.  Let's play safe and only enable the eval
   25013   # if we detect the quoting.
   25014   # TODO: see whether this extra hack can be removed once we start
   25015   # requiring Autoconf 2.70 or later.
   25016   case $CONFIG_FILES in #(
   25017   *\'*) :
   25018     eval set x "$CONFIG_FILES" ;; #(
   25019   *) :
   25020     set x $CONFIG_FILES ;; #(
   25021   *) :
   25022      ;;
   25023 esac
   25024   shift
   25025   # Used to flag and report bootstrapping failures.
   25026   am_rc=0
   25027   for am_mf
   25028   do
   25029     # Strip MF so we end up with the name of the file.
   25030     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   25031     # Check whether this is an Automake generated Makefile which includes
   25032     # dependency-tracking related rules and includes.
   25033     # Grep'ing the whole file directly is not great: AIX grep has a line
   25034     # limit of 2048, but all sed's we know have understand at least 4000.
   25035     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   25036       || continue
   25037     am_dirpart=`$as_dirname -- "$am_mf" ||
   25038 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25039 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   25040 	 X"$am_mf" : 'X\(//\)$' \| \
   25041 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   25042 printf "%s\n" X"$am_mf" |
   25043     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25044 	    s//\1/
   25045 	    q
   25046 	  }
   25047 	  /^X\(\/\/\)[^/].*/{
   25048 	    s//\1/
   25049 	    q
   25050 	  }
   25051 	  /^X\(\/\/\)$/{
   25052 	    s//\1/
   25053 	    q
   25054 	  }
   25055 	  /^X\(\/\).*/{
   25056 	    s//\1/
   25057 	    q
   25058 	  }
   25059 	  s/.*/./; q'`
   25060     am_filepart=`$as_basename -- "$am_mf" ||
   25061 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   25062 	 X"$am_mf" : 'X\(//\)$' \| \
   25063 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   25064 printf "%s\n" X/"$am_mf" |
   25065     sed '/^.*\/\([^/][^/]*\)\/*$/{
   25066 	    s//\1/
   25067 	    q
   25068 	  }
   25069 	  /^X\/\(\/\/\)$/{
   25070 	    s//\1/
   25071 	    q
   25072 	  }
   25073 	  /^X\/\(\/\).*/{
   25074 	    s//\1/
   25075 	    q
   25076 	  }
   25077 	  s/.*/./; q'`
   25078     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   25079       && sed -e '/# am--include-marker/d' "$am_filepart" \
   25080         | $MAKE -f - am--depfiles" >&5
   25081    (cd "$am_dirpart" \
   25082       && sed -e '/# am--include-marker/d' "$am_filepart" \
   25083         | $MAKE -f - am--depfiles) >&5 2>&5
   25084    ac_status=$?
   25085    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   25086    (exit $ac_status); } || am_rc=$?
   25087   done
   25088   if test $am_rc -ne 0; then
   25089     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   25090 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   25091 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   25092     for automatic dependency tracking.  If GNU make was not used, consider
   25093     re-running the configure script with MAKE=\"gmake\" (or whatever is
   25094     necessary).  You can also try re-running configure with the
   25095     '--disable-dependency-tracking' option to at least be able to build
   25096     the package (albeit without support for automatic dependency tracking).
   25097 See 'config.log' for more details" "$LINENO" 5; }
   25098   fi
   25099   { am_dirpart=; unset am_dirpart;}
   25100   { am_filepart=; unset am_filepart;}
   25101   { am_mf=; unset am_mf;}
   25102   { am_rc=; unset am_rc;}
   25103   rm -f conftest-deps.mk
   25104 }
   25105  ;;
   25106     "libtool":C)
   25107 
   25108     # See if we are running on zsh, and set the options that allow our
   25109     # commands through without removal of \ escapes.
   25110     if test -n "${ZSH_VERSION+set}"; then
   25111       setopt NO_GLOB_SUBST
   25112     fi
   25113 
   25114     cfgfile=${ofile}T
   25115     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   25116     $RM "$cfgfile"
   25117 
   25118     cat <<_LT_EOF >> "$cfgfile"
   25119 #! $SHELL
   25120 # Generated automatically by $as_me ($PACKAGE) $VERSION
   25121 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   25122 
   25123 # Provide generalized library-building support services.
   25124 # Written by Gordon Matzigkeit, 1996
   25125 
   25126 # Copyright (C) 2024 Free Software Foundation, Inc.
   25127 # This is free software; see the source for copying conditions.  There is NO
   25128 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   25129 
   25130 # GNU Libtool is free software; you can redistribute it and/or modify
   25131 # it under the terms of the GNU General Public License as published by
   25132 # the Free Software Foundation; either version 2 of the License, or
   25133 # (at your option) any later version.
   25134 #
   25135 # As a special exception to the GNU General Public License, if you
   25136 # distribute this file as part of a program or library that is built
   25137 # using GNU Libtool, you may include this file under the  same
   25138 # distribution terms that you use for the rest of that program.
   25139 #
   25140 # GNU Libtool is distributed in the hope that it will be useful, but
   25141 # WITHOUT ANY WARRANTY; without even the implied warranty of
   25142 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   25143 # GNU General Public License for more details.
   25144 #
   25145 # You should have received a copy of the GNU General Public License
   25146 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   25147 
   25148 
   25149 # The names of the tagged configurations supported by this script.
   25150 available_tags=''
   25151 
   25152 # Configured defaults for sys_lib_dlsearch_path munging.
   25153 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   25154 
   25155 # ### BEGIN LIBTOOL CONFIG
   25156 
   25157 # Which release of libtool.m4 was used?
   25158 macro_version=$macro_version
   25159 macro_revision=$macro_revision
   25160 
   25161 # Whether or not to build shared libraries.
   25162 build_libtool_libs=$enable_shared
   25163 
   25164 # Whether or not to build static libraries.
   25165 build_old_libs=$enable_static
   25166 
   25167 # What type of objects to build.
   25168 pic_mode=$pic_mode
   25169 
   25170 # Whether or not to optimize for fast installation.
   25171 fast_install=$enable_fast_install
   25172 
   25173 # Shared archive member basename,for filename based shared library versioning on AIX.
   25174 shared_archive_member_spec=$shared_archive_member_spec
   25175 
   25176 # Shell to use when invoking shell scripts.
   25177 SHELL=$lt_SHELL
   25178 
   25179 # An echo program that protects backslashes.
   25180 ECHO=$lt_ECHO
   25181 
   25182 # The PATH separator for the build system.
   25183 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   25184 
   25185 # The host system.
   25186 host_alias=$host_alias
   25187 host=$host
   25188 host_os=$host_os
   25189 
   25190 # The build system.
   25191 build_alias=$build_alias
   25192 build=$build
   25193 build_os=$build_os
   25194 
   25195 # A sed program that does not truncate output.
   25196 SED=$lt_SED
   25197 
   25198 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   25199 Xsed="\$SED -e 1s/^X//"
   25200 
   25201 # A grep program that handles long lines.
   25202 GREP=$lt_GREP
   25203 
   25204 # An ERE matcher.
   25205 EGREP=$lt_EGREP
   25206 
   25207 # A literal string matcher.
   25208 FGREP=$lt_FGREP
   25209 
   25210 # A BSD- or MS-compatible name lister.
   25211 NM=$lt_NM
   25212 
   25213 # Whether we need soft or hard links.
   25214 LN_S=$lt_LN_S
   25215 
   25216 # What is the maximum length of a command?
   25217 max_cmd_len=$max_cmd_len
   25218 
   25219 # Object file suffix (normally "o").
   25220 objext=$ac_objext
   25221 
   25222 # Executable file suffix (normally "").
   25223 exeext=$exeext
   25224 
   25225 # whether the shell understands "unset".
   25226 lt_unset=$lt_unset
   25227 
   25228 # turn spaces into newlines.
   25229 SP2NL=$lt_lt_SP2NL
   25230 
   25231 # turn newlines into spaces.
   25232 NL2SP=$lt_lt_NL2SP
   25233 
   25234 # convert \$build file names to \$host format.
   25235 to_host_file_cmd=$lt_cv_to_host_file_cmd
   25236 
   25237 # convert \$build files to toolchain format.
   25238 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   25239 
   25240 # A file(cmd) program that detects file types.
   25241 FILECMD=$lt_FILECMD
   25242 
   25243 # An object symbol dumper.
   25244 OBJDUMP=$lt_OBJDUMP
   25245 
   25246 # Method to check whether dependent libraries are shared objects.
   25247 deplibs_check_method=$lt_deplibs_check_method
   25248 
   25249 # Command to use when deplibs_check_method = "file_magic".
   25250 file_magic_cmd=$lt_file_magic_cmd
   25251 
   25252 # How to find potential files when deplibs_check_method = "file_magic".
   25253 file_magic_glob=$lt_file_magic_glob
   25254 
   25255 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   25256 want_nocaseglob=$lt_want_nocaseglob
   25257 
   25258 # DLL creation program.
   25259 DLLTOOL=$lt_DLLTOOL
   25260 
   25261 # Command to associate shared and link libraries.
   25262 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   25263 
   25264 # The archiver.
   25265 AR=$lt_AR
   25266 
   25267 # Flags to create an archive (by configure).
   25268 lt_ar_flags=$lt_ar_flags
   25269 
   25270 # Flags to create an archive.
   25271 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   25272 
   25273 # How to feed a file listing to the archiver.
   25274 archiver_list_spec=$lt_archiver_list_spec
   25275 
   25276 # A symbol stripping program.
   25277 STRIP=$lt_STRIP
   25278 
   25279 # Commands used to install an old-style archive.
   25280 RANLIB=$lt_RANLIB
   25281 old_postinstall_cmds=$lt_old_postinstall_cmds
   25282 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   25283 
   25284 # Whether to use a lock for old archive extraction.
   25285 lock_old_archive_extraction=$lock_old_archive_extraction
   25286 
   25287 # A C compiler.
   25288 LTCC=$lt_CC
   25289 
   25290 # LTCC compiler flags.
   25291 LTCFLAGS=$lt_CFLAGS
   25292 
   25293 # Take the output of nm and produce a listing of raw symbols and C names.
   25294 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   25295 
   25296 # Transform the output of nm in a proper C declaration.
   25297 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   25298 
   25299 # Transform the output of nm into a list of symbols to manually relocate.
   25300 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   25301 
   25302 # Transform the output of nm in a C name address pair.
   25303 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   25304 
   25305 # Transform the output of nm in a C name address pair when lib prefix is needed.
   25306 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   25307 
   25308 # The name lister interface.
   25309 nm_interface=$lt_lt_cv_nm_interface
   25310 
   25311 # Specify filename containing input files for \$NM.
   25312 nm_file_list_spec=$lt_nm_file_list_spec
   25313 
   25314 # The root where to search for dependent libraries,and where our libraries should be installed.
   25315 lt_sysroot=$lt_sysroot
   25316 
   25317 # Command to truncate a binary pipe.
   25318 lt_truncate_bin=$lt_lt_cv_truncate_bin
   25319 
   25320 # The name of the directory that contains temporary libtool files.
   25321 objdir=$objdir
   25322 
   25323 # Used to examine libraries when file_magic_cmd begins with "file".
   25324 MAGIC_CMD=$MAGIC_CMD
   25325 
   25326 # Must we lock files when doing compilation?
   25327 need_locks=$lt_need_locks
   25328 
   25329 # Manifest tool.
   25330 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   25331 
   25332 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   25333 DSYMUTIL=$lt_DSYMUTIL
   25334 
   25335 # Tool to change global to local symbols on Mac OS X.
   25336 NMEDIT=$lt_NMEDIT
   25337 
   25338 # Tool to manipulate fat objects and archives on Mac OS X.
   25339 LIPO=$lt_LIPO
   25340 
   25341 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   25342 OTOOL=$lt_OTOOL
   25343 
   25344 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   25345 OTOOL64=$lt_OTOOL64
   25346 
   25347 # Old archive suffix (normally "a").
   25348 libext=$libext
   25349 
   25350 # Shared library suffix (normally ".so").
   25351 shrext_cmds=$lt_shrext_cmds
   25352 
   25353 # The commands to extract the exported symbol list from a shared archive.
   25354 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   25355 
   25356 # Variables whose values should be saved in libtool wrapper scripts and
   25357 # restored at link time.
   25358 variables_saved_for_relink=$lt_variables_saved_for_relink
   25359 
   25360 # Do we need the "lib" prefix for modules?
   25361 need_lib_prefix=$need_lib_prefix
   25362 
   25363 # Do we need a version for libraries?
   25364 need_version=$need_version
   25365 
   25366 # Library versioning type.
   25367 version_type=$version_type
   25368 
   25369 # Shared library runtime path variable.
   25370 runpath_var=$runpath_var
   25371 
   25372 # Shared library path variable.
   25373 shlibpath_var=$shlibpath_var
   25374 
   25375 # Is shlibpath searched before the hard-coded library search path?
   25376 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   25377 
   25378 # Format of library name prefix.
   25379 libname_spec=$lt_libname_spec
   25380 
   25381 # List of archive names.  First name is the real one, the rest are links.
   25382 # The last name is the one that the linker finds with -lNAME
   25383 library_names_spec=$lt_library_names_spec
   25384 
   25385 # The coded name of the library, if different from the real name.
   25386 soname_spec=$lt_soname_spec
   25387 
   25388 # Permission mode override for installation of shared libraries.
   25389 install_override_mode=$lt_install_override_mode
   25390 
   25391 # Command to use after installation of a shared archive.
   25392 postinstall_cmds=$lt_postinstall_cmds
   25393 
   25394 # Command to use after uninstallation of a shared archive.
   25395 postuninstall_cmds=$lt_postuninstall_cmds
   25396 
   25397 # Commands used to finish a libtool library installation in a directory.
   25398 finish_cmds=$lt_finish_cmds
   25399 
   25400 # As "finish_cmds", except a single script fragment to be evaled but
   25401 # not shown.
   25402 finish_eval=$lt_finish_eval
   25403 
   25404 # Whether we should hardcode library paths into libraries.
   25405 hardcode_into_libs=$hardcode_into_libs
   25406 
   25407 # Compile-time system search path for libraries.
   25408 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   25409 
   25410 # Detected run-time system search path for libraries.
   25411 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   25412 
   25413 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   25414 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   25415 
   25416 # Whether dlopen is supported.
   25417 dlopen_support=$enable_dlopen
   25418 
   25419 # Whether dlopen of programs is supported.
   25420 dlopen_self=$enable_dlopen_self
   25421 
   25422 # Whether dlopen of statically linked programs is supported.
   25423 dlopen_self_static=$enable_dlopen_self_static
   25424 
   25425 # Commands to strip libraries.
   25426 old_striplib=$lt_old_striplib
   25427 striplib=$lt_striplib
   25428 
   25429 
   25430 # The linker used to build libraries.
   25431 LD=$lt_LD
   25432 
   25433 # How to create reloadable object files.
   25434 reload_flag=$lt_reload_flag
   25435 reload_cmds=$lt_reload_cmds
   25436 
   25437 # Commands used to build an old-style archive.
   25438 old_archive_cmds=$lt_old_archive_cmds
   25439 
   25440 # A language specific compiler.
   25441 CC=$lt_compiler
   25442 
   25443 # Is the compiler the GNU compiler?
   25444 with_gcc=$GCC
   25445 
   25446 # Compiler flag to turn off builtin functions.
   25447 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   25448 
   25449 # Additional compiler flags for building library objects.
   25450 pic_flag=$lt_lt_prog_compiler_pic
   25451 
   25452 # How to pass a linker flag through the compiler.
   25453 wl=$lt_lt_prog_compiler_wl
   25454 
   25455 # Compiler flag to prevent dynamic linking.
   25456 link_static_flag=$lt_lt_prog_compiler_static
   25457 
   25458 # Does compiler simultaneously support -c and -o options?
   25459 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   25460 
   25461 # Whether or not to add -lc for building shared libraries.
   25462 build_libtool_need_lc=$archive_cmds_need_lc
   25463 
   25464 # Whether or not to disallow shared libs when runtime libs are static.
   25465 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   25466 
   25467 # Compiler flag to allow reflexive dlopens.
   25468 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   25469 
   25470 # Compiler flag to generate shared objects directly from archives.
   25471 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   25472 
   25473 # Whether the compiler copes with passing no objects directly.
   25474 compiler_needs_object=$lt_compiler_needs_object
   25475 
   25476 # Create an old-style archive from a shared archive.
   25477 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   25478 
   25479 # Create a temporary old-style archive to link instead of a shared archive.
   25480 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   25481 
   25482 # Commands used to build a shared archive.
   25483 archive_cmds=$lt_archive_cmds
   25484 archive_expsym_cmds=$lt_archive_expsym_cmds
   25485 
   25486 # Commands used to build a loadable module if different from building
   25487 # a shared archive.
   25488 module_cmds=$lt_module_cmds
   25489 module_expsym_cmds=$lt_module_expsym_cmds
   25490 
   25491 # Whether we are building with GNU ld or not.
   25492 with_gnu_ld=$lt_with_gnu_ld
   25493 
   25494 # Flag that allows shared libraries with undefined symbols to be built.
   25495 allow_undefined_flag=$lt_allow_undefined_flag
   25496 
   25497 # Flag that enforces no undefined symbols.
   25498 no_undefined_flag=$lt_no_undefined_flag
   25499 
   25500 # Flag to hardcode \$libdir into a binary during linking.
   25501 # This must work even if \$libdir does not exist
   25502 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   25503 
   25504 # Whether we need a single "-rpath" flag with a separated argument.
   25505 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   25506 
   25507 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   25508 # DIR into the resulting binary.
   25509 hardcode_direct=$hardcode_direct
   25510 
   25511 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   25512 # DIR into the resulting binary and the resulting library dependency is
   25513 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   25514 # library is relocated.
   25515 hardcode_direct_absolute=$hardcode_direct_absolute
   25516 
   25517 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   25518 # into the resulting binary.
   25519 hardcode_minus_L=$hardcode_minus_L
   25520 
   25521 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   25522 # into the resulting binary.
   25523 hardcode_shlibpath_var=$hardcode_shlibpath_var
   25524 
   25525 # Set to "yes" if building a shared library automatically hardcodes DIR
   25526 # into the library and all subsequent libraries and executables linked
   25527 # against it.
   25528 hardcode_automatic=$hardcode_automatic
   25529 
   25530 # Set to yes if linker adds runtime paths of dependent libraries
   25531 # to runtime path list.
   25532 inherit_rpath=$inherit_rpath
   25533 
   25534 # Whether libtool must link a program against all its dependency libraries.
   25535 link_all_deplibs=$link_all_deplibs
   25536 
   25537 # Set to "yes" if exported symbols are required.
   25538 always_export_symbols=$always_export_symbols
   25539 
   25540 # The commands to list exported symbols.
   25541 export_symbols_cmds=$lt_export_symbols_cmds
   25542 
   25543 # Symbols that should not be listed in the preloaded symbols.
   25544 exclude_expsyms=$lt_exclude_expsyms
   25545 
   25546 # Symbols that must always be exported.
   25547 include_expsyms=$lt_include_expsyms
   25548 
   25549 # Commands necessary for linking programs (against libraries) with templates.
   25550 prelink_cmds=$lt_prelink_cmds
   25551 
   25552 # Commands necessary for finishing linking programs.
   25553 postlink_cmds=$lt_postlink_cmds
   25554 
   25555 # Specify filename containing input files.
   25556 file_list_spec=$lt_file_list_spec
   25557 
   25558 # How to hardcode a shared library path into an executable.
   25559 hardcode_action=$hardcode_action
   25560 
   25561 # ### END LIBTOOL CONFIG
   25562 
   25563 _LT_EOF
   25564 
   25565     cat <<'_LT_EOF' >> "$cfgfile"
   25566 
   25567 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   25568 
   25569 # func_munge_path_list VARIABLE PATH
   25570 # -----------------------------------
   25571 # VARIABLE is name of variable containing _space_ separated list of
   25572 # directories to be munged by the contents of PATH, which is string
   25573 # having a format:
   25574 # "DIR[:DIR]:"
   25575 #       string "DIR[ DIR]" will be prepended to VARIABLE
   25576 # ":DIR[:DIR]"
   25577 #       string "DIR[ DIR]" will be appended to VARIABLE
   25578 # "DIRP[:DIRP]::[DIRA:]DIRA"
   25579 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   25580 #       "DIRA[ DIRA]" will be appended to VARIABLE
   25581 # "DIR[:DIR]"
   25582 #       VARIABLE will be replaced by "DIR[ DIR]"
   25583 func_munge_path_list ()
   25584 {
   25585     case x$2 in
   25586     x)
   25587         ;;
   25588     *:)
   25589         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   25590         ;;
   25591     x:*)
   25592         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   25593         ;;
   25594     *::*)
   25595         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   25596         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   25597         ;;
   25598     *)
   25599         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   25600         ;;
   25601     esac
   25602 }
   25603 
   25604 
   25605 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   25606 func_cc_basename ()
   25607 {
   25608     for cc_temp in $*""; do
   25609       case $cc_temp in
   25610         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   25611         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   25612         \-*) ;;
   25613         *) break;;
   25614       esac
   25615     done
   25616     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   25617 }
   25618 
   25619 
   25620 # ### END FUNCTIONS SHARED WITH CONFIGURE
   25621 
   25622 _LT_EOF
   25623 
   25624   case $host_os in
   25625   aix3*)
   25626     cat <<\_LT_EOF >> "$cfgfile"
   25627 # AIX sometimes has problems with the GCC collect2 program.  For some
   25628 # reason, if we set the COLLECT_NAMES environment variable, the problems
   25629 # vanish in a puff of smoke.
   25630 if test set != "${COLLECT_NAMES+set}"; then
   25631   COLLECT_NAMES=
   25632   export COLLECT_NAMES
   25633 fi
   25634 _LT_EOF
   25635     ;;
   25636   esac
   25637 
   25638 
   25639 
   25640 ltmain=$ac_aux_dir/ltmain.sh
   25641 
   25642 
   25643   # We use sed instead of cat because bash on DJGPP gets confused if
   25644   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   25645   # text mode, it properly converts lines to CR/LF.  This bash problem
   25646   # is reportedly fixed, but why not run on old versions too?
   25647   $SED '$q' "$ltmain" >> "$cfgfile" \
   25648      || (rm -f "$cfgfile"; exit 1)
   25649 
   25650    mv -f "$cfgfile" "$ofile" ||
   25651     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   25652   chmod +x "$ofile"
   25653 
   25654  ;;
   25655 
   25656   esac
   25657 done # for ac_tag
   25658 
   25659 
   25660 as_fn_exit 0
   25661 _ACEOF
   25662 ac_clean_files=$ac_clean_files_save
   25663 
   25664 test $ac_write_fail = 0 ||
   25665   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   25666 
   25667 
   25668 # configure is writing to config.log, and then calls config.status.
   25669 # config.status does its own redirection, appending to config.log.
   25670 # Unfortunately, on DOS this fails, as config.log is still kept open
   25671 # by configure, so config.status won't be able to write to it; its
   25672 # output is simply discarded.  So we exec the FD to /dev/null,
   25673 # effectively closing config.log, so it can be properly (re)opened and
   25674 # appended to by config.status.  When coming back to configure, we
   25675 # need to make the FD available again.
   25676 if test "$no_create" != yes; then
   25677   ac_cs_success=:
   25678   ac_config_status_args=
   25679   test "$silent" = yes &&
   25680     ac_config_status_args="$ac_config_status_args --quiet"
   25681   exec 5>/dev/null
   25682   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   25683   exec 5>>config.log
   25684   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   25685   # would make configure fail if this is the last instruction.
   25686   $ac_cs_success || as_fn_exit 1
   25687 fi
   25688 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   25689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   25690 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   25691 fi
   25692 
   25693 
   25694