Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.13
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.73 for libXpm 3.5.20.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2026 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   # contradicts POSIX and common usage.  Disable this.
     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 case $# in # ((
    135   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    136   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    137 esac
    138 # Admittedly, this is quite paranoid, since all the known shells bail
    139 # out after a failed 'exec'.
    140 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    141 exit 255
    142   fi
    143   # We don't want this to propagate to other subprocesses.
    144           { _as_can_reexec=; unset _as_can_reexec;}
    145 if test "x$CONFIG_SHELL" = x; then
    146   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    147 then :
    148   emulate sh
    149   NULLCMD=:
    150   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    151   # contradicts POSIX and common usage.  Disable this.
    152   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    153   setopt NO_GLOB_SUBST
    154 else case e in #(
    155   e) case \`(set -o) 2>/dev/null\` in #(
    156   *posix*) :
    157     set -o posix ;; #(
    158   *) :
    159      ;;
    160 esac ;;
    161 esac
    162 fi
    163 "
    164   as_required="as_fn_return () { (exit \$1); }
    165 as_fn_success () { as_fn_return 0; }
    166 as_fn_failure () { as_fn_return 1; }
    167 as_fn_ret_success () { return 0; }
    168 as_fn_ret_failure () { return 1; }
    169 
    170 exitcode=0
    171 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    172 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    173 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    174 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    175 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    176 then :
    177 
    178 else case e in #(
    179   e) exitcode=1; echo positional parameters were not saved. ;;
    180 esac
    181 fi
    182 test x\$exitcode = x0 || exit 1
    183 blah=\$(echo \$(echo blah))
    184 test x\"\$blah\" = xblah || exit 1
    185 test -x / || exit 1"
    186   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    187   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    188   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    189   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    190 
    191   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    192     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    193     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    194     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    195     PATH=/empty FPATH=/empty; export PATH FPATH
    196     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    197       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    198 test \$(( 1 + 1 )) = 2 || exit 1"
    199   if (eval "$as_required") 2>/dev/null
    200 then :
    201   as_have_required=yes
    202 else case e in #(
    203   e) as_have_required=no ;;
    204 esac
    205 fi
    206   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    207 then :
    208 
    209 else case e in #(
    210   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   case $as_dir in #(((
    216     '') as_dir=./ ;;
    217     */) ;;
    218     *) as_dir=$as_dir/ ;;
    219   esac
    220   as_found=:
    221   case $as_dir in #(
    222 	 /*)
    223 	   for as_base in sh bash ksh sh5; do
    224 	     # Try only shells that exist, to save several forks.
    225 	     as_shell=$as_dir$as_base
    226 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    227 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    228 then :
    229   CONFIG_SHELL=$as_shell as_have_required=yes
    230 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    231 then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 IFS=$as_save_IFS
    240 if $as_found
    241 then :
    242 
    243 else case e in #(
    244   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    245 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    246 then :
    247   CONFIG_SHELL=$SHELL as_have_required=yes
    248 fi ;;
    249 esac
    250 fi
    251 
    252 
    253       if test "x$CONFIG_SHELL" != x
    254 then :
    255   export CONFIG_SHELL
    256              # We cannot yet assume a decent shell, so we have to provide a
    257 # neutralization value for shells without unset; and this also
    258 # works around shells that cannot unset nonexistent variables.
    259 # Preserve -v and -x to the replacement shell.
    260 BASH_ENV=/dev/null
    261 ENV=/dev/null
    262 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    263 case $- in # ((((
    264   *v*x* | *x*v* ) as_opts=-vx ;;
    265   *v* ) as_opts=-v ;;
    266   *x* ) as_opts=-x ;;
    267   * ) as_opts= ;;
    268 esac
    269 case $# in # ((
    270   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    271   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    272 esac
    273 # Admittedly, this is quite paranoid, since all the known shells bail
    274 # out after a failed 'exec'.
    275 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    276 exit 255
    277 fi
    278 
    279     if test x$as_have_required = xno
    280 then :
    281   printf '%s\n' "$0: This script requires a shell more modern than all"
    282   printf '%s\n' "$0: the shells that I found on your system."
    283   if test ${ZSH_VERSION+y} ; then
    284     printf '%s\n' "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    285     printf '%s\n' "$0: be upgraded to zsh 4.3.4 or later."
    286   else
    287     printf '%s\n' "$0: Please tell bug-autoconf (at] gnu.org and
    288 $0: https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/
    289 $0: about your system, including any error possibly output
    290 $0: before this message. Then install a modern shell, or
    291 $0: manually run the script under such a shell if you do
    292 $0: have one."
    293   fi
    294   exit 1
    295 fi ;;
    296 esac
    297 fi
    298 fi
    299 SHELL=${CONFIG_SHELL-/bin/sh}
    300 export SHELL
    301 # Unset more variables known to interfere with behavior of common tools.
    302 CLICOLOR_FORCE= GREP_OPTIONS=
    303 unset CLICOLOR_FORCE GREP_OPTIONS
    304 
    305 ## --------------------- ##
    306 ## M4sh Shell Functions. ##
    307 ## --------------------- ##
    308 # as_fn_unset VAR
    309 # ---------------
    310 # Portably unset VAR.
    311 as_fn_unset ()
    312 {
    313   { eval $1=; unset $1;}
    314 }
    315 as_unset=as_fn_unset
    316 
    317 
    318 # as_fn_set_status STATUS
    319 # -----------------------
    320 # Set $? to STATUS, without forking.
    321 as_fn_set_status ()
    322 {
    323   return $1
    324 } # as_fn_set_status
    325 
    326 # as_fn_exit STATUS
    327 # -----------------
    328 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    329 as_fn_exit ()
    330 {
    331   set +e
    332   as_fn_set_status $1
    333   exit $1
    334 } # as_fn_exit
    335 
    336 # as_fn_mkdir_p
    337 # -------------
    338 # Create "$as_dir" as a directory, including parents if necessary.
    339 as_fn_mkdir_p ()
    340 {
    341 
    342   case $as_dir in #(
    343   -*) as_dir=./$as_dir;;
    344   esac
    345   test -d "$as_dir" || eval $as_mkdir_p || {
    346     as_dirs=
    347     while :; do
    348       case $as_dir in #(
    349       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    350       *) as_qdir=$as_dir;;
    351       esac
    352       as_dirs="'$as_qdir' $as_dirs"
    353       as_dir=`$as_dirname -- "$as_dir" ||
    354 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    355 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    356 	 X"$as_dir" : 'X\(//\)$' \| \
    357 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    358 printf '%s\n' X"$as_dir" |
    359     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  /^X\(\/\/\)[^/].*/{
    364 	    s//\1/
    365 	    q
    366 	  }
    367 	  /^X\(\/\/\)$/{
    368 	    s//\1/
    369 	    q
    370 	  }
    371 	  /^X\(\/\).*/{
    372 	    s//\1/
    373 	    q
    374 	  }
    375 	  s/.*/./; q'`
    376       test -d "$as_dir" && break
    377     done
    378     test -z "$as_dirs" || eval "mkdir $as_dirs"
    379   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    380 
    381 
    382 } # as_fn_mkdir_p
    383 
    384 # as_fn_executable_p FILE
    385 # -----------------------
    386 # Test if FILE is an executable regular file.
    387 as_fn_executable_p ()
    388 {
    389   test -f "$1" && test -x "$1"
    390 } # as_fn_executable_p
    391 # as_fn_append VAR VALUE
    392 # ----------------------
    393 # Append the text in VALUE to the end of the definition contained in VAR. Take
    394 # advantage of any shell optimizations that allow amortized linear growth over
    395 # repeated appends, instead of the typical quadratic growth present in naive
    396 # implementations.
    397 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    398 then :
    399   eval 'as_fn_append ()
    400   {
    401     eval $1+=\$2
    402   }'
    403 else case e in #(
    404   e) as_fn_append ()
    405   {
    406     eval $1=\$$1\$2
    407   } ;;
    408 esac
    409 fi # as_fn_append
    410 
    411 # as_fn_arith ARG...
    412 # ------------------
    413 # Perform arithmetic evaluation on the ARGs, and store the result in the
    414 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    415 # must be portable across $(()) and expr.
    416 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    417 then :
    418   eval 'as_fn_arith ()
    419   {
    420     as_val=$(( $* ))
    421   }'
    422 else case e in #(
    423   e) as_fn_arith ()
    424   {
    425     as_val=`expr "$@" || test $? -eq 1`
    426   } ;;
    427 esac
    428 fi # as_fn_arith
    429 
    430 
    431 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    432 # ----------------------------------------
    433 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    434 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    435 # script with STATUS, using 1 if that was 0.
    436 as_fn_error ()
    437 {
    438   as_status=$1; test $as_status -eq 0 && as_status=1
    439   if test "$4"; then
    440     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    441     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    442   fi
    443   printf '%s\n' "$as_me: error: $2" >&2
    444   as_fn_exit $as_status
    445 } # as_fn_error
    446 
    447 if expr a : '\(a\)' >/dev/null 2>&1 &&
    448    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    449   as_expr=expr
    450 else
    451   as_expr=false
    452 fi
    453 
    454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    455   as_basename=basename
    456 else
    457   as_basename=false
    458 fi
    459 
    460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    461   as_dirname=dirname
    462 else
    463   as_dirname=false
    464 fi
    465 
    466 as_me=`$as_basename -- "$0" ||
    467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    468 	 X"$0" : 'X\(//\)$' \| \
    469 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    470 printf '%s\n' X/"$0" |
    471     sed '/^.*\/\([^/][^/]*\)\/*$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\/\)$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\).*/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  s/.*/./; q'`
    484 
    485 # Avoid depending upon Character Ranges.
    486 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    487 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    488 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    489 as_cr_digits='0123456789'
    490 as_cr_alnum=$as_cr_Letters$as_cr_digits
    491 
    492 
    493   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    494   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    495   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    496   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    497   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    498   sed -n '
    499     p
    500     /[$]LINENO/=
    501   ' <$as_myself |
    502     sed '
    503       t clear
    504       :clear
    505       s/[$]LINENO.*/&-/
    506       t lineno
    507       b
    508       :lineno
    509       N
    510       :loop
    511       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    512       t loop
    513       s/-\n.*//
    514     ' >$as_me.lineno &&
    515   chmod +x "$as_me.lineno" ||
    516     { printf '%s\n' "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    517 
    518   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    519   # already done that, so ensure we don't try to do so again and fall
    520   # in an infinite loop.  This has already happened in practice.
    521   _as_can_reexec=no; export _as_can_reexec
    522   # Don't try to exec as it changes $[0], causing all sort of problems
    523   # (the dirname of $[0] is not the place where we might find the
    524   # original and so on.  Autoconf is especially sensitive to this).
    525   . "./$as_me.lineno"
    526   # Exit status is that of the last command.
    527   exit
    528 }
    529 
    530 rm -f conf$$ conf$$.exe conf$$.file
    531 if test -d conf$$.dir; then
    532   rm -f conf$$.dir/conf$$.file
    533 else
    534   rm -f conf$$.dir
    535   mkdir conf$$.dir 2>/dev/null
    536 fi
    537 if (echo >conf$$.file) 2>/dev/null; then
    538   if ln -s conf$$.file conf$$ 2>/dev/null; then
    539     as_ln_s='ln -s'
    540     # ... but there are two gotchas:
    541     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    542     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    543     # In both cases, we have to default to 'cp -pR'.
    544     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    545       as_ln_s='cp -pR'
    546   elif ln conf$$.file conf$$ 2>/dev/null; then
    547     as_ln_s=ln
    548   else
    549     as_ln_s='cp -pR'
    550   fi
    551 else
    552   as_ln_s='cp -pR'
    553 fi
    554 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    555 rmdir conf$$.dir 2>/dev/null
    556 
    557 if mkdir -p . 2>/dev/null; then
    558   as_mkdir_p='mkdir -p "$as_dir"'
    559 else
    560   test -d ./-p && rmdir ./-p
    561   as_mkdir_p=false
    562 fi
    563 
    564 as_test_x='test -x'
    565 as_executable_p=as_fn_executable_p
    566 
    567 # Sed expression to map a string onto a valid CPP name.
    568 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    569 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    573 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    574 
    575 SHELL=${CONFIG_SHELL-/bin/sh}
    576 
    577 
    578 test -n "$DJDIR" || exec 7<&0 </dev/null
    579 exec 6>&1
    580 
    581 # Name of the host.
    582 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    583 # so uname gets run too.
    584 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    585 
    586 #
    587 # Initializations.
    588 #
    589 ac_default_prefix=/usr/local
    590 ac_clean_CONFIG_STATUS=
    591 ac_clean_files=
    592 ac_config_libobj_dir=.
    593 LIBOBJS=
    594 cross_compiling=no
    595 subdirs=
    596 MFLAGS=
    597 MAKEFLAGS=
    598 
    599 # Identity of this package.
    600 PACKAGE_NAME='libXpm'
    601 PACKAGE_TARNAME='libXpm'
    602 PACKAGE_VERSION='3.5.20'
    603 PACKAGE_STRING='libXpm 3.5.20'
    604 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/'
    605 PACKAGE_URL=''
    606 
    607 ac_unique_file="Makefile.am"
    608 # Factoring default headers for most tests.
    609 ac_includes_default="\
    610 #include <stddef.h>
    611 #ifdef HAVE_STDIO_H
    612 # include <stdio.h>
    613 #endif
    614 #ifdef HAVE_STDLIB_H
    615 # include <stdlib.h>
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # include <string.h>
    619 #endif
    620 #ifdef HAVE_INTTYPES_H
    621 # include <inttypes.h>
    622 #endif
    623 #ifdef HAVE_STDINT_H
    624 # include <stdint.h>
    625 #endif
    626 #ifdef HAVE_STRINGS_H
    627 # include <strings.h>
    628 #endif
    629 #ifdef HAVE_SYS_TYPES_H
    630 # include <sys/types.h>
    631 #endif
    632 #ifdef HAVE_SYS_STAT_H
    633 # include <sys/stat.h>
    634 #endif
    635 #ifdef HAVE_UNISTD_H
    636 # include <unistd.h>
    637 #endif"
    638 
    639 ac_header_c_list=
    640 ac_subst_vars='am__EXEEXT_FALSE
    641 am__EXEEXT_TRUE
    642 LTLIBOBJS
    643 LIBOBJS
    644 HAVE_GLIB_FALSE
    645 HAVE_GLIB_TRUE
    646 GLIB_LIBS
    647 GLIB_CFLAGS
    648 ENABLE_UNIT_TESTS_FALSE
    649 ENABLE_UNIT_TESTS_TRUE
    650 XORG_MALLOC_DEBUG_ENV
    651 XPM_PATH_UNCOMPRESS
    652 XPM_PATH_COMPRESS
    653 XPM_PATH_GZIP
    654 COMPRESSED_PIXMAPS_FALSE
    655 COMPRESSED_PIXMAPS_TRUE
    656 USE_GETTEXT_FALSE
    657 USE_GETTEXT_TRUE
    658 LOCALEDIR
    659 BUILD_SXPM_FALSE
    660 BUILD_SXPM_TRUE
    661 SXPM_LIBS
    662 SXPM_CFLAGS
    663 XPM_LIBS
    664 XPM_CFLAGS
    665 MAN_SUBSTS
    666 XORG_MAN_PAGE
    667 ADMIN_MAN_DIR
    668 DRIVER_MAN_DIR
    669 MISC_MAN_DIR
    670 FILE_MAN_DIR
    671 LIB_MAN_DIR
    672 APP_MAN_DIR
    673 ADMIN_MAN_SUFFIX
    674 DRIVER_MAN_SUFFIX
    675 MISC_MAN_SUFFIX
    676 FILE_MAN_SUFFIX
    677 LIB_MAN_SUFFIX
    678 APP_MAN_SUFFIX
    679 INSTALL_CMD
    680 PKG_CONFIG_LIBDIR
    681 PKG_CONFIG_PATH
    682 PKG_CONFIG
    683 CHANGELOG_CMD
    684 STRICT_CFLAGS
    685 CWARNFLAGS
    686 BASE_CFLAGS
    687 LT_SYS_LIBRARY_PATH
    688 OTOOL64
    689 OTOOL
    690 LIPO
    691 NMEDIT
    692 DSYMUTIL
    693 MANIFEST_TOOL
    694 RANLIB
    695 ac_ct_AR
    696 AR
    697 DLLTOOL
    698 OBJDUMP
    699 FILECMD
    700 LN_S
    701 NM
    702 ac_ct_DUMPBIN
    703 DUMPBIN
    704 LD
    705 FGREP
    706 EGREP
    707 GREP
    708 SED
    709 am__fastdepCC_FALSE
    710 am__fastdepCC_TRUE
    711 CCDEPMODE
    712 am__nodep
    713 AMDEPBACKSLASH
    714 AMDEP_FALSE
    715 AMDEP_TRUE
    716 am__include
    717 DEPDIR
    718 OBJEXT
    719 EXEEXT
    720 ac_ct_CC
    721 CPPFLAGS
    722 LDFLAGS
    723 CFLAGS
    724 CC
    725 host_os
    726 host_vendor
    727 host_cpu
    728 host
    729 build_os
    730 build_vendor
    731 build_cpu
    732 build
    733 LIBTOOL
    734 am__xargs_n
    735 am__rm_f_notfound
    736 AM_BACKSLASH
    737 AM_DEFAULT_VERBOSITY
    738 AM_DEFAULT_V
    739 AM_V
    740 CSCOPE
    741 ETAGS
    742 CTAGS
    743 am__tar_ignore_stderr
    744 am__untar
    745 am__tar
    746 AMTAR
    747 am__leading_dot
    748 SET_MAKE
    749 AWK
    750 mkdir_p
    751 MKDIR_P
    752 INSTALL_STRIP_PROGRAM
    753 STRIP
    754 install_sh
    755 MAKEINFO
    756 AUTOHEADER
    757 AUTOMAKE
    758 AUTOCONF
    759 ACLOCAL
    760 VERSION
    761 PACKAGE
    762 CYGPATH_W
    763 am__isrc
    764 INSTALL_DATA
    765 INSTALL_SCRIPT
    766 INSTALL_PROGRAM
    767 ECHO_T
    768 ECHO_N
    769 ECHO_C
    770 target_alias
    771 host_alias
    772 build_alias
    773 LIBS
    774 DEFS
    775 mandir
    776 localedir
    777 libdir
    778 psdir
    779 pdfdir
    780 dvidir
    781 htmldir
    782 infodir
    783 docdir
    784 oldincludedir
    785 includedir
    786 runstatedir
    787 localstatedir
    788 sharedstatedir
    789 sysconfdir
    790 datadir
    791 datarootdir
    792 libexecdir
    793 sbindir
    794 bindir
    795 program_transform_name
    796 prefix
    797 exec_prefix
    798 PACKAGE_URL
    799 PACKAGE_BUGREPORT
    800 PACKAGE_STRING
    801 PACKAGE_VERSION
    802 PACKAGE_TARNAME
    803 PACKAGE_NAME
    804 PATH_SEPARATOR
    805 SHELL
    806 am__quote'
    807 ac_subst_files=''
    808 ac_user_opts='
    809 enable_option_checking
    810 enable_silent_rules
    811 enable_shared
    812 enable_static
    813 enable_pic
    814 with_pic
    815 enable_cxx_stdlib
    816 enable_fast_install
    817 enable_aix_soname
    818 with_aix_soname
    819 enable_dependency_tracking
    820 with_gnu_ld
    821 with_sysroot
    822 enable_libtool_lock
    823 enable_selective_werror
    824 enable_strict_compilation
    825 with_localedir
    826 enable_open_zfile
    827 enable_stat_zfile
    828 enable_unit_tests
    829 with_glib
    830 '
    831       ac_precious_vars='build_alias
    832 host_alias
    833 target_alias
    834 CC
    835 CFLAGS
    836 LDFLAGS
    837 LIBS
    838 CPPFLAGS
    839 LT_SYS_LIBRARY_PATH
    840 PKG_CONFIG
    841 PKG_CONFIG_PATH
    842 PKG_CONFIG_LIBDIR
    843 XPM_CFLAGS
    844 XPM_LIBS
    845 SXPM_CFLAGS
    846 SXPM_LIBS
    847 XORG_MALLOC_DEBUG_ENV
    848 GLIB_CFLAGS
    849 GLIB_LIBS'
    850 
    851 
    852 # Initialize some variables set by options.
    853 ac_init_help=
    854 ac_init_version=false
    855 ac_unrecognized_opts=
    856 ac_unrecognized_sep=
    857 # The variables have the same names as the options, with
    858 # dashes changed to underlines.
    859 cache_file=/dev/null
    860 exec_prefix=NONE
    861 no_create=
    862 no_recursion=
    863 prefix=NONE
    864 program_prefix=NONE
    865 program_suffix=NONE
    866 program_transform_name=s,x,x,
    867 silent=
    868 site=
    869 srcdir=
    870 verbose=
    871 x_includes=NONE
    872 x_libraries=NONE
    873 
    874 # Installation directory options.
    875 # These are left unexpanded so users can "make install exec_prefix=/foo"
    876 # and all the variables that are supposed to be based on exec_prefix
    877 # by default will actually change.
    878 # Use braces instead of parens because sh, perl, etc. also accept them.
    879 # (The list follows the same order as the GNU Coding Standards.)
    880 bindir='${exec_prefix}/bin'
    881 sbindir='${exec_prefix}/sbin'
    882 libexecdir='${exec_prefix}/libexec'
    883 datarootdir='${prefix}/share'
    884 datadir='${datarootdir}'
    885 sysconfdir='${prefix}/etc'
    886 sharedstatedir='${prefix}/com'
    887 localstatedir='${prefix}/var'
    888 runstatedir='${localstatedir}/run'
    889 includedir='${prefix}/include'
    890 oldincludedir='/usr/include'
    891 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    892 infodir='${datarootdir}/info'
    893 htmldir='${docdir}'
    894 dvidir='${docdir}'
    895 pdfdir='${docdir}'
    896 psdir='${docdir}'
    897 libdir='${exec_prefix}/lib'
    898 localedir='${datarootdir}/locale'
    899 mandir='${datarootdir}/man'
    900 
    901 ac_prev=
    902 ac_dashdash=
    903 for ac_option
    904 do
    905   # If the previous option needs an argument, assign it.
    906   if test -n "$ac_prev"; then
    907     eval $ac_prev=\$ac_option
    908     ac_prev=
    909     continue
    910   fi
    911 
    912   case $ac_option in
    913   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    914   *=)   ac_optarg= ;;
    915   *)    ac_optarg=yes ;;
    916   esac
    917 
    918   case $ac_dashdash$ac_option in
    919   --)
    920     ac_dashdash=yes ;;
    921 
    922   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    923     ac_prev=bindir ;;
    924   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    925     bindir=$ac_optarg ;;
    926 
    927   -build | --build | --buil | --bui | --bu)
    928     ac_prev=build_alias ;;
    929   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    930     build_alias=$ac_optarg ;;
    931 
    932   -cache-file | --cache-file | --cache-fil | --cache-fi \
    933   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    934     ac_prev=cache_file ;;
    935   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    936   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    937     cache_file=$ac_optarg ;;
    938 
    939   --config-cache | -C)
    940     cache_file=config.cache ;;
    941 
    942   -datadir | --datadir | --datadi | --datad)
    943     ac_prev=datadir ;;
    944   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    945     datadir=$ac_optarg ;;
    946 
    947   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    948   | --dataroo | --dataro | --datar)
    949     ac_prev=datarootdir ;;
    950   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    951   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    952     datarootdir=$ac_optarg ;;
    953 
    954   -disable-* | --disable-*)
    955     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    956     # Reject names that are not valid shell variable names.
    957     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    958       as_fn_error $? "invalid feature name: '$ac_useropt'"
    959     ac_useropt_orig=$ac_useropt
    960     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    961     case $ac_user_opts in
    962       *"
    963 "enable_$ac_useropt"
    964 "*) ;;
    965       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    966 	 ac_unrecognized_sep=', ';;
    967     esac
    968     eval enable_$ac_useropt=no ;;
    969 
    970   -docdir | --docdir | --docdi | --doc | --do)
    971     ac_prev=docdir ;;
    972   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    973     docdir=$ac_optarg ;;
    974 
    975   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    976     ac_prev=dvidir ;;
    977   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    978     dvidir=$ac_optarg ;;
    979 
    980   -enable-* | --enable-*)
    981     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    982     # Reject names that are not valid shell variable names.
    983     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    984       as_fn_error $? "invalid feature name: '$ac_useropt'"
    985     ac_useropt_orig=$ac_useropt
    986     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    987     case $ac_user_opts in
    988       *"
    989 "enable_$ac_useropt"
    990 "*) ;;
    991       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    992 	 ac_unrecognized_sep=', ';;
    993     esac
    994     eval enable_$ac_useropt=\$ac_optarg ;;
    995 
    996   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    997   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    998   | --exec | --exe | --ex)
    999     ac_prev=exec_prefix ;;
   1000   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1001   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1002   | --exec=* | --exe=* | --ex=*)
   1003     exec_prefix=$ac_optarg ;;
   1004 
   1005   -gas | --gas | --ga | --g)
   1006     # Obsolete; use --with-gas.
   1007     with_gas=yes ;;
   1008 
   1009   -help | --help | --hel | --he | -h)
   1010     ac_init_help=long ;;
   1011   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1012     ac_init_help=recursive ;;
   1013   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1014     ac_init_help=short ;;
   1015 
   1016   -host | --host | --hos | --ho)
   1017     ac_prev=host_alias ;;
   1018   -host=* | --host=* | --hos=* | --ho=*)
   1019     host_alias=$ac_optarg ;;
   1020 
   1021   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1022     ac_prev=htmldir ;;
   1023   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1024   | --ht=*)
   1025     htmldir=$ac_optarg ;;
   1026 
   1027   -includedir | --includedir | --includedi | --included | --include \
   1028   | --includ | --inclu | --incl | --inc)
   1029     ac_prev=includedir ;;
   1030   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1031   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1032     includedir=$ac_optarg ;;
   1033 
   1034   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1035     ac_prev=infodir ;;
   1036   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1037     infodir=$ac_optarg ;;
   1038 
   1039   -libdir | --libdir | --libdi | --libd)
   1040     ac_prev=libdir ;;
   1041   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1042     libdir=$ac_optarg ;;
   1043 
   1044   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1045   | --libexe | --libex | --libe)
   1046     ac_prev=libexecdir ;;
   1047   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1048   | --libexe=* | --libex=* | --libe=*)
   1049     libexecdir=$ac_optarg ;;
   1050 
   1051   -localedir | --localedir | --localedi | --localed | --locale)
   1052     ac_prev=localedir ;;
   1053   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1054     localedir=$ac_optarg ;;
   1055 
   1056   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1057   | --localstate | --localstat | --localsta | --localst | --locals)
   1058     ac_prev=localstatedir ;;
   1059   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1060   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1061     localstatedir=$ac_optarg ;;
   1062 
   1063   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1064     ac_prev=mandir ;;
   1065   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1066     mandir=$ac_optarg ;;
   1067 
   1068   -nfp | --nfp | --nf)
   1069     # Obsolete; use --without-fp.
   1070     with_fp=no ;;
   1071 
   1072   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1073   | --no-cr | --no-c | -n)
   1074     no_create=yes ;;
   1075 
   1076   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1077   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1078     no_recursion=yes ;;
   1079 
   1080   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1081   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1082   | --oldin | --oldi | --old | --ol | --o)
   1083     ac_prev=oldincludedir ;;
   1084   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1085   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1086   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1087     oldincludedir=$ac_optarg ;;
   1088 
   1089   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1090     ac_prev=prefix ;;
   1091   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1092     prefix=$ac_optarg ;;
   1093 
   1094   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1095   | --program-pre | --program-pr | --program-p)
   1096     ac_prev=program_prefix ;;
   1097   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1098   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1099     program_prefix=$ac_optarg ;;
   1100 
   1101   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1102   | --program-suf | --program-su | --program-s)
   1103     ac_prev=program_suffix ;;
   1104   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1105   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1106     program_suffix=$ac_optarg ;;
   1107 
   1108   -program-transform-name | --program-transform-name \
   1109   | --program-transform-nam | --program-transform-na \
   1110   | --program-transform-n | --program-transform- \
   1111   | --program-transform | --program-transfor \
   1112   | --program-transfo | --program-transf \
   1113   | --program-trans | --program-tran \
   1114   | --progr-tra | --program-tr | --program-t)
   1115     ac_prev=program_transform_name ;;
   1116   -program-transform-name=* | --program-transform-name=* \
   1117   | --program-transform-nam=* | --program-transform-na=* \
   1118   | --program-transform-n=* | --program-transform-=* \
   1119   | --program-transform=* | --program-transfor=* \
   1120   | --program-transfo=* | --program-transf=* \
   1121   | --program-trans=* | --program-tran=* \
   1122   | --progr-tra=* | --program-tr=* | --program-t=*)
   1123     program_transform_name=$ac_optarg ;;
   1124 
   1125   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1126     ac_prev=pdfdir ;;
   1127   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1128     pdfdir=$ac_optarg ;;
   1129 
   1130   -psdir | --psdir | --psdi | --psd | --ps)
   1131     ac_prev=psdir ;;
   1132   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1133     psdir=$ac_optarg ;;
   1134 
   1135   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1136   | -silent | --silent | --silen | --sile | --sil)
   1137     silent=yes ;;
   1138 
   1139   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1140   | --runstate | --runstat | --runsta | --runst | --runs \
   1141   | --run | --ru | --r)
   1142     ac_prev=runstatedir ;;
   1143   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1144   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1145   | --run=* | --ru=* | --r=*)
   1146     runstatedir=$ac_optarg ;;
   1147 
   1148   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1149     ac_prev=sbindir ;;
   1150   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1151   | --sbi=* | --sb=*)
   1152     sbindir=$ac_optarg ;;
   1153 
   1154   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1155   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1156   | --sharedst | --shareds | --shared | --share | --shar \
   1157   | --sha | --sh)
   1158     ac_prev=sharedstatedir ;;
   1159   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1160   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1161   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1162   | --sha=* | --sh=*)
   1163     sharedstatedir=$ac_optarg ;;
   1164 
   1165   -site | --site | --sit)
   1166     ac_prev=site ;;
   1167   -site=* | --site=* | --sit=*)
   1168     site=$ac_optarg ;;
   1169 
   1170   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1171     ac_prev=srcdir ;;
   1172   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1173     srcdir=$ac_optarg ;;
   1174 
   1175   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1176   | --syscon | --sysco | --sysc | --sys | --sy)
   1177     ac_prev=sysconfdir ;;
   1178   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1179   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1180     sysconfdir=$ac_optarg ;;
   1181 
   1182   -target | --target | --targe | --targ | --tar | --ta | --t)
   1183     ac_prev=target_alias ;;
   1184   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1185     target_alias=$ac_optarg ;;
   1186 
   1187   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1188     verbose=yes ;;
   1189 
   1190   -version | --version | --versio | --versi | --vers | -V)
   1191     ac_init_version=: ;;
   1192 
   1193   -with-* | --with-*)
   1194     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1195     # Reject names that are not valid shell variable names.
   1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1197       as_fn_error $? "invalid package name: '$ac_useropt'"
   1198     ac_useropt_orig=$ac_useropt
   1199     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1200     case $ac_user_opts in
   1201       *"
   1202 "with_$ac_useropt"
   1203 "*) ;;
   1204       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1205 	 ac_unrecognized_sep=', ';;
   1206     esac
   1207     eval with_$ac_useropt=\$ac_optarg ;;
   1208 
   1209   -without-* | --without-*)
   1210     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1211     # Reject names that are not valid shell variable names.
   1212     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1213       as_fn_error $? "invalid package name: '$ac_useropt'"
   1214     ac_useropt_orig=$ac_useropt
   1215     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1216     case $ac_user_opts in
   1217       *"
   1218 "with_$ac_useropt"
   1219 "*) ;;
   1220       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1221 	 ac_unrecognized_sep=', ';;
   1222     esac
   1223     eval with_$ac_useropt=no ;;
   1224 
   1225   --x)
   1226     # Obsolete; use --with-x.
   1227     with_x=yes ;;
   1228 
   1229   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1230   | --x-incl | --x-inc | --x-in | --x-i)
   1231     ac_prev=x_includes ;;
   1232   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1233   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1234     x_includes=$ac_optarg ;;
   1235 
   1236   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1237   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1238     ac_prev=x_libraries ;;
   1239   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1240   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1241     x_libraries=$ac_optarg ;;
   1242 
   1243   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1244 Try '$0 --help' for more information"
   1245     ;;
   1246 
   1247   *=*)
   1248     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1249     # Reject names that are not valid shell variable names.
   1250     case $ac_envvar in #(
   1251       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1252       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1253     esac
   1254     eval $ac_envvar=\$ac_optarg
   1255     export $ac_envvar ;;
   1256 
   1257   *)
   1258     # FIXME: should be removed in autoconf 3.0.
   1259     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1260     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1261       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1262     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1263     ;;
   1264 
   1265   esac
   1266 done
   1267 
   1268 if test -n "$ac_prev"; then
   1269   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1270   as_fn_error $? "missing argument to $ac_option"
   1271 fi
   1272 
   1273 if test -n "$ac_unrecognized_opts"; then
   1274   case $enable_option_checking in
   1275     no) ;;
   1276     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1277     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1278   esac
   1279 fi
   1280 
   1281 # Check all directory arguments for consistency.
   1282 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1283 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1284 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1285 		libdir localedir mandir runstatedir
   1286 do
   1287   eval ac_val=\$$ac_var
   1288   # Remove trailing slashes.
   1289   case $ac_val in
   1290     */ )
   1291       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1292       eval $ac_var=\$ac_val;;
   1293   esac
   1294   # Be sure to have absolute directory names.
   1295   case $ac_val in
   1296     [\\/$]* | ?:[\\/]* )  continue;;
   1297     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1298   esac
   1299   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1300 done
   1301 
   1302 # There might be people who depend on the old broken behavior: '$host'
   1303 # used to hold the argument of --host etc.
   1304 # FIXME: To remove some day.
   1305 build=$build_alias
   1306 host=$host_alias
   1307 target=$target_alias
   1308 
   1309 # FIXME: To remove some day.
   1310 if test "x$host_alias" != x; then
   1311   if test "x$build_alias" = x; then
   1312     cross_compiling=maybe
   1313   elif test "x$build_alias" != "x$host_alias"; then
   1314     cross_compiling=yes
   1315   fi
   1316 fi
   1317 
   1318 ac_tool_prefix=
   1319 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1320 
   1321 test "$silent" = yes && exec 6>/dev/null
   1322 
   1323 
   1324 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1325 ac_ls_di=`ls -di .` &&
   1326 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1327   as_fn_error $? "working directory cannot be determined"
   1328 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1329   as_fn_error $? "pwd does not report name of working directory"
   1330 
   1331 
   1332 # Find the source files, if location was not specified.
   1333 if test -z "$srcdir"; then
   1334   ac_srcdir_defaulted=yes
   1335   # Try the directory containing this script, then the parent directory.
   1336   ac_confdir=`$as_dirname -- "$as_myself" ||
   1337 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1338 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1339 	 X"$as_myself" : 'X\(//\)$' \| \
   1340 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1341 printf '%s\n' X"$as_myself" |
   1342     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1343 	    s//\1/
   1344 	    q
   1345 	  }
   1346 	  /^X\(\/\/\)[^/].*/{
   1347 	    s//\1/
   1348 	    q
   1349 	  }
   1350 	  /^X\(\/\/\)$/{
   1351 	    s//\1/
   1352 	    q
   1353 	  }
   1354 	  /^X\(\/\).*/{
   1355 	    s//\1/
   1356 	    q
   1357 	  }
   1358 	  s/.*/./; q'`
   1359   srcdir=$ac_confdir
   1360   if test ! -r "$srcdir/$ac_unique_file"; then
   1361     srcdir=..
   1362   fi
   1363 else
   1364   ac_srcdir_defaulted=no
   1365 fi
   1366 if test ! -r "$srcdir/$ac_unique_file"; then
   1367   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1368   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1369 fi
   1370 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1371 ac_abs_confdir=`(
   1372 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1373 	pwd)`
   1374 # When building in place, set srcdir=.
   1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1376   srcdir=.
   1377 fi
   1378 # Remove unnecessary trailing slashes from srcdir.
   1379 # Double slashes in file names in object file debugging info
   1380 # mess up M-x gdb in Emacs.
   1381 case $srcdir in
   1382 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1383 esac
   1384 for ac_var in $ac_precious_vars; do
   1385   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1386   eval ac_env_${ac_var}_value=\$${ac_var}
   1387   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1388   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1389 done
   1390 
   1391 #
   1392 # Report the --help message.
   1393 #
   1394 if test "$ac_init_help" = "long"; then
   1395   # Omit some internal or obsolete options to make the list less imposing.
   1396   # This message is too long to be a string in the A/UX 3.1 sh.
   1397   cat <<_ACEOF
   1398 'configure' configures libXpm 3.5.20 to adapt to many kinds of systems.
   1399 
   1400 Usage: $0 [OPTION]... [VAR=VALUE]...
   1401 
   1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1403 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1404 
   1405 Defaults for the options are specified in brackets.
   1406 
   1407 Configuration:
   1408   -h, --help              display this help and exit
   1409       --help=short        display options specific to this package
   1410       --help=recursive    display the short help of all the included packages
   1411   -V, --version           display version information and exit
   1412   -q, --quiet, --silent   do not print 'checking ...' messages
   1413       --cache-file=FILE   cache test results in FILE [disabled]
   1414   -C, --config-cache      alias for '--cache-file=config.cache'
   1415   -n, --no-create         do not create output files
   1416       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1417 
   1418 Installation directories:
   1419   --prefix=PREFIX         install architecture-independent files in PREFIX
   1420                           [$ac_default_prefix]
   1421   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1422                           [PREFIX]
   1423 
   1424 By default, 'make install' will install all the files in
   1425 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1426 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1427 for instance '--prefix=\$HOME'.
   1428 
   1429 For better control, use the options below.
   1430 
   1431 Fine tuning of the installation directories:
   1432   --bindir=DIR            user executables [EPREFIX/bin]
   1433   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1434   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1435   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1436   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1437   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1438   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1439   --libdir=DIR            object code libraries [EPREFIX/lib]
   1440   --includedir=DIR        C header files [PREFIX/include]
   1441   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1442   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1443   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1444   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1445   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1446   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1447   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXpm]
   1448   --htmldir=DIR           html documentation [DOCDIR]
   1449   --dvidir=DIR            dvi documentation [DOCDIR]
   1450   --pdfdir=DIR            pdf documentation [DOCDIR]
   1451   --psdir=DIR             ps documentation [DOCDIR]
   1452 _ACEOF
   1453 
   1454   cat <<\_ACEOF
   1455 
   1456 Program names:
   1457   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1458   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1459   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1460 
   1461 System types:
   1462   --build=BUILD     configure for building on BUILD [guessed]
   1463   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1464 _ACEOF
   1465 fi
   1466 
   1467 if test -n "$ac_init_help"; then
   1468   case $ac_init_help in
   1469      short | recursive ) echo "Configuration of libXpm 3.5.20:";;
   1470    esac
   1471   cat <<\_ACEOF
   1472 
   1473 Optional Features:
   1474   --disable-option-checking  ignore unrecognized --enable/--with options
   1475   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1476   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1477   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1478   --disable-silent-rules  verbose build output (undo: "make V=0")
   1479   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1480   --enable-static[=PKGS]  build static libraries [default=yes]
   1481   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1482                           both]
   1483   --enable-cxx-stdlib[=PKGS]
   1484                           let the compiler frontend decide what standard
   1485                           libraries to link when building C++ shared libraries
   1486                           and modules [default=no]
   1487   --enable-fast-install[=PKGS]
   1488                           optimize for fast installation [default=yes]
   1489   --enable-aix-soname=aix|svr4|both
   1490                           shared library versioning (aka "SONAME") variant to
   1491                           provide on AIX, [default=aix].
   1492   --enable-dependency-tracking
   1493                           do not reject slow dependency extractors
   1494   --disable-dependency-tracking
   1495                           speeds up one-time build
   1496   --disable-libtool-lock  avoid locking (might break parallel builds)
   1497   --disable-selective-werror
   1498                           Turn off selective compiler errors. (default:
   1499                           enabled)
   1500   --enable-strict-compilation
   1501                           Enable all warnings from compiler and make them
   1502                           errors (default: disabled)
   1503   --enable-open-zfile     Search for files with .Z & .gz extensions
   1504                           automatically [default=auto]
   1505   --enable-stat-zfile     Search for files with .Z & .gz extensions
   1506                           automatically [default=auto]
   1507   --enable-unit-tests     Enable building unit test cases (default: auto)
   1508 
   1509 Optional Packages:
   1510   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1511   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1512   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1513   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1514                           compiler's sysroot if not specified).
   1515   --with-localedir=<path> Path to install message files in (default:
   1516                           datadir/locale)
   1517   --with-glib             Use GLib library for unit testing (default: auto)
   1518 
   1519 Some influential environment variables:
   1520   CC          C compiler command
   1521   CFLAGS      C compiler flags
   1522   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1523               nonstandard directory <lib dir>
   1524   LIBS        libraries to pass to the linker, e.g. -l<library>
   1525   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1526               you have headers in a nonstandard directory <include dir>
   1527   LT_SYS_LIBRARY_PATH
   1528               User-defined run-time library search path.
   1529   PKG_CONFIG  path to pkg-config utility
   1530   PKG_CONFIG_PATH
   1531               directories to add to pkg-config's search path
   1532   PKG_CONFIG_LIBDIR
   1533               path overriding pkg-config's built-in search path
   1534   XPM_CFLAGS  C compiler flags for XPM, overriding pkg-config
   1535   XPM_LIBS    linker flags for XPM, overriding pkg-config
   1536   SXPM_CFLAGS C compiler flags for SXPM, overriding pkg-config
   1537   SXPM_LIBS   linker flags for SXPM, overriding pkg-config
   1538   XORG_MALLOC_DEBUG_ENV
   1539               Environment variables to enable memory checking in tests
   1540   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
   1541   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
   1542 
   1543 Use these variables to override the choices made by 'configure' or to help
   1544 it to find libraries and programs with nonstandard names/locations.
   1545 
   1546 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/>.
   1547 _ACEOF
   1548 ac_status=$?
   1549 fi
   1550 
   1551 if test "$ac_init_help" = "recursive"; then
   1552   # If there are subdirs, report their specific --help.
   1553   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1554     test -d "$ac_dir" ||
   1555       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1556       continue
   1557     ac_builddir=.
   1558 
   1559 case "$ac_dir" in
   1560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1561 *)
   1562   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1563   # A ".." for each directory in $ac_dir_suffix.
   1564   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1565   case $ac_top_builddir_sub in
   1566   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1567   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1568   esac ;;
   1569 esac
   1570 ac_abs_top_builddir=$ac_pwd
   1571 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1572 # for backward compatibility:
   1573 ac_top_builddir=$ac_top_build_prefix
   1574 
   1575 case $srcdir in
   1576   .)  # We are building in place.
   1577     ac_srcdir=.
   1578     ac_top_srcdir=$ac_top_builddir_sub
   1579     ac_abs_top_srcdir=$ac_pwd ;;
   1580   [\\/]* | ?:[\\/]* )  # Absolute name.
   1581     ac_srcdir=$srcdir$ac_dir_suffix;
   1582     ac_top_srcdir=$srcdir
   1583     ac_abs_top_srcdir=$srcdir ;;
   1584   *) # Relative name.
   1585     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1586     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1587     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1588 esac
   1589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1590 
   1591     cd "$ac_dir" || { ac_status=$?; continue; }
   1592     # Check for configure.gnu first; this name is used for a wrapper for
   1593     # Metaconfig's "Configure" on case-insensitive file systems.
   1594     if test -f "$ac_srcdir/configure.gnu"; then
   1595       echo &&
   1596       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1597     elif test -f "$ac_srcdir/configure"; then
   1598       echo &&
   1599       $SHELL "$ac_srcdir/configure" --help=recursive
   1600     else
   1601       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1602     fi || ac_status=$?
   1603     cd "$ac_pwd" || { ac_status=$?; break; }
   1604   done
   1605 fi
   1606 
   1607 test -n "$ac_init_help" && exit $ac_status
   1608 if $ac_init_version; then
   1609   cat <<\_ACEOF
   1610 libXpm configure 3.5.20
   1611 generated by GNU Autoconf 2.73
   1612 
   1613 Copyright (C) 2026 Free Software Foundation, Inc.
   1614 This configure script is free software; the Free Software Foundation
   1615 gives unlimited permission to copy, distribute and modify it.
   1616 _ACEOF
   1617   exit
   1618 fi
   1619 
   1620 ## ------------------------ ##
   1621 ## Autoconf initialization. ##
   1622 ## ------------------------ ##
   1623 
   1624 # ac_fn_c_try_compile LINENO
   1625 # --------------------------
   1626 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1627 ac_fn_c_try_compile ()
   1628 {
   1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1630   rm -f conftest.$ac_objext conftest.beam
   1631   if { { ac_try="$ac_compile"
   1632 case "(($ac_try" in
   1633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1634   *) ac_try_echo=$ac_try;;
   1635 esac
   1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1637 printf '%s\n' "$ac_try_echo"; } >&5
   1638   (eval "$ac_compile") 2>conftest.err
   1639   ac_status=$?
   1640   if test -s conftest.err; then
   1641     grep -v '^ *+' conftest.err >conftest.er1
   1642     cat conftest.er1 >&5
   1643     mv -f conftest.er1 conftest.err
   1644   fi
   1645   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1646   test $ac_status = 0; } && {
   1647 	 test -z "$ac_c_werror_flag" ||
   1648 	 test ! -s conftest.err
   1649        } && test -s conftest.$ac_objext
   1650 then :
   1651   ac_retval=0
   1652 else case e in #(
   1653   e) printf '%s\n' "$as_me: failed program was:" >&5
   1654 sed 's/^/| /' conftest.$ac_ext >&5
   1655 
   1656 	ac_retval=1 ;;
   1657 esac
   1658 fi
   1659   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1660   as_fn_set_status $ac_retval
   1661 
   1662 } # ac_fn_c_try_compile
   1663 
   1664 # ac_fn_c_try_link LINENO
   1665 # -----------------------
   1666 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1667 ac_fn_c_try_link ()
   1668 {
   1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1670   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1671   if { { ac_try="$ac_link"
   1672 case "(($ac_try" in
   1673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1674   *) ac_try_echo=$ac_try;;
   1675 esac
   1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1677 printf '%s\n' "$ac_try_echo"; } >&5
   1678   (eval "$ac_link") 2>conftest.err
   1679   ac_status=$?
   1680   if test -s conftest.err; then
   1681     grep -v '^ *+' conftest.err >conftest.er1
   1682     cat conftest.er1 >&5
   1683     mv -f conftest.er1 conftest.err
   1684   fi
   1685   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1686   test $ac_status = 0; } && {
   1687 	 test -z "$ac_c_werror_flag" ||
   1688 	 test ! -s conftest.err
   1689        } && test -s conftest$ac_exeext && {
   1690 	 test "$cross_compiling" = yes ||
   1691 	 test -x conftest$ac_exeext
   1692        }
   1693 then :
   1694   ac_retval=0
   1695 else case e in #(
   1696   e) printf '%s\n' "$as_me: failed program was:" >&5
   1697 sed 's/^/| /' conftest.$ac_ext >&5
   1698 
   1699 	ac_retval=1 ;;
   1700 esac
   1701 fi
   1702   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1703   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1704   # interfere with the next link command; also delete a directory that is
   1705   # left behind by Apple's compiler.  We do this before executing the actions.
   1706   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1707   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1708   as_fn_set_status $ac_retval
   1709 
   1710 } # ac_fn_c_try_link
   1711 
   1712 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1713 # -------------------------------------------------------
   1714 # Tests whether HEADER exists and can be compiled using the include files in
   1715 # INCLUDES, setting the cache variable VAR accordingly.
   1716 ac_fn_c_check_header_compile ()
   1717 {
   1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1719   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1720 printf %s "checking for $2... " >&6; }
   1721 if eval test \${$3+y}
   1722 then :
   1723   printf %s "(cached) " >&6
   1724 else case e in #(
   1725   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1726 /* end confdefs.h.  */
   1727 $4
   1728 #include <$2>
   1729 _ACEOF
   1730 if ac_fn_c_try_compile "$LINENO"
   1731 then :
   1732   eval "$3=yes"
   1733 else case e in #(
   1734   e) eval "$3=no" ;;
   1735 esac
   1736 fi
   1737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1738 esac
   1739 fi
   1740 eval ac_res=\$$3
   1741 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1742 printf '%s\n' "$ac_res" >&6; }
   1743   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1744 
   1745 } # ac_fn_c_check_header_compile
   1746 
   1747 # ac_fn_c_check_func LINENO FUNC VAR
   1748 # ----------------------------------
   1749 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1750 ac_fn_c_check_func ()
   1751 {
   1752   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1753   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1754 printf %s "checking for $2... " >&6; }
   1755 if eval test \${$3+y}
   1756 then :
   1757   printf %s "(cached) " >&6
   1758 else case e in #(
   1759   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1760 /* end confdefs.h.  */
   1761 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1763 #define $2 innocuous_$2
   1764 
   1765 /* System header to define __stub macros and hopefully few prototypes,
   1766    which can conflict with char $2 (void); below.  */
   1767 
   1768 #include <limits.h>
   1769 #undef $2
   1770 
   1771 /* Override any GCC internal prototype to avoid an error.
   1772    Use char because int might match the return type of a GCC
   1773    builtin and then its argument prototype would still apply.  */
   1774 #ifdef __cplusplus
   1775 extern "C"
   1776 #endif
   1777 char $2 (void);
   1778 /* The GNU C library defines this for functions which it implements
   1779     to always fail with ENOSYS.  Some functions are actually named
   1780     something starting with __ and the normal name is an alias.  */
   1781 #if defined __stub_$2 || defined __stub___$2
   1782 choke me
   1783 #endif
   1784 
   1785 int
   1786 main (void)
   1787 {
   1788 return $2 ();
   1789   ;
   1790   return 0;
   1791 }
   1792 _ACEOF
   1793 if ac_fn_c_try_link "$LINENO"
   1794 then :
   1795   eval "$3=yes"
   1796 else case e in #(
   1797   e) eval "$3=no" ;;
   1798 esac
   1799 fi
   1800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1801     conftest$ac_exeext conftest.$ac_ext ;;
   1802 esac
   1803 fi
   1804 eval ac_res=\$$3
   1805 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1806 printf '%s\n' "$ac_res" >&6; }
   1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1808 
   1809 } # ac_fn_c_check_func
   1810 
   1811 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1812 # ------------------------------------------------------------------
   1813 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1814 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1815 ac_fn_check_decl ()
   1816 {
   1817   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1818   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1819   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1820 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1821 if eval test \${$3+y}
   1822 then :
   1823   printf %s "(cached) " >&6
   1824 else case e in #(
   1825   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1826   eval ac_save_FLAGS=\$$6
   1827   as_fn_append $6 " $5"
   1828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1829 /* end confdefs.h.  */
   1830 $4
   1831 int
   1832 main (void)
   1833 {
   1834 #ifndef $as_decl_name
   1835 #ifdef __cplusplus
   1836   (void) $as_decl_use;
   1837 #else
   1838   (void) $as_decl_name;
   1839 #endif
   1840 #endif
   1841 
   1842   ;
   1843   return 0;
   1844 }
   1845 _ACEOF
   1846 if ac_fn_c_try_compile "$LINENO"
   1847 then :
   1848   eval "$3=yes"
   1849 else case e in #(
   1850   e) eval "$3=no" ;;
   1851 esac
   1852 fi
   1853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1854   eval $6=\$ac_save_FLAGS
   1855  ;;
   1856 esac
   1857 fi
   1858 eval ac_res=\$$3
   1859 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1860 printf '%s\n' "$ac_res" >&6; }
   1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1862 
   1863 } # ac_fn_check_decl
   1864 ac_configure_args_raw=
   1865 for ac_arg
   1866 do
   1867   case $ac_arg in
   1868   *\'*)
   1869     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1870   esac
   1871   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1872 done
   1873 
   1874 case $ac_configure_args_raw in
   1875   *$as_nl*)
   1876     ac_safe_unquote= ;;
   1877   *)
   1878     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1879     ac_unsafe_a="$ac_unsafe_z#~"
   1880     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1881     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1882 esac
   1883 
   1884 cat >config.log <<_ACEOF
   1885 This file contains any messages produced by compilers while
   1886 running configure, to aid debugging if configure makes a mistake.
   1887 
   1888 It was created by libXpm $as_me 3.5.20, which was
   1889 generated by GNU Autoconf 2.73.  Invocation command line was
   1890 
   1891   $ $0$ac_configure_args_raw
   1892 
   1893 _ACEOF
   1894 exec 5>>config.log
   1895 {
   1896 cat <<_ASUNAME
   1897 ## --------- ##
   1898 ## Platform. ##
   1899 ## --------- ##
   1900 
   1901 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1902 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1903 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1904 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1905 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1906 
   1907 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1908 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1909 
   1910 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1911 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1912 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1913 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1914 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1915 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1916 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1917 
   1918 _ASUNAME
   1919 
   1920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1921 for as_dir in $PATH
   1922 do
   1923   IFS=$as_save_IFS
   1924   case $as_dir in #(((
   1925     '') as_dir=./ ;;
   1926     */) ;;
   1927     *) as_dir=$as_dir/ ;;
   1928   esac
   1929     printf '%s\n' "PATH: $as_dir"
   1930   done
   1931 IFS=$as_save_IFS
   1932 
   1933 } >&5
   1934 
   1935 cat >&5 <<_ACEOF
   1936 
   1937 
   1938 ## ----------- ##
   1939 ## Core tests. ##
   1940 ## ----------- ##
   1941 
   1942 _ACEOF
   1943 
   1944 
   1945 # Keep a trace of the command line.
   1946 # Strip out --no-create and --no-recursion so they do not pile up.
   1947 # Strip out --silent because we don't want to record it for future runs.
   1948 # Also quote any args containing shell meta-characters.
   1949 # Make two passes to allow for proper duplicate-argument suppression.
   1950 ac_configure_args=
   1951 ac_configure_args0=
   1952 ac_configure_args1=
   1953 ac_must_keep_next=false
   1954 for ac_pass in 1 2
   1955 do
   1956   for ac_arg
   1957   do
   1958     case $ac_arg in
   1959     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1960     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1961     | -silent | --silent | --silen | --sile | --sil)
   1962       continue ;;
   1963     *\'*)
   1964       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1965     esac
   1966     case $ac_pass in
   1967     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1968     2)
   1969       as_fn_append ac_configure_args1 " '$ac_arg'"
   1970       if test $ac_must_keep_next = true; then
   1971 	ac_must_keep_next=false # Got value, back to normal.
   1972       else
   1973 	case $ac_arg in
   1974 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1975 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1976 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1977 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1978 	    case "$ac_configure_args0 " in
   1979 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1980 	    esac
   1981 	    ;;
   1982 	  -* ) ac_must_keep_next=true ;;
   1983 	esac
   1984       fi
   1985       as_fn_append ac_configure_args " '$ac_arg'"
   1986       ;;
   1987     esac
   1988   done
   1989 done
   1990 { ac_configure_args0=; unset ac_configure_args0;}
   1991 { ac_configure_args1=; unset ac_configure_args1;}
   1992 
   1993 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1994 ac_cache_dump ()
   1995 {
   1996   # The following way of writing the cache mishandles newlines in values,
   1997 # but we know of no workaround that is simple, portable, and efficient.
   1998 # So, we kill variables containing newlines.
   1999 # Ultrix sh set writes to stderr and can't be redirected directly,
   2000 # and sets the high bit in the cache file unless we assign to the vars.
   2001 (
   2002   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   2003     eval ac_val=\$$ac_var
   2004     case $ac_val in #(
   2005     *${as_nl}*)
   2006       case $ac_var in #(
   2007       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2008 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2009       esac
   2010       case $ac_var in #(
   2011       _ | IFS | as_nl) ;; #(
   2012       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2013       *) { eval $ac_var=; unset $ac_var;} ;;
   2014       esac ;;
   2015     esac
   2016   done
   2017 
   2018   (set) 2>&1 |
   2019     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   2020     *${as_nl}ac_space=\ *)
   2021       # 'set' does not quote correctly, so add quotes: double-quote
   2022       # substitution turns \\\\ into \\, and sed turns \\ into \.
   2023       sed -n \
   2024 	"s/'/'\\\\''/g;
   2025 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   2026       ;; #(
   2027     *)
   2028       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   2029       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2030       ;;
   2031     esac |
   2032     sort
   2033 )
   2034 }
   2035 
   2036 # Print debugging info to stdout.
   2037 ac_dump_debugging_info ()
   2038 {
   2039   echo
   2040 
   2041   printf '%s\n' "## ---------------- ##
   2042 ## Cache variables. ##
   2043 ## ---------------- ##"
   2044   echo
   2045   ac_cache_dump
   2046   echo
   2047 
   2048   printf '%s\n' "## ----------------- ##
   2049 ## Output variables. ##
   2050 ## ----------------- ##"
   2051   echo
   2052   for ac_var in $ac_subst_vars
   2053   do
   2054     eval ac_val=\$$ac_var
   2055     case $ac_val in
   2056     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2057     esac
   2058     printf '%s\n' "$ac_var='$ac_val'"
   2059   done | sort
   2060   echo
   2061 
   2062   if test -n "$ac_subst_files"; then
   2063     printf '%s\n' "## ------------------- ##
   2064 ## File substitutions. ##
   2065 ## ------------------- ##"
   2066     echo
   2067     for ac_var in $ac_subst_files
   2068     do
   2069       eval ac_val=\$$ac_var
   2070       case $ac_val in
   2071       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2072       esac
   2073       printf '%s\n' "$ac_var='$ac_val'"
   2074     done | sort
   2075     echo
   2076   fi
   2077 
   2078   if test -s confdefs.h; then
   2079     printf '%s\n' "## ----------- ##
   2080 ## confdefs.h. ##
   2081 ## ----------- ##"
   2082     echo
   2083     cat confdefs.h
   2084     echo
   2085   fi
   2086   test "$ac_signal" != 0 &&
   2087     printf '%s\n' "$as_me: caught signal $ac_signal"
   2088   printf '%s\n' "$as_me: exit $exit_status"
   2089 }
   2090 
   2091 # When interrupted or exit'd, cleanup temporary files, and complete
   2092 # config.log.
   2093 ac_exit_trap ()
   2094 {
   2095   exit_status=
   2096   # Sanitize IFS.
   2097   IFS=" ""	$as_nl"
   2098   # Save into config.log some information that might help in debugging.
   2099   ac_dump_debugging_info >&5
   2100   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   2101     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2102     exit $exit_status
   2103 }
   2104 
   2105 trap 'ac_exit_trap $?' 0
   2106 for ac_signal in 1 2 13 15; do
   2107   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2108 done
   2109 ac_signal=0
   2110 
   2111 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2112 rm -f -r conftest* confdefs.h
   2113 
   2114 printf '%s\n' "/* confdefs.h */" > confdefs.h
   2115 
   2116 # Predefined preprocessor variables.
   2117 
   2118 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2119 
   2120 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2121 
   2122 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2123 
   2124 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2125 
   2126 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2127 
   2128 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2129 
   2130 
   2131 # Let the site file select an alternate cache file if it wants to.
   2132 # Prefer an explicitly selected file to automatically selected ones.
   2133 if test -n "$CONFIG_SITE"; then
   2134   ac_site_files="$CONFIG_SITE"
   2135 elif test "x$prefix" != xNONE; then
   2136   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2137 else
   2138   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2139 fi
   2140 
   2141 for ac_site_file in $ac_site_files
   2142 do
   2143   case $ac_site_file in #(
   2144   */*) :
   2145      ;; #(
   2146   *) :
   2147     ac_site_file=./$ac_site_file ;;
   2148 esac
   2149   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2150     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2151 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   2152     sed 's/^/| /' "$ac_site_file" >&5
   2153     . "$ac_site_file" \
   2154       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2155 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2156 as_fn_error $? "failed to load site script $ac_site_file
   2157 See 'config.log' for more details" "$LINENO" 5; }
   2158   fi
   2159 done
   2160 
   2161 if test -r "$cache_file"; then
   2162   # Some versions of bash will fail to source /dev/null (special files
   2163   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2164   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2165     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2166 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2167     case $cache_file in
   2168       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2169       *)                      . "./$cache_file";;
   2170     esac
   2171   fi
   2172 else
   2173   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2174 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2175   >$cache_file
   2176 fi
   2177 
   2178 # Test code for whether the C compiler supports C23 (global declarations)
   2179 ac_c_conftest_c23_globals='
   2180 /* Does the compiler advertise conformance to C17 or earlier?
   2181    Although GCC 14 does not do that, even with -std=gnu23,
   2182    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2183 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2184 # error "Compiler advertises conformance to C17 or earlier"
   2185 #endif
   2186 
   2187 // Check alignas.
   2188 char alignas (double) c23_aligned_as_double;
   2189 char alignas (0) c23_no_special_alignment;
   2190 extern char c23_aligned_as_int;
   2191 char alignas (0) alignas (int) c23_aligned_as_int;
   2192 
   2193 // Check alignof.
   2194 enum
   2195 {
   2196   c23_int_alignment = alignof (int),
   2197   c23_int_array_alignment = alignof (int[100]),
   2198   c23_char_alignment = alignof (char)
   2199 };
   2200 static_assert (0 < -alignof (int), "alignof is signed");
   2201 
   2202 int function_with_unnamed_parameter (int) { return 0; }
   2203 
   2204 void c23_noreturn ();
   2205 
   2206 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2207    The parens pacify GCC 15.  */
   2208 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2209 
   2210 bool check_that_bool_works = true | false | !nullptr;
   2211 #if !true
   2212 # error "true does not work in #if"
   2213 #endif
   2214 #if false
   2215 #elifdef __STDC_VERSION__
   2216 #else
   2217 # error "#elifdef does not work"
   2218 #endif
   2219 
   2220 #ifndef __has_c_attribute
   2221 # error "__has_c_attribute not defined"
   2222 #endif
   2223 
   2224 #ifndef __has_include
   2225 # error "__has_include not defined"
   2226 #endif
   2227 
   2228 #define LPAREN() (
   2229 #define FORTY_TWO(x) 42
   2230 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2231 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2232 
   2233 static_assert (0b101010 == 42);
   2234 static_assert (0B101010 == 42);
   2235 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2236 static_assert (0.500'\''000'\''000 == 0.5);
   2237 
   2238 enum unsignedish : unsigned int { uione = 1 };
   2239 static_assert (0 < -uione);
   2240 
   2241 #include <stddef.h>
   2242 constexpr nullptr_t null_pointer = nullptr;
   2243 
   2244 static typeof (1 + 1L) two () { return 2; }
   2245 static long int three () { return 3; }
   2246 '
   2247 
   2248 # Test code for whether the C compiler supports C23 (body of main).
   2249 ac_c_conftest_c23_main='
   2250   {
   2251     label_before_declaration:
   2252       int arr[10] = {};
   2253       if (arr[0])
   2254         goto label_before_declaration;
   2255       if (!arr[0])
   2256         goto label_at_end_of_block;
   2257     label_at_end_of_block:
   2258   }
   2259   ok |= !null_pointer;
   2260   ok |= two != three;
   2261 '
   2262 
   2263 # Test code for whether the C compiler supports C23 (complete).
   2264 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2265 
   2266 int
   2267 main (int, char **)
   2268 {
   2269   int ok = 0;
   2270   ${ac_c_conftest_c23_main}
   2271   return ok;
   2272 }
   2273 "
   2274 
   2275 # Test code for whether the C compiler supports C89 (global declarations)
   2276 ac_c_conftest_c89_globals='
   2277 /* Do not test the value of __STDC__, because some compilers define it to 0
   2278    or do not define it, while otherwise adequately conforming.  */
   2279 
   2280 #include <stddef.h>
   2281 #include <stdarg.h>
   2282 struct stat;
   2283 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2284 struct buf { int x; };
   2285 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2286 static char *e (char **p, int i)
   2287 {
   2288   return p[i];
   2289 }
   2290 static char *f (char * (*g) (char **, int), char **p, ...)
   2291 {
   2292   char *s;
   2293   va_list v;
   2294   va_start (v,p);
   2295   s = g (p, va_arg (v,int));
   2296   va_end (v);
   2297   return s;
   2298 }
   2299 
   2300 /* C89 style stringification. */
   2301 #define noexpand_stringify(a) #a
   2302 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2303 
   2304 /* C89 style token pasting.  Exercises some of the corner cases that
   2305    e.g. old MSVC gets wrong, but not very hard. */
   2306 #define noexpand_concat(a,b) a##b
   2307 #define expand_concat(a,b) noexpand_concat(a,b)
   2308 extern int vA;
   2309 extern int vbee;
   2310 #define aye A
   2311 #define bee B
   2312 int *pvA = &expand_concat(v,aye);
   2313 int *pvbee = &noexpand_concat(v,bee);
   2314 
   2315 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2316    function prototypes and stuff, but not \xHH hex character constants.
   2317    These do not provoke an error unfortunately, instead are silently treated
   2318    as an "x".  The following induces an error, until -std is added to get
   2319    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2320    array size at least.  It is necessary to write \x00 == 0 to get something
   2321    that is true only with -std.  */
   2322 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2323 
   2324 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2325    inside strings and character constants.  */
   2326 #define FOO(x) '\''x'\''
   2327 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2328 
   2329 int test (int i, double x);
   2330 struct s1 {int (*f) (int a);};
   2331 struct s2 {int (*f) (double a);};
   2332 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2333                int, int);'
   2334 
   2335 # Test code for whether the C compiler supports C89 (body of main).
   2336 ac_c_conftest_c89_main='
   2337 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2338 '
   2339 
   2340 # Test code for whether the C compiler supports C99 (global declarations)
   2341 ac_c_conftest_c99_globals='
   2342 /* Does the compiler advertise C99 conformance? */
   2343 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2344 # error "Compiler does not advertise C99 conformance"
   2345 #endif
   2346 
   2347 // See if C++-style comments work.
   2348 
   2349 #include <stdbool.h>
   2350 extern int puts (const char *);
   2351 extern int printf (const char *, ...);
   2352 extern int dprintf (int, const char *, ...);
   2353 extern void *malloc (size_t);
   2354 extern void free (void *);
   2355 
   2356 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2357 // dprintf is used instead of fprintf to avoid needing to declare
   2358 // FILE and stderr, and "aND" is used instead of "and" to work around
   2359 // GCC bug 40564 which is irrelevant here.
   2360 #define debug(...) dprintf (2, __VA_ARGS__)
   2361 #define showlist(...) puts (#__VA_ARGS__)
   2362 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2363 static void
   2364 test_varargs_macros (void)
   2365 {
   2366   int x = 1234;
   2367   int y = 5678;
   2368   debug ("Flag");
   2369   debug ("X = %d\n", x);
   2370   showlist (The first, second, aND third items.);
   2371   report (x>y, "x is %d but y is %d", x, y);
   2372 }
   2373 
   2374 // Check long long types.
   2375 #define BIG64 18446744073709551615ull
   2376 #define BIG32 4294967295ul
   2377 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2378 #if !BIG_OK
   2379   #error "your preprocessor is broken"
   2380 #endif
   2381 #if BIG_OK
   2382 #else
   2383   #error "your preprocessor is broken"
   2384 #endif
   2385 static long long int bignum = -9223372036854775807LL;
   2386 static unsigned long long int ubignum = BIG64;
   2387 
   2388 struct incomplete_array
   2389 {
   2390   int datasize;
   2391   double data[];
   2392 };
   2393 
   2394 struct named_init {
   2395   int number;
   2396   const wchar_t *name;
   2397   double average;
   2398 };
   2399 
   2400 typedef const char *ccp;
   2401 
   2402 static inline int
   2403 test_restrict (ccp restrict text)
   2404 {
   2405   // Iterate through items via the restricted pointer.
   2406   // Also check for declarations in for loops.
   2407   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2408     continue;
   2409   return 0;
   2410 }
   2411 
   2412 // Check varargs and va_copy.
   2413 static bool
   2414 test_varargs (const char *format, ...)
   2415 {
   2416   va_list args;
   2417   va_start (args, format);
   2418   va_list args_copy;
   2419   va_copy (args_copy, args);
   2420 
   2421   const char *str = "";
   2422   int number = 0;
   2423   float fnumber = 0;
   2424 
   2425   while (*format)
   2426     {
   2427       switch (*format++)
   2428 	{
   2429 	case '\''s'\'': // string
   2430 	  str = va_arg (args_copy, const char *);
   2431 	  break;
   2432 	case '\''d'\'': // int
   2433 	  number = va_arg (args_copy, int);
   2434 	  break;
   2435 	case '\''f'\'': // float
   2436 	  fnumber = va_arg (args_copy, double);
   2437 	  break;
   2438 	default:
   2439 	  break;
   2440 	}
   2441     }
   2442   va_end (args_copy);
   2443   va_end (args);
   2444 
   2445   return *str && number && fnumber;
   2446 }
   2447 '
   2448 
   2449 # Test code for whether the C compiler supports C99 (body of main).
   2450 ac_c_conftest_c99_main='
   2451   // Check bool.
   2452   _Bool success = false;
   2453   success |= (argc != 0);
   2454 
   2455   // Check restrict.
   2456   if (test_restrict ("String literal") == 0)
   2457     success = true;
   2458   const char *restrict newvar = "Another string";
   2459 
   2460   // Check varargs.
   2461   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2462   test_varargs_macros ();
   2463 
   2464   // Check flexible array members.
   2465   static struct incomplete_array *volatile incomplete_array_pointer;
   2466   struct incomplete_array *ia = incomplete_array_pointer;
   2467   ia->datasize = 10;
   2468   for (int i = 0; i < ia->datasize; ++i)
   2469     ia->data[i] = i * 1.234;
   2470   // Work around memory leak warnings.
   2471   free (ia);
   2472 
   2473   // Check named initializers.
   2474   struct named_init ni = {
   2475     .number = 34,
   2476     .name = L"Test wide string",
   2477     .average = 543.34343,
   2478   };
   2479 
   2480   ni.number = 58;
   2481 
   2482   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2483   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2484 
   2485   // work around unused variable warnings
   2486   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2487 	 || ni.number != 58);
   2488 '
   2489 
   2490 # Test code for whether the C compiler supports C11 (global declarations)
   2491 ac_c_conftest_c11_globals='
   2492 /* Does the compiler advertise C11 conformance? */
   2493 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2494 # error "Compiler does not advertise C11 conformance"
   2495 #endif
   2496 
   2497 // Check _Alignas.
   2498 char _Alignas (double) aligned_as_double;
   2499 char _Alignas (0) no_special_alignment;
   2500 extern char aligned_as_int;
   2501 char _Alignas (0) _Alignas (int) aligned_as_int;
   2502 
   2503 // Check _Alignof.
   2504 enum
   2505 {
   2506   int_alignment = _Alignof (int),
   2507   int_array_alignment = _Alignof (int[100]),
   2508   char_alignment = _Alignof (char)
   2509 };
   2510 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2511 
   2512 // Check _Noreturn.
   2513 int _Noreturn does_not_return (void) { for (;;) continue; }
   2514 
   2515 // Check _Static_assert.
   2516 struct test_static_assert
   2517 {
   2518   int x;
   2519   _Static_assert (sizeof (int) <= sizeof (long int),
   2520                   "_Static_assert does not work in struct");
   2521   long int y;
   2522 };
   2523 
   2524 // Check UTF-8 literals.
   2525 #define u8 syntax error!
   2526 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2527 
   2528 // Check duplicate typedefs.
   2529 typedef long *long_ptr;
   2530 typedef long int *long_ptr;
   2531 typedef long_ptr long_ptr;
   2532 
   2533 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2534 struct anonymous
   2535 {
   2536   union {
   2537     struct { int i; int j; };
   2538     struct { int k; long int l; } w;
   2539   };
   2540   int m;
   2541 } v1;
   2542 '
   2543 
   2544 # Test code for whether the C compiler supports C11 (body of main).
   2545 ac_c_conftest_c11_main='
   2546   _Static_assert ((offsetof (struct anonymous, i)
   2547 		   == offsetof (struct anonymous, w.k)),
   2548 		  "Anonymous union alignment botch");
   2549   v1.i = 2;
   2550   v1.w.k = 5;
   2551   ok |= v1.i != 5;
   2552 '
   2553 
   2554 # Test code for whether the C compiler supports C11 (complete).
   2555 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2556 ${ac_c_conftest_c99_globals}
   2557 ${ac_c_conftest_c11_globals}
   2558 
   2559 int
   2560 main (int argc, char **argv)
   2561 {
   2562   int ok = 0;
   2563   ${ac_c_conftest_c89_main}
   2564   ${ac_c_conftest_c99_main}
   2565   ${ac_c_conftest_c11_main}
   2566   return ok;
   2567 }
   2568 "
   2569 
   2570 # Test code for whether the C compiler supports C99 (complete).
   2571 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2572 ${ac_c_conftest_c99_globals}
   2573 
   2574 int
   2575 main (int argc, char **argv)
   2576 {
   2577   int ok = 0;
   2578   ${ac_c_conftest_c89_main}
   2579   ${ac_c_conftest_c99_main}
   2580   return ok;
   2581 }
   2582 "
   2583 
   2584 # Test code for whether the C compiler supports C89 (complete).
   2585 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2586 
   2587 int
   2588 main (int argc, char **argv)
   2589 {
   2590   int ok = 0;
   2591   ${ac_c_conftest_c89_main}
   2592   return ok;
   2593 }
   2594 "
   2595 
   2596 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2597 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2598 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2599 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2600 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2601 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2602 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2603 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2604 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2605 
   2606 # Auxiliary files required by this configure script.
   2607 ac_aux_files="tap-driver.sh compile config.guess config.sub ltmain.sh missing install-sh"
   2608 
   2609 # Locations in which to look for auxiliary files.
   2610 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2611 
   2612 # Search for a directory containing all of the required auxiliary files,
   2613 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2614 # If we don't find one directory that contains all the files we need,
   2615 # we report the set of missing files from the *first* directory in
   2616 # $ac_aux_dir_candidates and give up.
   2617 ac_missing_aux_files=""
   2618 ac_first_candidate=:
   2619 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2621 as_found=false
   2622 for as_dir in $ac_aux_dir_candidates
   2623 do
   2624   IFS=$as_save_IFS
   2625   case $as_dir in #(((
   2626     '') as_dir=./ ;;
   2627     */) ;;
   2628     *) as_dir=$as_dir/ ;;
   2629   esac
   2630   as_found=:
   2631 
   2632   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2633   ac_aux_dir_found=yes
   2634   ac_install_sh=
   2635   for ac_aux in $ac_aux_files
   2636   do
   2637     # As a special case, if "install-sh" is required, that requirement
   2638     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2639     # and $ac_install_sh is set appropriately for whichever one is found.
   2640     if test x"$ac_aux" = x"install-sh"
   2641     then
   2642       if test -f "${as_dir}install-sh"; then
   2643         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2644         ac_install_sh="${as_dir}install-sh -c"
   2645       elif test -f "${as_dir}install.sh"; then
   2646         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2647         ac_install_sh="${as_dir}install.sh -c"
   2648       elif test -f "${as_dir}shtool"; then
   2649         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2650         ac_install_sh="${as_dir}shtool install -c"
   2651       else
   2652         ac_aux_dir_found=no
   2653         if $ac_first_candidate; then
   2654           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2655         else
   2656           break
   2657         fi
   2658       fi
   2659     else
   2660       if test -f "${as_dir}${ac_aux}"; then
   2661         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2662       else
   2663         ac_aux_dir_found=no
   2664         if $ac_first_candidate; then
   2665           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2666         else
   2667           break
   2668         fi
   2669       fi
   2670     fi
   2671   done
   2672   if test "$ac_aux_dir_found" = yes; then
   2673     ac_aux_dir="$as_dir"
   2674     break
   2675   fi
   2676   ac_first_candidate=false
   2677 
   2678   as_found=false
   2679 done
   2680 IFS=$as_save_IFS
   2681 if $as_found
   2682 then :
   2683 
   2684 else case e in #(
   2685   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2686 esac
   2687 fi
   2688 
   2689 
   2690 # These three variables are undocumented and unsupported,
   2691 # and are intended to be withdrawn in a future Autoconf release.
   2692 # They can cause serious problems if a builder's source tree is in a directory
   2693 # whose full name contains unusual characters.
   2694 if test -f "${ac_aux_dir}config.guess"; then
   2695   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2696 fi
   2697 if test -f "${ac_aux_dir}config.sub"; then
   2698   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2699 fi
   2700 if test -f "$ac_aux_dir/configure"; then
   2701   ac_configure="$SHELL ${ac_aux_dir}configure"
   2702 fi
   2703 
   2704 # Check that the precious variables saved in the cache have kept the same
   2705 # value.
   2706 ac_cache_corrupted=false
   2707 for ac_var in $ac_precious_vars; do
   2708   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2709   eval ac_new_set=\$ac_env_${ac_var}_set
   2710   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2711   eval ac_new_val=\$ac_env_${ac_var}_value
   2712   case $ac_old_set,$ac_new_set in
   2713     set,)
   2714       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2715 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2716       ac_cache_corrupted=: ;;
   2717     ,set)
   2718       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2719 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2720       ac_cache_corrupted=: ;;
   2721     ,);;
   2722     *)
   2723       if test "x$ac_old_val" != "x$ac_new_val"; then
   2724 	# differences in whitespace do not lead to failure.
   2725 	ac_old_val_w=
   2726 	for ac_val in x $ac_old_val; do
   2727 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2728 	done
   2729 	ac_new_val_w=
   2730 	for ac_val in x $ac_new_val; do
   2731 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2732 	done
   2733 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2734 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2735 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2736 	  ac_cache_corrupted=:
   2737 	else
   2738 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2739 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2740 	  eval $ac_var=\$ac_old_val
   2741 	fi
   2742 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2743 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2744 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2745 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2746       fi;;
   2747   esac
   2748   # Pass precious variables to config.status.
   2749   if test "$ac_new_set" = set; then
   2750     case $ac_new_val in
   2751     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2752     *) ac_arg=$ac_var=$ac_new_val ;;
   2753     esac
   2754     case " $ac_configure_args " in
   2755       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2756       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2757     esac
   2758   fi
   2759 done
   2760 if $ac_cache_corrupted; then
   2761   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2762 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2763   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2764 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2765   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2766 	    and start over" "$LINENO" 5
   2767 fi
   2768 ## -------------------- ##
   2769 ## Main body of script. ##
   2770 ## -------------------- ##
   2771 
   2772 
   2773 # Determine whether it's possible to make 'echo' print without a newline.
   2774 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2775 # for compatibility with existing Makefiles.
   2776 ECHO_C= ECHO_N= ECHO_T=
   2777 case `echo -n x` in #(((((
   2778 -n*)
   2779   case `echo 'xy\c'` in
   2780   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2781   xy)  ECHO_C='\c';;
   2782   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2783        ECHO_T='	';;
   2784   esac;;
   2785 *)
   2786   ECHO_N='-n';;
   2787 esac
   2788 
   2789 ac_ext=c
   2790 ac_cpp='$CPP $CPPFLAGS'
   2791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2794 
   2795 
   2796 
   2797 ac_config_headers="$ac_config_headers config.h"
   2798 
   2799 
   2800 
   2801 # Initialize Automake
   2802 am__api_version='1.19'
   2803 
   2804 
   2805 
   2806   # Find a good install program.  We prefer a C program (faster),
   2807 # so one script is as good as another.  But avoid the broken or
   2808 # incompatible versions:
   2809 # SysV /etc/install, /usr/sbin/install
   2810 # SunOS /usr/etc/install
   2811 # IRIX /sbin/install
   2812 # AIX /bin/install
   2813 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2814 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2815 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2816 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2817 # OS/2's system install, which has a completely different semantic
   2818 # ./install, which can be erroneously created by make from ./install.sh.
   2819 # Reject install programs that cannot install multiple files.
   2820 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2821 printf %s "checking for a BSD-compatible install... " >&6; }
   2822 if test -z "$INSTALL"; then
   2823 if test ${ac_cv_path_install+y}
   2824 then :
   2825   printf %s "(cached) " >&6
   2826 else case e in #(
   2827   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2828 for as_dir in $PATH
   2829 do
   2830   IFS=$as_save_IFS
   2831   case $as_dir in #(((
   2832     '') as_dir=./ ;;
   2833     */) ;;
   2834     *) as_dir=$as_dir/ ;;
   2835   esac
   2836     # Account for fact that we put trailing slashes in our PATH walk.
   2837 case $as_dir in #((
   2838   ./ | /[cC]/* | \
   2839   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2840   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2841   /usr/ucb/* ) ;;
   2842   *)
   2843     # OSF/1 and SCO ODT 3.0 have their own names for install.
   2844     # Don't use installbsd from OSF/1 since it installs stuff as root
   2845     # by default.
   2846     for ac_prog in ginstall scoinst install; do
   2847       for ac_exec_ext in '' $ac_executable_extensions; do
   2848 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2849 	  if test $ac_prog = install &&
   2850 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2851 	    # AIX install.  It has an incompatible calling convention.
   2852 	    :
   2853 	  elif test $ac_prog = install &&
   2854 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2855 	    # program-specific install script used by HP pwplus--don't use.
   2856 	    :
   2857 	  else
   2858 	    rm -rf conftest.one conftest.two conftest.dir
   2859 	    echo one > conftest.one
   2860 	    echo two > conftest.two
   2861 	    mkdir conftest.dir
   2862 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2863 	      test -s conftest.one && test -s conftest.two &&
   2864 	      test -s conftest.dir/conftest.one &&
   2865 	      test -s conftest.dir/conftest.two
   2866 	    then
   2867 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2868 	      break 3
   2869 	    fi
   2870 	  fi
   2871 	fi
   2872       done
   2873     done
   2874     ;;
   2875 esac
   2876 
   2877   done
   2878 IFS=$as_save_IFS
   2879 
   2880 rm -rf conftest.one conftest.two conftest.dir
   2881  ;;
   2882 esac
   2883 fi
   2884   if test ${ac_cv_path_install+y}; then
   2885     INSTALL=$ac_cv_path_install
   2886   else
   2887     # As a last resort, use the slow shell script.  Don't cache a
   2888     # value for INSTALL within a source directory, because that will
   2889     # break other packages using the cache if that directory is
   2890     # removed, or if the value is a relative name.
   2891     INSTALL=$ac_install_sh
   2892   fi
   2893 fi
   2894 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2895 printf '%s\n' "$INSTALL" >&6; }
   2896 
   2897 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2898 # It thinks the first close brace ends the variable substitution.
   2899 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2900 
   2901 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2902 
   2903 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2904 
   2905 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2906 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2907 if test ${am_cv_sleep_fractional_seconds+y}
   2908 then :
   2909   printf %s "(cached) " >&6
   2910 else case e in #(
   2911   e) if sleep 0.001 2>/dev/null
   2912 then :
   2913   am_cv_sleep_fractional_seconds=yes
   2914 else case e in #(
   2915   e) am_cv_sleep_fractional_seconds=no ;;
   2916 esac
   2917 fi
   2918  ;;
   2919 esac
   2920 fi
   2921 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2922 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   2923 
   2924 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2925 printf %s "checking filesystem timestamp resolution... " >&6; }
   2926 if test ${am_cv_filesystem_timestamp_resolution+y}
   2927 then :
   2928   printf %s "(cached) " >&6
   2929 else case e in #(
   2930   e) # Default to the worst case.
   2931 am_cv_filesystem_timestamp_resolution=2
   2932 
   2933 # Only try to go finer than 1 sec if sleep can do it.
   2934 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2935 # - 1 sec is not much of a win compared to 2 sec, and
   2936 # - it takes 2 seconds to perform the test whether 1 sec works.
   2937 #
   2938 # Instead, just use the default 2s on platforms that have 1s resolution,
   2939 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2940 # exchange for not incurring the 2s delay for running the test for all
   2941 # packages.
   2942 #
   2943 am_try_resolutions=
   2944 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2945   # Even a millisecond often causes a bunch of false positives,
   2946   # so just try a hundredth of a second. The time saved between .001 and
   2947   # .01 is not terribly consequential.
   2948   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2949 fi
   2950 
   2951 # In order to catch current-generation FAT out, we must *modify* files
   2952 # that already exist; the *creation* timestamp is finer.  Use names
   2953 # that make ls -t sort them differently when they have equal
   2954 # timestamps than when they have distinct timestamps, keeping
   2955 # in mind that ls -t prints the *newest* file first.
   2956 rm -f conftest.ts?
   2957 : > conftest.ts1
   2958 : > conftest.ts2
   2959 : > conftest.ts3
   2960 
   2961 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2962 # clobber the current shell's arguments. (Outer-level square brackets
   2963 # are removed by m4; they're present so that m4 does not expand
   2964 # <dollar><star>; be careful, easy to get confused.)
   2965 if (
   2966      set X `ls -t conftest.ts[12]` &&
   2967      {
   2968        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2969        test "$*" != "X conftest.ts2 conftest.ts1";
   2970      }
   2971 ); then :; else
   2972   # If neither matched, then we have a broken ls.  This can happen
   2973   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2974   # broken ls alias from the environment.  This has actually
   2975   # happened.  Such a system could not be considered "sane".
   2976   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2977   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2978 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2979 as_fn_error $? "ls -t produces unexpected output.
   2980 Make sure there is not a broken ls alias in your environment.
   2981 See 'config.log' for more details" "$LINENO" 5; }
   2982 fi
   2983 
   2984 for am_try_res in $am_try_resolutions; do
   2985   # Any one fine-grained sleep might happen to cross the boundary
   2986   # between two values of a coarser actual resolution, but if we do
   2987   # two fine-grained sleeps in a row, at least one of them will fall
   2988   # entirely within a coarse interval.
   2989   echo alpha > conftest.ts1
   2990   sleep $am_try_res
   2991   echo beta > conftest.ts2
   2992   sleep $am_try_res
   2993   echo gamma > conftest.ts3
   2994 
   2995   # We assume that 'ls -t' will make use of high-resolution
   2996   # timestamps if the operating system supports them at all.
   2997   if (set X `ls -t conftest.ts?` &&
   2998       test "$2" = conftest.ts3 &&
   2999       test "$3" = conftest.ts2 &&
   3000       test "$4" = conftest.ts1); then
   3001     #
   3002     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   3003     # because we don't need to test make.
   3004     make_ok=true
   3005     if test $am_try_res != 1; then
   3006       # But if we've succeeded so far with a subsecond resolution, we
   3007       # have one more thing to check: make. It can happen that
   3008       # everything else supports the subsecond mtimes, but make doesn't;
   3009       # notably on macOS, which ships make 3.81 from 2006 (the last one
   3010       # released under GPLv2). https://bugs.gnu.org/68808
   3011       #
   3012       # We test $MAKE if it is defined in the environment, else "make".
   3013       # It might get overridden later, but our hope is that in practice
   3014       # it does not matter: it is the system "make" which is (by far)
   3015       # the most likely to be broken, whereas if the user overrides it,
   3016       # probably they did so with a better, or at least not worse, make.
   3017       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   3018       #
   3019       # Create a Makefile (real tab character here):
   3020       rm -f conftest.mk
   3021       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   3022       echo '	touch conftest.ts2' >>conftest.mk
   3023       #
   3024       # Now, running
   3025       #   touch conftest.ts1; touch conftest.ts2; make
   3026       # should touch ts1 because ts2 is newer. This could happen by luck,
   3027       # but most often, it will fail if make's support is insufficient. So
   3028       # test for several consecutive successes.
   3029       #
   3030       # (We reuse conftest.ts[12] because we still want to modify existing
   3031       # files, not create new ones, per above.)
   3032       n=0
   3033       make=${MAKE-make}
   3034       until test $n -eq 3; do
   3035         echo one > conftest.ts1
   3036         sleep $am_try_res
   3037         echo two > conftest.ts2 # ts2 should now be newer than ts1
   3038         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   3039           make_ok=false
   3040           break # out of $n loop
   3041         fi
   3042         n=`expr $n + 1`
   3043       done
   3044     fi
   3045     #
   3046     if $make_ok; then
   3047       # Everything we know to check worked out, so call this resolution good.
   3048       am_cv_filesystem_timestamp_resolution=$am_try_res
   3049       break # out of $am_try_res loop
   3050     fi
   3051     # Otherwise, we'll go on to check the next resolution.
   3052   fi
   3053 done
   3054 rm -f conftest.ts?
   3055 # (end _am_filesystem_timestamp_resolution)
   3056  ;;
   3057 esac
   3058 fi
   3059 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   3060 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   3061 
   3062 # This check should not be cached, as it may vary across builds of
   3063 # different projects.
   3064 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3065 printf %s "checking whether build environment is sane... " >&6; }
   3066 # Reject unsafe characters in $srcdir or the absolute working directory
   3067 # name.  Accept space and tab only in the latter.
   3068 am_lf='
   3069 '
   3070 case `pwd` in
   3071   *[\\\"\#\$\&\'\`$am_lf]*)
   3072     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3073 printf '%s\n' "no" >&6; }
   3074     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3075 esac
   3076 case $srcdir in
   3077   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3078     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3079 printf '%s\n' "no" >&6; }
   3080     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3081 esac
   3082 
   3083 # Do 'set' in a subshell so we don't clobber the current shell's
   3084 # arguments.  Must try -L first in case configure is actually a
   3085 # symlink; some systems play weird games with the mod time of symlinks
   3086 # (eg FreeBSD returns the mod time of the symlink's containing
   3087 # directory).
   3088 am_build_env_is_sane=no
   3089 am_has_slept=no
   3090 rm -f conftest.file
   3091 for am_try in 1 2; do
   3092   echo "timestamp, slept: $am_has_slept" > conftest.file
   3093   if (
   3094     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3095     if test "$*" = "X"; then
   3096       # -L didn't work.
   3097       set X `ls -t "$srcdir/configure" conftest.file`
   3098     fi
   3099     test "$2" = conftest.file
   3100   ); then
   3101     am_build_env_is_sane=yes
   3102     break
   3103   fi
   3104   # Just in case.
   3105   sleep "$am_cv_filesystem_timestamp_resolution"
   3106   am_has_slept=yes
   3107 done
   3108 
   3109 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   3110 printf '%s\n' "$am_build_env_is_sane" >&6; }
   3111 if test "$am_build_env_is_sane" = no; then
   3112   as_fn_error $? "newly created file is older than distributed files!
   3113 Check your system clock" "$LINENO" 5
   3114 fi
   3115 
   3116 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3117 # generated files are strictly newer.
   3118 am_sleep_pid=
   3119 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   3120 then :
   3121 
   3122 else case e in #(
   3123   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   3124   am_sleep_pid=$!
   3125  ;;
   3126 esac
   3127 fi
   3128 
   3129 rm -f conftest.file
   3130 
   3131 test "$program_prefix" != NONE &&
   3132   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3133 # Use a double $ so make ignores it.
   3134 test "$program_suffix" != NONE &&
   3135   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3136 # Double any \ or $.
   3137 # By default was 's,x,x', remove it if useless.
   3138 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3139 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   3140 
   3141 
   3142 # Expand $ac_aux_dir to an absolute path.
   3143 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3144 
   3145 
   3146   if test x"${MISSING+set}" != xset; then
   3147   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3148 fi
   3149 # Use eval to expand $SHELL
   3150 if eval "$MISSING --is-lightweight"; then
   3151   am_missing_run="$MISSING "
   3152 else
   3153   am_missing_run=
   3154   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3155 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3156 fi
   3157 
   3158 if test x"${install_sh+set}" != xset; then
   3159   case $am_aux_dir in
   3160   *\ * | *\	*)
   3161     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3162   *)
   3163     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3164   esac
   3165 fi
   3166 
   3167 # Installed binaries are usually stripped using 'strip' when the user
   3168 # run "make install-strip".  However 'strip' might not be the right
   3169 # tool to use in cross-compilation environments, therefore Automake
   3170 # will honor the 'STRIP' environment variable to overrule this program.
   3171 if test "$cross_compiling" != no; then
   3172   if test -n "$ac_tool_prefix"; then
   3173   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3174 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3175 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3176 printf %s "checking for $ac_word... " >&6; }
   3177 if test ${ac_cv_prog_STRIP+y}
   3178 then :
   3179   printf %s "(cached) " >&6
   3180 else case e in #(
   3181   e) if test -n "$STRIP"; then
   3182   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3183 else
   3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3185 for as_dir in $PATH
   3186 do
   3187   IFS=$as_save_IFS
   3188   case $as_dir in #(((
   3189     '') as_dir=./ ;;
   3190     */) ;;
   3191     *) as_dir=$as_dir/ ;;
   3192   esac
   3193     for ac_exec_ext in '' $ac_executable_extensions; do
   3194   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3195     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3196     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3197     break 2
   3198   fi
   3199 done
   3200   done
   3201 IFS=$as_save_IFS
   3202 
   3203 fi ;;
   3204 esac
   3205 fi
   3206 STRIP=$ac_cv_prog_STRIP
   3207 if test -n "$STRIP"; then
   3208   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3209 printf '%s\n' "$STRIP" >&6; }
   3210 else
   3211   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3212 printf '%s\n' "no" >&6; }
   3213 fi
   3214 
   3215 
   3216 fi
   3217 if test -z "$ac_cv_prog_STRIP"; then
   3218   ac_ct_STRIP=$STRIP
   3219   # Extract the first word of "strip", so it can be a program name with args.
   3220 set dummy strip; ac_word=$2
   3221 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3222 printf %s "checking for $ac_word... " >&6; }
   3223 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3224 then :
   3225   printf %s "(cached) " >&6
   3226 else case e in #(
   3227   e) if test -n "$ac_ct_STRIP"; then
   3228   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3229 else
   3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3231 for as_dir in $PATH
   3232 do
   3233   IFS=$as_save_IFS
   3234   case $as_dir in #(((
   3235     '') as_dir=./ ;;
   3236     */) ;;
   3237     *) as_dir=$as_dir/ ;;
   3238   esac
   3239     for ac_exec_ext in '' $ac_executable_extensions; do
   3240   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3241     ac_cv_prog_ac_ct_STRIP="strip"
   3242     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3243     break 2
   3244   fi
   3245 done
   3246   done
   3247 IFS=$as_save_IFS
   3248 
   3249 fi ;;
   3250 esac
   3251 fi
   3252 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3253 if test -n "$ac_ct_STRIP"; then
   3254   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3255 printf '%s\n' "$ac_ct_STRIP" >&6; }
   3256 else
   3257   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3258 printf '%s\n' "no" >&6; }
   3259 fi
   3260 
   3261   if test "x$ac_ct_STRIP" = x; then
   3262     STRIP=":"
   3263   else
   3264     case $cross_compiling:$ac_tool_warned in
   3265 yes:)
   3266 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3267 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3268 ac_tool_warned=yes ;;
   3269 esac
   3270     STRIP=$ac_ct_STRIP
   3271   fi
   3272 else
   3273   STRIP="$ac_cv_prog_STRIP"
   3274 fi
   3275 
   3276 fi
   3277 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3278 
   3279 
   3280   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3281 printf %s "checking for a race-free mkdir -p... " >&6; }
   3282 if test -z "$MKDIR_P"; then
   3283   if test ${ac_cv_path_mkdir+y}
   3284 then :
   3285   printf %s "(cached) " >&6
   3286 else case e in #(
   3287   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3288 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3289 do
   3290   IFS=$as_save_IFS
   3291   case $as_dir in #(((
   3292     '') as_dir=./ ;;
   3293     */) ;;
   3294     *) as_dir=$as_dir/ ;;
   3295   esac
   3296     for ac_prog in mkdir gmkdir; do
   3297 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3298 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3299 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3300 	     'mkdir ('*'coreutils) '* | \
   3301 	     *'BusyBox '* | \
   3302 	     'mkdir (fileutils) '4.1*)
   3303 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3304 	       break 3;;
   3305 	   esac
   3306 	 done
   3307        done
   3308   done
   3309 IFS=$as_save_IFS
   3310  ;;
   3311 esac
   3312 fi
   3313 
   3314   test -d ./--version && rmdir ./--version
   3315   if test ${ac_cv_path_mkdir+y}; then
   3316     MKDIR_P="$ac_cv_path_mkdir -p"
   3317   else
   3318     # As a last resort, use plain mkdir -p,
   3319     # in the hope it doesn't have the bugs of ancient mkdir.
   3320     MKDIR_P='mkdir -p'
   3321   fi
   3322 fi
   3323 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3324 printf '%s\n' "$MKDIR_P" >&6; }
   3325 
   3326 for ac_prog in gawk mawk nawk awk 'busybox awk'
   3327 do
   3328   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3329 set dummy $ac_prog; ac_word=$2
   3330 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3331 printf %s "checking for $ac_word... " >&6; }
   3332 if test ${ac_cv_prog_AWK+y}
   3333 then :
   3334   printf %s "(cached) " >&6
   3335 else case e in #(
   3336   e) if test -n "$AWK"; then
   3337   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3338 else
   3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3340 for as_dir in $PATH
   3341 do
   3342   IFS=$as_save_IFS
   3343   case $as_dir in #(((
   3344     '') as_dir=./ ;;
   3345     */) ;;
   3346     *) as_dir=$as_dir/ ;;
   3347   esac
   3348     for ac_exec_ext in '' $ac_executable_extensions; do
   3349   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3350     ac_cv_prog_AWK="$ac_prog"
   3351     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3352     break 2
   3353   fi
   3354 done
   3355   done
   3356 IFS=$as_save_IFS
   3357 
   3358 fi ;;
   3359 esac
   3360 fi
   3361 AWK=$ac_cv_prog_AWK
   3362 if test -n "$AWK"; then
   3363   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3364 printf '%s\n' "$AWK" >&6; }
   3365 else
   3366   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3367 printf '%s\n' "no" >&6; }
   3368 fi
   3369 
   3370 
   3371   test -n "$AWK" && break
   3372 done
   3373 
   3374 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3375 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3376 set x ${MAKE-make}
   3377 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3378 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3379 then :
   3380   printf %s "(cached) " >&6
   3381 else case e in #(
   3382   e) cat >conftest.make <<\_ACEOF
   3383 SHELL = /bin/sh
   3384 all:
   3385 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   3386 _ACEOF
   3387 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3388 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3389   *@@@%%%=?*=@@@%%%*)
   3390     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3391   *)
   3392     eval ac_cv_prog_make_${ac_make}_set=no;;
   3393 esac
   3394 rm -f conftest.make ;;
   3395 esac
   3396 fi
   3397 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3398   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3399 printf '%s\n' "yes" >&6; }
   3400   SET_MAKE=
   3401 else
   3402   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3403 printf '%s\n' "no" >&6; }
   3404   SET_MAKE="MAKE=${MAKE-make}"
   3405 fi
   3406 
   3407 rm -rf .tst 2>/dev/null
   3408 mkdir .tst 2>/dev/null
   3409 if test -d .tst; then
   3410   am__leading_dot=.
   3411 else
   3412   am__leading_dot=_
   3413 fi
   3414 rmdir .tst 2>/dev/null
   3415 
   3416 AM_DEFAULT_VERBOSITY=1
   3417 # Check whether --enable-silent-rules was given.
   3418 if test ${enable_silent_rules+y}
   3419 then :
   3420   enableval=$enable_silent_rules;
   3421 fi
   3422 
   3423 am_make=${MAKE-make}
   3424 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3425 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3426 if test ${am_cv_make_support_nested_variables+y}
   3427 then :
   3428   printf %s "(cached) " >&6
   3429 else case e in #(
   3430   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   3431 BAR0=false
   3432 BAR1=true
   3433 V=1
   3434 am__doit:
   3435 	@$(TRUE)
   3436 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3437   am_cv_make_support_nested_variables=yes
   3438 else
   3439   am_cv_make_support_nested_variables=no
   3440 fi ;;
   3441 esac
   3442 fi
   3443 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3444 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   3445 AM_BACKSLASH='\'
   3446 
   3447 am__rm_f_notfound=
   3448 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3449 then :
   3450 
   3451 else case e in #(
   3452   e) am__rm_f_notfound='""' ;;
   3453 esac
   3454 fi
   3455 
   3456 
   3457 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3458 printf %s "checking xargs -n works... " >&6; }
   3459 if test ${am_cv_xargs_n_works+y}
   3460 then :
   3461   printf %s "(cached) " >&6
   3462 else case e in #(
   3463   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3464 3"
   3465 then :
   3466   am_cv_xargs_n_works=yes
   3467 else case e in #(
   3468   e) am_cv_xargs_n_works=no ;;
   3469 esac
   3470 fi ;;
   3471 esac
   3472 fi
   3473 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3474 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   3475 if test "$am_cv_xargs_n_works" = yes
   3476 then :
   3477   am__xargs_n='xargs -n'
   3478 else case e in #(
   3479   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3480  ;;
   3481 esac
   3482 fi
   3483 
   3484 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3485   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3486   # is not polluted with repeated "-I."
   3487   am__isrc=' -I$(srcdir)'
   3488   # test to see if srcdir already configured
   3489   if test -f $srcdir/config.status; then
   3490     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3491   fi
   3492 fi
   3493 
   3494 # test whether we have cygpath
   3495 if test -z "$CYGPATH_W"; then
   3496   if (cygpath --version) >/dev/null 2>/dev/null; then
   3497     CYGPATH_W='cygpath -w'
   3498   else
   3499     CYGPATH_W=echo
   3500   fi
   3501 fi
   3502 
   3503 
   3504 # Define the identity of the package.
   3505  PACKAGE='libXpm'
   3506  VERSION='3.5.20'
   3507 
   3508 
   3509 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3510 
   3511 
   3512 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   3513 
   3514 # Some tools Automake needs.
   3515 
   3516 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3517 
   3518 
   3519 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3520 
   3521 
   3522 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3523 
   3524 
   3525 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3526 
   3527 
   3528 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3529 
   3530 # For better backward compatibility.  To be removed once Automake 1.9.x
   3531 # dies out for good.  For more background, see:
   3532 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3533 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3534 mkdir_p='$(MKDIR_P)'
   3535 
   3536 # We need awk for the "check" target (and possibly the TAP driver).  The
   3537 # system "awk" is bad on some platforms.
   3538 # Always define AMTAR for backward compatibility.  It's still used
   3539 # in the wild, let's not break things.
   3540 AMTAR='$${TAR-tar}'
   3541 
   3542 
   3543 # The dist rules treat anything $(am__tar) writes to standard error as
   3544 # a failure (automake bug#19614).  Set this to "yes" for archivers that
   3545 # write there when all is well; cpio reports a block count.
   3546 am__tar_ignore_stderr=no
   3547 
   3548 # We'll loop over all known methods to create a tar archive until one works.
   3549 _am_tools='gnutar plaintar pax cpio none'
   3550 
   3551 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3552       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3553       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3554       # and bug#13588).
   3555       am_max_uid=2097151 # 2^21 - 1
   3556       am_max_gid=$am_max_uid
   3557       # The $UID and $GID variables are not portable, so we need to resort
   3558       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3559       # below are definitely unexpected, so allow the users to see them
   3560       # (that is, avoid stderr redirection).
   3561       am_uid=`id -u || echo unknown`
   3562       am_gid=`id -g || echo unknown`
   3563       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3564 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3565       if test x$am_uid = xunknown; then
   3566         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3567 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3568       elif test $am_uid -le $am_max_uid; then
   3569         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3570 printf '%s\n' "yes" >&6; }
   3571       else
   3572         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3573 printf '%s\n' "no" >&6; }
   3574         _am_tools=none
   3575       fi
   3576       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3577 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3578       if test x$gm_gid = xunknown; then
   3579         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3580 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3581       elif test $am_gid -le $am_max_gid; then
   3582         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3583 printf '%s\n' "yes" >&6; }
   3584       else
   3585         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3586 printf '%s\n' "no" >&6; }
   3587         _am_tools=none
   3588       fi
   3589 
   3590   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3591 printf %s "checking how to create a ustar tar archive... " >&6; }
   3592 
   3593   # Go ahead even if we have the value already cached.  We do so because we
   3594   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3595   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3596 
   3597   for _am_tool in $_am_tools; do
   3598     am__tar_ignore_stderr=no
   3599     case $_am_tool in
   3600     gnutar)
   3601       for _am_tar in tar gnutar gtar; do
   3602         { echo "$as_me:$LINENO: $_am_tar --version | grep GNU >/dev/null" >&5
   3603    ($_am_tar --version | grep GNU >/dev/null) >&5 2>&5
   3604    ac_status=$?
   3605    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3606    (exit $ac_status); } && break
   3607       done
   3608       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3609       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3610       am__untar="$_am_tar -xf -"
   3611       ;;
   3612     plaintar)
   3613       # Must skip GNU tar: if it does not support --format= it doesn't create
   3614       # ustar tarball either.
   3615       (tar --version | grep GNU) >/dev/null 2>&1 && continue
   3616       am__tar='tar chf - "$$tardir"'
   3617       am__tar_='tar chf - "$tardir"'
   3618       am__untar='tar xf -'
   3619       ;;
   3620     pax)
   3621       am__tar='pax -L -x ustar -w "$$tardir"'
   3622       am__tar_='pax -L -x ustar -w "$tardir"'
   3623       am__untar='pax -r'
   3624       ;;
   3625     cpio)
   3626       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3627       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3628       am__untar='cpio -i -H ustar -d'
   3629       am__tar_ignore_stderr=yes
   3630       ;;
   3631     none)
   3632       am__tar=false
   3633       am__tar_=false
   3634       am__untar=false
   3635       ;;
   3636     esac
   3637 
   3638     # If the value was cached, stop now.  We just wanted to have am__tar
   3639     # and am__untar set.
   3640     test -n "${am_cv_prog_tar_ustar}" && break
   3641 
   3642     # tar/untar a dummy directory, and stop if the command works.
   3643     rm -rf conftest.dir
   3644     mkdir conftest.dir
   3645     echo GrepMe > conftest.dir/file
   3646     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3647    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3648    ac_status=$?
   3649    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3650    (exit $ac_status); }
   3651     rm -rf conftest.dir
   3652     if test -s conftest.tar; then
   3653       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3654    ($am__untar <conftest.tar) >&5 2>&5
   3655    ac_status=$?
   3656    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3657    (exit $ac_status); }
   3658       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3659    (cat conftest.dir/file) >&5 2>&5
   3660    ac_status=$?
   3661    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3662    (exit $ac_status); }
   3663       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3664     fi
   3665   done
   3666   rm -rf conftest.dir
   3667 
   3668   if test ${am_cv_prog_tar_ustar+y}
   3669 then :
   3670   printf %s "(cached) " >&6
   3671 else case e in #(
   3672   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3673 esac
   3674 fi
   3675 
   3676   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3677 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   3678 
   3679 
   3680 
   3681 
   3682 
   3683 
   3684 # Variables for tags utilities; see am/tags.am
   3685 if test -z "$CTAGS"; then
   3686   CTAGS=ctags
   3687 fi
   3688 
   3689 if test -z "$ETAGS"; then
   3690   ETAGS=etags
   3691 fi
   3692 
   3693 if test -z "$CSCOPE"; then
   3694   CSCOPE=cscope
   3695 fi
   3696 
   3697 
   3698 
   3699 
   3700 
   3701 
   3702 
   3703 
   3704 # Initialize libtool
   3705 case `pwd` in
   3706   *\ * | *\	*)
   3707     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3708 printf '%s\n' "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3709 esac
   3710 
   3711 
   3712 
   3713 macro_version='2.6.2'
   3714 macro_revision='2.6.2'
   3715 
   3716 
   3717 
   3718 
   3719 
   3720 
   3721 
   3722 
   3723 
   3724 
   3725 
   3726 
   3727 
   3728 
   3729 ltmain=$ac_aux_dir/ltmain.sh
   3730 
   3731 
   3732 
   3733   # Make sure we can run config.sub.
   3734 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3735   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3736 
   3737 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3738 printf %s "checking build system type... " >&6; }
   3739 if test ${ac_cv_build+y}
   3740 then :
   3741   printf %s "(cached) " >&6
   3742 else case e in #(
   3743   e) ac_build_alias=$build_alias
   3744 test "x$ac_build_alias" = x &&
   3745   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3746 test "x$ac_build_alias" = x &&
   3747   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3748 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3749   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3750  ;;
   3751 esac
   3752 fi
   3753 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3754 printf '%s\n' "$ac_cv_build" >&6; }
   3755 case $ac_cv_build in
   3756 *-*-*) ;;
   3757 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3758 esac
   3759 build=$ac_cv_build
   3760 ac_save_IFS=$IFS; IFS='-'
   3761 set x $ac_cv_build
   3762 shift
   3763 build_cpu=$1
   3764 build_vendor=$2
   3765 shift; shift
   3766 # Remember, the first character of IFS is used to create $*,
   3767 # except with old shells:
   3768 build_os=$*
   3769 IFS=$ac_save_IFS
   3770 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   3771 
   3772 
   3773 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3774 printf %s "checking host system type... " >&6; }
   3775 if test ${ac_cv_host+y}
   3776 then :
   3777   printf %s "(cached) " >&6
   3778 else case e in #(
   3779   e) if test "x$host_alias" = x; then
   3780   ac_cv_host=$ac_cv_build
   3781 else
   3782   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3783     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3784 fi
   3785  ;;
   3786 esac
   3787 fi
   3788 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3789 printf '%s\n' "$ac_cv_host" >&6; }
   3790 case $ac_cv_host in
   3791 *-*-*) ;;
   3792 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3793 esac
   3794 host=$ac_cv_host
   3795 ac_save_IFS=$IFS; IFS='-'
   3796 set x $ac_cv_host
   3797 shift
   3798 host_cpu=$1
   3799 host_vendor=$2
   3800 shift; shift
   3801 # Remember, the first character of IFS is used to create $*,
   3802 # except with old shells:
   3803 host_os=$*
   3804 IFS=$ac_save_IFS
   3805 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   3806 
   3807 
   3808 # Backslashify metacharacters that are still active within
   3809 # double-quoted strings.
   3810 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3811 
   3812 # Same as above, but do not quote variable references.
   3813 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3814 
   3815 # Sed substitution to delay expansion of an escaped shell variable in a
   3816 # double_quote_subst'ed string.
   3817 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3818 
   3819 # Sed substitution to delay expansion of an escaped single quote.
   3820 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3821 
   3822 # Sed substitution to avoid accidental globbing in evaled expressions
   3823 no_glob_subst='s/\*/\\\*/g'
   3824 
   3825 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3826 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3827 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3828 
   3829 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3830 printf %s "checking how to print strings... " >&6; }
   3831 # Test print first, because it will be a builtin if present.
   3832 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3833    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3834   ECHO='print -r --'
   3835 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3836   ECHO='printf %s\n'
   3837 else
   3838   # Use this function as a fallback that always works.
   3839   func_fallback_echo ()
   3840   {
   3841     eval 'cat <<_LTECHO_EOF
   3842 $1
   3843 _LTECHO_EOF'
   3844   }
   3845   ECHO='func_fallback_echo'
   3846 fi
   3847 
   3848 # func_echo_all arg...
   3849 # Invoke $ECHO with all args, space-separated.
   3850 func_echo_all ()
   3851 {
   3852     $ECHO ""
   3853 }
   3854 
   3855 case $ECHO in
   3856   printf*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3857 printf '%s\n' "printf" >&6; } ;;
   3858   print*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3859 printf '%s\n' "print -r" >&6; } ;;
   3860   *) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3861 printf '%s\n' "cat" >&6; } ;;
   3862 esac
   3863 
   3864 
   3865 
   3866 
   3867 
   3868 
   3869 
   3870 
   3871 
   3872 
   3873 
   3874 
   3875 
   3876 
   3877 
   3878 
   3879 
   3880 
   3881 
   3882 
   3883 
   3884 
   3885 
   3886 
   3887 
   3888 
   3889 DEPDIR="${am__leading_dot}deps"
   3890 
   3891 ac_config_commands="$ac_config_commands depfiles"
   3892 
   3893 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3894 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3895 cat > confinc.mk << 'END'
   3896 am__doit:
   3897 	@echo this is the am__doit target >confinc.out
   3898 .PHONY: am__doit
   3899 END
   3900 am__include="#"
   3901 am__quote=
   3902 # BSD make does it like this.
   3903 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3904 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3905 echo 'include confinc.mk # ignored' > confmf.GNU
   3906 _am_result=no
   3907 for s in GNU BSD; do
   3908   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3909    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3910    ac_status=$?
   3911    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3912    (exit $ac_status); }
   3913   case $?:`cat confinc.out 2>/dev/null` in #(
   3914   '0:this is the am__doit target') :
   3915     case $s in #(
   3916   BSD) :
   3917     am__include='.include' am__quote='"' ;; #(
   3918   *) :
   3919     am__include='include' am__quote='' ;;
   3920 esac ;; #(
   3921   *) :
   3922      ;;
   3923 esac
   3924   if test "$am__include" != "#"; then
   3925     _am_result="yes ($s style)"
   3926     break
   3927   fi
   3928 done
   3929 rm -f confinc.* confmf.*
   3930 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3931 printf '%s\n' "${_am_result}" >&6; }
   3932 
   3933 # Check whether --enable-dependency-tracking was given.
   3934 if test ${enable_dependency_tracking+y}
   3935 then :
   3936   enableval=$enable_dependency_tracking;
   3937 fi
   3938 
   3939 if test "x$enable_dependency_tracking" != xno; then
   3940   am_depcomp="$ac_aux_dir/depcomp"
   3941   AMDEPBACKSLASH='\'
   3942   am__nodep='_no'
   3943 fi
   3944  if test "x$enable_dependency_tracking" != xno; then
   3945   AMDEP_TRUE=
   3946   AMDEP_FALSE='#'
   3947 else
   3948   AMDEP_TRUE='#'
   3949   AMDEP_FALSE=
   3950 fi
   3951 
   3952 
   3953 ac_ext=c
   3954 ac_cpp='$CPP $CPPFLAGS'
   3955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3958 if test -n "$ac_tool_prefix"; then
   3959   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3960 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3961 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3962 printf %s "checking for $ac_word... " >&6; }
   3963 if test ${ac_cv_prog_CC+y}
   3964 then :
   3965   printf %s "(cached) " >&6
   3966 else case e in #(
   3967   e) if test -n "$CC"; then
   3968   ac_cv_prog_CC="$CC" # Let the user override the test.
   3969 else
   3970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3971 for as_dir in $PATH
   3972 do
   3973   IFS=$as_save_IFS
   3974   case $as_dir in #(((
   3975     '') as_dir=./ ;;
   3976     */) ;;
   3977     *) as_dir=$as_dir/ ;;
   3978   esac
   3979     for ac_exec_ext in '' $ac_executable_extensions; do
   3980   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3981     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3982     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3983     break 2
   3984   fi
   3985 done
   3986   done
   3987 IFS=$as_save_IFS
   3988 
   3989 fi ;;
   3990 esac
   3991 fi
   3992 CC=$ac_cv_prog_CC
   3993 if test -n "$CC"; then
   3994   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3995 printf '%s\n' "$CC" >&6; }
   3996 else
   3997   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3998 printf '%s\n' "no" >&6; }
   3999 fi
   4000 
   4001 
   4002 fi
   4003 if test -z "$ac_cv_prog_CC"; then
   4004   ac_ct_CC=$CC
   4005   # Extract the first word of "gcc", so it can be a program name with args.
   4006 set dummy gcc; ac_word=$2
   4007 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4008 printf %s "checking for $ac_word... " >&6; }
   4009 if test ${ac_cv_prog_ac_ct_CC+y}
   4010 then :
   4011   printf %s "(cached) " >&6
   4012 else case e in #(
   4013   e) if test -n "$ac_ct_CC"; then
   4014   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4015 else
   4016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4017 for as_dir in $PATH
   4018 do
   4019   IFS=$as_save_IFS
   4020   case $as_dir in #(((
   4021     '') as_dir=./ ;;
   4022     */) ;;
   4023     *) as_dir=$as_dir/ ;;
   4024   esac
   4025     for ac_exec_ext in '' $ac_executable_extensions; do
   4026   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4027     ac_cv_prog_ac_ct_CC="gcc"
   4028     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4029     break 2
   4030   fi
   4031 done
   4032   done
   4033 IFS=$as_save_IFS
   4034 
   4035 fi ;;
   4036 esac
   4037 fi
   4038 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4039 if test -n "$ac_ct_CC"; then
   4040   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4041 printf '%s\n' "$ac_ct_CC" >&6; }
   4042 else
   4043   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4044 printf '%s\n' "no" >&6; }
   4045 fi
   4046 
   4047   if test "x$ac_ct_CC" = x; then
   4048     CC=""
   4049   else
   4050     case $cross_compiling:$ac_tool_warned in
   4051 yes:)
   4052 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4053 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4054 ac_tool_warned=yes ;;
   4055 esac
   4056     CC=$ac_ct_CC
   4057   fi
   4058 else
   4059   CC="$ac_cv_prog_CC"
   4060 fi
   4061 
   4062 if test -z "$CC"; then
   4063           if test -n "$ac_tool_prefix"; then
   4064     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4065 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4066 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4067 printf %s "checking for $ac_word... " >&6; }
   4068 if test ${ac_cv_prog_CC+y}
   4069 then :
   4070   printf %s "(cached) " >&6
   4071 else case e in #(
   4072   e) if test -n "$CC"; then
   4073   ac_cv_prog_CC="$CC" # Let the user override the test.
   4074 else
   4075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4076 for as_dir in $PATH
   4077 do
   4078   IFS=$as_save_IFS
   4079   case $as_dir in #(((
   4080     '') as_dir=./ ;;
   4081     */) ;;
   4082     *) as_dir=$as_dir/ ;;
   4083   esac
   4084     for ac_exec_ext in '' $ac_executable_extensions; do
   4085   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4086     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4087     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4088     break 2
   4089   fi
   4090 done
   4091   done
   4092 IFS=$as_save_IFS
   4093 
   4094 fi ;;
   4095 esac
   4096 fi
   4097 CC=$ac_cv_prog_CC
   4098 if test -n "$CC"; then
   4099   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4100 printf '%s\n' "$CC" >&6; }
   4101 else
   4102   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4103 printf '%s\n' "no" >&6; }
   4104 fi
   4105 
   4106 
   4107   fi
   4108 fi
   4109 if test -z "$CC"; then
   4110   # Extract the first word of "cc", so it can be a program name with args.
   4111 set dummy cc; ac_word=$2
   4112 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4113 printf %s "checking for $ac_word... " >&6; }
   4114 if test ${ac_cv_prog_CC+y}
   4115 then :
   4116   printf %s "(cached) " >&6
   4117 else case e in #(
   4118   e) if test -n "$CC"; then
   4119   ac_cv_prog_CC="$CC" # Let the user override the test.
   4120 else
   4121   ac_prog_rejected=no
   4122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4123 for as_dir in $PATH
   4124 do
   4125   IFS=$as_save_IFS
   4126   case $as_dir in #(((
   4127     '') as_dir=./ ;;
   4128     */) ;;
   4129     *) as_dir=$as_dir/ ;;
   4130   esac
   4131     for ac_exec_ext in '' $ac_executable_extensions; do
   4132   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4133     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4134        ac_prog_rejected=yes
   4135        continue
   4136      fi
   4137     ac_cv_prog_CC="cc"
   4138     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4139     break 2
   4140   fi
   4141 done
   4142   done
   4143 IFS=$as_save_IFS
   4144 
   4145 if test $ac_prog_rejected = yes; then
   4146   # We found a bogon in the path, so make sure we never use it.
   4147   set dummy $ac_cv_prog_CC
   4148   shift
   4149   if test $# != 0; then
   4150     # We chose a different compiler from the bogus one.
   4151     # However, it has the same basename, so the bogon will be chosen
   4152     # first if we set CC to just the basename; use the full file name.
   4153     shift
   4154     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4155   fi
   4156 fi
   4157 fi ;;
   4158 esac
   4159 fi
   4160 CC=$ac_cv_prog_CC
   4161 if test -n "$CC"; then
   4162   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4163 printf '%s\n' "$CC" >&6; }
   4164 else
   4165   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4166 printf '%s\n' "no" >&6; }
   4167 fi
   4168 
   4169 
   4170 fi
   4171 if test -z "$CC"; then
   4172   if test -n "$ac_tool_prefix"; then
   4173   for ac_prog in cl.exe
   4174   do
   4175     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4176 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4177 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4178 printf %s "checking for $ac_word... " >&6; }
   4179 if test ${ac_cv_prog_CC+y}
   4180 then :
   4181   printf %s "(cached) " >&6
   4182 else case e in #(
   4183   e) if test -n "$CC"; then
   4184   ac_cv_prog_CC="$CC" # Let the user override the test.
   4185 else
   4186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4187 for as_dir in $PATH
   4188 do
   4189   IFS=$as_save_IFS
   4190   case $as_dir in #(((
   4191     '') as_dir=./ ;;
   4192     */) ;;
   4193     *) as_dir=$as_dir/ ;;
   4194   esac
   4195     for ac_exec_ext in '' $ac_executable_extensions; do
   4196   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4197     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4198     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4199     break 2
   4200   fi
   4201 done
   4202   done
   4203 IFS=$as_save_IFS
   4204 
   4205 fi ;;
   4206 esac
   4207 fi
   4208 CC=$ac_cv_prog_CC
   4209 if test -n "$CC"; then
   4210   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4211 printf '%s\n' "$CC" >&6; }
   4212 else
   4213   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4214 printf '%s\n' "no" >&6; }
   4215 fi
   4216 
   4217 
   4218     test -n "$CC" && break
   4219   done
   4220 fi
   4221 if test -z "$CC"; then
   4222   ac_ct_CC=$CC
   4223   for ac_prog in cl.exe
   4224 do
   4225   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4226 set dummy $ac_prog; ac_word=$2
   4227 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4228 printf %s "checking for $ac_word... " >&6; }
   4229 if test ${ac_cv_prog_ac_ct_CC+y}
   4230 then :
   4231   printf %s "(cached) " >&6
   4232 else case e in #(
   4233   e) if test -n "$ac_ct_CC"; then
   4234   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4235 else
   4236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4237 for as_dir in $PATH
   4238 do
   4239   IFS=$as_save_IFS
   4240   case $as_dir in #(((
   4241     '') as_dir=./ ;;
   4242     */) ;;
   4243     *) as_dir=$as_dir/ ;;
   4244   esac
   4245     for ac_exec_ext in '' $ac_executable_extensions; do
   4246   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4247     ac_cv_prog_ac_ct_CC="$ac_prog"
   4248     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4249     break 2
   4250   fi
   4251 done
   4252   done
   4253 IFS=$as_save_IFS
   4254 
   4255 fi ;;
   4256 esac
   4257 fi
   4258 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4259 if test -n "$ac_ct_CC"; then
   4260   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4261 printf '%s\n' "$ac_ct_CC" >&6; }
   4262 else
   4263   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4264 printf '%s\n' "no" >&6; }
   4265 fi
   4266 
   4267 
   4268   test -n "$ac_ct_CC" && break
   4269 done
   4270 
   4271   if test "x$ac_ct_CC" = x; then
   4272     CC=""
   4273   else
   4274     case $cross_compiling:$ac_tool_warned in
   4275 yes:)
   4276 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4277 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4278 ac_tool_warned=yes ;;
   4279 esac
   4280     CC=$ac_ct_CC
   4281   fi
   4282 fi
   4283 
   4284 fi
   4285 if test -z "$CC"; then
   4286   if test -n "$ac_tool_prefix"; then
   4287   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4288 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4289 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4290 printf %s "checking for $ac_word... " >&6; }
   4291 if test ${ac_cv_prog_CC+y}
   4292 then :
   4293   printf %s "(cached) " >&6
   4294 else case e in #(
   4295   e) if test -n "$CC"; then
   4296   ac_cv_prog_CC="$CC" # Let the user override the test.
   4297 else
   4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4299 for as_dir in $PATH
   4300 do
   4301   IFS=$as_save_IFS
   4302   case $as_dir in #(((
   4303     '') as_dir=./ ;;
   4304     */) ;;
   4305     *) as_dir=$as_dir/ ;;
   4306   esac
   4307     for ac_exec_ext in '' $ac_executable_extensions; do
   4308   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4309     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4310     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4311     break 2
   4312   fi
   4313 done
   4314   done
   4315 IFS=$as_save_IFS
   4316 
   4317 fi ;;
   4318 esac
   4319 fi
   4320 CC=$ac_cv_prog_CC
   4321 if test -n "$CC"; then
   4322   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4323 printf '%s\n' "$CC" >&6; }
   4324 else
   4325   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4326 printf '%s\n' "no" >&6; }
   4327 fi
   4328 
   4329 
   4330 fi
   4331 if test -z "$ac_cv_prog_CC"; then
   4332   ac_ct_CC=$CC
   4333   # Extract the first word of "clang", so it can be a program name with args.
   4334 set dummy clang; ac_word=$2
   4335 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4336 printf %s "checking for $ac_word... " >&6; }
   4337 if test ${ac_cv_prog_ac_ct_CC+y}
   4338 then :
   4339   printf %s "(cached) " >&6
   4340 else case e in #(
   4341   e) if test -n "$ac_ct_CC"; then
   4342   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4343 else
   4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4345 for as_dir in $PATH
   4346 do
   4347   IFS=$as_save_IFS
   4348   case $as_dir in #(((
   4349     '') as_dir=./ ;;
   4350     */) ;;
   4351     *) as_dir=$as_dir/ ;;
   4352   esac
   4353     for ac_exec_ext in '' $ac_executable_extensions; do
   4354   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4355     ac_cv_prog_ac_ct_CC="clang"
   4356     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4357     break 2
   4358   fi
   4359 done
   4360   done
   4361 IFS=$as_save_IFS
   4362 
   4363 fi ;;
   4364 esac
   4365 fi
   4366 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4367 if test -n "$ac_ct_CC"; then
   4368   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4369 printf '%s\n' "$ac_ct_CC" >&6; }
   4370 else
   4371   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4372 printf '%s\n' "no" >&6; }
   4373 fi
   4374 
   4375   if test "x$ac_ct_CC" = x; then
   4376     CC=""
   4377   else
   4378     case $cross_compiling:$ac_tool_warned in
   4379 yes:)
   4380 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4381 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4382 ac_tool_warned=yes ;;
   4383 esac
   4384     CC=$ac_ct_CC
   4385   fi
   4386 else
   4387   CC="$ac_cv_prog_CC"
   4388 fi
   4389 
   4390 fi
   4391 
   4392 
   4393 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4394 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4395 as_fn_error $? "no acceptable C compiler found in \$PATH
   4396 See 'config.log' for more details" "$LINENO" 5; }
   4397 
   4398 # Provide some information about the compiler.
   4399 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4400 set X $ac_compile
   4401 ac_compiler=$2
   4402 for ac_option in --version -v -V -qversion -version; do
   4403   { { ac_try="$ac_compiler $ac_option >&5"
   4404 case "(($ac_try" in
   4405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4406   *) ac_try_echo=$ac_try;;
   4407 esac
   4408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4409 printf '%s\n' "$ac_try_echo"; } >&5
   4410   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4411   ac_status=$?
   4412   if test -s conftest.err; then
   4413     sed '10a\
   4414 ... rest of stderr output deleted ...
   4415          10q' conftest.err >conftest.er1
   4416     cat conftest.er1 >&5
   4417   fi
   4418   rm -f conftest.er1 conftest.err
   4419   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4420   test $ac_status = 0; }
   4421 done
   4422 
   4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4424 /* end confdefs.h.  */
   4425 
   4426 int
   4427 main (void)
   4428 {
   4429 
   4430   ;
   4431   return 0;
   4432 }
   4433 _ACEOF
   4434 ac_clean_files_save=$ac_clean_files
   4435 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4436 # Try to create an executable without -o first, disregard a.out.
   4437 # It will help us diagnose broken compilers, and finding out an intuition
   4438 # of exeext.
   4439 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4440 printf %s "checking whether the C compiler works... " >&6; }
   4441 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4442 
   4443 # The possible output files:
   4444 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4445 
   4446 ac_rmfiles=
   4447 for ac_file in $ac_files
   4448 do
   4449   case $ac_file in
   4450     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4451     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4452   esac
   4453 done
   4454 rm -f $ac_rmfiles
   4455 
   4456 if { { ac_try="$ac_link_default"
   4457 case "(($ac_try" in
   4458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4459   *) ac_try_echo=$ac_try;;
   4460 esac
   4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4462 printf '%s\n' "$ac_try_echo"; } >&5
   4463   (eval "$ac_link_default") 2>&5
   4464   ac_status=$?
   4465   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4466   test $ac_status = 0; }
   4467 then :
   4468   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4469 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4470 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4471 # so that the user can short-circuit this test for compilers unknown to
   4472 # Autoconf.
   4473 for ac_file in $ac_files ''
   4474 do
   4475   test -f "$ac_file" || continue
   4476   case $ac_file in
   4477     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4478 	;;
   4479     [ab].out )
   4480 	# We found the default executable, but exeext='' is most
   4481 	# certainly right.
   4482 	break;;
   4483     *.* )
   4484 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4485 	then :; else
   4486 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4487 	fi
   4488 	# We set ac_cv_exeext here because the later test for it is not
   4489 	# safe: cross compilers may not add the suffix if given an '-o'
   4490 	# argument, so we may need to know it at that point already.
   4491 	# Even if this section looks crufty: it has the advantage of
   4492 	# actually working.
   4493 	break;;
   4494     * )
   4495 	break;;
   4496   esac
   4497 done
   4498 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4499 
   4500 else case e in #(
   4501   e) ac_file='' ;;
   4502 esac
   4503 fi
   4504 if test -z "$ac_file"
   4505 then :
   4506   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4507 printf '%s\n' "no" >&6; }
   4508 printf '%s\n' "$as_me: failed program was:" >&5
   4509 sed 's/^/| /' conftest.$ac_ext >&5
   4510 
   4511 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4512 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4513 as_fn_error 77 "C compiler cannot create executables
   4514 See 'config.log' for more details" "$LINENO" 5; }
   4515 else case e in #(
   4516   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4517 printf '%s\n' "yes" >&6; } ;;
   4518 esac
   4519 fi
   4520 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4521 printf %s "checking for C compiler default output file name... " >&6; }
   4522 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4523 printf '%s\n' "$ac_file" >&6; }
   4524 ac_exeext=$ac_cv_exeext
   4525 
   4526 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4527 ac_clean_files=$ac_clean_files_save
   4528 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4529 printf %s "checking for suffix of executables... " >&6; }
   4530 if { { ac_try="$ac_link"
   4531 case "(($ac_try" in
   4532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4533   *) ac_try_echo=$ac_try;;
   4534 esac
   4535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4536 printf '%s\n' "$ac_try_echo"; } >&5
   4537   (eval "$ac_link") 2>&5
   4538   ac_status=$?
   4539   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4540   test $ac_status = 0; }
   4541 then :
   4542   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4543 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4544 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4545 # 'rm'.
   4546 for ac_file in conftest.exe conftest conftest.*; do
   4547   test -f "$ac_file" || continue
   4548   case $ac_file in
   4549     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4550     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4551 	  break;;
   4552     * ) break;;
   4553   esac
   4554 done
   4555 else case e in #(
   4556   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4557 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4558 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4559 See 'config.log' for more details" "$LINENO" 5; } ;;
   4560 esac
   4561 fi
   4562 rm -f conftest conftest$ac_cv_exeext
   4563 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4564 printf '%s\n' "$ac_cv_exeext" >&6; }
   4565 
   4566 rm -f conftest.$ac_ext
   4567 EXEEXT=$ac_cv_exeext
   4568 ac_exeext=$EXEEXT
   4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4570 /* end confdefs.h.  */
   4571 #include <stdio.h>
   4572 int
   4573 main (void)
   4574 {
   4575 FILE *f = fopen ("conftest.out", "w");
   4576  if (!f)
   4577   return 1;
   4578  return ferror (f) || fclose (f) != 0;
   4579 
   4580   ;
   4581   return 0;
   4582 }
   4583 _ACEOF
   4584 ac_clean_files="$ac_clean_files conftest.out"
   4585 # Check that the compiler produces executables we can run.  If not, either
   4586 # the compiler is broken, or we cross compile.
   4587 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4588 printf %s "checking whether we are cross compiling... " >&6; }
   4589 if test "$cross_compiling" != yes; then
   4590   { { ac_try="$ac_link"
   4591 case "(($ac_try" in
   4592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4593   *) ac_try_echo=$ac_try;;
   4594 esac
   4595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4596 printf '%s\n' "$ac_try_echo"; } >&5
   4597   (eval "$ac_link") 2>&5
   4598   ac_status=$?
   4599   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4600   test $ac_status = 0; }
   4601   if { ac_try='./conftest$ac_cv_exeext'
   4602   { { case "(($ac_try" in
   4603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4604   *) ac_try_echo=$ac_try;;
   4605 esac
   4606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4607 printf '%s\n' "$ac_try_echo"; } >&5
   4608   (eval "$ac_try") 2>&5
   4609   ac_status=$?
   4610   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4611   test $ac_status = 0; }; }; then
   4612     cross_compiling=no
   4613   else
   4614     if test "$cross_compiling" = maybe; then
   4615 	cross_compiling=yes
   4616     else
   4617 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4618 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4619 as_fn_error 77 "cannot run C compiled programs.
   4620 If you meant to cross compile, use '--host'.
   4621 See 'config.log' for more details" "$LINENO" 5; }
   4622     fi
   4623   fi
   4624 fi
   4625 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4626 printf '%s\n' "$cross_compiling" >&6; }
   4627 
   4628 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4629   conftest.o conftest.obj conftest.out
   4630 ac_clean_files=$ac_clean_files_save
   4631 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4632 printf %s "checking for suffix of object files... " >&6; }
   4633 if test ${ac_cv_objext+y}
   4634 then :
   4635   printf %s "(cached) " >&6
   4636 else case e in #(
   4637   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4638 /* end confdefs.h.  */
   4639 
   4640 int
   4641 main (void)
   4642 {
   4643 
   4644   ;
   4645   return 0;
   4646 }
   4647 _ACEOF
   4648 rm -f conftest.o conftest.obj
   4649 if { { ac_try="$ac_compile"
   4650 case "(($ac_try" in
   4651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4652   *) ac_try_echo=$ac_try;;
   4653 esac
   4654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4655 printf '%s\n' "$ac_try_echo"; } >&5
   4656   (eval "$ac_compile") 2>&5
   4657   ac_status=$?
   4658   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4659   test $ac_status = 0; }
   4660 then :
   4661   for ac_file in conftest.o conftest.obj conftest.*; do
   4662   test -f "$ac_file" || continue;
   4663   case $ac_file in
   4664     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4665     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4666        break;;
   4667   esac
   4668 done
   4669 else case e in #(
   4670   e) printf '%s\n' "$as_me: failed program was:" >&5
   4671 sed 's/^/| /' conftest.$ac_ext >&5
   4672 
   4673 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4674 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4675 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4676 See 'config.log' for more details" "$LINENO" 5; } ;;
   4677 esac
   4678 fi
   4679 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4680 esac
   4681 fi
   4682 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4683 printf '%s\n' "$ac_cv_objext" >&6; }
   4684 OBJEXT=$ac_cv_objext
   4685 ac_objext=$OBJEXT
   4686 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4687 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4688 if test ${ac_cv_c_compiler_gnu+y}
   4689 then :
   4690   printf %s "(cached) " >&6
   4691 else case e in #(
   4692   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4693 /* end confdefs.h.  */
   4694 
   4695 int
   4696 main (void)
   4697 {
   4698 #ifndef __GNUC__
   4699        choke me
   4700 #endif
   4701 
   4702   ;
   4703   return 0;
   4704 }
   4705 _ACEOF
   4706 if ac_fn_c_try_compile "$LINENO"
   4707 then :
   4708   ac_compiler_gnu=yes
   4709 else case e in #(
   4710   e) ac_compiler_gnu=no ;;
   4711 esac
   4712 fi
   4713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4714 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4715  ;;
   4716 esac
   4717 fi
   4718 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4719 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   4720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4721 
   4722 if test $ac_compiler_gnu = yes; then
   4723   GCC=yes
   4724 else
   4725   GCC=
   4726 fi
   4727 ac_test_CFLAGS=${CFLAGS+y}
   4728 ac_save_CFLAGS=$CFLAGS
   4729 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4730 printf %s "checking whether $CC accepts -g... " >&6; }
   4731 if test ${ac_cv_prog_cc_g+y}
   4732 then :
   4733   printf %s "(cached) " >&6
   4734 else case e in #(
   4735   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4736    ac_c_werror_flag=yes
   4737    ac_cv_prog_cc_g=no
   4738    CFLAGS="-g"
   4739    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4740 /* end confdefs.h.  */
   4741 
   4742 int
   4743 main (void)
   4744 {
   4745 
   4746   ;
   4747   return 0;
   4748 }
   4749 _ACEOF
   4750 if ac_fn_c_try_compile "$LINENO"
   4751 then :
   4752   ac_cv_prog_cc_g=yes
   4753 else case e in #(
   4754   e) CFLAGS=""
   4755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4756 /* end confdefs.h.  */
   4757 
   4758 int
   4759 main (void)
   4760 {
   4761 
   4762   ;
   4763   return 0;
   4764 }
   4765 _ACEOF
   4766 if ac_fn_c_try_compile "$LINENO"
   4767 then :
   4768 
   4769 else case e in #(
   4770   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4771 	 CFLAGS="-g"
   4772 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4773 /* end confdefs.h.  */
   4774 
   4775 int
   4776 main (void)
   4777 {
   4778 
   4779   ;
   4780   return 0;
   4781 }
   4782 _ACEOF
   4783 if ac_fn_c_try_compile "$LINENO"
   4784 then :
   4785   ac_cv_prog_cc_g=yes
   4786 fi
   4787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4788 esac
   4789 fi
   4790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4791 esac
   4792 fi
   4793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4794    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4795 esac
   4796 fi
   4797 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4798 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   4799 if test $ac_test_CFLAGS; then
   4800   CFLAGS=$ac_save_CFLAGS
   4801 elif test $ac_cv_prog_cc_g = yes; then
   4802   if test "$GCC" = yes; then
   4803     CFLAGS="-g -O2"
   4804   else
   4805     CFLAGS="-g"
   4806   fi
   4807 else
   4808   if test "$GCC" = yes; then
   4809     CFLAGS="-O2"
   4810   else
   4811     CFLAGS=
   4812   fi
   4813 fi
   4814 ac_prog_cc_stdc=no
   4815 if test x$ac_prog_cc_stdc = xno
   4816 then :
   4817   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   4818 printf %s "checking for $CC option to enable C23 features... " >&6; }
   4819 if test ${ac_cv_prog_cc_c23+y}
   4820 then :
   4821   printf %s "(cached) " >&6
   4822 else case e in #(
   4823   e) ac_cv_prog_cc_c23=no
   4824 ac_save_CC=$CC
   4825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4826 /* end confdefs.h.  */
   4827 $ac_c_conftest_c23_program
   4828 _ACEOF
   4829 for ac_arg in '' -std=gnu23
   4830 do
   4831   CC="$ac_save_CC $ac_arg"
   4832   if ac_fn_c_try_compile "$LINENO"
   4833 then :
   4834   ac_cv_prog_cc_c23=$ac_arg
   4835 fi
   4836 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4837   test "x$ac_cv_prog_cc_c23" != "xno" && break
   4838 done
   4839 rm -f conftest.$ac_ext
   4840 CC=$ac_save_CC ;;
   4841 esac
   4842 fi
   4843 
   4844 if test "x$ac_cv_prog_cc_c23" = xno
   4845 then :
   4846   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4847 printf '%s\n' "unsupported" >&6; }
   4848 else case e in #(
   4849   e) if test "x$ac_cv_prog_cc_c23" = x
   4850 then :
   4851   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4852 printf '%s\n' "none needed" >&6; }
   4853 else case e in #(
   4854   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   4855 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   4856      CC="$CC $ac_cv_prog_cc_c23" ;;
   4857 esac
   4858 fi
   4859   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   4860   ac_prog_cc_stdc=c23 ;;
   4861 esac
   4862 fi
   4863 fi
   4864 if test x$ac_prog_cc_stdc = xno
   4865 then :
   4866   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4867 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4868 if test ${ac_cv_prog_cc_c11+y}
   4869 then :
   4870   printf %s "(cached) " >&6
   4871 else case e in #(
   4872   e) ac_cv_prog_cc_c11=no
   4873 ac_save_CC=$CC
   4874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4875 /* end confdefs.h.  */
   4876 $ac_c_conftest_c11_program
   4877 _ACEOF
   4878 for ac_arg in '' -std=gnu11 -std:c11
   4879 do
   4880   CC="$ac_save_CC $ac_arg"
   4881   if ac_fn_c_try_compile "$LINENO"
   4882 then :
   4883   ac_cv_prog_cc_c11=$ac_arg
   4884 fi
   4885 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4886   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4887 done
   4888 rm -f conftest.$ac_ext
   4889 CC=$ac_save_CC ;;
   4890 esac
   4891 fi
   4892 
   4893 if test "x$ac_cv_prog_cc_c11" = xno
   4894 then :
   4895   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4896 printf '%s\n' "unsupported" >&6; }
   4897 else case e in #(
   4898   e) if test "x$ac_cv_prog_cc_c11" = x
   4899 then :
   4900   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4901 printf '%s\n' "none needed" >&6; }
   4902 else case e in #(
   4903   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4904 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   4905      CC="$CC $ac_cv_prog_cc_c11" ;;
   4906 esac
   4907 fi
   4908   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4909   ac_prog_cc_stdc=c11 ;;
   4910 esac
   4911 fi
   4912 fi
   4913 if test x$ac_prog_cc_stdc = xno
   4914 then :
   4915   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4916 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4917 if test ${ac_cv_prog_cc_c99+y}
   4918 then :
   4919   printf %s "(cached) " >&6
   4920 else case e in #(
   4921   e) ac_cv_prog_cc_c99=no
   4922 ac_save_CC=$CC
   4923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4924 /* end confdefs.h.  */
   4925 $ac_c_conftest_c99_program
   4926 _ACEOF
   4927 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4928 do
   4929   CC="$ac_save_CC $ac_arg"
   4930   if ac_fn_c_try_compile "$LINENO"
   4931 then :
   4932   ac_cv_prog_cc_c99=$ac_arg
   4933 fi
   4934 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4935   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4936 done
   4937 rm -f conftest.$ac_ext
   4938 CC=$ac_save_CC ;;
   4939 esac
   4940 fi
   4941 
   4942 if test "x$ac_cv_prog_cc_c99" = xno
   4943 then :
   4944   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4945 printf '%s\n' "unsupported" >&6; }
   4946 else case e in #(
   4947   e) if test "x$ac_cv_prog_cc_c99" = x
   4948 then :
   4949   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4950 printf '%s\n' "none needed" >&6; }
   4951 else case e in #(
   4952   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4953 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   4954      CC="$CC $ac_cv_prog_cc_c99" ;;
   4955 esac
   4956 fi
   4957   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4958   ac_prog_cc_stdc=c99 ;;
   4959 esac
   4960 fi
   4961 fi
   4962 if test x$ac_prog_cc_stdc = xno
   4963 then :
   4964   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4965 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4966 if test ${ac_cv_prog_cc_c89+y}
   4967 then :
   4968   printf %s "(cached) " >&6
   4969 else case e in #(
   4970   e) ac_cv_prog_cc_c89=no
   4971 ac_save_CC=$CC
   4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4973 /* end confdefs.h.  */
   4974 $ac_c_conftest_c89_program
   4975 _ACEOF
   4976 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4977 do
   4978   CC="$ac_save_CC $ac_arg"
   4979   if ac_fn_c_try_compile "$LINENO"
   4980 then :
   4981   ac_cv_prog_cc_c89=$ac_arg
   4982 fi
   4983 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4984   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4985 done
   4986 rm -f conftest.$ac_ext
   4987 CC=$ac_save_CC ;;
   4988 esac
   4989 fi
   4990 
   4991 if test "x$ac_cv_prog_cc_c89" = xno
   4992 then :
   4993   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4994 printf '%s\n' "unsupported" >&6; }
   4995 else case e in #(
   4996   e) if test "x$ac_cv_prog_cc_c89" = x
   4997 then :
   4998   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4999 printf '%s\n' "none needed" >&6; }
   5000 else case e in #(
   5001   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5002 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   5003      CC="$CC $ac_cv_prog_cc_c89" ;;
   5004 esac
   5005 fi
   5006   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   5007   ac_prog_cc_stdc=c89 ;;
   5008 esac
   5009 fi
   5010 fi
   5011 
   5012 ac_ext=c
   5013 ac_cpp='$CPP $CPPFLAGS'
   5014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5017 
   5018 
   5019   ac_ext=c
   5020 ac_cpp='$CPP $CPPFLAGS'
   5021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5024 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5025 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   5026 if test ${am_cv_prog_cc_c_o+y}
   5027 then :
   5028   printf %s "(cached) " >&6
   5029 else case e in #(
   5030   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5031 /* end confdefs.h.  */
   5032 
   5033 int
   5034 main (void)
   5035 {
   5036 
   5037   ;
   5038   return 0;
   5039 }
   5040 _ACEOF
   5041   # Make sure it works both with $CC and with simple cc.
   5042   # Following AC_PROG_CC_C_O, we do the test twice because some
   5043   # compilers refuse to overwrite an existing .o file with -o,
   5044   # though they will create one.
   5045   am_cv_prog_cc_c_o=yes
   5046   for am_i in 1 2; do
   5047     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5048    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5049    ac_status=$?
   5050    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5051    (exit $ac_status); } \
   5052          && test -f conftest2.$ac_objext; then
   5053       : OK
   5054     else
   5055       am_cv_prog_cc_c_o=no
   5056       break
   5057     fi
   5058   done
   5059   # aligned with autoconf, so not including core; see bug#72225.
   5060   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   5061     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   5062     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   5063   unset am_i ;;
   5064 esac
   5065 fi
   5066 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5067 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   5068 if test "$am_cv_prog_cc_c_o" != yes; then
   5069    # Losing compiler, so override with the script.
   5070    # FIXME: It is wrong to rewrite CC.
   5071    # But if we don't then we get into trouble of one sort or another.
   5072    # A longer-term fix would be to have automake use am__CC in this case,
   5073    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5074    CC="$am_aux_dir/compile $CC"
   5075 fi
   5076 ac_ext=c
   5077 ac_cpp='$CPP $CPPFLAGS'
   5078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5081 
   5082 
   5083 depcc="$CC"   am_compiler_list=
   5084 
   5085 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5086 printf %s "checking dependency style of $depcc... " >&6; }
   5087 if test ${am_cv_CC_dependencies_compiler_type+y}
   5088 then :
   5089   printf %s "(cached) " >&6
   5090 else case e in #(
   5091   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5092   # We make a subdir and do the tests there.  Otherwise we can end up
   5093   # making bogus files that we don't know about and never remove.  For
   5094   # instance it was reported that on HP-UX the gcc test will end up
   5095   # making a dummy file named 'D' -- because '-MD' means "put the output
   5096   # in D".
   5097   rm -rf conftest.dir
   5098   mkdir conftest.dir
   5099   # Copy depcomp to subdir because otherwise we won't find it if we're
   5100   # using a relative directory.
   5101   cp "$am_depcomp" conftest.dir
   5102   cd conftest.dir
   5103   # We will build objects and dependencies in a subdirectory because
   5104   # it helps to detect inapplicable dependency modes.  For instance
   5105   # both Tru64's cc and ICC support -MD to output dependencies as a
   5106   # side effect of compilation, but ICC will put the dependencies in
   5107   # the current directory while Tru64 will put them in the object
   5108   # directory.
   5109   mkdir sub
   5110 
   5111   am_cv_CC_dependencies_compiler_type=none
   5112   if test "$am_compiler_list" = ""; then
   5113      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5114   fi
   5115   am__universal=false
   5116   case " $depcc " in #(
   5117      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5118      esac
   5119 
   5120   for depmode in $am_compiler_list; do
   5121     # Setup a source with many dependencies, because some compilers
   5122     # like to wrap large dependency lists on column 80 (with \), and
   5123     # we should not choose a depcomp mode which is confused by this.
   5124     #
   5125     # We need to recreate these files for each test, as the compiler may
   5126     # overwrite some of them when testing with obscure command lines.
   5127     # This happens at least with the AIX C compiler.
   5128     : > sub/conftest.c
   5129     for i in 1 2 3 4 5 6; do
   5130       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5131       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5132       # Solaris 10 /bin/sh.
   5133       echo '/* dummy */' > sub/conftst$i.h
   5134     done
   5135     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5136 
   5137     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5138     # mode.  It turns out that the SunPro C++ compiler does not properly
   5139     # handle '-M -o', and we need to detect this.  Also, some Intel
   5140     # versions had trouble with output in subdirs.
   5141     am__obj=sub/conftest.${OBJEXT-o}
   5142     am__minus_obj="-o $am__obj"
   5143     case $depmode in
   5144     gcc)
   5145       # This depmode causes a compiler race in universal mode.
   5146       test "$am__universal" = false || continue
   5147       ;;
   5148     nosideeffect)
   5149       # After this tag, mechanisms are not by side-effect, so they'll
   5150       # only be used when explicitly requested.
   5151       if test "x$enable_dependency_tracking" = xyes; then
   5152 	continue
   5153       else
   5154 	break
   5155       fi
   5156       ;;
   5157     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5158       # This compiler won't grok '-c -o', but also, the minuso test has
   5159       # not run yet.  These depmodes are late enough in the game, and
   5160       # so weak that their functioning should not be impacted.
   5161       am__obj=conftest.${OBJEXT-o}
   5162       am__minus_obj=
   5163       ;;
   5164     none) break ;;
   5165     esac
   5166     if depmode=$depmode \
   5167        source=sub/conftest.c object=$am__obj \
   5168        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5169        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5170          >/dev/null 2>conftest.err &&
   5171        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5172        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5173        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5174        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5175       # icc doesn't choke on unknown options, it will just issue warnings
   5176       # or remarks (even with -Werror).  So we grep stderr for any message
   5177       # that says an option was ignored or not supported.
   5178       # When given -MP, icc 7.0 and 7.1 complain thus:
   5179       #   icc: Command line warning: ignoring option '-M'; no argument required
   5180       # The diagnosis changed in icc 8.0:
   5181       #   icc: Command line remark: option '-MP' not supported
   5182       if (grep 'ignoring option' conftest.err ||
   5183           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5184         am_cv_CC_dependencies_compiler_type=$depmode
   5185         break
   5186       fi
   5187     fi
   5188   done
   5189 
   5190   cd ..
   5191   rm -rf conftest.dir
   5192 else
   5193   am_cv_CC_dependencies_compiler_type=none
   5194 fi
   5195  ;;
   5196 esac
   5197 fi
   5198 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5199 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   5200 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5201 
   5202  if
   5203   test "x$enable_dependency_tracking" != xno \
   5204   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5205   am__fastdepCC_TRUE=
   5206   am__fastdepCC_FALSE='#'
   5207 else
   5208   am__fastdepCC_TRUE='#'
   5209   am__fastdepCC_FALSE=
   5210 fi
   5211 
   5212 
   5213 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5214 printf %s "checking for a sed that does not truncate output... " >&6; }
   5215 if test ${ac_cv_path_SED+y}
   5216 then :
   5217   printf %s "(cached) " >&6
   5218 else case e in #(
   5219   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5220      for ac_i in 1 2 3 4 5 6 7; do
   5221        ac_script="$ac_script$as_nl$ac_script"
   5222      done
   5223      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5224      { ac_script=; unset ac_script;}
   5225      if test -z "$SED"; then
   5226   ac_path_SED_found=false
   5227   # Loop through the user's path and test for each of PROGNAME-LIST
   5228   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5229 for as_dir in $PATH
   5230 do
   5231   IFS=$as_save_IFS
   5232   case $as_dir in #(((
   5233     '') as_dir=./ ;;
   5234     */) ;;
   5235     *) as_dir=$as_dir/ ;;
   5236   esac
   5237     for ac_prog in sed gsed
   5238    do
   5239     for ac_exec_ext in '' $ac_executable_extensions; do
   5240       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5241       as_fn_executable_p "$ac_path_SED" || continue
   5242 # Check for GNU ac_path_SED and select it if it is found.
   5243   # Check for GNU $ac_path_SED
   5244 case `"$ac_path_SED" --version 2>&1` in #(
   5245 *GNU*)
   5246   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5247 #(
   5248 *)
   5249   ac_count=0
   5250   printf %s 0123456789 >"conftest.in"
   5251   while :
   5252   do
   5253     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5254     mv "conftest.tmp" "conftest.in"
   5255     cp "conftest.in" "conftest.nl"
   5256     printf '%s\n' '' >> "conftest.nl"
   5257     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5258     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5259     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5260     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5261       # Best one so far, save it but keep looking for a better one
   5262       ac_cv_path_SED="$ac_path_SED"
   5263       ac_path_SED_max=$ac_count
   5264     fi
   5265     # 10*(2^10) chars as input seems more than enough
   5266     test $ac_count -gt 10 && break
   5267   done
   5268   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5269 esac
   5270 
   5271       $ac_path_SED_found && break 3
   5272     done
   5273   done
   5274   done
   5275 IFS=$as_save_IFS
   5276   if test -z "$ac_cv_path_SED"; then
   5277     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5278   fi
   5279 else
   5280   ac_cv_path_SED=$SED
   5281 fi
   5282  ;;
   5283 esac
   5284 fi
   5285 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5286 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5287  SED="$ac_cv_path_SED"
   5288   rm -f conftest.sed
   5289 
   5290 test -z "$SED" && SED=sed
   5291 Xsed="$SED -e 1s/^X//"
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5304 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5305 if test ${ac_cv_path_GREP+y}
   5306 then :
   5307   printf %s "(cached) " >&6
   5308 else case e in #(
   5309   e) if test -z "$GREP"; then
   5310   ac_path_GREP_found=false
   5311   # Loop through the user's path and test for each of PROGNAME-LIST
   5312   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5313 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5314 do
   5315   IFS=$as_save_IFS
   5316   case $as_dir in #(((
   5317     '') as_dir=./ ;;
   5318     */) ;;
   5319     *) as_dir=$as_dir/ ;;
   5320   esac
   5321     for ac_prog in grep ggrep
   5322    do
   5323     for ac_exec_ext in '' $ac_executable_extensions; do
   5324       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5325       as_fn_executable_p "$ac_path_GREP" || continue
   5326 # Check for GNU ac_path_GREP and select it if it is found.
   5327   # Check for GNU $ac_path_GREP
   5328 case `"$ac_path_GREP" --version 2>&1` in #(
   5329 *GNU*)
   5330   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5331 #(
   5332 *)
   5333   ac_count=0
   5334   printf %s 0123456789 >"conftest.in"
   5335   while :
   5336   do
   5337     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5338     mv "conftest.tmp" "conftest.in"
   5339     cp "conftest.in" "conftest.nl"
   5340     printf '%s\n' 'GREP' >> "conftest.nl"
   5341     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5342     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5343     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5344     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5345       # Best one so far, save it but keep looking for a better one
   5346       ac_cv_path_GREP="$ac_path_GREP"
   5347       ac_path_GREP_max=$ac_count
   5348     fi
   5349     # 10*(2^10) chars as input seems more than enough
   5350     test $ac_count -gt 10 && break
   5351   done
   5352   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5353 esac
   5354 
   5355       $ac_path_GREP_found && break 3
   5356     done
   5357   done
   5358   done
   5359 IFS=$as_save_IFS
   5360   if test -z "$ac_cv_path_GREP"; then
   5361     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5362   fi
   5363 else
   5364   ac_cv_path_GREP=$GREP
   5365 fi
   5366  ;;
   5367 esac
   5368 fi
   5369 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5370 printf '%s\n' "$ac_cv_path_GREP" >&6; }
   5371  GREP="$ac_cv_path_GREP"
   5372 
   5373 
   5374 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5375 printf %s "checking for egrep... " >&6; }
   5376 if test ${ac_cv_path_EGREP+y}
   5377 then :
   5378   printf %s "(cached) " >&6
   5379 else case e in #(
   5380   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5381    then ac_cv_path_EGREP="$GREP -E"
   5382    else
   5383      if test -z "$EGREP"; then
   5384   ac_path_EGREP_found=false
   5385   # Loop through the user's path and test for each of PROGNAME-LIST
   5386   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5387 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5388 do
   5389   IFS=$as_save_IFS
   5390   case $as_dir in #(((
   5391     '') as_dir=./ ;;
   5392     */) ;;
   5393     *) as_dir=$as_dir/ ;;
   5394   esac
   5395     for ac_prog in egrep
   5396    do
   5397     for ac_exec_ext in '' $ac_executable_extensions; do
   5398       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5399       as_fn_executable_p "$ac_path_EGREP" || continue
   5400 # Check for GNU ac_path_EGREP and select it if it is found.
   5401   # Check for GNU $ac_path_EGREP
   5402 case `"$ac_path_EGREP" --version 2>&1` in #(
   5403 *GNU*)
   5404   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5405 #(
   5406 *)
   5407   ac_count=0
   5408   printf %s 0123456789 >"conftest.in"
   5409   while :
   5410   do
   5411     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5412     mv "conftest.tmp" "conftest.in"
   5413     cp "conftest.in" "conftest.nl"
   5414     printf '%s\n' 'EGREP' >> "conftest.nl"
   5415     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5416     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5417     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5418     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5419       # Best one so far, save it but keep looking for a better one
   5420       ac_cv_path_EGREP="$ac_path_EGREP"
   5421       ac_path_EGREP_max=$ac_count
   5422     fi
   5423     # 10*(2^10) chars as input seems more than enough
   5424     test $ac_count -gt 10 && break
   5425   done
   5426   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5427 esac
   5428 
   5429       $ac_path_EGREP_found && break 3
   5430     done
   5431   done
   5432   done
   5433 IFS=$as_save_IFS
   5434   if test -z "$ac_cv_path_EGREP"; then
   5435     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5436   fi
   5437 else
   5438   ac_cv_path_EGREP=$EGREP
   5439 fi
   5440 
   5441    fi ;;
   5442 esac
   5443 fi
   5444 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5445 printf '%s\n' "$ac_cv_path_EGREP" >&6; }
   5446  EGREP="$ac_cv_path_EGREP"
   5447 
   5448          EGREP_TRADITIONAL=$EGREP
   5449  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5450 
   5451 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5452 printf %s "checking for fgrep... " >&6; }
   5453 if test ${ac_cv_path_FGREP+y}
   5454 then :
   5455   printf %s "(cached) " >&6
   5456 else case e in #(
   5457   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5458    then ac_cv_path_FGREP="$GREP -F"
   5459    else
   5460      if test -z "$FGREP"; then
   5461   ac_path_FGREP_found=false
   5462   # Loop through the user's path and test for each of PROGNAME-LIST
   5463   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5464 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5465 do
   5466   IFS=$as_save_IFS
   5467   case $as_dir in #(((
   5468     '') as_dir=./ ;;
   5469     */) ;;
   5470     *) as_dir=$as_dir/ ;;
   5471   esac
   5472     for ac_prog in fgrep
   5473    do
   5474     for ac_exec_ext in '' $ac_executable_extensions; do
   5475       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5476       as_fn_executable_p "$ac_path_FGREP" || continue
   5477 # Check for GNU ac_path_FGREP and select it if it is found.
   5478   # Check for GNU $ac_path_FGREP
   5479 case `"$ac_path_FGREP" --version 2>&1` in #(
   5480 *GNU*)
   5481   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5482 #(
   5483 *)
   5484   ac_count=0
   5485   printf %s 0123456789 >"conftest.in"
   5486   while :
   5487   do
   5488     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5489     mv "conftest.tmp" "conftest.in"
   5490     cp "conftest.in" "conftest.nl"
   5491     printf '%s\n' 'FGREP' >> "conftest.nl"
   5492     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5493     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5494     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5495     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5496       # Best one so far, save it but keep looking for a better one
   5497       ac_cv_path_FGREP="$ac_path_FGREP"
   5498       ac_path_FGREP_max=$ac_count
   5499     fi
   5500     # 10*(2^10) chars as input seems more than enough
   5501     test $ac_count -gt 10 && break
   5502   done
   5503   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5504 esac
   5505 
   5506       $ac_path_FGREP_found && break 3
   5507     done
   5508   done
   5509   done
   5510 IFS=$as_save_IFS
   5511   if test -z "$ac_cv_path_FGREP"; then
   5512     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5513   fi
   5514 else
   5515   ac_cv_path_FGREP=$FGREP
   5516 fi
   5517 
   5518    fi ;;
   5519 esac
   5520 fi
   5521 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5522 printf '%s\n' "$ac_cv_path_FGREP" >&6; }
   5523  FGREP="$ac_cv_path_FGREP"
   5524 
   5525 
   5526 test -z "$GREP" && GREP=grep
   5527 
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 # Check whether --with-gnu-ld was given.
   5547 if test ${with_gnu_ld+y}
   5548 then :
   5549   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5550 else case e in #(
   5551   e) with_gnu_ld=no ;;
   5552 esac
   5553 fi
   5554 
   5555 ac_prog=ld
   5556 if test yes = "$GCC"; then
   5557   # Check if gcc -print-prog-name=ld gives a path.
   5558   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5559 printf %s "checking for ld used by $CC... " >&6; }
   5560   case $host in
   5561   *-*-mingw* | *-*-windows*)
   5562     # gcc leaves a trailing carriage return, which upsets mingw
   5563     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5564   *)
   5565     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5566   esac
   5567   case $ac_prog in
   5568     # Accept absolute paths.
   5569     [\\/]* | ?:[\\/]*)
   5570       re_direlt='/[^/][^/]*/\.\./'
   5571       # Canonicalize the pathname of ld
   5572       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5573       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5574 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5575       done
   5576       test -z "$LD" && LD=$ac_prog
   5577       ;;
   5578   "")
   5579     # If it fails, then pretend we aren't using GCC.
   5580     ac_prog=ld
   5581     ;;
   5582   *)
   5583     # If it is relative, then search for the first ld in PATH.
   5584     with_gnu_ld=unknown
   5585     ;;
   5586   esac
   5587 elif test yes = "$with_gnu_ld"; then
   5588   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5589 printf %s "checking for GNU ld... " >&6; }
   5590 else
   5591   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5592 printf %s "checking for non-GNU ld... " >&6; }
   5593 fi
   5594 if test ${lt_cv_path_LD+y}
   5595 then :
   5596   printf %s "(cached) " >&6
   5597 else case e in #(
   5598   e) if test -z "$LD"; then
   5599   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5600   for ac_dir in $PATH; do
   5601     IFS=$lt_save_ifs
   5602     test -z "$ac_dir" && ac_dir=.
   5603     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5604       lt_cv_path_LD=$ac_dir/$ac_prog
   5605       # Check to see if the program is GNU ld.  I'd rather use --version,
   5606       # but apparently some variants of GNU ld only accept -v.
   5607       # Break only if it was the GNU/non-GNU ld that we prefer.
   5608       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5609       *GNU* | *'with BFD'*)
   5610 	test no != "$with_gnu_ld" && break
   5611 	;;
   5612       *)
   5613 	test yes != "$with_gnu_ld" && break
   5614 	;;
   5615       esac
   5616     fi
   5617   done
   5618   IFS=$lt_save_ifs
   5619 else
   5620   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5621 fi ;;
   5622 esac
   5623 fi
   5624 
   5625 LD=$lt_cv_path_LD
   5626 if test -n "$LD"; then
   5627   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5628 printf '%s\n' "$LD" >&6; }
   5629 else
   5630   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5631 printf '%s\n' "no" >&6; }
   5632 fi
   5633 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5634 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5635 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5636 if test ${lt_cv_prog_gnu_ld+y}
   5637 then :
   5638   printf %s "(cached) " >&6
   5639 else case e in #(
   5640   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5641 case `$LD -v 2>&1 </dev/null` in
   5642 *GNU* | *'with BFD'*)
   5643   lt_cv_prog_gnu_ld=yes
   5644   ;;
   5645 *)
   5646   lt_cv_prog_gnu_ld=no
   5647   ;;
   5648 esac ;;
   5649 esac
   5650 fi
   5651 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5652 printf '%s\n' "$lt_cv_prog_gnu_ld" >&6; }
   5653 with_gnu_ld=$lt_cv_prog_gnu_ld
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5664 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5665 if test ${lt_cv_path_NM+y}
   5666 then :
   5667   printf %s "(cached) " >&6
   5668 else case e in #(
   5669   e) if test -n "$NM"; then
   5670   # Let the user override the test.
   5671   lt_cv_path_NM=$NM
   5672 else
   5673   lt_nm_to_check=${ac_tool_prefix}nm
   5674   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5675     lt_nm_to_check="$lt_nm_to_check nm"
   5676   fi
   5677   for lt_tmp_nm in $lt_nm_to_check; do
   5678     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5679     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5680       IFS=$lt_save_ifs
   5681       test -z "$ac_dir" && ac_dir=.
   5682       tmp_nm=$ac_dir/$lt_tmp_nm
   5683       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5684 	# Check to see if the nm accepts a BSD-compat flag.
   5685 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5686 	#   nm: unknown option "B" ignored
   5687 	# Tru64's nm complains that /dev/null is an invalid object file
   5688 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5689 	case $build_os in
   5690 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5691 	*) lt_bad_file=/dev/null ;;
   5692 	esac
   5693 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5694 	*$lt_bad_file* | *'Invalid file or object type'*)
   5695 	  lt_cv_path_NM="$tmp_nm -B"
   5696 	  break 2
   5697 	  ;;
   5698 	*)
   5699 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5700 	  */dev/null*)
   5701 	    lt_cv_path_NM="$tmp_nm -p"
   5702 	    break 2
   5703 	    ;;
   5704 	  *)
   5705 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5706 	    continue # so that we can try to find one that supports BSD flags
   5707 	    ;;
   5708 	  esac
   5709 	  ;;
   5710 	esac
   5711       fi
   5712     done
   5713     IFS=$lt_save_ifs
   5714   done
   5715   : ${lt_cv_path_NM=no}
   5716 fi ;;
   5717 esac
   5718 fi
   5719 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5720 printf '%s\n' "$lt_cv_path_NM" >&6; }
   5721 if test no != "$lt_cv_path_NM"; then
   5722   NM=$lt_cv_path_NM
   5723 else
   5724   # Didn't find any BSD compatible name lister, look for dumpbin.
   5725   if test -n "$DUMPBIN"; then :
   5726     # Let the user override the test.
   5727   else
   5728     if test -n "$ac_tool_prefix"; then
   5729   for ac_prog in dumpbin "link -dump"
   5730   do
   5731     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5732 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5733 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5734 printf %s "checking for $ac_word... " >&6; }
   5735 if test ${ac_cv_prog_DUMPBIN+y}
   5736 then :
   5737   printf %s "(cached) " >&6
   5738 else case e in #(
   5739   e) if test -n "$DUMPBIN"; then
   5740   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5741 else
   5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5743 for as_dir in $PATH
   5744 do
   5745   IFS=$as_save_IFS
   5746   case $as_dir in #(((
   5747     '') as_dir=./ ;;
   5748     */) ;;
   5749     *) as_dir=$as_dir/ ;;
   5750   esac
   5751     for ac_exec_ext in '' $ac_executable_extensions; do
   5752   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5753     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5754     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5755     break 2
   5756   fi
   5757 done
   5758   done
   5759 IFS=$as_save_IFS
   5760 
   5761 fi ;;
   5762 esac
   5763 fi
   5764 DUMPBIN=$ac_cv_prog_DUMPBIN
   5765 if test -n "$DUMPBIN"; then
   5766   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5767 printf '%s\n' "$DUMPBIN" >&6; }
   5768 else
   5769   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5770 printf '%s\n' "no" >&6; }
   5771 fi
   5772 
   5773 
   5774     test -n "$DUMPBIN" && break
   5775   done
   5776 fi
   5777 if test -z "$DUMPBIN"; then
   5778   ac_ct_DUMPBIN=$DUMPBIN
   5779   for ac_prog in dumpbin "link -dump"
   5780 do
   5781   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5782 set dummy $ac_prog; ac_word=$2
   5783 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5784 printf %s "checking for $ac_word... " >&6; }
   5785 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5786 then :
   5787   printf %s "(cached) " >&6
   5788 else case e in #(
   5789   e) if test -n "$ac_ct_DUMPBIN"; then
   5790   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5791 else
   5792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5793 for as_dir in $PATH
   5794 do
   5795   IFS=$as_save_IFS
   5796   case $as_dir in #(((
   5797     '') as_dir=./ ;;
   5798     */) ;;
   5799     *) as_dir=$as_dir/ ;;
   5800   esac
   5801     for ac_exec_ext in '' $ac_executable_extensions; do
   5802   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5803     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5804     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5805     break 2
   5806   fi
   5807 done
   5808   done
   5809 IFS=$as_save_IFS
   5810 
   5811 fi ;;
   5812 esac
   5813 fi
   5814 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5815 if test -n "$ac_ct_DUMPBIN"; then
   5816   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5817 printf '%s\n' "$ac_ct_DUMPBIN" >&6; }
   5818 else
   5819   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5820 printf '%s\n' "no" >&6; }
   5821 fi
   5822 
   5823 
   5824   test -n "$ac_ct_DUMPBIN" && break
   5825 done
   5826 
   5827   if test "x$ac_ct_DUMPBIN" = x; then
   5828     DUMPBIN=":"
   5829   else
   5830     case $cross_compiling:$ac_tool_warned in
   5831 yes:)
   5832 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5833 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5834 ac_tool_warned=yes ;;
   5835 esac
   5836     DUMPBIN=$ac_ct_DUMPBIN
   5837   fi
   5838 fi
   5839 
   5840     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5841     *COFF*)
   5842       DUMPBIN="$DUMPBIN -symbols -headers"
   5843       ;;
   5844     *)
   5845       DUMPBIN=:
   5846       ;;
   5847     esac
   5848   fi
   5849 
   5850   if test : != "$DUMPBIN"; then
   5851     NM=$DUMPBIN
   5852   fi
   5853 fi
   5854 test -z "$NM" && NM=nm
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5862 printf %s "checking the name lister ($NM) interface... " >&6; }
   5863 if test ${lt_cv_nm_interface+y}
   5864 then :
   5865   printf %s "(cached) " >&6
   5866 else case e in #(
   5867   e) lt_cv_nm_interface="BSD nm"
   5868   echo "int some_variable = 0;" > conftest.$ac_ext
   5869   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5870   (eval "$ac_compile" 2>conftest.err)
   5871   cat conftest.err >&5
   5872   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5873   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5874   cat conftest.err >&5
   5875   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5876   cat conftest.out >&5
   5877   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5878     lt_cv_nm_interface="MS dumpbin"
   5879   fi
   5880   rm -f conftest* ;;
   5881 esac
   5882 fi
   5883 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5884 printf '%s\n' "$lt_cv_nm_interface" >&6; }
   5885 
   5886 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5887 printf %s "checking whether ln -s works... " >&6; }
   5888 LN_S=$as_ln_s
   5889 if test "$LN_S" = "ln -s"; then
   5890   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5891 printf '%s\n' "yes" >&6; }
   5892 else
   5893   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5894 printf '%s\n' "no, using $LN_S" >&6; }
   5895 fi
   5896 
   5897 # find the maximum length of command line arguments
   5898 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5899 printf %s "checking the maximum length of command line arguments... " >&6; }
   5900 if test ${lt_cv_sys_max_cmd_len+y}
   5901 then :
   5902   printf %s "(cached) " >&6
   5903 else case e in #(
   5904   e)   i=0
   5905   teststring=ABCD
   5906 
   5907   case $build_os in
   5908   msdosdjgpp*)
   5909     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5910     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5911     # during glob expansion).  Even if it were fixed, the result of this
   5912     # check would be larger than it should be.
   5913     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5914     ;;
   5915 
   5916   gnu* | ironclad*)
   5917     # Under GNU Hurd and Ironclad, this test is not required because there
   5918     # is no limit to the length of command line arguments.
   5919     # Libtool will interpret -1 as no limit whatsoever
   5920     lt_cv_sys_max_cmd_len=-1;
   5921     ;;
   5922 
   5923   cygwin* | mingw* | windows* | cegcc*)
   5924     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5925     # about 5 minutes as the teststring grows exponentially.
   5926     # Worse, since 9x/ME are not pre-emptively multitasking,
   5927     # you end up with a "frozen" computer, even though with patience
   5928     # the test eventually succeeds (with a max line length of 256k).
   5929     # Instead, let's just punt: use the minimum linelength reported by
   5930     # all of the supported platforms: 8192 (on NT/2K/XP).
   5931     lt_cv_sys_max_cmd_len=8192;
   5932     ;;
   5933 
   5934   mint*)
   5935     # On MiNT this can take a long time and run out of memory.
   5936     lt_cv_sys_max_cmd_len=8192;
   5937     ;;
   5938 
   5939   amigaos*)
   5940     # On AmigaOS with pdksh, this test takes hours, literally.
   5941     # So we just punt and use a minimum line length of 8192.
   5942     lt_cv_sys_max_cmd_len=8192;
   5943     ;;
   5944 
   5945   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5946     # This has been around since 386BSD, at least.  Likely further.
   5947     if test -x /sbin/sysctl; then
   5948       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5949     elif test -x /usr/sbin/sysctl; then
   5950       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5951     else
   5952       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5953     fi
   5954     # And add a safety zone
   5955     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5956     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5957     ;;
   5958 
   5959   interix*)
   5960     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5961     lt_cv_sys_max_cmd_len=196608
   5962     ;;
   5963 
   5964   os2*)
   5965     # The test takes a long time on OS/2.
   5966     lt_cv_sys_max_cmd_len=8192
   5967     ;;
   5968 
   5969   osf*)
   5970     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5971     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5972     # nice to cause kernel panics so lets avoid the loop below.
   5973     # First set a reasonable default.
   5974     lt_cv_sys_max_cmd_len=16384
   5975     #
   5976     if test -x /sbin/sysconfig; then
   5977       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5978         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5979       esac
   5980     fi
   5981     ;;
   5982   sco3.2v5*)
   5983     lt_cv_sys_max_cmd_len=102400
   5984     ;;
   5985   sysv5* | sco5v6* | sysv4.2uw2*)
   5986     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5987     if test -n "$kargmax"; then
   5988       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5989     else
   5990       lt_cv_sys_max_cmd_len=32768
   5991     fi
   5992     ;;
   5993   *)
   5994     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5995     if test -n "$lt_cv_sys_max_cmd_len" && \
   5996        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5997       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5998       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5999     else
   6000       # Make teststring a little bigger before we do anything with it.
   6001       # a 1K string should be a reasonable start.
   6002       for i in 1 2 3 4 5 6 7 8; do
   6003         teststring=$teststring$teststring
   6004       done
   6005       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6006       # If test is not a shell built-in, we'll probably end up computing a
   6007       # maximum length that is only half of the actual maximum length, but
   6008       # we can't tell.
   6009       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6010 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6011 	      test 17 != "$i" # 1/2 MB should be enough
   6012       do
   6013         i=`expr $i + 1`
   6014         teststring=$teststring$teststring
   6015       done
   6016       # Only check the string length outside the loop.
   6017       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6018       teststring=
   6019       # Add a significant safety factor because C++ compilers can tack on
   6020       # massive amounts of additional arguments before passing them to the
   6021       # linker.  It appears as though 1/2 is a usable value.
   6022       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6023     fi
   6024     ;;
   6025   esac
   6026  ;;
   6027 esac
   6028 fi
   6029 
   6030 if test -n "$lt_cv_sys_max_cmd_len"; then
   6031   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6032 printf '%s\n' "$lt_cv_sys_max_cmd_len" >&6; }
   6033 else
   6034   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6035 printf '%s\n' "none" >&6; }
   6036 fi
   6037 max_cmd_len=$lt_cv_sys_max_cmd_len
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 : ${CP="cp -f"}
   6045 : ${MV="mv -f"}
   6046 : ${RM="rm -f"}
   6047 
   6048 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6049   lt_unset=unset
   6050 else
   6051   lt_unset=false
   6052 fi
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 # test EBCDIC or ASCII
   6059 case `echo X|tr X '\101'` in
   6060  A) # ASCII based system
   6061     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6062   lt_SP2NL='tr \040 \012'
   6063   lt_NL2SP='tr \015\012 \040\040'
   6064   ;;
   6065  *) # EBCDIC based system
   6066   lt_SP2NL='tr \100 \n'
   6067   lt_NL2SP='tr \r\n \100\100'
   6068   ;;
   6069 esac
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6080 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6081 if test ${lt_cv_to_host_file_cmd+y}
   6082 then :
   6083   printf %s "(cached) " >&6
   6084 else case e in #(
   6085   e) case $host in
   6086   *-*-mingw* )
   6087     case $build in
   6088       *-*-mingw* | *-*-windows* ) # actually msys
   6089         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6090         ;;
   6091       *-*-cygwin* )
   6092         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6093         ;;
   6094       * ) # otherwise, assume *nix
   6095         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6096         ;;
   6097     esac
   6098     ;;
   6099   *-*-cygwin* )
   6100     case $build in
   6101       *-*-mingw* | *-*-windows* ) # actually msys
   6102         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6103         ;;
   6104       *-*-cygwin* )
   6105         lt_cv_to_host_file_cmd=func_convert_file_noop
   6106         ;;
   6107       * ) # otherwise, assume *nix
   6108         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6109         ;;
   6110     esac
   6111     ;;
   6112   * ) # unhandled hosts (and "normal" native builds)
   6113     lt_cv_to_host_file_cmd=func_convert_file_noop
   6114     ;;
   6115 esac
   6116  ;;
   6117 esac
   6118 fi
   6119 
   6120 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6121 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6122 printf '%s\n' "$lt_cv_to_host_file_cmd" >&6; }
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6129 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6130 if test ${lt_cv_to_tool_file_cmd+y}
   6131 then :
   6132   printf %s "(cached) " >&6
   6133 else case e in #(
   6134   e) #assume ordinary cross tools, or native build.
   6135 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6136 case $host in
   6137   *-*-mingw* | *-*-windows* )
   6138     case $build in
   6139       *-*-mingw* | *-*-windows* ) # actually msys
   6140         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6141         ;;
   6142     esac
   6143     ;;
   6144 esac
   6145  ;;
   6146 esac
   6147 fi
   6148 
   6149 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6150 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6151 printf '%s\n' "$lt_cv_to_tool_file_cmd" >&6; }
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 case $host in #(
   6158   *-*-mingw* | *-*-windows* | *-*-cygwin*) :
   6159     case $build in #(
   6160   *-*-mingw* | *-*-windows* | *-*-cygwin*) :
   6161     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether cygpath is installed" >&5
   6162 printf %s "checking whether cygpath is installed... " >&6; }
   6163       if test ${lt_cv_cygpath_installed+y}
   6164 then :
   6165   printf %s "(cached) " >&6
   6166 else case e in #(
   6167   e) lt_cv_cygpath_installed=ignoring
   6168           cygpath --help &> /dev/null
   6169           _lt_result=$?
   6170           if test 0 = "$_lt_result"
   6171 then :
   6172   lt_cv_cygpath_installed=yes
   6173 else case e in #(
   6174   e) lt_cv_cygpath_installed=no ;;
   6175 esac
   6176 fi
   6177          ;;
   6178 esac
   6179 fi
   6180 
   6181       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cygpath_installed" >&5
   6182 printf '%s\n' "$lt_cv_cygpath_installed" >&6; }
   6183 
   6184 
   6185 
   6186 
   6187       if test "xyes" != "x$lt_cv_cygpath_installed"
   6188 then :
   6189 
   6190           { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to use cmd with one slash or two slashes" >&5
   6191 printf %s "checking whether to use cmd with one slash or two slashes... " >&6; }
   6192           if test ${lt_cv_cmd_slashes+y}
   6193 then :
   6194   printf %s "(cached) " >&6
   6195 else case e in #(
   6196   e)
   6197               _lt_result=`cmd /c echo one-slash works. Not checked //c echo two-slashes 2>/dev/null`
   6198               if test 0 != $?
   6199 then :
   6200   as_fn_error $? "Do not know how to convert paths" "$LINENO" 5
   6201 fi
   6202               case $_lt_result in #(
   6203   one-slash*) :
   6204     lt_cv_cmd_slashes="one" ;; #(
   6205   two-slashes*) :
   6206     lt_cv_cmd_slashes="two" ;; #(
   6207   *) :
   6208     as_fn_error $? "Do not know how to convert paths" "$LINENO" 5
   6209                ;;
   6210 esac
   6211              ;;
   6212 esac
   6213 fi
   6214 
   6215           { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cmd_slashes" >&5
   6216 printf '%s\n' "$lt_cv_cmd_slashes" >&6; }
   6217 
   6218 fi
   6219      ;; #(
   6220   *) :
   6221      ;;
   6222 esac
   6223 
   6224  ;; #(
   6225   *) :
   6226      ;;
   6227 esac
   6228 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6229 printf %s "checking for $LD option to reload object files... " >&6; }
   6230 if test ${lt_cv_ld_reload_flag+y}
   6231 then :
   6232   printf %s "(cached) " >&6
   6233 else case e in #(
   6234   e) lt_cv_ld_reload_flag='-r' ;;
   6235 esac
   6236 fi
   6237 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6238 printf '%s\n' "$lt_cv_ld_reload_flag" >&6; }
   6239 reload_flag=$lt_cv_ld_reload_flag
   6240 case $reload_flag in
   6241 "" | " "*) ;;
   6242 *) reload_flag=" $reload_flag" ;;
   6243 esac
   6244 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6245 case $host_os in
   6246   cygwin* | mingw* | windows* | pw32* | cegcc*)
   6247     if test yes != "$GCC"; then
   6248       reload_cmds=false
   6249     fi
   6250     ;;
   6251   darwin*)
   6252     if test yes = "$GCC"; then
   6253       reload_cmds='$LTCC $LTCFLAGS $stdlibflag $wl-r -o $output$reload_objs'
   6254     else
   6255       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6256     fi
   6257     ;;
   6258 esac
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 # Extract the first word of "file", so it can be a program name with args.
   6269 set dummy file; ac_word=$2
   6270 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6271 printf %s "checking for $ac_word... " >&6; }
   6272 if test ${ac_cv_prog_FILECMD+y}
   6273 then :
   6274   printf %s "(cached) " >&6
   6275 else case e in #(
   6276   e) if test -n "$FILECMD"; then
   6277   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6278 else
   6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6280 for as_dir in $PATH
   6281 do
   6282   IFS=$as_save_IFS
   6283   case $as_dir in #(((
   6284     '') as_dir=./ ;;
   6285     */) ;;
   6286     *) as_dir=$as_dir/ ;;
   6287   esac
   6288     for ac_exec_ext in '' $ac_executable_extensions; do
   6289   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6290     ac_cv_prog_FILECMD="file"
   6291     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6292     break 2
   6293   fi
   6294 done
   6295   done
   6296 IFS=$as_save_IFS
   6297 
   6298   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6299 fi ;;
   6300 esac
   6301 fi
   6302 FILECMD=$ac_cv_prog_FILECMD
   6303 if test -n "$FILECMD"; then
   6304   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6305 printf '%s\n' "$FILECMD" >&6; }
   6306 else
   6307   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6308 printf '%s\n' "no" >&6; }
   6309 fi
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 if test -n "$ac_tool_prefix"; then
   6319   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6320 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6321 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6322 printf %s "checking for $ac_word... " >&6; }
   6323 if test ${ac_cv_prog_OBJDUMP+y}
   6324 then :
   6325   printf %s "(cached) " >&6
   6326 else case e in #(
   6327   e) if test -n "$OBJDUMP"; then
   6328   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6329 else
   6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6331 for as_dir in $PATH
   6332 do
   6333   IFS=$as_save_IFS
   6334   case $as_dir in #(((
   6335     '') as_dir=./ ;;
   6336     */) ;;
   6337     *) as_dir=$as_dir/ ;;
   6338   esac
   6339     for ac_exec_ext in '' $ac_executable_extensions; do
   6340   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6341     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6342     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6343     break 2
   6344   fi
   6345 done
   6346   done
   6347 IFS=$as_save_IFS
   6348 
   6349 fi ;;
   6350 esac
   6351 fi
   6352 OBJDUMP=$ac_cv_prog_OBJDUMP
   6353 if test -n "$OBJDUMP"; then
   6354   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6355 printf '%s\n' "$OBJDUMP" >&6; }
   6356 else
   6357   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6358 printf '%s\n' "no" >&6; }
   6359 fi
   6360 
   6361 
   6362 fi
   6363 if test -z "$ac_cv_prog_OBJDUMP"; then
   6364   ac_ct_OBJDUMP=$OBJDUMP
   6365   # Extract the first word of "objdump", so it can be a program name with args.
   6366 set dummy objdump; ac_word=$2
   6367 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6368 printf %s "checking for $ac_word... " >&6; }
   6369 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6370 then :
   6371   printf %s "(cached) " >&6
   6372 else case e in #(
   6373   e) if test -n "$ac_ct_OBJDUMP"; then
   6374   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6375 else
   6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6377 for as_dir in $PATH
   6378 do
   6379   IFS=$as_save_IFS
   6380   case $as_dir in #(((
   6381     '') as_dir=./ ;;
   6382     */) ;;
   6383     *) as_dir=$as_dir/ ;;
   6384   esac
   6385     for ac_exec_ext in '' $ac_executable_extensions; do
   6386   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6387     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6388     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6389     break 2
   6390   fi
   6391 done
   6392   done
   6393 IFS=$as_save_IFS
   6394 
   6395 fi ;;
   6396 esac
   6397 fi
   6398 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6399 if test -n "$ac_ct_OBJDUMP"; then
   6400   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6401 printf '%s\n' "$ac_ct_OBJDUMP" >&6; }
   6402 else
   6403   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6404 printf '%s\n' "no" >&6; }
   6405 fi
   6406 
   6407   if test "x$ac_ct_OBJDUMP" = x; then
   6408     OBJDUMP="false"
   6409   else
   6410     case $cross_compiling:$ac_tool_warned in
   6411 yes:)
   6412 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6413 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6414 ac_tool_warned=yes ;;
   6415 esac
   6416     OBJDUMP=$ac_ct_OBJDUMP
   6417   fi
   6418 else
   6419   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6420 fi
   6421 
   6422 test -z "$OBJDUMP" && OBJDUMP=objdump
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6433 printf %s "checking how to recognize dependent libraries... " >&6; }
   6434 if test ${lt_cv_deplibs_check_method+y}
   6435 then :
   6436   printf %s "(cached) " >&6
   6437 else case e in #(
   6438   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6439 lt_cv_file_magic_test_file=
   6440 lt_cv_deplibs_check_method='unknown'
   6441 # Need to set the preceding variable on all platforms that support
   6442 # interlibrary dependencies.
   6443 # 'none' -- dependencies not supported.
   6444 # 'unknown' -- same as none, but documents that we really don't know.
   6445 # 'pass_all' -- all dependencies passed with no checks.
   6446 # 'file_magic [[regex]]' -- check by looking for files in library path
   6447 # that responds to the $file_magic_cmd with a given extended regex.
   6448 # If you have 'file' or equivalent on your system and you're not sure
   6449 # whether 'pass_all' will *always* work, you probably want this one.
   6450 
   6451 case $host_os in
   6452 aix[4-9]*)
   6453   lt_cv_deplibs_check_method=pass_all
   6454   ;;
   6455 
   6456 beos*)
   6457   lt_cv_deplibs_check_method=pass_all
   6458   ;;
   6459 
   6460 bsdi[45]*)
   6461   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6462   lt_cv_file_magic_cmd='$FILECMD -L'
   6463   lt_cv_file_magic_test_file=/shlib/libc.so
   6464   ;;
   6465 
   6466 cygwin*)
   6467   # func_win32_libid is a shell function defined in ltmain.sh
   6468   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6469   lt_cv_file_magic_cmd='func_win32_libid'
   6470   ;;
   6471 
   6472 mingw* | windows* | pw32*)
   6473   # Base MSYS/MinGW do not provide the 'file' command needed by
   6474   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6475   # unless we find 'file', for example because we are cross-compiling.
   6476   if ( file / ) >/dev/null 2>&1; then
   6477     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6478     lt_cv_file_magic_cmd='func_win32_libid'
   6479   else
   6480     # Keep this pattern in sync with the one in func_win32_libid.
   6481     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6482     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6483   fi
   6484   ;;
   6485 
   6486 cegcc*)
   6487   # use the weaker test based on 'objdump'. See mingw*.
   6488   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6489   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6490   ;;
   6491 
   6492 darwin* | rhapsody*)
   6493   lt_cv_deplibs_check_method=pass_all
   6494   ;;
   6495 
   6496 freebsd* | dragonfly* | midnightbsd*)
   6497   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6498     case $host_cpu in
   6499     i*86 )
   6500       # Not sure whether the presence of OpenBSD here was a mistake.
   6501       # Let's accept both of them until this is cleared up.
   6502       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6503       lt_cv_file_magic_cmd=$FILECMD
   6504       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6505       ;;
   6506     esac
   6507   else
   6508     lt_cv_deplibs_check_method=pass_all
   6509   fi
   6510   ;;
   6511 
   6512 haiku*)
   6513   lt_cv_deplibs_check_method=pass_all
   6514   ;;
   6515 
   6516 hpux10.20* | hpux11*)
   6517   lt_cv_file_magic_cmd=$FILECMD
   6518   case $host_cpu in
   6519   ia64*)
   6520     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6521     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6522     ;;
   6523   hppa*64*)
   6524     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]'
   6525     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6526     ;;
   6527   *)
   6528     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6529     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6530     ;;
   6531   esac
   6532   ;;
   6533 
   6534 interix[3-9]*)
   6535   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6536   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6537   ;;
   6538 
   6539 irix5* | irix6* | nonstopux*)
   6540   case $LD in
   6541   *-32|*"-32 ") libmagic=32-bit;;
   6542   *-n32|*"-n32 ") libmagic=N32;;
   6543   *-64|*"-64 ") libmagic=64-bit;;
   6544   *) libmagic=never-match;;
   6545   esac
   6546   lt_cv_deplibs_check_method=pass_all
   6547   ;;
   6548 
   6549 *-mlibc)
   6550   lt_cv_deplibs_check_method=pass_all
   6551   ;;
   6552 
   6553 # This must be glibc/ELF.
   6554 linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6555   lt_cv_deplibs_check_method=pass_all
   6556   ;;
   6557 
   6558 netbsd* | netbsdelf*-gnu)
   6559   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6560     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6561   else
   6562     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6563   fi
   6564   ;;
   6565 
   6566 newos6*)
   6567   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6568   lt_cv_file_magic_cmd=$FILECMD
   6569   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6570   ;;
   6571 
   6572 *nto* | *qnx*)
   6573   lt_cv_deplibs_check_method=pass_all
   6574   ;;
   6575 
   6576 openbsd*)
   6577   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6578     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6579   else
   6580     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6581   fi
   6582   ;;
   6583 
   6584 osf3* | osf4* | osf5*)
   6585   lt_cv_deplibs_check_method=pass_all
   6586   ;;
   6587 
   6588 rdos*)
   6589   lt_cv_deplibs_check_method=pass_all
   6590   ;;
   6591 
   6592 serenity*)
   6593   lt_cv_deplibs_check_method=pass_all
   6594   ;;
   6595 
   6596 solaris*)
   6597   lt_cv_deplibs_check_method=pass_all
   6598   ;;
   6599 
   6600 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6601   lt_cv_deplibs_check_method=pass_all
   6602   ;;
   6603 
   6604 sysv4 | sysv4.3*)
   6605   case $host_vendor in
   6606   motorola)
   6607     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]'
   6608     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6609     ;;
   6610   ncr)
   6611     lt_cv_deplibs_check_method=pass_all
   6612     ;;
   6613   sequent)
   6614     lt_cv_file_magic_cmd='/bin/file'
   6615     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6616     ;;
   6617   sni)
   6618     lt_cv_file_magic_cmd='/bin/file'
   6619     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6620     lt_cv_file_magic_test_file=/lib/libc.so
   6621     ;;
   6622   siemens)
   6623     lt_cv_deplibs_check_method=pass_all
   6624     ;;
   6625   pc)
   6626     lt_cv_deplibs_check_method=pass_all
   6627     ;;
   6628   esac
   6629   ;;
   6630 
   6631 tpf*)
   6632   lt_cv_deplibs_check_method=pass_all
   6633   ;;
   6634 os2*)
   6635   lt_cv_deplibs_check_method=pass_all
   6636   ;;
   6637 esac
   6638  ;;
   6639 esac
   6640 fi
   6641 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6642 printf '%s\n' "$lt_cv_deplibs_check_method" >&6; }
   6643 
   6644 file_magic_glob=
   6645 want_nocaseglob=no
   6646 if test "$build" = "$host"; then
   6647   case $host_os in
   6648   mingw* | windows* | pw32*)
   6649     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6650       want_nocaseglob=yes
   6651     else
   6652       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6653     fi
   6654     ;;
   6655   esac
   6656 fi
   6657 
   6658 file_magic_cmd=$lt_cv_file_magic_cmd
   6659 deplibs_check_method=$lt_cv_deplibs_check_method
   6660 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 if test -n "$ac_tool_prefix"; then
   6684   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6685 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6686 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6687 printf %s "checking for $ac_word... " >&6; }
   6688 if test ${ac_cv_prog_DLLTOOL+y}
   6689 then :
   6690   printf %s "(cached) " >&6
   6691 else case e in #(
   6692   e) if test -n "$DLLTOOL"; then
   6693   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6694 else
   6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6696 for as_dir in $PATH
   6697 do
   6698   IFS=$as_save_IFS
   6699   case $as_dir in #(((
   6700     '') as_dir=./ ;;
   6701     */) ;;
   6702     *) as_dir=$as_dir/ ;;
   6703   esac
   6704     for ac_exec_ext in '' $ac_executable_extensions; do
   6705   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6706     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6707     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6708     break 2
   6709   fi
   6710 done
   6711   done
   6712 IFS=$as_save_IFS
   6713 
   6714 fi ;;
   6715 esac
   6716 fi
   6717 DLLTOOL=$ac_cv_prog_DLLTOOL
   6718 if test -n "$DLLTOOL"; then
   6719   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6720 printf '%s\n' "$DLLTOOL" >&6; }
   6721 else
   6722   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6723 printf '%s\n' "no" >&6; }
   6724 fi
   6725 
   6726 
   6727 fi
   6728 if test -z "$ac_cv_prog_DLLTOOL"; then
   6729   ac_ct_DLLTOOL=$DLLTOOL
   6730   # Extract the first word of "dlltool", so it can be a program name with args.
   6731 set dummy dlltool; ac_word=$2
   6732 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6733 printf %s "checking for $ac_word... " >&6; }
   6734 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6735 then :
   6736   printf %s "(cached) " >&6
   6737 else case e in #(
   6738   e) if test -n "$ac_ct_DLLTOOL"; then
   6739   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6740 else
   6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6742 for as_dir in $PATH
   6743 do
   6744   IFS=$as_save_IFS
   6745   case $as_dir in #(((
   6746     '') as_dir=./ ;;
   6747     */) ;;
   6748     *) as_dir=$as_dir/ ;;
   6749   esac
   6750     for ac_exec_ext in '' $ac_executable_extensions; do
   6751   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6752     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6753     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6754     break 2
   6755   fi
   6756 done
   6757   done
   6758 IFS=$as_save_IFS
   6759 
   6760 fi ;;
   6761 esac
   6762 fi
   6763 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6764 if test -n "$ac_ct_DLLTOOL"; then
   6765   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6766 printf '%s\n' "$ac_ct_DLLTOOL" >&6; }
   6767 else
   6768   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6769 printf '%s\n' "no" >&6; }
   6770 fi
   6771 
   6772   if test "x$ac_ct_DLLTOOL" = x; then
   6773     DLLTOOL="false"
   6774   else
   6775     case $cross_compiling:$ac_tool_warned in
   6776 yes:)
   6777 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6778 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6779 ac_tool_warned=yes ;;
   6780 esac
   6781     DLLTOOL=$ac_ct_DLLTOOL
   6782   fi
   6783 else
   6784   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6785 fi
   6786 
   6787 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6799 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6800 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6801 then :
   6802   printf %s "(cached) " >&6
   6803 else case e in #(
   6804   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6805 
   6806 case $host_os in
   6807 cygwin* | mingw* | windows* | pw32* | cegcc*)
   6808   # two different shell functions defined in ltmain.sh;
   6809   # decide which one to use based on capabilities of $DLLTOOL
   6810   case `$DLLTOOL --help 2>&1` in
   6811   *--identify-strict*)
   6812     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6813     ;;
   6814   *)
   6815     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6816     ;;
   6817   esac
   6818   ;;
   6819 *)
   6820   # fallback: assume linklib IS sharedlib
   6821   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6822   ;;
   6823 esac
   6824  ;;
   6825 esac
   6826 fi
   6827 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6828 printf '%s\n' "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6829 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6830 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 if test -n "$ac_tool_prefix"; then
   6840   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6841 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6842 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6843 printf %s "checking for $ac_word... " >&6; }
   6844 if test ${ac_cv_prog_RANLIB+y}
   6845 then :
   6846   printf %s "(cached) " >&6
   6847 else case e in #(
   6848   e) if test -n "$RANLIB"; then
   6849   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6850 else
   6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6852 for as_dir in $PATH
   6853 do
   6854   IFS=$as_save_IFS
   6855   case $as_dir in #(((
   6856     '') as_dir=./ ;;
   6857     */) ;;
   6858     *) as_dir=$as_dir/ ;;
   6859   esac
   6860     for ac_exec_ext in '' $ac_executable_extensions; do
   6861   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6862     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6863     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6864     break 2
   6865   fi
   6866 done
   6867   done
   6868 IFS=$as_save_IFS
   6869 
   6870 fi ;;
   6871 esac
   6872 fi
   6873 RANLIB=$ac_cv_prog_RANLIB
   6874 if test -n "$RANLIB"; then
   6875   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6876 printf '%s\n' "$RANLIB" >&6; }
   6877 else
   6878   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6879 printf '%s\n' "no" >&6; }
   6880 fi
   6881 
   6882 
   6883 fi
   6884 if test -z "$ac_cv_prog_RANLIB"; then
   6885   ac_ct_RANLIB=$RANLIB
   6886   # Extract the first word of "ranlib", so it can be a program name with args.
   6887 set dummy ranlib; ac_word=$2
   6888 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6889 printf %s "checking for $ac_word... " >&6; }
   6890 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6891 then :
   6892   printf %s "(cached) " >&6
   6893 else case e in #(
   6894   e) if test -n "$ac_ct_RANLIB"; then
   6895   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6896 else
   6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6898 for as_dir in $PATH
   6899 do
   6900   IFS=$as_save_IFS
   6901   case $as_dir in #(((
   6902     '') as_dir=./ ;;
   6903     */) ;;
   6904     *) as_dir=$as_dir/ ;;
   6905   esac
   6906     for ac_exec_ext in '' $ac_executable_extensions; do
   6907   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6908     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6909     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6910     break 2
   6911   fi
   6912 done
   6913   done
   6914 IFS=$as_save_IFS
   6915 
   6916 fi ;;
   6917 esac
   6918 fi
   6919 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6920 if test -n "$ac_ct_RANLIB"; then
   6921   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6922 printf '%s\n' "$ac_ct_RANLIB" >&6; }
   6923 else
   6924   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6925 printf '%s\n' "no" >&6; }
   6926 fi
   6927 
   6928   if test "x$ac_ct_RANLIB" = x; then
   6929     RANLIB=":"
   6930   else
   6931     case $cross_compiling:$ac_tool_warned in
   6932 yes:)
   6933 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6934 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6935 ac_tool_warned=yes ;;
   6936 esac
   6937     RANLIB=$ac_ct_RANLIB
   6938   fi
   6939 else
   6940   RANLIB="$ac_cv_prog_RANLIB"
   6941 fi
   6942 
   6943 if test -n "$ac_tool_prefix"; then
   6944   for ac_prog in ar
   6945   do
   6946     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6947 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6948 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6949 printf %s "checking for $ac_word... " >&6; }
   6950 if test ${ac_cv_prog_AR+y}
   6951 then :
   6952   printf %s "(cached) " >&6
   6953 else case e in #(
   6954   e) if test -n "$AR"; then
   6955   ac_cv_prog_AR="$AR" # Let the user override the test.
   6956 else
   6957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6958 for as_dir in $PATH
   6959 do
   6960   IFS=$as_save_IFS
   6961   case $as_dir in #(((
   6962     '') as_dir=./ ;;
   6963     */) ;;
   6964     *) as_dir=$as_dir/ ;;
   6965   esac
   6966     for ac_exec_ext in '' $ac_executable_extensions; do
   6967   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6968     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6969     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6970     break 2
   6971   fi
   6972 done
   6973   done
   6974 IFS=$as_save_IFS
   6975 
   6976 fi ;;
   6977 esac
   6978 fi
   6979 AR=$ac_cv_prog_AR
   6980 if test -n "$AR"; then
   6981   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6982 printf '%s\n' "$AR" >&6; }
   6983 else
   6984   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6985 printf '%s\n' "no" >&6; }
   6986 fi
   6987 
   6988 
   6989     test -n "$AR" && break
   6990   done
   6991 fi
   6992 if test -z "$AR"; then
   6993   ac_ct_AR=$AR
   6994   for ac_prog in ar
   6995 do
   6996   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6997 set dummy $ac_prog; ac_word=$2
   6998 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6999 printf %s "checking for $ac_word... " >&6; }
   7000 if test ${ac_cv_prog_ac_ct_AR+y}
   7001 then :
   7002   printf %s "(cached) " >&6
   7003 else case e in #(
   7004   e) if test -n "$ac_ct_AR"; then
   7005   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7006 else
   7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7008 for as_dir in $PATH
   7009 do
   7010   IFS=$as_save_IFS
   7011   case $as_dir in #(((
   7012     '') as_dir=./ ;;
   7013     */) ;;
   7014     *) as_dir=$as_dir/ ;;
   7015   esac
   7016     for ac_exec_ext in '' $ac_executable_extensions; do
   7017   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7018     ac_cv_prog_ac_ct_AR="$ac_prog"
   7019     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7020     break 2
   7021   fi
   7022 done
   7023   done
   7024 IFS=$as_save_IFS
   7025 
   7026 fi ;;
   7027 esac
   7028 fi
   7029 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7030 if test -n "$ac_ct_AR"; then
   7031   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7032 printf '%s\n' "$ac_ct_AR" >&6; }
   7033 else
   7034   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7035 printf '%s\n' "no" >&6; }
   7036 fi
   7037 
   7038 
   7039   test -n "$ac_ct_AR" && break
   7040 done
   7041 
   7042   if test "x$ac_ct_AR" = x; then
   7043     AR="false"
   7044   else
   7045     case $cross_compiling:$ac_tool_warned in
   7046 yes:)
   7047 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7048 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7049 ac_tool_warned=yes ;;
   7050 esac
   7051     AR=$ac_ct_AR
   7052   fi
   7053 fi
   7054 
   7055 : ${AR=ar}
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7063 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7064 # higher priority because that's what people were doing historically (setting
   7065 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7066 # variable obsoleted/removed.
   7067 
   7068 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7069 lt_ar_flags=$AR_FLAGS
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7077 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7085 printf %s "checking for archiver @FILE support... " >&6; }
   7086 if test ${lt_cv_ar_at_file+y}
   7087 then :
   7088   printf %s "(cached) " >&6
   7089 else case e in #(
   7090   e) lt_cv_ar_at_file=no
   7091    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7092 /* end confdefs.h.  */
   7093 
   7094 int
   7095 main (void)
   7096 {
   7097 
   7098   ;
   7099   return 0;
   7100 }
   7101 _ACEOF
   7102 if ac_fn_c_try_compile "$LINENO"
   7103 then :
   7104   echo conftest.$ac_objext > conftest.lst
   7105       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7106       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7107   (eval $lt_ar_try) 2>&5
   7108   ac_status=$?
   7109   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7110   test $ac_status = 0; }
   7111       if test 0 -eq "$ac_status"; then
   7112 	# Ensure the archiver fails upon bogus file names.
   7113 	rm -f conftest.$ac_objext libconftest.a
   7114 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7115   (eval $lt_ar_try) 2>&5
   7116   ac_status=$?
   7117   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7118   test $ac_status = 0; }
   7119 	if test 0 -ne "$ac_status"; then
   7120           lt_cv_ar_at_file=@
   7121         fi
   7122       fi
   7123       rm -f conftest.* libconftest.a
   7124 
   7125 fi
   7126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7127    ;;
   7128 esac
   7129 fi
   7130 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7131 printf '%s\n' "$lt_cv_ar_at_file" >&6; }
   7132 
   7133 if test no = "$lt_cv_ar_at_file"; then
   7134   archiver_list_spec=
   7135 else
   7136   archiver_list_spec=$lt_cv_ar_at_file
   7137 fi
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 if test -n "$ac_tool_prefix"; then
   7146   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7147 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7148 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7149 printf %s "checking for $ac_word... " >&6; }
   7150 if test ${ac_cv_prog_STRIP+y}
   7151 then :
   7152   printf %s "(cached) " >&6
   7153 else case e in #(
   7154   e) if test -n "$STRIP"; then
   7155   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7156 else
   7157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7158 for as_dir in $PATH
   7159 do
   7160   IFS=$as_save_IFS
   7161   case $as_dir in #(((
   7162     '') as_dir=./ ;;
   7163     */) ;;
   7164     *) as_dir=$as_dir/ ;;
   7165   esac
   7166     for ac_exec_ext in '' $ac_executable_extensions; do
   7167   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7168     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7169     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7170     break 2
   7171   fi
   7172 done
   7173   done
   7174 IFS=$as_save_IFS
   7175 
   7176 fi ;;
   7177 esac
   7178 fi
   7179 STRIP=$ac_cv_prog_STRIP
   7180 if test -n "$STRIP"; then
   7181   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7182 printf '%s\n' "$STRIP" >&6; }
   7183 else
   7184   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7185 printf '%s\n' "no" >&6; }
   7186 fi
   7187 
   7188 
   7189 fi
   7190 if test -z "$ac_cv_prog_STRIP"; then
   7191   ac_ct_STRIP=$STRIP
   7192   # Extract the first word of "strip", so it can be a program name with args.
   7193 set dummy strip; ac_word=$2
   7194 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7195 printf %s "checking for $ac_word... " >&6; }
   7196 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7197 then :
   7198   printf %s "(cached) " >&6
   7199 else case e in #(
   7200   e) if test -n "$ac_ct_STRIP"; then
   7201   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7202 else
   7203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7204 for as_dir in $PATH
   7205 do
   7206   IFS=$as_save_IFS
   7207   case $as_dir in #(((
   7208     '') as_dir=./ ;;
   7209     */) ;;
   7210     *) as_dir=$as_dir/ ;;
   7211   esac
   7212     for ac_exec_ext in '' $ac_executable_extensions; do
   7213   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7214     ac_cv_prog_ac_ct_STRIP="strip"
   7215     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7216     break 2
   7217   fi
   7218 done
   7219   done
   7220 IFS=$as_save_IFS
   7221 
   7222 fi ;;
   7223 esac
   7224 fi
   7225 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7226 if test -n "$ac_ct_STRIP"; then
   7227   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7228 printf '%s\n' "$ac_ct_STRIP" >&6; }
   7229 else
   7230   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7231 printf '%s\n' "no" >&6; }
   7232 fi
   7233 
   7234   if test "x$ac_ct_STRIP" = x; then
   7235     STRIP=":"
   7236   else
   7237     case $cross_compiling:$ac_tool_warned in
   7238 yes:)
   7239 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7240 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7241 ac_tool_warned=yes ;;
   7242 esac
   7243     STRIP=$ac_ct_STRIP
   7244   fi
   7245 else
   7246   STRIP="$ac_cv_prog_STRIP"
   7247 fi
   7248 
   7249 test -z "$STRIP" && STRIP=:
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 test -z "$RANLIB" && RANLIB=:
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 # Determine commands to create old-style static archives.
   7265 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7266 old_postinstall_cmds='chmod 644 $oldlib'
   7267 old_postuninstall_cmds=
   7268 
   7269 if test -n "$RANLIB"; then
   7270   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7271   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7272 fi
   7273 
   7274 case $host_os in
   7275   darwin*)
   7276     lock_old_archive_extraction=yes ;;
   7277   *)
   7278     lock_old_archive_extraction=no ;;
   7279 esac
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 # If no C compiler was specified, use CC.
   7320 LTCC=${LTCC-"$CC"}
   7321 
   7322 # If no C compiler flags were specified, use CFLAGS.
   7323 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7324 
   7325 # Allow CC to be a program name with arguments.
   7326 compiler=$CC
   7327 
   7328 
   7329 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7330 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7331 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7332 if test ${lt_cv_sys_global_symbol_pipe+y}
   7333 then :
   7334   printf %s "(cached) " >&6
   7335 else case e in #(
   7336   e)
   7337 # These are sane defaults that work on at least a few old systems.
   7338 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7339 
   7340 # Character class describing NM global symbol codes.
   7341 symcode='[BCDEGRST]'
   7342 
   7343 # Regexp to match symbols that can be accessed directly from C.
   7344 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7345 
   7346 # Define system-specific variables.
   7347 case $host_os in
   7348 aix*)
   7349   symcode='[BCDT]'
   7350   ;;
   7351 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7352   symcode='[ABCDGISTW]'
   7353   ;;
   7354 hpux*)
   7355   if test ia64 = "$host_cpu"; then
   7356     symcode='[ABCDEGRST]'
   7357   fi
   7358   ;;
   7359 irix* | nonstopux*)
   7360   symcode='[BCDEGRST]'
   7361   ;;
   7362 osf*)
   7363   symcode='[BCDEGQRST]'
   7364   ;;
   7365 solaris*)
   7366   symcode='[BCDRT]'
   7367   ;;
   7368 sco3.2v5*)
   7369   symcode='[DT]'
   7370   ;;
   7371 sysv4.2uw2*)
   7372   symcode='[DT]'
   7373   ;;
   7374 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7375   symcode='[ABDT]'
   7376   ;;
   7377 sysv4)
   7378   symcode='[DFNSTU]'
   7379   ;;
   7380 esac
   7381 
   7382 # If we're using GNU nm, then use its standard symbol codes.
   7383 case `$NM -V 2>&1` in
   7384 *GNU* | *'with BFD'*)
   7385   symcode='[ABCDGIRSTW]' ;;
   7386 esac
   7387 
   7388 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7389   # Gets list of data symbols to import.
   7390   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/\1/p'"
   7391   # Adjust the below global symbol transforms to fixup imported variables.
   7392   lt_cdecl_hook=" -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern __declspec(dllimport) char \1;/p'"
   7393   lt_c_name_hook=" -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) 0},/p'"
   7394   lt_c_name_lib_hook="\
   7395   -e 's/^I .* \(lib[a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) 0},/p'\
   7396   -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"lib\1\", (void *) 0},/p'"
   7397 else
   7398   # Disable hooks by default.
   7399   lt_cv_sys_global_symbol_to_import=
   7400   lt_cdecl_hook=
   7401   lt_c_name_hook=
   7402   lt_c_name_lib_hook=
   7403 fi
   7404 
   7405 # Transform an extracted symbol line into a proper C declaration.
   7406 # Some systems (esp. on ia64) link data and code symbols differently,
   7407 # so use this general approach.
   7408 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7409 $lt_cdecl_hook\
   7410 " -e 's/^T .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern int \1();/p'"\
   7411 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern char \1;/p'"
   7412 
   7413 # Transform an extracted symbol line into symbol name and symbol address
   7414 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7415 $lt_c_name_hook\
   7416 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7417 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) \&\1},/p'"
   7418 
   7419 # Transform an extracted symbol line into symbol name with lib prefix and
   7420 # symbol address.
   7421 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7422 $lt_c_name_lib_hook\
   7423 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7424 " -e 's/^$symcode$symcode* .* \(lib[a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7425 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7426 
   7427 # Handle CRLF in mingw tool chain
   7428 opt_cr=
   7429 case $build_os in
   7430 mingw* | windows*)
   7431   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7432   ;;
   7433 esac
   7434 
   7435 # Try without a prefix underscore, then with it.
   7436 for ac_symprfx in "" "_"; do
   7437 
   7438   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7439   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7440 
   7441   # Write the raw and C identifiers.
   7442   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7443     # Fake it for dumpbin and say T for any non-static function,
   7444     # D for any global variable and I for any imported variable.
   7445     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7446     # which start with @ or ?.  And Cygwin gawk-4.1.4-3 and newer
   7447     # treats input as binary, have to drop carriage return first.
   7448     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7449 "     {sub(/\\r\$/,\"\")};"\
   7450 "     {last_section=section; section=\$ 3};"\
   7451 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7452 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7453 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7454 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7455 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7456 "     \$ 0!~/External *\|/{next};"\
   7457 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7458 "     {if(hide[section]) next};"\
   7459 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7460 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7461 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7462 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7463 "     ' prfx=^$ac_symprfx"
   7464   else
   7465     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7466   fi
   7467   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7468 
   7469   # Check to see that the pipe works correctly.
   7470   pipe_works=no
   7471 
   7472   rm -f conftest*
   7473   cat > conftest.$ac_ext <<_LT_EOF
   7474 #ifdef __cplusplus
   7475 extern "C" {
   7476 #endif
   7477 char nm_test_var;
   7478 void nm_test_func(void);
   7479 void nm_test_func(void){}
   7480 #ifdef __cplusplus
   7481 }
   7482 #endif
   7483 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7484 _LT_EOF
   7485 
   7486   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7487   (eval $ac_compile) 2>&5
   7488   ac_status=$?
   7489   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7490   test $ac_status = 0; }; then
   7491     # Now try to grab the symbols.
   7492     nlist=conftest.nm
   7493     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7494     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7495       # Try sorting and uniquifying the output.
   7496       if sort "$nlist" | uniq > "$nlist"T; then
   7497 	mv -f "$nlist"T "$nlist"
   7498       else
   7499 	rm -f "$nlist"T
   7500       fi
   7501 
   7502       # Make sure that we snagged all the symbols we need.
   7503       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7504 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7505 	  cat <<_LT_EOF > conftest.$ac_ext
   7506 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7507 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7508 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7509    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7510 # define LT_DLSYM_CONST
   7511 #elif defined __osf__
   7512 /* This system does not cope well with relocations in const data.  */
   7513 # define LT_DLSYM_CONST
   7514 #else
   7515 # define LT_DLSYM_CONST const
   7516 #endif
   7517 
   7518 #ifdef __cplusplus
   7519 extern "C" {
   7520 #endif
   7521 
   7522 _LT_EOF
   7523 	  # Now generate the symbol file.
   7524 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7525 
   7526 	  cat <<_LT_EOF >> conftest.$ac_ext
   7527 
   7528 /* The mapping between symbol names and symbols.  */
   7529 LT_DLSYM_CONST struct {
   7530   const char *name;
   7531   void       *address;
   7532 }
   7533 lt__PROGRAM__LTX_preloaded_symbols[] =
   7534 {
   7535   { "@PROGRAM@", (void *) 0 },
   7536 _LT_EOF
   7537 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7538 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7539   {0, (void *) 0}
   7540 };
   7541 
   7542 /* This works around a problem in FreeBSD linker */
   7543 #ifdef FREEBSD_WORKAROUND
   7544 static const void *lt_preloaded_setup() {
   7545   return lt__PROGRAM__LTX_preloaded_symbols;
   7546 }
   7547 #endif
   7548 
   7549 #ifdef __cplusplus
   7550 }
   7551 #endif
   7552 _LT_EOF
   7553 	  # Now try linking the two files.
   7554 	  mv conftest.$ac_objext conftstm.$ac_objext
   7555 	  lt_globsym_save_LIBS=$LIBS
   7556 	  lt_globsym_save_CFLAGS=$CFLAGS
   7557 	  LIBS=conftstm.$ac_objext
   7558 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7559 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7560   (eval $ac_link) 2>&5
   7561   ac_status=$?
   7562   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7563   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7564 	    pipe_works=yes
   7565 	  fi
   7566 	  LIBS=$lt_globsym_save_LIBS
   7567 	  CFLAGS=$lt_globsym_save_CFLAGS
   7568 	else
   7569 	  echo "cannot find nm_test_func in $nlist" >&5
   7570 	fi
   7571       else
   7572 	echo "cannot find nm_test_var in $nlist" >&5
   7573       fi
   7574     else
   7575       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7576     fi
   7577   else
   7578     echo "$progname: failed program was:" >&5
   7579     cat conftest.$ac_ext >&5
   7580   fi
   7581   rm -rf conftest* conftst*
   7582 
   7583   # Do not use the global_symbol_pipe unless it works.
   7584   if test yes = "$pipe_works"; then
   7585     break
   7586   else
   7587     lt_cv_sys_global_symbol_pipe=
   7588   fi
   7589 done
   7590  ;;
   7591 esac
   7592 fi
   7593 
   7594 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7595   lt_cv_sys_global_symbol_to_cdecl=
   7596 fi
   7597 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7598   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7599 printf '%s\n' "failed" >&6; }
   7600 else
   7601   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7602 printf '%s\n' "ok" >&6; }
   7603 fi
   7604 
   7605 # Response file support.
   7606 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7607   nm_file_list_spec='@'
   7608 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7609   nm_file_list_spec='@'
   7610 fi
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7649 printf %s "checking for sysroot... " >&6; }
   7650 
   7651 # Check whether --with-sysroot was given.
   7652 if test ${with_sysroot+y}
   7653 then :
   7654   withval=$with_sysroot;
   7655 else case e in #(
   7656   e) with_sysroot=no ;;
   7657 esac
   7658 fi
   7659 
   7660 
   7661 lt_sysroot=
   7662 case $with_sysroot in #(
   7663  yes)
   7664    if test yes = "$GCC"; then
   7665      # Trim trailing / since we'll always append absolute paths and we want
   7666      # to avoid //, if only for less confusing output for the user.
   7667      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7668    fi
   7669    ;; #(
   7670  /*)
   7671    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7672    ;; #(
   7673  no|'')
   7674    ;; #(
   7675  *)
   7676    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7677 printf '%s\n' "$with_sysroot" >&6; }
   7678    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7679    ;;
   7680 esac
   7681 
   7682  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7683 printf '%s\n' "${lt_sysroot:-no}" >&6; }
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7690 printf %s "checking for a working dd... " >&6; }
   7691 if test ${ac_cv_path_lt_DD+y}
   7692 then :
   7693   printf %s "(cached) " >&6
   7694 else case e in #(
   7695   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7696 cat conftest.i conftest.i >conftest2.i
   7697 : ${lt_DD:=$DD}
   7698 if test -z "$lt_DD"; then
   7699   ac_path_lt_DD_found=false
   7700   # Loop through the user's path and test for each of PROGNAME-LIST
   7701   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7702 for as_dir in $PATH
   7703 do
   7704   IFS=$as_save_IFS
   7705   case $as_dir in #(((
   7706     '') as_dir=./ ;;
   7707     */) ;;
   7708     *) as_dir=$as_dir/ ;;
   7709   esac
   7710     for ac_prog in dd
   7711    do
   7712     for ac_exec_ext in '' $ac_executable_extensions; do
   7713       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7714       as_fn_executable_p "$ac_path_lt_DD" || continue
   7715 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7716   cmp -s conftest.i conftest.out \
   7717   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7718 fi
   7719       $ac_path_lt_DD_found && break 3
   7720     done
   7721   done
   7722   done
   7723 IFS=$as_save_IFS
   7724   if test -z "$ac_cv_path_lt_DD"; then
   7725     :
   7726   fi
   7727 else
   7728   ac_cv_path_lt_DD=$lt_DD
   7729 fi
   7730 
   7731 rm -f conftest.i conftest2.i conftest.out ;;
   7732 esac
   7733 fi
   7734 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7735 printf '%s\n' "$ac_cv_path_lt_DD" >&6; }
   7736 
   7737 
   7738 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7739 printf %s "checking how to truncate binary pipes... " >&6; }
   7740 if test ${lt_cv_truncate_bin+y}
   7741 then :
   7742   printf %s "(cached) " >&6
   7743 else case e in #(
   7744   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7745 cat conftest.i conftest.i >conftest2.i
   7746 lt_cv_truncate_bin=
   7747 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7748   cmp -s conftest.i conftest.out \
   7749   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7750 fi
   7751 rm -f conftest.i conftest2.i conftest.out
   7752 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7753 esac
   7754 fi
   7755 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7756 printf '%s\n' "$lt_cv_truncate_bin" >&6; }
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7765 func_cc_basename ()
   7766 {
   7767     for cc_temp in $*""; do
   7768       case $cc_temp in
   7769         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7770         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7771         \-*) ;;
   7772         *) break;;
   7773       esac
   7774     done
   7775     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7776 }
   7777 
   7778 # Check whether --enable-libtool-lock was given.
   7779 if test ${enable_libtool_lock+y}
   7780 then :
   7781   enableval=$enable_libtool_lock;
   7782 fi
   7783 
   7784 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7785 
   7786 # Some flags need to be propagated to the compiler or linker for good
   7787 # libtool support.
   7788 case $host in
   7789 ia64-*-hpux*)
   7790   # Find out what ABI is being produced by ac_compile, and set mode
   7791   # options accordingly.
   7792   echo 'int i;' > conftest.$ac_ext
   7793   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7794   (eval $ac_compile) 2>&5
   7795   ac_status=$?
   7796   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7797   test $ac_status = 0; }; then
   7798     case `$FILECMD conftest.$ac_objext` in
   7799       *ELF-32*)
   7800 	HPUX_IA64_MODE=32
   7801 	;;
   7802       *ELF-64*)
   7803 	HPUX_IA64_MODE=64
   7804 	;;
   7805     esac
   7806   fi
   7807   rm -rf conftest*
   7808   ;;
   7809 *-*-irix6*)
   7810   # Find out what ABI is being produced by ac_compile, and set linker
   7811   # options accordingly.
   7812   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7813   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7814   (eval $ac_compile) 2>&5
   7815   ac_status=$?
   7816   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7817   test $ac_status = 0; }; then
   7818     if test yes = "$lt_cv_prog_gnu_ld"; then
   7819       case `$FILECMD conftest.$ac_objext` in
   7820 	*32-bit*)
   7821 	  LD="${LD-ld} -melf32bsmip"
   7822 	  ;;
   7823 	*N32*)
   7824 	  LD="${LD-ld} -melf32bmipn32"
   7825 	  ;;
   7826 	*64-bit*)
   7827 	  LD="${LD-ld} -melf64bmip"
   7828 	;;
   7829       esac
   7830     else
   7831       case `$FILECMD conftest.$ac_objext` in
   7832 	*32-bit*)
   7833 	  LD="${LD-ld} -32"
   7834 	  ;;
   7835 	*N32*)
   7836 	  LD="${LD-ld} -n32"
   7837 	  ;;
   7838 	*64-bit*)
   7839 	  LD="${LD-ld} -64"
   7840 	  ;;
   7841       esac
   7842     fi
   7843   fi
   7844   rm -rf conftest*
   7845   ;;
   7846 
   7847 mips64*-*linux*)
   7848   # Find out what ABI is being produced by ac_compile, and set linker
   7849   # options accordingly.
   7850   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7851   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7852   (eval $ac_compile) 2>&5
   7853   ac_status=$?
   7854   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7855   test $ac_status = 0; }; then
   7856     emul=elf
   7857     case `$FILECMD conftest.$ac_objext` in
   7858       *32-bit*)
   7859 	emul="${emul}32"
   7860 	;;
   7861       *64-bit*)
   7862 	emul="${emul}64"
   7863 	;;
   7864     esac
   7865     case `$FILECMD conftest.$ac_objext` in
   7866       *MSB*)
   7867 	emul="${emul}btsmip"
   7868 	;;
   7869       *LSB*)
   7870 	emul="${emul}ltsmip"
   7871 	;;
   7872     esac
   7873     case `$FILECMD conftest.$ac_objext` in
   7874       *N32*)
   7875 	emul="${emul}n32"
   7876 	;;
   7877     esac
   7878     LD="${LD-ld} -m $emul"
   7879   fi
   7880   rm -rf conftest*
   7881   ;;
   7882 
   7883 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7884 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   7885   # Find out what ABI is being produced by ac_compile, and set linker
   7886   # options accordingly.  Note that the listed cases only cover the
   7887   # situations where additional linker options are needed (such as when
   7888   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7889   # vice versa); the common cases where no linker options are needed do
   7890   # not appear in the list.
   7891   echo 'int i;' > conftest.$ac_ext
   7892   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7893   (eval $ac_compile) 2>&5
   7894   ac_status=$?
   7895   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7896   test $ac_status = 0; }; then
   7897     case `$FILECMD conftest.o` in
   7898       *32-bit*)
   7899 	case $host in
   7900 	  x86_64-*kfreebsd*-gnu)
   7901 	    LD="${LD-ld} -m elf_i386_fbsd"
   7902 	    ;;
   7903 	  x86_64-*linux*|x86_64-gnu*)
   7904 	    case `$FILECMD conftest.o` in
   7905 	      *x86-64*)
   7906 		LD="${LD-ld} -m elf32_x86_64"
   7907 		;;
   7908 	      *)
   7909 		LD="${LD-ld} -m elf_i386"
   7910 		;;
   7911 	    esac
   7912 	    ;;
   7913 	  powerpc64le-*linux*)
   7914 	    LD="${LD-ld} -m elf32lppclinux"
   7915 	    ;;
   7916 	  powerpc64-*linux*)
   7917 	    LD="${LD-ld} -m elf32ppclinux"
   7918 	    ;;
   7919 	  s390x-*linux*)
   7920 	    LD="${LD-ld} -m elf_s390"
   7921 	    ;;
   7922 	  sparc64-*linux*)
   7923 	    LD="${LD-ld} -m elf32_sparc"
   7924 	    ;;
   7925 	esac
   7926 	;;
   7927       *64-bit*)
   7928 	case $host in
   7929 	  x86_64-*kfreebsd*-gnu)
   7930 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7931 	    ;;
   7932 	  x86_64-*linux*|x86_64-gnu*)
   7933 	    LD="${LD-ld} -m elf_x86_64"
   7934 	    ;;
   7935 	  powerpcle-*linux*)
   7936 	    LD="${LD-ld} -m elf64lppc"
   7937 	    ;;
   7938 	  powerpc-*linux*)
   7939 	    LD="${LD-ld} -m elf64ppc"
   7940 	    ;;
   7941 	  s390*-*linux*|s390*-*tpf*)
   7942 	    LD="${LD-ld} -m elf64_s390"
   7943 	    ;;
   7944 	  sparc*-*linux*)
   7945 	    LD="${LD-ld} -m elf64_sparc"
   7946 	    ;;
   7947 	esac
   7948 	;;
   7949     esac
   7950   fi
   7951   rm -rf conftest*
   7952   ;;
   7953 
   7954 *-*-sco3.2v5*)
   7955   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7956   SAVE_CFLAGS=$CFLAGS
   7957   CFLAGS="$CFLAGS -belf"
   7958   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7959 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7960 if test ${lt_cv_cc_needs_belf+y}
   7961 then :
   7962   printf %s "(cached) " >&6
   7963 else case e in #(
   7964   e) ac_ext=c
   7965 ac_cpp='$CPP $CPPFLAGS'
   7966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7969 
   7970      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7971 /* end confdefs.h.  */
   7972 
   7973 int
   7974 main (void)
   7975 {
   7976 
   7977   ;
   7978   return 0;
   7979 }
   7980 _ACEOF
   7981 if ac_fn_c_try_link "$LINENO"
   7982 then :
   7983   lt_cv_cc_needs_belf=yes
   7984 else case e in #(
   7985   e) lt_cv_cc_needs_belf=no ;;
   7986 esac
   7987 fi
   7988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7989     conftest$ac_exeext conftest.$ac_ext
   7990      ac_ext=c
   7991 ac_cpp='$CPP $CPPFLAGS'
   7992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7995  ;;
   7996 esac
   7997 fi
   7998 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7999 printf '%s\n' "$lt_cv_cc_needs_belf" >&6; }
   8000   if test yes != "$lt_cv_cc_needs_belf"; then
   8001     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8002     CFLAGS=$SAVE_CFLAGS
   8003   fi
   8004   ;;
   8005 *-*solaris*)
   8006   # Find out what ABI is being produced by ac_compile, and set linker
   8007   # options accordingly.
   8008   echo 'int i;' > conftest.$ac_ext
   8009   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8010   (eval $ac_compile) 2>&5
   8011   ac_status=$?
   8012   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8013   test $ac_status = 0; }; then
   8014     case `$FILECMD conftest.o` in
   8015     *64-bit*)
   8016       case $lt_cv_prog_gnu_ld in
   8017       yes*)
   8018         case $host in
   8019         i?86-*-solaris*|x86_64-*-solaris*)
   8020           LD="${LD-ld} -m elf_x86_64"
   8021           ;;
   8022         sparc*-*-solaris*)
   8023           LD="${LD-ld} -m elf64_sparc"
   8024           ;;
   8025         esac
   8026         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8027         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8028           LD=${LD-ld}_sol2
   8029         fi
   8030         ;;
   8031       *)
   8032 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8033 	  LD="${LD-ld} -64"
   8034 	fi
   8035 	;;
   8036       esac
   8037       ;;
   8038     esac
   8039   fi
   8040   rm -rf conftest*
   8041   ;;
   8042 esac
   8043 
   8044 need_locks=$enable_libtool_lock
   8045 
   8046 if test -n "$ac_tool_prefix"; then
   8047   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8048 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8049 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8050 printf %s "checking for $ac_word... " >&6; }
   8051 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8052 then :
   8053   printf %s "(cached) " >&6
   8054 else case e in #(
   8055   e) if test -n "$MANIFEST_TOOL"; then
   8056   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8057 else
   8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8059 for as_dir in $PATH
   8060 do
   8061   IFS=$as_save_IFS
   8062   case $as_dir in #(((
   8063     '') as_dir=./ ;;
   8064     */) ;;
   8065     *) as_dir=$as_dir/ ;;
   8066   esac
   8067     for ac_exec_ext in '' $ac_executable_extensions; do
   8068   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8069     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8070     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8071     break 2
   8072   fi
   8073 done
   8074   done
   8075 IFS=$as_save_IFS
   8076 
   8077 fi ;;
   8078 esac
   8079 fi
   8080 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8081 if test -n "$MANIFEST_TOOL"; then
   8082   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8083 printf '%s\n' "$MANIFEST_TOOL" >&6; }
   8084 else
   8085   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8086 printf '%s\n' "no" >&6; }
   8087 fi
   8088 
   8089 
   8090 fi
   8091 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8092   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8093   # Extract the first word of "mt", so it can be a program name with args.
   8094 set dummy mt; ac_word=$2
   8095 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8096 printf %s "checking for $ac_word... " >&6; }
   8097 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8098 then :
   8099   printf %s "(cached) " >&6
   8100 else case e in #(
   8101   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   8102   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8103 else
   8104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8105 for as_dir in $PATH
   8106 do
   8107   IFS=$as_save_IFS
   8108   case $as_dir in #(((
   8109     '') as_dir=./ ;;
   8110     */) ;;
   8111     *) as_dir=$as_dir/ ;;
   8112   esac
   8113     for ac_exec_ext in '' $ac_executable_extensions; do
   8114   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8115     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8116     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8117     break 2
   8118   fi
   8119 done
   8120   done
   8121 IFS=$as_save_IFS
   8122 
   8123 fi ;;
   8124 esac
   8125 fi
   8126 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8127 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8128   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8129 printf '%s\n' "$ac_ct_MANIFEST_TOOL" >&6; }
   8130 else
   8131   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8132 printf '%s\n' "no" >&6; }
   8133 fi
   8134 
   8135   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8136     MANIFEST_TOOL=":"
   8137   else
   8138     case $cross_compiling:$ac_tool_warned in
   8139 yes:)
   8140 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8141 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8142 ac_tool_warned=yes ;;
   8143 esac
   8144     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8145   fi
   8146 else
   8147   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8148 fi
   8149 
   8150 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8151 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8152 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8153 if test ${lt_cv_path_manifest_tool+y}
   8154 then :
   8155   printf %s "(cached) " >&6
   8156 else case e in #(
   8157   e) lt_cv_path_manifest_tool=no
   8158   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8159   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8160   cat conftest.err >&5
   8161   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8162     lt_cv_path_manifest_tool=yes
   8163   fi
   8164   rm -f conftest* ;;
   8165 esac
   8166 fi
   8167 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   8168 printf '%s\n' "$lt_cv_path_manifest_tool" >&6; }
   8169 if test yes != "$lt_cv_path_manifest_tool"; then
   8170   MANIFEST_TOOL=:
   8171 fi
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178   case $host_os in
   8179     rhapsody* | darwin*)
   8180     if test -n "$ac_tool_prefix"; then
   8181   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8182 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8183 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8184 printf %s "checking for $ac_word... " >&6; }
   8185 if test ${ac_cv_prog_DSYMUTIL+y}
   8186 then :
   8187   printf %s "(cached) " >&6
   8188 else case e in #(
   8189   e) if test -n "$DSYMUTIL"; then
   8190   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8191 else
   8192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8193 for as_dir in $PATH
   8194 do
   8195   IFS=$as_save_IFS
   8196   case $as_dir in #(((
   8197     '') as_dir=./ ;;
   8198     */) ;;
   8199     *) as_dir=$as_dir/ ;;
   8200   esac
   8201     for ac_exec_ext in '' $ac_executable_extensions; do
   8202   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8203     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8204     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8205     break 2
   8206   fi
   8207 done
   8208   done
   8209 IFS=$as_save_IFS
   8210 
   8211 fi ;;
   8212 esac
   8213 fi
   8214 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8215 if test -n "$DSYMUTIL"; then
   8216   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8217 printf '%s\n' "$DSYMUTIL" >&6; }
   8218 else
   8219   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8220 printf '%s\n' "no" >&6; }
   8221 fi
   8222 
   8223 
   8224 fi
   8225 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8226   ac_ct_DSYMUTIL=$DSYMUTIL
   8227   # Extract the first word of "dsymutil", so it can be a program name with args.
   8228 set dummy dsymutil; ac_word=$2
   8229 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8230 printf %s "checking for $ac_word... " >&6; }
   8231 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8232 then :
   8233   printf %s "(cached) " >&6
   8234 else case e in #(
   8235   e) if test -n "$ac_ct_DSYMUTIL"; then
   8236   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8237 else
   8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8239 for as_dir in $PATH
   8240 do
   8241   IFS=$as_save_IFS
   8242   case $as_dir in #(((
   8243     '') as_dir=./ ;;
   8244     */) ;;
   8245     *) as_dir=$as_dir/ ;;
   8246   esac
   8247     for ac_exec_ext in '' $ac_executable_extensions; do
   8248   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8249     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8250     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8251     break 2
   8252   fi
   8253 done
   8254   done
   8255 IFS=$as_save_IFS
   8256 
   8257 fi ;;
   8258 esac
   8259 fi
   8260 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8261 if test -n "$ac_ct_DSYMUTIL"; then
   8262   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8263 printf '%s\n' "$ac_ct_DSYMUTIL" >&6; }
   8264 else
   8265   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8266 printf '%s\n' "no" >&6; }
   8267 fi
   8268 
   8269   if test "x$ac_ct_DSYMUTIL" = x; then
   8270     DSYMUTIL=":"
   8271   else
   8272     case $cross_compiling:$ac_tool_warned in
   8273 yes:)
   8274 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8275 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8276 ac_tool_warned=yes ;;
   8277 esac
   8278     DSYMUTIL=$ac_ct_DSYMUTIL
   8279   fi
   8280 else
   8281   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8282 fi
   8283 
   8284     if test -n "$ac_tool_prefix"; then
   8285   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8286 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8287 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8288 printf %s "checking for $ac_word... " >&6; }
   8289 if test ${ac_cv_prog_NMEDIT+y}
   8290 then :
   8291   printf %s "(cached) " >&6
   8292 else case e in #(
   8293   e) if test -n "$NMEDIT"; then
   8294   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8295 else
   8296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8297 for as_dir in $PATH
   8298 do
   8299   IFS=$as_save_IFS
   8300   case $as_dir in #(((
   8301     '') as_dir=./ ;;
   8302     */) ;;
   8303     *) as_dir=$as_dir/ ;;
   8304   esac
   8305     for ac_exec_ext in '' $ac_executable_extensions; do
   8306   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8307     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8308     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8309     break 2
   8310   fi
   8311 done
   8312   done
   8313 IFS=$as_save_IFS
   8314 
   8315 fi ;;
   8316 esac
   8317 fi
   8318 NMEDIT=$ac_cv_prog_NMEDIT
   8319 if test -n "$NMEDIT"; then
   8320   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8321 printf '%s\n' "$NMEDIT" >&6; }
   8322 else
   8323   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8324 printf '%s\n' "no" >&6; }
   8325 fi
   8326 
   8327 
   8328 fi
   8329 if test -z "$ac_cv_prog_NMEDIT"; then
   8330   ac_ct_NMEDIT=$NMEDIT
   8331   # Extract the first word of "nmedit", so it can be a program name with args.
   8332 set dummy nmedit; ac_word=$2
   8333 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8334 printf %s "checking for $ac_word... " >&6; }
   8335 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8336 then :
   8337   printf %s "(cached) " >&6
   8338 else case e in #(
   8339   e) if test -n "$ac_ct_NMEDIT"; then
   8340   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8341 else
   8342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8343 for as_dir in $PATH
   8344 do
   8345   IFS=$as_save_IFS
   8346   case $as_dir in #(((
   8347     '') as_dir=./ ;;
   8348     */) ;;
   8349     *) as_dir=$as_dir/ ;;
   8350   esac
   8351     for ac_exec_ext in '' $ac_executable_extensions; do
   8352   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8353     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8354     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8355     break 2
   8356   fi
   8357 done
   8358   done
   8359 IFS=$as_save_IFS
   8360 
   8361 fi ;;
   8362 esac
   8363 fi
   8364 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8365 if test -n "$ac_ct_NMEDIT"; then
   8366   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8367 printf '%s\n' "$ac_ct_NMEDIT" >&6; }
   8368 else
   8369   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8370 printf '%s\n' "no" >&6; }
   8371 fi
   8372 
   8373   if test "x$ac_ct_NMEDIT" = x; then
   8374     NMEDIT=":"
   8375   else
   8376     case $cross_compiling:$ac_tool_warned in
   8377 yes:)
   8378 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8379 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8380 ac_tool_warned=yes ;;
   8381 esac
   8382     NMEDIT=$ac_ct_NMEDIT
   8383   fi
   8384 else
   8385   NMEDIT="$ac_cv_prog_NMEDIT"
   8386 fi
   8387 
   8388     if test -n "$ac_tool_prefix"; then
   8389   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8390 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8391 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8392 printf %s "checking for $ac_word... " >&6; }
   8393 if test ${ac_cv_prog_LIPO+y}
   8394 then :
   8395   printf %s "(cached) " >&6
   8396 else case e in #(
   8397   e) if test -n "$LIPO"; then
   8398   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8399 else
   8400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8401 for as_dir in $PATH
   8402 do
   8403   IFS=$as_save_IFS
   8404   case $as_dir in #(((
   8405     '') as_dir=./ ;;
   8406     */) ;;
   8407     *) as_dir=$as_dir/ ;;
   8408   esac
   8409     for ac_exec_ext in '' $ac_executable_extensions; do
   8410   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8411     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8412     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8413     break 2
   8414   fi
   8415 done
   8416   done
   8417 IFS=$as_save_IFS
   8418 
   8419 fi ;;
   8420 esac
   8421 fi
   8422 LIPO=$ac_cv_prog_LIPO
   8423 if test -n "$LIPO"; then
   8424   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8425 printf '%s\n' "$LIPO" >&6; }
   8426 else
   8427   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8428 printf '%s\n' "no" >&6; }
   8429 fi
   8430 
   8431 
   8432 fi
   8433 if test -z "$ac_cv_prog_LIPO"; then
   8434   ac_ct_LIPO=$LIPO
   8435   # Extract the first word of "lipo", so it can be a program name with args.
   8436 set dummy lipo; ac_word=$2
   8437 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8438 printf %s "checking for $ac_word... " >&6; }
   8439 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8440 then :
   8441   printf %s "(cached) " >&6
   8442 else case e in #(
   8443   e) if test -n "$ac_ct_LIPO"; then
   8444   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8445 else
   8446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8447 for as_dir in $PATH
   8448 do
   8449   IFS=$as_save_IFS
   8450   case $as_dir in #(((
   8451     '') as_dir=./ ;;
   8452     */) ;;
   8453     *) as_dir=$as_dir/ ;;
   8454   esac
   8455     for ac_exec_ext in '' $ac_executable_extensions; do
   8456   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8457     ac_cv_prog_ac_ct_LIPO="lipo"
   8458     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8459     break 2
   8460   fi
   8461 done
   8462   done
   8463 IFS=$as_save_IFS
   8464 
   8465 fi ;;
   8466 esac
   8467 fi
   8468 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8469 if test -n "$ac_ct_LIPO"; then
   8470   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8471 printf '%s\n' "$ac_ct_LIPO" >&6; }
   8472 else
   8473   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8474 printf '%s\n' "no" >&6; }
   8475 fi
   8476 
   8477   if test "x$ac_ct_LIPO" = x; then
   8478     LIPO=":"
   8479   else
   8480     case $cross_compiling:$ac_tool_warned in
   8481 yes:)
   8482 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8483 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8484 ac_tool_warned=yes ;;
   8485 esac
   8486     LIPO=$ac_ct_LIPO
   8487   fi
   8488 else
   8489   LIPO="$ac_cv_prog_LIPO"
   8490 fi
   8491 
   8492     if test -n "$ac_tool_prefix"; then
   8493   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8494 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8495 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8496 printf %s "checking for $ac_word... " >&6; }
   8497 if test ${ac_cv_prog_OTOOL+y}
   8498 then :
   8499   printf %s "(cached) " >&6
   8500 else case e in #(
   8501   e) if test -n "$OTOOL"; then
   8502   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8503 else
   8504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8505 for as_dir in $PATH
   8506 do
   8507   IFS=$as_save_IFS
   8508   case $as_dir in #(((
   8509     '') as_dir=./ ;;
   8510     */) ;;
   8511     *) as_dir=$as_dir/ ;;
   8512   esac
   8513     for ac_exec_ext in '' $ac_executable_extensions; do
   8514   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8515     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8516     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8517     break 2
   8518   fi
   8519 done
   8520   done
   8521 IFS=$as_save_IFS
   8522 
   8523 fi ;;
   8524 esac
   8525 fi
   8526 OTOOL=$ac_cv_prog_OTOOL
   8527 if test -n "$OTOOL"; then
   8528   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8529 printf '%s\n' "$OTOOL" >&6; }
   8530 else
   8531   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8532 printf '%s\n' "no" >&6; }
   8533 fi
   8534 
   8535 
   8536 fi
   8537 if test -z "$ac_cv_prog_OTOOL"; then
   8538   ac_ct_OTOOL=$OTOOL
   8539   # Extract the first word of "otool", so it can be a program name with args.
   8540 set dummy otool; ac_word=$2
   8541 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8542 printf %s "checking for $ac_word... " >&6; }
   8543 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8544 then :
   8545   printf %s "(cached) " >&6
   8546 else case e in #(
   8547   e) if test -n "$ac_ct_OTOOL"; then
   8548   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8549 else
   8550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8551 for as_dir in $PATH
   8552 do
   8553   IFS=$as_save_IFS
   8554   case $as_dir in #(((
   8555     '') as_dir=./ ;;
   8556     */) ;;
   8557     *) as_dir=$as_dir/ ;;
   8558   esac
   8559     for ac_exec_ext in '' $ac_executable_extensions; do
   8560   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8561     ac_cv_prog_ac_ct_OTOOL="otool"
   8562     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8563     break 2
   8564   fi
   8565 done
   8566   done
   8567 IFS=$as_save_IFS
   8568 
   8569 fi ;;
   8570 esac
   8571 fi
   8572 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8573 if test -n "$ac_ct_OTOOL"; then
   8574   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8575 printf '%s\n' "$ac_ct_OTOOL" >&6; }
   8576 else
   8577   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8578 printf '%s\n' "no" >&6; }
   8579 fi
   8580 
   8581   if test "x$ac_ct_OTOOL" = x; then
   8582     OTOOL=":"
   8583   else
   8584     case $cross_compiling:$ac_tool_warned in
   8585 yes:)
   8586 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8587 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8588 ac_tool_warned=yes ;;
   8589 esac
   8590     OTOOL=$ac_ct_OTOOL
   8591   fi
   8592 else
   8593   OTOOL="$ac_cv_prog_OTOOL"
   8594 fi
   8595 
   8596     if test -n "$ac_tool_prefix"; then
   8597   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8598 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8599 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8600 printf %s "checking for $ac_word... " >&6; }
   8601 if test ${ac_cv_prog_OTOOL64+y}
   8602 then :
   8603   printf %s "(cached) " >&6
   8604 else case e in #(
   8605   e) if test -n "$OTOOL64"; then
   8606   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8607 else
   8608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8609 for as_dir in $PATH
   8610 do
   8611   IFS=$as_save_IFS
   8612   case $as_dir in #(((
   8613     '') as_dir=./ ;;
   8614     */) ;;
   8615     *) as_dir=$as_dir/ ;;
   8616   esac
   8617     for ac_exec_ext in '' $ac_executable_extensions; do
   8618   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8619     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8620     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8621     break 2
   8622   fi
   8623 done
   8624   done
   8625 IFS=$as_save_IFS
   8626 
   8627 fi ;;
   8628 esac
   8629 fi
   8630 OTOOL64=$ac_cv_prog_OTOOL64
   8631 if test -n "$OTOOL64"; then
   8632   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8633 printf '%s\n' "$OTOOL64" >&6; }
   8634 else
   8635   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8636 printf '%s\n' "no" >&6; }
   8637 fi
   8638 
   8639 
   8640 fi
   8641 if test -z "$ac_cv_prog_OTOOL64"; then
   8642   ac_ct_OTOOL64=$OTOOL64
   8643   # Extract the first word of "otool64", so it can be a program name with args.
   8644 set dummy otool64; ac_word=$2
   8645 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8646 printf %s "checking for $ac_word... " >&6; }
   8647 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8648 then :
   8649   printf %s "(cached) " >&6
   8650 else case e in #(
   8651   e) if test -n "$ac_ct_OTOOL64"; then
   8652   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8653 else
   8654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8655 for as_dir in $PATH
   8656 do
   8657   IFS=$as_save_IFS
   8658   case $as_dir in #(((
   8659     '') as_dir=./ ;;
   8660     */) ;;
   8661     *) as_dir=$as_dir/ ;;
   8662   esac
   8663     for ac_exec_ext in '' $ac_executable_extensions; do
   8664   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8665     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8666     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8667     break 2
   8668   fi
   8669 done
   8670   done
   8671 IFS=$as_save_IFS
   8672 
   8673 fi ;;
   8674 esac
   8675 fi
   8676 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8677 if test -n "$ac_ct_OTOOL64"; then
   8678   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8679 printf '%s\n' "$ac_ct_OTOOL64" >&6; }
   8680 else
   8681   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8682 printf '%s\n' "no" >&6; }
   8683 fi
   8684 
   8685   if test "x$ac_ct_OTOOL64" = x; then
   8686     OTOOL64=":"
   8687   else
   8688     case $cross_compiling:$ac_tool_warned in
   8689 yes:)
   8690 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8691 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8692 ac_tool_warned=yes ;;
   8693 esac
   8694     OTOOL64=$ac_ct_OTOOL64
   8695   fi
   8696 else
   8697   OTOOL64="$ac_cv_prog_OTOOL64"
   8698 fi
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8727 printf %s "checking for -single_module linker flag... " >&6; }
   8728 if test ${lt_cv_apple_cc_single_mod+y}
   8729 then :
   8730   printf %s "(cached) " >&6
   8731 else case e in #(
   8732   e) lt_cv_apple_cc_single_mod=no
   8733       if test -z "$LT_MULTI_MODULE"; then
   8734 	# By default we will add the -single_module flag. You can override
   8735 	# by either setting the environment variable LT_MULTI_MODULE
   8736 	# non-empty at configure time, or by adding -multi_module to the
   8737 	# link flags.
   8738 	rm -rf libconftest.dylib*
   8739 	echo "int foo(void){return 1;}" > conftest.c
   8740 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8741 -dynamiclib -Wl,-single_module conftest.c" >&5
   8742 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8743 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8744         _lt_result=$?
   8745 	# If there is a non-empty error log, and "single_module"
   8746 	# appears in it, assume the flag caused a linker warning
   8747         if test -s conftest.err && $GREP single_module conftest.err; then
   8748 	  cat conftest.err >&5
   8749 	# Otherwise, if the output was created with a 0 exit code from
   8750 	# the compiler, it worked.
   8751 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8752 	  lt_cv_apple_cc_single_mod=yes
   8753 	else
   8754 	  cat conftest.err >&5
   8755 	fi
   8756 	rm -rf libconftest.dylib*
   8757 	rm -f conftest.*
   8758       fi ;;
   8759 esac
   8760 fi
   8761 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8762 printf '%s\n' "$lt_cv_apple_cc_single_mod" >&6; }
   8763 
   8764     # Feature test to disable chained fixups since it is not
   8765     # compatible with '-undefined dynamic_lookup'
   8766     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8767 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8768 if test ${lt_cv_support_no_fixup_chains+y}
   8769 then :
   8770   printf %s "(cached) " >&6
   8771 else case e in #(
   8772   e)  save_LDFLAGS=$LDFLAGS
   8773         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8774         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8775 /* end confdefs.h.  */
   8776 
   8777 int
   8778 main (void)
   8779 {
   8780 
   8781   ;
   8782   return 0;
   8783 }
   8784 _ACEOF
   8785 if ac_fn_c_try_link "$LINENO"
   8786 then :
   8787   lt_cv_support_no_fixup_chains=yes
   8788 else case e in #(
   8789   e) lt_cv_support_no_fixup_chains=no
   8790          ;;
   8791 esac
   8792 fi
   8793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8794     conftest$ac_exeext conftest.$ac_ext
   8795         LDFLAGS=$save_LDFLAGS
   8796 
   8797      ;;
   8798 esac
   8799 fi
   8800 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8801 printf '%s\n' "$lt_cv_support_no_fixup_chains" >&6; }
   8802 
   8803     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8804 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8805 if test ${lt_cv_ld_exported_symbols_list+y}
   8806 then :
   8807   printf %s "(cached) " >&6
   8808 else case e in #(
   8809   e) lt_cv_ld_exported_symbols_list=no
   8810       save_LDFLAGS=$LDFLAGS
   8811       echo "_main" > conftest.sym
   8812       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8814 /* end confdefs.h.  */
   8815 
   8816 int
   8817 main (void)
   8818 {
   8819 
   8820   ;
   8821   return 0;
   8822 }
   8823 _ACEOF
   8824 if ac_fn_c_try_link "$LINENO"
   8825 then :
   8826   lt_cv_ld_exported_symbols_list=yes
   8827 else case e in #(
   8828   e) lt_cv_ld_exported_symbols_list=no ;;
   8829 esac
   8830 fi
   8831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8832     conftest$ac_exeext conftest.$ac_ext
   8833 	LDFLAGS=$save_LDFLAGS
   8834      ;;
   8835 esac
   8836 fi
   8837 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8838 printf '%s\n' "$lt_cv_ld_exported_symbols_list" >&6; }
   8839 
   8840     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8841 printf %s "checking for -force_load linker flag... " >&6; }
   8842 if test ${lt_cv_ld_force_load+y}
   8843 then :
   8844   printf %s "(cached) " >&6
   8845 else case e in #(
   8846   e) lt_cv_ld_force_load=no
   8847       cat > conftest.c << _LT_EOF
   8848 int forced_loaded() { return 2;}
   8849 _LT_EOF
   8850       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8851       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8852       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8853       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8854       echo "$RANLIB libconftest.a" >&5
   8855       $RANLIB libconftest.a 2>&5
   8856       cat > conftest.c << _LT_EOF
   8857 int main(void) { return 0;}
   8858 _LT_EOF
   8859       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8860       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8861       _lt_result=$?
   8862       if test -s conftest.err && $GREP force_load conftest.err; then
   8863 	cat conftest.err >&5
   8864       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8865 	lt_cv_ld_force_load=yes
   8866       else
   8867 	cat conftest.err >&5
   8868       fi
   8869         rm -f conftest.err libconftest.a conftest conftest.c
   8870         rm -rf conftest.dSYM
   8871      ;;
   8872 esac
   8873 fi
   8874 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8875 printf '%s\n' "$lt_cv_ld_force_load" >&6; }
   8876     case $host_os in
   8877     rhapsody* | darwin1.[012])
   8878       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8879     darwin1.*)
   8880       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8881     darwin*)
   8882       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8883         10.[012],*|,*powerpc*-darwin[5-8]*)
   8884           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8885         *)
   8886           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   8887           if test yes = "$lt_cv_support_no_fixup_chains"; then
   8888             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   8889           fi
   8890         ;;
   8891       esac
   8892     ;;
   8893   esac
   8894     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8895       _lt_dar_single_mod='$single_module'
   8896     fi
   8897     _lt_dar_needs_single_mod=no
   8898     case $host_os in
   8899     rhapsody* | darwin1.*)
   8900       _lt_dar_needs_single_mod=yes ;;
   8901     darwin*)
   8902       # When targeting Mac OS X 10.4 (darwin 8) or later,
   8903       # -single_module is the default and -multi_module is unsupported.
   8904       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   8905       # target any OS version that needs -single_module.
   8906       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8907       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   8908         _lt_dar_needs_single_mod=yes ;;
   8909       esac
   8910     ;;
   8911     esac
   8912     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8913       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8914     else
   8915       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8916     fi
   8917     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8918       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8919     else
   8920       _lt_dsymutil=
   8921     fi
   8922     ;;
   8923   esac
   8924 
   8925 # func_munge_path_list VARIABLE PATH
   8926 # -----------------------------------
   8927 # VARIABLE is name of variable containing _space_ separated list of
   8928 # directories to be munged by the contents of PATH, which is string
   8929 # having a format:
   8930 # "DIR[:DIR]:"
   8931 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8932 # ":DIR[:DIR]"
   8933 #       string "DIR[ DIR]" will be appended to VARIABLE
   8934 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8935 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8936 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8937 # "DIR[:DIR]"
   8938 #       VARIABLE will be replaced by "DIR[ DIR]"
   8939 func_munge_path_list ()
   8940 {
   8941     case x$2 in
   8942     x)
   8943         ;;
   8944     *:)
   8945         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8946         ;;
   8947     x:*)
   8948         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8949         ;;
   8950     *::*)
   8951         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8952         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8953         ;;
   8954     *)
   8955         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8956         ;;
   8957     esac
   8958 }
   8959 
   8960 ac_header= ac_cache=
   8961 for ac_item in $ac_header_c_list
   8962 do
   8963   if test $ac_cache; then
   8964     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8965     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8966       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   8967     fi
   8968     ac_header= ac_cache=
   8969   elif test $ac_header; then
   8970     ac_cache=$ac_item
   8971   else
   8972     ac_header=$ac_item
   8973   fi
   8974 done
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8984 then :
   8985 
   8986 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   8987 
   8988 fi
   8989 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8990 "
   8991 if test "x$ac_cv_header_dlfcn_h" = xyes
   8992 then :
   8993   printf '%s\n' "#define HAVE_DLFCN_H 1" >>confdefs.h
   8994 
   8995 fi
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 # Set options
   9002 
   9003 
   9004 
   9005         enable_dlopen=no
   9006 
   9007 
   9008   enable_win32_dll=no
   9009 
   9010 
   9011             # Check whether --enable-shared was given.
   9012 if test ${enable_shared+y}
   9013 then :
   9014   enableval=$enable_shared; p=${PACKAGE-default}
   9015     case $enableval in
   9016     yes) enable_shared=yes ;;
   9017     no) enable_shared=no ;;
   9018     *)
   9019       enable_shared=no
   9020       # Look at the argument we got.  We use all the common list separators.
   9021       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9022       for pkg in $enableval; do
   9023 	IFS=$lt_save_ifs
   9024 	if test "X$pkg" = "X$p"; then
   9025 	  enable_shared=yes
   9026 	fi
   9027       done
   9028       IFS=$lt_save_ifs
   9029       ;;
   9030     esac
   9031 else case e in #(
   9032   e) enable_shared=yes ;;
   9033 esac
   9034 fi
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044   # Check whether --enable-static was given.
   9045 if test ${enable_static+y}
   9046 then :
   9047   enableval=$enable_static; p=${PACKAGE-default}
   9048     case $enableval in
   9049     yes) enable_static=yes ;;
   9050     no) enable_static=no ;;
   9051     *)
   9052      enable_static=no
   9053       # Look at the argument we got.  We use all the common list separators.
   9054       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9055       for pkg in $enableval; do
   9056 	IFS=$lt_save_ifs
   9057 	if test "X$pkg" = "X$p"; then
   9058 	  enable_static=yes
   9059 	fi
   9060       done
   9061       IFS=$lt_save_ifs
   9062       ;;
   9063     esac
   9064 else case e in #(
   9065   e) enable_static=yes ;;
   9066 esac
   9067 fi
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077   # Check whether --enable-pic was given.
   9078 if test ${enable_pic+y}
   9079 then :
   9080   enableval=$enable_pic; lt_p=${PACKAGE-default}
   9081      case $enableval in
   9082      yes|no) pic_mode=$enableval ;;
   9083      *)
   9084        pic_mode=default
   9085        # Look at the argument we got.  We use all the common list separators.
   9086        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9087        for lt_pkg in $enableval; do
   9088 	 IFS=$lt_save_ifs
   9089 	 if test "X$lt_pkg" = "X$lt_p"; then
   9090 	   pic_mode=yes
   9091 	 fi
   9092        done
   9093        IFS=$lt_save_ifs
   9094        ;;
   9095      esac
   9096 else case e in #(
   9097   e)           # Check whether --with-pic was given.
   9098 if test ${with_pic+y}
   9099 then :
   9100   withval=$with_pic; lt_p=${PACKAGE-default}
   9101 	 case $withval in
   9102 	 yes|no) pic_mode=$withval ;;
   9103 	 *)
   9104 	   pic_mode=default
   9105 	   # Look at the argument we got.  We use all the common list separators.
   9106 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9107 	   for lt_pkg in $withval; do
   9108 	     IFS=$lt_save_ifs
   9109 	     if test "X$lt_pkg" = "X$lt_p"; then
   9110 	       pic_mode=yes
   9111 	     fi
   9112 	   done
   9113 	   IFS=$lt_save_ifs
   9114 	   ;;
   9115 	 esac
   9116 else case e in #(
   9117   e) pic_mode=default ;;
   9118 esac
   9119 fi
   9120 
   9121      ;;
   9122 esac
   9123 fi
   9124 
   9125 
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 
   9132   stdlibflag=-nostdlib
   9133 # Check whether --enable-cxx-stdlib was given.
   9134 if test ${enable_cxx_stdlib+y}
   9135 then :
   9136   enableval=$enable_cxx_stdlib; p=${PACKAGE-default}
   9137     case $enableval in
   9138     yes) enable_cxx_stdlib=yes ;;
   9139     no) enable_cxx_stdlib=no ;;
   9140     *)
   9141      enable_cxx_stdlib=no
   9142       # Look at the argument we got.  We use all the common list separators.
   9143       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9144       for pkg in $enableval; do
   9145 	IFS=$lt_save_ifs
   9146 	if test "X$pkg" = "X$p"; then
   9147 	  enable_cxx_stdlib=yes
   9148 	fi
   9149       done
   9150       IFS=$lt_save_ifs
   9151       ;;
   9152     esac
   9153 else case e in #(
   9154   e) enable_cxx_stdlib=no ;;
   9155 esac
   9156 fi
   9157 
   9158 
   9159 if test yes = "$enable_cxx_stdlib"; then
   9160   stdlibflag=
   9161 fi
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173   # Check whether --enable-fast-install was given.
   9174 if test ${enable_fast_install+y}
   9175 then :
   9176   enableval=$enable_fast_install; p=${PACKAGE-default}
   9177     case $enableval in
   9178     yes) enable_fast_install=yes ;;
   9179     no) enable_fast_install=no ;;
   9180     *)
   9181       enable_fast_install=no
   9182       # Look at the argument we got.  We use all the common list separators.
   9183       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9184       for pkg in $enableval; do
   9185 	IFS=$lt_save_ifs
   9186 	if test "X$pkg" = "X$p"; then
   9187 	  enable_fast_install=yes
   9188 	fi
   9189       done
   9190       IFS=$lt_save_ifs
   9191       ;;
   9192     esac
   9193 else case e in #(
   9194   e) enable_fast_install=yes ;;
   9195 esac
   9196 fi
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205   shared_archive_member_spec=
   9206 case $host,$enable_shared in
   9207 power*-*-aix[5-9]*,yes)
   9208   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9209 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9210   # Check whether --enable-aix-soname was given.
   9211 if test ${enable_aix_soname+y}
   9212 then :
   9213   enableval=$enable_aix_soname; case $enableval in
   9214      aix|svr4|both)
   9215        ;;
   9216      *)
   9217        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   9218        ;;
   9219      esac
   9220      lt_cv_with_aix_soname=$enable_aix_soname
   9221 else case e in #(
   9222   e) # Check whether --with-aix-soname was given.
   9223 if test ${with_aix_soname+y}
   9224 then :
   9225   withval=$with_aix_soname; case $withval in
   9226          aix|svr4|both)
   9227            ;;
   9228          *)
   9229            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9230            ;;
   9231          esac
   9232          lt_cv_with_aix_soname=$with_aix_soname
   9233 else case e in #(
   9234   e) if test ${lt_cv_with_aix_soname+y}
   9235 then :
   9236   printf %s "(cached) " >&6
   9237 else case e in #(
   9238   e) lt_cv_with_aix_soname=aix ;;
   9239 esac
   9240 fi
   9241  ;;
   9242 esac
   9243 fi
   9244 
   9245      enable_aix_soname=$lt_cv_with_aix_soname ;;
   9246 esac
   9247 fi
   9248 
   9249   with_aix_soname=$enable_aix_soname
   9250   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9251 printf '%s\n' "$with_aix_soname" >&6; }
   9252   if test aix != "$with_aix_soname"; then
   9253     # For the AIX way of multilib, we name the shared archive member
   9254     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9255     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9256     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9257     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9258     if test 64 = "${OBJECT_MODE-32}"; then
   9259       shared_archive_member_spec=shr_64
   9260     else
   9261       shared_archive_member_spec=shr
   9262     fi
   9263   fi
   9264   ;;
   9265 power*-*-aix[5-9]*,'')
   9266   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&5
   9267 printf '%s\n' "$as_me: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&2;}
   9268   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9269 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9270   with_aix_soname=aix
   9271   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
   9272 printf '%s\n' "(default) $with_aix_soname" >&6; }
   9273   ;;
   9274 *)
   9275   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9276 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9277   with_aix_soname=aix
   9278   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
   9279 printf '%s\n' "(default) $with_aix_soname" >&6; }
   9280   ;;
   9281 esac
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 # This can be used to rebuild libtool when needed
   9293 LIBTOOL_DEPS=$ltmain
   9294 
   9295 # Always use our own libtool.
   9296 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 test -z "$LN_S" && LN_S="ln -s"
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 
   9341 
   9342 if test -n "${ZSH_VERSION+set}"; then
   9343    setopt NO_GLOB_SUBST
   9344 fi
   9345 
   9346 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9347 printf %s "checking for objdir... " >&6; }
   9348 if test ${lt_cv_objdir+y}
   9349 then :
   9350   printf %s "(cached) " >&6
   9351 else case e in #(
   9352   e) rm -f .libs 2>/dev/null
   9353 mkdir .libs 2>/dev/null
   9354 if test -d .libs; then
   9355   lt_cv_objdir=.libs
   9356 else
   9357   # MS-DOS does not allow filenames that begin with a dot.
   9358   lt_cv_objdir=_libs
   9359 fi
   9360 rmdir .libs 2>/dev/null ;;
   9361 esac
   9362 fi
   9363 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9364 printf '%s\n' "$lt_cv_objdir" >&6; }
   9365 objdir=$lt_cv_objdir
   9366 
   9367 
   9368 
   9369 
   9370 
   9371 printf '%s\n' "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9372 
   9373 
   9374 
   9375 
   9376 case $host_os in
   9377 aix3*)
   9378   # AIX sometimes has problems with the GCC collect2 program.  For some
   9379   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9380   # vanish in a puff of smoke.
   9381   if test set != "${COLLECT_NAMES+set}"; then
   9382     COLLECT_NAMES=
   9383     export COLLECT_NAMES
   9384   fi
   9385   ;;
   9386 esac
   9387 
   9388 # Global variables:
   9389 ofile=libtool
   9390 can_build_shared=yes
   9391 
   9392 # All known linkers require a '.a' archive for static linking (except MSVC and
   9393 # ICC, which need '.lib').
   9394 libext=a
   9395 
   9396 with_gnu_ld=$lt_cv_prog_gnu_ld
   9397 
   9398 old_CC=$CC
   9399 old_CFLAGS=$CFLAGS
   9400 
   9401 # Set sane defaults for various variables
   9402 test -z "$CC" && CC=cc
   9403 test -z "$LTCC" && LTCC=$CC
   9404 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9405 test -z "$LD" && LD=ld
   9406 test -z "$ac_objext" && ac_objext=o
   9407 
   9408 func_cc_basename $compiler
   9409 cc_basename=$func_cc_basename_result
   9410 
   9411 
   9412 # Only perform the check for file, if the check method requires it
   9413 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9414 case $deplibs_check_method in
   9415 file_magic*)
   9416   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9417     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9418 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9419 if test ${lt_cv_path_MAGIC_CMD+y}
   9420 then :
   9421   printf %s "(cached) " >&6
   9422 else case e in #(
   9423   e) case $MAGIC_CMD in
   9424 [\\/*] |  ?:[\\/]*)
   9425   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9426   ;;
   9427 *)
   9428   lt_save_MAGIC_CMD=$MAGIC_CMD
   9429   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9430   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9431   for ac_dir in $ac_dummy; do
   9432     IFS=$lt_save_ifs
   9433     test -z "$ac_dir" && ac_dir=.
   9434     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9435       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9436       if test -n "$file_magic_test_file"; then
   9437 	case $deplibs_check_method in
   9438 	"file_magic "*)
   9439 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9440 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9441 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9442 	    $EGREP "$file_magic_regex" > /dev/null; then
   9443 	    :
   9444 	  else
   9445 	    cat <<_LT_EOF 1>&2
   9446 
   9447 *** Warning: the command libtool uses to detect shared libraries,
   9448 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9449 *** The result is that libtool may fail to recognize shared libraries
   9450 *** as such.  This will affect the creation of libtool libraries that
   9451 *** depend on shared libraries, but programs linked with such libtool
   9452 *** libraries will work regardless of this problem.  Nevertheless, you
   9453 *** may want to report the problem to your system manager and/or to
   9454 *** bug-libtool@gnu.org
   9455 
   9456 _LT_EOF
   9457 	  fi ;;
   9458 	esac
   9459       fi
   9460       break
   9461     fi
   9462   done
   9463   IFS=$lt_save_ifs
   9464   MAGIC_CMD=$lt_save_MAGIC_CMD
   9465   ;;
   9466 esac ;;
   9467 esac
   9468 fi
   9469 
   9470 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9471 if test -n "$MAGIC_CMD"; then
   9472   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9473 printf '%s\n' "$MAGIC_CMD" >&6; }
   9474 else
   9475   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9476 printf '%s\n' "no" >&6; }
   9477 fi
   9478 
   9479 
   9480 
   9481 
   9482 
   9483 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9484   if test -n "$ac_tool_prefix"; then
   9485     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9486 printf %s "checking for file... " >&6; }
   9487 if test ${lt_cv_path_MAGIC_CMD+y}
   9488 then :
   9489   printf %s "(cached) " >&6
   9490 else case e in #(
   9491   e) case $MAGIC_CMD in
   9492 [\\/*] |  ?:[\\/]*)
   9493   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9494   ;;
   9495 *)
   9496   lt_save_MAGIC_CMD=$MAGIC_CMD
   9497   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9498   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9499   for ac_dir in $ac_dummy; do
   9500     IFS=$lt_save_ifs
   9501     test -z "$ac_dir" && ac_dir=.
   9502     if test -f "$ac_dir/file"; then
   9503       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9504       if test -n "$file_magic_test_file"; then
   9505 	case $deplibs_check_method in
   9506 	"file_magic "*)
   9507 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9508 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9509 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9510 	    $EGREP "$file_magic_regex" > /dev/null; then
   9511 	    :
   9512 	  else
   9513 	    cat <<_LT_EOF 1>&2
   9514 
   9515 *** Warning: the command libtool uses to detect shared libraries,
   9516 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9517 *** The result is that libtool may fail to recognize shared libraries
   9518 *** as such.  This will affect the creation of libtool libraries that
   9519 *** depend on shared libraries, but programs linked with such libtool
   9520 *** libraries will work regardless of this problem.  Nevertheless, you
   9521 *** may want to report the problem to your system manager and/or to
   9522 *** bug-libtool@gnu.org
   9523 
   9524 _LT_EOF
   9525 	  fi ;;
   9526 	esac
   9527       fi
   9528       break
   9529     fi
   9530   done
   9531   IFS=$lt_save_ifs
   9532   MAGIC_CMD=$lt_save_MAGIC_CMD
   9533   ;;
   9534 esac ;;
   9535 esac
   9536 fi
   9537 
   9538 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9539 if test -n "$MAGIC_CMD"; then
   9540   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9541 printf '%s\n' "$MAGIC_CMD" >&6; }
   9542 else
   9543   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9544 printf '%s\n' "no" >&6; }
   9545 fi
   9546 
   9547 
   9548   else
   9549     MAGIC_CMD=:
   9550   fi
   9551 fi
   9552 
   9553   fi
   9554   ;;
   9555 esac
   9556 
   9557 # Use C for the default configuration in the libtool script
   9558 
   9559 lt_save_CC=$CC
   9560 ac_ext=c
   9561 ac_cpp='$CPP $CPPFLAGS'
   9562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9565 
   9566 
   9567 # Source file extension for C test sources.
   9568 ac_ext=c
   9569 
   9570 # Object file extension for compiled C test sources.
   9571 objext=o
   9572 objext=$objext
   9573 
   9574 # Code to be used in simple compile tests
   9575 lt_simple_compile_test_code="int some_variable = 0;"
   9576 
   9577 # Code to be used in simple link tests
   9578 lt_simple_link_test_code='int main(void){return(0);}'
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 # If no C compiler was specified, use CC.
   9587 LTCC=${LTCC-"$CC"}
   9588 
   9589 # If no C compiler flags were specified, use CFLAGS.
   9590 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9591 
   9592 # Allow CC to be a program name with arguments.
   9593 compiler=$CC
   9594 
   9595 # Save the default compiler, since it gets overwritten when the other
   9596 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9597 compiler_DEFAULT=$CC
   9598 
   9599 # save warnings/boilerplate of simple test code
   9600 ac_outfile=conftest.$ac_objext
   9601 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9602 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9603 _lt_compiler_boilerplate=`cat conftest.err`
   9604 $RM conftest*
   9605 
   9606 ac_outfile=conftest.$ac_objext
   9607 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9608 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9609 _lt_linker_boilerplate=`cat conftest.err`
   9610 $RM -r conftest*
   9611 
   9612 
   9613 ## CAVEAT EMPTOR:
   9614 ## There is no encapsulation within the following macros, do not change
   9615 ## the running order or otherwise move them around unless you know exactly
   9616 ## what you are doing...
   9617 if test -n "$compiler"; then
   9618 
   9619 lt_prog_compiler_no_builtin_flag=
   9620 
   9621 if test yes = "$GCC"; then
   9622   case $cc_basename in
   9623   nvcc*)
   9624     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9625   *)
   9626     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9627   esac
   9628 
   9629   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9630 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9631 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9632 then :
   9633   printf %s "(cached) " >&6
   9634 else case e in #(
   9635   e) lt_cv_prog_compiler_rtti_exceptions=no
   9636    ac_outfile=conftest.$ac_objext
   9637    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9638    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9639    # Insert the option either (1) after the last *FLAGS variable, or
   9640    # (2) before a word containing "conftest.", or (3) at the end.
   9641    # Note that $ac_compile itself does not contain backslashes and begins
   9642    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9643    # The option is referenced via a variable to avoid confusing sed.
   9644    lt_compile=`echo "$ac_compile" | $SED \
   9645    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9646    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9647    -e 's:$: $lt_compiler_flag:'`
   9648    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9649    (eval "$lt_compile" 2>conftest.err)
   9650    ac_status=$?
   9651    cat conftest.err >&5
   9652    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9653    if (exit $ac_status) && test -s "$ac_outfile"; then
   9654      # The compiler can only warn and ignore the option if not recognized
   9655      # So say no if there are warnings other than the usual output.
   9656      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   9657      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9658      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   9659        lt_cv_prog_compiler_rtti_exceptions=yes
   9660      fi
   9661    fi
   9662    $RM conftest*
   9663  ;;
   9664 esac
   9665 fi
   9666 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9667 printf '%s\n' "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9668 
   9669 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9670     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9671 else
   9672     :
   9673 fi
   9674 
   9675 fi
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682   lt_prog_compiler_wl=
   9683 lt_prog_compiler_pic=
   9684 lt_prog_compiler_static=
   9685 
   9686 
   9687   if test yes = "$GCC"; then
   9688     lt_prog_compiler_wl='-Wl,'
   9689     lt_prog_compiler_static='-static'
   9690 
   9691     case $host_os in
   9692       aix*)
   9693       # All AIX code is PIC.
   9694       if test ia64 = "$host_cpu"; then
   9695 	# AIX 5 now supports IA64 processor
   9696 	lt_prog_compiler_static='-Bstatic'
   9697       fi
   9698       lt_prog_compiler_pic='-fPIC'
   9699       ;;
   9700 
   9701     amigaos*)
   9702       case $host_cpu in
   9703       powerpc)
   9704             # see comment about AmigaOS4 .so support
   9705             lt_prog_compiler_pic='-fPIC'
   9706         ;;
   9707       m68k)
   9708             # FIXME: we need at least 68020 code to build shared libraries, but
   9709             # adding the '-m68020' flag to GCC prevents building anything better,
   9710             # like '-m68040'.
   9711             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9712         ;;
   9713       esac
   9714       ;;
   9715 
   9716     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9717       # PIC is the default for these OSes.
   9718       ;;
   9719 
   9720     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9721       # This hack is so that the source file can tell whether it is being
   9722       # built for inclusion in a dll (and should export symbols for example).
   9723       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9724       # (--disable-auto-import) libraries
   9725       lt_prog_compiler_pic='-DDLL_EXPORT'
   9726       case $host_os in
   9727       os2*)
   9728 	lt_prog_compiler_static='$wl-static'
   9729 	;;
   9730       esac
   9731       ;;
   9732 
   9733     darwin* | rhapsody*)
   9734       # PIC is the default on this platform
   9735       # Common symbols not allowed in MH_DYLIB files
   9736       lt_prog_compiler_pic='-fno-common'
   9737       ;;
   9738 
   9739     haiku*)
   9740       # PIC is the default for Haiku.
   9741       # The "-static" flag exists, but is broken.
   9742       lt_prog_compiler_static=
   9743       ;;
   9744 
   9745     hpux*)
   9746       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9747       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9748       # sets the default TLS model and affects inlining.
   9749       case $host_cpu in
   9750       hppa*64*)
   9751 	# +Z the default
   9752 	;;
   9753       *)
   9754 	lt_prog_compiler_pic='-fPIC'
   9755 	;;
   9756       esac
   9757       ;;
   9758 
   9759     interix[3-9]*)
   9760       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9761       # Instead, we relocate shared libraries at runtime.
   9762       ;;
   9763 
   9764     msdosdjgpp*)
   9765       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9766       # on systems that don't support them.
   9767       lt_prog_compiler_can_build_shared=no
   9768       enable_shared=no
   9769       ;;
   9770 
   9771     *nto* | *qnx*)
   9772       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9773       # it will coredump.
   9774       lt_prog_compiler_pic='-fPIC -shared'
   9775       ;;
   9776 
   9777     sysv4*MP*)
   9778       if test -d /usr/nec; then
   9779 	lt_prog_compiler_pic=-Kconform_pic
   9780       fi
   9781       ;;
   9782 
   9783     *)
   9784       lt_prog_compiler_pic='-fPIC'
   9785       ;;
   9786     esac
   9787 
   9788     case $cc_basename in
   9789     nvcc*) # Cuda Compiler Driver 2.2
   9790       lt_prog_compiler_wl='-Xlinker '
   9791       if test -n "$lt_prog_compiler_pic"; then
   9792         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9793       fi
   9794       ;;
   9795     esac
   9796   else
   9797     # PORTME Check for flag to pass linker flags through the system compiler.
   9798     case $host_os in
   9799     aix*)
   9800       lt_prog_compiler_wl='-Wl,'
   9801       if test ia64 = "$host_cpu"; then
   9802 	# AIX 5 now supports IA64 processor
   9803 	lt_prog_compiler_static='-Bstatic'
   9804       else
   9805 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.expsym'
   9806       fi
   9807       ;;
   9808 
   9809     darwin* | rhapsody*)
   9810       # PIC is the default on this platform
   9811       # Common symbols not allowed in MH_DYLIB files
   9812       lt_prog_compiler_pic='-fno-common'
   9813       case $cc_basename in
   9814       nagfor*)
   9815         # NAG Fortran compiler
   9816         lt_prog_compiler_wl='-Wl,-Wl,,'
   9817         lt_prog_compiler_pic='-PIC'
   9818         lt_prog_compiler_static='-Bstatic'
   9819         ;;
   9820       esac
   9821       ;;
   9822 
   9823     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9824       # This hack is so that the source file can tell whether it is being
   9825       # built for inclusion in a dll (and should export symbols for example).
   9826       lt_prog_compiler_pic='-DDLL_EXPORT'
   9827       case $host_os in
   9828       os2*)
   9829 	lt_prog_compiler_static='$wl-static'
   9830 	;;
   9831       esac
   9832       ;;
   9833 
   9834     hpux9* | hpux10* | hpux11*)
   9835       lt_prog_compiler_wl='-Wl,'
   9836       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9837       # not for PA HP-UX.
   9838       case $host_cpu in
   9839       hppa*64*|ia64*)
   9840 	# +Z the default
   9841 	;;
   9842       *)
   9843 	lt_prog_compiler_pic='+Z'
   9844 	;;
   9845       esac
   9846       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9847       lt_prog_compiler_static='$wl-a ${wl}archive'
   9848       ;;
   9849 
   9850     irix5* | irix6* | nonstopux*)
   9851       lt_prog_compiler_wl='-Wl,'
   9852       # PIC (with -KPIC) is the default.
   9853       lt_prog_compiler_static='-non_shared'
   9854       ;;
   9855 
   9856     *-mlibc)
   9857       lt_prog_compiler_wl='-Wl,'
   9858       lt_prog_compiler_pic='-fPIC'
   9859       lt_prog_compiler_static='-static'
   9860       ;;
   9861 
   9862     linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
   9863       case $cc_basename in
   9864       # old Intel for x86_64, which still supported -KPIC.
   9865       ecc*)
   9866 	lt_prog_compiler_wl='-Wl,'
   9867 	lt_prog_compiler_pic='-KPIC'
   9868 	lt_prog_compiler_static='-static'
   9869         ;;
   9870       *flang* | ftn | f18* | f95*)
   9871         # Flang compiler.
   9872 	lt_prog_compiler_wl='-Wl,'
   9873 	lt_prog_compiler_pic='-fPIC'
   9874 	lt_prog_compiler_static='-static'
   9875         ;;
   9876       # icc used to be incompatible with GCC.
   9877       # ICC 10 doesn't accept -KPIC any more.
   9878       icc* | ifort* | icx* | ifx*)
   9879 	lt_prog_compiler_wl='-Wl,'
   9880 	lt_prog_compiler_pic='-fPIC'
   9881 	lt_prog_compiler_static='-static'
   9882         ;;
   9883       # Lahey Fortran 8.1.
   9884       lf95*)
   9885 	lt_prog_compiler_wl='-Wl,'
   9886 	lt_prog_compiler_pic='--shared'
   9887 	lt_prog_compiler_static='--static'
   9888 	;;
   9889       nagfor*)
   9890 	# NAG Fortran compiler
   9891 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9892 	lt_prog_compiler_pic='-PIC'
   9893 	lt_prog_compiler_static='-Bstatic'
   9894 	;;
   9895       tcc*)
   9896 	# Fabrice Bellard et al's Tiny C Compiler
   9897 	lt_prog_compiler_wl='-Wl,'
   9898 	lt_prog_compiler_pic='-fPIC'
   9899 	lt_prog_compiler_static='-static'
   9900 	;;
   9901       slimcc*)
   9902 	# Hsiang-Ying Fu and Jim Huang's x86_64 SlimCC compiler
   9903 	lt_prog_compiler_wl='-Wl,'
   9904 	lt_prog_compiler_pic='-fPIC'
   9905 	lt_prog_compiler_static='-static'
   9906 	;;
   9907       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9908         # Portland Group compilers (*not* the Pentium gcc compiler,
   9909 	# which looks to be a dead project)
   9910 	lt_prog_compiler_wl='-Wl,'
   9911 	lt_prog_compiler_pic='-fpic'
   9912 	lt_prog_compiler_static='-Bstatic'
   9913         ;;
   9914       ccc*)
   9915         lt_prog_compiler_wl='-Wl,'
   9916         # All Alpha code is PIC.
   9917         lt_prog_compiler_static='-non_shared'
   9918         ;;
   9919       xl* | bgxl* | bgf* | mpixl*)
   9920 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9921 	lt_prog_compiler_wl='-Wl,'
   9922 	lt_prog_compiler_pic='-qpic'
   9923 	lt_prog_compiler_static='-qstaticlink'
   9924 	;;
   9925       *)
   9926 	case `$CC -V 2>&1 | $SED 5q` in
   9927 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9928 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9929 	  lt_prog_compiler_pic='-KPIC'
   9930 	  lt_prog_compiler_static='-Bstatic'
   9931 	  lt_prog_compiler_wl=''
   9932 	  ;;
   9933 	*Sun\ F* | *Sun*Fortran*)
   9934 	  lt_prog_compiler_pic='-KPIC'
   9935 	  lt_prog_compiler_static='-Bstatic'
   9936 	  lt_prog_compiler_wl='-Qoption ld '
   9937 	  ;;
   9938 	*Sun\ C*)
   9939 	  # Sun C 5.9
   9940 	  lt_prog_compiler_pic='-KPIC'
   9941 	  lt_prog_compiler_static='-Bstatic'
   9942 	  lt_prog_compiler_wl='-Wl,'
   9943 	  ;;
   9944         *Intel*\ [CF]*Compiler*)
   9945 	  lt_prog_compiler_wl='-Wl,'
   9946 	  lt_prog_compiler_pic='-fPIC'
   9947 	  lt_prog_compiler_static='-static'
   9948 	  ;;
   9949 	*Portland\ Group*)
   9950 	  lt_prog_compiler_wl='-Wl,'
   9951 	  lt_prog_compiler_pic='-fpic'
   9952 	  lt_prog_compiler_static='-Bstatic'
   9953 	  ;;
   9954 	esac
   9955 	;;
   9956       esac
   9957       ;;
   9958 
   9959     newsos6)
   9960       lt_prog_compiler_pic='-KPIC'
   9961       lt_prog_compiler_static='-Bstatic'
   9962       ;;
   9963 
   9964     *nto* | *qnx*)
   9965       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9966       # it will coredump.
   9967       lt_prog_compiler_pic='-fPIC -shared'
   9968       ;;
   9969 
   9970     osf3* | osf4* | osf5*)
   9971       lt_prog_compiler_wl='-Wl,'
   9972       # All OSF/1 code is PIC.
   9973       lt_prog_compiler_static='-non_shared'
   9974       ;;
   9975 
   9976     rdos*)
   9977       lt_prog_compiler_static='-non_shared'
   9978       ;;
   9979 
   9980     serenity*)
   9981       ;;
   9982 
   9983     solaris*)
   9984       lt_prog_compiler_pic='-KPIC'
   9985       lt_prog_compiler_static='-Bstatic'
   9986       case $cc_basename in
   9987       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9988 	lt_prog_compiler_wl='-Qoption ld ';;
   9989       *)
   9990 	lt_prog_compiler_wl='-Wl,';;
   9991       esac
   9992       ;;
   9993 
   9994     sunos4*)
   9995       lt_prog_compiler_wl='-Qoption ld '
   9996       lt_prog_compiler_pic='-PIC'
   9997       lt_prog_compiler_static='-Bstatic'
   9998       ;;
   9999 
   10000     sysv4 | sysv4.2uw2* | sysv4.3*)
   10001       lt_prog_compiler_wl='-Wl,'
   10002       lt_prog_compiler_pic='-KPIC'
   10003       lt_prog_compiler_static='-Bstatic'
   10004       ;;
   10005 
   10006     sysv4*MP*)
   10007       if test -d /usr/nec; then
   10008 	lt_prog_compiler_pic='-Kconform_pic'
   10009 	lt_prog_compiler_static='-Bstatic'
   10010       fi
   10011       ;;
   10012 
   10013     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10014       lt_prog_compiler_wl='-Wl,'
   10015       lt_prog_compiler_pic='-KPIC'
   10016       lt_prog_compiler_static='-Bstatic'
   10017       ;;
   10018 
   10019     unicos*)
   10020       lt_prog_compiler_wl='-Wl,'
   10021       lt_prog_compiler_can_build_shared=no
   10022       ;;
   10023 
   10024     uts4*)
   10025       lt_prog_compiler_pic='-pic'
   10026       lt_prog_compiler_static='-Bstatic'
   10027       ;;
   10028 
   10029     *)
   10030       lt_prog_compiler_can_build_shared=no
   10031       ;;
   10032     esac
   10033   fi
   10034 
   10035 case $host_os in
   10036   # For platforms that do not support PIC, -DPIC is meaningless:
   10037   *djgpp*)
   10038     lt_prog_compiler_pic=
   10039     ;;
   10040   *)
   10041     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10042     ;;
   10043 esac
   10044 
   10045 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10046 printf %s "checking for $compiler option to produce PIC... " >&6; }
   10047 if test ${lt_cv_prog_compiler_pic+y}
   10048 then :
   10049   printf %s "(cached) " >&6
   10050 else case e in #(
   10051   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   10052 esac
   10053 fi
   10054 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10055 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
   10056 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10057 
   10058 #
   10059 # Check to make sure the PIC flag actually works.
   10060 #
   10061 if test -n "$lt_prog_compiler_pic"; then
   10062   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10063 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10064 if test ${lt_cv_prog_compiler_pic_works+y}
   10065 then :
   10066   printf %s "(cached) " >&6
   10067 else case e in #(
   10068   e) lt_cv_prog_compiler_pic_works=no
   10069    ac_outfile=conftest.$ac_objext
   10070    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10071    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10072    # Insert the option either (1) after the last *FLAGS variable, or
   10073    # (2) before a word containing "conftest.", or (3) at the end.
   10074    # Note that $ac_compile itself does not contain backslashes and begins
   10075    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10076    # The option is referenced via a variable to avoid confusing sed.
   10077    lt_compile=`echo "$ac_compile" | $SED \
   10078    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10079    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10080    -e 's:$: $lt_compiler_flag:'`
   10081    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10082    (eval "$lt_compile" 2>conftest.err)
   10083    ac_status=$?
   10084    cat conftest.err >&5
   10085    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10086    if (exit $ac_status) && test -s "$ac_outfile"; then
   10087      # The compiler can only warn and ignore the option if not recognized
   10088      # So say no if there are warnings other than the usual output.
   10089      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   10090      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10091      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   10092        lt_cv_prog_compiler_pic_works=yes
   10093      fi
   10094    fi
   10095    $RM conftest*
   10096  ;;
   10097 esac
   10098 fi
   10099 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10100 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
   10101 
   10102 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10103     case $lt_prog_compiler_pic in
   10104      "" | " "*) ;;
   10105      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10106      esac
   10107 else
   10108     lt_prog_compiler_pic=
   10109      lt_prog_compiler_can_build_shared=no
   10110 fi
   10111 
   10112 fi
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 #
   10125 # Check to make sure the static flag actually works.
   10126 #
   10127 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10128 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10129 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10130 if test ${lt_cv_prog_compiler_static_works+y}
   10131 then :
   10132   printf %s "(cached) " >&6
   10133 else case e in #(
   10134   e) lt_cv_prog_compiler_static_works=no
   10135    save_LDFLAGS=$LDFLAGS
   10136    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10137    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10138    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10139      # The linker can only warn and ignore the option if not recognized
   10140      # So say no if there are warnings
   10141      if test -s conftest.err; then
   10142        # Append any errors to the config.log.
   10143        cat conftest.err 1>&5
   10144        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   10145        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10146        if diff conftest.expsym conftest.er2 >/dev/null; then
   10147          lt_cv_prog_compiler_static_works=yes
   10148        fi
   10149      else
   10150        lt_cv_prog_compiler_static_works=yes
   10151      fi
   10152    fi
   10153    $RM -r conftest*
   10154    LDFLAGS=$save_LDFLAGS
   10155  ;;
   10156 esac
   10157 fi
   10158 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10159 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
   10160 
   10161 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10162     :
   10163 else
   10164     lt_prog_compiler_static=
   10165 fi
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10174 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10175 if test ${lt_cv_prog_compiler_c_o+y}
   10176 then :
   10177   printf %s "(cached) " >&6
   10178 else case e in #(
   10179   e) lt_cv_prog_compiler_c_o=no
   10180    $RM -r conftest 2>/dev/null
   10181    mkdir conftest
   10182    cd conftest
   10183    mkdir out
   10184    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10185 
   10186    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10187    # Insert the option either (1) after the last *FLAGS variable, or
   10188    # (2) before a word containing "conftest.", or (3) at the end.
   10189    # Note that $ac_compile itself does not contain backslashes and begins
   10190    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10191    lt_compile=`echo "$ac_compile" | $SED \
   10192    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10193    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10194    -e 's:$: $lt_compiler_flag:'`
   10195    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10196    (eval "$lt_compile" 2>out/conftest.err)
   10197    ac_status=$?
   10198    cat out/conftest.err >&5
   10199    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10200    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10201    then
   10202      # The compiler can only warn and ignore the option if not recognized
   10203      # So say no if there are warnings
   10204      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   10205      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10206      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   10207        lt_cv_prog_compiler_c_o=yes
   10208      fi
   10209    fi
   10210    chmod u+w . 2>&5
   10211    $RM conftest*
   10212    # SGI C++ compiler will create directory out/ii_files/ for
   10213    # template instantiation
   10214    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10215    $RM out/* && rmdir out
   10216    cd ..
   10217    $RM -r conftest
   10218    $RM conftest*
   10219  ;;
   10220 esac
   10221 fi
   10222 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10223 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10231 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10232 if test ${lt_cv_prog_compiler_c_o+y}
   10233 then :
   10234   printf %s "(cached) " >&6
   10235 else case e in #(
   10236   e) lt_cv_prog_compiler_c_o=no
   10237    $RM -r conftest 2>/dev/null
   10238    mkdir conftest
   10239    cd conftest
   10240    mkdir out
   10241    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10242 
   10243    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10244    # Insert the option either (1) after the last *FLAGS variable, or
   10245    # (2) before a word containing "conftest.", or (3) at the end.
   10246    # Note that $ac_compile itself does not contain backslashes and begins
   10247    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10248    lt_compile=`echo "$ac_compile" | $SED \
   10249    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10250    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10251    -e 's:$: $lt_compiler_flag:'`
   10252    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10253    (eval "$lt_compile" 2>out/conftest.err)
   10254    ac_status=$?
   10255    cat out/conftest.err >&5
   10256    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10257    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10258    then
   10259      # The compiler can only warn and ignore the option if not recognized
   10260      # So say no if there are warnings
   10261      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   10262      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10263      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   10264        lt_cv_prog_compiler_c_o=yes
   10265      fi
   10266    fi
   10267    chmod u+w . 2>&5
   10268    $RM conftest*
   10269    # SGI C++ compiler will create directory out/ii_files/ for
   10270    # template instantiation
   10271    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10272    $RM out/* && rmdir out
   10273    cd ..
   10274    $RM -r conftest
   10275    $RM conftest*
   10276  ;;
   10277 esac
   10278 fi
   10279 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10280 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
   10281 
   10282 
   10283 
   10284 
   10285 hard_links=nottested
   10286 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10287   # do not overwrite the value of need_locks provided by the user
   10288   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10289 printf %s "checking if we can lock with hard links... " >&6; }
   10290   hard_links=yes
   10291   $RM conftest*
   10292   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10293   touch conftest.a
   10294   ln conftest.a conftest.b 2>&5 || hard_links=no
   10295   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10296   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10297 printf '%s\n' "$hard_links" >&6; }
   10298   if test no = "$hard_links"; then
   10299     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10300 printf '%s\n' "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10301     need_locks=warn
   10302   fi
   10303 else
   10304   need_locks=no
   10305 fi
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10313 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10314 
   10315   runpath_var=
   10316   allow_undefined_flag=
   10317   always_export_symbols=no
   10318   archive_cmds=
   10319   archive_expsym_cmds=
   10320   compiler_needs_object=no
   10321   enable_shared_with_static_runtimes=no
   10322   export_dynamic_flag_spec=
   10323   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10324   hardcode_automatic=no
   10325   hardcode_direct=no
   10326   hardcode_direct_absolute=no
   10327   hardcode_libdir_flag_spec=
   10328   hardcode_libdir_separator=
   10329   hardcode_minus_L=no
   10330   hardcode_shlibpath_var=unsupported
   10331   inherit_rpath=no
   10332   link_all_deplibs=unknown
   10333   module_cmds=
   10334   module_expsym_cmds=
   10335   old_archive_from_new_cmds=
   10336   old_archive_from_expsyms_cmds=
   10337   thread_safe_flag_spec=
   10338   whole_archive_flag_spec=
   10339   # include_expsyms should be a list of space-separated symbols to be *always*
   10340   # included in the symbol list
   10341   include_expsyms=
   10342   # exclude_expsyms can be an extended regexp of symbols to exclude
   10343   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10344   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10345   # as well as any symbol that contains 'd'.
   10346   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10347   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10348   # platforms (ab)use it in PIC code, but their linkers get confused if
   10349   # the symbol is explicitly referenced.  Since portable code cannot
   10350   # rely on this symbol name, it's probably fine to never include it in
   10351   # preloaded symbol tables.
   10352   # Exclude shared library initialization/finalization symbols.
   10353   extract_expsyms_cmds=
   10354 
   10355   case $host_os in
   10356   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10357     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10358     # When not using gcc, we currently assume that we are using
   10359     # Microsoft Visual C++ or Intel C++ Compiler.
   10360     if test yes != "$GCC"; then
   10361       with_gnu_ld=no
   10362     fi
   10363     ;;
   10364   interix*)
   10365     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10366     with_gnu_ld=yes
   10367     ;;
   10368   esac
   10369 
   10370   ld_shlibs=yes
   10371 
   10372   # On some targets, GNU ld is compatible enough with the native linker
   10373   # that we're better off using the native interface for both.
   10374   lt_use_gnu_ld_interface=no
   10375   if test yes = "$with_gnu_ld"; then
   10376     case $host_os in
   10377       aix*)
   10378 	# The AIX port of GNU ld has always aspired to compatibility
   10379 	# with the native linker.  However, as the warning in the GNU ld
   10380 	# block says, versions before 2.19.5* couldn't really create working
   10381 	# shared libraries, regardless of the interface used.
   10382 	case `$LD -v 2>&1` in
   10383 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10384 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10385 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10386 	  *)
   10387 	    lt_use_gnu_ld_interface=yes
   10388 	    ;;
   10389 	esac
   10390 	;;
   10391       *)
   10392 	lt_use_gnu_ld_interface=yes
   10393 	;;
   10394     esac
   10395   fi
   10396 
   10397   if test yes = "$lt_use_gnu_ld_interface"; then
   10398     # If archive_cmds runs LD, not CC, wlarc should be empty
   10399     wlarc='$wl'
   10400 
   10401     # Set some defaults for GNU ld with shared library support. These
   10402     # are reset later if shared libraries are not supported. Putting them
   10403     # here allows them to be overridden if necessary.
   10404     runpath_var=LD_RUN_PATH
   10405     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10406     export_dynamic_flag_spec='$wl--export-dynamic'
   10407     # ancient GNU ld didn't support --whole-archive et. al.
   10408     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10409       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10410     else
   10411       whole_archive_flag_spec=
   10412     fi
   10413     supports_anon_versioning=no
   10414     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10415       *GNU\ gold*) supports_anon_versioning=yes ;;
   10416       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10417       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10418       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10419       *\ 2.11.*) ;; # other 2.11 versions
   10420       *) supports_anon_versioning=yes ;;
   10421     esac
   10422 
   10423     # See if GNU ld supports shared libraries.
   10424     case $host_os in
   10425     aix[3-9]*)
   10426       # On AIX/PPC, the GNU linker is very broken
   10427       if test ia64 != "$host_cpu"; then
   10428 	ld_shlibs=no
   10429 	cat <<_LT_EOF 1>&2
   10430 
   10431 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10432 *** to be unable to reliably create shared libraries on AIX.
   10433 *** Therefore, libtool is disabling shared libraries support.  If you
   10434 *** really care for shared libraries, you may want to install binutils
   10435 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10436 *** You will then need to restart the configuration process.
   10437 
   10438 _LT_EOF
   10439       fi
   10440       ;;
   10441 
   10442     amigaos*)
   10443       case $host_cpu in
   10444       powerpc)
   10445             # see comment about AmigaOS4 .so support
   10446             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10447             archive_expsym_cmds=''
   10448         ;;
   10449       m68k)
   10450             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)'
   10451             hardcode_libdir_flag_spec='-L$libdir'
   10452             hardcode_minus_L=yes
   10453         ;;
   10454       esac
   10455       ;;
   10456 
   10457     beos*)
   10458       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10459 	allow_undefined_flag=unsupported
   10460 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10461 	# support --undefined.  This deserves some investigation.  FIXME
   10462 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10463       else
   10464 	ld_shlibs=no
   10465       fi
   10466       ;;
   10467 
   10468     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10469       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10470       # as there is no search path for DLLs.
   10471       hardcode_libdir_flag_spec='-L$libdir'
   10472       export_dynamic_flag_spec='$wl--export-all-symbols'
   10473       allow_undefined_flag=unsupported
   10474       always_export_symbols=no
   10475       enable_shared_with_static_runtimes=yes
   10476       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'
   10477       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10478       file_list_spec='@'
   10479 
   10480       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10481         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10482 	# If the export-symbols file already is a .def file, use it as
   10483 	# is; otherwise, prepend EXPORTS...
   10484 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10485           cp $export_symbols $output_objdir/$soname.def;
   10486         else
   10487           echo EXPORTS > $output_objdir/$soname.def;
   10488           cat $export_symbols >> $output_objdir/$soname.def;
   10489         fi~
   10490         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10491       else
   10492 	ld_shlibs=no
   10493       fi
   10494       ;;
   10495 
   10496     haiku*)
   10497       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10498       link_all_deplibs=no
   10499       ;;
   10500 
   10501     os2*)
   10502       hardcode_libdir_flag_spec='-L$libdir'
   10503       hardcode_minus_L=yes
   10504       allow_undefined_flag=unsupported
   10505       shrext_cmds=.dll
   10506       archive_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10507 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10508 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10509 	echo EXPORTS >> $output_objdir/$libname.def~
   10510 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10511 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10512 	emximp -o $lib $output_objdir/$libname.def'
   10513       archive_expsym_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10514 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10515 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10516 	echo EXPORTS >> $output_objdir/$libname.def~
   10517 	prefix_cmds="$SED"~
   10518 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10519 	  prefix_cmds="$prefix_cmds -e 1d";
   10520 	fi~
   10521 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10522 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10523 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10524 	emximp -o $lib $output_objdir/$libname.def'
   10525       enable_shared_with_static_runtimes=yes
   10526       file_list_spec='@'
   10527       ;;
   10528 
   10529     interix[3-9]*)
   10530       hardcode_direct=no
   10531       hardcode_shlibpath_var=no
   10532       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10533       export_dynamic_flag_spec='$wl-E'
   10534       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10535       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10536       # default) and relocated if they conflict, which is a slow very memory
   10537       # consuming and fragmenting process.  To avoid this, we pick a random,
   10538       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10539       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10540       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10541       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'
   10542       ;;
   10543 
   10544     *-mlibc)
   10545 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10546 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10547       ;;
   10548 
   10549     gnu* | linux* | tpf* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu)
   10550       tmp_diet=no
   10551       if test linux-dietlibc = "$host_os"; then
   10552 	case $cc_basename in
   10553 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10554 	esac
   10555       fi
   10556       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10557 	 && test no = "$tmp_diet"
   10558       then
   10559 	tmp_addflag=' $pic_flag'
   10560 	tmp_sharedflag='-shared'
   10561 	case $cc_basename,$host_cpu in
   10562         pgcc*)				# Portland Group C compiler
   10563 	  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'
   10564 	  tmp_addflag=' $pic_flag'
   10565 	  ;;
   10566 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10567 					# Portland Group f77 and f90 compilers
   10568 	  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'
   10569 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10570 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10571 	  tmp_addflag=' -i_dynamic' ;;
   10572 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10573 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10574 	ifc* | ifort* | ifx*)		# Intel Fortran compiler
   10575 	  tmp_addflag=' -nofor_main' ;;
   10576 	lf95*)				# Lahey Fortran 8.1
   10577 	  whole_archive_flag_spec=
   10578 	  tmp_sharedflag='--shared' ;;
   10579         nagfor*)                        # NAGFOR 5.3
   10580           tmp_sharedflag='-Wl,-shared' ;;
   10581 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10582 	  tmp_sharedflag='-qmkshrobj'
   10583 	  tmp_addflag= ;;
   10584 	nvcc*)	# Cuda Compiler Driver 2.2
   10585 	  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'
   10586 	  compiler_needs_object=yes
   10587 	  ;;
   10588 	esac
   10589 	case `$CC -V 2>&1 | $SED 5q` in
   10590 	*Sun\ C*)			# Sun C 5.9
   10591 	  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'
   10592 	  compiler_needs_object=yes
   10593 	  tmp_sharedflag='-G' ;;
   10594 	*Sun\ F*)			# Sun Fortran 8.3
   10595 	  tmp_sharedflag='-G' ;;
   10596 	esac
   10597 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10598 
   10599         if test yes = "$supports_anon_versioning"; then
   10600           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10601             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10602             echo "local: *; };" >> $output_objdir/$libname.ver~
   10603             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10604         fi
   10605 
   10606 	case $cc_basename in
   10607 	tcc*)
   10608 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10609 	  export_dynamic_flag_spec='-rdynamic'
   10610 	  ;;
   10611 	xlf* | bgf* | bgxlf* | mpixlf*)
   10612 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10613 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10614 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10615 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10616 	  if test yes = "$supports_anon_versioning"; then
   10617 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10618               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10619               echo "local: *; };" >> $output_objdir/$libname.ver~
   10620               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10621 	  fi
   10622 	  ;;
   10623 	esac
   10624       else
   10625         ld_shlibs=no
   10626       fi
   10627       ;;
   10628 
   10629     netbsd* | netbsdelf*-gnu)
   10630       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10631 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10632 	wlarc=
   10633       else
   10634 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10635 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10636       fi
   10637       ;;
   10638 
   10639     solaris*)
   10640       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10641 	ld_shlibs=no
   10642 	cat <<_LT_EOF 1>&2
   10643 
   10644 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10645 *** create shared libraries on Solaris systems.  Therefore, libtool
   10646 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10647 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10648 *** your PATH or compiler configuration so that the native linker is
   10649 *** used, and then restart.
   10650 
   10651 _LT_EOF
   10652       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10653 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10654 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10655       else
   10656 	ld_shlibs=no
   10657       fi
   10658       ;;
   10659 
   10660     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10661       case `$LD -v 2>&1` in
   10662         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10663 	ld_shlibs=no
   10664 	cat <<_LT_EOF 1>&2
   10665 
   10666 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10667 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10668 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10669 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10670 *** your PATH or compiler configuration so that the native linker is
   10671 *** used, and then restart.
   10672 
   10673 _LT_EOF
   10674 	;;
   10675 	*)
   10676 	  # For security reasons, it is highly recommended that you always
   10677 	  # use absolute paths for naming shared libraries, and exclude the
   10678 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10679 	  # requires that you compile everything twice, which is a pain.
   10680 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10681 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10682 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10683 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10684 	  else
   10685 	    ld_shlibs=no
   10686 	  fi
   10687 	;;
   10688       esac
   10689       ;;
   10690 
   10691     sunos4*)
   10692       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10693       wlarc=
   10694       hardcode_direct=yes
   10695       hardcode_shlibpath_var=no
   10696       ;;
   10697 
   10698     *)
   10699       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10700 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10701 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10702       else
   10703 	ld_shlibs=no
   10704       fi
   10705       ;;
   10706     esac
   10707 
   10708     if test no = "$ld_shlibs"; then
   10709       runpath_var=
   10710       hardcode_libdir_flag_spec=
   10711       export_dynamic_flag_spec=
   10712       whole_archive_flag_spec=
   10713     fi
   10714   else
   10715     # PORTME fill in a description of your system's linker (not GNU ld)
   10716     case $host_os in
   10717     aix3*)
   10718       allow_undefined_flag=unsupported
   10719       always_export_symbols=yes
   10720       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'
   10721       # Note: this linker hardcodes the directories in LIBPATH if there
   10722       # are no directories specified by -L.
   10723       hardcode_minus_L=yes
   10724       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10725 	# Neither direct hardcoding nor static linking is supported with a
   10726 	# broken collect2.
   10727 	hardcode_direct=unsupported
   10728       fi
   10729       ;;
   10730 
   10731     aix[4-9]*)
   10732       if test ia64 = "$host_cpu"; then
   10733 	# On IA64, the linker does run time linking by default, so we don't
   10734 	# have to do anything special.
   10735 	aix_use_runtimelinking=no
   10736 	exp_sym_flag='-Bexport'
   10737 	no_entry_flag=
   10738       else
   10739 	# If we're using GNU nm, then we don't want the "-C" option.
   10740 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10741 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10742 	# weak defined symbols like other global defined symbols, whereas
   10743 	# GNU nm marks them as "W".
   10744 	# While the 'weak' keyword is ignored in the Export File, we need
   10745 	# it in the Import File for the 'aix-soname' feature, so we have
   10746 	# to replace the "-B" option with "-P" for AIX nm.
   10747 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10748 	  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'
   10749 	else
   10750 	  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'
   10751 	fi
   10752 	aix_use_runtimelinking=no
   10753 
   10754 	# Test if we are trying to use run time linking or normal
   10755 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10756 	# have runtime linking enabled, and use it for executables.
   10757 	# For shared libraries, we enable/disable runtime linking
   10758 	# depending on the kind of the shared library created -
   10759 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10760 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10761 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10762 	#            lib.a           static archive
   10763 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10764 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10765 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10766 	#            lib.a(lib.so.V) shared, rtl:no
   10767 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10768 	#            lib.a           static archive
   10769 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10770 	  for ld_flag in $LDFLAGS; do
   10771 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10772 	    aix_use_runtimelinking=yes
   10773 	    break
   10774 	  fi
   10775 	  done
   10776 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10777 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10778 	    # so we don't have lib.a shared libs to link our executables.
   10779 	    # We have to force runtime linking in this case.
   10780 	    aix_use_runtimelinking=yes
   10781 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10782 	  fi
   10783 	  ;;
   10784 	esac
   10785 
   10786 	exp_sym_flag='-bexport'
   10787 	no_entry_flag='-bnoentry'
   10788       fi
   10789 
   10790       # When large executables or shared objects are built, AIX ld can
   10791       # have problems creating the table of contents.  If linking a library
   10792       # or program results in "error TOC overflow" add -mminimal-toc to
   10793       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10794       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10795 
   10796       archive_cmds=''
   10797       hardcode_direct=yes
   10798       hardcode_direct_absolute=yes
   10799       hardcode_libdir_separator=':'
   10800       link_all_deplibs=yes
   10801       file_list_spec='$wl-f,'
   10802       case $with_aix_soname,$aix_use_runtimelinking in
   10803       aix,*) ;; # traditional, no import file
   10804       svr4,* | *,yes) # use import file
   10805 	# The Import File defines what to hardcode.
   10806 	hardcode_direct=no
   10807 	hardcode_direct_absolute=no
   10808 	;;
   10809       esac
   10810 
   10811       if test yes = "$GCC"; then
   10812 	case $host_os in aix4.[012]|aix4.[012].*)
   10813 	# We only want to do this on AIX 4.2 and lower, the check
   10814 	# below for broken collect2 doesn't work under 4.3+
   10815 	  collect2name=`$CC -print-prog-name=collect2`
   10816 	  if test -f "$collect2name" &&
   10817 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10818 	  then
   10819 	  # We have reworked collect2
   10820 	  :
   10821 	  else
   10822 	  # We have old collect2
   10823 	  hardcode_direct=unsupported
   10824 	  # It fails to find uninstalled libraries when the uninstalled
   10825 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10826 	  # to unsupported forces relinking
   10827 	  hardcode_minus_L=yes
   10828 	  hardcode_libdir_flag_spec='-L$libdir'
   10829 	  hardcode_libdir_separator=
   10830 	  fi
   10831 	  ;;
   10832 	esac
   10833 	shared_flag='-shared'
   10834 	if test yes = "$aix_use_runtimelinking"; then
   10835 	  shared_flag="$shared_flag "'$wl-G'
   10836 	fi
   10837 	# Need to ensure runtime linking is disabled for the traditional
   10838 	# shared library, or the linker may eventually find shared libraries
   10839 	# /with/ Import File - we do not want to mix them.
   10840 	shared_flag_aix='-shared'
   10841 	shared_flag_svr4='-shared $wl-G'
   10842       else
   10843 	# not using gcc
   10844 	if test ia64 = "$host_cpu"; then
   10845 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10846 	# chokes on -Wl,-G. The following line is correct:
   10847 	  shared_flag='-G'
   10848 	else
   10849 	  if test yes = "$aix_use_runtimelinking"; then
   10850 	    shared_flag='$wl-G'
   10851 	  else
   10852 	    shared_flag='$wl-bM:SRE'
   10853 	  fi
   10854 	  shared_flag_aix='$wl-bM:SRE'
   10855 	  shared_flag_svr4='$wl-G'
   10856 	fi
   10857       fi
   10858 
   10859       export_dynamic_flag_spec='$wl-bexpall'
   10860       # It seems that -bexpall does not export symbols beginning with
   10861       # underscore (_), so it is better to generate a list of symbols to export.
   10862       always_export_symbols=yes
   10863       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10864 	# Warning - without using the other runtime loading flags (-brtl),
   10865 	# -berok will link without error, but may produce a broken library.
   10866 	allow_undefined_flag='-berok'
   10867         # Determine the default libpath from the value encoded in an
   10868         # empty executable.
   10869         if test set = "${lt_cv_aix_libpath+set}"; then
   10870   aix_libpath=$lt_cv_aix_libpath
   10871 else
   10872   if test ${lt_cv_aix_libpath_+y}
   10873 then :
   10874   printf %s "(cached) " >&6
   10875 else case e in #(
   10876   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10877 /* end confdefs.h.  */
   10878 
   10879 int
   10880 main (void)
   10881 {
   10882 
   10883   ;
   10884   return 0;
   10885 }
   10886 _ACEOF
   10887 if ac_fn_c_try_link "$LINENO"
   10888 then :
   10889 
   10890   lt_aix_libpath_sed='
   10891       /Import File Strings/,/^$/ {
   10892 	  /^0/ {
   10893 	      s/^0  *\([^ ]*\) *$/\1/
   10894 	      p
   10895 	  }
   10896       }'
   10897   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10898   # Check for a 64-bit object if we didn't find anything.
   10899   if test -z "$lt_cv_aix_libpath_"; then
   10900     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10901   fi
   10902 fi
   10903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10904     conftest$ac_exeext conftest.$ac_ext
   10905   if test -z "$lt_cv_aix_libpath_"; then
   10906     lt_cv_aix_libpath_=/usr/lib:/lib
   10907   fi
   10908    ;;
   10909 esac
   10910 fi
   10911 
   10912   aix_libpath=$lt_cv_aix_libpath_
   10913 fi
   10914 
   10915         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10916         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
   10917       else
   10918 	if test ia64 = "$host_cpu"; then
   10919 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10920 	  allow_undefined_flag="-z nodefs"
   10921 	  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"
   10922 	else
   10923 	 # Determine the default libpath from the value encoded in an
   10924 	 # empty executable.
   10925 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10926   aix_libpath=$lt_cv_aix_libpath
   10927 else
   10928   if test ${lt_cv_aix_libpath_+y}
   10929 then :
   10930   printf %s "(cached) " >&6
   10931 else case e in #(
   10932   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10933 /* end confdefs.h.  */
   10934 
   10935 int
   10936 main (void)
   10937 {
   10938 
   10939   ;
   10940   return 0;
   10941 }
   10942 _ACEOF
   10943 if ac_fn_c_try_link "$LINENO"
   10944 then :
   10945 
   10946   lt_aix_libpath_sed='
   10947       /Import File Strings/,/^$/ {
   10948 	  /^0/ {
   10949 	      s/^0  *\([^ ]*\) *$/\1/
   10950 	      p
   10951 	  }
   10952       }'
   10953   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10954   # Check for a 64-bit object if we didn't find anything.
   10955   if test -z "$lt_cv_aix_libpath_"; then
   10956     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10957   fi
   10958 fi
   10959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10960     conftest$ac_exeext conftest.$ac_ext
   10961   if test -z "$lt_cv_aix_libpath_"; then
   10962     lt_cv_aix_libpath_=/usr/lib:/lib
   10963   fi
   10964    ;;
   10965 esac
   10966 fi
   10967 
   10968   aix_libpath=$lt_cv_aix_libpath_
   10969 fi
   10970 
   10971 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10972 	  # Warning - without using the other run time loading flags,
   10973 	  # -berok will link without error, but may produce a broken library.
   10974 	  no_undefined_flag=' $wl-bernotok'
   10975 	  allow_undefined_flag=' $wl-berok'
   10976 	  if test yes = "$with_gnu_ld"; then
   10977 	    # We only use this code for GNU lds that support --whole-archive.
   10978 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10979 	  else
   10980 	    # Exported symbols can be pulled into shared objects from archives
   10981 	    whole_archive_flag_spec='$convenience'
   10982 	  fi
   10983 	  archive_cmds_need_lc=yes
   10984 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10985 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10986 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10987 	  if test svr4 != "$with_aix_soname"; then
   10988 	    # This is similar to how AIX traditionally builds its shared libraries.
   10989 	    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'
   10990 	  fi
   10991 	  if test aix != "$with_aix_soname"; then
   10992 	    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'
   10993 	  else
   10994 	    # used by -dlpreopen to get the symbols
   10995 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10996 	  fi
   10997 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10998 	fi
   10999       fi
   11000       ;;
   11001 
   11002     amigaos*)
   11003       case $host_cpu in
   11004       powerpc)
   11005             # see comment about AmigaOS4 .so support
   11006             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11007             archive_expsym_cmds=''
   11008         ;;
   11009       m68k)
   11010             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)'
   11011             hardcode_libdir_flag_spec='-L$libdir'
   11012             hardcode_minus_L=yes
   11013         ;;
   11014       esac
   11015       ;;
   11016 
   11017     bsdi[45]*)
   11018       export_dynamic_flag_spec=-rdynamic
   11019       ;;
   11020 
   11021     cygwin* | mingw* | windows* | pw32* | cegcc*)
   11022       # When not using gcc, we currently assume that we are using
   11023       # Microsoft Visual C++ or Intel C++ Compiler.
   11024       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11025       # no search path for DLLs.
   11026       case $cc_basename in
   11027       cl* | icl* | icx* | icpx*)
   11028 	# Native MSVC and Intel compilers
   11029 	hardcode_libdir_flag_spec=' '
   11030 	allow_undefined_flag=unsupported
   11031 	always_export_symbols=yes
   11032 	file_list_spec='@'
   11033 	# Tell ltmain to make .lib files, not .a files.
   11034 	libext=lib
   11035 	# Tell ltmain to make .dll files, not .so files.
   11036 	shrext_cmds=.dll
   11037 	# FIXME: Setting linknames here is a bad hack.
   11038 	# A check exists to verify if there are linker flags, which will use
   11039 	# different commands when linking.
   11040 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11041 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11042             cp "$export_symbols" "$output_objdir/$soname.def";
   11043             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.expsym";
   11044           else
   11045             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.expsym;
   11046           fi~
   11047           if test -z "$linker_flags"; then
   11048              $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.expsym" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib";
   11049           else
   11050              $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.expsym" -Wl,$linker_flags-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib";
   11051           fi~
   11052           linknames='
   11053 	# The linker will not automatically build a static lib if we build a DLL.
   11054 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11055 	enable_shared_with_static_runtimes=yes
   11056 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11057 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11058 	# Don't use ranlib
   11059 	old_postinstall_cmds='chmod 644 $oldlib'
   11060 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11061           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11062           case $lt_outputfile in
   11063             *.exe|*.EXE) ;;
   11064             *)
   11065               lt_outputfile=$lt_outputfile.exe
   11066               lt_tool_outputfile=$lt_tool_outputfile.exe
   11067               ;;
   11068           esac~
   11069           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11070             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11071             $RM "$lt_outputfile.manifest";
   11072           fi'
   11073 	;;
   11074       *)
   11075 	# Assume MSVC and ICC wrapper
   11076 	hardcode_libdir_flag_spec=' '
   11077 	allow_undefined_flag=unsupported
   11078 	# Tell ltmain to make .lib files, not .a files.
   11079 	libext=lib
   11080 	# Tell ltmain to make .dll files, not .so files.
   11081 	shrext_cmds=.dll
   11082 	# FIXME: Setting linknames here is a bad hack.
   11083 	archive_cmds='$CC -Fe$lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11084 	# The linker will automatically build a .lib file if we build a DLL.
   11085 	old_archive_from_new_cmds='true'
   11086 	# FIXME: Should let the user specify the lib program.
   11087 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11088 	enable_shared_with_static_runtimes=yes
   11089 	;;
   11090       esac
   11091       ;;
   11092 
   11093     darwin* | rhapsody*)
   11094 
   11095 
   11096   archive_cmds_need_lc=no
   11097   hardcode_direct=no
   11098   hardcode_automatic=yes
   11099   hardcode_shlibpath_var=unsupported
   11100   if test yes = "$lt_cv_ld_force_load"; then
   11101     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\"`'
   11102 
   11103   else
   11104     whole_archive_flag_spec=''
   11105   fi
   11106   link_all_deplibs=yes
   11107   allow_undefined_flag=$_lt_dar_allow_undefined
   11108   case $cc_basename in
   11109      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11110      *) _lt_dar_can_shared=$GCC ;;
   11111   esac
   11112   if test yes = "$_lt_dar_can_shared"; then
   11113     output_verbose_link_cmd=func_echo_all
   11114     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11115     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11116     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"
   11117     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"
   11118 
   11119   else
   11120   ld_shlibs=no
   11121   fi
   11122 
   11123       ;;
   11124 
   11125     dgux*)
   11126       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11127       hardcode_libdir_flag_spec='-L$libdir'
   11128       hardcode_shlibpath_var=no
   11129       ;;
   11130 
   11131     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11132     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11133     # does not break anything, and helps significantly (at the cost of a little
   11134     # extra space).
   11135     freebsd2.2*)
   11136       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11137       hardcode_libdir_flag_spec='-R$libdir'
   11138       hardcode_direct=yes
   11139       hardcode_shlibpath_var=no
   11140       ;;
   11141 
   11142     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11143     freebsd2.*)
   11144       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11145       hardcode_direct=yes
   11146       hardcode_minus_L=yes
   11147       hardcode_shlibpath_var=no
   11148       ;;
   11149 
   11150     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11151     freebsd* | dragonfly* | midnightbsd*)
   11152       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11153       hardcode_libdir_flag_spec='-R$libdir'
   11154       hardcode_direct=yes
   11155       hardcode_shlibpath_var=no
   11156       ;;
   11157 
   11158     hpux9*)
   11159       if test yes = "$GCC"; then
   11160 	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'
   11161       else
   11162 	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'
   11163       fi
   11164       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11165       hardcode_libdir_separator=:
   11166       hardcode_direct=yes
   11167 
   11168       # hardcode_minus_L: Not really in the search PATH,
   11169       # but as the default location of the library.
   11170       hardcode_minus_L=yes
   11171       export_dynamic_flag_spec='$wl-E'
   11172       ;;
   11173 
   11174     hpux10*)
   11175       if test yes,no = "$GCC,$with_gnu_ld"; then
   11176 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11177       else
   11178 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11179       fi
   11180       if test no = "$with_gnu_ld"; then
   11181 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11182 	hardcode_libdir_separator=:
   11183 	hardcode_direct=yes
   11184 	hardcode_direct_absolute=yes
   11185 	export_dynamic_flag_spec='$wl-E'
   11186 	# hardcode_minus_L: Not really in the search PATH,
   11187 	# but as the default location of the library.
   11188 	hardcode_minus_L=yes
   11189       fi
   11190       ;;
   11191 
   11192     hpux11*)
   11193       if test yes,no = "$GCC,$with_gnu_ld"; then
   11194 	case $host_cpu in
   11195 	hppa*64*)
   11196 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11197 	  ;;
   11198 	ia64*)
   11199 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11200 	  ;;
   11201 	*)
   11202 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11203 	  ;;
   11204 	esac
   11205       else
   11206 	case $host_cpu in
   11207 	hppa*64*)
   11208 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11209 	  ;;
   11210 	ia64*)
   11211 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11212 	  ;;
   11213 	*)
   11214 
   11215 	  # Older versions of the 11.00 compiler do not understand -b yet
   11216 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11217 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11218 printf %s "checking if $CC understands -b... " >&6; }
   11219 if test ${lt_cv_prog_compiler__b+y}
   11220 then :
   11221   printf %s "(cached) " >&6
   11222 else case e in #(
   11223   e) lt_cv_prog_compiler__b=no
   11224    save_LDFLAGS=$LDFLAGS
   11225    LDFLAGS="$LDFLAGS -b"
   11226    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11227    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11228      # The linker can only warn and ignore the option if not recognized
   11229      # So say no if there are warnings
   11230      if test -s conftest.err; then
   11231        # Append any errors to the config.log.
   11232        cat conftest.err 1>&5
   11233        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   11234        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11235        if diff conftest.expsym conftest.er2 >/dev/null; then
   11236          lt_cv_prog_compiler__b=yes
   11237        fi
   11238      else
   11239        lt_cv_prog_compiler__b=yes
   11240      fi
   11241    fi
   11242    $RM -r conftest*
   11243    LDFLAGS=$save_LDFLAGS
   11244  ;;
   11245 esac
   11246 fi
   11247 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11248 printf '%s\n' "$lt_cv_prog_compiler__b" >&6; }
   11249 
   11250 if test yes = "$lt_cv_prog_compiler__b"; then
   11251     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11252 else
   11253     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11254 fi
   11255 
   11256 	  ;;
   11257 	esac
   11258       fi
   11259       if test no = "$with_gnu_ld"; then
   11260 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11261 	hardcode_libdir_separator=:
   11262 
   11263 	case $host_cpu in
   11264 	hppa*64*|ia64*)
   11265 	  hardcode_direct=no
   11266 	  hardcode_shlibpath_var=no
   11267 	  ;;
   11268 	*)
   11269 	  hardcode_direct=yes
   11270 	  hardcode_direct_absolute=yes
   11271 	  export_dynamic_flag_spec='$wl-E'
   11272 
   11273 	  # hardcode_minus_L: Not really in the search PATH,
   11274 	  # but as the default location of the library.
   11275 	  hardcode_minus_L=yes
   11276 	  ;;
   11277 	esac
   11278       fi
   11279       ;;
   11280 
   11281     irix5* | irix6* | nonstopux*)
   11282       if test yes = "$GCC"; then
   11283 	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'
   11284 	# Try to use the -exported_symbol ld option, if it does not
   11285 	# work, assume that -exports_file does not work either and
   11286 	# implicitly export all symbols.
   11287 	# This should be the same for all languages, so no per-tag cache variable.
   11288 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11289 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11290 if test ${lt_cv_irix_exported_symbol+y}
   11291 then :
   11292   printf %s "(cached) " >&6
   11293 else case e in #(
   11294   e) save_LDFLAGS=$LDFLAGS
   11295 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11296 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11297 /* end confdefs.h.  */
   11298 int foo (void) { return 0; }
   11299 _ACEOF
   11300 if ac_fn_c_try_link "$LINENO"
   11301 then :
   11302   lt_cv_irix_exported_symbol=yes
   11303 else case e in #(
   11304   e) lt_cv_irix_exported_symbol=no ;;
   11305 esac
   11306 fi
   11307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11308     conftest$ac_exeext conftest.$ac_ext
   11309            LDFLAGS=$save_LDFLAGS ;;
   11310 esac
   11311 fi
   11312 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11313 printf '%s\n' "$lt_cv_irix_exported_symbol" >&6; }
   11314 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11315           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'
   11316 	fi
   11317       else
   11318 	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'
   11319 	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'
   11320       fi
   11321       archive_cmds_need_lc='no'
   11322       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11323       hardcode_libdir_separator=:
   11324       inherit_rpath=yes
   11325       link_all_deplibs=yes
   11326       ;;
   11327 
   11328     *-mlibc)
   11329       ;;
   11330 
   11331     linux*)
   11332       case $cc_basename in
   11333       tcc*)
   11334 	# Fabrice Bellard et al's Tiny C Compiler
   11335 	ld_shlibs=yes
   11336 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11337 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11338 	;;
   11339       esac
   11340       ;;
   11341 
   11342     netbsd* | netbsdelf*-gnu)
   11343       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11344 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11345       else
   11346 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11347       fi
   11348       hardcode_libdir_flag_spec='-R$libdir'
   11349       hardcode_direct=yes
   11350       hardcode_shlibpath_var=no
   11351       ;;
   11352 
   11353     newsos6)
   11354       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11355       hardcode_direct=yes
   11356       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11357       hardcode_libdir_separator=:
   11358       hardcode_shlibpath_var=no
   11359       ;;
   11360 
   11361     *nto* | *qnx*)
   11362       ;;
   11363 
   11364     openbsd*)
   11365       if test -f /usr/libexec/ld.so; then
   11366 	hardcode_direct=yes
   11367 	hardcode_shlibpath_var=no
   11368 	hardcode_direct_absolute=yes
   11369 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11370 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11371 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11372 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11373 	  export_dynamic_flag_spec='$wl-E'
   11374 	else
   11375 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11376 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11377 	fi
   11378       else
   11379 	ld_shlibs=no
   11380       fi
   11381       ;;
   11382 
   11383     os2*)
   11384       hardcode_libdir_flag_spec='-L$libdir'
   11385       hardcode_minus_L=yes
   11386       allow_undefined_flag=unsupported
   11387       shrext_cmds=.dll
   11388       archive_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11389 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11390 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11391 	echo EXPORTS >> $output_objdir/$libname.def~
   11392 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11393 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11394 	emximp -o $lib $output_objdir/$libname.def'
   11395       archive_expsym_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11396 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11397 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11398 	echo EXPORTS >> $output_objdir/$libname.def~
   11399 	prefix_cmds="$SED"~
   11400 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11401 	  prefix_cmds="$prefix_cmds -e 1d";
   11402 	fi~
   11403 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11404 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11405 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11406 	emximp -o $lib $output_objdir/$libname.def'
   11407       enable_shared_with_static_runtimes=yes
   11408       file_list_spec='@'
   11409       ;;
   11410 
   11411     osf3*)
   11412       if test yes = "$GCC"; then
   11413 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11414 	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'
   11415       else
   11416 	allow_undefined_flag=' -expect_unresolved \*'
   11417 	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'
   11418       fi
   11419       archive_cmds_need_lc='no'
   11420       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11421       hardcode_libdir_separator=:
   11422       ;;
   11423 
   11424     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11425       if test yes = "$GCC"; then
   11426 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11427 	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'
   11428 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11429       else
   11430 	allow_undefined_flag=' -expect_unresolved \*'
   11431 	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'
   11432 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.expsym; done; printf "%s\\n" "-hidden">> $lib.expsym~
   11433           $CC -shared$allow_undefined_flag $wl-input $wl$lib.expsym $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.expsym'
   11434 
   11435 	# Both c and cxx compiler support -rpath directly
   11436 	hardcode_libdir_flag_spec='-rpath $libdir'
   11437       fi
   11438       archive_cmds_need_lc='no'
   11439       hardcode_libdir_separator=:
   11440       ;;
   11441 
   11442     serenity*)
   11443       ;;
   11444 
   11445     solaris*)
   11446       no_undefined_flag=' -z defs'
   11447       if test yes = "$GCC"; then
   11448 	wlarc='$wl'
   11449 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11450 	archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   11451           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.expsym'
   11452       else
   11453 	case `$CC -V 2>&1` in
   11454 	*"Compilers 5.0"*)
   11455 	  wlarc=''
   11456 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11457 	  archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   11458             $LD -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.expsym'
   11459 	  ;;
   11460 	*)
   11461 	  wlarc='$wl'
   11462 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11463 	  archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   11464             $CC -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.expsym'
   11465 	  ;;
   11466 	esac
   11467       fi
   11468       hardcode_libdir_flag_spec='-R$libdir'
   11469       hardcode_shlibpath_var=no
   11470       case $host_os in
   11471       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11472       *)
   11473 	# The compiler driver will combine and reorder linker options,
   11474 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11475 	# but is careful enough not to reorder.
   11476 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11477 	if test yes = "$GCC"; then
   11478 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11479 	else
   11480 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11481 	fi
   11482 	;;
   11483       esac
   11484       link_all_deplibs=yes
   11485       ;;
   11486 
   11487     sunos4*)
   11488       if test sequent = "$host_vendor"; then
   11489 	# Use $CC to link under sequent, because it throws in some extra .o
   11490 	# files that make .init and .fini sections work.
   11491 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11492       else
   11493 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11494       fi
   11495       hardcode_libdir_flag_spec='-L$libdir'
   11496       hardcode_direct=yes
   11497       hardcode_minus_L=yes
   11498       hardcode_shlibpath_var=no
   11499       ;;
   11500 
   11501     sysv4)
   11502       case $host_vendor in
   11503 	sni)
   11504 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11505 	  hardcode_direct=yes # is this really true???
   11506 	;;
   11507 	siemens)
   11508 	  ## LD is ld it makes a PLAMLIB
   11509 	  ## CC just makes a GrossModule.
   11510 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11511 	  reload_cmds='$CC -r -o $output$reload_objs'
   11512 	  hardcode_direct=no
   11513         ;;
   11514 	motorola)
   11515 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11516 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11517 	;;
   11518       esac
   11519       runpath_var='LD_RUN_PATH'
   11520       hardcode_shlibpath_var=no
   11521       ;;
   11522 
   11523     sysv4.3*)
   11524       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11525       hardcode_shlibpath_var=no
   11526       export_dynamic_flag_spec='-Bexport'
   11527       ;;
   11528 
   11529     sysv4*MP*)
   11530       if test -d /usr/nec; then
   11531 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11532 	hardcode_shlibpath_var=no
   11533 	runpath_var=LD_RUN_PATH
   11534 	hardcode_runpath_var=yes
   11535 	ld_shlibs=yes
   11536       fi
   11537       ;;
   11538 
   11539     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11540       no_undefined_flag='$wl-z,text'
   11541       archive_cmds_need_lc=no
   11542       hardcode_shlibpath_var=no
   11543       runpath_var='LD_RUN_PATH'
   11544 
   11545       if test yes = "$GCC"; then
   11546 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11547 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11548       else
   11549 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11550 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11551       fi
   11552       ;;
   11553 
   11554     sysv5* | sco3.2v5* | sco5v6*)
   11555       # Note: We CANNOT use -z defs as we might desire, because we do not
   11556       # link with -lc, and that would cause any symbols used from libc to
   11557       # always be unresolved, which means just about no library would
   11558       # ever link correctly.  If we're not using GNU ld we use -z text
   11559       # though, which does catch some bad symbols but isn't as heavy-handed
   11560       # as -z defs.
   11561       no_undefined_flag='$wl-z,text'
   11562       allow_undefined_flag='$wl-z,nodefs'
   11563       archive_cmds_need_lc=no
   11564       hardcode_shlibpath_var=no
   11565       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11566       hardcode_libdir_separator=':'
   11567       link_all_deplibs=yes
   11568       export_dynamic_flag_spec='$wl-Bexport'
   11569       runpath_var='LD_RUN_PATH'
   11570 
   11571       if test yes = "$GCC"; then
   11572 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11573 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11574       else
   11575 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11576 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11577       fi
   11578       ;;
   11579 
   11580     uts4*)
   11581       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11582       hardcode_libdir_flag_spec='-L$libdir'
   11583       hardcode_shlibpath_var=no
   11584       ;;
   11585 
   11586     *)
   11587       ld_shlibs=no
   11588       ;;
   11589     esac
   11590 
   11591     if test sni = "$host_vendor"; then
   11592       case $host in
   11593       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11594 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11595 	;;
   11596       esac
   11597     fi
   11598   fi
   11599 
   11600 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11601 printf '%s\n' "$ld_shlibs" >&6; }
   11602 test no = "$ld_shlibs" && can_build_shared=no
   11603 
   11604 with_gnu_ld=$with_gnu_ld
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 #
   11621 # Do we need to explicitly link libc?
   11622 #
   11623 case "x$archive_cmds_need_lc" in
   11624 x|xyes)
   11625   # Assume -lc should be added
   11626   archive_cmds_need_lc=yes
   11627 
   11628   if test yes,yes = "$GCC,$enable_shared"; then
   11629     case $archive_cmds in
   11630     *'~'*)
   11631       # FIXME: we may have to deal with multi-command sequences.
   11632       ;;
   11633     '$CC '*)
   11634       # Test whether the compiler implicitly links with -lc since on some
   11635       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11636       # to ld, don't add -lc before -lgcc.
   11637       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11638 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11639 if test ${lt_cv_archive_cmds_need_lc+y}
   11640 then :
   11641   printf %s "(cached) " >&6
   11642 else case e in #(
   11643   e) $RM conftest*
   11644 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11645 
   11646 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11647   (eval $ac_compile) 2>&5
   11648   ac_status=$?
   11649   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11650   test $ac_status = 0; } 2>conftest.err; then
   11651 	  soname=conftest
   11652 	  lib=conftest
   11653 	  libobjs=conftest.$ac_objext
   11654 	  deplibs=
   11655 	  wl=$lt_prog_compiler_wl
   11656 	  pic_flag=$lt_prog_compiler_pic
   11657 	  compiler_flags=-v
   11658 	  linker_flags=-v
   11659 	  verstring=
   11660 	  output_objdir=.
   11661 	  libname=conftest
   11662 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11663 	  allow_undefined_flag=
   11664 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11665   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11666   ac_status=$?
   11667   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11668   test $ac_status = 0; }
   11669 	  then
   11670 	    lt_cv_archive_cmds_need_lc=no
   11671 	  else
   11672 	    lt_cv_archive_cmds_need_lc=yes
   11673 	  fi
   11674 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11675 	else
   11676 	  cat conftest.err 1>&5
   11677 	fi
   11678 	$RM conftest*
   11679 	 ;;
   11680 esac
   11681 fi
   11682 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11683 printf '%s\n' "$lt_cv_archive_cmds_need_lc" >&6; }
   11684       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11685       ;;
   11686     esac
   11687   fi
   11688   ;;
   11689 esac
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   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   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11843 printf %s "checking dynamic linker characteristics... " >&6; }
   11844 
   11845 if test yes = "$GCC"; then
   11846   case $host_os in
   11847     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11848     *) lt_awk_arg='/^libraries:/' ;;
   11849   esac
   11850   case $host_os in
   11851     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11852     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11853   esac
   11854   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11855   case $lt_search_path_spec in
   11856   *\;*)
   11857     # if the path contains ";" then we assume it to be the separator
   11858     # otherwise default to the standard path separator (i.e. ":") - it is
   11859     # assumed that no part of a normal pathname contains ";" but that should
   11860     # okay in the real world where ";" in dirpaths is itself problematic.
   11861     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11862     ;;
   11863   *)
   11864     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11865     ;;
   11866   esac
   11867   # Ok, now we have the path, separated by spaces, we can step through it
   11868   # and add multilib dir if necessary...
   11869   lt_tmp_lt_search_path_spec=
   11870   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11871   # ...but if some path component already ends with the multilib dir we assume
   11872   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11873   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11874   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11875     lt_multi_os_dir=
   11876     ;;
   11877   esac
   11878   for lt_sys_path in $lt_search_path_spec; do
   11879     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11880       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11881     elif test -n "$lt_multi_os_dir"; then
   11882       test -d "$lt_sys_path" && \
   11883 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11884     fi
   11885   done
   11886   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11887 BEGIN {RS = " "; FS = "/|\n";} {
   11888   lt_foo = "";
   11889   lt_count = 0;
   11890   for (lt_i = NF; lt_i > 0; lt_i--) {
   11891     if ($lt_i != "" && $lt_i != ".") {
   11892       if ($lt_i == "..") {
   11893         lt_count++;
   11894       } else {
   11895         if (lt_count == 0) {
   11896           lt_foo = "/" $lt_i lt_foo;
   11897         } else {
   11898           lt_count--;
   11899         }
   11900       }
   11901     }
   11902   }
   11903   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11904   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11905 }'`
   11906   # AWK program above erroneously prepends '/' to C:/dos/paths
   11907   # for these hosts.
   11908   case $host_os in
   11909     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11910       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11911   esac
   11912   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11913 else
   11914   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11915 fi
   11916 library_names_spec=
   11917 libname_spec='lib$name'
   11918 soname_spec=
   11919 shrext_cmds=.so
   11920 postinstall_cmds=
   11921 postuninstall_cmds=
   11922 finish_cmds=
   11923 finish_eval=
   11924 shlibpath_var=
   11925 shlibpath_overrides_runpath=unknown
   11926 version_type=none
   11927 dynamic_linker="$host_os ld.so"
   11928 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11929 need_lib_prefix=unknown
   11930 hardcode_into_libs=no
   11931 
   11932 # when you set need_version to no, make sure it does not cause -set_version
   11933 # flags to be left without arguments
   11934 need_version=unknown
   11935 
   11936 
   11937 
   11938 case $host_os in
   11939 aix3*)
   11940   version_type=linux # correct to gnu/linux during the next big refactor
   11941   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11942   shlibpath_var=LIBPATH
   11943 
   11944   # AIX 3 has no versioning support, so we append a major version to the name.
   11945   soname_spec='$libname$release$shared_ext$major'
   11946   ;;
   11947 
   11948 aix[4-9]*)
   11949   version_type=linux # correct to gnu/linux during the next big refactor
   11950   need_lib_prefix=no
   11951   need_version=no
   11952   hardcode_into_libs=yes
   11953   if test ia64 = "$host_cpu"; then
   11954     # AIX 5 supports IA64
   11955     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11956     shlibpath_var=LD_LIBRARY_PATH
   11957   else
   11958     # With GCC up to 2.95.x, collect2 would create an import file
   11959     # for dependence libraries.  The import file would start with
   11960     # the line '#! .'.  This would cause the generated library to
   11961     # depend on '.', always an invalid library.  This was fixed in
   11962     # development snapshots of GCC prior to 3.0.
   11963     case $host_os in
   11964       aix4 | aix4.[01] | aix4.[01].*)
   11965       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11966 	   echo ' yes '
   11967 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11968 	:
   11969       else
   11970 	can_build_shared=no
   11971       fi
   11972       ;;
   11973     esac
   11974     # Using Import Files as archive members, it is possible to support
   11975     # filename-based versioning of shared library archives on AIX. While
   11976     # this would work for both with and without runtime linking, it will
   11977     # prevent static linking of such archives. So we do filename-based
   11978     # shared library versioning with .so extension only, which is used
   11979     # when both runtime linking and shared linking is enabled.
   11980     # Unfortunately, runtime linking may impact performance, so we do
   11981     # not want this to be the default eventually. Also, we use the
   11982     # versioned .so libs for executables only if there is the -brtl
   11983     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   11984     # To allow for filename-based versioning support, we need to create
   11985     # libNAME.so.V as an archive file, containing:
   11986     # *) an Import File, referring to the versioned filename of the
   11987     #    archive as well as the shared archive member, telling the
   11988     #    bitwidth (32 or 64) of that shared object, and providing the
   11989     #    list of exported symbols of that shared object, eventually
   11990     #    decorated with the 'weak' keyword
   11991     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11992     #    it being seen by the linker.
   11993     # At run time we better use the real file rather than another symlink,
   11994     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11995 
   11996     case $with_aix_soname,$aix_use_runtimelinking in
   11997     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11998     # soname into executable. Probably we can add versioning support to
   11999     # collect2, so additional links can be useful in future.
   12000     aix,yes) # traditional libtool
   12001       dynamic_linker='AIX unversionable lib.so'
   12002       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12003       # instead of lib<name>.a to let people know that these are not
   12004       # typical AIX shared libraries.
   12005       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12006       ;;
   12007     aix,no) # traditional AIX only
   12008       dynamic_linker='AIX lib.a(lib.so.V)'
   12009       # We preserve .a as extension for shared libraries through AIX4.2
   12010       # and later when we are not doing run time linking.
   12011       library_names_spec='$libname$release.a $libname.a'
   12012       soname_spec='$libname$release$shared_ext$major'
   12013       ;;
   12014     svr4,*) # full svr4 only
   12015       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12016       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12017       # We do not specify a path in Import Files, so LIBPATH fires.
   12018       shlibpath_overrides_runpath=yes
   12019       ;;
   12020     *,yes) # both, prefer svr4
   12021       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12022       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12023       # unpreferred sharedlib libNAME.a needs extra handling
   12024       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"'
   12025       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"'
   12026       # We do not specify a path in Import Files, so LIBPATH fires.
   12027       shlibpath_overrides_runpath=yes
   12028       ;;
   12029     *,no) # both, prefer aix
   12030       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12031       library_names_spec='$libname$release.a $libname.a'
   12032       soname_spec='$libname$release$shared_ext$major'
   12033       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12034       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)'
   12035       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"'
   12036       ;;
   12037     esac
   12038     shlibpath_var=LIBPATH
   12039   fi
   12040   ;;
   12041 
   12042 amigaos*)
   12043   case $host_cpu in
   12044   powerpc)
   12045     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12046     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12047     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12048     ;;
   12049   m68k)
   12050     library_names_spec='$libname.ixlibrary $libname.a'
   12051     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12052     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'
   12053     ;;
   12054   esac
   12055   ;;
   12056 
   12057 beos*)
   12058   library_names_spec='$libname$shared_ext'
   12059   dynamic_linker="$host_os ld.so"
   12060   shlibpath_var=LIBRARY_PATH
   12061   ;;
   12062 
   12063 bsdi[45]*)
   12064   version_type=linux # correct to gnu/linux during the next big refactor
   12065   need_version=no
   12066   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12067   soname_spec='$libname$release$shared_ext$major'
   12068   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12069   shlibpath_var=LD_LIBRARY_PATH
   12070   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12071   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12072   # the default ld.so.conf also contains /usr/contrib/lib and
   12073   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12074   # libtool to hard-code these into programs
   12075   ;;
   12076 
   12077 cygwin* | mingw* | windows* | pw32* | cegcc*)
   12078   version_type=windows
   12079   shrext_cmds=.dll
   12080   need_version=no
   12081   need_lib_prefix=no
   12082 
   12083   case $GCC,$cc_basename in
   12084   yes,*)
   12085     # gcc
   12086     library_names_spec='$libname.dll.a'
   12087     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12088     # If user builds GCC with multilib enabled,
   12089     # it should just install on $(libdir)
   12090     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   12091     if test xyes = x"$multilib"; then
   12092       postinstall_cmds='base_file=`basename \$file`~
   12093         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12094         dldir=$destdir/`dirname \$dlpath`~
   12095         $install_prog $dir/$dlname $destdir/$dlname~
   12096         chmod a+x $destdir/$dlname~
   12097         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12098           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   12099         fi'
   12100     else
   12101       postinstall_cmds='base_file=`basename \$file`~
   12102         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12103         dldir=$destdir/`dirname \$dlpath`~
   12104         test -d \$dldir || mkdir -p \$dldir~
   12105         $install_prog $dir/$dlname \$dldir/$dlname~
   12106         chmod a+x \$dldir/$dlname~
   12107         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12108           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12109         fi'
   12110     fi
   12111     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12112       dlpath=$dir/\$dldll~
   12113        $RM \$dlpath'
   12114     shlibpath_overrides_runpath=yes
   12115 
   12116     case $host_os in
   12117     cygwin*)
   12118       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12119       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12120 
   12121       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12122       ;;
   12123     mingw* | windows* | cegcc*)
   12124       # MinGW DLLs use traditional 'lib' prefix
   12125       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12126       ;;
   12127     pw32*)
   12128       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12129       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12130       ;;
   12131     esac
   12132     dynamic_linker='Win32 ld.exe'
   12133     ;;
   12134 
   12135   *,cl* | *,icl* | *,icx*)
   12136     # Native MSVC and Intel compilers
   12137     libname_spec='$name'
   12138     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12139     library_names_spec='$libname.dll.lib'
   12140 
   12141     case $build_os in
   12142     mingw* | windows*)
   12143       sys_lib_search_path_spec=
   12144       lt_save_ifs=$IFS
   12145       IFS=';'
   12146       for lt_path in $LIB
   12147       do
   12148         IFS=$lt_save_ifs
   12149         # Let DOS variable expansion print the short 8.3 style file name.
   12150         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12151         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12152       done
   12153       IFS=$lt_save_ifs
   12154       # Convert to MSYS style.
   12155       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12156       ;;
   12157     cygwin*)
   12158       # Convert to unix form, then to dos form, then back to unix form
   12159       # but this time dos style (no spaces!) so that the unix form looks
   12160       # like /cygdrive/c/PROGRA~1:/cygdr...
   12161       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12162       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12163       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12164       ;;
   12165     *)
   12166       sys_lib_search_path_spec=$LIB
   12167       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12168         # It is most probably a Windows format PATH.
   12169         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12170       else
   12171         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12172       fi
   12173       # FIXME: find the short name or the path components, as spaces are
   12174       # common. (e.g. "Program Files" -> "PROGRA~1")
   12175       ;;
   12176     esac
   12177 
   12178     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12179     postinstall_cmds='base_file=`basename \$file`~
   12180       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12181       dldir=$destdir/`dirname \$dlpath`~
   12182       test -d \$dldir || mkdir -p \$dldir~
   12183       $install_prog $dir/$dlname \$dldir/$dlname'
   12184     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12185       dlpath=$dir/\$dldll~
   12186        $RM \$dlpath'
   12187     shlibpath_overrides_runpath=yes
   12188     dynamic_linker='Win32 link.exe'
   12189     ;;
   12190 
   12191   *)
   12192     # Assume MSVC and ICC wrapper
   12193     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12194     dynamic_linker='Win32 ld.exe'
   12195     ;;
   12196   esac
   12197   # FIXME: first we should search . and the directory the executable is in
   12198   shlibpath_var=PATH
   12199   ;;
   12200 
   12201 darwin* | rhapsody*)
   12202   dynamic_linker="$host_os dyld"
   12203   version_type=darwin
   12204   need_lib_prefix=no
   12205   need_version=no
   12206   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12207   soname_spec='$libname$release$major$shared_ext'
   12208   shlibpath_overrides_runpath=yes
   12209   shlibpath_var=DYLD_LIBRARY_PATH
   12210   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12211 
   12212   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12213   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12214   ;;
   12215 
   12216 dgux*)
   12217   version_type=linux # correct to gnu/linux during the next big refactor
   12218   need_lib_prefix=no
   12219   need_version=no
   12220   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12221   soname_spec='$libname$release$shared_ext$major'
   12222   shlibpath_var=LD_LIBRARY_PATH
   12223   ;;
   12224 
   12225 freebsd* | dragonfly* | midnightbsd*)
   12226   # DragonFly does not have aout.  When/if they implement a new
   12227   # versioning mechanism, adjust this.
   12228   if test -x /usr/bin/objformat; then
   12229     objformat=`/usr/bin/objformat`
   12230   else
   12231     case $host_os in
   12232     freebsd[23].*) objformat=aout ;;
   12233     *) objformat=elf ;;
   12234     esac
   12235   fi
   12236   version_type=freebsd-$objformat
   12237   case $version_type in
   12238     freebsd-elf*)
   12239       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12240       soname_spec='$libname$release$shared_ext$major'
   12241       need_version=no
   12242       need_lib_prefix=no
   12243       ;;
   12244     freebsd-*)
   12245       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12246       need_version=yes
   12247       ;;
   12248   esac
   12249   case $host_cpu in
   12250     powerpc64)
   12251       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   12252       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   12253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12254 /* end confdefs.h.  */
   12255 int test_pointer_size[sizeof (void *) - 5];
   12256 
   12257 _ACEOF
   12258 if ac_fn_c_try_compile "$LINENO"
   12259 then :
   12260   shlibpath_var=LD_LIBRARY_PATH
   12261 else case e in #(
   12262   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   12263 esac
   12264 fi
   12265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12266       ;;
   12267     *)
   12268       shlibpath_var=LD_LIBRARY_PATH
   12269       ;;
   12270   esac
   12271   case $host_os in
   12272   freebsd2.*)
   12273     shlibpath_overrides_runpath=yes
   12274     ;;
   12275   freebsd3.[01]* | freebsdelf3.[01]*)
   12276     shlibpath_overrides_runpath=yes
   12277     hardcode_into_libs=yes
   12278     ;;
   12279   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12280   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12281     shlibpath_overrides_runpath=no
   12282     hardcode_into_libs=yes
   12283     ;;
   12284   *) # from 4.6 on, and DragonFly
   12285     shlibpath_overrides_runpath=yes
   12286     hardcode_into_libs=yes
   12287     ;;
   12288   esac
   12289   ;;
   12290 
   12291 haiku*)
   12292   version_type=linux # correct to gnu/linux during the next big refactor
   12293   need_lib_prefix=no
   12294   need_version=no
   12295   dynamic_linker="$host_os runtime_loader"
   12296   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12297   soname_spec='$libname$release$shared_ext$major'
   12298   shlibpath_var=LIBRARY_PATH
   12299   shlibpath_overrides_runpath=no
   12300   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   12301   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   12302   hardcode_into_libs=no
   12303   ;;
   12304 
   12305 hpux9* | hpux10* | hpux11*)
   12306   # Give a soname corresponding to the major version so that dld.sl refuses to
   12307   # link against other versions.
   12308   version_type=sunos
   12309   need_lib_prefix=no
   12310   need_version=no
   12311   case $host_cpu in
   12312   ia64*)
   12313     shrext_cmds='.so'
   12314     hardcode_into_libs=yes
   12315     dynamic_linker="$host_os dld.so"
   12316     shlibpath_var=LD_LIBRARY_PATH
   12317     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12318     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12319     soname_spec='$libname$release$shared_ext$major'
   12320     if test 32 = "$HPUX_IA64_MODE"; then
   12321       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12322       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12323     else
   12324       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12325       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12326     fi
   12327     ;;
   12328   hppa*64*)
   12329     shrext_cmds='.sl'
   12330     hardcode_into_libs=yes
   12331     dynamic_linker="$host_os dld.sl"
   12332     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12333     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12334     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12335     soname_spec='$libname$release$shared_ext$major'
   12336     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12337     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12338     ;;
   12339   *)
   12340     shrext_cmds='.sl'
   12341     dynamic_linker="$host_os dld.sl"
   12342     shlibpath_var=SHLIB_PATH
   12343     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12344     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12345     soname_spec='$libname$release$shared_ext$major'
   12346     ;;
   12347   esac
   12348   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12349   postinstall_cmds='chmod 555 $lib'
   12350   # or fails outright, so override atomically:
   12351   install_override_mode=555
   12352   ;;
   12353 
   12354 interix[3-9]*)
   12355   version_type=linux # correct to gnu/linux during the next big refactor
   12356   need_lib_prefix=no
   12357   need_version=no
   12358   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12359   soname_spec='$libname$release$shared_ext$major'
   12360   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12361   shlibpath_var=LD_LIBRARY_PATH
   12362   shlibpath_overrides_runpath=no
   12363   hardcode_into_libs=yes
   12364   ;;
   12365 
   12366 irix5* | irix6* | nonstopux*)
   12367   case $host_os in
   12368     nonstopux*) version_type=nonstopux ;;
   12369     *)
   12370 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12371 		version_type=linux # correct to gnu/linux during the next big refactor
   12372 	else
   12373 		version_type=irix
   12374 	fi ;;
   12375   esac
   12376   need_lib_prefix=no
   12377   need_version=no
   12378   soname_spec='$libname$release$shared_ext$major'
   12379   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12380   case $host_os in
   12381   irix5* | nonstopux*)
   12382     libsuff= shlibsuff=
   12383     ;;
   12384   *)
   12385     case $LD in # libtool.m4 will add one of these switches to LD
   12386     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12387       libsuff= shlibsuff= libmagic=32-bit;;
   12388     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12389       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12390     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12391       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12392     *) libsuff= shlibsuff= libmagic=never-match;;
   12393     esac
   12394     ;;
   12395   esac
   12396   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12397   shlibpath_overrides_runpath=no
   12398   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12399   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12400   hardcode_into_libs=yes
   12401   ;;
   12402 
   12403 *-mlibc)
   12404   version_type=linux # correct to gnu/linux during the next big refactor
   12405   need_lib_prefix=no
   12406   need_version=no
   12407   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12408   soname_spec='$libname$release$shared_ext$major'
   12409   dynamic_linker='mlibc ld.so'
   12410   shlibpath_var=LD_LIBRARY_PATH
   12411   shlibpath_overrides_runpath=no
   12412   hardcode_into_libs=yes
   12413   ;;
   12414 
   12415 # No shared lib support for Linux oldld, aout, or coff.
   12416 linux*oldld* | linux*aout* | linux*coff*)
   12417   dynamic_linker=no
   12418   ;;
   12419 
   12420 linux*android*)
   12421   version_type=none # Android doesn't support versioned libraries.
   12422   need_lib_prefix=no
   12423   need_version=no
   12424   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12425   soname_spec='$libname$release$shared_ext'
   12426   finish_cmds=
   12427   shlibpath_var=LD_LIBRARY_PATH
   12428   shlibpath_overrides_runpath=yes
   12429 
   12430   # This implies no fast_install, which is unacceptable.
   12431   # Some rework will be needed to allow for fast_install
   12432   # before this can be enabled.
   12433   hardcode_into_libs=yes
   12434 
   12435   dynamic_linker='Android linker'
   12436   # -rpath works at least for libraries that are not overridden by
   12437   # libraries installed in system locations.
   12438   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12439   ;;
   12440 
   12441 # This must be glibc/ELF.
   12442 linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12443   version_type=linux # correct to gnu/linux during the next big refactor
   12444   need_lib_prefix=no
   12445   need_version=no
   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   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12449   shlibpath_var=LD_LIBRARY_PATH
   12450   shlibpath_overrides_runpath=no
   12451 
   12452   # Some binutils ld are patched to set DT_RUNPATH
   12453   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12454 then :
   12455   printf %s "(cached) " >&6
   12456 else case e in #(
   12457   e) lt_cv_shlibpath_overrides_runpath=no
   12458     save_LDFLAGS=$LDFLAGS
   12459     save_libdir=$libdir
   12460     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12461 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12462     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12463 /* end confdefs.h.  */
   12464 
   12465 int
   12466 main (void)
   12467 {
   12468 
   12469   ;
   12470   return 0;
   12471 }
   12472 _ACEOF
   12473 if ac_fn_c_try_link "$LINENO"
   12474 then :
   12475   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12476 then :
   12477   lt_cv_shlibpath_overrides_runpath=yes
   12478 fi
   12479 fi
   12480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12481     conftest$ac_exeext conftest.$ac_ext
   12482     LDFLAGS=$save_LDFLAGS
   12483     libdir=$save_libdir
   12484      ;;
   12485 esac
   12486 fi
   12487 
   12488   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12489 
   12490   # This implies no fast_install, which is unacceptable.
   12491   # Some rework will be needed to allow for fast_install
   12492   # before this can be enabled.
   12493   hardcode_into_libs=yes
   12494 
   12495   # Ideally, we could use ldconfig to report *all* directories which are
   12496   # searched for libraries, however this is still not possible.  Aside from not
   12497   # being certain /sbin/ldconfig is available, command
   12498   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12499   # even though it is searched at run-time.  Try to do the best guess by
   12500   # appending ld.so.conf contents (and includes) to the search path.
   12501   if test -f /etc/ld.so.conf; then
   12502     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' ' '`
   12503     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12504   fi
   12505 
   12506   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12507   # powerpc, because MkLinux only supported shared libraries with the
   12508   # GNU dynamic linker.  Since this was broken with cross compilers,
   12509   # most powerpc-linux boxes support dynamic linking these days and
   12510   # people can always --disable-shared, the test was removed, and we
   12511   # assume the GNU/Linux dynamic linker is in use.
   12512   dynamic_linker='GNU/Linux ld.so'
   12513   ;;
   12514 
   12515 netbsdelf*-gnu)
   12516   version_type=linux
   12517   need_lib_prefix=no
   12518   need_version=no
   12519   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12520   soname_spec='$libname$release$shared_ext$major'
   12521   shlibpath_var=LD_LIBRARY_PATH
   12522   shlibpath_overrides_runpath=no
   12523   hardcode_into_libs=yes
   12524   dynamic_linker='NetBSD ld.elf_so'
   12525   enable_cxx_stdlib=yes
   12526   stdlibflag=
   12527   ;;
   12528 
   12529 netbsd*)
   12530   version_type=sunos
   12531   need_lib_prefix=no
   12532   need_version=no
   12533   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12534     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12535     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12536     dynamic_linker='NetBSD (a.out) ld.so'
   12537   else
   12538     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12539     soname_spec='$libname$release$shared_ext$major'
   12540     dynamic_linker='NetBSD ld.elf_so'
   12541   fi
   12542   shlibpath_var=LD_LIBRARY_PATH
   12543   shlibpath_overrides_runpath=yes
   12544   hardcode_into_libs=yes
   12545   enable_cxx_stdlib=yes
   12546   stdlibflag=
   12547   ;;
   12548 
   12549 newsos6)
   12550   version_type=linux # correct to gnu/linux during the next big refactor
   12551   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12552   shlibpath_var=LD_LIBRARY_PATH
   12553   shlibpath_overrides_runpath=yes
   12554   ;;
   12555 
   12556 *nto* | *qnx*)
   12557   version_type=qnx
   12558   need_lib_prefix=no
   12559   need_version=no
   12560   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12561   soname_spec='$libname$release$shared_ext$major'
   12562   shlibpath_var=LD_LIBRARY_PATH
   12563   shlibpath_overrides_runpath=no
   12564   hardcode_into_libs=yes
   12565   dynamic_linker='ldqnx.so'
   12566   ;;
   12567 
   12568 openbsd*)
   12569   version_type=sunos
   12570   sys_lib_dlsearch_path_spec=/usr/lib
   12571   need_lib_prefix=no
   12572   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12573     need_version=no
   12574   else
   12575     need_version=yes
   12576   fi
   12577   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12578   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12579   shlibpath_var=LD_LIBRARY_PATH
   12580   shlibpath_overrides_runpath=yes
   12581   ;;
   12582 
   12583 os2*)
   12584   libname_spec='$name'
   12585   version_type=windows
   12586   shrext_cmds=.dll
   12587   need_version=no
   12588   need_lib_prefix=no
   12589   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12590   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12591     n=$($ECHO $libname | tr -d .-);
   12592     l=${#n}; test 3 -lt "$l" && l=3; mr=$((8 - $l));
   12593     r=$($ECHO $release | tr -d .-);
   12594     l=${#r}; test 2 -lt "$l" && l=2; mv=$(($mr - $l));
   12595     v=$($ECHO $versuffix | tr -d .- | cut -b -$mv);
   12596     r=$($ECHO $r | cut -b -$(($mr - ${#v})));
   12597     n=$($ECHO $n | cut -b -$((8 - ${#r} - ${#v})));
   12598     $ECHO $n$r$v`$shared_ext'
   12599   library_names_spec='${libname}_dll.$libext'
   12600   dynamic_linker='OS/2 ld.exe'
   12601   shlibpath_var=BEGINLIBPATH
   12602   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12603   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12604   postinstall_cmds='base_file=`basename \$file`~
   12605     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12606     dldir=$destdir/`dirname \$dlpath`~
   12607     test -d \$dldir || mkdir -p \$dldir~
   12608     $install_prog $dir/$dlname \$dldir/$dlname~
   12609     chmod a+x \$dldir/$dlname~
   12610     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12611       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12612     fi'
   12613   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12614     dlpath=$dir/\$dldll~
   12615     $RM \$dlpath'
   12616   ;;
   12617 
   12618 osf3* | osf4* | osf5*)
   12619   version_type=osf
   12620   need_lib_prefix=no
   12621   need_version=no
   12622   soname_spec='$libname$release$shared_ext$major'
   12623   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12624   shlibpath_var=LD_LIBRARY_PATH
   12625   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12626   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12627   ;;
   12628 
   12629 rdos*)
   12630   dynamic_linker=no
   12631   ;;
   12632 
   12633 serenity*)
   12634   version_type=linux # correct to gnu/linux during the next big refactor
   12635   need_lib_prefix=no
   12636   need_version=no
   12637   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12638   soname_spec='$libname$release$shared_ext$major'
   12639   shlibpath_var=LD_LIBRARY_PATH
   12640   shlibpath_overrides_runpath=no
   12641   dynamic_linker='SerenityOS LibELF'
   12642   ;;
   12643 
   12644 solaris*)
   12645   version_type=linux # correct to gnu/linux during the next big refactor
   12646   need_lib_prefix=no
   12647   need_version=no
   12648   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12649   soname_spec='$libname$release$shared_ext$major'
   12650   shlibpath_var=LD_LIBRARY_PATH
   12651   shlibpath_overrides_runpath=yes
   12652   hardcode_into_libs=yes
   12653   # ldd complains unless libraries are executable
   12654   postinstall_cmds='chmod +x $lib'
   12655   ;;
   12656 
   12657 sunos4*)
   12658   version_type=sunos
   12659   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12660   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12661   shlibpath_var=LD_LIBRARY_PATH
   12662   shlibpath_overrides_runpath=yes
   12663   if test yes = "$with_gnu_ld"; then
   12664     need_lib_prefix=no
   12665   fi
   12666   need_version=yes
   12667   ;;
   12668 
   12669 sysv4 | sysv4.3*)
   12670   version_type=linux # correct to gnu/linux during the next big refactor
   12671   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12672   soname_spec='$libname$release$shared_ext$major'
   12673   shlibpath_var=LD_LIBRARY_PATH
   12674   case $host_vendor in
   12675     sni)
   12676       shlibpath_overrides_runpath=no
   12677       need_lib_prefix=no
   12678       runpath_var=LD_RUN_PATH
   12679       ;;
   12680     siemens)
   12681       need_lib_prefix=no
   12682       ;;
   12683     motorola)
   12684       need_lib_prefix=no
   12685       need_version=no
   12686       shlibpath_overrides_runpath=no
   12687       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12688       ;;
   12689   esac
   12690   ;;
   12691 
   12692 sysv4*MP*)
   12693   if test -d /usr/nec; then
   12694     version_type=linux # correct to gnu/linux during the next big refactor
   12695     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12696     soname_spec='$libname$shared_ext.$major'
   12697     shlibpath_var=LD_LIBRARY_PATH
   12698   fi
   12699   ;;
   12700 
   12701 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12702   version_type=sco
   12703   need_lib_prefix=no
   12704   need_version=no
   12705   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12706   soname_spec='$libname$release$shared_ext$major'
   12707   shlibpath_var=LD_LIBRARY_PATH
   12708   shlibpath_overrides_runpath=yes
   12709   hardcode_into_libs=yes
   12710   if test yes = "$with_gnu_ld"; then
   12711     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12712   else
   12713     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12714     case $host_os in
   12715       sco3.2v5*)
   12716         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12717 	;;
   12718     esac
   12719   fi
   12720   sys_lib_dlsearch_path_spec='/usr/lib'
   12721   ;;
   12722 
   12723 tpf*)
   12724   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12725   version_type=linux # correct to gnu/linux during the next big refactor
   12726   need_lib_prefix=no
   12727   need_version=no
   12728   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12729   shlibpath_var=LD_LIBRARY_PATH
   12730   shlibpath_overrides_runpath=no
   12731   hardcode_into_libs=yes
   12732   ;;
   12733 
   12734 uts4*)
   12735   version_type=linux # correct to gnu/linux during the next big refactor
   12736   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12737   soname_spec='$libname$release$shared_ext$major'
   12738   shlibpath_var=LD_LIBRARY_PATH
   12739   ;;
   12740 
   12741 emscripten*)
   12742   version_type=none
   12743   need_lib_prefix=no
   12744   need_version=no
   12745   library_names_spec='$libname$release$shared_ext'
   12746   soname_spec='$libname$release$shared_ext'
   12747   finish_cmds=
   12748   dynamic_linker="Emscripten linker"
   12749   lt_prog_compiler_wl=
   12750 lt_prog_compiler_pic=
   12751 lt_prog_compiler_static=
   12752 
   12753 
   12754   if test yes = "$GCC"; then
   12755     lt_prog_compiler_wl='-Wl,'
   12756     lt_prog_compiler_static='-static'
   12757 
   12758     case $host_os in
   12759       aix*)
   12760       # All AIX code is PIC.
   12761       if test ia64 = "$host_cpu"; then
   12762 	# AIX 5 now supports IA64 processor
   12763 	lt_prog_compiler_static='-Bstatic'
   12764       fi
   12765       lt_prog_compiler_pic='-fPIC'
   12766       ;;
   12767 
   12768     amigaos*)
   12769       case $host_cpu in
   12770       powerpc)
   12771             # see comment about AmigaOS4 .so support
   12772             lt_prog_compiler_pic='-fPIC'
   12773         ;;
   12774       m68k)
   12775             # FIXME: we need at least 68020 code to build shared libraries, but
   12776             # adding the '-m68020' flag to GCC prevents building anything better,
   12777             # like '-m68040'.
   12778             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12779         ;;
   12780       esac
   12781       ;;
   12782 
   12783     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12784       # PIC is the default for these OSes.
   12785       ;;
   12786 
   12787     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12788       # This hack is so that the source file can tell whether it is being
   12789       # built for inclusion in a dll (and should export symbols for example).
   12790       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12791       # (--disable-auto-import) libraries
   12792       lt_prog_compiler_pic='-DDLL_EXPORT'
   12793       case $host_os in
   12794       os2*)
   12795 	lt_prog_compiler_static='$wl-static'
   12796 	;;
   12797       esac
   12798       ;;
   12799 
   12800     darwin* | rhapsody*)
   12801       # PIC is the default on this platform
   12802       # Common symbols not allowed in MH_DYLIB files
   12803       lt_prog_compiler_pic='-fno-common'
   12804       ;;
   12805 
   12806     haiku*)
   12807       # PIC is the default for Haiku.
   12808       # The "-static" flag exists, but is broken.
   12809       lt_prog_compiler_static=
   12810       ;;
   12811 
   12812     hpux*)
   12813       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12814       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12815       # sets the default TLS model and affects inlining.
   12816       case $host_cpu in
   12817       hppa*64*)
   12818 	# +Z the default
   12819 	;;
   12820       *)
   12821 	lt_prog_compiler_pic='-fPIC'
   12822 	;;
   12823       esac
   12824       ;;
   12825 
   12826     interix[3-9]*)
   12827       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12828       # Instead, we relocate shared libraries at runtime.
   12829       ;;
   12830 
   12831     msdosdjgpp*)
   12832       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12833       # on systems that don't support them.
   12834       lt_prog_compiler_can_build_shared=no
   12835       enable_shared=no
   12836       ;;
   12837 
   12838     *nto* | *qnx*)
   12839       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12840       # it will coredump.
   12841       lt_prog_compiler_pic='-fPIC -shared'
   12842       ;;
   12843 
   12844     sysv4*MP*)
   12845       if test -d /usr/nec; then
   12846 	lt_prog_compiler_pic=-Kconform_pic
   12847       fi
   12848       ;;
   12849 
   12850     *)
   12851       lt_prog_compiler_pic='-fPIC'
   12852       ;;
   12853     esac
   12854 
   12855     case $cc_basename in
   12856     nvcc*) # Cuda Compiler Driver 2.2
   12857       lt_prog_compiler_wl='-Xlinker '
   12858       if test -n "$lt_prog_compiler_pic"; then
   12859         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12860       fi
   12861       ;;
   12862     esac
   12863   else
   12864     # PORTME Check for flag to pass linker flags through the system compiler.
   12865     case $host_os in
   12866     aix*)
   12867       lt_prog_compiler_wl='-Wl,'
   12868       if test ia64 = "$host_cpu"; then
   12869 	# AIX 5 now supports IA64 processor
   12870 	lt_prog_compiler_static='-Bstatic'
   12871       else
   12872 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.expsym'
   12873       fi
   12874       ;;
   12875 
   12876     darwin* | rhapsody*)
   12877       # PIC is the default on this platform
   12878       # Common symbols not allowed in MH_DYLIB files
   12879       lt_prog_compiler_pic='-fno-common'
   12880       case $cc_basename in
   12881       nagfor*)
   12882         # NAG Fortran compiler
   12883         lt_prog_compiler_wl='-Wl,-Wl,,'
   12884         lt_prog_compiler_pic='-PIC'
   12885         lt_prog_compiler_static='-Bstatic'
   12886         ;;
   12887       esac
   12888       ;;
   12889 
   12890     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12891       # This hack is so that the source file can tell whether it is being
   12892       # built for inclusion in a dll (and should export symbols for example).
   12893       lt_prog_compiler_pic='-DDLL_EXPORT'
   12894       case $host_os in
   12895       os2*)
   12896 	lt_prog_compiler_static='$wl-static'
   12897 	;;
   12898       esac
   12899       ;;
   12900 
   12901     hpux9* | hpux10* | hpux11*)
   12902       lt_prog_compiler_wl='-Wl,'
   12903       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12904       # not for PA HP-UX.
   12905       case $host_cpu in
   12906       hppa*64*|ia64*)
   12907 	# +Z the default
   12908 	;;
   12909       *)
   12910 	lt_prog_compiler_pic='+Z'
   12911 	;;
   12912       esac
   12913       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12914       lt_prog_compiler_static='$wl-a ${wl}archive'
   12915       ;;
   12916 
   12917     irix5* | irix6* | nonstopux*)
   12918       lt_prog_compiler_wl='-Wl,'
   12919       # PIC (with -KPIC) is the default.
   12920       lt_prog_compiler_static='-non_shared'
   12921       ;;
   12922 
   12923     *-mlibc)
   12924       lt_prog_compiler_wl='-Wl,'
   12925       lt_prog_compiler_pic='-fPIC'
   12926       lt_prog_compiler_static='-static'
   12927       ;;
   12928 
   12929     linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
   12930       case $cc_basename in
   12931       # old Intel for x86_64, which still supported -KPIC.
   12932       ecc*)
   12933 	lt_prog_compiler_wl='-Wl,'
   12934 	lt_prog_compiler_pic='-KPIC'
   12935 	lt_prog_compiler_static='-static'
   12936         ;;
   12937       *flang* | ftn | f18* | f95*)
   12938         # Flang compiler.
   12939 	lt_prog_compiler_wl='-Wl,'
   12940 	lt_prog_compiler_pic='-fPIC'
   12941 	lt_prog_compiler_static='-static'
   12942         ;;
   12943       # icc used to be incompatible with GCC.
   12944       # ICC 10 doesn't accept -KPIC any more.
   12945       icc* | ifort* | icx* | ifx*)
   12946 	lt_prog_compiler_wl='-Wl,'
   12947 	lt_prog_compiler_pic='-fPIC'
   12948 	lt_prog_compiler_static='-static'
   12949         ;;
   12950       # Lahey Fortran 8.1.
   12951       lf95*)
   12952 	lt_prog_compiler_wl='-Wl,'
   12953 	lt_prog_compiler_pic='--shared'
   12954 	lt_prog_compiler_static='--static'
   12955 	;;
   12956       nagfor*)
   12957 	# NAG Fortran compiler
   12958 	lt_prog_compiler_wl='-Wl,-Wl,,'
   12959 	lt_prog_compiler_pic='-PIC'
   12960 	lt_prog_compiler_static='-Bstatic'
   12961 	;;
   12962       tcc*)
   12963 	# Fabrice Bellard et al's Tiny C Compiler
   12964 	lt_prog_compiler_wl='-Wl,'
   12965 	lt_prog_compiler_pic='-fPIC'
   12966 	lt_prog_compiler_static='-static'
   12967 	;;
   12968       slimcc*)
   12969 	# Hsiang-Ying Fu and Jim Huang's x86_64 SlimCC compiler
   12970 	lt_prog_compiler_wl='-Wl,'
   12971 	lt_prog_compiler_pic='-fPIC'
   12972 	lt_prog_compiler_static='-static'
   12973 	;;
   12974       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   12975         # Portland Group compilers (*not* the Pentium gcc compiler,
   12976 	# which looks to be a dead project)
   12977 	lt_prog_compiler_wl='-Wl,'
   12978 	lt_prog_compiler_pic='-fpic'
   12979 	lt_prog_compiler_static='-Bstatic'
   12980         ;;
   12981       ccc*)
   12982         lt_prog_compiler_wl='-Wl,'
   12983         # All Alpha code is PIC.
   12984         lt_prog_compiler_static='-non_shared'
   12985         ;;
   12986       xl* | bgxl* | bgf* | mpixl*)
   12987 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   12988 	lt_prog_compiler_wl='-Wl,'
   12989 	lt_prog_compiler_pic='-qpic'
   12990 	lt_prog_compiler_static='-qstaticlink'
   12991 	;;
   12992       *)
   12993 	case `$CC -V 2>&1 | $SED 5q` in
   12994 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   12995 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   12996 	  lt_prog_compiler_pic='-KPIC'
   12997 	  lt_prog_compiler_static='-Bstatic'
   12998 	  lt_prog_compiler_wl=''
   12999 	  ;;
   13000 	*Sun\ F* | *Sun*Fortran*)
   13001 	  lt_prog_compiler_pic='-KPIC'
   13002 	  lt_prog_compiler_static='-Bstatic'
   13003 	  lt_prog_compiler_wl='-Qoption ld '
   13004 	  ;;
   13005 	*Sun\ C*)
   13006 	  # Sun C 5.9
   13007 	  lt_prog_compiler_pic='-KPIC'
   13008 	  lt_prog_compiler_static='-Bstatic'
   13009 	  lt_prog_compiler_wl='-Wl,'
   13010 	  ;;
   13011         *Intel*\ [CF]*Compiler*)
   13012 	  lt_prog_compiler_wl='-Wl,'
   13013 	  lt_prog_compiler_pic='-fPIC'
   13014 	  lt_prog_compiler_static='-static'
   13015 	  ;;
   13016 	*Portland\ Group*)
   13017 	  lt_prog_compiler_wl='-Wl,'
   13018 	  lt_prog_compiler_pic='-fpic'
   13019 	  lt_prog_compiler_static='-Bstatic'
   13020 	  ;;
   13021 	esac
   13022 	;;
   13023       esac
   13024       ;;
   13025 
   13026     newsos6)
   13027       lt_prog_compiler_pic='-KPIC'
   13028       lt_prog_compiler_static='-Bstatic'
   13029       ;;
   13030 
   13031     *nto* | *qnx*)
   13032       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13033       # it will coredump.
   13034       lt_prog_compiler_pic='-fPIC -shared'
   13035       ;;
   13036 
   13037     osf3* | osf4* | osf5*)
   13038       lt_prog_compiler_wl='-Wl,'
   13039       # All OSF/1 code is PIC.
   13040       lt_prog_compiler_static='-non_shared'
   13041       ;;
   13042 
   13043     rdos*)
   13044       lt_prog_compiler_static='-non_shared'
   13045       ;;
   13046 
   13047     serenity*)
   13048       ;;
   13049 
   13050     solaris*)
   13051       lt_prog_compiler_pic='-KPIC'
   13052       lt_prog_compiler_static='-Bstatic'
   13053       case $cc_basename in
   13054       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13055 	lt_prog_compiler_wl='-Qoption ld ';;
   13056       *)
   13057 	lt_prog_compiler_wl='-Wl,';;
   13058       esac
   13059       ;;
   13060 
   13061     sunos4*)
   13062       lt_prog_compiler_wl='-Qoption ld '
   13063       lt_prog_compiler_pic='-PIC'
   13064       lt_prog_compiler_static='-Bstatic'
   13065       ;;
   13066 
   13067     sysv4 | sysv4.2uw2* | sysv4.3*)
   13068       lt_prog_compiler_wl='-Wl,'
   13069       lt_prog_compiler_pic='-KPIC'
   13070       lt_prog_compiler_static='-Bstatic'
   13071       ;;
   13072 
   13073     sysv4*MP*)
   13074       if test -d /usr/nec; then
   13075 	lt_prog_compiler_pic='-Kconform_pic'
   13076 	lt_prog_compiler_static='-Bstatic'
   13077       fi
   13078       ;;
   13079 
   13080     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13081       lt_prog_compiler_wl='-Wl,'
   13082       lt_prog_compiler_pic='-KPIC'
   13083       lt_prog_compiler_static='-Bstatic'
   13084       ;;
   13085 
   13086     unicos*)
   13087       lt_prog_compiler_wl='-Wl,'
   13088       lt_prog_compiler_can_build_shared=no
   13089       ;;
   13090 
   13091     uts4*)
   13092       lt_prog_compiler_pic='-pic'
   13093       lt_prog_compiler_static='-Bstatic'
   13094       ;;
   13095 
   13096     *)
   13097       lt_prog_compiler_can_build_shared=no
   13098       ;;
   13099     esac
   13100   fi
   13101 
   13102 case $host_os in
   13103   # For platforms that do not support PIC, -DPIC is meaningless:
   13104   *djgpp*)
   13105     lt_prog_compiler_pic=
   13106     ;;
   13107   *)
   13108     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13109     ;;
   13110 esac
   13111 
   13112 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13113 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13114 if test ${lt_cv_prog_compiler_pic+y}
   13115 then :
   13116   printf %s "(cached) " >&6
   13117 else case e in #(
   13118   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   13119 esac
   13120 fi
   13121 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13122 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
   13123 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13124 
   13125 #
   13126 # Check to make sure the PIC flag actually works.
   13127 #
   13128 if test -n "$lt_prog_compiler_pic"; then
   13129   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13130 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13131 if test ${lt_cv_prog_compiler_pic_works+y}
   13132 then :
   13133   printf %s "(cached) " >&6
   13134 else case e in #(
   13135   e) lt_cv_prog_compiler_pic_works=no
   13136    ac_outfile=conftest.$ac_objext
   13137    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13138    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13139    # Insert the option either (1) after the last *FLAGS variable, or
   13140    # (2) before a word containing "conftest.", or (3) at the end.
   13141    # Note that $ac_compile itself does not contain backslashes and begins
   13142    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13143    # The option is referenced via a variable to avoid confusing sed.
   13144    lt_compile=`echo "$ac_compile" | $SED \
   13145    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13146    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13147    -e 's:$: $lt_compiler_flag:'`
   13148    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13149    (eval "$lt_compile" 2>conftest.err)
   13150    ac_status=$?
   13151    cat conftest.err >&5
   13152    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13153    if (exit $ac_status) && test -s "$ac_outfile"; then
   13154      # The compiler can only warn and ignore the option if not recognized
   13155      # So say no if there are warnings other than the usual output.
   13156      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   13157      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13158      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   13159        lt_cv_prog_compiler_pic_works=yes
   13160      fi
   13161    fi
   13162    $RM conftest*
   13163  ;;
   13164 esac
   13165 fi
   13166 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13167 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
   13168 
   13169 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13170     case $lt_prog_compiler_pic in
   13171      "" | " "*) ;;
   13172      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13173      esac
   13174 else
   13175     lt_prog_compiler_pic=
   13176      lt_prog_compiler_can_build_shared=no
   13177 fi
   13178 
   13179 fi
   13180 
   13181 
   13182 
   13183 
   13184 
   13185 #
   13186 # Check to make sure the static flag actually works.
   13187 #
   13188 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13189 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13190 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13191 if test ${lt_cv_prog_compiler_static_works+y}
   13192 then :
   13193   printf %s "(cached) " >&6
   13194 else case e in #(
   13195   e) lt_cv_prog_compiler_static_works=no
   13196    save_LDFLAGS=$LDFLAGS
   13197    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13198    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13199    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13200      # The linker can only warn and ignore the option if not recognized
   13201      # So say no if there are warnings
   13202      if test -s conftest.err; then
   13203        # Append any errors to the config.log.
   13204        cat conftest.err 1>&5
   13205        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   13206        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13207        if diff conftest.expsym conftest.er2 >/dev/null; then
   13208          lt_cv_prog_compiler_static_works=yes
   13209        fi
   13210      else
   13211        lt_cv_prog_compiler_static_works=yes
   13212      fi
   13213    fi
   13214    $RM -r conftest*
   13215    LDFLAGS=$save_LDFLAGS
   13216  ;;
   13217 esac
   13218 fi
   13219 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13220 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
   13221 
   13222 if test yes = "$lt_cv_prog_compiler_static_works"; then
   13223     :
   13224 else
   13225     lt_prog_compiler_static=
   13226 fi
   13227 
   13228 
   13229 
   13230 ='-fPIC'
   13231   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   13232   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'
   13233   archive_cmds_need_lc=no
   13234   no_undefined_flag=
   13235   ;;
   13236 
   13237 *)
   13238   dynamic_linker=no
   13239   ;;
   13240 esac
   13241 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13242 printf '%s\n' "$dynamic_linker" >&6; }
   13243 test no = "$dynamic_linker" && can_build_shared=no
   13244 
   13245 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13246 if test yes = "$GCC"; then
   13247   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13248 fi
   13249 
   13250 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13251   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13252 fi
   13253 
   13254 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13255   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13256 fi
   13257 
   13258 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13259 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13260 
   13261 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13262 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13263 
   13264 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13265 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13266 
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 
   13290 
   13291 
   13292 
   13293 
   13294 
   13295 
   13296 
   13297 
   13298 
   13299 
   13300 
   13301 
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 
   13320 
   13321 
   13322 
   13323 
   13324 
   13325 
   13326 
   13327 
   13328 
   13329 
   13330 
   13331 
   13332 
   13333 
   13334 
   13335 
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 
   13345 
   13346 
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13364 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13365 hardcode_action=
   13366 if test -n "$hardcode_libdir_flag_spec" ||
   13367    test -n "$runpath_var" ||
   13368    test yes = "$hardcode_automatic"; then
   13369 
   13370   # We can hardcode non-existent directories.
   13371   if test no != "$hardcode_direct" &&
   13372      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13373      # have to relink, otherwise we might link with an installed library
   13374      # when we should be linking with a yet-to-be-installed one
   13375      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13376      test no != "$hardcode_minus_L"; then
   13377     # Linking always hardcodes the temporary library directory.
   13378     hardcode_action=relink
   13379   else
   13380     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13381     hardcode_action=immediate
   13382   fi
   13383 else
   13384   # We cannot hardcode anything, or else we can only hardcode existing
   13385   # directories.
   13386   hardcode_action=unsupported
   13387 fi
   13388 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13389 printf '%s\n' "$hardcode_action" >&6; }
   13390 
   13391 if test relink = "$hardcode_action" ||
   13392    test yes = "$inherit_rpath"; then
   13393   # Fast installation is not supported
   13394   enable_fast_install=no
   13395 elif test yes = "$shlibpath_overrides_runpath" ||
   13396      test no = "$enable_shared"; then
   13397   # Fast installation is not necessary
   13398   enable_fast_install=needless
   13399 fi
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406   if test yes != "$enable_dlopen"; then
   13407   enable_dlopen=unknown
   13408   enable_dlopen_self=unknown
   13409   enable_dlopen_self_static=unknown
   13410 else
   13411   lt_cv_dlopen=no
   13412   lt_cv_dlopen_libs=
   13413 
   13414   case $host_os in
   13415   beos*)
   13416     lt_cv_dlopen=load_add_on
   13417     lt_cv_dlopen_libs=
   13418     lt_cv_dlopen_self=yes
   13419     ;;
   13420 
   13421   mingw* | windows* | pw32* | cegcc*)
   13422     lt_cv_dlopen=LoadLibrary
   13423     lt_cv_dlopen_libs=
   13424     ;;
   13425 
   13426   cygwin*)
   13427     lt_cv_dlopen=dlopen
   13428     lt_cv_dlopen_libs=
   13429     ;;
   13430 
   13431   darwin*)
   13432     # if libdl is installed we need to link against it
   13433     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13434 printf %s "checking for dlopen in -ldl... " >&6; }
   13435 if test ${ac_cv_lib_dl_dlopen+y}
   13436 then :
   13437   printf %s "(cached) " >&6
   13438 else case e in #(
   13439   e) ac_check_lib_save_LIBS=$LIBS
   13440 LIBS="-ldl  $LIBS"
   13441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13442 /* end confdefs.h.  */
   13443 
   13444 /* Override any GCC internal prototype to avoid an error.
   13445    Use char because int might match the return type of a GCC
   13446    builtin and then its argument prototype would still apply.
   13447    The 'extern "C"' is for builds by C++ compilers;
   13448    although this is not generally supported in C code supporting it here
   13449    has little cost and some practical benefit (sr 110532).  */
   13450 #ifdef __cplusplus
   13451 extern "C"
   13452 #endif
   13453 char dlopen (void);
   13454 int
   13455 main (void)
   13456 {
   13457 return dlopen ();
   13458   ;
   13459   return 0;
   13460 }
   13461 _ACEOF
   13462 if ac_fn_c_try_link "$LINENO"
   13463 then :
   13464   ac_cv_lib_dl_dlopen=yes
   13465 else case e in #(
   13466   e) ac_cv_lib_dl_dlopen=no ;;
   13467 esac
   13468 fi
   13469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13470     conftest$ac_exeext conftest.$ac_ext
   13471 LIBS=$ac_check_lib_save_LIBS ;;
   13472 esac
   13473 fi
   13474 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13475 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
   13476 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13477 then :
   13478   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13479 else case e in #(
   13480   e)
   13481     lt_cv_dlopen=dyld
   13482     lt_cv_dlopen_libs=
   13483     lt_cv_dlopen_self=yes
   13484      ;;
   13485 esac
   13486 fi
   13487 
   13488     ;;
   13489 
   13490   tpf*)
   13491     # Don't try to run any link tests for TPF.  We know it's impossible
   13492     # because TPF is a cross-compiler, and we know how we open DSOs.
   13493     lt_cv_dlopen=dlopen
   13494     lt_cv_dlopen_libs=
   13495     lt_cv_dlopen_self=no
   13496     ;;
   13497 
   13498   *)
   13499     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13500 if test "x$ac_cv_func_shl_load" = xyes
   13501 then :
   13502   lt_cv_dlopen=shl_load
   13503 else case e in #(
   13504   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13505 printf %s "checking for shl_load in -ldld... " >&6; }
   13506 if test ${ac_cv_lib_dld_shl_load+y}
   13507 then :
   13508   printf %s "(cached) " >&6
   13509 else case e in #(
   13510   e) ac_check_lib_save_LIBS=$LIBS
   13511 LIBS="-ldld  $LIBS"
   13512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13513 /* end confdefs.h.  */
   13514 
   13515 /* Override any GCC internal prototype to avoid an error.
   13516    Use char because int might match the return type of a GCC
   13517    builtin and then its argument prototype would still apply.
   13518    The 'extern "C"' is for builds by C++ compilers;
   13519    although this is not generally supported in C code supporting it here
   13520    has little cost and some practical benefit (sr 110532).  */
   13521 #ifdef __cplusplus
   13522 extern "C"
   13523 #endif
   13524 char shl_load (void);
   13525 int
   13526 main (void)
   13527 {
   13528 return shl_load ();
   13529   ;
   13530   return 0;
   13531 }
   13532 _ACEOF
   13533 if ac_fn_c_try_link "$LINENO"
   13534 then :
   13535   ac_cv_lib_dld_shl_load=yes
   13536 else case e in #(
   13537   e) ac_cv_lib_dld_shl_load=no ;;
   13538 esac
   13539 fi
   13540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13541     conftest$ac_exeext conftest.$ac_ext
   13542 LIBS=$ac_check_lib_save_LIBS ;;
   13543 esac
   13544 fi
   13545 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13546 printf '%s\n' "$ac_cv_lib_dld_shl_load" >&6; }
   13547 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13548 then :
   13549   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13550 else case e in #(
   13551   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13552 if test "x$ac_cv_func_dlopen" = xyes
   13553 then :
   13554   lt_cv_dlopen=dlopen
   13555 else case e in #(
   13556   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13557 printf %s "checking for dlopen in -ldl... " >&6; }
   13558 if test ${ac_cv_lib_dl_dlopen+y}
   13559 then :
   13560   printf %s "(cached) " >&6
   13561 else case e in #(
   13562   e) ac_check_lib_save_LIBS=$LIBS
   13563 LIBS="-ldl  $LIBS"
   13564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13565 /* end confdefs.h.  */
   13566 
   13567 /* Override any GCC internal prototype to avoid an error.
   13568    Use char because int might match the return type of a GCC
   13569    builtin and then its argument prototype would still apply.
   13570    The 'extern "C"' is for builds by C++ compilers;
   13571    although this is not generally supported in C code supporting it here
   13572    has little cost and some practical benefit (sr 110532).  */
   13573 #ifdef __cplusplus
   13574 extern "C"
   13575 #endif
   13576 char dlopen (void);
   13577 int
   13578 main (void)
   13579 {
   13580 return dlopen ();
   13581   ;
   13582   return 0;
   13583 }
   13584 _ACEOF
   13585 if ac_fn_c_try_link "$LINENO"
   13586 then :
   13587   ac_cv_lib_dl_dlopen=yes
   13588 else case e in #(
   13589   e) ac_cv_lib_dl_dlopen=no ;;
   13590 esac
   13591 fi
   13592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13593     conftest$ac_exeext conftest.$ac_ext
   13594 LIBS=$ac_check_lib_save_LIBS ;;
   13595 esac
   13596 fi
   13597 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13598 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
   13599 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13600 then :
   13601   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13602 else case e in #(
   13603   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13604 printf %s "checking for dlopen in -lsvld... " >&6; }
   13605 if test ${ac_cv_lib_svld_dlopen+y}
   13606 then :
   13607   printf %s "(cached) " >&6
   13608 else case e in #(
   13609   e) ac_check_lib_save_LIBS=$LIBS
   13610 LIBS="-lsvld  $LIBS"
   13611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13612 /* end confdefs.h.  */
   13613 
   13614 /* Override any GCC internal prototype to avoid an error.
   13615    Use char because int might match the return type of a GCC
   13616    builtin and then its argument prototype would still apply.
   13617    The 'extern "C"' is for builds by C++ compilers;
   13618    although this is not generally supported in C code supporting it here
   13619    has little cost and some practical benefit (sr 110532).  */
   13620 #ifdef __cplusplus
   13621 extern "C"
   13622 #endif
   13623 char dlopen (void);
   13624 int
   13625 main (void)
   13626 {
   13627 return dlopen ();
   13628   ;
   13629   return 0;
   13630 }
   13631 _ACEOF
   13632 if ac_fn_c_try_link "$LINENO"
   13633 then :
   13634   ac_cv_lib_svld_dlopen=yes
   13635 else case e in #(
   13636   e) ac_cv_lib_svld_dlopen=no ;;
   13637 esac
   13638 fi
   13639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13640     conftest$ac_exeext conftest.$ac_ext
   13641 LIBS=$ac_check_lib_save_LIBS ;;
   13642 esac
   13643 fi
   13644 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13645 printf '%s\n' "$ac_cv_lib_svld_dlopen" >&6; }
   13646 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13647 then :
   13648   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13649 else case e in #(
   13650   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13651 printf %s "checking for dld_link in -ldld... " >&6; }
   13652 if test ${ac_cv_lib_dld_dld_link+y}
   13653 then :
   13654   printf %s "(cached) " >&6
   13655 else case e in #(
   13656   e) ac_check_lib_save_LIBS=$LIBS
   13657 LIBS="-ldld  $LIBS"
   13658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13659 /* end confdefs.h.  */
   13660 
   13661 /* Override any GCC internal prototype to avoid an error.
   13662    Use char because int might match the return type of a GCC
   13663    builtin and then its argument prototype would still apply.
   13664    The 'extern "C"' is for builds by C++ compilers;
   13665    although this is not generally supported in C code supporting it here
   13666    has little cost and some practical benefit (sr 110532).  */
   13667 #ifdef __cplusplus
   13668 extern "C"
   13669 #endif
   13670 char dld_link (void);
   13671 int
   13672 main (void)
   13673 {
   13674 return dld_link ();
   13675   ;
   13676   return 0;
   13677 }
   13678 _ACEOF
   13679 if ac_fn_c_try_link "$LINENO"
   13680 then :
   13681   ac_cv_lib_dld_dld_link=yes
   13682 else case e in #(
   13683   e) ac_cv_lib_dld_dld_link=no ;;
   13684 esac
   13685 fi
   13686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13687     conftest$ac_exeext conftest.$ac_ext
   13688 LIBS=$ac_check_lib_save_LIBS ;;
   13689 esac
   13690 fi
   13691 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13692 printf '%s\n' "$ac_cv_lib_dld_dld_link" >&6; }
   13693 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13694 then :
   13695   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13696 fi
   13697 
   13698 	       ;;
   13699 esac
   13700 fi
   13701 
   13702 	     ;;
   13703 esac
   13704 fi
   13705 
   13706 	   ;;
   13707 esac
   13708 fi
   13709 
   13710 	 ;;
   13711 esac
   13712 fi
   13713 
   13714        ;;
   13715 esac
   13716 fi
   13717 
   13718     ;;
   13719   esac
   13720 
   13721   if test no = "$lt_cv_dlopen"; then
   13722     enable_dlopen=no
   13723   else
   13724     enable_dlopen=yes
   13725   fi
   13726 
   13727   case $lt_cv_dlopen in
   13728   dlopen)
   13729     save_CPPFLAGS=$CPPFLAGS
   13730     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13731 
   13732     save_LDFLAGS=$LDFLAGS
   13733     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13734 
   13735     save_LIBS=$LIBS
   13736     LIBS="$lt_cv_dlopen_libs $LIBS"
   13737 
   13738     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13739 printf %s "checking whether a program can dlopen itself... " >&6; }
   13740 if test ${lt_cv_dlopen_self+y}
   13741 then :
   13742   printf %s "(cached) " >&6
   13743 else case e in #(
   13744   e) 	  if test yes = "$cross_compiling"; then :
   13745   lt_cv_dlopen_self=cross
   13746 else
   13747   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13748   lt_status=$lt_dlunknown
   13749   cat > conftest.$ac_ext <<_LT_EOF
   13750 #line $LINENO "configure"
   13751 #include "confdefs.h"
   13752 
   13753 #if HAVE_DLFCN_H
   13754 #include <dlfcn.h>
   13755 #endif
   13756 
   13757 #include <stdio.h>
   13758 
   13759 #ifdef RTLD_GLOBAL
   13760 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13761 #else
   13762 #  ifdef DL_GLOBAL
   13763 #    define LT_DLGLOBAL		DL_GLOBAL
   13764 #  else
   13765 #    define LT_DLGLOBAL		0
   13766 #  endif
   13767 #endif
   13768 
   13769 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13770    find out it does not work in some platform. */
   13771 #ifndef LT_DLLAZY_OR_NOW
   13772 #  ifdef RTLD_LAZY
   13773 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13774 #  else
   13775 #    ifdef DL_LAZY
   13776 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13777 #    else
   13778 #      ifdef RTLD_NOW
   13779 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13780 #      else
   13781 #        ifdef DL_NOW
   13782 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13783 #        else
   13784 #          define LT_DLLAZY_OR_NOW	0
   13785 #        endif
   13786 #      endif
   13787 #    endif
   13788 #  endif
   13789 #endif
   13790 
   13791 /* When -fvisibility=hidden is used, assume the code has been annotated
   13792    correspondingly for the symbols needed.  */
   13793 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13794 int fnord (void) __attribute__((visibility("default")));
   13795 #endif
   13796 
   13797 int fnord (void) { return 42; }
   13798 int main (void)
   13799 {
   13800   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13801   int status = $lt_dlunknown;
   13802 
   13803   if (self)
   13804     {
   13805       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13806       else
   13807         {
   13808 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13809           else puts (dlerror ());
   13810 	}
   13811       /* dlclose (self); */
   13812     }
   13813   else
   13814     puts (dlerror ());
   13815 
   13816   return status;
   13817 }
   13818 _LT_EOF
   13819   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13820   (eval $ac_link) 2>&5
   13821   ac_status=$?
   13822   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13823   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13824     (./conftest; exit; ) >&5 2>/dev/null
   13825     lt_status=$?
   13826     case x$lt_status in
   13827       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13828       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13829       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13830     esac
   13831   else :
   13832     # compilation failed
   13833     lt_cv_dlopen_self=no
   13834   fi
   13835 fi
   13836 rm -fr conftest*
   13837 
   13838      ;;
   13839 esac
   13840 fi
   13841 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13842 printf '%s\n' "$lt_cv_dlopen_self" >&6; }
   13843 
   13844     if test yes = "$lt_cv_dlopen_self"; then
   13845       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13846       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13847 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13848 if test ${lt_cv_dlopen_self_static+y}
   13849 then :
   13850   printf %s "(cached) " >&6
   13851 else case e in #(
   13852   e) 	  if test yes = "$cross_compiling"; then :
   13853   lt_cv_dlopen_self_static=cross
   13854 else
   13855   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13856   lt_status=$lt_dlunknown
   13857   cat > conftest.$ac_ext <<_LT_EOF
   13858 #line $LINENO "configure"
   13859 #include "confdefs.h"
   13860 
   13861 #if HAVE_DLFCN_H
   13862 #include <dlfcn.h>
   13863 #endif
   13864 
   13865 #include <stdio.h>
   13866 
   13867 #ifdef RTLD_GLOBAL
   13868 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13869 #else
   13870 #  ifdef DL_GLOBAL
   13871 #    define LT_DLGLOBAL		DL_GLOBAL
   13872 #  else
   13873 #    define LT_DLGLOBAL		0
   13874 #  endif
   13875 #endif
   13876 
   13877 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13878    find out it does not work in some platform. */
   13879 #ifndef LT_DLLAZY_OR_NOW
   13880 #  ifdef RTLD_LAZY
   13881 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13882 #  else
   13883 #    ifdef DL_LAZY
   13884 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13885 #    else
   13886 #      ifdef RTLD_NOW
   13887 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13888 #      else
   13889 #        ifdef DL_NOW
   13890 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13891 #        else
   13892 #          define LT_DLLAZY_OR_NOW	0
   13893 #        endif
   13894 #      endif
   13895 #    endif
   13896 #  endif
   13897 #endif
   13898 
   13899 /* When -fvisibility=hidden is used, assume the code has been annotated
   13900    correspondingly for the symbols needed.  */
   13901 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13902 int fnord (void) __attribute__((visibility("default")));
   13903 #endif
   13904 
   13905 int fnord (void) { return 42; }
   13906 int main (void)
   13907 {
   13908   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13909   int status = $lt_dlunknown;
   13910 
   13911   if (self)
   13912     {
   13913       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13914       else
   13915         {
   13916 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13917           else puts (dlerror ());
   13918 	}
   13919       /* dlclose (self); */
   13920     }
   13921   else
   13922     puts (dlerror ());
   13923 
   13924   return status;
   13925 }
   13926 _LT_EOF
   13927   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13928   (eval $ac_link) 2>&5
   13929   ac_status=$?
   13930   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13931   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13932     (./conftest; exit; ) >&5 2>/dev/null
   13933     lt_status=$?
   13934     case x$lt_status in
   13935       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13936       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13937       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13938     esac
   13939   else :
   13940     # compilation failed
   13941     lt_cv_dlopen_self_static=no
   13942   fi
   13943 fi
   13944 rm -fr conftest*
   13945 
   13946        ;;
   13947 esac
   13948 fi
   13949 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13950 printf '%s\n' "$lt_cv_dlopen_self_static" >&6; }
   13951     fi
   13952 
   13953     CPPFLAGS=$save_CPPFLAGS
   13954     LDFLAGS=$save_LDFLAGS
   13955     LIBS=$save_LIBS
   13956     ;;
   13957   esac
   13958 
   13959   case $lt_cv_dlopen_self in
   13960   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13961   *) enable_dlopen_self=unknown ;;
   13962   esac
   13963 
   13964   case $lt_cv_dlopen_self_static in
   13965   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13966   *) enable_dlopen_self_static=unknown ;;
   13967   esac
   13968 fi
   13969 
   13970 
   13971 
   13972 
   13973 
   13974 
   13975 
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 striplib=
   13987 old_striplib=
   13988 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13989 printf %s "checking whether stripping libraries is possible... " >&6; }
   13990 if test -z "$STRIP"; then
   13991   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13992 printf '%s\n' "no" >&6; }
   13993 else
   13994   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13995     old_striplib="$STRIP --strip-debug"
   13996     striplib="$STRIP --strip-unneeded"
   13997     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13998 printf '%s\n' "yes" >&6; }
   13999   else
   14000     case $host_os in
   14001     darwin*)
   14002       # FIXME - insert some real tests, host_os isn't really good enough
   14003       striplib="$STRIP -x"
   14004       old_striplib="$STRIP -S"
   14005       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14006 printf '%s\n' "yes" >&6; }
   14007       ;;
   14008     freebsd*)
   14009       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   14010         old_striplib="$STRIP --strip-debug"
   14011         striplib="$STRIP --strip-unneeded"
   14012         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14013 printf '%s\n' "yes" >&6; }
   14014       else
   14015         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14016 printf '%s\n' "no" >&6; }
   14017       fi
   14018       ;;
   14019     *)
   14020       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14021 printf '%s\n' "no" >&6; }
   14022       ;;
   14023     esac
   14024   fi
   14025 fi
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 
   14038   # Report what library types will actually be built
   14039   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   14040 printf %s "checking if libtool supports shared libraries... " >&6; }
   14041   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   14042 printf '%s\n' "$can_build_shared" >&6; }
   14043 
   14044   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   14045 printf %s "checking whether to build shared libraries... " >&6; }
   14046   test no = "$can_build_shared" && enable_shared=no
   14047 
   14048   # On AIX, shared libraries and static libraries use the same namespace, and
   14049   # are all built from PIC.
   14050   case $host_os in
   14051   aix3*)
   14052     test yes = "$enable_shared" && enable_static=no
   14053     if test -n "$RANLIB"; then
   14054       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14055       postinstall_cmds='$RANLIB $lib'
   14056     fi
   14057     ;;
   14058 
   14059   aix[4-9]*)
   14060     if test ia64 != "$host_cpu"; then
   14061       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   14062       yes,aix,yes) ;;			# shared object as lib.so file only
   14063       yes,svr4,*) ;;			# shared object as lib.so archive member only
   14064       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   14065       esac
   14066     fi
   14067     ;;
   14068   esac
   14069   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   14070 printf '%s\n' "$enable_shared" >&6; }
   14071 
   14072   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   14073 printf %s "checking whether to build static libraries... " >&6; }
   14074   # Make sure either enable_shared or enable_static is yes.
   14075   test yes = "$enable_shared" || enable_static=yes
   14076   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   14077 printf '%s\n' "$enable_static" >&6; }
   14078 
   14079 
   14080 
   14081 
   14082 fi
   14083 ac_ext=c
   14084 ac_cpp='$CPP $CPPFLAGS'
   14085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14088 
   14089 CC=$lt_save_CC
   14090 
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 
   14106 
   14107 
   14108 
   14109 
   14110 
   14111 
   14112         ac_config_commands="$ac_config_commands libtool"
   14113 
   14114 
   14115 
   14116 
   14117 # Only expand once:
   14118 
   14119 
   14120 
   14121 # Require X.Org macros 1.16 or later for XORG_MEMORY_CHECK_FLAGS
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   14134 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   14135 if test ${ac_cv_c_undeclared_builtin_options+y}
   14136 then :
   14137   printf %s "(cached) " >&6
   14138 else case e in #(
   14139   e) ac_save_CFLAGS=$CFLAGS
   14140    ac_cv_c_undeclared_builtin_options='cannot detect'
   14141    for ac_arg in '' -fno-builtin; do
   14142      CFLAGS="$ac_save_CFLAGS $ac_arg"
   14143      # This test program should *not* compile successfully.
   14144      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14145 /* end confdefs.h.  */
   14146 
   14147 int
   14148 main (void)
   14149 {
   14150 (void) strchr;
   14151   ;
   14152   return 0;
   14153 }
   14154 _ACEOF
   14155 if ac_fn_c_try_compile "$LINENO"
   14156 then :
   14157 
   14158 else case e in #(
   14159   e) # This test program should compile successfully.
   14160         # No library function is consistently available on
   14161         # freestanding implementations, so test against a dummy
   14162         # declaration.  Include always-available headers on the
   14163         # off chance that they somehow elicit warnings.
   14164         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14165 /* end confdefs.h.  */
   14166 #include <float.h>
   14167 #include <limits.h>
   14168 #include <stdarg.h>
   14169 #include <stddef.h>
   14170 extern void ac_decl (int, char *);
   14171 
   14172 int
   14173 main (void)
   14174 {
   14175 (void) ac_decl (0, (char *) 0);
   14176   (void) ac_decl;
   14177 
   14178   ;
   14179   return 0;
   14180 }
   14181 _ACEOF
   14182 if ac_fn_c_try_compile "$LINENO"
   14183 then :
   14184   if test x"$ac_arg" = x
   14185 then :
   14186   ac_cv_c_undeclared_builtin_options='none needed'
   14187 else case e in #(
   14188   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   14189 esac
   14190 fi
   14191           break
   14192 fi
   14193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14194 esac
   14195 fi
   14196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14197     done
   14198     CFLAGS=$ac_save_CFLAGS
   14199    ;;
   14200 esac
   14201 fi
   14202 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   14203 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   14204   case $ac_cv_c_undeclared_builtin_options in #(
   14205   'cannot detect') :
   14206     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14207 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   14208 as_fn_error $? "cannot make $CC report undeclared builtins
   14209 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   14210   'none needed') :
   14211     ac_c_undeclared_builtin_options='' ;; #(
   14212   *) :
   14213     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   14214 esac
   14215 
   14216 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   14217 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   14218 if test ${ac_cv_c_future_darwin_options+y}
   14219 then :
   14220   printf %s "(cached) " >&6
   14221 else case e in #(
   14222   e)       ac_compile_saved="$ac_compile"
   14223    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   14224    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14225 /* end confdefs.h.  */
   14226 #if ! (defined __APPLE__ && defined __MACH__)
   14227 	   #error "-Werror=unguarded-availability-new not needed here"
   14228 	  #endif
   14229 
   14230 int
   14231 main (void)
   14232 {
   14233 
   14234   ;
   14235   return 0;
   14236 }
   14237 _ACEOF
   14238 if ac_fn_c_try_compile "$LINENO"
   14239 then :
   14240   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   14241 else case e in #(
   14242   e) ac_cv_c_future_darwin_options='none needed' ;;
   14243 esac
   14244 fi
   14245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14246    ac_compile="$ac_compile_saved"
   14247    ;;
   14248 esac
   14249 fi
   14250 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   14251 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   14252  case $ac_cv_c_future_darwin_options in #(
   14253   'none needed') :
   14254     ac_c_future_darwin_options='' ;; #(
   14255   *) :
   14256     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   14257 esac
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   14264 if test "x$ac_cv_have_decl___clang__" = xyes
   14265 then :
   14266   CLANGCC="yes"
   14267 else case e in #(
   14268   e) CLANGCC="no" ;;
   14269 esac
   14270 fi
   14271 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   14272 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   14273 then :
   14274   INTELCC="yes"
   14275 else case e in #(
   14276   e) INTELCC="no" ;;
   14277 esac
   14278 fi
   14279 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   14280 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   14281 then :
   14282   SUNCC="yes"
   14283 else case e in #(
   14284   e) SUNCC="no" ;;
   14285 esac
   14286 fi
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294 
   14295 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   14296 	if test -n "$ac_tool_prefix"; then
   14297   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   14298 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   14299 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14300 printf %s "checking for $ac_word... " >&6; }
   14301 if test ${ac_cv_path_PKG_CONFIG+y}
   14302 then :
   14303   printf %s "(cached) " >&6
   14304 else case e in #(
   14305   e) case $PKG_CONFIG in
   14306   [\\/]* | ?:[\\/]*)
   14307   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   14308   ;;
   14309   *)
   14310   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14311 for as_dir in $PATH
   14312 do
   14313   IFS=$as_save_IFS
   14314   case $as_dir in #(((
   14315     '') as_dir=./ ;;
   14316     */) ;;
   14317     *) as_dir=$as_dir/ ;;
   14318   esac
   14319     for ac_exec_ext in '' $ac_executable_extensions; do
   14320   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14321     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14322     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14323     break 2
   14324   fi
   14325 done
   14326   done
   14327 IFS=$as_save_IFS
   14328 
   14329   ;;
   14330 esac ;;
   14331 esac
   14332 fi
   14333 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   14334 if test -n "$PKG_CONFIG"; then
   14335   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   14336 printf '%s\n' "$PKG_CONFIG" >&6; }
   14337 else
   14338   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14339 printf '%s\n' "no" >&6; }
   14340 fi
   14341 
   14342 
   14343 fi
   14344 if test -z "$ac_cv_path_PKG_CONFIG"; then
   14345   ac_pt_PKG_CONFIG=$PKG_CONFIG
   14346   # Extract the first word of "pkg-config", so it can be a program name with args.
   14347 set dummy pkg-config; ac_word=$2
   14348 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14349 printf %s "checking for $ac_word... " >&6; }
   14350 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   14351 then :
   14352   printf %s "(cached) " >&6
   14353 else case e in #(
   14354   e) case $ac_pt_PKG_CONFIG in
   14355   [\\/]* | ?:[\\/]*)
   14356   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   14357   ;;
   14358   *)
   14359   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14360 for as_dir in $PATH
   14361 do
   14362   IFS=$as_save_IFS
   14363   case $as_dir in #(((
   14364     '') as_dir=./ ;;
   14365     */) ;;
   14366     *) as_dir=$as_dir/ ;;
   14367   esac
   14368     for ac_exec_ext in '' $ac_executable_extensions; do
   14369   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14370     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14371     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14372     break 2
   14373   fi
   14374 done
   14375   done
   14376 IFS=$as_save_IFS
   14377 
   14378   ;;
   14379 esac ;;
   14380 esac
   14381 fi
   14382 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   14383 if test -n "$ac_pt_PKG_CONFIG"; then
   14384   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   14385 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   14386 else
   14387   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14388 printf '%s\n' "no" >&6; }
   14389 fi
   14390 
   14391   if test "x$ac_pt_PKG_CONFIG" = x; then
   14392     PKG_CONFIG=""
   14393   else
   14394     case $cross_compiling:$ac_tool_warned in
   14395 yes:)
   14396 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14397 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14398 ac_tool_warned=yes ;;
   14399 esac
   14400     PKG_CONFIG=$ac_pt_PKG_CONFIG
   14401   fi
   14402 else
   14403   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   14404 fi
   14405 
   14406 fi
   14407 if test -n "$PKG_CONFIG"; then
   14408 	_pkg_min_version=0.9.0
   14409 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   14410 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   14411 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   14412 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14413 printf '%s\n' "yes" >&6; }
   14414 	else
   14415 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14416 printf '%s\n' "no" >&6; }
   14417 		PKG_CONFIG=""
   14418 	fi
   14419 fi
   14420 
   14421 
   14422 
   14423 
   14424 
   14425 # Check whether --enable-selective-werror was given.
   14426 if test ${enable_selective_werror+y}
   14427 then :
   14428   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14429 else case e in #(
   14430   e) SELECTIVE_WERROR=yes ;;
   14431 esac
   14432 fi
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14439 if test "x$SUNCC" = "xyes"; then
   14440     BASE_CFLAGS="-v"
   14441 else
   14442     BASE_CFLAGS=""
   14443 fi
   14444 
   14445 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14446 
   14447 
   14448 
   14449 
   14450 
   14451 
   14452 
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 
   14459 xorg_testset_save_CFLAGS="$CFLAGS"
   14460 
   14461 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14462 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14463 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14464 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14465 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14466 then :
   14467   printf %s "(cached) " >&6
   14468 else case e in #(
   14469   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14470 /* end confdefs.h.  */
   14471 int i;
   14472 _ACEOF
   14473 if ac_fn_c_try_compile "$LINENO"
   14474 then :
   14475   xorg_cv_cc_flag_unknown_warning_option=yes
   14476 else case e in #(
   14477   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14478 esac
   14479 fi
   14480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14481 esac
   14482 fi
   14483 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14484 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14485 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14486 	CFLAGS="$xorg_testset_save_CFLAGS"
   14487 fi
   14488 
   14489 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14490 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14491 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14492 	fi
   14493 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14494 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14495 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14496 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14497 then :
   14498   printf %s "(cached) " >&6
   14499 else case e in #(
   14500   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14501 /* end confdefs.h.  */
   14502 int i;
   14503 _ACEOF
   14504 if ac_fn_c_try_compile "$LINENO"
   14505 then :
   14506   xorg_cv_cc_flag_unused_command_line_argument=yes
   14507 else case e in #(
   14508   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14509 esac
   14510 fi
   14511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14512 esac
   14513 fi
   14514 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14515 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14516 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14517 	CFLAGS="$xorg_testset_save_CFLAGS"
   14518 fi
   14519 
   14520 found="no"
   14521 
   14522 	if test $found = "no" ; then
   14523 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14524 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14525 		fi
   14526 
   14527 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14528 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14529 		fi
   14530 
   14531 		CFLAGS="$CFLAGS -Wall"
   14532 
   14533 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14534 printf %s "checking if $CC supports -Wall... " >&6; }
   14535 		cacheid=xorg_cv_cc_flag__Wall
   14536 		if eval test \${$cacheid+y}
   14537 then :
   14538   printf %s "(cached) " >&6
   14539 else case e in #(
   14540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14541 /* end confdefs.h.  */
   14542 int i;
   14543 int
   14544 main (void)
   14545 {
   14546 
   14547   ;
   14548   return 0;
   14549 }
   14550 _ACEOF
   14551 if ac_fn_c_try_link "$LINENO"
   14552 then :
   14553   eval $cacheid=yes
   14554 else case e in #(
   14555   e) eval $cacheid=no ;;
   14556 esac
   14557 fi
   14558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14559     conftest$ac_exeext conftest.$ac_ext ;;
   14560 esac
   14561 fi
   14562 
   14563 
   14564 		CFLAGS="$xorg_testset_save_CFLAGS"
   14565 
   14566 		eval supported=\$$cacheid
   14567 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14568 printf '%s\n' "$supported" >&6; }
   14569 		if test "$supported" = "yes" ; then
   14570 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14571 			found="yes"
   14572 		fi
   14573 	fi
   14574 
   14575 
   14576 
   14577 
   14578 
   14579 
   14580 
   14581 
   14582 
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 
   14589 xorg_testset_save_CFLAGS="$CFLAGS"
   14590 
   14591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14593 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14594 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14595 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14596 then :
   14597   printf %s "(cached) " >&6
   14598 else case e in #(
   14599   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14600 /* end confdefs.h.  */
   14601 int i;
   14602 _ACEOF
   14603 if ac_fn_c_try_compile "$LINENO"
   14604 then :
   14605   xorg_cv_cc_flag_unknown_warning_option=yes
   14606 else case e in #(
   14607   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14608 esac
   14609 fi
   14610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14611 esac
   14612 fi
   14613 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14614 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14616 	CFLAGS="$xorg_testset_save_CFLAGS"
   14617 fi
   14618 
   14619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14622 	fi
   14623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14624 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14625 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14626 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14627 then :
   14628   printf %s "(cached) " >&6
   14629 else case e in #(
   14630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14631 /* end confdefs.h.  */
   14632 int i;
   14633 _ACEOF
   14634 if ac_fn_c_try_compile "$LINENO"
   14635 then :
   14636   xorg_cv_cc_flag_unused_command_line_argument=yes
   14637 else case e in #(
   14638   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14639 esac
   14640 fi
   14641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14642 esac
   14643 fi
   14644 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14645 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14646 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14647 	CFLAGS="$xorg_testset_save_CFLAGS"
   14648 fi
   14649 
   14650 found="no"
   14651 
   14652 	if test $found = "no" ; then
   14653 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14654 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14655 		fi
   14656 
   14657 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14658 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14659 		fi
   14660 
   14661 		CFLAGS="$CFLAGS -Wpointer-arith"
   14662 
   14663 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14664 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14665 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14666 		if eval test \${$cacheid+y}
   14667 then :
   14668   printf %s "(cached) " >&6
   14669 else case e in #(
   14670   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14671 /* end confdefs.h.  */
   14672 int i;
   14673 int
   14674 main (void)
   14675 {
   14676 
   14677   ;
   14678   return 0;
   14679 }
   14680 _ACEOF
   14681 if ac_fn_c_try_link "$LINENO"
   14682 then :
   14683   eval $cacheid=yes
   14684 else case e in #(
   14685   e) eval $cacheid=no ;;
   14686 esac
   14687 fi
   14688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14689     conftest$ac_exeext conftest.$ac_ext ;;
   14690 esac
   14691 fi
   14692 
   14693 
   14694 		CFLAGS="$xorg_testset_save_CFLAGS"
   14695 
   14696 		eval supported=\$$cacheid
   14697 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14698 printf '%s\n' "$supported" >&6; }
   14699 		if test "$supported" = "yes" ; then
   14700 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14701 			found="yes"
   14702 		fi
   14703 	fi
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 
   14715 
   14716 
   14717 
   14718 
   14719 xorg_testset_save_CFLAGS="$CFLAGS"
   14720 
   14721 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14722 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14723 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14724 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14725 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14726 then :
   14727   printf %s "(cached) " >&6
   14728 else case e in #(
   14729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14730 /* end confdefs.h.  */
   14731 int i;
   14732 _ACEOF
   14733 if ac_fn_c_try_compile "$LINENO"
   14734 then :
   14735   xorg_cv_cc_flag_unknown_warning_option=yes
   14736 else case e in #(
   14737   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14738 esac
   14739 fi
   14740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14741 esac
   14742 fi
   14743 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14744 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14746 	CFLAGS="$xorg_testset_save_CFLAGS"
   14747 fi
   14748 
   14749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14752 	fi
   14753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14754 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14755 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14756 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14757 then :
   14758   printf %s "(cached) " >&6
   14759 else case e in #(
   14760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14761 /* end confdefs.h.  */
   14762 int i;
   14763 _ACEOF
   14764 if ac_fn_c_try_compile "$LINENO"
   14765 then :
   14766   xorg_cv_cc_flag_unused_command_line_argument=yes
   14767 else case e in #(
   14768   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14769 esac
   14770 fi
   14771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14772 esac
   14773 fi
   14774 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14775 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14776 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14777 	CFLAGS="$xorg_testset_save_CFLAGS"
   14778 fi
   14779 
   14780 found="no"
   14781 
   14782 	if test $found = "no" ; then
   14783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14785 		fi
   14786 
   14787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14789 		fi
   14790 
   14791 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14792 
   14793 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14794 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14795 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14796 		if eval test \${$cacheid+y}
   14797 then :
   14798   printf %s "(cached) " >&6
   14799 else case e in #(
   14800   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14801 /* end confdefs.h.  */
   14802 int i;
   14803 int
   14804 main (void)
   14805 {
   14806 
   14807   ;
   14808   return 0;
   14809 }
   14810 _ACEOF
   14811 if ac_fn_c_try_link "$LINENO"
   14812 then :
   14813   eval $cacheid=yes
   14814 else case e in #(
   14815   e) eval $cacheid=no ;;
   14816 esac
   14817 fi
   14818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14819     conftest$ac_exeext conftest.$ac_ext ;;
   14820 esac
   14821 fi
   14822 
   14823 
   14824 		CFLAGS="$xorg_testset_save_CFLAGS"
   14825 
   14826 		eval supported=\$$cacheid
   14827 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14828 printf '%s\n' "$supported" >&6; }
   14829 		if test "$supported" = "yes" ; then
   14830 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14831 			found="yes"
   14832 		fi
   14833 	fi
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 
   14848 
   14849 xorg_testset_save_CFLAGS="$CFLAGS"
   14850 
   14851 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14852 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14853 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14854 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14855 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14856 then :
   14857   printf %s "(cached) " >&6
   14858 else case e in #(
   14859   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14860 /* end confdefs.h.  */
   14861 int i;
   14862 _ACEOF
   14863 if ac_fn_c_try_compile "$LINENO"
   14864 then :
   14865   xorg_cv_cc_flag_unknown_warning_option=yes
   14866 else case e in #(
   14867   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14868 esac
   14869 fi
   14870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14871 esac
   14872 fi
   14873 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14874 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14876 	CFLAGS="$xorg_testset_save_CFLAGS"
   14877 fi
   14878 
   14879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14882 	fi
   14883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14884 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14885 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14886 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14887 then :
   14888   printf %s "(cached) " >&6
   14889 else case e in #(
   14890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14891 /* end confdefs.h.  */
   14892 int i;
   14893 _ACEOF
   14894 if ac_fn_c_try_compile "$LINENO"
   14895 then :
   14896   xorg_cv_cc_flag_unused_command_line_argument=yes
   14897 else case e in #(
   14898   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14899 esac
   14900 fi
   14901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14902 esac
   14903 fi
   14904 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14905 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14906 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14907 	CFLAGS="$xorg_testset_save_CFLAGS"
   14908 fi
   14909 
   14910 found="no"
   14911 
   14912 	if test $found = "no" ; then
   14913 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14914 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14915 		fi
   14916 
   14917 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14918 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14919 		fi
   14920 
   14921 		CFLAGS="$CFLAGS -Wformat=2"
   14922 
   14923 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14924 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14925 		cacheid=xorg_cv_cc_flag__Wformat_2
   14926 		if eval test \${$cacheid+y}
   14927 then :
   14928   printf %s "(cached) " >&6
   14929 else case e in #(
   14930   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14931 /* end confdefs.h.  */
   14932 int i;
   14933 int
   14934 main (void)
   14935 {
   14936 
   14937   ;
   14938   return 0;
   14939 }
   14940 _ACEOF
   14941 if ac_fn_c_try_link "$LINENO"
   14942 then :
   14943   eval $cacheid=yes
   14944 else case e in #(
   14945   e) eval $cacheid=no ;;
   14946 esac
   14947 fi
   14948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14949     conftest$ac_exeext conftest.$ac_ext ;;
   14950 esac
   14951 fi
   14952 
   14953 
   14954 		CFLAGS="$xorg_testset_save_CFLAGS"
   14955 
   14956 		eval supported=\$$cacheid
   14957 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14958 printf '%s\n' "$supported" >&6; }
   14959 		if test "$supported" = "yes" ; then
   14960 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14961 			found="yes"
   14962 		fi
   14963 	fi
   14964 
   14965 	if test $found = "no" ; then
   14966 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14968 		fi
   14969 
   14970 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14972 		fi
   14973 
   14974 		CFLAGS="$CFLAGS -Wformat"
   14975 
   14976 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14977 printf %s "checking if $CC supports -Wformat... " >&6; }
   14978 		cacheid=xorg_cv_cc_flag__Wformat
   14979 		if eval test \${$cacheid+y}
   14980 then :
   14981   printf %s "(cached) " >&6
   14982 else case e in #(
   14983   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14984 /* end confdefs.h.  */
   14985 int i;
   14986 int
   14987 main (void)
   14988 {
   14989 
   14990   ;
   14991   return 0;
   14992 }
   14993 _ACEOF
   14994 if ac_fn_c_try_link "$LINENO"
   14995 then :
   14996   eval $cacheid=yes
   14997 else case e in #(
   14998   e) eval $cacheid=no ;;
   14999 esac
   15000 fi
   15001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15002     conftest$ac_exeext conftest.$ac_ext ;;
   15003 esac
   15004 fi
   15005 
   15006 
   15007 		CFLAGS="$xorg_testset_save_CFLAGS"
   15008 
   15009 		eval supported=\$$cacheid
   15010 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15011 printf '%s\n' "$supported" >&6; }
   15012 		if test "$supported" = "yes" ; then
   15013 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   15014 			found="yes"
   15015 		fi
   15016 	fi
   15017 
   15018 
   15019 
   15020 
   15021 
   15022 
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 xorg_testset_save_CFLAGS="$CFLAGS"
   15035 
   15036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15038 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15039 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15040 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15041 then :
   15042   printf %s "(cached) " >&6
   15043 else case e in #(
   15044   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15045 /* end confdefs.h.  */
   15046 int i;
   15047 _ACEOF
   15048 if ac_fn_c_try_compile "$LINENO"
   15049 then :
   15050   xorg_cv_cc_flag_unknown_warning_option=yes
   15051 else case e in #(
   15052   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15053 esac
   15054 fi
   15055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15056 esac
   15057 fi
   15058 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15059 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15061 	CFLAGS="$xorg_testset_save_CFLAGS"
   15062 fi
   15063 
   15064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15067 	fi
   15068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15069 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15070 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15071 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15072 then :
   15073   printf %s "(cached) " >&6
   15074 else case e in #(
   15075   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15076 /* end confdefs.h.  */
   15077 int i;
   15078 _ACEOF
   15079 if ac_fn_c_try_compile "$LINENO"
   15080 then :
   15081   xorg_cv_cc_flag_unused_command_line_argument=yes
   15082 else case e in #(
   15083   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15084 esac
   15085 fi
   15086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15087 esac
   15088 fi
   15089 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15090 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15091 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15092 	CFLAGS="$xorg_testset_save_CFLAGS"
   15093 fi
   15094 
   15095 found="no"
   15096 
   15097 	if test $found = "no" ; then
   15098 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15099 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15100 		fi
   15101 
   15102 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15103 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15104 		fi
   15105 
   15106 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   15107 
   15108 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   15109 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   15110 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   15111 		if eval test \${$cacheid+y}
   15112 then :
   15113   printf %s "(cached) " >&6
   15114 else case e in #(
   15115   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15116 /* end confdefs.h.  */
   15117 int i;
   15118 int
   15119 main (void)
   15120 {
   15121 
   15122   ;
   15123   return 0;
   15124 }
   15125 _ACEOF
   15126 if ac_fn_c_try_link "$LINENO"
   15127 then :
   15128   eval $cacheid=yes
   15129 else case e in #(
   15130   e) eval $cacheid=no ;;
   15131 esac
   15132 fi
   15133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15134     conftest$ac_exeext conftest.$ac_ext ;;
   15135 esac
   15136 fi
   15137 
   15138 
   15139 		CFLAGS="$xorg_testset_save_CFLAGS"
   15140 
   15141 		eval supported=\$$cacheid
   15142 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15143 printf '%s\n' "$supported" >&6; }
   15144 		if test "$supported" = "yes" ; then
   15145 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   15146 			found="yes"
   15147 		fi
   15148 	fi
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 xorg_testset_save_CFLAGS="$CFLAGS"
   15165 
   15166 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15167 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15168 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15169 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15170 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15171 then :
   15172   printf %s "(cached) " >&6
   15173 else case e in #(
   15174   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15175 /* end confdefs.h.  */
   15176 int i;
   15177 _ACEOF
   15178 if ac_fn_c_try_compile "$LINENO"
   15179 then :
   15180   xorg_cv_cc_flag_unknown_warning_option=yes
   15181 else case e in #(
   15182   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15183 esac
   15184 fi
   15185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15186 esac
   15187 fi
   15188 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15189 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15191 	CFLAGS="$xorg_testset_save_CFLAGS"
   15192 fi
   15193 
   15194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15197 	fi
   15198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15199 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15200 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15201 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15202 then :
   15203   printf %s "(cached) " >&6
   15204 else case e in #(
   15205   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15206 /* end confdefs.h.  */
   15207 int i;
   15208 _ACEOF
   15209 if ac_fn_c_try_compile "$LINENO"
   15210 then :
   15211   xorg_cv_cc_flag_unused_command_line_argument=yes
   15212 else case e in #(
   15213   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15214 esac
   15215 fi
   15216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15217 esac
   15218 fi
   15219 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15220 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15222 	CFLAGS="$xorg_testset_save_CFLAGS"
   15223 fi
   15224 
   15225 found="no"
   15226 
   15227 	if test $found = "no" ; then
   15228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15230 		fi
   15231 
   15232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15234 		fi
   15235 
   15236 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   15237 
   15238 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   15239 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   15240 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   15241 		if eval test \${$cacheid+y}
   15242 then :
   15243   printf %s "(cached) " >&6
   15244 else case e in #(
   15245   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15246 /* end confdefs.h.  */
   15247 int i;
   15248 int
   15249 main (void)
   15250 {
   15251 
   15252   ;
   15253   return 0;
   15254 }
   15255 _ACEOF
   15256 if ac_fn_c_try_link "$LINENO"
   15257 then :
   15258   eval $cacheid=yes
   15259 else case e in #(
   15260   e) eval $cacheid=no ;;
   15261 esac
   15262 fi
   15263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15264     conftest$ac_exeext conftest.$ac_ext ;;
   15265 esac
   15266 fi
   15267 
   15268 
   15269 		CFLAGS="$xorg_testset_save_CFLAGS"
   15270 
   15271 		eval supported=\$$cacheid
   15272 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15273 printf '%s\n' "$supported" >&6; }
   15274 		if test "$supported" = "yes" ; then
   15275 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   15276 			found="yes"
   15277 		fi
   15278 	fi
   15279 
   15280 
   15281 
   15282 
   15283 
   15284 
   15285 
   15286 
   15287 
   15288 
   15289 
   15290 
   15291 
   15292 
   15293 
   15294 xorg_testset_save_CFLAGS="$CFLAGS"
   15295 
   15296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15298 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15299 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15300 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15301 then :
   15302   printf %s "(cached) " >&6
   15303 else case e in #(
   15304   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15305 /* end confdefs.h.  */
   15306 int i;
   15307 _ACEOF
   15308 if ac_fn_c_try_compile "$LINENO"
   15309 then :
   15310   xorg_cv_cc_flag_unknown_warning_option=yes
   15311 else case e in #(
   15312   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15313 esac
   15314 fi
   15315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15316 esac
   15317 fi
   15318 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15319 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15320 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15321 	CFLAGS="$xorg_testset_save_CFLAGS"
   15322 fi
   15323 
   15324 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15325 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15326 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15327 	fi
   15328 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15329 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15330 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15331 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15332 then :
   15333   printf %s "(cached) " >&6
   15334 else case e in #(
   15335   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15336 /* end confdefs.h.  */
   15337 int i;
   15338 _ACEOF
   15339 if ac_fn_c_try_compile "$LINENO"
   15340 then :
   15341   xorg_cv_cc_flag_unused_command_line_argument=yes
   15342 else case e in #(
   15343   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15344 esac
   15345 fi
   15346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15347 esac
   15348 fi
   15349 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15350 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15351 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15352 	CFLAGS="$xorg_testset_save_CFLAGS"
   15353 fi
   15354 
   15355 found="no"
   15356 
   15357 	if test $found = "no" ; then
   15358 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15360 		fi
   15361 
   15362 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15364 		fi
   15365 
   15366 		CFLAGS="$CFLAGS -Wnested-externs"
   15367 
   15368 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   15369 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   15370 		cacheid=xorg_cv_cc_flag__Wnested_externs
   15371 		if eval test \${$cacheid+y}
   15372 then :
   15373   printf %s "(cached) " >&6
   15374 else case e in #(
   15375   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15376 /* end confdefs.h.  */
   15377 int i;
   15378 int
   15379 main (void)
   15380 {
   15381 
   15382   ;
   15383   return 0;
   15384 }
   15385 _ACEOF
   15386 if ac_fn_c_try_link "$LINENO"
   15387 then :
   15388   eval $cacheid=yes
   15389 else case e in #(
   15390   e) eval $cacheid=no ;;
   15391 esac
   15392 fi
   15393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15394     conftest$ac_exeext conftest.$ac_ext ;;
   15395 esac
   15396 fi
   15397 
   15398 
   15399 		CFLAGS="$xorg_testset_save_CFLAGS"
   15400 
   15401 		eval supported=\$$cacheid
   15402 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15403 printf '%s\n' "$supported" >&6; }
   15404 		if test "$supported" = "yes" ; then
   15405 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   15406 			found="yes"
   15407 		fi
   15408 	fi
   15409 
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 xorg_testset_save_CFLAGS="$CFLAGS"
   15425 
   15426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15428 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15429 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15430 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15431 then :
   15432   printf %s "(cached) " >&6
   15433 else case e in #(
   15434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15435 /* end confdefs.h.  */
   15436 int i;
   15437 _ACEOF
   15438 if ac_fn_c_try_compile "$LINENO"
   15439 then :
   15440   xorg_cv_cc_flag_unknown_warning_option=yes
   15441 else case e in #(
   15442   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15443 esac
   15444 fi
   15445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15446 esac
   15447 fi
   15448 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15449 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15451 	CFLAGS="$xorg_testset_save_CFLAGS"
   15452 fi
   15453 
   15454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15457 	fi
   15458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15459 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15460 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15461 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15462 then :
   15463   printf %s "(cached) " >&6
   15464 else case e in #(
   15465   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15466 /* end confdefs.h.  */
   15467 int i;
   15468 _ACEOF
   15469 if ac_fn_c_try_compile "$LINENO"
   15470 then :
   15471   xorg_cv_cc_flag_unused_command_line_argument=yes
   15472 else case e in #(
   15473   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15474 esac
   15475 fi
   15476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15477 esac
   15478 fi
   15479 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15480 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15481 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15482 	CFLAGS="$xorg_testset_save_CFLAGS"
   15483 fi
   15484 
   15485 found="no"
   15486 
   15487 	if test $found = "no" ; then
   15488 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15489 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15490 		fi
   15491 
   15492 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15493 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15494 		fi
   15495 
   15496 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15497 
   15498 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15499 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15500 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15501 		if eval test \${$cacheid+y}
   15502 then :
   15503   printf %s "(cached) " >&6
   15504 else case e in #(
   15505   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15506 /* end confdefs.h.  */
   15507 int i;
   15508 int
   15509 main (void)
   15510 {
   15511 
   15512   ;
   15513   return 0;
   15514 }
   15515 _ACEOF
   15516 if ac_fn_c_try_link "$LINENO"
   15517 then :
   15518   eval $cacheid=yes
   15519 else case e in #(
   15520   e) eval $cacheid=no ;;
   15521 esac
   15522 fi
   15523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15524     conftest$ac_exeext conftest.$ac_ext ;;
   15525 esac
   15526 fi
   15527 
   15528 
   15529 		CFLAGS="$xorg_testset_save_CFLAGS"
   15530 
   15531 		eval supported=\$$cacheid
   15532 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15533 printf '%s\n' "$supported" >&6; }
   15534 		if test "$supported" = "yes" ; then
   15535 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15536 			found="yes"
   15537 		fi
   15538 	fi
   15539 
   15540 
   15541 
   15542 
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 xorg_testset_save_CFLAGS="$CFLAGS"
   15555 
   15556 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15557 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15558 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15559 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15560 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15561 then :
   15562   printf %s "(cached) " >&6
   15563 else case e in #(
   15564   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15565 /* end confdefs.h.  */
   15566 int i;
   15567 _ACEOF
   15568 if ac_fn_c_try_compile "$LINENO"
   15569 then :
   15570   xorg_cv_cc_flag_unknown_warning_option=yes
   15571 else case e in #(
   15572   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15573 esac
   15574 fi
   15575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15576 esac
   15577 fi
   15578 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15579 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15581 	CFLAGS="$xorg_testset_save_CFLAGS"
   15582 fi
   15583 
   15584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15587 	fi
   15588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15589 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15590 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15591 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15592 then :
   15593   printf %s "(cached) " >&6
   15594 else case e in #(
   15595   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15596 /* end confdefs.h.  */
   15597 int i;
   15598 _ACEOF
   15599 if ac_fn_c_try_compile "$LINENO"
   15600 then :
   15601   xorg_cv_cc_flag_unused_command_line_argument=yes
   15602 else case e in #(
   15603   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15604 esac
   15605 fi
   15606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15607 esac
   15608 fi
   15609 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15610 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15612 	CFLAGS="$xorg_testset_save_CFLAGS"
   15613 fi
   15614 
   15615 found="no"
   15616 
   15617 	if test $found = "no" ; then
   15618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15620 		fi
   15621 
   15622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15624 		fi
   15625 
   15626 		CFLAGS="$CFLAGS -Wold-style-definition"
   15627 
   15628 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15629 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15630 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15631 		if eval test \${$cacheid+y}
   15632 then :
   15633   printf %s "(cached) " >&6
   15634 else case e in #(
   15635   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15636 /* end confdefs.h.  */
   15637 int i;
   15638 int
   15639 main (void)
   15640 {
   15641 
   15642   ;
   15643   return 0;
   15644 }
   15645 _ACEOF
   15646 if ac_fn_c_try_link "$LINENO"
   15647 then :
   15648   eval $cacheid=yes
   15649 else case e in #(
   15650   e) eval $cacheid=no ;;
   15651 esac
   15652 fi
   15653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15654     conftest$ac_exeext conftest.$ac_ext ;;
   15655 esac
   15656 fi
   15657 
   15658 
   15659 		CFLAGS="$xorg_testset_save_CFLAGS"
   15660 
   15661 		eval supported=\$$cacheid
   15662 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15663 printf '%s\n' "$supported" >&6; }
   15664 		if test "$supported" = "yes" ; then
   15665 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15666 			found="yes"
   15667 		fi
   15668 	fi
   15669 
   15670 	if test $found = "no" ; then
   15671 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15672 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15673 		fi
   15674 
   15675 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15676 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15677 		fi
   15678 
   15679 		CFLAGS="$CFLAGS -fd"
   15680 
   15681 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15682 printf %s "checking if $CC supports -fd... " >&6; }
   15683 		cacheid=xorg_cv_cc_flag__fd
   15684 		if eval test \${$cacheid+y}
   15685 then :
   15686   printf %s "(cached) " >&6
   15687 else case e in #(
   15688   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15689 /* end confdefs.h.  */
   15690 int i;
   15691 int
   15692 main (void)
   15693 {
   15694 
   15695   ;
   15696   return 0;
   15697 }
   15698 _ACEOF
   15699 if ac_fn_c_try_link "$LINENO"
   15700 then :
   15701   eval $cacheid=yes
   15702 else case e in #(
   15703   e) eval $cacheid=no ;;
   15704 esac
   15705 fi
   15706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15707     conftest$ac_exeext conftest.$ac_ext ;;
   15708 esac
   15709 fi
   15710 
   15711 
   15712 		CFLAGS="$xorg_testset_save_CFLAGS"
   15713 
   15714 		eval supported=\$$cacheid
   15715 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15716 printf '%s\n' "$supported" >&6; }
   15717 		if test "$supported" = "yes" ; then
   15718 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15719 			found="yes"
   15720 		fi
   15721 	fi
   15722 
   15723 
   15724 
   15725 
   15726 
   15727 # This chunk adds additional warnings that could catch undesired effects.
   15728 
   15729 
   15730 
   15731 
   15732 
   15733 
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 xorg_testset_save_CFLAGS="$CFLAGS"
   15742 
   15743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15745 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15746 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15747 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15748 then :
   15749   printf %s "(cached) " >&6
   15750 else case e in #(
   15751   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15752 /* end confdefs.h.  */
   15753 int i;
   15754 _ACEOF
   15755 if ac_fn_c_try_compile "$LINENO"
   15756 then :
   15757   xorg_cv_cc_flag_unknown_warning_option=yes
   15758 else case e in #(
   15759   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15760 esac
   15761 fi
   15762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15763 esac
   15764 fi
   15765 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15766 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15767 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15768 	CFLAGS="$xorg_testset_save_CFLAGS"
   15769 fi
   15770 
   15771 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15772 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15773 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15774 	fi
   15775 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15776 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15777 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15778 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15779 then :
   15780   printf %s "(cached) " >&6
   15781 else case e in #(
   15782   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15783 /* end confdefs.h.  */
   15784 int i;
   15785 _ACEOF
   15786 if ac_fn_c_try_compile "$LINENO"
   15787 then :
   15788   xorg_cv_cc_flag_unused_command_line_argument=yes
   15789 else case e in #(
   15790   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15791 esac
   15792 fi
   15793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15794 esac
   15795 fi
   15796 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15797 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15799 	CFLAGS="$xorg_testset_save_CFLAGS"
   15800 fi
   15801 
   15802 found="no"
   15803 
   15804 	if test $found = "no" ; then
   15805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15807 		fi
   15808 
   15809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15811 		fi
   15812 
   15813 		CFLAGS="$CFLAGS -Wunused"
   15814 
   15815 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15816 printf %s "checking if $CC supports -Wunused... " >&6; }
   15817 		cacheid=xorg_cv_cc_flag__Wunused
   15818 		if eval test \${$cacheid+y}
   15819 then :
   15820   printf %s "(cached) " >&6
   15821 else case e in #(
   15822   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15823 /* end confdefs.h.  */
   15824 int i;
   15825 int
   15826 main (void)
   15827 {
   15828 
   15829   ;
   15830   return 0;
   15831 }
   15832 _ACEOF
   15833 if ac_fn_c_try_link "$LINENO"
   15834 then :
   15835   eval $cacheid=yes
   15836 else case e in #(
   15837   e) eval $cacheid=no ;;
   15838 esac
   15839 fi
   15840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15841     conftest$ac_exeext conftest.$ac_ext ;;
   15842 esac
   15843 fi
   15844 
   15845 
   15846 		CFLAGS="$xorg_testset_save_CFLAGS"
   15847 
   15848 		eval supported=\$$cacheid
   15849 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15850 printf '%s\n' "$supported" >&6; }
   15851 		if test "$supported" = "yes" ; then
   15852 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15853 			found="yes"
   15854 		fi
   15855 	fi
   15856 
   15857 
   15858 
   15859 
   15860 
   15861 
   15862 
   15863 
   15864 
   15865 
   15866 
   15867 
   15868 
   15869 
   15870 
   15871 xorg_testset_save_CFLAGS="$CFLAGS"
   15872 
   15873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15875 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15876 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15877 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15878 then :
   15879   printf %s "(cached) " >&6
   15880 else case e in #(
   15881   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15882 /* end confdefs.h.  */
   15883 int i;
   15884 _ACEOF
   15885 if ac_fn_c_try_compile "$LINENO"
   15886 then :
   15887   xorg_cv_cc_flag_unknown_warning_option=yes
   15888 else case e in #(
   15889   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15890 esac
   15891 fi
   15892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15893 esac
   15894 fi
   15895 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15896 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15898 	CFLAGS="$xorg_testset_save_CFLAGS"
   15899 fi
   15900 
   15901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15904 	fi
   15905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15906 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15907 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15908 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15909 then :
   15910   printf %s "(cached) " >&6
   15911 else case e in #(
   15912   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15913 /* end confdefs.h.  */
   15914 int i;
   15915 _ACEOF
   15916 if ac_fn_c_try_compile "$LINENO"
   15917 then :
   15918   xorg_cv_cc_flag_unused_command_line_argument=yes
   15919 else case e in #(
   15920   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15921 esac
   15922 fi
   15923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15924 esac
   15925 fi
   15926 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15927 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15928 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15929 	CFLAGS="$xorg_testset_save_CFLAGS"
   15930 fi
   15931 
   15932 found="no"
   15933 
   15934 	if test $found = "no" ; then
   15935 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15937 		fi
   15938 
   15939 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15941 		fi
   15942 
   15943 		CFLAGS="$CFLAGS -Wuninitialized"
   15944 
   15945 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15946 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15947 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15948 		if eval test \${$cacheid+y}
   15949 then :
   15950   printf %s "(cached) " >&6
   15951 else case e in #(
   15952   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15953 /* end confdefs.h.  */
   15954 int i;
   15955 int
   15956 main (void)
   15957 {
   15958 
   15959   ;
   15960   return 0;
   15961 }
   15962 _ACEOF
   15963 if ac_fn_c_try_link "$LINENO"
   15964 then :
   15965   eval $cacheid=yes
   15966 else case e in #(
   15967   e) eval $cacheid=no ;;
   15968 esac
   15969 fi
   15970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15971     conftest$ac_exeext conftest.$ac_ext ;;
   15972 esac
   15973 fi
   15974 
   15975 
   15976 		CFLAGS="$xorg_testset_save_CFLAGS"
   15977 
   15978 		eval supported=\$$cacheid
   15979 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15980 printf '%s\n' "$supported" >&6; }
   15981 		if test "$supported" = "yes" ; then
   15982 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15983 			found="yes"
   15984 		fi
   15985 	fi
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 xorg_testset_save_CFLAGS="$CFLAGS"
   16002 
   16003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16004 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16005 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16006 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16007 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16008 then :
   16009   printf %s "(cached) " >&6
   16010 else case e in #(
   16011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16012 /* end confdefs.h.  */
   16013 int i;
   16014 _ACEOF
   16015 if ac_fn_c_try_compile "$LINENO"
   16016 then :
   16017   xorg_cv_cc_flag_unknown_warning_option=yes
   16018 else case e in #(
   16019   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16020 esac
   16021 fi
   16022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16023 esac
   16024 fi
   16025 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16026 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16028 	CFLAGS="$xorg_testset_save_CFLAGS"
   16029 fi
   16030 
   16031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16034 	fi
   16035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16036 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16037 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16038 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16039 then :
   16040   printf %s "(cached) " >&6
   16041 else case e in #(
   16042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16043 /* end confdefs.h.  */
   16044 int i;
   16045 _ACEOF
   16046 if ac_fn_c_try_compile "$LINENO"
   16047 then :
   16048   xorg_cv_cc_flag_unused_command_line_argument=yes
   16049 else case e in #(
   16050   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16051 esac
   16052 fi
   16053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16054 esac
   16055 fi
   16056 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16057 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16059 	CFLAGS="$xorg_testset_save_CFLAGS"
   16060 fi
   16061 
   16062 found="no"
   16063 
   16064 	if test $found = "no" ; then
   16065 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16067 		fi
   16068 
   16069 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16071 		fi
   16072 
   16073 		CFLAGS="$CFLAGS -Wshadow"
   16074 
   16075 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   16076 printf %s "checking if $CC supports -Wshadow... " >&6; }
   16077 		cacheid=xorg_cv_cc_flag__Wshadow
   16078 		if eval test \${$cacheid+y}
   16079 then :
   16080   printf %s "(cached) " >&6
   16081 else case e in #(
   16082   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16083 /* end confdefs.h.  */
   16084 int i;
   16085 int
   16086 main (void)
   16087 {
   16088 
   16089   ;
   16090   return 0;
   16091 }
   16092 _ACEOF
   16093 if ac_fn_c_try_link "$LINENO"
   16094 then :
   16095   eval $cacheid=yes
   16096 else case e in #(
   16097   e) eval $cacheid=no ;;
   16098 esac
   16099 fi
   16100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16101     conftest$ac_exeext conftest.$ac_ext ;;
   16102 esac
   16103 fi
   16104 
   16105 
   16106 		CFLAGS="$xorg_testset_save_CFLAGS"
   16107 
   16108 		eval supported=\$$cacheid
   16109 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16110 printf '%s\n' "$supported" >&6; }
   16111 		if test "$supported" = "yes" ; then
   16112 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   16113 			found="yes"
   16114 		fi
   16115 	fi
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 xorg_testset_save_CFLAGS="$CFLAGS"
   16132 
   16133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16135 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16136 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16137 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16138 then :
   16139   printf %s "(cached) " >&6
   16140 else case e in #(
   16141   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16142 /* end confdefs.h.  */
   16143 int i;
   16144 _ACEOF
   16145 if ac_fn_c_try_compile "$LINENO"
   16146 then :
   16147   xorg_cv_cc_flag_unknown_warning_option=yes
   16148 else case e in #(
   16149   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16150 esac
   16151 fi
   16152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16153 esac
   16154 fi
   16155 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16156 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16157 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16158 	CFLAGS="$xorg_testset_save_CFLAGS"
   16159 fi
   16160 
   16161 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16162 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16163 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16164 	fi
   16165 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16166 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16167 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16168 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16169 then :
   16170   printf %s "(cached) " >&6
   16171 else case e in #(
   16172   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16173 /* end confdefs.h.  */
   16174 int i;
   16175 _ACEOF
   16176 if ac_fn_c_try_compile "$LINENO"
   16177 then :
   16178   xorg_cv_cc_flag_unused_command_line_argument=yes
   16179 else case e in #(
   16180   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16181 esac
   16182 fi
   16183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16184 esac
   16185 fi
   16186 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16187 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16188 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16189 	CFLAGS="$xorg_testset_save_CFLAGS"
   16190 fi
   16191 
   16192 found="no"
   16193 
   16194 	if test $found = "no" ; then
   16195 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16197 		fi
   16198 
   16199 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16201 		fi
   16202 
   16203 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   16204 
   16205 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   16206 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   16207 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   16208 		if eval test \${$cacheid+y}
   16209 then :
   16210   printf %s "(cached) " >&6
   16211 else case e in #(
   16212   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16213 /* end confdefs.h.  */
   16214 int i;
   16215 int
   16216 main (void)
   16217 {
   16218 
   16219   ;
   16220   return 0;
   16221 }
   16222 _ACEOF
   16223 if ac_fn_c_try_link "$LINENO"
   16224 then :
   16225   eval $cacheid=yes
   16226 else case e in #(
   16227   e) eval $cacheid=no ;;
   16228 esac
   16229 fi
   16230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16231     conftest$ac_exeext conftest.$ac_ext ;;
   16232 esac
   16233 fi
   16234 
   16235 
   16236 		CFLAGS="$xorg_testset_save_CFLAGS"
   16237 
   16238 		eval supported=\$$cacheid
   16239 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16240 printf '%s\n' "$supported" >&6; }
   16241 		if test "$supported" = "yes" ; then
   16242 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   16243 			found="yes"
   16244 		fi
   16245 	fi
   16246 
   16247 
   16248 
   16249 
   16250 
   16251 
   16252 
   16253 
   16254 
   16255 
   16256 
   16257 
   16258 
   16259 
   16260 
   16261 xorg_testset_save_CFLAGS="$CFLAGS"
   16262 
   16263 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16264 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16265 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16266 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16267 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16268 then :
   16269   printf %s "(cached) " >&6
   16270 else case e in #(
   16271   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16272 /* end confdefs.h.  */
   16273 int i;
   16274 _ACEOF
   16275 if ac_fn_c_try_compile "$LINENO"
   16276 then :
   16277   xorg_cv_cc_flag_unknown_warning_option=yes
   16278 else case e in #(
   16279   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16280 esac
   16281 fi
   16282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16283 esac
   16284 fi
   16285 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16286 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16287 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16288 	CFLAGS="$xorg_testset_save_CFLAGS"
   16289 fi
   16290 
   16291 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16292 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16293 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16294 	fi
   16295 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16296 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16297 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16298 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16299 then :
   16300   printf %s "(cached) " >&6
   16301 else case e in #(
   16302   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16303 /* end confdefs.h.  */
   16304 int i;
   16305 _ACEOF
   16306 if ac_fn_c_try_compile "$LINENO"
   16307 then :
   16308   xorg_cv_cc_flag_unused_command_line_argument=yes
   16309 else case e in #(
   16310   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16311 esac
   16312 fi
   16313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16314 esac
   16315 fi
   16316 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16317 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16318 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16319 	CFLAGS="$xorg_testset_save_CFLAGS"
   16320 fi
   16321 
   16322 found="no"
   16323 
   16324 	if test $found = "no" ; then
   16325 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16327 		fi
   16328 
   16329 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16331 		fi
   16332 
   16333 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   16334 
   16335 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   16336 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   16337 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   16338 		if eval test \${$cacheid+y}
   16339 then :
   16340   printf %s "(cached) " >&6
   16341 else case e in #(
   16342   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16343 /* end confdefs.h.  */
   16344 int i;
   16345 int
   16346 main (void)
   16347 {
   16348 
   16349   ;
   16350   return 0;
   16351 }
   16352 _ACEOF
   16353 if ac_fn_c_try_link "$LINENO"
   16354 then :
   16355   eval $cacheid=yes
   16356 else case e in #(
   16357   e) eval $cacheid=no ;;
   16358 esac
   16359 fi
   16360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16361     conftest$ac_exeext conftest.$ac_ext ;;
   16362 esac
   16363 fi
   16364 
   16365 
   16366 		CFLAGS="$xorg_testset_save_CFLAGS"
   16367 
   16368 		eval supported=\$$cacheid
   16369 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16370 printf '%s\n' "$supported" >&6; }
   16371 		if test "$supported" = "yes" ; then
   16372 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   16373 			found="yes"
   16374 		fi
   16375 	fi
   16376 
   16377 
   16378 
   16379 
   16380 
   16381 
   16382 
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 xorg_testset_save_CFLAGS="$CFLAGS"
   16392 
   16393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16395 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16396 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16397 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16398 then :
   16399   printf %s "(cached) " >&6
   16400 else case e in #(
   16401   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16402 /* end confdefs.h.  */
   16403 int i;
   16404 _ACEOF
   16405 if ac_fn_c_try_compile "$LINENO"
   16406 then :
   16407   xorg_cv_cc_flag_unknown_warning_option=yes
   16408 else case e in #(
   16409   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16410 esac
   16411 fi
   16412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16413 esac
   16414 fi
   16415 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16416 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16418 	CFLAGS="$xorg_testset_save_CFLAGS"
   16419 fi
   16420 
   16421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16424 	fi
   16425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16426 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16427 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16428 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16429 then :
   16430   printf %s "(cached) " >&6
   16431 else case e in #(
   16432   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16433 /* end confdefs.h.  */
   16434 int i;
   16435 _ACEOF
   16436 if ac_fn_c_try_compile "$LINENO"
   16437 then :
   16438   xorg_cv_cc_flag_unused_command_line_argument=yes
   16439 else case e in #(
   16440   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16441 esac
   16442 fi
   16443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16444 esac
   16445 fi
   16446 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16447 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16448 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16449 	CFLAGS="$xorg_testset_save_CFLAGS"
   16450 fi
   16451 
   16452 found="no"
   16453 
   16454 	if test $found = "no" ; then
   16455 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16457 		fi
   16458 
   16459 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16461 		fi
   16462 
   16463 		CFLAGS="$CFLAGS -Wredundant-decls"
   16464 
   16465 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16466 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16467 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16468 		if eval test \${$cacheid+y}
   16469 then :
   16470   printf %s "(cached) " >&6
   16471 else case e in #(
   16472   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16473 /* end confdefs.h.  */
   16474 int i;
   16475 int
   16476 main (void)
   16477 {
   16478 
   16479   ;
   16480   return 0;
   16481 }
   16482 _ACEOF
   16483 if ac_fn_c_try_link "$LINENO"
   16484 then :
   16485   eval $cacheid=yes
   16486 else case e in #(
   16487   e) eval $cacheid=no ;;
   16488 esac
   16489 fi
   16490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16491     conftest$ac_exeext conftest.$ac_ext ;;
   16492 esac
   16493 fi
   16494 
   16495 
   16496 		CFLAGS="$xorg_testset_save_CFLAGS"
   16497 
   16498 		eval supported=\$$cacheid
   16499 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16500 printf '%s\n' "$supported" >&6; }
   16501 		if test "$supported" = "yes" ; then
   16502 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16503 			found="yes"
   16504 		fi
   16505 	fi
   16506 
   16507 
   16508 
   16509 
   16510 
   16511 
   16512 
   16513 
   16514 
   16515 
   16516 
   16517 
   16518 
   16519 
   16520 
   16521 xorg_testset_save_CFLAGS="$CFLAGS"
   16522 
   16523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16524 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16525 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16526 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16527 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16528 then :
   16529   printf %s "(cached) " >&6
   16530 else case e in #(
   16531   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16532 /* end confdefs.h.  */
   16533 int i;
   16534 _ACEOF
   16535 if ac_fn_c_try_compile "$LINENO"
   16536 then :
   16537   xorg_cv_cc_flag_unknown_warning_option=yes
   16538 else case e in #(
   16539   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16540 esac
   16541 fi
   16542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16543 esac
   16544 fi
   16545 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16546 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16547 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16548 	CFLAGS="$xorg_testset_save_CFLAGS"
   16549 fi
   16550 
   16551 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16552 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16553 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16554 	fi
   16555 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16556 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16557 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16558 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16559 then :
   16560   printf %s "(cached) " >&6
   16561 else case e in #(
   16562   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16563 /* end confdefs.h.  */
   16564 int i;
   16565 _ACEOF
   16566 if ac_fn_c_try_compile "$LINENO"
   16567 then :
   16568   xorg_cv_cc_flag_unused_command_line_argument=yes
   16569 else case e in #(
   16570   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16571 esac
   16572 fi
   16573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16574 esac
   16575 fi
   16576 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16577 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16579 	CFLAGS="$xorg_testset_save_CFLAGS"
   16580 fi
   16581 
   16582 found="no"
   16583 
   16584 	if test $found = "no" ; then
   16585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16587 		fi
   16588 
   16589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16591 		fi
   16592 
   16593 		CFLAGS="$CFLAGS -Wlogical-op"
   16594 
   16595 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16596 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16597 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16598 		if eval test \${$cacheid+y}
   16599 then :
   16600   printf %s "(cached) " >&6
   16601 else case e in #(
   16602   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16603 /* end confdefs.h.  */
   16604 int i;
   16605 int
   16606 main (void)
   16607 {
   16608 
   16609   ;
   16610   return 0;
   16611 }
   16612 _ACEOF
   16613 if ac_fn_c_try_link "$LINENO"
   16614 then :
   16615   eval $cacheid=yes
   16616 else case e in #(
   16617   e) eval $cacheid=no ;;
   16618 esac
   16619 fi
   16620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16621     conftest$ac_exeext conftest.$ac_ext ;;
   16622 esac
   16623 fi
   16624 
   16625 
   16626 		CFLAGS="$xorg_testset_save_CFLAGS"
   16627 
   16628 		eval supported=\$$cacheid
   16629 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16630 printf '%s\n' "$supported" >&6; }
   16631 		if test "$supported" = "yes" ; then
   16632 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16633 			found="yes"
   16634 		fi
   16635 	fi
   16636 
   16637 
   16638 
   16639 # These are currently disabled because they are noisy.  They will be enabled
   16640 # in the future once the codebase is sufficiently modernized to silence
   16641 # them.  For now, I don't want them to drown out the other warnings.
   16642 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16643 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16644 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16645 
   16646 # Turn some warnings into errors, so we don't accidentally get successful builds
   16647 # when there are problems that should be fixed.
   16648 
   16649 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16650 
   16651 
   16652 
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 
   16661 
   16662 
   16663 xorg_testset_save_CFLAGS="$CFLAGS"
   16664 
   16665 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16666 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16667 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16668 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16669 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16670 then :
   16671   printf %s "(cached) " >&6
   16672 else case e in #(
   16673   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16674 /* end confdefs.h.  */
   16675 int i;
   16676 _ACEOF
   16677 if ac_fn_c_try_compile "$LINENO"
   16678 then :
   16679   xorg_cv_cc_flag_unknown_warning_option=yes
   16680 else case e in #(
   16681   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16682 esac
   16683 fi
   16684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16685 esac
   16686 fi
   16687 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16688 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16690 	CFLAGS="$xorg_testset_save_CFLAGS"
   16691 fi
   16692 
   16693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16696 	fi
   16697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16698 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16699 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16700 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16701 then :
   16702   printf %s "(cached) " >&6
   16703 else case e in #(
   16704   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16705 /* end confdefs.h.  */
   16706 int i;
   16707 _ACEOF
   16708 if ac_fn_c_try_compile "$LINENO"
   16709 then :
   16710   xorg_cv_cc_flag_unused_command_line_argument=yes
   16711 else case e in #(
   16712   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16713 esac
   16714 fi
   16715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16716 esac
   16717 fi
   16718 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16719 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16721 	CFLAGS="$xorg_testset_save_CFLAGS"
   16722 fi
   16723 
   16724 found="no"
   16725 
   16726 	if test $found = "no" ; then
   16727 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16729 		fi
   16730 
   16731 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16733 		fi
   16734 
   16735 		CFLAGS="$CFLAGS -Werror=implicit"
   16736 
   16737 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16738 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16739 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16740 		if eval test \${$cacheid+y}
   16741 then :
   16742   printf %s "(cached) " >&6
   16743 else case e in #(
   16744   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16745 /* end confdefs.h.  */
   16746 int i;
   16747 int
   16748 main (void)
   16749 {
   16750 
   16751   ;
   16752   return 0;
   16753 }
   16754 _ACEOF
   16755 if ac_fn_c_try_link "$LINENO"
   16756 then :
   16757   eval $cacheid=yes
   16758 else case e in #(
   16759   e) eval $cacheid=no ;;
   16760 esac
   16761 fi
   16762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16763     conftest$ac_exeext conftest.$ac_ext ;;
   16764 esac
   16765 fi
   16766 
   16767 
   16768 		CFLAGS="$xorg_testset_save_CFLAGS"
   16769 
   16770 		eval supported=\$$cacheid
   16771 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16772 printf '%s\n' "$supported" >&6; }
   16773 		if test "$supported" = "yes" ; then
   16774 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16775 			found="yes"
   16776 		fi
   16777 	fi
   16778 
   16779 	if test $found = "no" ; then
   16780 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16781 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16782 		fi
   16783 
   16784 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16785 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16786 		fi
   16787 
   16788 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16789 
   16790 		{ 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
   16791 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16792 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16793 		if eval test \${$cacheid+y}
   16794 then :
   16795   printf %s "(cached) " >&6
   16796 else case e in #(
   16797   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16798 /* end confdefs.h.  */
   16799 int i;
   16800 int
   16801 main (void)
   16802 {
   16803 
   16804   ;
   16805   return 0;
   16806 }
   16807 _ACEOF
   16808 if ac_fn_c_try_link "$LINENO"
   16809 then :
   16810   eval $cacheid=yes
   16811 else case e in #(
   16812   e) eval $cacheid=no ;;
   16813 esac
   16814 fi
   16815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16816     conftest$ac_exeext conftest.$ac_ext ;;
   16817 esac
   16818 fi
   16819 
   16820 
   16821 		CFLAGS="$xorg_testset_save_CFLAGS"
   16822 
   16823 		eval supported=\$$cacheid
   16824 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16825 printf '%s\n' "$supported" >&6; }
   16826 		if test "$supported" = "yes" ; then
   16827 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16828 			found="yes"
   16829 		fi
   16830 	fi
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 xorg_testset_save_CFLAGS="$CFLAGS"
   16847 
   16848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16850 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16851 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16852 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16853 then :
   16854   printf %s "(cached) " >&6
   16855 else case e in #(
   16856   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16857 /* end confdefs.h.  */
   16858 int i;
   16859 _ACEOF
   16860 if ac_fn_c_try_compile "$LINENO"
   16861 then :
   16862   xorg_cv_cc_flag_unknown_warning_option=yes
   16863 else case e in #(
   16864   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16865 esac
   16866 fi
   16867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16868 esac
   16869 fi
   16870 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16871 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16872 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16873 	CFLAGS="$xorg_testset_save_CFLAGS"
   16874 fi
   16875 
   16876 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16877 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16879 	fi
   16880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16881 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16882 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16883 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16884 then :
   16885   printf %s "(cached) " >&6
   16886 else case e in #(
   16887   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16888 /* end confdefs.h.  */
   16889 int i;
   16890 _ACEOF
   16891 if ac_fn_c_try_compile "$LINENO"
   16892 then :
   16893   xorg_cv_cc_flag_unused_command_line_argument=yes
   16894 else case e in #(
   16895   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16896 esac
   16897 fi
   16898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16899 esac
   16900 fi
   16901 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16902 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16903 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16904 	CFLAGS="$xorg_testset_save_CFLAGS"
   16905 fi
   16906 
   16907 found="no"
   16908 
   16909 	if test $found = "no" ; then
   16910 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16911 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16912 		fi
   16913 
   16914 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16915 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16916 		fi
   16917 
   16918 		CFLAGS="$CFLAGS -Werror=nonnull"
   16919 
   16920 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16921 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16922 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16923 		if eval test \${$cacheid+y}
   16924 then :
   16925   printf %s "(cached) " >&6
   16926 else case e in #(
   16927   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16928 /* end confdefs.h.  */
   16929 int i;
   16930 int
   16931 main (void)
   16932 {
   16933 
   16934   ;
   16935   return 0;
   16936 }
   16937 _ACEOF
   16938 if ac_fn_c_try_link "$LINENO"
   16939 then :
   16940   eval $cacheid=yes
   16941 else case e in #(
   16942   e) eval $cacheid=no ;;
   16943 esac
   16944 fi
   16945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16946     conftest$ac_exeext conftest.$ac_ext ;;
   16947 esac
   16948 fi
   16949 
   16950 
   16951 		CFLAGS="$xorg_testset_save_CFLAGS"
   16952 
   16953 		eval supported=\$$cacheid
   16954 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16955 printf '%s\n' "$supported" >&6; }
   16956 		if test "$supported" = "yes" ; then
   16957 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16958 			found="yes"
   16959 		fi
   16960 	fi
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 
   16974 
   16975 
   16976 xorg_testset_save_CFLAGS="$CFLAGS"
   16977 
   16978 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16980 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16981 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16982 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16983 then :
   16984   printf %s "(cached) " >&6
   16985 else case e in #(
   16986   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16987 /* end confdefs.h.  */
   16988 int i;
   16989 _ACEOF
   16990 if ac_fn_c_try_compile "$LINENO"
   16991 then :
   16992   xorg_cv_cc_flag_unknown_warning_option=yes
   16993 else case e in #(
   16994   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16995 esac
   16996 fi
   16997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16998 esac
   16999 fi
   17000 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17001 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17002 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17003 	CFLAGS="$xorg_testset_save_CFLAGS"
   17004 fi
   17005 
   17006 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17007 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17008 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17009 	fi
   17010 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17011 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17012 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17013 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17014 then :
   17015   printf %s "(cached) " >&6
   17016 else case e in #(
   17017   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17018 /* end confdefs.h.  */
   17019 int i;
   17020 _ACEOF
   17021 if ac_fn_c_try_compile "$LINENO"
   17022 then :
   17023   xorg_cv_cc_flag_unused_command_line_argument=yes
   17024 else case e in #(
   17025   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17026 esac
   17027 fi
   17028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17029 esac
   17030 fi
   17031 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17032 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17033 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17034 	CFLAGS="$xorg_testset_save_CFLAGS"
   17035 fi
   17036 
   17037 found="no"
   17038 
   17039 	if test $found = "no" ; then
   17040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17042 		fi
   17043 
   17044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17046 		fi
   17047 
   17048 		CFLAGS="$CFLAGS -Werror=init-self"
   17049 
   17050 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   17051 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   17052 		cacheid=xorg_cv_cc_flag__Werror_init_self
   17053 		if eval test \${$cacheid+y}
   17054 then :
   17055   printf %s "(cached) " >&6
   17056 else case e in #(
   17057   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17058 /* end confdefs.h.  */
   17059 int i;
   17060 int
   17061 main (void)
   17062 {
   17063 
   17064   ;
   17065   return 0;
   17066 }
   17067 _ACEOF
   17068 if ac_fn_c_try_link "$LINENO"
   17069 then :
   17070   eval $cacheid=yes
   17071 else case e in #(
   17072   e) eval $cacheid=no ;;
   17073 esac
   17074 fi
   17075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17076     conftest$ac_exeext conftest.$ac_ext ;;
   17077 esac
   17078 fi
   17079 
   17080 
   17081 		CFLAGS="$xorg_testset_save_CFLAGS"
   17082 
   17083 		eval supported=\$$cacheid
   17084 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17085 printf '%s\n' "$supported" >&6; }
   17086 		if test "$supported" = "yes" ; then
   17087 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   17088 			found="yes"
   17089 		fi
   17090 	fi
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 
   17103 
   17104 
   17105 
   17106 xorg_testset_save_CFLAGS="$CFLAGS"
   17107 
   17108 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17109 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17110 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17111 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17112 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17113 then :
   17114   printf %s "(cached) " >&6
   17115 else case e in #(
   17116   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17117 /* end confdefs.h.  */
   17118 int i;
   17119 _ACEOF
   17120 if ac_fn_c_try_compile "$LINENO"
   17121 then :
   17122   xorg_cv_cc_flag_unknown_warning_option=yes
   17123 else case e in #(
   17124   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17125 esac
   17126 fi
   17127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17128 esac
   17129 fi
   17130 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17131 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17133 	CFLAGS="$xorg_testset_save_CFLAGS"
   17134 fi
   17135 
   17136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17139 	fi
   17140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17141 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17142 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17143 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17144 then :
   17145   printf %s "(cached) " >&6
   17146 else case e in #(
   17147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17148 /* end confdefs.h.  */
   17149 int i;
   17150 _ACEOF
   17151 if ac_fn_c_try_compile "$LINENO"
   17152 then :
   17153   xorg_cv_cc_flag_unused_command_line_argument=yes
   17154 else case e in #(
   17155   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17156 esac
   17157 fi
   17158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17159 esac
   17160 fi
   17161 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17162 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17164 	CFLAGS="$xorg_testset_save_CFLAGS"
   17165 fi
   17166 
   17167 found="no"
   17168 
   17169 	if test $found = "no" ; then
   17170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17172 		fi
   17173 
   17174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17176 		fi
   17177 
   17178 		CFLAGS="$CFLAGS -Werror=main"
   17179 
   17180 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   17181 printf %s "checking if $CC supports -Werror=main... " >&6; }
   17182 		cacheid=xorg_cv_cc_flag__Werror_main
   17183 		if eval test \${$cacheid+y}
   17184 then :
   17185   printf %s "(cached) " >&6
   17186 else case e in #(
   17187   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17188 /* end confdefs.h.  */
   17189 int i;
   17190 int
   17191 main (void)
   17192 {
   17193 
   17194   ;
   17195   return 0;
   17196 }
   17197 _ACEOF
   17198 if ac_fn_c_try_link "$LINENO"
   17199 then :
   17200   eval $cacheid=yes
   17201 else case e in #(
   17202   e) eval $cacheid=no ;;
   17203 esac
   17204 fi
   17205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17206     conftest$ac_exeext conftest.$ac_ext ;;
   17207 esac
   17208 fi
   17209 
   17210 
   17211 		CFLAGS="$xorg_testset_save_CFLAGS"
   17212 
   17213 		eval supported=\$$cacheid
   17214 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17215 printf '%s\n' "$supported" >&6; }
   17216 		if test "$supported" = "yes" ; then
   17217 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   17218 			found="yes"
   17219 		fi
   17220 	fi
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 
   17236 xorg_testset_save_CFLAGS="$CFLAGS"
   17237 
   17238 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17239 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17240 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17241 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17242 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17243 then :
   17244   printf %s "(cached) " >&6
   17245 else case e in #(
   17246   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17247 /* end confdefs.h.  */
   17248 int i;
   17249 _ACEOF
   17250 if ac_fn_c_try_compile "$LINENO"
   17251 then :
   17252   xorg_cv_cc_flag_unknown_warning_option=yes
   17253 else case e in #(
   17254   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17255 esac
   17256 fi
   17257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17258 esac
   17259 fi
   17260 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17261 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17263 	CFLAGS="$xorg_testset_save_CFLAGS"
   17264 fi
   17265 
   17266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17269 	fi
   17270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17271 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17272 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17273 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17274 then :
   17275   printf %s "(cached) " >&6
   17276 else case e in #(
   17277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17278 /* end confdefs.h.  */
   17279 int i;
   17280 _ACEOF
   17281 if ac_fn_c_try_compile "$LINENO"
   17282 then :
   17283   xorg_cv_cc_flag_unused_command_line_argument=yes
   17284 else case e in #(
   17285   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17286 esac
   17287 fi
   17288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17289 esac
   17290 fi
   17291 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17292 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17294 	CFLAGS="$xorg_testset_save_CFLAGS"
   17295 fi
   17296 
   17297 found="no"
   17298 
   17299 	if test $found = "no" ; then
   17300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17302 		fi
   17303 
   17304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17306 		fi
   17307 
   17308 		CFLAGS="$CFLAGS -Werror=missing-braces"
   17309 
   17310 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   17311 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   17312 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   17313 		if eval test \${$cacheid+y}
   17314 then :
   17315   printf %s "(cached) " >&6
   17316 else case e in #(
   17317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17318 /* end confdefs.h.  */
   17319 int i;
   17320 int
   17321 main (void)
   17322 {
   17323 
   17324   ;
   17325   return 0;
   17326 }
   17327 _ACEOF
   17328 if ac_fn_c_try_link "$LINENO"
   17329 then :
   17330   eval $cacheid=yes
   17331 else case e in #(
   17332   e) eval $cacheid=no ;;
   17333 esac
   17334 fi
   17335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17336     conftest$ac_exeext conftest.$ac_ext ;;
   17337 esac
   17338 fi
   17339 
   17340 
   17341 		CFLAGS="$xorg_testset_save_CFLAGS"
   17342 
   17343 		eval supported=\$$cacheid
   17344 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17345 printf '%s\n' "$supported" >&6; }
   17346 		if test "$supported" = "yes" ; then
   17347 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   17348 			found="yes"
   17349 		fi
   17350 	fi
   17351 
   17352 
   17353 
   17354 
   17355 
   17356 
   17357 
   17358 
   17359 
   17360 
   17361 
   17362 
   17363 
   17364 
   17365 
   17366 xorg_testset_save_CFLAGS="$CFLAGS"
   17367 
   17368 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17369 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17370 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17371 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17372 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17373 then :
   17374   printf %s "(cached) " >&6
   17375 else case e in #(
   17376   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17377 /* end confdefs.h.  */
   17378 int i;
   17379 _ACEOF
   17380 if ac_fn_c_try_compile "$LINENO"
   17381 then :
   17382   xorg_cv_cc_flag_unknown_warning_option=yes
   17383 else case e in #(
   17384   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17385 esac
   17386 fi
   17387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17388 esac
   17389 fi
   17390 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17391 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17393 	CFLAGS="$xorg_testset_save_CFLAGS"
   17394 fi
   17395 
   17396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17399 	fi
   17400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17401 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17402 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17403 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17404 then :
   17405   printf %s "(cached) " >&6
   17406 else case e in #(
   17407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17408 /* end confdefs.h.  */
   17409 int i;
   17410 _ACEOF
   17411 if ac_fn_c_try_compile "$LINENO"
   17412 then :
   17413   xorg_cv_cc_flag_unused_command_line_argument=yes
   17414 else case e in #(
   17415   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17416 esac
   17417 fi
   17418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17419 esac
   17420 fi
   17421 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17422 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17423 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17424 	CFLAGS="$xorg_testset_save_CFLAGS"
   17425 fi
   17426 
   17427 found="no"
   17428 
   17429 	if test $found = "no" ; then
   17430 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17431 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17432 		fi
   17433 
   17434 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17435 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17436 		fi
   17437 
   17438 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17439 
   17440 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17441 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17442 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17443 		if eval test \${$cacheid+y}
   17444 then :
   17445   printf %s "(cached) " >&6
   17446 else case e in #(
   17447   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17448 /* end confdefs.h.  */
   17449 int i;
   17450 int
   17451 main (void)
   17452 {
   17453 
   17454   ;
   17455   return 0;
   17456 }
   17457 _ACEOF
   17458 if ac_fn_c_try_link "$LINENO"
   17459 then :
   17460   eval $cacheid=yes
   17461 else case e in #(
   17462   e) eval $cacheid=no ;;
   17463 esac
   17464 fi
   17465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17466     conftest$ac_exeext conftest.$ac_ext ;;
   17467 esac
   17468 fi
   17469 
   17470 
   17471 		CFLAGS="$xorg_testset_save_CFLAGS"
   17472 
   17473 		eval supported=\$$cacheid
   17474 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17475 printf '%s\n' "$supported" >&6; }
   17476 		if test "$supported" = "yes" ; then
   17477 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17478 			found="yes"
   17479 		fi
   17480 	fi
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 
   17488 
   17489 
   17490 
   17491 
   17492 
   17493 
   17494 
   17495 
   17496 xorg_testset_save_CFLAGS="$CFLAGS"
   17497 
   17498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17500 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17501 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17502 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17503 then :
   17504   printf %s "(cached) " >&6
   17505 else case e in #(
   17506   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17507 /* end confdefs.h.  */
   17508 int i;
   17509 _ACEOF
   17510 if ac_fn_c_try_compile "$LINENO"
   17511 then :
   17512   xorg_cv_cc_flag_unknown_warning_option=yes
   17513 else case e in #(
   17514   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17515 esac
   17516 fi
   17517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17518 esac
   17519 fi
   17520 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17521 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17523 	CFLAGS="$xorg_testset_save_CFLAGS"
   17524 fi
   17525 
   17526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17529 	fi
   17530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17531 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17532 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17533 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17534 then :
   17535   printf %s "(cached) " >&6
   17536 else case e in #(
   17537   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17538 /* end confdefs.h.  */
   17539 int i;
   17540 _ACEOF
   17541 if ac_fn_c_try_compile "$LINENO"
   17542 then :
   17543   xorg_cv_cc_flag_unused_command_line_argument=yes
   17544 else case e in #(
   17545   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17546 esac
   17547 fi
   17548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17549 esac
   17550 fi
   17551 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17552 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17553 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17554 	CFLAGS="$xorg_testset_save_CFLAGS"
   17555 fi
   17556 
   17557 found="no"
   17558 
   17559 	if test $found = "no" ; then
   17560 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17562 		fi
   17563 
   17564 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17566 		fi
   17567 
   17568 		CFLAGS="$CFLAGS -Werror=return-type"
   17569 
   17570 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17571 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17572 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17573 		if eval test \${$cacheid+y}
   17574 then :
   17575   printf %s "(cached) " >&6
   17576 else case e in #(
   17577   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17578 /* end confdefs.h.  */
   17579 int i;
   17580 int
   17581 main (void)
   17582 {
   17583 
   17584   ;
   17585   return 0;
   17586 }
   17587 _ACEOF
   17588 if ac_fn_c_try_link "$LINENO"
   17589 then :
   17590   eval $cacheid=yes
   17591 else case e in #(
   17592   e) eval $cacheid=no ;;
   17593 esac
   17594 fi
   17595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17596     conftest$ac_exeext conftest.$ac_ext ;;
   17597 esac
   17598 fi
   17599 
   17600 
   17601 		CFLAGS="$xorg_testset_save_CFLAGS"
   17602 
   17603 		eval supported=\$$cacheid
   17604 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17605 printf '%s\n' "$supported" >&6; }
   17606 		if test "$supported" = "yes" ; then
   17607 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17608 			found="yes"
   17609 		fi
   17610 	fi
   17611 
   17612 	if test $found = "no" ; then
   17613 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17615 		fi
   17616 
   17617 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17619 		fi
   17620 
   17621 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17622 
   17623 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17624 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17625 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17626 		if eval test \${$cacheid+y}
   17627 then :
   17628   printf %s "(cached) " >&6
   17629 else case e in #(
   17630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17631 /* end confdefs.h.  */
   17632 int i;
   17633 int
   17634 main (void)
   17635 {
   17636 
   17637   ;
   17638   return 0;
   17639 }
   17640 _ACEOF
   17641 if ac_fn_c_try_link "$LINENO"
   17642 then :
   17643   eval $cacheid=yes
   17644 else case e in #(
   17645   e) eval $cacheid=no ;;
   17646 esac
   17647 fi
   17648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17649     conftest$ac_exeext conftest.$ac_ext ;;
   17650 esac
   17651 fi
   17652 
   17653 
   17654 		CFLAGS="$xorg_testset_save_CFLAGS"
   17655 
   17656 		eval supported=\$$cacheid
   17657 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17658 printf '%s\n' "$supported" >&6; }
   17659 		if test "$supported" = "yes" ; then
   17660 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17661 			found="yes"
   17662 		fi
   17663 	fi
   17664 
   17665 
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 xorg_testset_save_CFLAGS="$CFLAGS"
   17680 
   17681 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17682 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17683 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17684 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17685 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17686 then :
   17687   printf %s "(cached) " >&6
   17688 else case e in #(
   17689   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17690 /* end confdefs.h.  */
   17691 int i;
   17692 _ACEOF
   17693 if ac_fn_c_try_compile "$LINENO"
   17694 then :
   17695   xorg_cv_cc_flag_unknown_warning_option=yes
   17696 else case e in #(
   17697   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17698 esac
   17699 fi
   17700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17701 esac
   17702 fi
   17703 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17704 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17706 	CFLAGS="$xorg_testset_save_CFLAGS"
   17707 fi
   17708 
   17709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17712 	fi
   17713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17714 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17715 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17716 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17717 then :
   17718   printf %s "(cached) " >&6
   17719 else case e in #(
   17720   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17721 /* end confdefs.h.  */
   17722 int i;
   17723 _ACEOF
   17724 if ac_fn_c_try_compile "$LINENO"
   17725 then :
   17726   xorg_cv_cc_flag_unused_command_line_argument=yes
   17727 else case e in #(
   17728   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17729 esac
   17730 fi
   17731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17732 esac
   17733 fi
   17734 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17735 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17736 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17737 	CFLAGS="$xorg_testset_save_CFLAGS"
   17738 fi
   17739 
   17740 found="no"
   17741 
   17742 	if test $found = "no" ; then
   17743 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17744 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17745 		fi
   17746 
   17747 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17748 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17749 		fi
   17750 
   17751 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17752 
   17753 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17754 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17755 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17756 		if eval test \${$cacheid+y}
   17757 then :
   17758   printf %s "(cached) " >&6
   17759 else case e in #(
   17760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17761 /* end confdefs.h.  */
   17762 int i;
   17763 int
   17764 main (void)
   17765 {
   17766 
   17767   ;
   17768   return 0;
   17769 }
   17770 _ACEOF
   17771 if ac_fn_c_try_link "$LINENO"
   17772 then :
   17773   eval $cacheid=yes
   17774 else case e in #(
   17775   e) eval $cacheid=no ;;
   17776 esac
   17777 fi
   17778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17779     conftest$ac_exeext conftest.$ac_ext ;;
   17780 esac
   17781 fi
   17782 
   17783 
   17784 		CFLAGS="$xorg_testset_save_CFLAGS"
   17785 
   17786 		eval supported=\$$cacheid
   17787 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17788 printf '%s\n' "$supported" >&6; }
   17789 		if test "$supported" = "yes" ; then
   17790 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17791 			found="yes"
   17792 		fi
   17793 	fi
   17794 
   17795 
   17796 
   17797 
   17798 
   17799 
   17800 
   17801 
   17802 
   17803 
   17804 
   17805 
   17806 
   17807 
   17808 
   17809 xorg_testset_save_CFLAGS="$CFLAGS"
   17810 
   17811 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17813 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17814 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17815 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17816 then :
   17817   printf %s "(cached) " >&6
   17818 else case e in #(
   17819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17820 /* end confdefs.h.  */
   17821 int i;
   17822 _ACEOF
   17823 if ac_fn_c_try_compile "$LINENO"
   17824 then :
   17825   xorg_cv_cc_flag_unknown_warning_option=yes
   17826 else case e in #(
   17827   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17828 esac
   17829 fi
   17830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17831 esac
   17832 fi
   17833 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17834 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17836 	CFLAGS="$xorg_testset_save_CFLAGS"
   17837 fi
   17838 
   17839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17842 	fi
   17843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17844 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17845 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17846 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17847 then :
   17848   printf %s "(cached) " >&6
   17849 else case e in #(
   17850   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17851 /* end confdefs.h.  */
   17852 int i;
   17853 _ACEOF
   17854 if ac_fn_c_try_compile "$LINENO"
   17855 then :
   17856   xorg_cv_cc_flag_unused_command_line_argument=yes
   17857 else case e in #(
   17858   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17859 esac
   17860 fi
   17861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17862 esac
   17863 fi
   17864 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17865 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17867 	CFLAGS="$xorg_testset_save_CFLAGS"
   17868 fi
   17869 
   17870 found="no"
   17871 
   17872 	if test $found = "no" ; then
   17873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17875 		fi
   17876 
   17877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17879 		fi
   17880 
   17881 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17882 
   17883 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17884 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17885 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17886 		if eval test \${$cacheid+y}
   17887 then :
   17888   printf %s "(cached) " >&6
   17889 else case e in #(
   17890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17891 /* end confdefs.h.  */
   17892 int i;
   17893 int
   17894 main (void)
   17895 {
   17896 
   17897   ;
   17898   return 0;
   17899 }
   17900 _ACEOF
   17901 if ac_fn_c_try_link "$LINENO"
   17902 then :
   17903   eval $cacheid=yes
   17904 else case e in #(
   17905   e) eval $cacheid=no ;;
   17906 esac
   17907 fi
   17908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17909     conftest$ac_exeext conftest.$ac_ext ;;
   17910 esac
   17911 fi
   17912 
   17913 
   17914 		CFLAGS="$xorg_testset_save_CFLAGS"
   17915 
   17916 		eval supported=\$$cacheid
   17917 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17918 printf '%s\n' "$supported" >&6; }
   17919 		if test "$supported" = "yes" ; then
   17920 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17921 			found="yes"
   17922 		fi
   17923 	fi
   17924 
   17925 
   17926 
   17927 
   17928 
   17929 
   17930 
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 
   17938 
   17939 xorg_testset_save_CFLAGS="$CFLAGS"
   17940 
   17941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17943 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17944 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17945 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17946 then :
   17947   printf %s "(cached) " >&6
   17948 else case e in #(
   17949   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17950 /* end confdefs.h.  */
   17951 int i;
   17952 _ACEOF
   17953 if ac_fn_c_try_compile "$LINENO"
   17954 then :
   17955   xorg_cv_cc_flag_unknown_warning_option=yes
   17956 else case e in #(
   17957   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17958 esac
   17959 fi
   17960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17961 esac
   17962 fi
   17963 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17964 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17966 	CFLAGS="$xorg_testset_save_CFLAGS"
   17967 fi
   17968 
   17969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17972 	fi
   17973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17974 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17975 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17976 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17977 then :
   17978   printf %s "(cached) " >&6
   17979 else case e in #(
   17980   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17981 /* end confdefs.h.  */
   17982 int i;
   17983 _ACEOF
   17984 if ac_fn_c_try_compile "$LINENO"
   17985 then :
   17986   xorg_cv_cc_flag_unused_command_line_argument=yes
   17987 else case e in #(
   17988   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17989 esac
   17990 fi
   17991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17992 esac
   17993 fi
   17994 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17995 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17997 	CFLAGS="$xorg_testset_save_CFLAGS"
   17998 fi
   17999 
   18000 found="no"
   18001 
   18002 	if test $found = "no" ; then
   18003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18005 		fi
   18006 
   18007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18009 		fi
   18010 
   18011 		CFLAGS="$CFLAGS -Werror=write-strings"
   18012 
   18013 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   18014 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   18015 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   18016 		if eval test \${$cacheid+y}
   18017 then :
   18018   printf %s "(cached) " >&6
   18019 else case e in #(
   18020   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18021 /* end confdefs.h.  */
   18022 int i;
   18023 int
   18024 main (void)
   18025 {
   18026 
   18027   ;
   18028   return 0;
   18029 }
   18030 _ACEOF
   18031 if ac_fn_c_try_link "$LINENO"
   18032 then :
   18033   eval $cacheid=yes
   18034 else case e in #(
   18035   e) eval $cacheid=no ;;
   18036 esac
   18037 fi
   18038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18039     conftest$ac_exeext conftest.$ac_ext ;;
   18040 esac
   18041 fi
   18042 
   18043 
   18044 		CFLAGS="$xorg_testset_save_CFLAGS"
   18045 
   18046 		eval supported=\$$cacheid
   18047 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18048 printf '%s\n' "$supported" >&6; }
   18049 		if test "$supported" = "yes" ; then
   18050 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   18051 			found="yes"
   18052 		fi
   18053 	fi
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 xorg_testset_save_CFLAGS="$CFLAGS"
   18070 
   18071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18073 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18074 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18075 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18076 then :
   18077   printf %s "(cached) " >&6
   18078 else case e in #(
   18079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18080 /* end confdefs.h.  */
   18081 int i;
   18082 _ACEOF
   18083 if ac_fn_c_try_compile "$LINENO"
   18084 then :
   18085   xorg_cv_cc_flag_unknown_warning_option=yes
   18086 else case e in #(
   18087   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18088 esac
   18089 fi
   18090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18091 esac
   18092 fi
   18093 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18094 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18096 	CFLAGS="$xorg_testset_save_CFLAGS"
   18097 fi
   18098 
   18099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18102 	fi
   18103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18104 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18105 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18106 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18107 then :
   18108   printf %s "(cached) " >&6
   18109 else case e in #(
   18110   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18111 /* end confdefs.h.  */
   18112 int i;
   18113 _ACEOF
   18114 if ac_fn_c_try_compile "$LINENO"
   18115 then :
   18116   xorg_cv_cc_flag_unused_command_line_argument=yes
   18117 else case e in #(
   18118   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18119 esac
   18120 fi
   18121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18122 esac
   18123 fi
   18124 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18125 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18127 	CFLAGS="$xorg_testset_save_CFLAGS"
   18128 fi
   18129 
   18130 found="no"
   18131 
   18132 	if test $found = "no" ; then
   18133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18135 		fi
   18136 
   18137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18139 		fi
   18140 
   18141 		CFLAGS="$CFLAGS -Werror=address"
   18142 
   18143 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   18144 printf %s "checking if $CC supports -Werror=address... " >&6; }
   18145 		cacheid=xorg_cv_cc_flag__Werror_address
   18146 		if eval test \${$cacheid+y}
   18147 then :
   18148   printf %s "(cached) " >&6
   18149 else case e in #(
   18150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18151 /* end confdefs.h.  */
   18152 int i;
   18153 int
   18154 main (void)
   18155 {
   18156 
   18157   ;
   18158   return 0;
   18159 }
   18160 _ACEOF
   18161 if ac_fn_c_try_link "$LINENO"
   18162 then :
   18163   eval $cacheid=yes
   18164 else case e in #(
   18165   e) eval $cacheid=no ;;
   18166 esac
   18167 fi
   18168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18169     conftest$ac_exeext conftest.$ac_ext ;;
   18170 esac
   18171 fi
   18172 
   18173 
   18174 		CFLAGS="$xorg_testset_save_CFLAGS"
   18175 
   18176 		eval supported=\$$cacheid
   18177 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18178 printf '%s\n' "$supported" >&6; }
   18179 		if test "$supported" = "yes" ; then
   18180 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   18181 			found="yes"
   18182 		fi
   18183 	fi
   18184 
   18185 
   18186 
   18187 
   18188 
   18189 
   18190 
   18191 
   18192 
   18193 
   18194 
   18195 
   18196 
   18197 
   18198 
   18199 xorg_testset_save_CFLAGS="$CFLAGS"
   18200 
   18201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18203 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18204 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18205 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18206 then :
   18207   printf %s "(cached) " >&6
   18208 else case e in #(
   18209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18210 /* end confdefs.h.  */
   18211 int i;
   18212 _ACEOF
   18213 if ac_fn_c_try_compile "$LINENO"
   18214 then :
   18215   xorg_cv_cc_flag_unknown_warning_option=yes
   18216 else case e in #(
   18217   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18218 esac
   18219 fi
   18220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18221 esac
   18222 fi
   18223 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18224 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18225 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18226 	CFLAGS="$xorg_testset_save_CFLAGS"
   18227 fi
   18228 
   18229 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18230 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18231 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18232 	fi
   18233 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18234 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18235 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18236 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18237 then :
   18238   printf %s "(cached) " >&6
   18239 else case e in #(
   18240   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18241 /* end confdefs.h.  */
   18242 int i;
   18243 _ACEOF
   18244 if ac_fn_c_try_compile "$LINENO"
   18245 then :
   18246   xorg_cv_cc_flag_unused_command_line_argument=yes
   18247 else case e in #(
   18248   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18249 esac
   18250 fi
   18251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18252 esac
   18253 fi
   18254 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18255 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18256 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18257 	CFLAGS="$xorg_testset_save_CFLAGS"
   18258 fi
   18259 
   18260 found="no"
   18261 
   18262 	if test $found = "no" ; then
   18263 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18265 		fi
   18266 
   18267 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18269 		fi
   18270 
   18271 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   18272 
   18273 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   18274 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   18275 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   18276 		if eval test \${$cacheid+y}
   18277 then :
   18278   printf %s "(cached) " >&6
   18279 else case e in #(
   18280   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18281 /* end confdefs.h.  */
   18282 int i;
   18283 int
   18284 main (void)
   18285 {
   18286 
   18287   ;
   18288   return 0;
   18289 }
   18290 _ACEOF
   18291 if ac_fn_c_try_link "$LINENO"
   18292 then :
   18293   eval $cacheid=yes
   18294 else case e in #(
   18295   e) eval $cacheid=no ;;
   18296 esac
   18297 fi
   18298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18299     conftest$ac_exeext conftest.$ac_ext ;;
   18300 esac
   18301 fi
   18302 
   18303 
   18304 		CFLAGS="$xorg_testset_save_CFLAGS"
   18305 
   18306 		eval supported=\$$cacheid
   18307 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18308 printf '%s\n' "$supported" >&6; }
   18309 		if test "$supported" = "yes" ; then
   18310 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   18311 			found="yes"
   18312 		fi
   18313 	fi
   18314 
   18315 	if test $found = "no" ; then
   18316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18318 		fi
   18319 
   18320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18322 		fi
   18323 
   18324 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18325 
   18326 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   18327 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   18328 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   18329 		if eval test \${$cacheid+y}
   18330 then :
   18331   printf %s "(cached) " >&6
   18332 else case e in #(
   18333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18334 /* end confdefs.h.  */
   18335 int i;
   18336 int
   18337 main (void)
   18338 {
   18339 
   18340   ;
   18341   return 0;
   18342 }
   18343 _ACEOF
   18344 if ac_fn_c_try_link "$LINENO"
   18345 then :
   18346   eval $cacheid=yes
   18347 else case e in #(
   18348   e) eval $cacheid=no ;;
   18349 esac
   18350 fi
   18351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18352     conftest$ac_exeext conftest.$ac_ext ;;
   18353 esac
   18354 fi
   18355 
   18356 
   18357 		CFLAGS="$xorg_testset_save_CFLAGS"
   18358 
   18359 		eval supported=\$$cacheid
   18360 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18361 printf '%s\n' "$supported" >&6; }
   18362 		if test "$supported" = "yes" ; then
   18363 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18364 			found="yes"
   18365 		fi
   18366 	fi
   18367 
   18368 
   18369 
   18370 
   18371 
   18372 
   18373 
   18374 
   18375 
   18376 
   18377 
   18378 
   18379 
   18380 
   18381 
   18382 xorg_testset_save_CFLAGS="$CFLAGS"
   18383 
   18384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18386 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18387 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18388 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18389 then :
   18390   printf %s "(cached) " >&6
   18391 else case e in #(
   18392   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18393 /* end confdefs.h.  */
   18394 int i;
   18395 _ACEOF
   18396 if ac_fn_c_try_compile "$LINENO"
   18397 then :
   18398   xorg_cv_cc_flag_unknown_warning_option=yes
   18399 else case e in #(
   18400   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18401 esac
   18402 fi
   18403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18404 esac
   18405 fi
   18406 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18407 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18408 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18409 	CFLAGS="$xorg_testset_save_CFLAGS"
   18410 fi
   18411 
   18412 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18413 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18414 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18415 	fi
   18416 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18417 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18418 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18419 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18420 then :
   18421   printf %s "(cached) " >&6
   18422 else case e in #(
   18423   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18424 /* end confdefs.h.  */
   18425 int i;
   18426 _ACEOF
   18427 if ac_fn_c_try_compile "$LINENO"
   18428 then :
   18429   xorg_cv_cc_flag_unused_command_line_argument=yes
   18430 else case e in #(
   18431   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18432 esac
   18433 fi
   18434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18435 esac
   18436 fi
   18437 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18438 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18439 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18440 	CFLAGS="$xorg_testset_save_CFLAGS"
   18441 fi
   18442 
   18443 found="no"
   18444 
   18445 	if test $found = "no" ; then
   18446 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18447 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18448 		fi
   18449 
   18450 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18451 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18452 		fi
   18453 
   18454 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18455 
   18456 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18457 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18458 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18459 		if eval test \${$cacheid+y}
   18460 then :
   18461   printf %s "(cached) " >&6
   18462 else case e in #(
   18463   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18464 /* end confdefs.h.  */
   18465 int i;
   18466 int
   18467 main (void)
   18468 {
   18469 
   18470   ;
   18471   return 0;
   18472 }
   18473 _ACEOF
   18474 if ac_fn_c_try_link "$LINENO"
   18475 then :
   18476   eval $cacheid=yes
   18477 else case e in #(
   18478   e) eval $cacheid=no ;;
   18479 esac
   18480 fi
   18481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18482     conftest$ac_exeext conftest.$ac_ext ;;
   18483 esac
   18484 fi
   18485 
   18486 
   18487 		CFLAGS="$xorg_testset_save_CFLAGS"
   18488 
   18489 		eval supported=\$$cacheid
   18490 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18491 printf '%s\n' "$supported" >&6; }
   18492 		if test "$supported" = "yes" ; then
   18493 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18494 			found="yes"
   18495 		fi
   18496 	fi
   18497 
   18498  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18499 else
   18500 { 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
   18501 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;}
   18502 
   18503 
   18504 
   18505 
   18506 
   18507 
   18508 
   18509 
   18510 
   18511 
   18512 
   18513 
   18514 
   18515 xorg_testset_save_CFLAGS="$CFLAGS"
   18516 
   18517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18519 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18520 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18521 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18522 then :
   18523   printf %s "(cached) " >&6
   18524 else case e in #(
   18525   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18526 /* end confdefs.h.  */
   18527 int i;
   18528 _ACEOF
   18529 if ac_fn_c_try_compile "$LINENO"
   18530 then :
   18531   xorg_cv_cc_flag_unknown_warning_option=yes
   18532 else case e in #(
   18533   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18534 esac
   18535 fi
   18536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18537 esac
   18538 fi
   18539 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18540 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18541 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18542 	CFLAGS="$xorg_testset_save_CFLAGS"
   18543 fi
   18544 
   18545 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18546 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18547 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18548 	fi
   18549 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18550 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18551 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18552 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18553 then :
   18554   printf %s "(cached) " >&6
   18555 else case e in #(
   18556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18557 /* end confdefs.h.  */
   18558 int i;
   18559 _ACEOF
   18560 if ac_fn_c_try_compile "$LINENO"
   18561 then :
   18562   xorg_cv_cc_flag_unused_command_line_argument=yes
   18563 else case e in #(
   18564   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18565 esac
   18566 fi
   18567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18568 esac
   18569 fi
   18570 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18571 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18573 	CFLAGS="$xorg_testset_save_CFLAGS"
   18574 fi
   18575 
   18576 found="no"
   18577 
   18578 	if test $found = "no" ; then
   18579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18581 		fi
   18582 
   18583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18585 		fi
   18586 
   18587 		CFLAGS="$CFLAGS -Wimplicit"
   18588 
   18589 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18590 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18591 		cacheid=xorg_cv_cc_flag__Wimplicit
   18592 		if eval test \${$cacheid+y}
   18593 then :
   18594   printf %s "(cached) " >&6
   18595 else case e in #(
   18596   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18597 /* end confdefs.h.  */
   18598 int i;
   18599 int
   18600 main (void)
   18601 {
   18602 
   18603   ;
   18604   return 0;
   18605 }
   18606 _ACEOF
   18607 if ac_fn_c_try_link "$LINENO"
   18608 then :
   18609   eval $cacheid=yes
   18610 else case e in #(
   18611   e) eval $cacheid=no ;;
   18612 esac
   18613 fi
   18614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18615     conftest$ac_exeext conftest.$ac_ext ;;
   18616 esac
   18617 fi
   18618 
   18619 
   18620 		CFLAGS="$xorg_testset_save_CFLAGS"
   18621 
   18622 		eval supported=\$$cacheid
   18623 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18624 printf '%s\n' "$supported" >&6; }
   18625 		if test "$supported" = "yes" ; then
   18626 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18627 			found="yes"
   18628 		fi
   18629 	fi
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 
   18637 
   18638 
   18639 
   18640 
   18641 
   18642 
   18643 
   18644 
   18645 xorg_testset_save_CFLAGS="$CFLAGS"
   18646 
   18647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18649 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18650 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18651 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18652 then :
   18653   printf %s "(cached) " >&6
   18654 else case e in #(
   18655   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18656 /* end confdefs.h.  */
   18657 int i;
   18658 _ACEOF
   18659 if ac_fn_c_try_compile "$LINENO"
   18660 then :
   18661   xorg_cv_cc_flag_unknown_warning_option=yes
   18662 else case e in #(
   18663   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18664 esac
   18665 fi
   18666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18667 esac
   18668 fi
   18669 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18670 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18672 	CFLAGS="$xorg_testset_save_CFLAGS"
   18673 fi
   18674 
   18675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18678 	fi
   18679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18680 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18681 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18682 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18683 then :
   18684   printf %s "(cached) " >&6
   18685 else case e in #(
   18686   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18687 /* end confdefs.h.  */
   18688 int i;
   18689 _ACEOF
   18690 if ac_fn_c_try_compile "$LINENO"
   18691 then :
   18692   xorg_cv_cc_flag_unused_command_line_argument=yes
   18693 else case e in #(
   18694   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18695 esac
   18696 fi
   18697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18698 esac
   18699 fi
   18700 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18701 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18702 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18703 	CFLAGS="$xorg_testset_save_CFLAGS"
   18704 fi
   18705 
   18706 found="no"
   18707 
   18708 	if test $found = "no" ; then
   18709 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18711 		fi
   18712 
   18713 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18715 		fi
   18716 
   18717 		CFLAGS="$CFLAGS -Wnonnull"
   18718 
   18719 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18720 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18721 		cacheid=xorg_cv_cc_flag__Wnonnull
   18722 		if eval test \${$cacheid+y}
   18723 then :
   18724   printf %s "(cached) " >&6
   18725 else case e in #(
   18726   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18727 /* end confdefs.h.  */
   18728 int i;
   18729 int
   18730 main (void)
   18731 {
   18732 
   18733   ;
   18734   return 0;
   18735 }
   18736 _ACEOF
   18737 if ac_fn_c_try_link "$LINENO"
   18738 then :
   18739   eval $cacheid=yes
   18740 else case e in #(
   18741   e) eval $cacheid=no ;;
   18742 esac
   18743 fi
   18744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18745     conftest$ac_exeext conftest.$ac_ext ;;
   18746 esac
   18747 fi
   18748 
   18749 
   18750 		CFLAGS="$xorg_testset_save_CFLAGS"
   18751 
   18752 		eval supported=\$$cacheid
   18753 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18754 printf '%s\n' "$supported" >&6; }
   18755 		if test "$supported" = "yes" ; then
   18756 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18757 			found="yes"
   18758 		fi
   18759 	fi
   18760 
   18761 
   18762 
   18763 
   18764 
   18765 
   18766 
   18767 
   18768 
   18769 
   18770 
   18771 
   18772 
   18773 
   18774 
   18775 xorg_testset_save_CFLAGS="$CFLAGS"
   18776 
   18777 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18778 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18779 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18780 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18781 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18782 then :
   18783   printf %s "(cached) " >&6
   18784 else case e in #(
   18785   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18786 /* end confdefs.h.  */
   18787 int i;
   18788 _ACEOF
   18789 if ac_fn_c_try_compile "$LINENO"
   18790 then :
   18791   xorg_cv_cc_flag_unknown_warning_option=yes
   18792 else case e in #(
   18793   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18794 esac
   18795 fi
   18796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18797 esac
   18798 fi
   18799 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18800 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18801 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18802 	CFLAGS="$xorg_testset_save_CFLAGS"
   18803 fi
   18804 
   18805 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18806 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18807 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18808 	fi
   18809 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18810 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18811 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18812 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18813 then :
   18814   printf %s "(cached) " >&6
   18815 else case e in #(
   18816   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18817 /* end confdefs.h.  */
   18818 int i;
   18819 _ACEOF
   18820 if ac_fn_c_try_compile "$LINENO"
   18821 then :
   18822   xorg_cv_cc_flag_unused_command_line_argument=yes
   18823 else case e in #(
   18824   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18825 esac
   18826 fi
   18827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18828 esac
   18829 fi
   18830 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18831 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18833 	CFLAGS="$xorg_testset_save_CFLAGS"
   18834 fi
   18835 
   18836 found="no"
   18837 
   18838 	if test $found = "no" ; then
   18839 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18841 		fi
   18842 
   18843 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18845 		fi
   18846 
   18847 		CFLAGS="$CFLAGS -Winit-self"
   18848 
   18849 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18850 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18851 		cacheid=xorg_cv_cc_flag__Winit_self
   18852 		if eval test \${$cacheid+y}
   18853 then :
   18854   printf %s "(cached) " >&6
   18855 else case e in #(
   18856   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18857 /* end confdefs.h.  */
   18858 int i;
   18859 int
   18860 main (void)
   18861 {
   18862 
   18863   ;
   18864   return 0;
   18865 }
   18866 _ACEOF
   18867 if ac_fn_c_try_link "$LINENO"
   18868 then :
   18869   eval $cacheid=yes
   18870 else case e in #(
   18871   e) eval $cacheid=no ;;
   18872 esac
   18873 fi
   18874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18875     conftest$ac_exeext conftest.$ac_ext ;;
   18876 esac
   18877 fi
   18878 
   18879 
   18880 		CFLAGS="$xorg_testset_save_CFLAGS"
   18881 
   18882 		eval supported=\$$cacheid
   18883 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18884 printf '%s\n' "$supported" >&6; }
   18885 		if test "$supported" = "yes" ; then
   18886 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18887 			found="yes"
   18888 		fi
   18889 	fi
   18890 
   18891 
   18892 
   18893 
   18894 
   18895 
   18896 
   18897 
   18898 
   18899 
   18900 
   18901 
   18902 
   18903 
   18904 
   18905 xorg_testset_save_CFLAGS="$CFLAGS"
   18906 
   18907 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18908 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18909 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18910 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18911 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18912 then :
   18913   printf %s "(cached) " >&6
   18914 else case e in #(
   18915   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18916 /* end confdefs.h.  */
   18917 int i;
   18918 _ACEOF
   18919 if ac_fn_c_try_compile "$LINENO"
   18920 then :
   18921   xorg_cv_cc_flag_unknown_warning_option=yes
   18922 else case e in #(
   18923   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18924 esac
   18925 fi
   18926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18927 esac
   18928 fi
   18929 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18930 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18931 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18932 	CFLAGS="$xorg_testset_save_CFLAGS"
   18933 fi
   18934 
   18935 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18936 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18937 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18938 	fi
   18939 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18940 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18941 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18942 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18943 then :
   18944   printf %s "(cached) " >&6
   18945 else case e in #(
   18946   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18947 /* end confdefs.h.  */
   18948 int i;
   18949 _ACEOF
   18950 if ac_fn_c_try_compile "$LINENO"
   18951 then :
   18952   xorg_cv_cc_flag_unused_command_line_argument=yes
   18953 else case e in #(
   18954   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18955 esac
   18956 fi
   18957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18958 esac
   18959 fi
   18960 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18961 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18962 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18963 	CFLAGS="$xorg_testset_save_CFLAGS"
   18964 fi
   18965 
   18966 found="no"
   18967 
   18968 	if test $found = "no" ; then
   18969 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18970 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18971 		fi
   18972 
   18973 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18974 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18975 		fi
   18976 
   18977 		CFLAGS="$CFLAGS -Wmain"
   18978 
   18979 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18980 printf %s "checking if $CC supports -Wmain... " >&6; }
   18981 		cacheid=xorg_cv_cc_flag__Wmain
   18982 		if eval test \${$cacheid+y}
   18983 then :
   18984   printf %s "(cached) " >&6
   18985 else case e in #(
   18986   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18987 /* end confdefs.h.  */
   18988 int i;
   18989 int
   18990 main (void)
   18991 {
   18992 
   18993   ;
   18994   return 0;
   18995 }
   18996 _ACEOF
   18997 if ac_fn_c_try_link "$LINENO"
   18998 then :
   18999   eval $cacheid=yes
   19000 else case e in #(
   19001   e) eval $cacheid=no ;;
   19002 esac
   19003 fi
   19004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19005     conftest$ac_exeext conftest.$ac_ext ;;
   19006 esac
   19007 fi
   19008 
   19009 
   19010 		CFLAGS="$xorg_testset_save_CFLAGS"
   19011 
   19012 		eval supported=\$$cacheid
   19013 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19014 printf '%s\n' "$supported" >&6; }
   19015 		if test "$supported" = "yes" ; then
   19016 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   19017 			found="yes"
   19018 		fi
   19019 	fi
   19020 
   19021 
   19022 
   19023 
   19024 
   19025 
   19026 
   19027 
   19028 
   19029 
   19030 
   19031 
   19032 
   19033 
   19034 
   19035 xorg_testset_save_CFLAGS="$CFLAGS"
   19036 
   19037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19039 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19040 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19041 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19042 then :
   19043   printf %s "(cached) " >&6
   19044 else case e in #(
   19045   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19046 /* end confdefs.h.  */
   19047 int i;
   19048 _ACEOF
   19049 if ac_fn_c_try_compile "$LINENO"
   19050 then :
   19051   xorg_cv_cc_flag_unknown_warning_option=yes
   19052 else case e in #(
   19053   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19054 esac
   19055 fi
   19056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19057 esac
   19058 fi
   19059 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19060 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19061 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19062 	CFLAGS="$xorg_testset_save_CFLAGS"
   19063 fi
   19064 
   19065 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19066 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19067 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19068 	fi
   19069 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19070 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19071 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19072 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19073 then :
   19074   printf %s "(cached) " >&6
   19075 else case e in #(
   19076   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19077 /* end confdefs.h.  */
   19078 int i;
   19079 _ACEOF
   19080 if ac_fn_c_try_compile "$LINENO"
   19081 then :
   19082   xorg_cv_cc_flag_unused_command_line_argument=yes
   19083 else case e in #(
   19084   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19085 esac
   19086 fi
   19087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19088 esac
   19089 fi
   19090 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19091 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19092 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19093 	CFLAGS="$xorg_testset_save_CFLAGS"
   19094 fi
   19095 
   19096 found="no"
   19097 
   19098 	if test $found = "no" ; then
   19099 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19101 		fi
   19102 
   19103 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19105 		fi
   19106 
   19107 		CFLAGS="$CFLAGS -Wmissing-braces"
   19108 
   19109 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   19110 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   19111 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   19112 		if eval test \${$cacheid+y}
   19113 then :
   19114   printf %s "(cached) " >&6
   19115 else case e in #(
   19116   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19117 /* end confdefs.h.  */
   19118 int i;
   19119 int
   19120 main (void)
   19121 {
   19122 
   19123   ;
   19124   return 0;
   19125 }
   19126 _ACEOF
   19127 if ac_fn_c_try_link "$LINENO"
   19128 then :
   19129   eval $cacheid=yes
   19130 else case e in #(
   19131   e) eval $cacheid=no ;;
   19132 esac
   19133 fi
   19134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19135     conftest$ac_exeext conftest.$ac_ext ;;
   19136 esac
   19137 fi
   19138 
   19139 
   19140 		CFLAGS="$xorg_testset_save_CFLAGS"
   19141 
   19142 		eval supported=\$$cacheid
   19143 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19144 printf '%s\n' "$supported" >&6; }
   19145 		if test "$supported" = "yes" ; then
   19146 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   19147 			found="yes"
   19148 		fi
   19149 	fi
   19150 
   19151 
   19152 
   19153 
   19154 
   19155 
   19156 
   19157 
   19158 
   19159 
   19160 
   19161 
   19162 
   19163 
   19164 
   19165 xorg_testset_save_CFLAGS="$CFLAGS"
   19166 
   19167 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19168 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19169 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19170 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19171 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19172 then :
   19173   printf %s "(cached) " >&6
   19174 else case e in #(
   19175   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19176 /* end confdefs.h.  */
   19177 int i;
   19178 _ACEOF
   19179 if ac_fn_c_try_compile "$LINENO"
   19180 then :
   19181   xorg_cv_cc_flag_unknown_warning_option=yes
   19182 else case e in #(
   19183   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19184 esac
   19185 fi
   19186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19187 esac
   19188 fi
   19189 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19190 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19191 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19192 	CFLAGS="$xorg_testset_save_CFLAGS"
   19193 fi
   19194 
   19195 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19196 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19197 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19198 	fi
   19199 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19200 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19201 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19202 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19203 then :
   19204   printf %s "(cached) " >&6
   19205 else case e in #(
   19206   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19207 /* end confdefs.h.  */
   19208 int i;
   19209 _ACEOF
   19210 if ac_fn_c_try_compile "$LINENO"
   19211 then :
   19212   xorg_cv_cc_flag_unused_command_line_argument=yes
   19213 else case e in #(
   19214   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19215 esac
   19216 fi
   19217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19218 esac
   19219 fi
   19220 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19221 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19222 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19223 	CFLAGS="$xorg_testset_save_CFLAGS"
   19224 fi
   19225 
   19226 found="no"
   19227 
   19228 	if test $found = "no" ; then
   19229 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19231 		fi
   19232 
   19233 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19235 		fi
   19236 
   19237 		CFLAGS="$CFLAGS -Wsequence-point"
   19238 
   19239 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   19240 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   19241 		cacheid=xorg_cv_cc_flag__Wsequence_point
   19242 		if eval test \${$cacheid+y}
   19243 then :
   19244   printf %s "(cached) " >&6
   19245 else case e in #(
   19246   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19247 /* end confdefs.h.  */
   19248 int i;
   19249 int
   19250 main (void)
   19251 {
   19252 
   19253   ;
   19254   return 0;
   19255 }
   19256 _ACEOF
   19257 if ac_fn_c_try_link "$LINENO"
   19258 then :
   19259   eval $cacheid=yes
   19260 else case e in #(
   19261   e) eval $cacheid=no ;;
   19262 esac
   19263 fi
   19264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19265     conftest$ac_exeext conftest.$ac_ext ;;
   19266 esac
   19267 fi
   19268 
   19269 
   19270 		CFLAGS="$xorg_testset_save_CFLAGS"
   19271 
   19272 		eval supported=\$$cacheid
   19273 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19274 printf '%s\n' "$supported" >&6; }
   19275 		if test "$supported" = "yes" ; then
   19276 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   19277 			found="yes"
   19278 		fi
   19279 	fi
   19280 
   19281 
   19282 
   19283 
   19284 
   19285 
   19286 
   19287 
   19288 
   19289 
   19290 
   19291 
   19292 
   19293 
   19294 
   19295 xorg_testset_save_CFLAGS="$CFLAGS"
   19296 
   19297 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19298 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19299 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19300 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19301 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19302 then :
   19303   printf %s "(cached) " >&6
   19304 else case e in #(
   19305   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19306 /* end confdefs.h.  */
   19307 int i;
   19308 _ACEOF
   19309 if ac_fn_c_try_compile "$LINENO"
   19310 then :
   19311   xorg_cv_cc_flag_unknown_warning_option=yes
   19312 else case e in #(
   19313   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19314 esac
   19315 fi
   19316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19317 esac
   19318 fi
   19319 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19320 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19322 	CFLAGS="$xorg_testset_save_CFLAGS"
   19323 fi
   19324 
   19325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19328 	fi
   19329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19330 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19331 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19332 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19333 then :
   19334   printf %s "(cached) " >&6
   19335 else case e in #(
   19336   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19337 /* end confdefs.h.  */
   19338 int i;
   19339 _ACEOF
   19340 if ac_fn_c_try_compile "$LINENO"
   19341 then :
   19342   xorg_cv_cc_flag_unused_command_line_argument=yes
   19343 else case e in #(
   19344   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19345 esac
   19346 fi
   19347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19348 esac
   19349 fi
   19350 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19351 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19352 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19353 	CFLAGS="$xorg_testset_save_CFLAGS"
   19354 fi
   19355 
   19356 found="no"
   19357 
   19358 	if test $found = "no" ; then
   19359 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19360 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19361 		fi
   19362 
   19363 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19364 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19365 		fi
   19366 
   19367 		CFLAGS="$CFLAGS -Wreturn-type"
   19368 
   19369 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   19370 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   19371 		cacheid=xorg_cv_cc_flag__Wreturn_type
   19372 		if eval test \${$cacheid+y}
   19373 then :
   19374   printf %s "(cached) " >&6
   19375 else case e in #(
   19376   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19377 /* end confdefs.h.  */
   19378 int i;
   19379 int
   19380 main (void)
   19381 {
   19382 
   19383   ;
   19384   return 0;
   19385 }
   19386 _ACEOF
   19387 if ac_fn_c_try_link "$LINENO"
   19388 then :
   19389   eval $cacheid=yes
   19390 else case e in #(
   19391   e) eval $cacheid=no ;;
   19392 esac
   19393 fi
   19394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19395     conftest$ac_exeext conftest.$ac_ext ;;
   19396 esac
   19397 fi
   19398 
   19399 
   19400 		CFLAGS="$xorg_testset_save_CFLAGS"
   19401 
   19402 		eval supported=\$$cacheid
   19403 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19404 printf '%s\n' "$supported" >&6; }
   19405 		if test "$supported" = "yes" ; then
   19406 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   19407 			found="yes"
   19408 		fi
   19409 	fi
   19410 
   19411 
   19412 
   19413 
   19414 
   19415 
   19416 
   19417 
   19418 
   19419 
   19420 
   19421 
   19422 
   19423 
   19424 
   19425 xorg_testset_save_CFLAGS="$CFLAGS"
   19426 
   19427 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19429 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19430 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19431 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19432 then :
   19433   printf %s "(cached) " >&6
   19434 else case e in #(
   19435   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19436 /* end confdefs.h.  */
   19437 int i;
   19438 _ACEOF
   19439 if ac_fn_c_try_compile "$LINENO"
   19440 then :
   19441   xorg_cv_cc_flag_unknown_warning_option=yes
   19442 else case e in #(
   19443   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19444 esac
   19445 fi
   19446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19447 esac
   19448 fi
   19449 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19450 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19451 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19452 	CFLAGS="$xorg_testset_save_CFLAGS"
   19453 fi
   19454 
   19455 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19456 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19457 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19458 	fi
   19459 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19460 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19461 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19462 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19463 then :
   19464   printf %s "(cached) " >&6
   19465 else case e in #(
   19466   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19467 /* end confdefs.h.  */
   19468 int i;
   19469 _ACEOF
   19470 if ac_fn_c_try_compile "$LINENO"
   19471 then :
   19472   xorg_cv_cc_flag_unused_command_line_argument=yes
   19473 else case e in #(
   19474   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19475 esac
   19476 fi
   19477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19478 esac
   19479 fi
   19480 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19481 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19483 	CFLAGS="$xorg_testset_save_CFLAGS"
   19484 fi
   19485 
   19486 found="no"
   19487 
   19488 	if test $found = "no" ; then
   19489 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19491 		fi
   19492 
   19493 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19495 		fi
   19496 
   19497 		CFLAGS="$CFLAGS -Wtrigraphs"
   19498 
   19499 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19500 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19501 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19502 		if eval test \${$cacheid+y}
   19503 then :
   19504   printf %s "(cached) " >&6
   19505 else case e in #(
   19506   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19507 /* end confdefs.h.  */
   19508 int i;
   19509 int
   19510 main (void)
   19511 {
   19512 
   19513   ;
   19514   return 0;
   19515 }
   19516 _ACEOF
   19517 if ac_fn_c_try_link "$LINENO"
   19518 then :
   19519   eval $cacheid=yes
   19520 else case e in #(
   19521   e) eval $cacheid=no ;;
   19522 esac
   19523 fi
   19524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19525     conftest$ac_exeext conftest.$ac_ext ;;
   19526 esac
   19527 fi
   19528 
   19529 
   19530 		CFLAGS="$xorg_testset_save_CFLAGS"
   19531 
   19532 		eval supported=\$$cacheid
   19533 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19534 printf '%s\n' "$supported" >&6; }
   19535 		if test "$supported" = "yes" ; then
   19536 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19537 			found="yes"
   19538 		fi
   19539 	fi
   19540 
   19541 
   19542 
   19543 
   19544 
   19545 
   19546 
   19547 
   19548 
   19549 
   19550 
   19551 
   19552 
   19553 
   19554 
   19555 xorg_testset_save_CFLAGS="$CFLAGS"
   19556 
   19557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19559 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19560 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19561 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19562 then :
   19563   printf %s "(cached) " >&6
   19564 else case e in #(
   19565   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19566 /* end confdefs.h.  */
   19567 int i;
   19568 _ACEOF
   19569 if ac_fn_c_try_compile "$LINENO"
   19570 then :
   19571   xorg_cv_cc_flag_unknown_warning_option=yes
   19572 else case e in #(
   19573   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19574 esac
   19575 fi
   19576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19577 esac
   19578 fi
   19579 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19580 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19581 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19582 	CFLAGS="$xorg_testset_save_CFLAGS"
   19583 fi
   19584 
   19585 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19586 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19587 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19588 	fi
   19589 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19590 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19591 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19592 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19593 then :
   19594   printf %s "(cached) " >&6
   19595 else case e in #(
   19596   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19597 /* end confdefs.h.  */
   19598 int i;
   19599 _ACEOF
   19600 if ac_fn_c_try_compile "$LINENO"
   19601 then :
   19602   xorg_cv_cc_flag_unused_command_line_argument=yes
   19603 else case e in #(
   19604   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19605 esac
   19606 fi
   19607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19608 esac
   19609 fi
   19610 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19611 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19612 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19613 	CFLAGS="$xorg_testset_save_CFLAGS"
   19614 fi
   19615 
   19616 found="no"
   19617 
   19618 	if test $found = "no" ; then
   19619 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19620 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19621 		fi
   19622 
   19623 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19624 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19625 		fi
   19626 
   19627 		CFLAGS="$CFLAGS -Warray-bounds"
   19628 
   19629 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19630 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19631 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19632 		if eval test \${$cacheid+y}
   19633 then :
   19634   printf %s "(cached) " >&6
   19635 else case e in #(
   19636   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19637 /* end confdefs.h.  */
   19638 int i;
   19639 int
   19640 main (void)
   19641 {
   19642 
   19643   ;
   19644   return 0;
   19645 }
   19646 _ACEOF
   19647 if ac_fn_c_try_link "$LINENO"
   19648 then :
   19649   eval $cacheid=yes
   19650 else case e in #(
   19651   e) eval $cacheid=no ;;
   19652 esac
   19653 fi
   19654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19655     conftest$ac_exeext conftest.$ac_ext ;;
   19656 esac
   19657 fi
   19658 
   19659 
   19660 		CFLAGS="$xorg_testset_save_CFLAGS"
   19661 
   19662 		eval supported=\$$cacheid
   19663 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19664 printf '%s\n' "$supported" >&6; }
   19665 		if test "$supported" = "yes" ; then
   19666 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19667 			found="yes"
   19668 		fi
   19669 	fi
   19670 
   19671 
   19672 
   19673 
   19674 
   19675 
   19676 
   19677 
   19678 
   19679 
   19680 
   19681 
   19682 
   19683 
   19684 
   19685 xorg_testset_save_CFLAGS="$CFLAGS"
   19686 
   19687 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19688 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19689 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19690 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19691 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19692 then :
   19693   printf %s "(cached) " >&6
   19694 else case e in #(
   19695   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19696 /* end confdefs.h.  */
   19697 int i;
   19698 _ACEOF
   19699 if ac_fn_c_try_compile "$LINENO"
   19700 then :
   19701   xorg_cv_cc_flag_unknown_warning_option=yes
   19702 else case e in #(
   19703   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19704 esac
   19705 fi
   19706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19707 esac
   19708 fi
   19709 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19710 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19711 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19712 	CFLAGS="$xorg_testset_save_CFLAGS"
   19713 fi
   19714 
   19715 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19716 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19717 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19718 	fi
   19719 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19720 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19721 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19722 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19723 then :
   19724   printf %s "(cached) " >&6
   19725 else case e in #(
   19726   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19727 /* end confdefs.h.  */
   19728 int i;
   19729 _ACEOF
   19730 if ac_fn_c_try_compile "$LINENO"
   19731 then :
   19732   xorg_cv_cc_flag_unused_command_line_argument=yes
   19733 else case e in #(
   19734   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19735 esac
   19736 fi
   19737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19738 esac
   19739 fi
   19740 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19741 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19742 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19743 	CFLAGS="$xorg_testset_save_CFLAGS"
   19744 fi
   19745 
   19746 found="no"
   19747 
   19748 	if test $found = "no" ; then
   19749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19751 		fi
   19752 
   19753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19755 		fi
   19756 
   19757 		CFLAGS="$CFLAGS -Wwrite-strings"
   19758 
   19759 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19760 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19761 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19762 		if eval test \${$cacheid+y}
   19763 then :
   19764   printf %s "(cached) " >&6
   19765 else case e in #(
   19766   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19767 /* end confdefs.h.  */
   19768 int i;
   19769 int
   19770 main (void)
   19771 {
   19772 
   19773   ;
   19774   return 0;
   19775 }
   19776 _ACEOF
   19777 if ac_fn_c_try_link "$LINENO"
   19778 then :
   19779   eval $cacheid=yes
   19780 else case e in #(
   19781   e) eval $cacheid=no ;;
   19782 esac
   19783 fi
   19784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19785     conftest$ac_exeext conftest.$ac_ext ;;
   19786 esac
   19787 fi
   19788 
   19789 
   19790 		CFLAGS="$xorg_testset_save_CFLAGS"
   19791 
   19792 		eval supported=\$$cacheid
   19793 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19794 printf '%s\n' "$supported" >&6; }
   19795 		if test "$supported" = "yes" ; then
   19796 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19797 			found="yes"
   19798 		fi
   19799 	fi
   19800 
   19801 
   19802 
   19803 
   19804 
   19805 
   19806 
   19807 
   19808 
   19809 
   19810 
   19811 
   19812 
   19813 
   19814 
   19815 xorg_testset_save_CFLAGS="$CFLAGS"
   19816 
   19817 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19818 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19819 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19820 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19821 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19822 then :
   19823   printf %s "(cached) " >&6
   19824 else case e in #(
   19825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19826 /* end confdefs.h.  */
   19827 int i;
   19828 _ACEOF
   19829 if ac_fn_c_try_compile "$LINENO"
   19830 then :
   19831   xorg_cv_cc_flag_unknown_warning_option=yes
   19832 else case e in #(
   19833   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19834 esac
   19835 fi
   19836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19837 esac
   19838 fi
   19839 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19840 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19841 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19842 	CFLAGS="$xorg_testset_save_CFLAGS"
   19843 fi
   19844 
   19845 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19846 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19848 	fi
   19849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19850 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19851 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19852 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19853 then :
   19854   printf %s "(cached) " >&6
   19855 else case e in #(
   19856   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19857 /* end confdefs.h.  */
   19858 int i;
   19859 _ACEOF
   19860 if ac_fn_c_try_compile "$LINENO"
   19861 then :
   19862   xorg_cv_cc_flag_unused_command_line_argument=yes
   19863 else case e in #(
   19864   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19865 esac
   19866 fi
   19867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19868 esac
   19869 fi
   19870 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19871 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19873 	CFLAGS="$xorg_testset_save_CFLAGS"
   19874 fi
   19875 
   19876 found="no"
   19877 
   19878 	if test $found = "no" ; then
   19879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19881 		fi
   19882 
   19883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19885 		fi
   19886 
   19887 		CFLAGS="$CFLAGS -Waddress"
   19888 
   19889 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19890 printf %s "checking if $CC supports -Waddress... " >&6; }
   19891 		cacheid=xorg_cv_cc_flag__Waddress
   19892 		if eval test \${$cacheid+y}
   19893 then :
   19894   printf %s "(cached) " >&6
   19895 else case e in #(
   19896   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19897 /* end confdefs.h.  */
   19898 int i;
   19899 int
   19900 main (void)
   19901 {
   19902 
   19903   ;
   19904   return 0;
   19905 }
   19906 _ACEOF
   19907 if ac_fn_c_try_link "$LINENO"
   19908 then :
   19909   eval $cacheid=yes
   19910 else case e in #(
   19911   e) eval $cacheid=no ;;
   19912 esac
   19913 fi
   19914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19915     conftest$ac_exeext conftest.$ac_ext ;;
   19916 esac
   19917 fi
   19918 
   19919 
   19920 		CFLAGS="$xorg_testset_save_CFLAGS"
   19921 
   19922 		eval supported=\$$cacheid
   19923 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19924 printf '%s\n' "$supported" >&6; }
   19925 		if test "$supported" = "yes" ; then
   19926 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19927 			found="yes"
   19928 		fi
   19929 	fi
   19930 
   19931 
   19932 
   19933 
   19934 
   19935 
   19936 
   19937 
   19938 
   19939 
   19940 
   19941 
   19942 
   19943 
   19944 
   19945 xorg_testset_save_CFLAGS="$CFLAGS"
   19946 
   19947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19949 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19950 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19951 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19952 then :
   19953   printf %s "(cached) " >&6
   19954 else case e in #(
   19955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19956 /* end confdefs.h.  */
   19957 int i;
   19958 _ACEOF
   19959 if ac_fn_c_try_compile "$LINENO"
   19960 then :
   19961   xorg_cv_cc_flag_unknown_warning_option=yes
   19962 else case e in #(
   19963   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19964 esac
   19965 fi
   19966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19967 esac
   19968 fi
   19969 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19970 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19972 	CFLAGS="$xorg_testset_save_CFLAGS"
   19973 fi
   19974 
   19975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19978 	fi
   19979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19980 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19981 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19982 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19983 then :
   19984   printf %s "(cached) " >&6
   19985 else case e in #(
   19986   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19987 /* end confdefs.h.  */
   19988 int i;
   19989 _ACEOF
   19990 if ac_fn_c_try_compile "$LINENO"
   19991 then :
   19992   xorg_cv_cc_flag_unused_command_line_argument=yes
   19993 else case e in #(
   19994   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19995 esac
   19996 fi
   19997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19998 esac
   19999 fi
   20000 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20001 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20003 	CFLAGS="$xorg_testset_save_CFLAGS"
   20004 fi
   20005 
   20006 found="no"
   20007 
   20008 	if test $found = "no" ; then
   20009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20011 		fi
   20012 
   20013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20015 		fi
   20016 
   20017 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   20018 
   20019 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   20020 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   20021 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   20022 		if eval test \${$cacheid+y}
   20023 then :
   20024   printf %s "(cached) " >&6
   20025 else case e in #(
   20026   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20027 /* end confdefs.h.  */
   20028 int i;
   20029 int
   20030 main (void)
   20031 {
   20032 
   20033   ;
   20034   return 0;
   20035 }
   20036 _ACEOF
   20037 if ac_fn_c_try_link "$LINENO"
   20038 then :
   20039   eval $cacheid=yes
   20040 else case e in #(
   20041   e) eval $cacheid=no ;;
   20042 esac
   20043 fi
   20044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20045     conftest$ac_exeext conftest.$ac_ext ;;
   20046 esac
   20047 fi
   20048 
   20049 
   20050 		CFLAGS="$xorg_testset_save_CFLAGS"
   20051 
   20052 		eval supported=\$$cacheid
   20053 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20054 printf '%s\n' "$supported" >&6; }
   20055 		if test "$supported" = "yes" ; then
   20056 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   20057 			found="yes"
   20058 		fi
   20059 	fi
   20060 
   20061 
   20062 
   20063 
   20064 
   20065 
   20066 
   20067 
   20068 
   20069 
   20070 
   20071 
   20072 
   20073 
   20074 
   20075 xorg_testset_save_CFLAGS="$CFLAGS"
   20076 
   20077 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20078 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20079 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20080 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20081 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20082 then :
   20083   printf %s "(cached) " >&6
   20084 else case e in #(
   20085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20086 /* end confdefs.h.  */
   20087 int i;
   20088 _ACEOF
   20089 if ac_fn_c_try_compile "$LINENO"
   20090 then :
   20091   xorg_cv_cc_flag_unknown_warning_option=yes
   20092 else case e in #(
   20093   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20094 esac
   20095 fi
   20096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20097 esac
   20098 fi
   20099 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20100 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20101 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20102 	CFLAGS="$xorg_testset_save_CFLAGS"
   20103 fi
   20104 
   20105 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20106 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20107 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20108 	fi
   20109 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20110 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20111 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20112 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20113 then :
   20114   printf %s "(cached) " >&6
   20115 else case e in #(
   20116   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20117 /* end confdefs.h.  */
   20118 int i;
   20119 _ACEOF
   20120 if ac_fn_c_try_compile "$LINENO"
   20121 then :
   20122   xorg_cv_cc_flag_unused_command_line_argument=yes
   20123 else case e in #(
   20124   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20125 esac
   20126 fi
   20127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20128 esac
   20129 fi
   20130 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20131 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20133 	CFLAGS="$xorg_testset_save_CFLAGS"
   20134 fi
   20135 
   20136 found="no"
   20137 
   20138 	if test $found = "no" ; then
   20139 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20141 		fi
   20142 
   20143 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20145 		fi
   20146 
   20147 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   20148 
   20149 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   20150 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   20151 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   20152 		if eval test \${$cacheid+y}
   20153 then :
   20154   printf %s "(cached) " >&6
   20155 else case e in #(
   20156   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20157 /* end confdefs.h.  */
   20158 int i;
   20159 int
   20160 main (void)
   20161 {
   20162 
   20163   ;
   20164   return 0;
   20165 }
   20166 _ACEOF
   20167 if ac_fn_c_try_link "$LINENO"
   20168 then :
   20169   eval $cacheid=yes
   20170 else case e in #(
   20171   e) eval $cacheid=no ;;
   20172 esac
   20173 fi
   20174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20175     conftest$ac_exeext conftest.$ac_ext ;;
   20176 esac
   20177 fi
   20178 
   20179 
   20180 		CFLAGS="$xorg_testset_save_CFLAGS"
   20181 
   20182 		eval supported=\$$cacheid
   20183 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20184 printf '%s\n' "$supported" >&6; }
   20185 		if test "$supported" = "yes" ; then
   20186 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   20187 			found="yes"
   20188 		fi
   20189 	fi
   20190 
   20191 
   20192 fi
   20193 
   20194 
   20195 
   20196 
   20197 
   20198 
   20199 
   20200 		CWARNFLAGS="$BASE_CFLAGS"
   20201 		if  test "x$GCC" = xyes ; then
   20202 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   20203 		fi
   20204 
   20205 
   20206 
   20207 
   20208 
   20209 
   20210 
   20211 
   20212 # Check whether --enable-strict-compilation was given.
   20213 if test ${enable_strict_compilation+y}
   20214 then :
   20215   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20216 else case e in #(
   20217   e) STRICT_COMPILE=no ;;
   20218 esac
   20219 fi
   20220 
   20221 
   20222 
   20223 
   20224 
   20225 
   20226 STRICT_CFLAGS=""
   20227 
   20228 
   20229 
   20230 
   20231 
   20232 
   20233 
   20234 
   20235 
   20236 
   20237 
   20238 
   20239 
   20240 xorg_testset_save_CFLAGS="$CFLAGS"
   20241 
   20242 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20243 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20244 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20245 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20246 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20247 then :
   20248   printf %s "(cached) " >&6
   20249 else case e in #(
   20250   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20251 /* end confdefs.h.  */
   20252 int i;
   20253 _ACEOF
   20254 if ac_fn_c_try_compile "$LINENO"
   20255 then :
   20256   xorg_cv_cc_flag_unknown_warning_option=yes
   20257 else case e in #(
   20258   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20259 esac
   20260 fi
   20261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20262 esac
   20263 fi
   20264 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20265 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20267 	CFLAGS="$xorg_testset_save_CFLAGS"
   20268 fi
   20269 
   20270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20273 	fi
   20274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20275 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20276 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20277 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20278 then :
   20279   printf %s "(cached) " >&6
   20280 else case e in #(
   20281   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20282 /* end confdefs.h.  */
   20283 int i;
   20284 _ACEOF
   20285 if ac_fn_c_try_compile "$LINENO"
   20286 then :
   20287   xorg_cv_cc_flag_unused_command_line_argument=yes
   20288 else case e in #(
   20289   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20290 esac
   20291 fi
   20292 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20293 esac
   20294 fi
   20295 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20296 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20297 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20298 	CFLAGS="$xorg_testset_save_CFLAGS"
   20299 fi
   20300 
   20301 found="no"
   20302 
   20303 	if test $found = "no" ; then
   20304 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20306 		fi
   20307 
   20308 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20310 		fi
   20311 
   20312 		CFLAGS="$CFLAGS -pedantic"
   20313 
   20314 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   20315 printf %s "checking if $CC supports -pedantic... " >&6; }
   20316 		cacheid=xorg_cv_cc_flag__pedantic
   20317 		if eval test \${$cacheid+y}
   20318 then :
   20319   printf %s "(cached) " >&6
   20320 else case e in #(
   20321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20322 /* end confdefs.h.  */
   20323 int i;
   20324 int
   20325 main (void)
   20326 {
   20327 
   20328   ;
   20329   return 0;
   20330 }
   20331 _ACEOF
   20332 if ac_fn_c_try_link "$LINENO"
   20333 then :
   20334   eval $cacheid=yes
   20335 else case e in #(
   20336   e) eval $cacheid=no ;;
   20337 esac
   20338 fi
   20339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20340     conftest$ac_exeext conftest.$ac_ext ;;
   20341 esac
   20342 fi
   20343 
   20344 
   20345 		CFLAGS="$xorg_testset_save_CFLAGS"
   20346 
   20347 		eval supported=\$$cacheid
   20348 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20349 printf '%s\n' "$supported" >&6; }
   20350 		if test "$supported" = "yes" ; then
   20351 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   20352 			found="yes"
   20353 		fi
   20354 	fi
   20355 
   20356 
   20357 
   20358 
   20359 
   20360 
   20361 
   20362 
   20363 
   20364 
   20365 
   20366 
   20367 
   20368 
   20369 
   20370 xorg_testset_save_CFLAGS="$CFLAGS"
   20371 
   20372 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20373 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20374 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20375 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20376 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20377 then :
   20378   printf %s "(cached) " >&6
   20379 else case e in #(
   20380   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20381 /* end confdefs.h.  */
   20382 int i;
   20383 _ACEOF
   20384 if ac_fn_c_try_compile "$LINENO"
   20385 then :
   20386   xorg_cv_cc_flag_unknown_warning_option=yes
   20387 else case e in #(
   20388   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20389 esac
   20390 fi
   20391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20392 esac
   20393 fi
   20394 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20395 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20396 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20397 	CFLAGS="$xorg_testset_save_CFLAGS"
   20398 fi
   20399 
   20400 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20401 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20402 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20403 	fi
   20404 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20405 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20406 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20407 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20408 then :
   20409   printf %s "(cached) " >&6
   20410 else case e in #(
   20411   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20412 /* end confdefs.h.  */
   20413 int i;
   20414 _ACEOF
   20415 if ac_fn_c_try_compile "$LINENO"
   20416 then :
   20417   xorg_cv_cc_flag_unused_command_line_argument=yes
   20418 else case e in #(
   20419   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20420 esac
   20421 fi
   20422 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20423 esac
   20424 fi
   20425 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20426 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20427 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20428 	CFLAGS="$xorg_testset_save_CFLAGS"
   20429 fi
   20430 
   20431 found="no"
   20432 
   20433 	if test $found = "no" ; then
   20434 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20436 		fi
   20437 
   20438 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20440 		fi
   20441 
   20442 		CFLAGS="$CFLAGS -Werror"
   20443 
   20444 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20445 printf %s "checking if $CC supports -Werror... " >&6; }
   20446 		cacheid=xorg_cv_cc_flag__Werror
   20447 		if eval test \${$cacheid+y}
   20448 then :
   20449   printf %s "(cached) " >&6
   20450 else case e in #(
   20451   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20452 /* end confdefs.h.  */
   20453 int i;
   20454 int
   20455 main (void)
   20456 {
   20457 
   20458   ;
   20459   return 0;
   20460 }
   20461 _ACEOF
   20462 if ac_fn_c_try_link "$LINENO"
   20463 then :
   20464   eval $cacheid=yes
   20465 else case e in #(
   20466   e) eval $cacheid=no ;;
   20467 esac
   20468 fi
   20469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20470     conftest$ac_exeext conftest.$ac_ext ;;
   20471 esac
   20472 fi
   20473 
   20474 
   20475 		CFLAGS="$xorg_testset_save_CFLAGS"
   20476 
   20477 		eval supported=\$$cacheid
   20478 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20479 printf '%s\n' "$supported" >&6; }
   20480 		if test "$supported" = "yes" ; then
   20481 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20482 			found="yes"
   20483 		fi
   20484 	fi
   20485 
   20486 	if test $found = "no" ; then
   20487 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20488 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20489 		fi
   20490 
   20491 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20492 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20493 		fi
   20494 
   20495 		CFLAGS="$CFLAGS -errwarn"
   20496 
   20497 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20498 printf %s "checking if $CC supports -errwarn... " >&6; }
   20499 		cacheid=xorg_cv_cc_flag__errwarn
   20500 		if eval test \${$cacheid+y}
   20501 then :
   20502   printf %s "(cached) " >&6
   20503 else case e in #(
   20504   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20505 /* end confdefs.h.  */
   20506 int i;
   20507 int
   20508 main (void)
   20509 {
   20510 
   20511   ;
   20512   return 0;
   20513 }
   20514 _ACEOF
   20515 if ac_fn_c_try_link "$LINENO"
   20516 then :
   20517   eval $cacheid=yes
   20518 else case e in #(
   20519   e) eval $cacheid=no ;;
   20520 esac
   20521 fi
   20522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20523     conftest$ac_exeext conftest.$ac_ext ;;
   20524 esac
   20525 fi
   20526 
   20527 
   20528 		CFLAGS="$xorg_testset_save_CFLAGS"
   20529 
   20530 		eval supported=\$$cacheid
   20531 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20532 printf '%s\n' "$supported" >&6; }
   20533 		if test "$supported" = "yes" ; then
   20534 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20535 			found="yes"
   20536 		fi
   20537 	fi
   20538 
   20539 
   20540 
   20541 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20542 # activate it with -Werror, so we add it here explicitly.
   20543 
   20544 
   20545 
   20546 
   20547 
   20548 
   20549 
   20550 
   20551 
   20552 
   20553 
   20554 
   20555 
   20556 xorg_testset_save_CFLAGS="$CFLAGS"
   20557 
   20558 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20560 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20561 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20562 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20563 then :
   20564   printf %s "(cached) " >&6
   20565 else case e in #(
   20566   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20567 /* end confdefs.h.  */
   20568 int i;
   20569 _ACEOF
   20570 if ac_fn_c_try_compile "$LINENO"
   20571 then :
   20572   xorg_cv_cc_flag_unknown_warning_option=yes
   20573 else case e in #(
   20574   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20575 esac
   20576 fi
   20577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20578 esac
   20579 fi
   20580 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20581 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20583 	CFLAGS="$xorg_testset_save_CFLAGS"
   20584 fi
   20585 
   20586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20589 	fi
   20590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20591 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20592 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20593 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20594 then :
   20595   printf %s "(cached) " >&6
   20596 else case e in #(
   20597   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20598 /* end confdefs.h.  */
   20599 int i;
   20600 _ACEOF
   20601 if ac_fn_c_try_compile "$LINENO"
   20602 then :
   20603   xorg_cv_cc_flag_unused_command_line_argument=yes
   20604 else case e in #(
   20605   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20606 esac
   20607 fi
   20608 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20609 esac
   20610 fi
   20611 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20612 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20614 	CFLAGS="$xorg_testset_save_CFLAGS"
   20615 fi
   20616 
   20617 found="no"
   20618 
   20619 	if test $found = "no" ; then
   20620 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20622 		fi
   20623 
   20624 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20626 		fi
   20627 
   20628 		CFLAGS="$CFLAGS -Werror=attributes"
   20629 
   20630 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20631 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20632 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20633 		if eval test \${$cacheid+y}
   20634 then :
   20635   printf %s "(cached) " >&6
   20636 else case e in #(
   20637   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20638 /* end confdefs.h.  */
   20639 int i;
   20640 int
   20641 main (void)
   20642 {
   20643 
   20644   ;
   20645   return 0;
   20646 }
   20647 _ACEOF
   20648 if ac_fn_c_try_link "$LINENO"
   20649 then :
   20650   eval $cacheid=yes
   20651 else case e in #(
   20652   e) eval $cacheid=no ;;
   20653 esac
   20654 fi
   20655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20656     conftest$ac_exeext conftest.$ac_ext ;;
   20657 esac
   20658 fi
   20659 
   20660 
   20661 		CFLAGS="$xorg_testset_save_CFLAGS"
   20662 
   20663 		eval supported=\$$cacheid
   20664 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20665 printf '%s\n' "$supported" >&6; }
   20666 		if test "$supported" = "yes" ; then
   20667 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20668 			found="yes"
   20669 		fi
   20670 	fi
   20671 
   20672 
   20673 
   20674 if test "x$STRICT_COMPILE" = "xyes"; then
   20675     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20676     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20677 fi
   20678 
   20679 
   20680 
   20681 
   20682 
   20683 
   20684 
   20685 
   20686 cat >>confdefs.h <<_ACEOF
   20687 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20688 _ACEOF
   20689 
   20690 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20691 	if test "x$PVM" = "x"; then
   20692 		PVM="0"
   20693 	fi
   20694 
   20695 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20696 
   20697 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20698 	if test "x$PVP" = "x"; then
   20699 		PVP="0"
   20700 	fi
   20701 
   20702 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20703 
   20704 
   20705 
   20706 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20707 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20708 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20709 touch \$(top_srcdir)/ChangeLog; \
   20710 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20711 
   20712 
   20713 
   20714 
   20715 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20716 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20717 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20718 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20719 touch \$(top_srcdir)/INSTALL; \
   20720 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20721 
   20722 
   20723 
   20724 
   20725 
   20726 
   20727 case $host_os in
   20728     solaris*)
   20729         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20730         # check for a man page file found in later versions that use
   20731         # traditional section numbers instead
   20732         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20733 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20734 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20735 then :
   20736   printf %s "(cached) " >&6
   20737 else case e in #(
   20738   e) test "$cross_compiling" = yes &&
   20739   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20740 if test -r "/usr/share/man/man7/attributes.7"; then
   20741   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20742 else
   20743   ac_cv_file__usr_share_man_man7_attributes_7=no
   20744 fi ;;
   20745 esac
   20746 fi
   20747 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20748 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20749 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20750 then :
   20751   SYSV_MAN_SECTIONS=false
   20752 else case e in #(
   20753   e) SYSV_MAN_SECTIONS=true ;;
   20754 esac
   20755 fi
   20756 
   20757         ;;
   20758     *) SYSV_MAN_SECTIONS=false ;;
   20759 esac
   20760 
   20761 if test x$APP_MAN_SUFFIX = x    ; then
   20762     APP_MAN_SUFFIX=1
   20763 fi
   20764 if test x$APP_MAN_DIR = x    ; then
   20765     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20766 fi
   20767 
   20768 if test x$LIB_MAN_SUFFIX = x    ; then
   20769     LIB_MAN_SUFFIX=3
   20770 fi
   20771 if test x$LIB_MAN_DIR = x    ; then
   20772     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20773 fi
   20774 
   20775 if test x$FILE_MAN_SUFFIX = x    ; then
   20776     case $SYSV_MAN_SECTIONS in
   20777 	true)				FILE_MAN_SUFFIX=4  ;;
   20778 	*)				FILE_MAN_SUFFIX=5  ;;
   20779     esac
   20780 fi
   20781 if test x$FILE_MAN_DIR = x    ; then
   20782     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20783 fi
   20784 
   20785 if test x$MISC_MAN_SUFFIX = x    ; then
   20786     case $SYSV_MAN_SECTIONS in
   20787 	true)				MISC_MAN_SUFFIX=5  ;;
   20788 	*)				MISC_MAN_SUFFIX=7  ;;
   20789     esac
   20790 fi
   20791 if test x$MISC_MAN_DIR = x    ; then
   20792     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20793 fi
   20794 
   20795 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20796     case $SYSV_MAN_SECTIONS in
   20797 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20798 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20799     esac
   20800 fi
   20801 if test x$DRIVER_MAN_DIR = x    ; then
   20802     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20803 fi
   20804 
   20805 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20806     case $SYSV_MAN_SECTIONS in
   20807 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20808 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20809     esac
   20810 fi
   20811 if test x$ADMIN_MAN_DIR = x    ; then
   20812     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20813 fi
   20814 
   20815 
   20816 
   20817 
   20818 
   20819 
   20820 
   20821 
   20822 
   20823 
   20824 
   20825 
   20826 
   20827 
   20828 
   20829 XORG_MAN_PAGE="X Version 11"
   20830 
   20831 MAN_SUBSTS="\
   20832 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20833 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20834 	-e 's|__xservername__|Xorg|g' \
   20835 	-e 's|__xconfigfile__|xorg.conf|g' \
   20836 	-e 's|__projectroot__|\$(prefix)|g' \
   20837 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20838 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20839 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20840 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20841 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20842 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20843 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20844 
   20845 
   20846 
   20847 
   20848 AM_DEFAULT_VERBOSITY=0
   20849 
   20850 
   20851 
   20852 
   20853 
   20854 # Checks for library functions
   20855 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   20856 if test "x$ac_cv_func_strlcat" = xyes
   20857 then :
   20858   printf '%s\n' "#define HAVE_STRLCAT 1" >>confdefs.h
   20859 
   20860 fi
   20861 
   20862 ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
   20863 if test "x$ac_cv_func_fork" = xyes
   20864 then :
   20865 
   20866 else case e in #(
   20867   e) printf '%s\n' "#define NO_ZPIPE 1" >>confdefs.h
   20868  ;;
   20869 esac
   20870 fi
   20871 
   20872 
   20873 # Obtain compiler/linker options for dependencies
   20874 
   20875 pkg_failed=no
   20876 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for XPM" >&5
   20877 printf %s "checking for XPM... " >&6; }
   20878 
   20879 if test -n "$XPM_CFLAGS"; then
   20880     pkg_cv_XPM_CFLAGS="$XPM_CFLAGS"
   20881  elif test -n "$PKG_CONFIG"; then
   20882     if test -n "$PKG_CONFIG" && \
   20883     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   20884   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   20885   ac_status=$?
   20886   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20887   test $ac_status = 0; }; then
   20888   pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11" 2>/dev/null`
   20889 		      test "x$?" != "x0" && pkg_failed=yes
   20890 else
   20891   pkg_failed=yes
   20892 fi
   20893  else
   20894     pkg_failed=untried
   20895 fi
   20896 if test -n "$XPM_LIBS"; then
   20897     pkg_cv_XPM_LIBS="$XPM_LIBS"
   20898  elif test -n "$PKG_CONFIG"; then
   20899     if test -n "$PKG_CONFIG" && \
   20900     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   20901   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   20902   ac_status=$?
   20903   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20904   test $ac_status = 0; }; then
   20905   pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xproto x11" 2>/dev/null`
   20906 		      test "x$?" != "x0" && pkg_failed=yes
   20907 else
   20908   pkg_failed=yes
   20909 fi
   20910  else
   20911     pkg_failed=untried
   20912 fi
   20913 
   20914 
   20915 
   20916 if test $pkg_failed = yes; then
   20917    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20918 printf '%s\n' "no" >&6; }
   20919 
   20920 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20921         _pkg_short_errors_supported=yes
   20922 else
   20923         _pkg_short_errors_supported=no
   20924 fi
   20925         if test $_pkg_short_errors_supported = yes; then
   20926 	        XPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto x11" 2>&1`
   20927         else
   20928 	        XPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto x11" 2>&1`
   20929         fi
   20930 	# Put the nasty error message in config.log where it belongs
   20931 	echo "$XPM_PKG_ERRORS" >&5
   20932 
   20933 	as_fn_error $? "Package requirements (xproto x11) were not met:
   20934 
   20935 $XPM_PKG_ERRORS
   20936 
   20937 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20938 installed software in a non-standard prefix.
   20939 
   20940 Alternatively, you may set the environment variables XPM_CFLAGS
   20941 and XPM_LIBS to avoid the need to call pkg-config.
   20942 See the pkg-config man page for more details." "$LINENO" 5
   20943 elif test $pkg_failed = untried; then
   20944      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20945 printf '%s\n' "no" >&6; }
   20946 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20947 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   20948 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20949 is in your PATH or set the PKG_CONFIG environment variable to the full
   20950 path to pkg-config.
   20951 
   20952 Alternatively, you may set the environment variables XPM_CFLAGS
   20953 and XPM_LIBS to avoid the need to call pkg-config.
   20954 See the pkg-config man page for more details.
   20955 
   20956 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20957 See 'config.log' for more details" "$LINENO" 5; }
   20958 else
   20959 	XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
   20960 	XPM_LIBS=$pkg_cv_XPM_LIBS
   20961         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20962 printf '%s\n' "yes" >&6; }
   20963 
   20964 fi
   20965 
   20966 pkg_failed=no
   20967 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for SXPM" >&5
   20968 printf %s "checking for SXPM... " >&6; }
   20969 
   20970 if test -n "$SXPM_CFLAGS"; then
   20971     pkg_cv_SXPM_CFLAGS="$SXPM_CFLAGS"
   20972  elif test -n "$PKG_CONFIG"; then
   20973     if test -n "$PKG_CONFIG" && \
   20974     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   20975   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   20976   ac_status=$?
   20977   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20978   test $ac_status = 0; }; then
   20979   pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   20980 		      test "x$?" != "x0" && pkg_failed=yes
   20981 else
   20982   pkg_failed=yes
   20983 fi
   20984  else
   20985     pkg_failed=untried
   20986 fi
   20987 if test -n "$SXPM_LIBS"; then
   20988     pkg_cv_SXPM_LIBS="$SXPM_LIBS"
   20989  elif test -n "$PKG_CONFIG"; then
   20990     if test -n "$PKG_CONFIG" && \
   20991     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   20992   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   20993   ac_status=$?
   20994   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20995   test $ac_status = 0; }; then
   20996   pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   20997 		      test "x$?" != "x0" && pkg_failed=yes
   20998 else
   20999   pkg_failed=yes
   21000 fi
   21001  else
   21002     pkg_failed=untried
   21003 fi
   21004 
   21005 
   21006 
   21007 if test $pkg_failed = yes; then
   21008    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21009 printf '%s\n' "no" >&6; }
   21010 
   21011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21012         _pkg_short_errors_supported=yes
   21013 else
   21014         _pkg_short_errors_supported=no
   21015 fi
   21016         if test $_pkg_short_errors_supported = yes; then
   21017 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   21018         else
   21019 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   21020         fi
   21021 	# Put the nasty error message in config.log where it belongs
   21022 	echo "$SXPM_PKG_ERRORS" >&5
   21023 
   21024 	build_sxpm=false
   21025 elif test $pkg_failed = untried; then
   21026      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21027 printf '%s\n' "no" >&6; }
   21028 	build_sxpm=false
   21029 else
   21030 	SXPM_CFLAGS=$pkg_cv_SXPM_CFLAGS
   21031 	SXPM_LIBS=$pkg_cv_SXPM_LIBS
   21032         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21033 printf '%s\n' "yes" >&6; }
   21034 	build_sxpm=true
   21035 fi
   21036  if test x$build_sxpm = xtrue; then
   21037   BUILD_SXPM_TRUE=
   21038   BUILD_SXPM_FALSE='#'
   21039 else
   21040   BUILD_SXPM_TRUE='#'
   21041   BUILD_SXPM_FALSE=
   21042 fi
   21043 
   21044 
   21045 # Internationalization & localization support
   21046 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
   21047 printf %s "checking for library containing gettext... " >&6; }
   21048 if test ${ac_cv_search_gettext+y}
   21049 then :
   21050   printf %s "(cached) " >&6
   21051 else case e in #(
   21052   e) ac_func_search_save_LIBS=$LIBS
   21053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21054 /* end confdefs.h.  */
   21055 
   21056 /* Override any GCC internal prototype to avoid an error.
   21057    Use char because int might match the return type of a GCC
   21058    builtin and then its argument prototype would still apply.
   21059    The 'extern "C"' is for builds by C++ compilers;
   21060    although this is not generally supported in C code supporting it here
   21061    has little cost and some practical benefit (sr 110532).  */
   21062 #ifdef __cplusplus
   21063 extern "C"
   21064 #endif
   21065 char gettext (void);
   21066 int
   21067 main (void)
   21068 {
   21069 return gettext ();
   21070   ;
   21071   return 0;
   21072 }
   21073 _ACEOF
   21074 for ac_lib in '' intl
   21075 do
   21076   if test -z "$ac_lib"; then
   21077     ac_res="none required"
   21078   else
   21079     ac_res=-l$ac_lib
   21080     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21081   fi
   21082   if ac_fn_c_try_link "$LINENO"
   21083 then :
   21084   ac_cv_search_gettext=$ac_res
   21085 fi
   21086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21087     conftest$ac_exeext
   21088   if test ${ac_cv_search_gettext+y}
   21089 then :
   21090   break
   21091 fi
   21092 done
   21093 if test ${ac_cv_search_gettext+y}
   21094 then :
   21095 
   21096 else case e in #(
   21097   e) ac_cv_search_gettext=no ;;
   21098 esac
   21099 fi
   21100 rm conftest.$ac_ext
   21101 LIBS=$ac_func_search_save_LIBS ;;
   21102 esac
   21103 fi
   21104 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
   21105 printf '%s\n' "$ac_cv_search_gettext" >&6; }
   21106 ac_res=$ac_cv_search_gettext
   21107 if test "$ac_res" != no
   21108 then :
   21109   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21110   USE_GETTEXT="yes"
   21111 else case e in #(
   21112   e) USE_GETTEXT="no" ;;
   21113 esac
   21114 fi
   21115 
   21116 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5
   21117 printf %s "checking where to install localized messages... " >&6; }
   21118 
   21119 # Check whether --with-localedir was given.
   21120 if test ${with_localedir+y}
   21121 then :
   21122   withval=$with_localedir; LOCALEDIR=${withval}
   21123 else case e in #(
   21124   e) LOCALEDIR=${datadir}/locale ;;
   21125 esac
   21126 fi
   21127 
   21128 
   21129   prefix_NONE=
   21130   exec_prefix_NONE=
   21131   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   21132   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   21133   eval ax_define_dir="\"$LOCALEDIR\""
   21134   eval ax_define_dir="\"$ax_define_dir\""
   21135   LOCALEDIR="$ax_define_dir"
   21136 
   21137 
   21138 printf '%s\n' "#define LOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   21139 
   21140   test "$prefix_NONE" && prefix=NONE
   21141   test "$exec_prefix_NONE" && exec_prefix=NONE
   21142 
   21143 if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
   21144 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
   21145 printf '%s\n' "nowhere" >&6; }
   21146 	USE_GETTEXT="no"
   21147 else
   21148 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5
   21149 printf '%s\n' "$LOCALEDIR" >&6; }
   21150 fi
   21151 
   21152 if test "x$USE_GETTEXT" = "xyes" ; then
   21153 
   21154 printf '%s\n' "#define USE_GETTEXT 1" >>confdefs.h
   21155 
   21156 fi
   21157  if test "x$USE_GETTEXT" = "xyes"; then
   21158   USE_GETTEXT_TRUE=
   21159   USE_GETTEXT_FALSE='#'
   21160 else
   21161   USE_GETTEXT_TRUE='#'
   21162   USE_GETTEXT_FALSE=
   21163 fi
   21164 
   21165 
   21166 
   21167 # Optional feature: When a filename ending in .Z or .gz is requested,
   21168 # open a pipe to a newly forked compress/uncompress/gzip command to
   21169 # handle it.
   21170 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to handle compressed pixmaps" >&5
   21171 printf %s "checking whether to handle compressed pixmaps... " >&6; }
   21172 case $host_os in
   21173         *mingw*)        zpipe_default="no" ;;
   21174         *)              zpipe_default="yes" ;;
   21175 esac
   21176 # Check whether --enable-open-zfile was given.
   21177 if test ${enable_open_zfile+y}
   21178 then :
   21179   enableval=$enable_open_zfile; OPEN_ZFILE=$enableval
   21180 else case e in #(
   21181   e) OPEN_ZFILE=yes ;;
   21182 esac
   21183 fi
   21184 
   21185 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OPEN_ZFILE" >&5
   21186 printf '%s\n' "$OPEN_ZFILE" >&6; }
   21187  if test "x$OPEN_ZFILE" = "xyes"; then
   21188   COMPRESSED_PIXMAPS_TRUE=
   21189   COMPRESSED_PIXMAPS_FALSE='#'
   21190 else
   21191   COMPRESSED_PIXMAPS_TRUE='#'
   21192   COMPRESSED_PIXMAPS_FALSE=
   21193 fi
   21194 
   21195 if test x$OPEN_ZFILE = xno ; then
   21196 
   21197 printf '%s\n' "#define NO_ZPIPE 1" >>confdefs.h
   21198 
   21199 else
   21200         # gzip is absolutely required for the compressed file handling code
   21201 
   21202 # Extract the first word of "gzip", so it can be a program name with args.
   21203 set dummy gzip; ac_word=$2
   21204 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21205 printf %s "checking for $ac_word... " >&6; }
   21206 if test ${ac_cv_path_XPM_PATH_GZIP+y}
   21207 then :
   21208   printf %s "(cached) " >&6
   21209 else case e in #(
   21210   e) case $XPM_PATH_GZIP in
   21211   [\\/]* | ?:[\\/]*)
   21212   ac_cv_path_XPM_PATH_GZIP="$XPM_PATH_GZIP" # Let the user override the test with a path.
   21213   ;;
   21214   *)
   21215   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21216 for as_dir in $PATH
   21217 do
   21218   IFS=$as_save_IFS
   21219   case $as_dir in #(((
   21220     '') as_dir=./ ;;
   21221     */) ;;
   21222     *) as_dir=$as_dir/ ;;
   21223   esac
   21224     for ac_exec_ext in '' $ac_executable_extensions; do
   21225   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21226     ac_cv_path_XPM_PATH_GZIP="$as_dir$ac_word$ac_exec_ext"
   21227     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21228     break 2
   21229   fi
   21230 done
   21231   done
   21232 IFS=$as_save_IFS
   21233 
   21234   ;;
   21235 esac ;;
   21236 esac
   21237 fi
   21238 XPM_PATH_GZIP=$ac_cv_path_XPM_PATH_GZIP
   21239 if test -n "$XPM_PATH_GZIP"; then
   21240   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_GZIP" >&5
   21241 printf '%s\n' "$XPM_PATH_GZIP" >&6; }
   21242 else
   21243   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21244 printf '%s\n' "no" >&6; }
   21245 fi
   21246 
   21247 
   21248 if test "x$XPM_PATH_GZIP" = "x"
   21249 then :
   21250   as_fn_error $? "gzip not found, set XPM_PATH_GZIP or use --disable-open-zfile" "$LINENO" 5
   21251 else case e in #(
   21252   e)
   21253 printf '%s\n' "#define XPM_PATH_GZIP \"$XPM_PATH_GZIP\"" >>confdefs.h
   21254  ;;
   21255 esac
   21256 fi
   21257 
   21258 
   21259         # if compress is not found, we disable writing to .Z files,
   21260         # but leave the rest of the compression code active
   21261 
   21262 # Extract the first word of "compress", so it can be a program name with args.
   21263 set dummy compress; ac_word=$2
   21264 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21265 printf %s "checking for $ac_word... " >&6; }
   21266 if test ${ac_cv_path_XPM_PATH_COMPRESS+y}
   21267 then :
   21268   printf %s "(cached) " >&6
   21269 else case e in #(
   21270   e) case $XPM_PATH_COMPRESS in
   21271   [\\/]* | ?:[\\/]*)
   21272   ac_cv_path_XPM_PATH_COMPRESS="$XPM_PATH_COMPRESS" # Let the user override the test with a path.
   21273   ;;
   21274   *)
   21275   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21276 for as_dir in $PATH
   21277 do
   21278   IFS=$as_save_IFS
   21279   case $as_dir in #(((
   21280     '') as_dir=./ ;;
   21281     */) ;;
   21282     *) as_dir=$as_dir/ ;;
   21283   esac
   21284     for ac_exec_ext in '' $ac_executable_extensions; do
   21285   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21286     ac_cv_path_XPM_PATH_COMPRESS="$as_dir$ac_word$ac_exec_ext"
   21287     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21288     break 2
   21289   fi
   21290 done
   21291   done
   21292 IFS=$as_save_IFS
   21293 
   21294   ;;
   21295 esac ;;
   21296 esac
   21297 fi
   21298 XPM_PATH_COMPRESS=$ac_cv_path_XPM_PATH_COMPRESS
   21299 if test -n "$XPM_PATH_COMPRESS"; then
   21300   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_COMPRESS" >&5
   21301 printf '%s\n' "$XPM_PATH_COMPRESS" >&6; }
   21302 else
   21303   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21304 printf '%s\n' "no" >&6; }
   21305 fi
   21306 
   21307 
   21308 if test "x$XPM_PATH_COMPRESS" = "x"
   21309 then :
   21310   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: compress not found, disabling writing of .Z files" >&5
   21311 printf '%s\n' "$as_me: WARNING: compress not found, disabling writing of .Z files" >&2;}
   21312 else case e in #(
   21313   e)
   21314 printf '%s\n' "#define XPM_PATH_COMPRESS \"$XPM_PATH_COMPRESS\"" >>confdefs.h
   21315  ;;
   21316 esac
   21317 fi
   21318 
   21319         # if uncompress is not found, we use gzip to read .Z files
   21320 
   21321 # Extract the first word of "uncompress", so it can be a program name with args.
   21322 set dummy uncompress; ac_word=$2
   21323 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21324 printf %s "checking for $ac_word... " >&6; }
   21325 if test ${ac_cv_path_XPM_PATH_UNCOMPRESS+y}
   21326 then :
   21327   printf %s "(cached) " >&6
   21328 else case e in #(
   21329   e) case $XPM_PATH_UNCOMPRESS in
   21330   [\\/]* | ?:[\\/]*)
   21331   ac_cv_path_XPM_PATH_UNCOMPRESS="$XPM_PATH_UNCOMPRESS" # Let the user override the test with a path.
   21332   ;;
   21333   *)
   21334   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21335 for as_dir in $PATH
   21336 do
   21337   IFS=$as_save_IFS
   21338   case $as_dir in #(((
   21339     '') as_dir=./ ;;
   21340     */) ;;
   21341     *) as_dir=$as_dir/ ;;
   21342   esac
   21343     for ac_exec_ext in '' $ac_executable_extensions; do
   21344   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21345     ac_cv_path_XPM_PATH_UNCOMPRESS="$as_dir$ac_word$ac_exec_ext"
   21346     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21347     break 2
   21348   fi
   21349 done
   21350   done
   21351 IFS=$as_save_IFS
   21352 
   21353   ;;
   21354 esac ;;
   21355 esac
   21356 fi
   21357 XPM_PATH_UNCOMPRESS=$ac_cv_path_XPM_PATH_UNCOMPRESS
   21358 if test -n "$XPM_PATH_UNCOMPRESS"; then
   21359   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_UNCOMPRESS" >&5
   21360 printf '%s\n' "$XPM_PATH_UNCOMPRESS" >&6; }
   21361 else
   21362   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21363 printf '%s\n' "no" >&6; }
   21364 fi
   21365 
   21366 
   21367 if test "x$XPM_PATH_UNCOMPRESS" = "x"
   21368 then :
   21369 
   21370 else case e in #(
   21371   e)
   21372 printf '%s\n' "#define XPM_PATH_UNCOMPRESS \"$XPM_PATH_UNCOMPRESS\"" >>confdefs.h
   21373  ;;
   21374 esac
   21375 fi
   21376 
   21377 
   21378 
   21379   for ac_func in closefrom close_range
   21380 do :
   21381   as_ac_var=`printf '%s\n' "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
   21382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   21383 if eval test \"x\$"$as_ac_var"\" = x"yes"
   21384 then :
   21385   cat >>confdefs.h <<_ACEOF
   21386 #define `printf '%s\n' "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
   21387 _ACEOF
   21388  break
   21389 fi
   21390 
   21391 done
   21392 fi
   21393 
   21394 # Optional feature: When ___.xpm is requested, also look for ___.xpm.Z & .gz
   21395 # Replaces ZFILEDEF = -DSTAT_ZFILE in old Imakefile
   21396 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to search for compressed pixmaps" >&5
   21397 printf %s "checking whether to search for compressed pixmaps... " >&6; }
   21398 # Check whether --enable-stat-zfile was given.
   21399 if test ${enable_stat_zfile+y}
   21400 then :
   21401   enableval=$enable_stat_zfile; STAT_ZFILE=$enableval
   21402 else case e in #(
   21403   e) STAT_ZFILE=$OPEN_ZFILE ;;
   21404 esac
   21405 fi
   21406 
   21407 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STAT_ZFILE" >&5
   21408 printf '%s\n' "$STAT_ZFILE" >&6; }
   21409 if test x$STAT_ZFILE = xyes ; then
   21410 
   21411 printf '%s\n' "#define STAT_ZFILE 1" >>confdefs.h
   21412 
   21413 fi
   21414 
   21415 # --enable-unit-tests
   21416 
   21417 
   21418 
   21419 
   21420 
   21421 
   21422 
   21423 # Check for different types of support on different platforms
   21424 case $host_os in
   21425     solaris*)
   21426         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   21427 printf %s "checking for umem_alloc in -lumem... " >&6; }
   21428 if test ${ac_cv_lib_umem_umem_alloc+y}
   21429 then :
   21430   printf %s "(cached) " >&6
   21431 else case e in #(
   21432   e) ac_check_lib_save_LIBS=$LIBS
   21433 LIBS="-lumem  $LIBS"
   21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21435 /* end confdefs.h.  */
   21436 
   21437 /* Override any GCC internal prototype to avoid an error.
   21438    Use char because int might match the return type of a GCC
   21439    builtin and then its argument prototype would still apply.
   21440    The 'extern "C"' is for builds by C++ compilers;
   21441    although this is not generally supported in C code supporting it here
   21442    has little cost and some practical benefit (sr 110532).  */
   21443 #ifdef __cplusplus
   21444 extern "C"
   21445 #endif
   21446 char umem_alloc (void);
   21447 int
   21448 main (void)
   21449 {
   21450 return umem_alloc ();
   21451   ;
   21452   return 0;
   21453 }
   21454 _ACEOF
   21455 if ac_fn_c_try_link "$LINENO"
   21456 then :
   21457   ac_cv_lib_umem_umem_alloc=yes
   21458 else case e in #(
   21459   e) ac_cv_lib_umem_umem_alloc=no ;;
   21460 esac
   21461 fi
   21462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21463     conftest$ac_exeext conftest.$ac_ext
   21464 LIBS=$ac_check_lib_save_LIBS ;;
   21465 esac
   21466 fi
   21467 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   21468 printf '%s\n' "$ac_cv_lib_umem_umem_alloc" >&6; }
   21469 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
   21470 then :
   21471   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   21472 fi
   21473 
   21474         ;;
   21475     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   21476         # both directly and inverted, so should not be 0 or 255.
   21477         malloc_debug_env='MALLOC_PERTURB_=15'
   21478         ;;
   21479     darwin*)
   21480         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   21481         ;;
   21482     *bsd*)
   21483         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   21484         ;;
   21485 esac
   21486 
   21487 # User supplied flags override default flags
   21488 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   21489     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   21490 fi
   21491 
   21492 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   21493 
   21494 
   21495 
   21496 
   21497 
   21498 
   21499 
   21500 # Check whether --enable-unit-tests was given.
   21501 if test ${enable_unit_tests+y}
   21502 then :
   21503   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   21504 else case e in #(
   21505   e) enable_unit_tests=auto ;;
   21506 esac
   21507 fi
   21508 
   21509 
   21510  if test "x$enable_unit_tests" != xno; then
   21511   ENABLE_UNIT_TESTS_TRUE=
   21512   ENABLE_UNIT_TESTS_FALSE='#'
   21513 else
   21514   ENABLE_UNIT_TESTS_TRUE='#'
   21515   ENABLE_UNIT_TESTS_FALSE=
   21516 fi
   21517 
   21518 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   21519 printf %s "checking whether to build unit test cases... " >&6; }
   21520 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   21521 printf '%s\n' "$enable_unit_tests" >&6; }
   21522 
   21523 
   21524 
   21525 
   21526 
   21527 # Check whether --with-glib was given.
   21528 if test ${with_glib+y}
   21529 then :
   21530   withval=$with_glib; with_glib=$withval
   21531 else case e in #(
   21532   e) with_glib=auto ;;
   21533 esac
   21534 fi
   21535 
   21536 
   21537 
   21538 have_glib=no
   21539 # Do not probe GLib if user explicitly disabled unit testing
   21540 if test "x$enable_unit_tests" != x"no"; then
   21541   # Do not probe GLib if user explicitly disabled it
   21542   if test "x$with_glib" != x"no"; then
   21543 
   21544 pkg_failed=no
   21545 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
   21546 printf %s "checking for GLIB... " >&6; }
   21547 
   21548 if test -n "$GLIB_CFLAGS"; then
   21549     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
   21550  elif test -n "$PKG_CONFIG"; then
   21551     if test -n "$PKG_CONFIG" && \
   21552     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.46\""; } >&5
   21553   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.46") 2>&5
   21554   ac_status=$?
   21555   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21556   test $ac_status = 0; }; then
   21557   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.46" 2>/dev/null`
   21558 		      test "x$?" != "x0" && pkg_failed=yes
   21559 else
   21560   pkg_failed=yes
   21561 fi
   21562  else
   21563     pkg_failed=untried
   21564 fi
   21565 if test -n "$GLIB_LIBS"; then
   21566     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
   21567  elif test -n "$PKG_CONFIG"; then
   21568     if test -n "$PKG_CONFIG" && \
   21569     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.46\""; } >&5
   21570   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.46") 2>&5
   21571   ac_status=$?
   21572   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21573   test $ac_status = 0; }; then
   21574   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.46" 2>/dev/null`
   21575 		      test "x$?" != "x0" && pkg_failed=yes
   21576 else
   21577   pkg_failed=yes
   21578 fi
   21579  else
   21580     pkg_failed=untried
   21581 fi
   21582 
   21583 
   21584 
   21585 if test $pkg_failed = yes; then
   21586    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21587 printf '%s\n' "no" >&6; }
   21588 
   21589 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21590         _pkg_short_errors_supported=yes
   21591 else
   21592         _pkg_short_errors_supported=no
   21593 fi
   21594         if test $_pkg_short_errors_supported = yes; then
   21595 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.46" 2>&1`
   21596         else
   21597 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.46" 2>&1`
   21598         fi
   21599 	# Put the nasty error message in config.log where it belongs
   21600 	echo "$GLIB_PKG_ERRORS" >&5
   21601 
   21602 	have_glib=no
   21603 elif test $pkg_failed = untried; then
   21604      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21605 printf '%s\n' "no" >&6; }
   21606 	have_glib=no
   21607 else
   21608 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
   21609 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
   21610         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21611 printf '%s\n' "yes" >&6; }
   21612 	have_glib=yes
   21613 fi
   21614   fi
   21615 fi
   21616 
   21617 # Not having GLib when unit testing has been explicitly requested is an error
   21618 if test "x$enable_unit_tests" = x"yes"; then
   21619   if test "x$have_glib" = x"no"; then
   21620     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   21621   fi
   21622 fi
   21623 
   21624 # Having unit testing disabled when GLib has been explicitly requested is an error
   21625 if test "x$enable_unit_tests" = x"no"; then
   21626   if test "x$with_glib" = x"yes"; then
   21627     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   21628   fi
   21629 fi
   21630 
   21631 # Not having GLib when it has been explicitly requested is an error
   21632 if test "x$with_glib" = x"yes"; then
   21633   if test "x$have_glib" = x"no"; then
   21634     as_fn_error $? "--with-glib=yes specified but glib-2.0 not found" "$LINENO" 5
   21635   fi
   21636 fi
   21637 
   21638  if test "$have_glib" = yes; then
   21639   HAVE_GLIB_TRUE=
   21640   HAVE_GLIB_FALSE='#'
   21641 else
   21642   HAVE_GLIB_TRUE='#'
   21643   HAVE_GLIB_FALSE=
   21644 fi
   21645 
   21646 
   21647 if test "x$have_glib" = x"yes"; then
   21648        ac_fn_c_check_func "$LINENO" "g_pattern_spec_match_string" "ac_cv_func_g_pattern_spec_match_string"
   21649 if test "x$ac_cv_func_g_pattern_spec_match_string" = xyes
   21650 then :
   21651   printf '%s\n' "#define HAVE_G_PATTERN_SPEC_MATCH_STRING 1" >>confdefs.h
   21652 
   21653 fi
   21654 
   21655 fi
   21656 
   21657 
   21658 
   21659 
   21660 
   21661 # Check for different types of support on different platforms
   21662 case $host_os in
   21663     solaris*)
   21664         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   21665 printf %s "checking for umem_alloc in -lumem... " >&6; }
   21666 if test ${ac_cv_lib_umem_umem_alloc+y}
   21667 then :
   21668   printf %s "(cached) " >&6
   21669 else case e in #(
   21670   e) ac_check_lib_save_LIBS=$LIBS
   21671 LIBS="-lumem  $LIBS"
   21672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21673 /* end confdefs.h.  */
   21674 
   21675 /* Override any GCC internal prototype to avoid an error.
   21676    Use char because int might match the return type of a GCC
   21677    builtin and then its argument prototype would still apply.
   21678    The 'extern "C"' is for builds by C++ compilers;
   21679    although this is not generally supported in C code supporting it here
   21680    has little cost and some practical benefit (sr 110532).  */
   21681 #ifdef __cplusplus
   21682 extern "C"
   21683 #endif
   21684 char umem_alloc (void);
   21685 int
   21686 main (void)
   21687 {
   21688 return umem_alloc ();
   21689   ;
   21690   return 0;
   21691 }
   21692 _ACEOF
   21693 if ac_fn_c_try_link "$LINENO"
   21694 then :
   21695   ac_cv_lib_umem_umem_alloc=yes
   21696 else case e in #(
   21697   e) ac_cv_lib_umem_umem_alloc=no ;;
   21698 esac
   21699 fi
   21700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21701     conftest$ac_exeext conftest.$ac_ext
   21702 LIBS=$ac_check_lib_save_LIBS ;;
   21703 esac
   21704 fi
   21705 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   21706 printf '%s\n' "$ac_cv_lib_umem_umem_alloc" >&6; }
   21707 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
   21708 then :
   21709   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   21710 fi
   21711 
   21712         ;;
   21713     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   21714         # both directly and inverted, so should not be 0 or 255.
   21715         malloc_debug_env='MALLOC_PERTURB_=15'
   21716         ;;
   21717     darwin*)
   21718         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   21719         ;;
   21720     *bsd*)
   21721         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   21722         ;;
   21723 esac
   21724 
   21725 # User supplied flags override default flags
   21726 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   21727     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   21728 fi
   21729 
   21730 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   21731 
   21732 
   21733 
   21734 ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile man/Makefile src/Makefile sxpm/Makefile cxpm/Makefile test/Makefile xpm.pc"
   21735 
   21736 cat >confcache <<\_ACEOF
   21737 # This file is a shell script that caches the results of configure
   21738 # tests run on this system so they can be shared between configure
   21739 # scripts and configure runs, see configure's option --config-cache.
   21740 # It is not useful on other systems.  If it contains results you don't
   21741 # want to keep, you may remove or edit it.
   21742 #
   21743 # config.status only pays attention to the cache file if you give it
   21744 # the --recheck option to rerun configure.
   21745 #
   21746 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   21747 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   21748 # following values.
   21749 
   21750 _ACEOF
   21751 
   21752 ac_cache_dump |
   21753   sed '
   21754      /^ac_cv_env_/b end
   21755      t clear
   21756      :clear
   21757      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   21758      t end
   21759      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21760      :end' >>confcache
   21761 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21762   if test -w "$cache_file"; then
   21763     if test "x$cache_file" != "x/dev/null"; then
   21764       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21765 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   21766       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21767 	cat confcache >"$cache_file"
   21768       else
   21769         case $cache_file in #(
   21770         */* | ?:*)
   21771 	  mv -f confcache "$cache_file"$$ &&
   21772 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21773         *)
   21774 	  mv -f confcache "$cache_file" ;;
   21775 	esac
   21776       fi
   21777     fi
   21778   else
   21779     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21780 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   21781   fi
   21782 fi
   21783 rm -f confcache
   21784 
   21785 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21786 # Let make expand exec_prefix.
   21787 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21788 
   21789 DEFS=-DHAVE_CONFIG_H
   21790 
   21791 ac_libobjs=
   21792 ac_ltlibobjs=
   21793 U=
   21794 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21795   # 1. Remove the extension, and $U if already installed.
   21796   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21797   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   21798   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21799   #    will be set to the directory where LIBOBJS objects are built.
   21800   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21801   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21802 done
   21803 LIBOBJS=$ac_libobjs
   21804 
   21805 LTLIBOBJS=$ac_ltlibobjs
   21806 
   21807 
   21808 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21809 printf %s "checking that generated files are newer than configure... " >&6; }
   21810    if test -n "$am_sleep_pid"; then
   21811      # Hide warnings about reused PIDs.
   21812      wait $am_sleep_pid 2>/dev/null
   21813    fi
   21814    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21815 printf '%s\n' "done" >&6; }
   21816 case $enable_silent_rules in # (((
   21817   yes) AM_DEFAULT_VERBOSITY=0;;
   21818    no) AM_DEFAULT_VERBOSITY=1;;
   21819 esac
   21820 if test $am_cv_make_support_nested_variables = yes; then
   21821     AM_V='$(V)'
   21822   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   21823 else
   21824   AM_V=$AM_DEFAULT_VERBOSITY
   21825   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   21826 fi
   21827 
   21828  if test -n "$EXEEXT"; then
   21829   am__EXEEXT_TRUE=
   21830   am__EXEEXT_FALSE='#'
   21831 else
   21832   am__EXEEXT_TRUE='#'
   21833   am__EXEEXT_FALSE=
   21834 fi
   21835 
   21836 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21837   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21839 fi
   21840 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21841   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21843 fi
   21844 if test -z "${BUILD_SXPM_TRUE}" && test -z "${BUILD_SXPM_FALSE}"; then
   21845   as_fn_error $? "conditional \"BUILD_SXPM\" was never defined.
   21846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21847 fi
   21848 if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
   21849   as_fn_error $? "conditional \"USE_GETTEXT\" was never defined.
   21850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21851 fi
   21852 if test -z "${COMPRESSED_PIXMAPS_TRUE}" && test -z "${COMPRESSED_PIXMAPS_FALSE}"; then
   21853   as_fn_error $? "conditional \"COMPRESSED_PIXMAPS\" was never defined.
   21854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21855 fi
   21856 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   21857   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   21858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21859 fi
   21860 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
   21861   as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
   21862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21863 fi
   21864 
   21865 : "${CONFIG_STATUS=./config.status}"
   21866 case $CONFIG_STATUS in #(
   21867   -*) :
   21868     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   21869   */*) :
   21870      ;; #(
   21871   *) :
   21872     CONFIG_STATUS=./$CONFIG_STATUS ;;
   21873 esac
   21874 
   21875 ac_write_fail=0
   21876 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   21877 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21878 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   21879 as_write_fail=0
   21880 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   21881 #! $SHELL
   21882 # Generated by $as_me.
   21883 # Run this file to recreate the current configuration.
   21884 # Compiler output produced by configure, useful for debugging
   21885 # configure, is in config.log if it exists.
   21886 
   21887 debug=false
   21888 ac_cs_recheck=false
   21889 ac_cs_silent=false
   21890 
   21891 SHELL=\${CONFIG_SHELL-$SHELL}
   21892 export SHELL
   21893 _ASEOF
   21894 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   21895 ## -------------------- ##
   21896 ## M4sh Initialization. ##
   21897 ## -------------------- ##
   21898 
   21899 # Be more Bourne compatible
   21900 DUALCASE=1; export DUALCASE # for MKS sh
   21901 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   21902 then :
   21903   emulate sh
   21904   NULLCMD=:
   21905   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21906   # contradicts POSIX and common usage.  Disable this.
   21907   alias -g '${1+"$@"}'='"$@"'
   21908   setopt NO_GLOB_SUBST
   21909 else case e in #(
   21910   e) case `(set -o) 2>/dev/null` in #(
   21911   *posix*) :
   21912     set -o posix ;; #(
   21913   *) :
   21914      ;;
   21915 esac ;;
   21916 esac
   21917 fi
   21918 
   21919 
   21920 
   21921 # Reset variables that may have inherited troublesome values from
   21922 # the environment.
   21923 
   21924 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   21925 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   21926 # side effect of setting IFS to empty, thus disabling word splitting.)
   21927 # Quoting is to prevent editors from complaining about space-tab.
   21928 as_nl='
   21929 '
   21930 export as_nl
   21931 IFS=" ""	$as_nl"
   21932 
   21933 PS1='$ '
   21934 PS2='> '
   21935 PS4='+ '
   21936 
   21937 # Ensure predictable behavior from utilities with locale-dependent output.
   21938 LC_ALL=C
   21939 export LC_ALL
   21940 LANGUAGE=C
   21941 export LANGUAGE
   21942 
   21943 # We cannot yet rely on "unset" to work, but we need these variables
   21944 # to be unset--not just set to an empty or harmless value--now, to
   21945 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   21946 # also avoids known problems related to "unset" and subshell syntax
   21947 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   21948 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   21949 do eval test \${$as_var+y} \
   21950   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21951 done
   21952 
   21953 # Ensure that fds 0, 1, and 2 are open.
   21954 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   21955 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   21956 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   21957 
   21958 # The user is always right.
   21959 if ${PATH_SEPARATOR+false} :; then
   21960   PATH_SEPARATOR=:
   21961   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21962     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21963       PATH_SEPARATOR=';'
   21964   }
   21965 fi
   21966 
   21967 
   21968 # Find who we are.  Look in the path if we contain no directory separator.
   21969 as_myself=
   21970 case $0 in #((
   21971   *[\\/]* ) as_myself=$0 ;;
   21972   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21973 for as_dir in $PATH
   21974 do
   21975   IFS=$as_save_IFS
   21976   case $as_dir in #(((
   21977     '') as_dir=./ ;;
   21978     */) ;;
   21979     *) as_dir=$as_dir/ ;;
   21980   esac
   21981     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   21982   done
   21983 IFS=$as_save_IFS
   21984 
   21985      ;;
   21986 esac
   21987 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   21988 # in which case we are not to be found in the path.
   21989 if test "x$as_myself" = x; then
   21990   as_myself=$0
   21991 fi
   21992 if test ! -f "$as_myself"; then
   21993   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21994   exit 1
   21995 fi
   21996 
   21997 
   21998 
   21999 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   22000 # ----------------------------------------
   22001 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   22002 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   22003 # script with STATUS, using 1 if that was 0.
   22004 as_fn_error ()
   22005 {
   22006   as_status=$1; test $as_status -eq 0 && as_status=1
   22007   if test "$4"; then
   22008     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   22009     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   22010   fi
   22011   printf '%s\n' "$as_me: error: $2" >&2
   22012   as_fn_exit $as_status
   22013 } # as_fn_error
   22014 
   22015 
   22016 # as_fn_set_status STATUS
   22017 # -----------------------
   22018 # Set $? to STATUS, without forking.
   22019 as_fn_set_status ()
   22020 {
   22021   return $1
   22022 } # as_fn_set_status
   22023 
   22024 # as_fn_exit STATUS
   22025 # -----------------
   22026 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   22027 as_fn_exit ()
   22028 {
   22029   set +e
   22030   as_fn_set_status $1
   22031   exit $1
   22032 } # as_fn_exit
   22033 
   22034 # as_fn_unset VAR
   22035 # ---------------
   22036 # Portably unset VAR.
   22037 as_fn_unset ()
   22038 {
   22039   { eval $1=; unset $1;}
   22040 }
   22041 as_unset=as_fn_unset
   22042 
   22043 # as_fn_append VAR VALUE
   22044 # ----------------------
   22045 # Append the text in VALUE to the end of the definition contained in VAR. Take
   22046 # advantage of any shell optimizations that allow amortized linear growth over
   22047 # repeated appends, instead of the typical quadratic growth present in naive
   22048 # implementations.
   22049 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   22050 then :
   22051   eval 'as_fn_append ()
   22052   {
   22053     eval $1+=\$2
   22054   }'
   22055 else case e in #(
   22056   e) as_fn_append ()
   22057   {
   22058     eval $1=\$$1\$2
   22059   } ;;
   22060 esac
   22061 fi # as_fn_append
   22062 
   22063 # as_fn_arith ARG...
   22064 # ------------------
   22065 # Perform arithmetic evaluation on the ARGs, and store the result in the
   22066 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   22067 # must be portable across $(()) and expr.
   22068 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   22069 then :
   22070   eval 'as_fn_arith ()
   22071   {
   22072     as_val=$(( $* ))
   22073   }'
   22074 else case e in #(
   22075   e) as_fn_arith ()
   22076   {
   22077     as_val=`expr "$@" || test $? -eq 1`
   22078   } ;;
   22079 esac
   22080 fi # as_fn_arith
   22081 
   22082 
   22083 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22084    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22085   as_expr=expr
   22086 else
   22087   as_expr=false
   22088 fi
   22089 
   22090 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22091   as_basename=basename
   22092 else
   22093   as_basename=false
   22094 fi
   22095 
   22096 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22097   as_dirname=dirname
   22098 else
   22099   as_dirname=false
   22100 fi
   22101 
   22102 as_me=`$as_basename -- "$0" ||
   22103 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22104 	 X"$0" : 'X\(//\)$' \| \
   22105 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22106 printf '%s\n' X/"$0" |
   22107     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22108 	    s//\1/
   22109 	    q
   22110 	  }
   22111 	  /^X\/\(\/\/\)$/{
   22112 	    s//\1/
   22113 	    q
   22114 	  }
   22115 	  /^X\/\(\/\).*/{
   22116 	    s//\1/
   22117 	    q
   22118 	  }
   22119 	  s/.*/./; q'`
   22120 
   22121 # Avoid depending upon Character Ranges.
   22122 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22123 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22124 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22125 as_cr_digits='0123456789'
   22126 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22127 
   22128 rm -f conf$$ conf$$.exe conf$$.file
   22129 if test -d conf$$.dir; then
   22130   rm -f conf$$.dir/conf$$.file
   22131 else
   22132   rm -f conf$$.dir
   22133   mkdir conf$$.dir 2>/dev/null
   22134 fi
   22135 if (echo >conf$$.file) 2>/dev/null; then
   22136   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22137     as_ln_s='ln -s'
   22138     # ... but there are two gotchas:
   22139     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   22140     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   22141     # In both cases, we have to default to 'cp -pR'.
   22142     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22143       as_ln_s='cp -pR'
   22144   elif ln conf$$.file conf$$ 2>/dev/null; then
   22145     as_ln_s=ln
   22146   else
   22147     as_ln_s='cp -pR'
   22148   fi
   22149 else
   22150   as_ln_s='cp -pR'
   22151 fi
   22152 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22153 rmdir conf$$.dir 2>/dev/null
   22154 
   22155 
   22156 # as_fn_mkdir_p
   22157 # -------------
   22158 # Create "$as_dir" as a directory, including parents if necessary.
   22159 as_fn_mkdir_p ()
   22160 {
   22161 
   22162   case $as_dir in #(
   22163   -*) as_dir=./$as_dir;;
   22164   esac
   22165   test -d "$as_dir" || eval $as_mkdir_p || {
   22166     as_dirs=
   22167     while :; do
   22168       case $as_dir in #(
   22169       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22170       *) as_qdir=$as_dir;;
   22171       esac
   22172       as_dirs="'$as_qdir' $as_dirs"
   22173       as_dir=`$as_dirname -- "$as_dir" ||
   22174 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22175 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22176 	 X"$as_dir" : 'X\(//\)$' \| \
   22177 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22178 printf '%s\n' X"$as_dir" |
   22179     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22180 	    s//\1/
   22181 	    q
   22182 	  }
   22183 	  /^X\(\/\/\)[^/].*/{
   22184 	    s//\1/
   22185 	    q
   22186 	  }
   22187 	  /^X\(\/\/\)$/{
   22188 	    s//\1/
   22189 	    q
   22190 	  }
   22191 	  /^X\(\/\).*/{
   22192 	    s//\1/
   22193 	    q
   22194 	  }
   22195 	  s/.*/./; q'`
   22196       test -d "$as_dir" && break
   22197     done
   22198     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22199   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   22200 
   22201 
   22202 } # as_fn_mkdir_p
   22203 if mkdir -p . 2>/dev/null; then
   22204   as_mkdir_p='mkdir -p "$as_dir"'
   22205 else
   22206   test -d ./-p && rmdir ./-p
   22207   as_mkdir_p=false
   22208 fi
   22209 
   22210 
   22211 # as_fn_executable_p FILE
   22212 # -----------------------
   22213 # Test if FILE is an executable regular file.
   22214 as_fn_executable_p ()
   22215 {
   22216   test -f "$1" && test -x "$1"
   22217 } # as_fn_executable_p
   22218 as_test_x='test -x'
   22219 as_executable_p=as_fn_executable_p
   22220 
   22221 # Sed expression to map a string onto a valid CPP name.
   22222 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   22223 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   22224 
   22225 # Sed expression to map a string onto a valid variable name.
   22226 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   22227 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   22228 
   22229 
   22230 exec 6>&1
   22231 ## ------------------------------------- ##
   22232 ## Main body of "$CONFIG_STATUS" script. ##
   22233 ## ------------------------------------- ##
   22234 _ASEOF
   22235 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   22236 
   22237 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22238 # Save the log message, to keep $0 and so on meaningful, and to
   22239 # report actual input values of CONFIG_FILES etc. instead of their
   22240 # values after options handling.
   22241 ac_log="
   22242 This file was extended by libXpm $as_me 3.5.20, which was
   22243 generated by GNU Autoconf 2.73.  Invocation command line was
   22244 
   22245   CONFIG_FILES    = $CONFIG_FILES
   22246   CONFIG_HEADERS  = $CONFIG_HEADERS
   22247   CONFIG_LINKS    = $CONFIG_LINKS
   22248   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22249   $ $0 $@
   22250 
   22251 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22252 "
   22253 
   22254 _ACEOF
   22255 
   22256 case $ac_config_files in *"
   22257 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22258 esac
   22259 
   22260 case $ac_config_headers in *"
   22261 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22262 esac
   22263 
   22264 
   22265 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22266 # Files that config.status was made for.
   22267 config_files="$ac_config_files"
   22268 config_headers="$ac_config_headers"
   22269 config_commands="$ac_config_commands"
   22270 
   22271 _ACEOF
   22272 
   22273 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22274 ac_cs_usage="\
   22275 '$as_me' instantiates files and other configuration actions
   22276 from templates according to the current configuration.  Unless the files
   22277 and actions are specified as TAGs, all are instantiated by default.
   22278 
   22279 Usage: $0 [OPTION]... [TAG]...
   22280 
   22281   -h, --help       print this help, then exit
   22282   -V, --version    print version number and configuration settings, then exit
   22283       --config     print configuration, then exit
   22284   -q, --quiet, --silent
   22285                    do not print progress messages
   22286   -d, --debug      don't remove temporary files
   22287       --recheck    update $as_me by reconfiguring in the same conditions
   22288       --file=FILE[:TEMPLATE]
   22289                    instantiate the configuration file FILE
   22290       --header=FILE[:TEMPLATE]
   22291                    instantiate the configuration header FILE
   22292 
   22293 Configuration files:
   22294 $config_files
   22295 
   22296 Configuration headers:
   22297 $config_headers
   22298 
   22299 Configuration commands:
   22300 $config_commands
   22301 
   22302 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/>."
   22303 
   22304 _ACEOF
   22305 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   22306 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   22307 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22308 ac_cs_config='$ac_cs_config_escaped'
   22309 ac_cs_version="\\
   22310 libXpm config.status 3.5.20
   22311 configured by $0, generated by GNU Autoconf 2.73,
   22312   with options \\"\$ac_cs_config\\"
   22313 
   22314 Copyright (C) 2026 Free Software Foundation, Inc.
   22315 This config.status script is free software; the Free Software Foundation
   22316 gives unlimited permission to copy, distribute and modify it."
   22317 
   22318 ac_pwd='$ac_pwd'
   22319 srcdir='$srcdir'
   22320 INSTALL='$INSTALL'
   22321 MKDIR_P='$MKDIR_P'
   22322 AWK='$AWK'
   22323 test -n "\$AWK" || {
   22324   awk '' </dev/null ||
   22325     as_fn_error \$? "try installing gawk"
   22326   AWK=awk
   22327 }
   22328 _ACEOF
   22329 
   22330 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22331 # The default lists apply if the user does not specify any file.
   22332 ac_need_defaults=:
   22333 while test $# != 0
   22334 do
   22335   case $1 in
   22336   --*=?*)
   22337     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22338     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22339     ac_shift=:
   22340     ;;
   22341   --*=)
   22342     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22343     ac_optarg=
   22344     ac_shift=:
   22345     ;;
   22346   *)
   22347     ac_option=$1
   22348     ac_optarg=$2
   22349     ac_shift=shift
   22350     ;;
   22351   esac
   22352 
   22353   case $ac_option in
   22354   # Handling of the options.
   22355   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22356     ac_cs_recheck=: ;;
   22357   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22358     printf '%s\n' "$ac_cs_version"; exit ;;
   22359   --config | --confi | --conf | --con | --co | --c )
   22360     printf '%s\n' "$ac_cs_config"; exit ;;
   22361   --debug | --debu | --deb | --de | --d | -d )
   22362     debug=: ;;
   22363   --file | --fil | --fi | --f )
   22364     $ac_shift
   22365     case $ac_optarg in
   22366     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22367     '') as_fn_error $? "missing file argument" ;;
   22368     esac
   22369     as_fn_append CONFIG_FILES " '$ac_optarg'"
   22370     ac_need_defaults=false;;
   22371   --header | --heade | --head | --hea )
   22372     $ac_shift
   22373     case $ac_optarg in
   22374     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22375     esac
   22376     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   22377     ac_need_defaults=false;;
   22378   --he | --h)
   22379     # Conflict between --help and --header
   22380     as_fn_error $? "ambiguous option: '$1'
   22381 Try '$0 --help' for more information.";;
   22382   --help | --hel | -h )
   22383     printf '%s\n' "$ac_cs_usage"; exit ;;
   22384   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22385   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22386     ac_cs_silent=: ;;
   22387 
   22388   # This is an error.
   22389   -*) as_fn_error $? "unrecognized option: '$1'
   22390 Try '$0 --help' for more information." ;;
   22391 
   22392   *) as_fn_append ac_config_targets " $1"
   22393      ac_need_defaults=false ;;
   22394 
   22395   esac
   22396   shift
   22397 done
   22398 
   22399 ac_configure_extra_args=
   22400 
   22401 if $ac_cs_silent; then
   22402   exec 6>/dev/null
   22403   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22404 fi
   22405 
   22406 _ACEOF
   22407 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22408 if \$ac_cs_recheck; then
   22409   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22410   shift
   22411   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   22412   CONFIG_SHELL='$SHELL'
   22413   export CONFIG_SHELL
   22414   exec "\$@"
   22415 fi
   22416 
   22417 _ACEOF
   22418 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22419 exec 5>>config.log
   22420 {
   22421   echo
   22422   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22423 ## Running $as_me. ##
   22424 _ASBOX
   22425   printf '%s\n' "$ac_log"
   22426 } >&5
   22427 
   22428 _ACEOF
   22429 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22430 #
   22431 # INIT-COMMANDS
   22432 #
   22433 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   22434 
   22435 
   22436 # The HP-UX ksh and POSIX shell print the target directory to stdout
   22437 # if CDPATH is set.
   22438 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   22439 
   22440 sed_quote_subst='$sed_quote_subst'
   22441 double_quote_subst='$double_quote_subst'
   22442 delay_variable_subst='$delay_variable_subst'
   22443 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   22444 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   22445 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   22446 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   22447 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   22448 enable_cxx_stdlib='`$ECHO "$enable_cxx_stdlib" | $SED "$delay_single_quote_subst"`'
   22449 stdlibflag='`$ECHO "$stdlibflag" | $SED "$delay_single_quote_subst"`'
   22450 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   22451 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   22452 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   22453 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   22454 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   22455 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   22456 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   22457 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   22458 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   22459 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   22460 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   22461 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   22462 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   22463 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   22464 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   22465 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   22466 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   22467 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   22468 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   22469 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   22470 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   22471 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   22472 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   22473 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   22474 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   22475 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   22476 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   22477 lt_cv_cygpath_installed='`$ECHO "$lt_cv_cygpath_installed" | $SED "$delay_single_quote_subst"`'
   22478 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   22479 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   22480 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   22481 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   22482 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   22483 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   22484 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   22485 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   22486 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   22487 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   22488 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   22489 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   22490 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   22491 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   22492 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   22493 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   22494 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22495 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22496 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   22497 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   22498 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   22499 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   22500 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   22501 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   22502 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   22503 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   22504 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   22505 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   22506 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"`'
   22507 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   22508 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   22509 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   22510 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   22511 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   22512 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   22513 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   22514 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   22515 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   22516 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   22517 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   22518 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   22519 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   22520 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   22521 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   22522 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   22523 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   22524 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   22525 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   22526 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   22527 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22528 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   22529 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   22530 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   22531 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   22532 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   22533 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   22534 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22535 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   22536 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22537 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   22538 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22539 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   22540 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22541 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22542 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   22543 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   22544 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   22545 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   22546 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   22547 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22548 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   22549 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   22550 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   22551 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   22552 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   22553 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   22554 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   22555 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   22556 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   22557 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   22558 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   22559 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   22560 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   22561 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   22562 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   22563 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22564 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   22565 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   22566 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   22567 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   22568 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   22569 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22570 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22571 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   22572 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   22573 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   22574 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   22575 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   22576 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   22577 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   22578 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   22579 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   22580 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   22581 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   22582 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   22583 
   22584 LTCC='$LTCC'
   22585 LTCFLAGS='$LTCFLAGS'
   22586 compiler='$compiler_DEFAULT'
   22587 
   22588 # A function that is used when there is no print builtin or printf.
   22589 func_fallback_echo ()
   22590 {
   22591   eval 'cat <<_LTECHO_EOF
   22592 \$1
   22593 _LTECHO_EOF'
   22594 }
   22595 
   22596 # Quote evaled strings.
   22597 for var in SHELL \
   22598 ECHO \
   22599 PATH_SEPARATOR \
   22600 SED \
   22601 GREP \
   22602 EGREP \
   22603 FGREP \
   22604 LD \
   22605 NM \
   22606 LN_S \
   22607 lt_SP2NL \
   22608 lt_NL2SP \
   22609 reload_flag \
   22610 FILECMD \
   22611 OBJDUMP \
   22612 deplibs_check_method \
   22613 file_magic_cmd \
   22614 file_magic_glob \
   22615 want_nocaseglob \
   22616 DLLTOOL \
   22617 sharedlib_from_linklib_cmd \
   22618 AR \
   22619 lt_ar_flags \
   22620 archiver_list_spec \
   22621 STRIP \
   22622 RANLIB \
   22623 CC \
   22624 CFLAGS \
   22625 compiler \
   22626 lt_cv_sys_global_symbol_pipe \
   22627 lt_cv_sys_global_symbol_to_cdecl \
   22628 lt_cv_sys_global_symbol_to_import \
   22629 lt_cv_sys_global_symbol_to_c_name_address \
   22630 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   22631 lt_cv_nm_interface \
   22632 nm_file_list_spec \
   22633 lt_cv_truncate_bin \
   22634 lt_prog_compiler_no_builtin_flag \
   22635 lt_prog_compiler_pic \
   22636 lt_prog_compiler_wl \
   22637 lt_prog_compiler_static \
   22638 lt_cv_prog_compiler_c_o \
   22639 need_locks \
   22640 MANIFEST_TOOL \
   22641 DSYMUTIL \
   22642 NMEDIT \
   22643 LIPO \
   22644 OTOOL \
   22645 OTOOL64 \
   22646 shrext_cmds \
   22647 export_dynamic_flag_spec \
   22648 whole_archive_flag_spec \
   22649 compiler_needs_object \
   22650 with_gnu_ld \
   22651 allow_undefined_flag \
   22652 no_undefined_flag \
   22653 hardcode_libdir_flag_spec \
   22654 hardcode_libdir_separator \
   22655 exclude_expsyms \
   22656 include_expsyms \
   22657 file_list_spec \
   22658 variables_saved_for_relink \
   22659 libname_spec \
   22660 library_names_spec \
   22661 soname_spec \
   22662 install_override_mode \
   22663 finish_eval \
   22664 old_striplib \
   22665 striplib; do
   22666     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22667     *[\\\\\\\`\\"\\\$]*)
   22668       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22669       ;;
   22670     *)
   22671       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22672       ;;
   22673     esac
   22674 done
   22675 
   22676 # Double-quote double-evaled strings.
   22677 for var in reload_cmds \
   22678 old_postinstall_cmds \
   22679 old_postuninstall_cmds \
   22680 old_archive_cmds \
   22681 extract_expsyms_cmds \
   22682 old_archive_from_new_cmds \
   22683 old_archive_from_expsyms_cmds \
   22684 archive_cmds \
   22685 archive_expsym_cmds \
   22686 module_cmds \
   22687 module_expsym_cmds \
   22688 export_symbols_cmds \
   22689 prelink_cmds \
   22690 postlink_cmds \
   22691 postinstall_cmds \
   22692 postuninstall_cmds \
   22693 finish_cmds \
   22694 sys_lib_search_path_spec \
   22695 configure_time_dlsearch_path \
   22696 configure_time_lt_sys_library_path; do
   22697     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22698     *[\\\\\\\`\\"\\\$]*)
   22699       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22700       ;;
   22701     *)
   22702       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22703       ;;
   22704     esac
   22705 done
   22706 
   22707 ac_aux_dir='$ac_aux_dir'
   22708 
   22709 # See if we are running on zsh, and set the options that allow our
   22710 # commands through without removal of \ escapes INIT.
   22711 if test -n "\${ZSH_VERSION+set}"; then
   22712    setopt NO_GLOB_SUBST
   22713 fi
   22714 
   22715 
   22716     PACKAGE='$PACKAGE'
   22717     VERSION='$VERSION'
   22718     RM='$RM'
   22719     ofile='$ofile'
   22720 
   22721 
   22722 
   22723 
   22724 _ACEOF
   22725 
   22726 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22727 
   22728 # Handling of arguments.
   22729 for ac_config_target in $ac_config_targets
   22730 do
   22731   case $ac_config_target in
   22732     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22733     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22734     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22735     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22736     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   22737     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   22738     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22739     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22740     "sxpm/Makefile") CONFIG_FILES="$CONFIG_FILES sxpm/Makefile" ;;
   22741     "cxpm/Makefile") CONFIG_FILES="$CONFIG_FILES cxpm/Makefile" ;;
   22742     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   22743     "xpm.pc") CONFIG_FILES="$CONFIG_FILES xpm.pc" ;;
   22744 
   22745   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   22746   esac
   22747 done
   22748 
   22749 
   22750 # If the user did not use the arguments to specify the items to instantiate,
   22751 # then the envvar interface is used.  Set only those that are not.
   22752 # We use the long form for the default assignment because of an extremely
   22753 # bizarre bug on SunOS 4.1.3.
   22754 if $ac_need_defaults; then
   22755   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   22756   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   22757   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   22758 fi
   22759 
   22760 # Have a temporary directory for convenience.  Make it in the build tree
   22761 # simply because there is no reason against having it here, and in addition,
   22762 # creating and moving files from /tmp can sometimes cause problems.
   22763 # Hook for its removal unless debugging.
   22764 # Note that there is a small window in which the directory will not be cleaned:
   22765 # after its creation but before its name has been assigned to '$tmp'.
   22766 $debug ||
   22767 {
   22768   tmp= ac_tmp=
   22769   trap 'exit_status=$?
   22770   : "${ac_tmp:=$tmp}"
   22771   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22772 ' 0
   22773   trap 'as_fn_exit 1' 1 2 13 15
   22774 }
   22775 # Create a (secure) tmp directory for tmp files.
   22776 
   22777 {
   22778   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22779   test -d "$tmp"
   22780 }  ||
   22781 {
   22782   tmp=./conf$$-$RANDOM
   22783   (umask 077 && mkdir "$tmp")
   22784 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22785 ac_tmp=$tmp
   22786 
   22787 # Set up the scripts for CONFIG_FILES section.
   22788 # No need to generate them if there are no CONFIG_FILES.
   22789 # This happens for instance with './config.status config.h'.
   22790 if test -n "$CONFIG_FILES"; then
   22791 
   22792 
   22793 ac_cr=`echo X | tr X '\015'`
   22794 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22795 # But we know of no other shell where ac_cr would be empty at this
   22796 # point, so we can use a bashism as a fallback.
   22797 if test "x$ac_cr" = x; then
   22798   eval ac_cr=\$\'\\r\'
   22799 fi
   22800 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22801 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22802   ac_cs_awk_cr='\\r'
   22803 else
   22804   ac_cs_awk_cr=$ac_cr
   22805 fi
   22806 
   22807 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22808 _ACEOF
   22809 
   22810 
   22811 {
   22812   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22813   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22814   echo "_ACEOF"
   22815 } >conf$$subs.sh ||
   22816   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22817 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   22818 ac_delim='%!_!# '
   22819 for ac_last_try in false false false false false :; do
   22820   . ./conf$$subs.sh ||
   22821     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22822 
   22823   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   22824   if test $ac_delim_n = $ac_delim_num; then
   22825     break
   22826   elif $ac_last_try; then
   22827     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22828   else
   22829     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22830   fi
   22831 done
   22832 rm -f conf$$subs.sh
   22833 
   22834 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22835 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22836 _ACEOF
   22837 sed -n '
   22838 h
   22839 s/^/S["/; s/!.*/"]=/
   22840 p
   22841 g
   22842 s/^[^!]*!//
   22843 :repl
   22844 t repl
   22845 s/'"$ac_delim"'$//
   22846 t delim
   22847 :nl
   22848 h
   22849 s/\(.\{148\}\)..*/\1/
   22850 t more1
   22851 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22852 p
   22853 n
   22854 b repl
   22855 :more1
   22856 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22857 p
   22858 g
   22859 s/.\{148\}//
   22860 t nl
   22861 :delim
   22862 h
   22863 s/\(.\{148\}\)..*/\1/
   22864 t more2
   22865 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22866 p
   22867 b
   22868 :more2
   22869 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22870 p
   22871 g
   22872 s/.\{148\}//
   22873 t delim
   22874 ' <conf$$subs.awk | sed '
   22875 /^[^""]/{
   22876   N
   22877   s/\n//
   22878 }
   22879 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   22880 rm -f conf$$subs.awk
   22881 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22882 _ACAWK
   22883 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22884   for (key in S) S_is_set[key] = 1
   22885   FS = ""
   22886 
   22887 }
   22888 {
   22889   line = $ 0
   22890   nfields = split(line, field, "@")
   22891   substed = 0
   22892   len = length(field[1])
   22893   for (i = 2; i < nfields; i++) {
   22894     key = field[i]
   22895     keylen = length(key)
   22896     if (S_is_set[key]) {
   22897       value = S[key]
   22898       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22899       len += length(value) + length(field[++i])
   22900       substed = 1
   22901     } else
   22902       len += 1 + keylen
   22903   }
   22904 
   22905   print line
   22906 }
   22907 
   22908 _ACAWK
   22909 _ACEOF
   22910 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22911 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22912   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22913 else
   22914   cat
   22915 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22916   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22917 _ACEOF
   22918 
   22919 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22920 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22921 # trailing colons and then remove the whole line if VPATH becomes empty
   22922 # (actually we leave an empty line to preserve line numbers).
   22923 if test "x$srcdir" = x.; then
   22924   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22925 h
   22926 s///
   22927 s/^/:/
   22928 s/[	 ]*$/:/
   22929 s/:\$(srcdir):/:/g
   22930 s/:\${srcdir}:/:/g
   22931 s/:@srcdir@:/:/g
   22932 s/^:*//
   22933 s/:*$//
   22934 x
   22935 s/\(=[	 ]*\).*/\1/
   22936 G
   22937 s/\n//
   22938 s/^[^=]*=[	 ]*$//
   22939 }'
   22940 fi
   22941 
   22942 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22943 fi # test -n "$CONFIG_FILES"
   22944 
   22945 # Set up the scripts for CONFIG_HEADERS section.
   22946 # No need to generate them if there are no CONFIG_HEADERS.
   22947 # This happens for instance with './config.status Makefile'.
   22948 if test -n "$CONFIG_HEADERS"; then
   22949 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22950 BEGIN {
   22951 _ACEOF
   22952 
   22953 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   22954 # here-document in config.status, that substitutes the proper values into
   22955 # config.h.in to produce config.h.
   22956 
   22957 # Create a delimiter string that does not exist in confdefs.h, to ease
   22958 # handling of long lines.
   22959 ac_delim='%!_!# '
   22960 for ac_last_try in false false :; do
   22961   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22962   if test -z "$ac_tt"; then
   22963     break
   22964   elif $ac_last_try; then
   22965     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22966   else
   22967     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22968   fi
   22969 done
   22970 
   22971 # For the awk script, D is an array of macro values keyed by name,
   22972 # likewise P contains macro parameters if any.  Preserve backslash
   22973 # newline sequences.
   22974 
   22975 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22976 sed -n '
   22977 s/.\{148\}/&'"$ac_delim"'/g
   22978 t rset
   22979 :rset
   22980 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22981 t def
   22982 d
   22983 :def
   22984 s/\\$//
   22985 t bsnl
   22986 s/["\\]/\\&/g
   22987 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22988 D["\1"]=" \3"/p
   22989 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22990 d
   22991 :bsnl
   22992 s/["\\]/\\&/g
   22993 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22994 D["\1"]=" \3\\\\\\n"\\/p
   22995 t cont
   22996 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22997 t cont
   22998 d
   22999 :cont
   23000 n
   23001 s/.\{148\}/&'"$ac_delim"'/g
   23002 t clear
   23003 :clear
   23004 s/\\$//
   23005 t bsnlc
   23006 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23007 d
   23008 :bsnlc
   23009 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23010 b cont
   23011 ' <confdefs.h | sed '
   23012 s/'"$ac_delim"'/"\\\
   23013 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   23014 
   23015 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   23016   for (key in D) D_is_set[key] = 1
   23017   FS = ""
   23018 }
   23019 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23020   line = \$ 0
   23021   split(line, arg, " ")
   23022   if (arg[1] == "#") {
   23023     defundef = arg[2]
   23024     mac1 = arg[3]
   23025   } else {
   23026     defundef = substr(arg[1], 2)
   23027     mac1 = arg[2]
   23028   }
   23029   split(mac1, mac2, "(") #)
   23030   macro = mac2[1]
   23031   prefix = substr(line, 1, index(line, defundef) - 1)
   23032   if (D_is_set[macro]) {
   23033     suffix = P[macro] D[macro]
   23034     while (suffix ~ /[\t ]$/) {
   23035       suffix = substr(suffix, 1, length(suffix) - 1)
   23036     }
   23037     # Preserve the white space surrounding the "#".
   23038     print prefix "define", macro suffix
   23039     next
   23040   } else {
   23041     # Replace #undef with comments.  This is necessary, for example,
   23042     # in the case of _POSIX_SOURCE, which is predefined and required
   23043     # on some systems where configure will not decide to define it.
   23044     if (defundef == "undef") {
   23045       print "/*", prefix defundef, macro, "*/"
   23046       next
   23047     }
   23048   }
   23049 }
   23050 { print }
   23051 _ACAWK
   23052 _ACEOF
   23053 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   23054   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   23055 fi # test -n "$CONFIG_HEADERS"
   23056 
   23057 
   23058 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23059 shift
   23060 for ac_tag
   23061 do
   23062   case $ac_tag in
   23063   :[FHLC]) ac_mode=$ac_tag; continue;;
   23064   esac
   23065   case $ac_mode$ac_tag in
   23066   :[FHL]*:*);;
   23067   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   23068   :[FH]-) ac_tag=-:-;;
   23069   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23070   esac
   23071   ac_save_IFS=$IFS
   23072   IFS=:
   23073   set x $ac_tag
   23074   IFS=$ac_save_IFS
   23075   shift
   23076   ac_file=$1
   23077   shift
   23078 
   23079   case $ac_mode in
   23080   :L) ac_source=$1;;
   23081   :[FH])
   23082     ac_file_inputs=
   23083     for ac_f
   23084     do
   23085       case $ac_f in
   23086       -) ac_f="$ac_tmp/stdin";;
   23087       *) # Look for the file first in the build tree, then in the source tree
   23088 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23089 	 # because $ac_f cannot contain ':'.
   23090 	 test -f "$ac_f" ||
   23091 	   case $ac_f in
   23092 	   [\\/$]*) false;;
   23093 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23094 	   esac ||
   23095 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   23096       esac
   23097       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23098       as_fn_append ac_file_inputs " '$ac_f'"
   23099     done
   23100 
   23101     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   23102     # use $as_me), people would be surprised to read:
   23103     #    /* config.h.  Generated by config.status.  */
   23104     configure_input='Generated from '`
   23105 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23106 	`' by configure.'
   23107     if test x"$ac_file" != x-; then
   23108       configure_input="$ac_file.  $configure_input"
   23109       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   23110 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   23111     fi
   23112     # Neutralize special characters interpreted by sed in replacement strings.
   23113     case $configure_input in #(
   23114     *\&* | *\|* | *\\* )
   23115        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   23116        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23117     *) ac_sed_conf_input=$configure_input;;
   23118     esac
   23119 
   23120     case $ac_tag in
   23121     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   23122       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   23123     esac
   23124     ;;
   23125   esac
   23126 
   23127   ac_dir=`$as_dirname -- "$ac_file" ||
   23128 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23129 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23130 	 X"$ac_file" : 'X\(//\)$' \| \
   23131 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23132 printf '%s\n' X"$ac_file" |
   23133     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23134 	    s//\1/
   23135 	    q
   23136 	  }
   23137 	  /^X\(\/\/\)[^/].*/{
   23138 	    s//\1/
   23139 	    q
   23140 	  }
   23141 	  /^X\(\/\/\)$/{
   23142 	    s//\1/
   23143 	    q
   23144 	  }
   23145 	  /^X\(\/\).*/{
   23146 	    s//\1/
   23147 	    q
   23148 	  }
   23149 	  s/.*/./; q'`
   23150   as_dir="$ac_dir"; as_fn_mkdir_p
   23151   ac_builddir=.
   23152 
   23153 case "$ac_dir" in
   23154 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23155 *)
   23156   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   23157   # A ".." for each directory in $ac_dir_suffix.
   23158   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23159   case $ac_top_builddir_sub in
   23160   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23161   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23162   esac ;;
   23163 esac
   23164 ac_abs_top_builddir=$ac_pwd
   23165 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23166 # for backward compatibility:
   23167 ac_top_builddir=$ac_top_build_prefix
   23168 
   23169 case $srcdir in
   23170   .)  # We are building in place.
   23171     ac_srcdir=.
   23172     ac_top_srcdir=$ac_top_builddir_sub
   23173     ac_abs_top_srcdir=$ac_pwd ;;
   23174   [\\/]* | ?:[\\/]* )  # Absolute name.
   23175     ac_srcdir=$srcdir$ac_dir_suffix;
   23176     ac_top_srcdir=$srcdir
   23177     ac_abs_top_srcdir=$srcdir ;;
   23178   *) # Relative name.
   23179     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23180     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23181     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23182 esac
   23183 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23184 
   23185 
   23186   case $ac_mode in
   23187   :F)
   23188   #
   23189   # CONFIG_FILE
   23190   #
   23191 
   23192   case $INSTALL in
   23193   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23194   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23195   esac
   23196   ac_MKDIR_P=$MKDIR_P
   23197   case $MKDIR_P in
   23198   [\\/$]* | ?:[\\/]* ) ;;
   23199   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23200   esac
   23201 _ACEOF
   23202 
   23203 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   23204 # If the template does not know about datarootdir, expand it.
   23205 # FIXME: This hack should be removed a few years after 2.60.
   23206 ac_datarootdir_hack=; ac_datarootdir_seen=
   23207 ac_sed_dataroot='
   23208 /datarootdir/ {
   23209   p
   23210   q
   23211 }
   23212 /@datadir@/p
   23213 /@docdir@/p
   23214 /@infodir@/p
   23215 /@localedir@/p
   23216 /@mandir@/p'
   23217 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23218 *datarootdir*) ac_datarootdir_seen=yes;;
   23219 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23220   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23221 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23222 _ACEOF
   23223 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   23224   ac_datarootdir_hack='
   23225   s&@datadir@&$datadir&g
   23226   s&@docdir@&$docdir&g
   23227   s&@infodir@&$infodir&g
   23228   s&@localedir@&$localedir&g
   23229   s&@mandir@&$mandir&g
   23230   s&\\\${datarootdir}&$datarootdir&g' ;;
   23231 esac
   23232 _ACEOF
   23233 
   23234 # Neutralize VPATH when '$srcdir' = '.'.
   23235 # Shell code in configure.ac might set extrasub.
   23236 # FIXME: do we really want to maintain this feature?
   23237 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   23238 ac_sed_extra="$ac_vpsub
   23239 $extrasub
   23240 _ACEOF
   23241 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   23242 :t
   23243 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23244 s|@configure_input@|$ac_sed_conf_input|;t t
   23245 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23246 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23247 s&@srcdir@&$ac_srcdir&;t t
   23248 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23249 s&@top_srcdir@&$ac_top_srcdir&;t t
   23250 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23251 s&@builddir@&$ac_builddir&;t t
   23252 s&@abs_builddir@&$ac_abs_builddir&;t t
   23253 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23254 s&@INSTALL@&$ac_INSTALL&;t t
   23255 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23256 $ac_datarootdir_hack
   23257 "
   23258 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   23259   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23260 
   23261 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23262   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   23263   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   23264       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   23265   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   23266 which seems to be undefined.  Please make sure it is defined" >&5
   23267 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   23268 which seems to be undefined.  Please make sure it is defined" >&2;}
   23269 
   23270   rm -f "$ac_tmp/stdin"
   23271   case $ac_file in
   23272   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   23273   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   23274   esac \
   23275   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23276  ;;
   23277   :H)
   23278   #
   23279   # CONFIG_HEADER
   23280   #
   23281   if test x"$ac_file" != x-; then
   23282     {
   23283       printf '%s\n' "/* $configure_input  */" >&1 \
   23284       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   23285     } >"$ac_tmp/config.h" \
   23286       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23287     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   23288       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   23289 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   23290     else
   23291       rm -f "$ac_file"
   23292       mv "$ac_tmp/config.h" "$ac_file" \
   23293 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23294     fi
   23295   else
   23296     printf '%s\n' "/* $configure_input  */" >&1 \
   23297       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   23298       || as_fn_error $? "could not create -" "$LINENO" 5
   23299   fi
   23300 # Compute "$ac_file"'s index in $config_headers.
   23301 _am_arg="$ac_file"
   23302 _am_stamp_count=1
   23303 for _am_header in $config_headers :; do
   23304   case $_am_header in
   23305     $_am_arg | $_am_arg:* )
   23306       break ;;
   23307     * )
   23308       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23309   esac
   23310 done
   23311 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23312 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23313 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23314 	 X"$_am_arg" : 'X\(//\)$' \| \
   23315 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23316 printf '%s\n' X"$_am_arg" |
   23317     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23318 	    s//\1/
   23319 	    q
   23320 	  }
   23321 	  /^X\(\/\/\)[^/].*/{
   23322 	    s//\1/
   23323 	    q
   23324 	  }
   23325 	  /^X\(\/\/\)$/{
   23326 	    s//\1/
   23327 	    q
   23328 	  }
   23329 	  /^X\(\/\).*/{
   23330 	    s//\1/
   23331 	    q
   23332 	  }
   23333 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23334  ;;
   23335 
   23336   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   23337 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   23338  ;;
   23339   esac
   23340 
   23341 
   23342   case $ac_file$ac_mode in
   23343     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23344   # Older Autoconf quotes --file arguments for eval, but not when files
   23345   # are listed without --file.  Let's play safe and only enable the eval
   23346   # if we detect the quoting.
   23347   # TODO: see whether this extra hack can be removed once we start
   23348   # requiring Autoconf 2.70 or later.
   23349   case $CONFIG_FILES in #(
   23350   *\'*) :
   23351     eval set x "$CONFIG_FILES" ;; #(
   23352   *) :
   23353     set x $CONFIG_FILES ;; #(
   23354   *) :
   23355      ;;
   23356 esac
   23357   shift
   23358   # Used to flag and report bootstrapping failures.
   23359   am_rc=0
   23360   for am_mf
   23361   do
   23362     # Strip MF so we end up with the name of the file.
   23363     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   23364     # Check whether this is an Automake generated Makefile which includes
   23365     # dependency-tracking related rules and includes.
   23366     # Grep'ing the whole file directly is not great: AIX grep has a line
   23367     # limit of 2048, but all sed's we know have understand at least 4000.
   23368     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   23369       || continue
   23370     am_dirpart=`$as_dirname -- "$am_mf" ||
   23371 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23372 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   23373 	 X"$am_mf" : 'X\(//\)$' \| \
   23374 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23375 printf '%s\n' X"$am_mf" |
   23376     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23377 	    s//\1/
   23378 	    q
   23379 	  }
   23380 	  /^X\(\/\/\)[^/].*/{
   23381 	    s//\1/
   23382 	    q
   23383 	  }
   23384 	  /^X\(\/\/\)$/{
   23385 	    s//\1/
   23386 	    q
   23387 	  }
   23388 	  /^X\(\/\).*/{
   23389 	    s//\1/
   23390 	    q
   23391 	  }
   23392 	  s/.*/./; q'`
   23393     am_filepart=`$as_basename -- "$am_mf" ||
   23394 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   23395 	 X"$am_mf" : 'X\(//\)$' \| \
   23396 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23397 printf '%s\n' X/"$am_mf" |
   23398     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23399 	    s//\1/
   23400 	    q
   23401 	  }
   23402 	  /^X\/\(\/\/\)$/{
   23403 	    s//\1/
   23404 	    q
   23405 	  }
   23406 	  /^X\/\(\/\).*/{
   23407 	    s//\1/
   23408 	    q
   23409 	  }
   23410 	  s/.*/./; q'`
   23411     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   23412       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23413         | $MAKE -f - am--depfiles" >&5
   23414    (cd "$am_dirpart" \
   23415       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23416         | $MAKE -f - am--depfiles) >&5 2>&5
   23417    ac_status=$?
   23418    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23419    (exit $ac_status); } || am_rc=$?
   23420   done
   23421   if test $am_rc -ne 0; then
   23422     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23423 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   23424 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   23425     for automatic dependency tracking.  If GNU make was not used, consider
   23426     re-running the configure script with MAKE=\"gmake\" (or whatever is
   23427     necessary).  You can also try re-running configure with the
   23428     '--disable-dependency-tracking' option to at least be able to build
   23429     the package (albeit without support for automatic dependency tracking).
   23430 See 'config.log' for more details" "$LINENO" 5; }
   23431   fi
   23432   { am_dirpart=; unset am_dirpart;}
   23433   { am_filepart=; unset am_filepart;}
   23434   { am_mf=; unset am_mf;}
   23435   { am_rc=; unset am_rc;}
   23436   rm -f conftest-deps.mk
   23437 }
   23438  ;;
   23439     "libtool":C)
   23440 
   23441     # See if we are running on zsh, and set the options that allow our
   23442     # commands through without removal of \ escapes.
   23443     if test -n "${ZSH_VERSION+set}"; then
   23444       setopt NO_GLOB_SUBST
   23445     fi
   23446 
   23447     cfgfile=${ofile}T
   23448     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   23449     $RM "$cfgfile"
   23450 
   23451     cat <<_LT_EOF >> "$cfgfile"
   23452 #! $SHELL
   23453 # Generated automatically by $as_me ($PACKAGE) $VERSION
   23454 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   23455 
   23456 # Provide generalized library-building support services.
   23457 # Written by Gordon Matzigkeit, 1996
   23458 
   23459 # Copyright (C) 2025-2026 Free Software Foundation, Inc.
   23460 # This is free software; see the source for copying conditions.  There is NO
   23461 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   23462 
   23463 # GNU Libtool is free software; you can redistribute it and/or modify
   23464 # it under the terms of the GNU General Public License as published by
   23465 # the Free Software Foundation; either version 2 of the License, or
   23466 # (at your option) any later version.
   23467 #
   23468 # As a special exception to the GNU General Public License, if you
   23469 # distribute this file as part of a program or library that is built
   23470 # using GNU Libtool, you may include this file under the  same
   23471 # distribution terms that you use for the rest of that program.
   23472 #
   23473 # GNU Libtool is distributed in the hope that it will be useful, but
   23474 # WITHOUT ANY WARRANTY; without even the implied warranty of
   23475 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   23476 # GNU General Public License for more details.
   23477 #
   23478 # You should have received a copy of the GNU General Public License
   23479 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
   23480 
   23481 
   23482 # The names of the tagged configurations supported by this script.
   23483 available_tags=''
   23484 
   23485 # Configured defaults for sys_lib_dlsearch_path munging.
   23486 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   23487 
   23488 # ### BEGIN LIBTOOL CONFIG
   23489 
   23490 # Which release of libtool.m4 was used?
   23491 macro_version=$macro_version
   23492 macro_revision=$macro_revision
   23493 
   23494 # Whether or not to build shared libraries.
   23495 build_libtool_libs=$enable_shared
   23496 
   23497 # Whether or not to build static libraries.
   23498 build_old_libs=$enable_static
   23499 
   23500 # What type of objects to build.
   23501 pic_mode=$pic_mode
   23502 
   23503 # Whether to let the compiler frontend decide what standard libraries to link when building C++ shared libraries and modules.
   23504 enable_cxx_stdlib=$enable_cxx_stdlib
   23505 
   23506 # Flag used for specifying not to link standard libraries.
   23507 stdlibflag=$stdlibflag
   23508 
   23509 # Whether or not to optimize for fast installation.
   23510 fast_install=$enable_fast_install
   23511 
   23512 # Shared archive member basename,for filename based shared library versioning on AIX.
   23513 shared_archive_member_spec=$shared_archive_member_spec
   23514 
   23515 # Shell to use when invoking shell scripts.
   23516 SHELL=$lt_SHELL
   23517 
   23518 # An echo program that protects backslashes.
   23519 ECHO=$lt_ECHO
   23520 
   23521 # The PATH separator for the build system.
   23522 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   23523 
   23524 # The host system.
   23525 host_alias=$host_alias
   23526 host=$host
   23527 host_os=$host_os
   23528 
   23529 # The build system.
   23530 build_alias=$build_alias
   23531 build=$build
   23532 build_os=$build_os
   23533 
   23534 # A sed program that does not truncate output.
   23535 SED=$lt_SED
   23536 
   23537 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   23538 Xsed="\$SED -e 1s/^X//"
   23539 
   23540 # A grep program that handles long lines.
   23541 GREP=$lt_GREP
   23542 
   23543 # An ERE matcher.
   23544 EGREP=$lt_EGREP
   23545 
   23546 # A literal string matcher.
   23547 FGREP=$lt_FGREP
   23548 
   23549 # A BSD- or MS-compatible name lister.
   23550 NM=$lt_NM
   23551 
   23552 # Whether we need soft or hard links.
   23553 LN_S=$lt_LN_S
   23554 
   23555 # What is the maximum length of a command?
   23556 max_cmd_len=$max_cmd_len
   23557 
   23558 # Object file suffix (normally "o").
   23559 objext=$ac_objext
   23560 
   23561 # Executable file suffix (normally "").
   23562 exeext=$exeext
   23563 
   23564 # whether the shell understands "unset".
   23565 lt_unset=$lt_unset
   23566 
   23567 # turn spaces into newlines.
   23568 SP2NL=$lt_lt_SP2NL
   23569 
   23570 # turn newlines into spaces.
   23571 NL2SP=$lt_lt_NL2SP
   23572 
   23573 # convert \$build file names to \$host format.
   23574 to_host_file_cmd=$lt_cv_to_host_file_cmd
   23575 
   23576 # convert \$build files to toolchain format.
   23577 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   23578 
   23579 # whether cygpath is installed.
   23580 cygpath_installed=$lt_cv_cygpath_installed
   23581 
   23582 # A file(cmd) program that detects file types.
   23583 FILECMD=$lt_FILECMD
   23584 
   23585 # An object symbol dumper.
   23586 OBJDUMP=$lt_OBJDUMP
   23587 
   23588 # Method to check whether dependent libraries are shared objects.
   23589 deplibs_check_method=$lt_deplibs_check_method
   23590 
   23591 # Command to use when deplibs_check_method = "file_magic".
   23592 file_magic_cmd=$lt_file_magic_cmd
   23593 
   23594 # How to find potential files when deplibs_check_method = "file_magic".
   23595 file_magic_glob=$lt_file_magic_glob
   23596 
   23597 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   23598 want_nocaseglob=$lt_want_nocaseglob
   23599 
   23600 # DLL creation program.
   23601 DLLTOOL=$lt_DLLTOOL
   23602 
   23603 # Command to associate shared and link libraries.
   23604 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   23605 
   23606 # The archiver.
   23607 AR=$lt_AR
   23608 
   23609 # Flags to create an archive (by configure).
   23610 lt_ar_flags=$lt_lt_ar_flags
   23611 
   23612 # Flags to create an archive.
   23613 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   23614 
   23615 # How to feed a file listing to the archiver.
   23616 archiver_list_spec=$lt_archiver_list_spec
   23617 
   23618 # A symbol stripping program.
   23619 STRIP=$lt_STRIP
   23620 
   23621 # Commands used to install an old-style archive.
   23622 RANLIB=$lt_RANLIB
   23623 old_postinstall_cmds=$lt_old_postinstall_cmds
   23624 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   23625 
   23626 # Whether to use a lock for old archive extraction.
   23627 lock_old_archive_extraction=$lock_old_archive_extraction
   23628 
   23629 # A C compiler.
   23630 LTCC=$lt_CC
   23631 
   23632 # LTCC compiler flags.
   23633 LTCFLAGS=$lt_CFLAGS
   23634 
   23635 # Take the output of nm and produce a listing of raw symbols and C names.
   23636 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   23637 
   23638 # Transform the output of nm in a proper C declaration.
   23639 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   23640 
   23641 # Transform the output of nm into a list of symbols to manually relocate.
   23642 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   23643 
   23644 # Transform the output of nm in a C name address pair.
   23645 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   23646 
   23647 # Transform the output of nm in a C name address pair when lib prefix is needed.
   23648 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   23649 
   23650 # The name lister interface.
   23651 nm_interface=$lt_lt_cv_nm_interface
   23652 
   23653 # Specify filename containing input files for \$NM.
   23654 nm_file_list_spec=$lt_nm_file_list_spec
   23655 
   23656 # The root where to search for dependent libraries,and where our libraries should be installed.
   23657 lt_sysroot=$lt_sysroot
   23658 
   23659 # Command to truncate a binary pipe.
   23660 lt_truncate_bin=$lt_lt_cv_truncate_bin
   23661 
   23662 # The name of the directory that contains temporary libtool files.
   23663 objdir=$objdir
   23664 
   23665 # Used to examine libraries when file_magic_cmd begins with "file".
   23666 MAGIC_CMD=$MAGIC_CMD
   23667 
   23668 # Must we lock files when doing compilation?
   23669 need_locks=$lt_need_locks
   23670 
   23671 # Manifest tool.
   23672 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   23673 
   23674 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   23675 DSYMUTIL=$lt_DSYMUTIL
   23676 
   23677 # Tool to change global to local symbols on Mac OS X.
   23678 NMEDIT=$lt_NMEDIT
   23679 
   23680 # Tool to manipulate fat objects and archives on Mac OS X.
   23681 LIPO=$lt_LIPO
   23682 
   23683 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   23684 OTOOL=$lt_OTOOL
   23685 
   23686 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   23687 OTOOL64=$lt_OTOOL64
   23688 
   23689 # Old archive suffix (normally "a").
   23690 libext=$libext
   23691 
   23692 # Shared library suffix (normally ".so").
   23693 shrext_cmds=$lt_shrext_cmds
   23694 
   23695 # The commands to extract the exported symbol list from a shared archive.
   23696 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23697 
   23698 # Variables whose values should be saved in libtool wrapper scripts and
   23699 # restored at link time.
   23700 variables_saved_for_relink=$lt_variables_saved_for_relink
   23701 
   23702 # Do we need the "lib" prefix for modules?
   23703 need_lib_prefix=$need_lib_prefix
   23704 
   23705 # Do we need a version for libraries?
   23706 need_version=$need_version
   23707 
   23708 # Library versioning type.
   23709 version_type=$version_type
   23710 
   23711 # Shared library runtime path variable.
   23712 runpath_var=$runpath_var
   23713 
   23714 # Shared library path variable.
   23715 shlibpath_var=$shlibpath_var
   23716 
   23717 # Is shlibpath searched before the hard-coded library search path?
   23718 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23719 
   23720 # Format of library name prefix.
   23721 libname_spec=$lt_libname_spec
   23722 
   23723 # List of archive names.  First name is the real one, the rest are links.
   23724 # The last name is the one that the linker finds with -lNAME
   23725 library_names_spec=$lt_library_names_spec
   23726 
   23727 # The coded name of the library, if different from the real name.
   23728 soname_spec=$lt_soname_spec
   23729 
   23730 # Permission mode override for installation of shared libraries.
   23731 install_override_mode=$lt_install_override_mode
   23732 
   23733 # Command to use after installation of a shared archive.
   23734 postinstall_cmds=$lt_postinstall_cmds
   23735 
   23736 # Command to use after uninstallation of a shared archive.
   23737 postuninstall_cmds=$lt_postuninstall_cmds
   23738 
   23739 # Commands used to finish a libtool library installation in a directory.
   23740 finish_cmds=$lt_finish_cmds
   23741 
   23742 # As "finish_cmds", except a single script fragment to be evaled but
   23743 # not shown.
   23744 finish_eval=$lt_finish_eval
   23745 
   23746 # Whether we should hardcode library paths into libraries.
   23747 hardcode_into_libs=$hardcode_into_libs
   23748 
   23749 # Compile-time system search path for libraries.
   23750 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23751 
   23752 # Detected run-time system search path for libraries.
   23753 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   23754 
   23755 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   23756 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   23757 
   23758 # Whether dlopen is supported.
   23759 dlopen_support=$enable_dlopen
   23760 
   23761 # Whether dlopen of programs is supported.
   23762 dlopen_self=$enable_dlopen_self
   23763 
   23764 # Whether dlopen of statically linked programs is supported.
   23765 dlopen_self_static=$enable_dlopen_self_static
   23766 
   23767 # Commands to strip libraries.
   23768 old_striplib=$lt_old_striplib
   23769 striplib=$lt_striplib
   23770 
   23771 
   23772 # The linker used to build libraries.
   23773 LD=$lt_LD
   23774 
   23775 # How to create reloadable object files.
   23776 reload_flag=$lt_reload_flag
   23777 reload_cmds=$lt_reload_cmds
   23778 
   23779 # Commands used to build an old-style archive.
   23780 old_archive_cmds=$lt_old_archive_cmds
   23781 
   23782 # A language specific compiler.
   23783 CC=$lt_compiler
   23784 
   23785 # Is the compiler the GNU compiler?
   23786 with_gcc=$GCC
   23787 
   23788 # Compiler flag to turn off builtin functions.
   23789 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23790 
   23791 # Additional compiler flags for building library objects.
   23792 pic_flag=$lt_lt_prog_compiler_pic
   23793 
   23794 # How to pass a linker flag through the compiler.
   23795 wl=$lt_lt_prog_compiler_wl
   23796 
   23797 # Compiler flag to prevent dynamic linking.
   23798 link_static_flag=$lt_lt_prog_compiler_static
   23799 
   23800 # Does compiler simultaneously support -c and -o options?
   23801 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23802 
   23803 # Whether or not to add -lc for building shared libraries.
   23804 build_libtool_need_lc=$archive_cmds_need_lc
   23805 
   23806 # Whether or not to disallow shared libs when runtime libs are static.
   23807 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23808 
   23809 # Compiler flag to allow reflexive dlopens.
   23810 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23811 
   23812 # Compiler flag to generate shared objects directly from archives.
   23813 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23814 
   23815 # Whether the compiler copes with passing no objects directly.
   23816 compiler_needs_object=$lt_compiler_needs_object
   23817 
   23818 # Create an old-style archive from a shared archive.
   23819 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23820 
   23821 # Create a temporary old-style archive to link instead of a shared archive.
   23822 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23823 
   23824 # Commands used to build a shared archive.
   23825 archive_cmds=$lt_archive_cmds
   23826 archive_expsym_cmds=$lt_archive_expsym_cmds
   23827 
   23828 # Commands used to build a loadable module if different from building
   23829 # a shared archive.
   23830 module_cmds=$lt_module_cmds
   23831 module_expsym_cmds=$lt_module_expsym_cmds
   23832 
   23833 # Whether we are building with GNU ld or not.
   23834 with_gnu_ld=$lt_with_gnu_ld
   23835 
   23836 # Flag that allows shared libraries with undefined symbols to be built.
   23837 allow_undefined_flag=$lt_allow_undefined_flag
   23838 
   23839 # Flag that enforces no undefined symbols.
   23840 no_undefined_flag=$lt_no_undefined_flag
   23841 
   23842 # Flag to hardcode \$libdir into a binary during linking.
   23843 # This must work even if \$libdir does not exist
   23844 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23845 
   23846 # Whether we need a single "-rpath" flag with a separated argument.
   23847 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23848 
   23849 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23850 # DIR into the resulting binary.
   23851 hardcode_direct=$hardcode_direct
   23852 
   23853 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23854 # DIR into the resulting binary and the resulting library dependency is
   23855 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   23856 # library is relocated.
   23857 hardcode_direct_absolute=$hardcode_direct_absolute
   23858 
   23859 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23860 # into the resulting binary.
   23861 hardcode_minus_L=$hardcode_minus_L
   23862 
   23863 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23864 # into the resulting binary.
   23865 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23866 
   23867 # Set to "yes" if building a shared library automatically hardcodes DIR
   23868 # into the library and all subsequent libraries and executables linked
   23869 # against it.
   23870 hardcode_automatic=$hardcode_automatic
   23871 
   23872 # Set to yes if linker adds runtime paths of dependent libraries
   23873 # to runtime path list.
   23874 inherit_rpath=$inherit_rpath
   23875 
   23876 # Whether libtool must link a program against all its dependency libraries.
   23877 link_all_deplibs=$link_all_deplibs
   23878 
   23879 # Set to "yes" if exported symbols are required.
   23880 always_export_symbols=$always_export_symbols
   23881 
   23882 # The commands to list exported symbols.
   23883 export_symbols_cmds=$lt_export_symbols_cmds
   23884 
   23885 # Symbols that should not be listed in the preloaded symbols.
   23886 exclude_expsyms=$lt_exclude_expsyms
   23887 
   23888 # Symbols that must always be exported.
   23889 include_expsyms=$lt_include_expsyms
   23890 
   23891 # Commands necessary for linking programs (against libraries) with templates.
   23892 prelink_cmds=$lt_prelink_cmds
   23893 
   23894 # Commands necessary for finishing linking programs.
   23895 postlink_cmds=$lt_postlink_cmds
   23896 
   23897 # Specify filename containing input files.
   23898 file_list_spec=$lt_file_list_spec
   23899 
   23900 # How to hardcode a shared library path into an executable.
   23901 hardcode_action=$hardcode_action
   23902 
   23903 # ### END LIBTOOL CONFIG
   23904 
   23905 _LT_EOF
   23906 
   23907     cat <<'_LT_EOF' >> "$cfgfile"
   23908 
   23909 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23910 
   23911 # func_munge_path_list VARIABLE PATH
   23912 # -----------------------------------
   23913 # VARIABLE is name of variable containing _space_ separated list of
   23914 # directories to be munged by the contents of PATH, which is string
   23915 # having a format:
   23916 # "DIR[:DIR]:"
   23917 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23918 # ":DIR[:DIR]"
   23919 #       string "DIR[ DIR]" will be appended to VARIABLE
   23920 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23921 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23922 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23923 # "DIR[:DIR]"
   23924 #       VARIABLE will be replaced by "DIR[ DIR]"
   23925 func_munge_path_list ()
   23926 {
   23927     case x$2 in
   23928     x)
   23929         ;;
   23930     *:)
   23931         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23932         ;;
   23933     x:*)
   23934         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23935         ;;
   23936     *::*)
   23937         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23938         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23939         ;;
   23940     *)
   23941         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23942         ;;
   23943     esac
   23944 }
   23945 
   23946 
   23947 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23948 func_cc_basename ()
   23949 {
   23950     for cc_temp in $*""; do
   23951       case $cc_temp in
   23952         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23953         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23954         \-*) ;;
   23955         *) break;;
   23956       esac
   23957     done
   23958     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23959 }
   23960 
   23961 
   23962 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23963 
   23964 _LT_EOF
   23965 
   23966   case $host_os in
   23967   aix3*)
   23968     cat <<\_LT_EOF >> "$cfgfile"
   23969 # AIX sometimes has problems with the GCC collect2 program.  For some
   23970 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23971 # vanish in a puff of smoke.
   23972 if test set != "${COLLECT_NAMES+set}"; then
   23973   COLLECT_NAMES=
   23974   export COLLECT_NAMES
   23975 fi
   23976 _LT_EOF
   23977     ;;
   23978   esac
   23979 
   23980 
   23981 
   23982 ltmain=$ac_aux_dir/ltmain.sh
   23983 
   23984 
   23985   # We use sed instead of cat because bash on DJGPP gets confused if
   23986   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23987   # text mode, it properly converts lines to CR/LF.  This bash problem
   23988   # is reportedly fixed, but why not run on old versions too?
   23989   $SED '$q' "$ltmain" >> "$cfgfile" \
   23990      || (rm -f "$cfgfile"; exit 1)
   23991 
   23992    mv -f "$cfgfile" "$ofile" ||
   23993     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23994   chmod +x "$ofile"
   23995 
   23996  ;;
   23997 
   23998   esac
   23999 done # for ac_tag
   24000 
   24001 
   24002 as_fn_exit 0
   24003 _ACEOF
   24004 ac_clean_CONFIG_STATUS=
   24005 
   24006 test $ac_write_fail = 0 ||
   24007   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   24008 
   24009 
   24010 # configure is writing to config.log, and then calls config.status.
   24011 # config.status does its own redirection, appending to config.log.
   24012 # Unfortunately, on DOS this fails, as config.log is still kept open
   24013 # by configure, so config.status won't be able to write to it; its
   24014 # output is simply discarded.  So we exec the FD to /dev/null,
   24015 # effectively closing config.log, so it can be properly (re)opened and
   24016 # appended to by config.status.  When coming back to configure, we
   24017 # need to make the FD available again.
   24018 if test "$no_create" != yes; then
   24019   ac_cs_success=:
   24020   case $CONFIG_STATUS in #(
   24021   -*) :
   24022     ac_no_opts=-- ;; #(
   24023   *) :
   24024     ac_no_opts= ;;
   24025 esac
   24026   ac_config_status_args=
   24027   test "$silent" = yes &&
   24028     ac_config_status_args="$ac_config_status_args --quiet"
   24029   exec 5>/dev/null
   24030   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   24031     ac_cs_success=false
   24032   exec 5>>config.log
   24033   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24034   # would make configure fail if this is the last instruction.
   24035   $ac_cs_success || as_fn_exit 1
   24036 fi
   24037 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   24038   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   24039 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   24040 fi
   24041 
   24042 
   24043