Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.12
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for libXpm 3.5.19.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    195 test \$(( 1 + 1 )) = 2 || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/
    283 $0: about your system, including any error possibly output
    284 $0: before this message. Then install a modern shell, or
    285 $0: manually run the script under such a shell if you do
    286 $0: have one."
    287   fi
    288   exit 1
    289 fi ;;
    290 esac
    291 fi
    292 fi
    293 SHELL=${CONFIG_SHELL-/bin/sh}
    294 export SHELL
    295 # Unset more variables known to interfere with behavior of common tools.
    296 CLICOLOR_FORCE= GREP_OPTIONS=
    297 unset CLICOLOR_FORCE GREP_OPTIONS
    298 
    299 ## --------------------- ##
    300 ## M4sh Shell Functions. ##
    301 ## --------------------- ##
    302 # as_fn_unset VAR
    303 # ---------------
    304 # Portably unset VAR.
    305 as_fn_unset ()
    306 {
    307   { eval $1=; unset $1;}
    308 }
    309 as_unset=as_fn_unset
    310 
    311 
    312 # as_fn_set_status STATUS
    313 # -----------------------
    314 # Set $? to STATUS, without forking.
    315 as_fn_set_status ()
    316 {
    317   return $1
    318 } # as_fn_set_status
    319 
    320 # as_fn_exit STATUS
    321 # -----------------
    322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    323 as_fn_exit ()
    324 {
    325   set +e
    326   as_fn_set_status $1
    327   exit $1
    328 } # as_fn_exit
    329 
    330 # as_fn_mkdir_p
    331 # -------------
    332 # Create "$as_dir" as a directory, including parents if necessary.
    333 as_fn_mkdir_p ()
    334 {
    335 
    336   case $as_dir in #(
    337   -*) as_dir=./$as_dir;;
    338   esac
    339   test -d "$as_dir" || eval $as_mkdir_p || {
    340     as_dirs=
    341     while :; do
    342       case $as_dir in #(
    343       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344       *) as_qdir=$as_dir;;
    345       esac
    346       as_dirs="'$as_qdir' $as_dirs"
    347       as_dir=`$as_dirname -- "$as_dir" ||
    348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350 	 X"$as_dir" : 'X\(//\)$' \| \
    351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352 printf "%s\n" X"$as_dir" |
    353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)[^/].*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)$/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\).*/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  s/.*/./; q'`
    370       test -d "$as_dir" && break
    371     done
    372     test -z "$as_dirs" || eval "mkdir $as_dirs"
    373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374 
    375 
    376 } # as_fn_mkdir_p
    377 
    378 # as_fn_executable_p FILE
    379 # -----------------------
    380 # Test if FILE is an executable regular file.
    381 as_fn_executable_p ()
    382 {
    383   test -f "$1" && test -x "$1"
    384 } # as_fn_executable_p
    385 # as_fn_append VAR VALUE
    386 # ----------------------
    387 # Append the text in VALUE to the end of the definition contained in VAR. Take
    388 # advantage of any shell optimizations that allow amortized linear growth over
    389 # repeated appends, instead of the typical quadratic growth present in naive
    390 # implementations.
    391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392 then :
    393   eval 'as_fn_append ()
    394   {
    395     eval $1+=\$2
    396   }'
    397 else case e in #(
    398   e) as_fn_append ()
    399   {
    400     eval $1=\$$1\$2
    401   } ;;
    402 esac
    403 fi # as_fn_append
    404 
    405 # as_fn_arith ARG...
    406 # ------------------
    407 # Perform arithmetic evaluation on the ARGs, and store the result in the
    408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    409 # must be portable across $(()) and expr.
    410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    411 then :
    412   eval 'as_fn_arith ()
    413   {
    414     as_val=$(( $* ))
    415   }'
    416 else case e in #(
    417   e) as_fn_arith ()
    418   {
    419     as_val=`expr "$@" || test $? -eq 1`
    420   } ;;
    421 esac
    422 fi # as_fn_arith
    423 
    424 
    425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    426 # ----------------------------------------
    427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    429 # script with STATUS, using 1 if that was 0.
    430 as_fn_error ()
    431 {
    432   as_status=$1; test $as_status -eq 0 && as_status=1
    433   if test "$4"; then
    434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    436   fi
    437   printf "%s\n" "$as_me: error: $2" >&2
    438   as_fn_exit $as_status
    439 } # as_fn_error
    440 
    441 if expr a : '\(a\)' >/dev/null 2>&1 &&
    442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    443   as_expr=expr
    444 else
    445   as_expr=false
    446 fi
    447 
    448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    449   as_basename=basename
    450 else
    451   as_basename=false
    452 fi
    453 
    454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    455   as_dirname=dirname
    456 else
    457   as_dirname=false
    458 fi
    459 
    460 as_me=`$as_basename -- "$0" ||
    461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    462 	 X"$0" : 'X\(//\)$' \| \
    463 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    464 printf "%s\n" X/"$0" |
    465     sed '/^.*\/\([^/][^/]*\)\/*$/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  /^X\/\(\/\/\)$/{
    470 	    s//\1/
    471 	    q
    472 	  }
    473 	  /^X\/\(\/\).*/{
    474 	    s//\1/
    475 	    q
    476 	  }
    477 	  s/.*/./; q'`
    478 
    479 # Avoid depending upon Character Ranges.
    480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    483 as_cr_digits='0123456789'
    484 as_cr_alnum=$as_cr_Letters$as_cr_digits
    485 
    486 
    487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    492   sed -n '
    493     p
    494     /[$]LINENO/=
    495   ' <$as_myself |
    496     sed '
    497       t clear
    498       :clear
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 rm -f conf$$ conf$$.exe conf$$.file
    548 if test -d conf$$.dir; then
    549   rm -f conf$$.dir/conf$$.file
    550 else
    551   rm -f conf$$.dir
    552   mkdir conf$$.dir 2>/dev/null
    553 fi
    554 if (echo >conf$$.file) 2>/dev/null; then
    555   if ln -s conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s='ln -s'
    557     # ... but there are two gotchas:
    558     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    559     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    560     # In both cases, we have to default to 'cp -pR'.
    561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    562       as_ln_s='cp -pR'
    563   elif ln conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s=ln
    565   else
    566     as_ln_s='cp -pR'
    567   fi
    568 else
    569   as_ln_s='cp -pR'
    570 fi
    571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    572 rmdir conf$$.dir 2>/dev/null
    573 
    574 if mkdir -p . 2>/dev/null; then
    575   as_mkdir_p='mkdir -p "$as_dir"'
    576 else
    577   test -d ./-p && rmdir ./-p
    578   as_mkdir_p=false
    579 fi
    580 
    581 as_test_x='test -x'
    582 as_executable_p=as_fn_executable_p
    583 
    584 # Sed expression to map a string onto a valid CPP name.
    585 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    586 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    590 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    591 
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593 
    594 
    595 test -n "$DJDIR" || exec 7<&0 </dev/null
    596 exec 6>&1
    597 
    598 # Name of the host.
    599 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    600 # so uname gets run too.
    601 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    602 
    603 #
    604 # Initializations.
    605 #
    606 ac_default_prefix=/usr/local
    607 ac_clean_files=
    608 ac_config_libobj_dir=.
    609 LIBOBJS=
    610 cross_compiling=no
    611 subdirs=
    612 MFLAGS=
    613 MAKEFLAGS=
    614 
    615 # Identity of this package.
    616 PACKAGE_NAME='libXpm'
    617 PACKAGE_TARNAME='libXpm'
    618 PACKAGE_VERSION='3.5.19'
    619 PACKAGE_STRING='libXpm 3.5.19'
    620 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/'
    621 PACKAGE_URL=''
    622 
    623 ac_unique_file="Makefile.am"
    624 # Factoring default headers for most tests.
    625 ac_includes_default="\
    626 #include <stddef.h>
    627 #ifdef HAVE_STDIO_H
    628 # include <stdio.h>
    629 #endif
    630 #ifdef HAVE_STDLIB_H
    631 # include <stdlib.h>
    632 #endif
    633 #ifdef HAVE_STRING_H
    634 # include <string.h>
    635 #endif
    636 #ifdef HAVE_INTTYPES_H
    637 # include <inttypes.h>
    638 #endif
    639 #ifdef HAVE_STDINT_H
    640 # include <stdint.h>
    641 #endif
    642 #ifdef HAVE_STRINGS_H
    643 # include <strings.h>
    644 #endif
    645 #ifdef HAVE_SYS_TYPES_H
    646 # include <sys/types.h>
    647 #endif
    648 #ifdef HAVE_SYS_STAT_H
    649 # include <sys/stat.h>
    650 #endif
    651 #ifdef HAVE_UNISTD_H
    652 # include <unistd.h>
    653 #endif"
    654 
    655 ac_header_c_list=
    656 ac_subst_vars='am__EXEEXT_FALSE
    657 am__EXEEXT_TRUE
    658 LTLIBOBJS
    659 LIBOBJS
    660 HAVE_GLIB_FALSE
    661 HAVE_GLIB_TRUE
    662 GLIB_LIBS
    663 GLIB_CFLAGS
    664 ENABLE_UNIT_TESTS_FALSE
    665 ENABLE_UNIT_TESTS_TRUE
    666 XORG_MALLOC_DEBUG_ENV
    667 XPM_PATH_UNCOMPRESS
    668 XPM_PATH_COMPRESS
    669 XPM_PATH_GZIP
    670 COMPRESSED_PIXMAPS_FALSE
    671 COMPRESSED_PIXMAPS_TRUE
    672 USE_GETTEXT_FALSE
    673 USE_GETTEXT_TRUE
    674 LOCALEDIR
    675 BUILD_SXPM_FALSE
    676 BUILD_SXPM_TRUE
    677 SXPM_LIBS
    678 SXPM_CFLAGS
    679 XPM_LIBS
    680 XPM_CFLAGS
    681 MAN_SUBSTS
    682 XORG_MAN_PAGE
    683 ADMIN_MAN_DIR
    684 DRIVER_MAN_DIR
    685 MISC_MAN_DIR
    686 FILE_MAN_DIR
    687 LIB_MAN_DIR
    688 APP_MAN_DIR
    689 ADMIN_MAN_SUFFIX
    690 DRIVER_MAN_SUFFIX
    691 MISC_MAN_SUFFIX
    692 FILE_MAN_SUFFIX
    693 LIB_MAN_SUFFIX
    694 APP_MAN_SUFFIX
    695 INSTALL_CMD
    696 PKG_CONFIG_LIBDIR
    697 PKG_CONFIG_PATH
    698 PKG_CONFIG
    699 CHANGELOG_CMD
    700 STRICT_CFLAGS
    701 CWARNFLAGS
    702 BASE_CFLAGS
    703 LT_SYS_LIBRARY_PATH
    704 OTOOL64
    705 OTOOL
    706 LIPO
    707 NMEDIT
    708 DSYMUTIL
    709 MANIFEST_TOOL
    710 RANLIB
    711 ac_ct_AR
    712 AR
    713 DLLTOOL
    714 OBJDUMP
    715 FILECMD
    716 LN_S
    717 NM
    718 ac_ct_DUMPBIN
    719 DUMPBIN
    720 LD
    721 FGREP
    722 EGREP
    723 GREP
    724 SED
    725 am__fastdepCC_FALSE
    726 am__fastdepCC_TRUE
    727 CCDEPMODE
    728 am__nodep
    729 AMDEPBACKSLASH
    730 AMDEP_FALSE
    731 AMDEP_TRUE
    732 am__include
    733 DEPDIR
    734 OBJEXT
    735 EXEEXT
    736 ac_ct_CC
    737 CPPFLAGS
    738 LDFLAGS
    739 CFLAGS
    740 CC
    741 host_os
    742 host_vendor
    743 host_cpu
    744 host
    745 build_os
    746 build_vendor
    747 build_cpu
    748 build
    749 LIBTOOL
    750 am__xargs_n
    751 am__rm_f_notfound
    752 AM_BACKSLASH
    753 AM_DEFAULT_VERBOSITY
    754 AM_DEFAULT_V
    755 AM_V
    756 CSCOPE
    757 ETAGS
    758 CTAGS
    759 am__untar
    760 am__tar
    761 AMTAR
    762 am__leading_dot
    763 SET_MAKE
    764 AWK
    765 mkdir_p
    766 MKDIR_P
    767 INSTALL_STRIP_PROGRAM
    768 STRIP
    769 install_sh
    770 MAKEINFO
    771 AUTOHEADER
    772 AUTOMAKE
    773 AUTOCONF
    774 ACLOCAL
    775 VERSION
    776 PACKAGE
    777 CYGPATH_W
    778 am__isrc
    779 INSTALL_DATA
    780 INSTALL_SCRIPT
    781 INSTALL_PROGRAM
    782 target_alias
    783 host_alias
    784 build_alias
    785 LIBS
    786 ECHO_T
    787 ECHO_N
    788 ECHO_C
    789 DEFS
    790 mandir
    791 localedir
    792 libdir
    793 psdir
    794 pdfdir
    795 dvidir
    796 htmldir
    797 infodir
    798 docdir
    799 oldincludedir
    800 includedir
    801 runstatedir
    802 localstatedir
    803 sharedstatedir
    804 sysconfdir
    805 datadir
    806 datarootdir
    807 libexecdir
    808 sbindir
    809 bindir
    810 program_transform_name
    811 prefix
    812 exec_prefix
    813 PACKAGE_URL
    814 PACKAGE_BUGREPORT
    815 PACKAGE_STRING
    816 PACKAGE_VERSION
    817 PACKAGE_TARNAME
    818 PACKAGE_NAME
    819 PATH_SEPARATOR
    820 SHELL
    821 am__quote'
    822 ac_subst_files=''
    823 ac_user_opts='
    824 enable_option_checking
    825 enable_silent_rules
    826 enable_shared
    827 enable_static
    828 enable_pic
    829 with_pic
    830 enable_fast_install
    831 enable_aix_soname
    832 with_aix_soname
    833 enable_dependency_tracking
    834 with_gnu_ld
    835 with_sysroot
    836 enable_libtool_lock
    837 enable_selective_werror
    838 enable_strict_compilation
    839 with_localedir
    840 enable_open_zfile
    841 enable_stat_zfile
    842 enable_unit_tests
    843 with_glib
    844 '
    845       ac_precious_vars='build_alias
    846 host_alias
    847 target_alias
    848 CC
    849 CFLAGS
    850 LDFLAGS
    851 LIBS
    852 CPPFLAGS
    853 LT_SYS_LIBRARY_PATH
    854 PKG_CONFIG
    855 PKG_CONFIG_PATH
    856 PKG_CONFIG_LIBDIR
    857 XPM_CFLAGS
    858 XPM_LIBS
    859 SXPM_CFLAGS
    860 SXPM_LIBS
    861 XORG_MALLOC_DEBUG_ENV
    862 GLIB_CFLAGS
    863 GLIB_LIBS'
    864 
    865 
    866 # Initialize some variables set by options.
    867 ac_init_help=
    868 ac_init_version=false
    869 ac_unrecognized_opts=
    870 ac_unrecognized_sep=
    871 # The variables have the same names as the options, with
    872 # dashes changed to underlines.
    873 cache_file=/dev/null
    874 exec_prefix=NONE
    875 no_create=
    876 no_recursion=
    877 prefix=NONE
    878 program_prefix=NONE
    879 program_suffix=NONE
    880 program_transform_name=s,x,x,
    881 silent=
    882 site=
    883 srcdir=
    884 verbose=
    885 x_includes=NONE
    886 x_libraries=NONE
    887 
    888 # Installation directory options.
    889 # These are left unexpanded so users can "make install exec_prefix=/foo"
    890 # and all the variables that are supposed to be based on exec_prefix
    891 # by default will actually change.
    892 # Use braces instead of parens because sh, perl, etc. also accept them.
    893 # (The list follows the same order as the GNU Coding Standards.)
    894 bindir='${exec_prefix}/bin'
    895 sbindir='${exec_prefix}/sbin'
    896 libexecdir='${exec_prefix}/libexec'
    897 datarootdir='${prefix}/share'
    898 datadir='${datarootdir}'
    899 sysconfdir='${prefix}/etc'
    900 sharedstatedir='${prefix}/com'
    901 localstatedir='${prefix}/var'
    902 runstatedir='${localstatedir}/run'
    903 includedir='${prefix}/include'
    904 oldincludedir='/usr/include'
    905 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    906 infodir='${datarootdir}/info'
    907 htmldir='${docdir}'
    908 dvidir='${docdir}'
    909 pdfdir='${docdir}'
    910 psdir='${docdir}'
    911 libdir='${exec_prefix}/lib'
    912 localedir='${datarootdir}/locale'
    913 mandir='${datarootdir}/man'
    914 
    915 ac_prev=
    916 ac_dashdash=
    917 for ac_option
    918 do
    919   # If the previous option needs an argument, assign it.
    920   if test -n "$ac_prev"; then
    921     eval $ac_prev=\$ac_option
    922     ac_prev=
    923     continue
    924   fi
    925 
    926   case $ac_option in
    927   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    928   *=)   ac_optarg= ;;
    929   *)    ac_optarg=yes ;;
    930   esac
    931 
    932   case $ac_dashdash$ac_option in
    933   --)
    934     ac_dashdash=yes ;;
    935 
    936   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    937     ac_prev=bindir ;;
    938   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    939     bindir=$ac_optarg ;;
    940 
    941   -build | --build | --buil | --bui | --bu)
    942     ac_prev=build_alias ;;
    943   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    944     build_alias=$ac_optarg ;;
    945 
    946   -cache-file | --cache-file | --cache-fil | --cache-fi \
    947   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    948     ac_prev=cache_file ;;
    949   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    950   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    951     cache_file=$ac_optarg ;;
    952 
    953   --config-cache | -C)
    954     cache_file=config.cache ;;
    955 
    956   -datadir | --datadir | --datadi | --datad)
    957     ac_prev=datadir ;;
    958   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    959     datadir=$ac_optarg ;;
    960 
    961   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    962   | --dataroo | --dataro | --datar)
    963     ac_prev=datarootdir ;;
    964   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    965   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    966     datarootdir=$ac_optarg ;;
    967 
    968   -disable-* | --disable-*)
    969     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    970     # Reject names that are not valid shell variable names.
    971     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    972       as_fn_error $? "invalid feature name: '$ac_useropt'"
    973     ac_useropt_orig=$ac_useropt
    974     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    975     case $ac_user_opts in
    976       *"
    977 "enable_$ac_useropt"
    978 "*) ;;
    979       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    980 	 ac_unrecognized_sep=', ';;
    981     esac
    982     eval enable_$ac_useropt=no ;;
    983 
    984   -docdir | --docdir | --docdi | --doc | --do)
    985     ac_prev=docdir ;;
    986   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    987     docdir=$ac_optarg ;;
    988 
    989   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    990     ac_prev=dvidir ;;
    991   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    992     dvidir=$ac_optarg ;;
    993 
    994   -enable-* | --enable-*)
    995     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    996     # Reject names that are not valid shell variable names.
    997     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    998       as_fn_error $? "invalid feature name: '$ac_useropt'"
    999     ac_useropt_orig=$ac_useropt
   1000     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1001     case $ac_user_opts in
   1002       *"
   1003 "enable_$ac_useropt"
   1004 "*) ;;
   1005       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1006 	 ac_unrecognized_sep=', ';;
   1007     esac
   1008     eval enable_$ac_useropt=\$ac_optarg ;;
   1009 
   1010   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1011   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1012   | --exec | --exe | --ex)
   1013     ac_prev=exec_prefix ;;
   1014   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1015   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1016   | --exec=* | --exe=* | --ex=*)
   1017     exec_prefix=$ac_optarg ;;
   1018 
   1019   -gas | --gas | --ga | --g)
   1020     # Obsolete; use --with-gas.
   1021     with_gas=yes ;;
   1022 
   1023   -help | --help | --hel | --he | -h)
   1024     ac_init_help=long ;;
   1025   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1026     ac_init_help=recursive ;;
   1027   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1028     ac_init_help=short ;;
   1029 
   1030   -host | --host | --hos | --ho)
   1031     ac_prev=host_alias ;;
   1032   -host=* | --host=* | --hos=* | --ho=*)
   1033     host_alias=$ac_optarg ;;
   1034 
   1035   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1036     ac_prev=htmldir ;;
   1037   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1038   | --ht=*)
   1039     htmldir=$ac_optarg ;;
   1040 
   1041   -includedir | --includedir | --includedi | --included | --include \
   1042   | --includ | --inclu | --incl | --inc)
   1043     ac_prev=includedir ;;
   1044   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1045   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1046     includedir=$ac_optarg ;;
   1047 
   1048   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1049     ac_prev=infodir ;;
   1050   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1051     infodir=$ac_optarg ;;
   1052 
   1053   -libdir | --libdir | --libdi | --libd)
   1054     ac_prev=libdir ;;
   1055   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1056     libdir=$ac_optarg ;;
   1057 
   1058   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1059   | --libexe | --libex | --libe)
   1060     ac_prev=libexecdir ;;
   1061   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1062   | --libexe=* | --libex=* | --libe=*)
   1063     libexecdir=$ac_optarg ;;
   1064 
   1065   -localedir | --localedir | --localedi | --localed | --locale)
   1066     ac_prev=localedir ;;
   1067   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1068     localedir=$ac_optarg ;;
   1069 
   1070   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1071   | --localstate | --localstat | --localsta | --localst | --locals)
   1072     ac_prev=localstatedir ;;
   1073   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1074   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1075     localstatedir=$ac_optarg ;;
   1076 
   1077   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1078     ac_prev=mandir ;;
   1079   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1080     mandir=$ac_optarg ;;
   1081 
   1082   -nfp | --nfp | --nf)
   1083     # Obsolete; use --without-fp.
   1084     with_fp=no ;;
   1085 
   1086   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1087   | --no-cr | --no-c | -n)
   1088     no_create=yes ;;
   1089 
   1090   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1091   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1092     no_recursion=yes ;;
   1093 
   1094   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1095   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1096   | --oldin | --oldi | --old | --ol | --o)
   1097     ac_prev=oldincludedir ;;
   1098   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1099   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1100   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1101     oldincludedir=$ac_optarg ;;
   1102 
   1103   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1104     ac_prev=prefix ;;
   1105   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1106     prefix=$ac_optarg ;;
   1107 
   1108   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1109   | --program-pre | --program-pr | --program-p)
   1110     ac_prev=program_prefix ;;
   1111   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1112   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1113     program_prefix=$ac_optarg ;;
   1114 
   1115   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1116   | --program-suf | --program-su | --program-s)
   1117     ac_prev=program_suffix ;;
   1118   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1119   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1120     program_suffix=$ac_optarg ;;
   1121 
   1122   -program-transform-name | --program-transform-name \
   1123   | --program-transform-nam | --program-transform-na \
   1124   | --program-transform-n | --program-transform- \
   1125   | --program-transform | --program-transfor \
   1126   | --program-transfo | --program-transf \
   1127   | --program-trans | --program-tran \
   1128   | --progr-tra | --program-tr | --program-t)
   1129     ac_prev=program_transform_name ;;
   1130   -program-transform-name=* | --program-transform-name=* \
   1131   | --program-transform-nam=* | --program-transform-na=* \
   1132   | --program-transform-n=* | --program-transform-=* \
   1133   | --program-transform=* | --program-transfor=* \
   1134   | --program-transfo=* | --program-transf=* \
   1135   | --program-trans=* | --program-tran=* \
   1136   | --progr-tra=* | --program-tr=* | --program-t=*)
   1137     program_transform_name=$ac_optarg ;;
   1138 
   1139   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1140     ac_prev=pdfdir ;;
   1141   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1142     pdfdir=$ac_optarg ;;
   1143 
   1144   -psdir | --psdir | --psdi | --psd | --ps)
   1145     ac_prev=psdir ;;
   1146   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1147     psdir=$ac_optarg ;;
   1148 
   1149   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1150   | -silent | --silent | --silen | --sile | --sil)
   1151     silent=yes ;;
   1152 
   1153   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1154   | --runstate | --runstat | --runsta | --runst | --runs \
   1155   | --run | --ru | --r)
   1156     ac_prev=runstatedir ;;
   1157   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1158   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1159   | --run=* | --ru=* | --r=*)
   1160     runstatedir=$ac_optarg ;;
   1161 
   1162   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1163     ac_prev=sbindir ;;
   1164   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1165   | --sbi=* | --sb=*)
   1166     sbindir=$ac_optarg ;;
   1167 
   1168   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1169   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1170   | --sharedst | --shareds | --shared | --share | --shar \
   1171   | --sha | --sh)
   1172     ac_prev=sharedstatedir ;;
   1173   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1174   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1175   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1176   | --sha=* | --sh=*)
   1177     sharedstatedir=$ac_optarg ;;
   1178 
   1179   -site | --site | --sit)
   1180     ac_prev=site ;;
   1181   -site=* | --site=* | --sit=*)
   1182     site=$ac_optarg ;;
   1183 
   1184   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1185     ac_prev=srcdir ;;
   1186   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1187     srcdir=$ac_optarg ;;
   1188 
   1189   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1190   | --syscon | --sysco | --sysc | --sys | --sy)
   1191     ac_prev=sysconfdir ;;
   1192   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1193   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1194     sysconfdir=$ac_optarg ;;
   1195 
   1196   -target | --target | --targe | --targ | --tar | --ta | --t)
   1197     ac_prev=target_alias ;;
   1198   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1199     target_alias=$ac_optarg ;;
   1200 
   1201   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1202     verbose=yes ;;
   1203 
   1204   -version | --version | --versio | --versi | --vers | -V)
   1205     ac_init_version=: ;;
   1206 
   1207   -with-* | --with-*)
   1208     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1209     # Reject names that are not valid shell variable names.
   1210     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1211       as_fn_error $? "invalid package name: '$ac_useropt'"
   1212     ac_useropt_orig=$ac_useropt
   1213     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1214     case $ac_user_opts in
   1215       *"
   1216 "with_$ac_useropt"
   1217 "*) ;;
   1218       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1219 	 ac_unrecognized_sep=', ';;
   1220     esac
   1221     eval with_$ac_useropt=\$ac_optarg ;;
   1222 
   1223   -without-* | --without-*)
   1224     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1225     # Reject names that are not valid shell variable names.
   1226     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1227       as_fn_error $? "invalid package name: '$ac_useropt'"
   1228     ac_useropt_orig=$ac_useropt
   1229     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1230     case $ac_user_opts in
   1231       *"
   1232 "with_$ac_useropt"
   1233 "*) ;;
   1234       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1235 	 ac_unrecognized_sep=', ';;
   1236     esac
   1237     eval with_$ac_useropt=no ;;
   1238 
   1239   --x)
   1240     # Obsolete; use --with-x.
   1241     with_x=yes ;;
   1242 
   1243   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1244   | --x-incl | --x-inc | --x-in | --x-i)
   1245     ac_prev=x_includes ;;
   1246   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1247   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1248     x_includes=$ac_optarg ;;
   1249 
   1250   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1251   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1252     ac_prev=x_libraries ;;
   1253   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1254   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1255     x_libraries=$ac_optarg ;;
   1256 
   1257   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1258 Try '$0 --help' for more information"
   1259     ;;
   1260 
   1261   *=*)
   1262     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1263     # Reject names that are not valid shell variable names.
   1264     case $ac_envvar in #(
   1265       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1266       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1267     esac
   1268     eval $ac_envvar=\$ac_optarg
   1269     export $ac_envvar ;;
   1270 
   1271   *)
   1272     # FIXME: should be removed in autoconf 3.0.
   1273     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1274     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1275       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1276     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1277     ;;
   1278 
   1279   esac
   1280 done
   1281 
   1282 if test -n "$ac_prev"; then
   1283   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1284   as_fn_error $? "missing argument to $ac_option"
   1285 fi
   1286 
   1287 if test -n "$ac_unrecognized_opts"; then
   1288   case $enable_option_checking in
   1289     no) ;;
   1290     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1291     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1292   esac
   1293 fi
   1294 
   1295 # Check all directory arguments for consistency.
   1296 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1297 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1298 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1299 		libdir localedir mandir runstatedir
   1300 do
   1301   eval ac_val=\$$ac_var
   1302   # Remove trailing slashes.
   1303   case $ac_val in
   1304     */ )
   1305       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1306       eval $ac_var=\$ac_val;;
   1307   esac
   1308   # Be sure to have absolute directory names.
   1309   case $ac_val in
   1310     [\\/$]* | ?:[\\/]* )  continue;;
   1311     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1312   esac
   1313   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1314 done
   1315 
   1316 # There might be people who depend on the old broken behavior: '$host'
   1317 # used to hold the argument of --host etc.
   1318 # FIXME: To remove some day.
   1319 build=$build_alias
   1320 host=$host_alias
   1321 target=$target_alias
   1322 
   1323 # FIXME: To remove some day.
   1324 if test "x$host_alias" != x; then
   1325   if test "x$build_alias" = x; then
   1326     cross_compiling=maybe
   1327   elif test "x$build_alias" != "x$host_alias"; then
   1328     cross_compiling=yes
   1329   fi
   1330 fi
   1331 
   1332 ac_tool_prefix=
   1333 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1334 
   1335 test "$silent" = yes && exec 6>/dev/null
   1336 
   1337 
   1338 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1339 ac_ls_di=`ls -di .` &&
   1340 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1341   as_fn_error $? "working directory cannot be determined"
   1342 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1343   as_fn_error $? "pwd does not report name of working directory"
   1344 
   1345 
   1346 # Find the source files, if location was not specified.
   1347 if test -z "$srcdir"; then
   1348   ac_srcdir_defaulted=yes
   1349   # Try the directory containing this script, then the parent directory.
   1350   ac_confdir=`$as_dirname -- "$as_myself" ||
   1351 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1352 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1353 	 X"$as_myself" : 'X\(//\)$' \| \
   1354 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1355 printf "%s\n" X"$as_myself" |
   1356     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1357 	    s//\1/
   1358 	    q
   1359 	  }
   1360 	  /^X\(\/\/\)[^/].*/{
   1361 	    s//\1/
   1362 	    q
   1363 	  }
   1364 	  /^X\(\/\/\)$/{
   1365 	    s//\1/
   1366 	    q
   1367 	  }
   1368 	  /^X\(\/\).*/{
   1369 	    s//\1/
   1370 	    q
   1371 	  }
   1372 	  s/.*/./; q'`
   1373   srcdir=$ac_confdir
   1374   if test ! -r "$srcdir/$ac_unique_file"; then
   1375     srcdir=..
   1376   fi
   1377 else
   1378   ac_srcdir_defaulted=no
   1379 fi
   1380 if test ! -r "$srcdir/$ac_unique_file"; then
   1381   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1382   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1383 fi
   1384 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1385 ac_abs_confdir=`(
   1386 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1387 	pwd)`
   1388 # When building in place, set srcdir=.
   1389 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1390   srcdir=.
   1391 fi
   1392 # Remove unnecessary trailing slashes from srcdir.
   1393 # Double slashes in file names in object file debugging info
   1394 # mess up M-x gdb in Emacs.
   1395 case $srcdir in
   1396 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1397 esac
   1398 for ac_var in $ac_precious_vars; do
   1399   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1400   eval ac_env_${ac_var}_value=\$${ac_var}
   1401   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1402   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1403 done
   1404 
   1405 #
   1406 # Report the --help message.
   1407 #
   1408 if test "$ac_init_help" = "long"; then
   1409   # Omit some internal or obsolete options to make the list less imposing.
   1410   # This message is too long to be a string in the A/UX 3.1 sh.
   1411   cat <<_ACEOF
   1412 'configure' configures libXpm 3.5.19 to adapt to many kinds of systems.
   1413 
   1414 Usage: $0 [OPTION]... [VAR=VALUE]...
   1415 
   1416 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1417 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1418 
   1419 Defaults for the options are specified in brackets.
   1420 
   1421 Configuration:
   1422   -h, --help              display this help and exit
   1423       --help=short        display options specific to this package
   1424       --help=recursive    display the short help of all the included packages
   1425   -V, --version           display version information and exit
   1426   -q, --quiet, --silent   do not print 'checking ...' messages
   1427       --cache-file=FILE   cache test results in FILE [disabled]
   1428   -C, --config-cache      alias for '--cache-file=config.cache'
   1429   -n, --no-create         do not create output files
   1430       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1431 
   1432 Installation directories:
   1433   --prefix=PREFIX         install architecture-independent files in PREFIX
   1434                           [$ac_default_prefix]
   1435   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1436                           [PREFIX]
   1437 
   1438 By default, 'make install' will install all the files in
   1439 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1440 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1441 for instance '--prefix=\$HOME'.
   1442 
   1443 For better control, use the options below.
   1444 
   1445 Fine tuning of the installation directories:
   1446   --bindir=DIR            user executables [EPREFIX/bin]
   1447   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1448   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1449   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1450   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1451   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1452   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1453   --libdir=DIR            object code libraries [EPREFIX/lib]
   1454   --includedir=DIR        C header files [PREFIX/include]
   1455   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1456   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1457   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1458   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1459   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1460   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1461   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXpm]
   1462   --htmldir=DIR           html documentation [DOCDIR]
   1463   --dvidir=DIR            dvi documentation [DOCDIR]
   1464   --pdfdir=DIR            pdf documentation [DOCDIR]
   1465   --psdir=DIR             ps documentation [DOCDIR]
   1466 _ACEOF
   1467 
   1468   cat <<\_ACEOF
   1469 
   1470 Program names:
   1471   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1472   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1473   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1474 
   1475 System types:
   1476   --build=BUILD     configure for building on BUILD [guessed]
   1477   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1478 _ACEOF
   1479 fi
   1480 
   1481 if test -n "$ac_init_help"; then
   1482   case $ac_init_help in
   1483      short | recursive ) echo "Configuration of libXpm 3.5.19:";;
   1484    esac
   1485   cat <<\_ACEOF
   1486 
   1487 Optional Features:
   1488   --disable-option-checking  ignore unrecognized --enable/--with options
   1489   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1490   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1491   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1492   --disable-silent-rules  verbose build output (undo: "make V=0")
   1493   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1494   --enable-static[=PKGS]  build static libraries [default=yes]
   1495   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1496                           both]
   1497   --enable-fast-install[=PKGS]
   1498                           optimize for fast installation [default=yes]
   1499   --enable-aix-soname=aix|svr4|both
   1500                           shared library versioning (aka "SONAME") variant to
   1501                           provide on AIX, [default=aix].
   1502   --enable-dependency-tracking
   1503                           do not reject slow dependency extractors
   1504   --disable-dependency-tracking
   1505                           speeds up one-time build
   1506   --disable-libtool-lock  avoid locking (might break parallel builds)
   1507   --disable-selective-werror
   1508                           Turn off selective compiler errors. (default:
   1509                           enabled)
   1510   --enable-strict-compilation
   1511                           Enable all warnings from compiler and make them
   1512                           errors (default: disabled)
   1513   --enable-open-zfile     Search for files with .Z & .gz extensions
   1514                           automatically [default=auto]
   1515   --enable-stat-zfile     Search for files with .Z & .gz extensions
   1516                           automatically [default=auto]
   1517   --enable-unit-tests     Enable building unit test cases (default: auto)
   1518 
   1519 Optional Packages:
   1520   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1521   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1522   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1523   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1524                           compiler's sysroot if not specified).
   1525   --with-localedir=<path> Path to install message files in (default:
   1526                           datadir/locale)
   1527   --with-glib             Use GLib library for unit testing (default: auto)
   1528 
   1529 Some influential environment variables:
   1530   CC          C compiler command
   1531   CFLAGS      C compiler flags
   1532   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1533               nonstandard directory <lib dir>
   1534   LIBS        libraries to pass to the linker, e.g. -l<library>
   1535   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1536               you have headers in a nonstandard directory <include dir>
   1537   LT_SYS_LIBRARY_PATH
   1538               User-defined run-time library search path.
   1539   PKG_CONFIG  path to pkg-config utility
   1540   PKG_CONFIG_PATH
   1541               directories to add to pkg-config's search path
   1542   PKG_CONFIG_LIBDIR
   1543               path overriding pkg-config's built-in search path
   1544   XPM_CFLAGS  C compiler flags for XPM, overriding pkg-config
   1545   XPM_LIBS    linker flags for XPM, overriding pkg-config
   1546   SXPM_CFLAGS C compiler flags for SXPM, overriding pkg-config
   1547   SXPM_LIBS   linker flags for SXPM, overriding pkg-config
   1548   XORG_MALLOC_DEBUG_ENV
   1549               Environment variables to enable memory checking in tests
   1550   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
   1551   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
   1552 
   1553 Use these variables to override the choices made by 'configure' or to help
   1554 it to find libraries and programs with nonstandard names/locations.
   1555 
   1556 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/>.
   1557 _ACEOF
   1558 ac_status=$?
   1559 fi
   1560 
   1561 if test "$ac_init_help" = "recursive"; then
   1562   # If there are subdirs, report their specific --help.
   1563   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1564     test -d "$ac_dir" ||
   1565       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1566       continue
   1567     ac_builddir=.
   1568 
   1569 case "$ac_dir" in
   1570 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1571 *)
   1572   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1573   # A ".." for each directory in $ac_dir_suffix.
   1574   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1575   case $ac_top_builddir_sub in
   1576   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1577   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1578   esac ;;
   1579 esac
   1580 ac_abs_top_builddir=$ac_pwd
   1581 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1582 # for backward compatibility:
   1583 ac_top_builddir=$ac_top_build_prefix
   1584 
   1585 case $srcdir in
   1586   .)  # We are building in place.
   1587     ac_srcdir=.
   1588     ac_top_srcdir=$ac_top_builddir_sub
   1589     ac_abs_top_srcdir=$ac_pwd ;;
   1590   [\\/]* | ?:[\\/]* )  # Absolute name.
   1591     ac_srcdir=$srcdir$ac_dir_suffix;
   1592     ac_top_srcdir=$srcdir
   1593     ac_abs_top_srcdir=$srcdir ;;
   1594   *) # Relative name.
   1595     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1596     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1597     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1598 esac
   1599 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1600 
   1601     cd "$ac_dir" || { ac_status=$?; continue; }
   1602     # Check for configure.gnu first; this name is used for a wrapper for
   1603     # Metaconfig's "Configure" on case-insensitive file systems.
   1604     if test -f "$ac_srcdir/configure.gnu"; then
   1605       echo &&
   1606       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1607     elif test -f "$ac_srcdir/configure"; then
   1608       echo &&
   1609       $SHELL "$ac_srcdir/configure" --help=recursive
   1610     else
   1611       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1612     fi || ac_status=$?
   1613     cd "$ac_pwd" || { ac_status=$?; break; }
   1614   done
   1615 fi
   1616 
   1617 test -n "$ac_init_help" && exit $ac_status
   1618 if $ac_init_version; then
   1619   cat <<\_ACEOF
   1620 libXpm configure 3.5.19
   1621 generated by GNU Autoconf 2.72
   1622 
   1623 Copyright (C) 2023 Free Software Foundation, Inc.
   1624 This configure script is free software; the Free Software Foundation
   1625 gives unlimited permission to copy, distribute and modify it.
   1626 _ACEOF
   1627   exit
   1628 fi
   1629 
   1630 ## ------------------------ ##
   1631 ## Autoconf initialization. ##
   1632 ## ------------------------ ##
   1633 
   1634 # ac_fn_c_try_compile LINENO
   1635 # --------------------------
   1636 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1637 ac_fn_c_try_compile ()
   1638 {
   1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1640   rm -f conftest.$ac_objext conftest.beam
   1641   if { { ac_try="$ac_compile"
   1642 case "(($ac_try" in
   1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1644   *) ac_try_echo=$ac_try;;
   1645 esac
   1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1647 printf "%s\n" "$ac_try_echo"; } >&5
   1648   (eval "$ac_compile") 2>conftest.err
   1649   ac_status=$?
   1650   if test -s conftest.err; then
   1651     grep -v '^ *+' conftest.err >conftest.er1
   1652     cat conftest.er1 >&5
   1653     mv -f conftest.er1 conftest.err
   1654   fi
   1655   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1656   test $ac_status = 0; } && {
   1657 	 test -z "$ac_c_werror_flag" ||
   1658 	 test ! -s conftest.err
   1659        } && test -s conftest.$ac_objext
   1660 then :
   1661   ac_retval=0
   1662 else case e in #(
   1663   e) printf "%s\n" "$as_me: failed program was:" >&5
   1664 sed 's/^/| /' conftest.$ac_ext >&5
   1665 
   1666 	ac_retval=1 ;;
   1667 esac
   1668 fi
   1669   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1670   as_fn_set_status $ac_retval
   1671 
   1672 } # ac_fn_c_try_compile
   1673 
   1674 # ac_fn_c_try_link LINENO
   1675 # -----------------------
   1676 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1677 ac_fn_c_try_link ()
   1678 {
   1679   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1680   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1681   if { { ac_try="$ac_link"
   1682 case "(($ac_try" in
   1683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1684   *) ac_try_echo=$ac_try;;
   1685 esac
   1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1687 printf "%s\n" "$ac_try_echo"; } >&5
   1688   (eval "$ac_link") 2>conftest.err
   1689   ac_status=$?
   1690   if test -s conftest.err; then
   1691     grep -v '^ *+' conftest.err >conftest.er1
   1692     cat conftest.er1 >&5
   1693     mv -f conftest.er1 conftest.err
   1694   fi
   1695   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1696   test $ac_status = 0; } && {
   1697 	 test -z "$ac_c_werror_flag" ||
   1698 	 test ! -s conftest.err
   1699        } && test -s conftest$ac_exeext && {
   1700 	 test "$cross_compiling" = yes ||
   1701 	 test -x conftest$ac_exeext
   1702        }
   1703 then :
   1704   ac_retval=0
   1705 else case e in #(
   1706   e) printf "%s\n" "$as_me: failed program was:" >&5
   1707 sed 's/^/| /' conftest.$ac_ext >&5
   1708 
   1709 	ac_retval=1 ;;
   1710 esac
   1711 fi
   1712   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1713   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1714   # interfere with the next link command; also delete a directory that is
   1715   # left behind by Apple's compiler.  We do this before executing the actions.
   1716   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1717   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1718   as_fn_set_status $ac_retval
   1719 
   1720 } # ac_fn_c_try_link
   1721 
   1722 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1723 # -------------------------------------------------------
   1724 # Tests whether HEADER exists and can be compiled using the include files in
   1725 # INCLUDES, setting the cache variable VAR accordingly.
   1726 ac_fn_c_check_header_compile ()
   1727 {
   1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1730 printf %s "checking for $2... " >&6; }
   1731 if eval test \${$3+y}
   1732 then :
   1733   printf %s "(cached) " >&6
   1734 else case e in #(
   1735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1736 /* end confdefs.h.  */
   1737 $4
   1738 #include <$2>
   1739 _ACEOF
   1740 if ac_fn_c_try_compile "$LINENO"
   1741 then :
   1742   eval "$3=yes"
   1743 else case e in #(
   1744   e) eval "$3=no" ;;
   1745 esac
   1746 fi
   1747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1748 esac
   1749 fi
   1750 eval ac_res=\$$3
   1751 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1752 printf "%s\n" "$ac_res" >&6; }
   1753   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1754 
   1755 } # ac_fn_c_check_header_compile
   1756 
   1757 # ac_fn_c_check_func LINENO FUNC VAR
   1758 # ----------------------------------
   1759 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1760 ac_fn_c_check_func ()
   1761 {
   1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1764 printf %s "checking for $2... " >&6; }
   1765 if eval test \${$3+y}
   1766 then :
   1767   printf %s "(cached) " >&6
   1768 else case e in #(
   1769   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1770 /* end confdefs.h.  */
   1771 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1773 #define $2 innocuous_$2
   1774 
   1775 /* System header to define __stub macros and hopefully few prototypes,
   1776    which can conflict with char $2 (void); below.  */
   1777 
   1778 #include <limits.h>
   1779 #undef $2
   1780 
   1781 /* Override any GCC internal prototype to avoid an error.
   1782    Use char because int might match the return type of a GCC
   1783    builtin and then its argument prototype would still apply.  */
   1784 #ifdef __cplusplus
   1785 extern "C"
   1786 #endif
   1787 char $2 (void);
   1788 /* The GNU C library defines this for functions which it implements
   1789     to always fail with ENOSYS.  Some functions are actually named
   1790     something starting with __ and the normal name is an alias.  */
   1791 #if defined __stub_$2 || defined __stub___$2
   1792 choke me
   1793 #endif
   1794 
   1795 int
   1796 main (void)
   1797 {
   1798 return $2 ();
   1799   ;
   1800   return 0;
   1801 }
   1802 _ACEOF
   1803 if ac_fn_c_try_link "$LINENO"
   1804 then :
   1805   eval "$3=yes"
   1806 else case e in #(
   1807   e) eval "$3=no" ;;
   1808 esac
   1809 fi
   1810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1811     conftest$ac_exeext conftest.$ac_ext ;;
   1812 esac
   1813 fi
   1814 eval ac_res=\$$3
   1815 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1816 printf "%s\n" "$ac_res" >&6; }
   1817   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1818 
   1819 } # ac_fn_c_check_func
   1820 
   1821 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1822 # ------------------------------------------------------------------
   1823 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1824 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1825 ac_fn_check_decl ()
   1826 {
   1827   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1828   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1830 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1831 if eval test \${$3+y}
   1832 then :
   1833   printf %s "(cached) " >&6
   1834 else case e in #(
   1835   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1836   eval ac_save_FLAGS=\$$6
   1837   as_fn_append $6 " $5"
   1838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1839 /* end confdefs.h.  */
   1840 $4
   1841 int
   1842 main (void)
   1843 {
   1844 #ifndef $as_decl_name
   1845 #ifdef __cplusplus
   1846   (void) $as_decl_use;
   1847 #else
   1848   (void) $as_decl_name;
   1849 #endif
   1850 #endif
   1851 
   1852   ;
   1853   return 0;
   1854 }
   1855 _ACEOF
   1856 if ac_fn_c_try_compile "$LINENO"
   1857 then :
   1858   eval "$3=yes"
   1859 else case e in #(
   1860   e) eval "$3=no" ;;
   1861 esac
   1862 fi
   1863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1864   eval $6=\$ac_save_FLAGS
   1865  ;;
   1866 esac
   1867 fi
   1868 eval ac_res=\$$3
   1869 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1870 printf "%s\n" "$ac_res" >&6; }
   1871   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1872 
   1873 } # ac_fn_check_decl
   1874 ac_configure_args_raw=
   1875 for ac_arg
   1876 do
   1877   case $ac_arg in
   1878   *\'*)
   1879     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1880   esac
   1881   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1882 done
   1883 
   1884 case $ac_configure_args_raw in
   1885   *$as_nl*)
   1886     ac_safe_unquote= ;;
   1887   *)
   1888     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1889     ac_unsafe_a="$ac_unsafe_z#~"
   1890     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1891     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1892 esac
   1893 
   1894 cat >config.log <<_ACEOF
   1895 This file contains any messages produced by compilers while
   1896 running configure, to aid debugging if configure makes a mistake.
   1897 
   1898 It was created by libXpm $as_me 3.5.19, which was
   1899 generated by GNU Autoconf 2.72.  Invocation command line was
   1900 
   1901   $ $0$ac_configure_args_raw
   1902 
   1903 _ACEOF
   1904 exec 5>>config.log
   1905 {
   1906 cat <<_ASUNAME
   1907 ## --------- ##
   1908 ## Platform. ##
   1909 ## --------- ##
   1910 
   1911 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1912 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1913 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1914 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1915 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1916 
   1917 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1918 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1919 
   1920 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1921 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1922 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1923 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1924 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1925 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1926 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1927 
   1928 _ASUNAME
   1929 
   1930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1931 for as_dir in $PATH
   1932 do
   1933   IFS=$as_save_IFS
   1934   case $as_dir in #(((
   1935     '') as_dir=./ ;;
   1936     */) ;;
   1937     *) as_dir=$as_dir/ ;;
   1938   esac
   1939     printf "%s\n" "PATH: $as_dir"
   1940   done
   1941 IFS=$as_save_IFS
   1942 
   1943 } >&5
   1944 
   1945 cat >&5 <<_ACEOF
   1946 
   1947 
   1948 ## ----------- ##
   1949 ## Core tests. ##
   1950 ## ----------- ##
   1951 
   1952 _ACEOF
   1953 
   1954 
   1955 # Keep a trace of the command line.
   1956 # Strip out --no-create and --no-recursion so they do not pile up.
   1957 # Strip out --silent because we don't want to record it for future runs.
   1958 # Also quote any args containing shell meta-characters.
   1959 # Make two passes to allow for proper duplicate-argument suppression.
   1960 ac_configure_args=
   1961 ac_configure_args0=
   1962 ac_configure_args1=
   1963 ac_must_keep_next=false
   1964 for ac_pass in 1 2
   1965 do
   1966   for ac_arg
   1967   do
   1968     case $ac_arg in
   1969     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1970     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1971     | -silent | --silent | --silen | --sile | --sil)
   1972       continue ;;
   1973     *\'*)
   1974       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1975     esac
   1976     case $ac_pass in
   1977     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1978     2)
   1979       as_fn_append ac_configure_args1 " '$ac_arg'"
   1980       if test $ac_must_keep_next = true; then
   1981 	ac_must_keep_next=false # Got value, back to normal.
   1982       else
   1983 	case $ac_arg in
   1984 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1985 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1986 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1987 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1988 	    case "$ac_configure_args0 " in
   1989 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1990 	    esac
   1991 	    ;;
   1992 	  -* ) ac_must_keep_next=true ;;
   1993 	esac
   1994       fi
   1995       as_fn_append ac_configure_args " '$ac_arg'"
   1996       ;;
   1997     esac
   1998   done
   1999 done
   2000 { ac_configure_args0=; unset ac_configure_args0;}
   2001 { ac_configure_args1=; unset ac_configure_args1;}
   2002 
   2003 # When interrupted or exit'd, cleanup temporary files, and complete
   2004 # config.log.  We remove comments because anyway the quotes in there
   2005 # would cause problems or look ugly.
   2006 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2007 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2008 trap 'exit_status=$?
   2009   # Sanitize IFS.
   2010   IFS=" ""	$as_nl"
   2011   # Save into config.log some information that might help in debugging.
   2012   {
   2013     echo
   2014 
   2015     printf "%s\n" "## ---------------- ##
   2016 ## Cache variables. ##
   2017 ## ---------------- ##"
   2018     echo
   2019     # The following way of writing the cache mishandles newlines in values,
   2020 (
   2021   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2022     eval ac_val=\$$ac_var
   2023     case $ac_val in #(
   2024     *${as_nl}*)
   2025       case $ac_var in #(
   2026       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2027 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2028       esac
   2029       case $ac_var in #(
   2030       _ | IFS | as_nl) ;; #(
   2031       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2032       *) { eval $ac_var=; unset $ac_var;} ;;
   2033       esac ;;
   2034     esac
   2035   done
   2036   (set) 2>&1 |
   2037     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2038     *${as_nl}ac_space=\ *)
   2039       sed -n \
   2040 	"s/'\''/'\''\\\\'\'''\''/g;
   2041 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2042       ;; #(
   2043     *)
   2044       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2045       ;;
   2046     esac |
   2047     sort
   2048 )
   2049     echo
   2050 
   2051     printf "%s\n" "## ----------------- ##
   2052 ## Output variables. ##
   2053 ## ----------------- ##"
   2054     echo
   2055     for ac_var in $ac_subst_vars
   2056     do
   2057       eval ac_val=\$$ac_var
   2058       case $ac_val in
   2059       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2060       esac
   2061       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2062     done | sort
   2063     echo
   2064 
   2065     if test -n "$ac_subst_files"; then
   2066       printf "%s\n" "## ------------------- ##
   2067 ## File substitutions. ##
   2068 ## ------------------- ##"
   2069       echo
   2070       for ac_var in $ac_subst_files
   2071       do
   2072 	eval ac_val=\$$ac_var
   2073 	case $ac_val in
   2074 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2075 	esac
   2076 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2077       done | sort
   2078       echo
   2079     fi
   2080 
   2081     if test -s confdefs.h; then
   2082       printf "%s\n" "## ----------- ##
   2083 ## confdefs.h. ##
   2084 ## ----------- ##"
   2085       echo
   2086       cat confdefs.h
   2087       echo
   2088     fi
   2089     test "$ac_signal" != 0 &&
   2090       printf "%s\n" "$as_me: caught signal $ac_signal"
   2091     printf "%s\n" "$as_me: exit $exit_status"
   2092   } >&5
   2093   rm -f core *.core core.conftest.* &&
   2094     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2095     exit $exit_status
   2096 ' 0
   2097 for ac_signal in 1 2 13 15; do
   2098   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2099 done
   2100 ac_signal=0
   2101 
   2102 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2103 rm -f -r conftest* confdefs.h
   2104 
   2105 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2106 
   2107 # Predefined preprocessor variables.
   2108 
   2109 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2110 
   2111 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2112 
   2113 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2114 
   2115 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2116 
   2117 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2118 
   2119 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2120 
   2121 
   2122 # Let the site file select an alternate cache file if it wants to.
   2123 # Prefer an explicitly selected file to automatically selected ones.
   2124 if test -n "$CONFIG_SITE"; then
   2125   ac_site_files="$CONFIG_SITE"
   2126 elif test "x$prefix" != xNONE; then
   2127   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2128 else
   2129   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2130 fi
   2131 
   2132 for ac_site_file in $ac_site_files
   2133 do
   2134   case $ac_site_file in #(
   2135   */*) :
   2136      ;; #(
   2137   *) :
   2138     ac_site_file=./$ac_site_file ;;
   2139 esac
   2140   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2141     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2142 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2143     sed 's/^/| /' "$ac_site_file" >&5
   2144     . "$ac_site_file" \
   2145       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2146 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2147 as_fn_error $? "failed to load site script $ac_site_file
   2148 See 'config.log' for more details" "$LINENO" 5; }
   2149   fi
   2150 done
   2151 
   2152 if test -r "$cache_file"; then
   2153   # Some versions of bash will fail to source /dev/null (special files
   2154   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2155   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2156     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2157 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2158     case $cache_file in
   2159       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2160       *)                      . "./$cache_file";;
   2161     esac
   2162   fi
   2163 else
   2164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2165 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2166   >$cache_file
   2167 fi
   2168 
   2169 # Test code for whether the C compiler supports C89 (global declarations)
   2170 ac_c_conftest_c89_globals='
   2171 /* Does the compiler advertise C89 conformance?
   2172    Do not test the value of __STDC__, because some compilers set it to 0
   2173    while being otherwise adequately conformant. */
   2174 #if !defined __STDC__
   2175 # error "Compiler does not advertise C89 conformance"
   2176 #endif
   2177 
   2178 #include <stddef.h>
   2179 #include <stdarg.h>
   2180 struct stat;
   2181 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2182 struct buf { int x; };
   2183 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2184 static char *e (char **p, int i)
   2185 {
   2186   return p[i];
   2187 }
   2188 static char *f (char * (*g) (char **, int), char **p, ...)
   2189 {
   2190   char *s;
   2191   va_list v;
   2192   va_start (v,p);
   2193   s = g (p, va_arg (v,int));
   2194   va_end (v);
   2195   return s;
   2196 }
   2197 
   2198 /* C89 style stringification. */
   2199 #define noexpand_stringify(a) #a
   2200 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2201 
   2202 /* C89 style token pasting.  Exercises some of the corner cases that
   2203    e.g. old MSVC gets wrong, but not very hard. */
   2204 #define noexpand_concat(a,b) a##b
   2205 #define expand_concat(a,b) noexpand_concat(a,b)
   2206 extern int vA;
   2207 extern int vbee;
   2208 #define aye A
   2209 #define bee B
   2210 int *pvA = &expand_concat(v,aye);
   2211 int *pvbee = &noexpand_concat(v,bee);
   2212 
   2213 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2214    function prototypes and stuff, but not \xHH hex character constants.
   2215    These do not provoke an error unfortunately, instead are silently treated
   2216    as an "x".  The following induces an error, until -std is added to get
   2217    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2218    array size at least.  It is necessary to write \x00 == 0 to get something
   2219    that is true only with -std.  */
   2220 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2221 
   2222 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2223    inside strings and character constants.  */
   2224 #define FOO(x) '\''x'\''
   2225 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2226 
   2227 int test (int i, double x);
   2228 struct s1 {int (*f) (int a);};
   2229 struct s2 {int (*f) (double a);};
   2230 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2231                int, int);'
   2232 
   2233 # Test code for whether the C compiler supports C89 (body of main).
   2234 ac_c_conftest_c89_main='
   2235 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2236 '
   2237 
   2238 # Test code for whether the C compiler supports C99 (global declarations)
   2239 ac_c_conftest_c99_globals='
   2240 /* Does the compiler advertise C99 conformance? */
   2241 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2242 # error "Compiler does not advertise C99 conformance"
   2243 #endif
   2244 
   2245 // See if C++-style comments work.
   2246 
   2247 #include <stdbool.h>
   2248 extern int puts (const char *);
   2249 extern int printf (const char *, ...);
   2250 extern int dprintf (int, const char *, ...);
   2251 extern void *malloc (size_t);
   2252 extern void free (void *);
   2253 
   2254 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2255 // dprintf is used instead of fprintf to avoid needing to declare
   2256 // FILE and stderr.
   2257 #define debug(...) dprintf (2, __VA_ARGS__)
   2258 #define showlist(...) puts (#__VA_ARGS__)
   2259 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2260 static void
   2261 test_varargs_macros (void)
   2262 {
   2263   int x = 1234;
   2264   int y = 5678;
   2265   debug ("Flag");
   2266   debug ("X = %d\n", x);
   2267   showlist (The first, second, and third items.);
   2268   report (x>y, "x is %d but y is %d", x, y);
   2269 }
   2270 
   2271 // Check long long types.
   2272 #define BIG64 18446744073709551615ull
   2273 #define BIG32 4294967295ul
   2274 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2275 #if !BIG_OK
   2276   #error "your preprocessor is broken"
   2277 #endif
   2278 #if BIG_OK
   2279 #else
   2280   #error "your preprocessor is broken"
   2281 #endif
   2282 static long long int bignum = -9223372036854775807LL;
   2283 static unsigned long long int ubignum = BIG64;
   2284 
   2285 struct incomplete_array
   2286 {
   2287   int datasize;
   2288   double data[];
   2289 };
   2290 
   2291 struct named_init {
   2292   int number;
   2293   const wchar_t *name;
   2294   double average;
   2295 };
   2296 
   2297 typedef const char *ccp;
   2298 
   2299 static inline int
   2300 test_restrict (ccp restrict text)
   2301 {
   2302   // Iterate through items via the restricted pointer.
   2303   // Also check for declarations in for loops.
   2304   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2305     continue;
   2306   return 0;
   2307 }
   2308 
   2309 // Check varargs and va_copy.
   2310 static bool
   2311 test_varargs (const char *format, ...)
   2312 {
   2313   va_list args;
   2314   va_start (args, format);
   2315   va_list args_copy;
   2316   va_copy (args_copy, args);
   2317 
   2318   const char *str = "";
   2319   int number = 0;
   2320   float fnumber = 0;
   2321 
   2322   while (*format)
   2323     {
   2324       switch (*format++)
   2325 	{
   2326 	case '\''s'\'': // string
   2327 	  str = va_arg (args_copy, const char *);
   2328 	  break;
   2329 	case '\''d'\'': // int
   2330 	  number = va_arg (args_copy, int);
   2331 	  break;
   2332 	case '\''f'\'': // float
   2333 	  fnumber = va_arg (args_copy, double);
   2334 	  break;
   2335 	default:
   2336 	  break;
   2337 	}
   2338     }
   2339   va_end (args_copy);
   2340   va_end (args);
   2341 
   2342   return *str && number && fnumber;
   2343 }
   2344 '
   2345 
   2346 # Test code for whether the C compiler supports C99 (body of main).
   2347 ac_c_conftest_c99_main='
   2348   // Check bool.
   2349   _Bool success = false;
   2350   success |= (argc != 0);
   2351 
   2352   // Check restrict.
   2353   if (test_restrict ("String literal") == 0)
   2354     success = true;
   2355   char *restrict newvar = "Another string";
   2356 
   2357   // Check varargs.
   2358   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2359   test_varargs_macros ();
   2360 
   2361   // Check flexible array members.
   2362   struct incomplete_array *ia =
   2363     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2364   ia->datasize = 10;
   2365   for (int i = 0; i < ia->datasize; ++i)
   2366     ia->data[i] = i * 1.234;
   2367   // Work around memory leak warnings.
   2368   free (ia);
   2369 
   2370   // Check named initializers.
   2371   struct named_init ni = {
   2372     .number = 34,
   2373     .name = L"Test wide string",
   2374     .average = 543.34343,
   2375   };
   2376 
   2377   ni.number = 58;
   2378 
   2379   int dynamic_array[ni.number];
   2380   dynamic_array[0] = argv[0][0];
   2381   dynamic_array[ni.number - 1] = 543;
   2382 
   2383   // work around unused variable warnings
   2384   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2385 	 || dynamic_array[ni.number - 1] != 543);
   2386 '
   2387 
   2388 # Test code for whether the C compiler supports C11 (global declarations)
   2389 ac_c_conftest_c11_globals='
   2390 /* Does the compiler advertise C11 conformance? */
   2391 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2392 # error "Compiler does not advertise C11 conformance"
   2393 #endif
   2394 
   2395 // Check _Alignas.
   2396 char _Alignas (double) aligned_as_double;
   2397 char _Alignas (0) no_special_alignment;
   2398 extern char aligned_as_int;
   2399 char _Alignas (0) _Alignas (int) aligned_as_int;
   2400 
   2401 // Check _Alignof.
   2402 enum
   2403 {
   2404   int_alignment = _Alignof (int),
   2405   int_array_alignment = _Alignof (int[100]),
   2406   char_alignment = _Alignof (char)
   2407 };
   2408 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2409 
   2410 // Check _Noreturn.
   2411 int _Noreturn does_not_return (void) { for (;;) continue; }
   2412 
   2413 // Check _Static_assert.
   2414 struct test_static_assert
   2415 {
   2416   int x;
   2417   _Static_assert (sizeof (int) <= sizeof (long int),
   2418                   "_Static_assert does not work in struct");
   2419   long int y;
   2420 };
   2421 
   2422 // Check UTF-8 literals.
   2423 #define u8 syntax error!
   2424 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2425 
   2426 // Check duplicate typedefs.
   2427 typedef long *long_ptr;
   2428 typedef long int *long_ptr;
   2429 typedef long_ptr long_ptr;
   2430 
   2431 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2432 struct anonymous
   2433 {
   2434   union {
   2435     struct { int i; int j; };
   2436     struct { int k; long int l; } w;
   2437   };
   2438   int m;
   2439 } v1;
   2440 '
   2441 
   2442 # Test code for whether the C compiler supports C11 (body of main).
   2443 ac_c_conftest_c11_main='
   2444   _Static_assert ((offsetof (struct anonymous, i)
   2445 		   == offsetof (struct anonymous, w.k)),
   2446 		  "Anonymous union alignment botch");
   2447   v1.i = 2;
   2448   v1.w.k = 5;
   2449   ok |= v1.i != 5;
   2450 '
   2451 
   2452 # Test code for whether the C compiler supports C11 (complete).
   2453 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2454 ${ac_c_conftest_c99_globals}
   2455 ${ac_c_conftest_c11_globals}
   2456 
   2457 int
   2458 main (int argc, char **argv)
   2459 {
   2460   int ok = 0;
   2461   ${ac_c_conftest_c89_main}
   2462   ${ac_c_conftest_c99_main}
   2463   ${ac_c_conftest_c11_main}
   2464   return ok;
   2465 }
   2466 "
   2467 
   2468 # Test code for whether the C compiler supports C99 (complete).
   2469 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2470 ${ac_c_conftest_c99_globals}
   2471 
   2472 int
   2473 main (int argc, char **argv)
   2474 {
   2475   int ok = 0;
   2476   ${ac_c_conftest_c89_main}
   2477   ${ac_c_conftest_c99_main}
   2478   return ok;
   2479 }
   2480 "
   2481 
   2482 # Test code for whether the C compiler supports C89 (complete).
   2483 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2484 
   2485 int
   2486 main (int argc, char **argv)
   2487 {
   2488   int ok = 0;
   2489   ${ac_c_conftest_c89_main}
   2490   return ok;
   2491 }
   2492 "
   2493 
   2494 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2495 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2496 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2497 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2498 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2499 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2500 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2501 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2502 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2503 
   2504 # Auxiliary files required by this configure script.
   2505 ac_aux_files="tap-driver.sh compile config.guess config.sub ltmain.sh missing install-sh"
   2506 
   2507 # Locations in which to look for auxiliary files.
   2508 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2509 
   2510 # Search for a directory containing all of the required auxiliary files,
   2511 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2512 # If we don't find one directory that contains all the files we need,
   2513 # we report the set of missing files from the *first* directory in
   2514 # $ac_aux_dir_candidates and give up.
   2515 ac_missing_aux_files=""
   2516 ac_first_candidate=:
   2517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2519 as_found=false
   2520 for as_dir in $ac_aux_dir_candidates
   2521 do
   2522   IFS=$as_save_IFS
   2523   case $as_dir in #(((
   2524     '') as_dir=./ ;;
   2525     */) ;;
   2526     *) as_dir=$as_dir/ ;;
   2527   esac
   2528   as_found=:
   2529 
   2530   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2531   ac_aux_dir_found=yes
   2532   ac_install_sh=
   2533   for ac_aux in $ac_aux_files
   2534   do
   2535     # As a special case, if "install-sh" is required, that requirement
   2536     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2537     # and $ac_install_sh is set appropriately for whichever one is found.
   2538     if test x"$ac_aux" = x"install-sh"
   2539     then
   2540       if test -f "${as_dir}install-sh"; then
   2541         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2542         ac_install_sh="${as_dir}install-sh -c"
   2543       elif test -f "${as_dir}install.sh"; then
   2544         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2545         ac_install_sh="${as_dir}install.sh -c"
   2546       elif test -f "${as_dir}shtool"; then
   2547         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2548         ac_install_sh="${as_dir}shtool install -c"
   2549       else
   2550         ac_aux_dir_found=no
   2551         if $ac_first_candidate; then
   2552           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2553         else
   2554           break
   2555         fi
   2556       fi
   2557     else
   2558       if test -f "${as_dir}${ac_aux}"; then
   2559         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2560       else
   2561         ac_aux_dir_found=no
   2562         if $ac_first_candidate; then
   2563           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2564         else
   2565           break
   2566         fi
   2567       fi
   2568     fi
   2569   done
   2570   if test "$ac_aux_dir_found" = yes; then
   2571     ac_aux_dir="$as_dir"
   2572     break
   2573   fi
   2574   ac_first_candidate=false
   2575 
   2576   as_found=false
   2577 done
   2578 IFS=$as_save_IFS
   2579 if $as_found
   2580 then :
   2581 
   2582 else case e in #(
   2583   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2584 esac
   2585 fi
   2586 
   2587 
   2588 # These three variables are undocumented and unsupported,
   2589 # and are intended to be withdrawn in a future Autoconf release.
   2590 # They can cause serious problems if a builder's source tree is in a directory
   2591 # whose full name contains unusual characters.
   2592 if test -f "${ac_aux_dir}config.guess"; then
   2593   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2594 fi
   2595 if test -f "${ac_aux_dir}config.sub"; then
   2596   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2597 fi
   2598 if test -f "$ac_aux_dir/configure"; then
   2599   ac_configure="$SHELL ${ac_aux_dir}configure"
   2600 fi
   2601 
   2602 # Check that the precious variables saved in the cache have kept the same
   2603 # value.
   2604 ac_cache_corrupted=false
   2605 for ac_var in $ac_precious_vars; do
   2606   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2607   eval ac_new_set=\$ac_env_${ac_var}_set
   2608   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2609   eval ac_new_val=\$ac_env_${ac_var}_value
   2610   case $ac_old_set,$ac_new_set in
   2611     set,)
   2612       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2613 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2614       ac_cache_corrupted=: ;;
   2615     ,set)
   2616       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2617 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2618       ac_cache_corrupted=: ;;
   2619     ,);;
   2620     *)
   2621       if test "x$ac_old_val" != "x$ac_new_val"; then
   2622 	# differences in whitespace do not lead to failure.
   2623 	ac_old_val_w=`echo x $ac_old_val`
   2624 	ac_new_val_w=`echo x $ac_new_val`
   2625 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2626 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2627 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2628 	  ac_cache_corrupted=:
   2629 	else
   2630 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2631 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2632 	  eval $ac_var=\$ac_old_val
   2633 	fi
   2634 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2635 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2636 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2637 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2638       fi;;
   2639   esac
   2640   # Pass precious variables to config.status.
   2641   if test "$ac_new_set" = set; then
   2642     case $ac_new_val in
   2643     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2644     *) ac_arg=$ac_var=$ac_new_val ;;
   2645     esac
   2646     case " $ac_configure_args " in
   2647       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2648       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2649     esac
   2650   fi
   2651 done
   2652 if $ac_cache_corrupted; then
   2653   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2654 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2656 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2657   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2658 	    and start over" "$LINENO" 5
   2659 fi
   2660 ## -------------------- ##
   2661 ## Main body of script. ##
   2662 ## -------------------- ##
   2663 
   2664 ac_ext=c
   2665 ac_cpp='$CPP $CPPFLAGS'
   2666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2669 
   2670 
   2671 
   2672 ac_config_headers="$ac_config_headers config.h"
   2673 
   2674 
   2675 
   2676 # Initialize Automake
   2677 am__api_version='1.18'
   2678 
   2679 
   2680 
   2681   # Find a good install program.  We prefer a C program (faster),
   2682 # so one script is as good as another.  But avoid the broken or
   2683 # incompatible versions:
   2684 # SysV /etc/install, /usr/sbin/install
   2685 # SunOS /usr/etc/install
   2686 # IRIX /sbin/install
   2687 # AIX /bin/install
   2688 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2692 # OS/2's system install, which has a completely different semantic
   2693 # ./install, which can be erroneously created by make from ./install.sh.
   2694 # Reject install programs that cannot install multiple files.
   2695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2696 printf %s "checking for a BSD-compatible install... " >&6; }
   2697 if test -z "$INSTALL"; then
   2698 if test ${ac_cv_path_install+y}
   2699 then :
   2700   printf %s "(cached) " >&6
   2701 else case e in #(
   2702   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2703 for as_dir in $PATH
   2704 do
   2705   IFS=$as_save_IFS
   2706   case $as_dir in #(((
   2707     '') as_dir=./ ;;
   2708     */) ;;
   2709     *) as_dir=$as_dir/ ;;
   2710   esac
   2711     # Account for fact that we put trailing slashes in our PATH walk.
   2712 case $as_dir in #((
   2713   ./ | /[cC]/* | \
   2714   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2715   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2716   /usr/ucb/* ) ;;
   2717   *)
   2718     # OSF1 and SCO ODT 3.0 have their own names for install.
   2719     # Don't use installbsd from OSF since it installs stuff as root
   2720     # by default.
   2721     for ac_prog in ginstall scoinst install; do
   2722       for ac_exec_ext in '' $ac_executable_extensions; do
   2723 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2724 	  if test $ac_prog = install &&
   2725 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2726 	    # AIX install.  It has an incompatible calling convention.
   2727 	    :
   2728 	  elif test $ac_prog = install &&
   2729 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2730 	    # program-specific install script used by HP pwplus--don't use.
   2731 	    :
   2732 	  else
   2733 	    rm -rf conftest.one conftest.two conftest.dir
   2734 	    echo one > conftest.one
   2735 	    echo two > conftest.two
   2736 	    mkdir conftest.dir
   2737 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2738 	      test -s conftest.one && test -s conftest.two &&
   2739 	      test -s conftest.dir/conftest.one &&
   2740 	      test -s conftest.dir/conftest.two
   2741 	    then
   2742 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2743 	      break 3
   2744 	    fi
   2745 	  fi
   2746 	fi
   2747       done
   2748     done
   2749     ;;
   2750 esac
   2751 
   2752   done
   2753 IFS=$as_save_IFS
   2754 
   2755 rm -rf conftest.one conftest.two conftest.dir
   2756  ;;
   2757 esac
   2758 fi
   2759   if test ${ac_cv_path_install+y}; then
   2760     INSTALL=$ac_cv_path_install
   2761   else
   2762     # As a last resort, use the slow shell script.  Don't cache a
   2763     # value for INSTALL within a source directory, because that will
   2764     # break other packages using the cache if that directory is
   2765     # removed, or if the value is a relative name.
   2766     INSTALL=$ac_install_sh
   2767   fi
   2768 fi
   2769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2770 printf "%s\n" "$INSTALL" >&6; }
   2771 
   2772 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2773 # It thinks the first close brace ends the variable substitution.
   2774 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2775 
   2776 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2777 
   2778 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2779 
   2780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2781 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2782 if test ${am_cv_sleep_fractional_seconds+y}
   2783 then :
   2784   printf %s "(cached) " >&6
   2785 else case e in #(
   2786   e) if sleep 0.001 2>/dev/null
   2787 then :
   2788   am_cv_sleep_fractional_seconds=yes
   2789 else case e in #(
   2790   e) am_cv_sleep_fractional_seconds=no ;;
   2791 esac
   2792 fi
   2793  ;;
   2794 esac
   2795 fi
   2796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2797 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2798 
   2799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2800 printf %s "checking filesystem timestamp resolution... " >&6; }
   2801 if test ${am_cv_filesystem_timestamp_resolution+y}
   2802 then :
   2803   printf %s "(cached) " >&6
   2804 else case e in #(
   2805   e) # Default to the worst case.
   2806 am_cv_filesystem_timestamp_resolution=2
   2807 
   2808 # Only try to go finer than 1 sec if sleep can do it.
   2809 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2810 # - 1 sec is not much of a win compared to 2 sec, and
   2811 # - it takes 2 seconds to perform the test whether 1 sec works.
   2812 #
   2813 # Instead, just use the default 2s on platforms that have 1s resolution,
   2814 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2815 # exchange for not incurring the 2s delay for running the test for all
   2816 # packages.
   2817 #
   2818 am_try_resolutions=
   2819 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2820   # Even a millisecond often causes a bunch of false positives,
   2821   # so just try a hundredth of a second. The time saved between .001 and
   2822   # .01 is not terribly consequential.
   2823   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2824 fi
   2825 
   2826 # In order to catch current-generation FAT out, we must *modify* files
   2827 # that already exist; the *creation* timestamp is finer.  Use names
   2828 # that make ls -t sort them differently when they have equal
   2829 # timestamps than when they have distinct timestamps, keeping
   2830 # in mind that ls -t prints the *newest* file first.
   2831 rm -f conftest.ts?
   2832 : > conftest.ts1
   2833 : > conftest.ts2
   2834 : > conftest.ts3
   2835 
   2836 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2837 # clobber the current shell's arguments. (Outer-level square brackets
   2838 # are removed by m4; they're present so that m4 does not expand
   2839 # <dollar><star>; be careful, easy to get confused.)
   2840 if (
   2841      set X `ls -t conftest.ts[12]` &&
   2842      {
   2843        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2844        test "$*" != "X conftest.ts2 conftest.ts1";
   2845      }
   2846 ); then :; else
   2847   # If neither matched, then we have a broken ls.  This can happen
   2848   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2849   # broken ls alias from the environment.  This has actually
   2850   # happened.  Such a system could not be considered "sane".
   2851   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2852   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2853 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2854 as_fn_error $? "ls -t produces unexpected output.
   2855 Make sure there is not a broken ls alias in your environment.
   2856 See 'config.log' for more details" "$LINENO" 5; }
   2857 fi
   2858 
   2859 for am_try_res in $am_try_resolutions; do
   2860   # Any one fine-grained sleep might happen to cross the boundary
   2861   # between two values of a coarser actual resolution, but if we do
   2862   # two fine-grained sleeps in a row, at least one of them will fall
   2863   # entirely within a coarse interval.
   2864   echo alpha > conftest.ts1
   2865   sleep $am_try_res
   2866   echo beta > conftest.ts2
   2867   sleep $am_try_res
   2868   echo gamma > conftest.ts3
   2869 
   2870   # We assume that 'ls -t' will make use of high-resolution
   2871   # timestamps if the operating system supports them at all.
   2872   if (set X `ls -t conftest.ts?` &&
   2873       test "$2" = conftest.ts3 &&
   2874       test "$3" = conftest.ts2 &&
   2875       test "$4" = conftest.ts1); then
   2876     #
   2877     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2878     # because we don't need to test make.
   2879     make_ok=true
   2880     if test $am_try_res != 1; then
   2881       # But if we've succeeded so far with a subsecond resolution, we
   2882       # have one more thing to check: make. It can happen that
   2883       # everything else supports the subsecond mtimes, but make doesn't;
   2884       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2885       # released under GPLv2). https://bugs.gnu.org/68808
   2886       #
   2887       # We test $MAKE if it is defined in the environment, else "make".
   2888       # It might get overridden later, but our hope is that in practice
   2889       # it does not matter: it is the system "make" which is (by far)
   2890       # the most likely to be broken, whereas if the user overrides it,
   2891       # probably they did so with a better, or at least not worse, make.
   2892       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2893       #
   2894       # Create a Makefile (real tab character here):
   2895       rm -f conftest.mk
   2896       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2897       echo '	touch conftest.ts2' >>conftest.mk
   2898       #
   2899       # Now, running
   2900       #   touch conftest.ts1; touch conftest.ts2; make
   2901       # should touch ts1 because ts2 is newer. This could happen by luck,
   2902       # but most often, it will fail if make's support is insufficient. So
   2903       # test for several consecutive successes.
   2904       #
   2905       # (We reuse conftest.ts[12] because we still want to modify existing
   2906       # files, not create new ones, per above.)
   2907       n=0
   2908       make=${MAKE-make}
   2909       until test $n -eq 3; do
   2910         echo one > conftest.ts1
   2911         sleep $am_try_res
   2912         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2913         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2914           make_ok=false
   2915           break # out of $n loop
   2916         fi
   2917         n=`expr $n + 1`
   2918       done
   2919     fi
   2920     #
   2921     if $make_ok; then
   2922       # Everything we know to check worked out, so call this resolution good.
   2923       am_cv_filesystem_timestamp_resolution=$am_try_res
   2924       break # out of $am_try_res loop
   2925     fi
   2926     # Otherwise, we'll go on to check the next resolution.
   2927   fi
   2928 done
   2929 rm -f conftest.ts?
   2930 # (end _am_filesystem_timestamp_resolution)
   2931  ;;
   2932 esac
   2933 fi
   2934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2935 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2936 
   2937 # This check should not be cached, as it may vary across builds of
   2938 # different projects.
   2939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2940 printf %s "checking whether build environment is sane... " >&6; }
   2941 # Reject unsafe characters in $srcdir or the absolute working directory
   2942 # name.  Accept space and tab only in the latter.
   2943 am_lf='
   2944 '
   2945 case `pwd` in
   2946   *[\\\"\#\$\&\'\`$am_lf]*)
   2947     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2948 printf "%s\n" "no" >&6; }
   2949     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2950 esac
   2951 case $srcdir in
   2952   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2953     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2954 printf "%s\n" "no" >&6; }
   2955     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2956 esac
   2957 
   2958 # Do 'set' in a subshell so we don't clobber the current shell's
   2959 # arguments.  Must try -L first in case configure is actually a
   2960 # symlink; some systems play weird games with the mod time of symlinks
   2961 # (eg FreeBSD returns the mod time of the symlink's containing
   2962 # directory).
   2963 am_build_env_is_sane=no
   2964 am_has_slept=no
   2965 rm -f conftest.file
   2966 for am_try in 1 2; do
   2967   echo "timestamp, slept: $am_has_slept" > conftest.file
   2968   if (
   2969     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2970     if test "$*" = "X"; then
   2971       # -L didn't work.
   2972       set X `ls -t "$srcdir/configure" conftest.file`
   2973     fi
   2974     test "$2" = conftest.file
   2975   ); then
   2976     am_build_env_is_sane=yes
   2977     break
   2978   fi
   2979   # Just in case.
   2980   sleep "$am_cv_filesystem_timestamp_resolution"
   2981   am_has_slept=yes
   2982 done
   2983 
   2984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2985 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2986 if test "$am_build_env_is_sane" = no; then
   2987   as_fn_error $? "newly created file is older than distributed files!
   2988 Check your system clock" "$LINENO" 5
   2989 fi
   2990 
   2991 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2992 # generated files are strictly newer.
   2993 am_sleep_pid=
   2994 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2995 then :
   2996 
   2997 else case e in #(
   2998   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2999   am_sleep_pid=$!
   3000  ;;
   3001 esac
   3002 fi
   3003 
   3004 rm -f conftest.file
   3005 
   3006 test "$program_prefix" != NONE &&
   3007   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3008 # Use a double $ so make ignores it.
   3009 test "$program_suffix" != NONE &&
   3010   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3011 # Double any \ or $.
   3012 # By default was 's,x,x', remove it if useless.
   3013 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3014 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3015 
   3016 
   3017 # Expand $ac_aux_dir to an absolute path.
   3018 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3019 
   3020 
   3021   if test x"${MISSING+set}" != xset; then
   3022   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3023 fi
   3024 # Use eval to expand $SHELL
   3025 if eval "$MISSING --is-lightweight"; then
   3026   am_missing_run="$MISSING "
   3027 else
   3028   am_missing_run=
   3029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3030 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3031 fi
   3032 
   3033 if test x"${install_sh+set}" != xset; then
   3034   case $am_aux_dir in
   3035   *\ * | *\	*)
   3036     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3037   *)
   3038     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3039   esac
   3040 fi
   3041 
   3042 # Installed binaries are usually stripped using 'strip' when the user
   3043 # run "make install-strip".  However 'strip' might not be the right
   3044 # tool to use in cross-compilation environments, therefore Automake
   3045 # will honor the 'STRIP' environment variable to overrule this program.
   3046 if test "$cross_compiling" != no; then
   3047   if test -n "$ac_tool_prefix"; then
   3048   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3049 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3051 printf %s "checking for $ac_word... " >&6; }
   3052 if test ${ac_cv_prog_STRIP+y}
   3053 then :
   3054   printf %s "(cached) " >&6
   3055 else case e in #(
   3056   e) if test -n "$STRIP"; then
   3057   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3058 else
   3059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3060 for as_dir in $PATH
   3061 do
   3062   IFS=$as_save_IFS
   3063   case $as_dir in #(((
   3064     '') as_dir=./ ;;
   3065     */) ;;
   3066     *) as_dir=$as_dir/ ;;
   3067   esac
   3068     for ac_exec_ext in '' $ac_executable_extensions; do
   3069   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3070     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3071     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3072     break 2
   3073   fi
   3074 done
   3075   done
   3076 IFS=$as_save_IFS
   3077 
   3078 fi ;;
   3079 esac
   3080 fi
   3081 STRIP=$ac_cv_prog_STRIP
   3082 if test -n "$STRIP"; then
   3083   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3084 printf "%s\n" "$STRIP" >&6; }
   3085 else
   3086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3087 printf "%s\n" "no" >&6; }
   3088 fi
   3089 
   3090 
   3091 fi
   3092 if test -z "$ac_cv_prog_STRIP"; then
   3093   ac_ct_STRIP=$STRIP
   3094   # Extract the first word of "strip", so it can be a program name with args.
   3095 set dummy strip; ac_word=$2
   3096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3097 printf %s "checking for $ac_word... " >&6; }
   3098 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3099 then :
   3100   printf %s "(cached) " >&6
   3101 else case e in #(
   3102   e) if test -n "$ac_ct_STRIP"; then
   3103   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3104 else
   3105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3106 for as_dir in $PATH
   3107 do
   3108   IFS=$as_save_IFS
   3109   case $as_dir in #(((
   3110     '') as_dir=./ ;;
   3111     */) ;;
   3112     *) as_dir=$as_dir/ ;;
   3113   esac
   3114     for ac_exec_ext in '' $ac_executable_extensions; do
   3115   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3116     ac_cv_prog_ac_ct_STRIP="strip"
   3117     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3118     break 2
   3119   fi
   3120 done
   3121   done
   3122 IFS=$as_save_IFS
   3123 
   3124 fi ;;
   3125 esac
   3126 fi
   3127 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3128 if test -n "$ac_ct_STRIP"; then
   3129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3130 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3131 else
   3132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3133 printf "%s\n" "no" >&6; }
   3134 fi
   3135 
   3136   if test "x$ac_ct_STRIP" = x; then
   3137     STRIP=":"
   3138   else
   3139     case $cross_compiling:$ac_tool_warned in
   3140 yes:)
   3141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3142 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3143 ac_tool_warned=yes ;;
   3144 esac
   3145     STRIP=$ac_ct_STRIP
   3146   fi
   3147 else
   3148   STRIP="$ac_cv_prog_STRIP"
   3149 fi
   3150 
   3151 fi
   3152 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3153 
   3154 
   3155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3156 printf %s "checking for a race-free mkdir -p... " >&6; }
   3157 if test -z "$MKDIR_P"; then
   3158   if test ${ac_cv_path_mkdir+y}
   3159 then :
   3160   printf %s "(cached) " >&6
   3161 else case e in #(
   3162   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3163 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3164 do
   3165   IFS=$as_save_IFS
   3166   case $as_dir in #(((
   3167     '') as_dir=./ ;;
   3168     */) ;;
   3169     *) as_dir=$as_dir/ ;;
   3170   esac
   3171     for ac_prog in mkdir gmkdir; do
   3172 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3173 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3174 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3175 	     'mkdir ('*'coreutils) '* | \
   3176 	     *'BusyBox '* | \
   3177 	     'mkdir (fileutils) '4.1*)
   3178 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3179 	       break 3;;
   3180 	   esac
   3181 	 done
   3182        done
   3183   done
   3184 IFS=$as_save_IFS
   3185  ;;
   3186 esac
   3187 fi
   3188 
   3189   test -d ./--version && rmdir ./--version
   3190   if test ${ac_cv_path_mkdir+y}; then
   3191     MKDIR_P="$ac_cv_path_mkdir -p"
   3192   else
   3193     # As a last resort, use plain mkdir -p,
   3194     # in the hope it doesn't have the bugs of ancient mkdir.
   3195     MKDIR_P='mkdir -p'
   3196   fi
   3197 fi
   3198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3199 printf "%s\n" "$MKDIR_P" >&6; }
   3200 
   3201 for ac_prog in gawk mawk nawk awk
   3202 do
   3203   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3204 set dummy $ac_prog; ac_word=$2
   3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3206 printf %s "checking for $ac_word... " >&6; }
   3207 if test ${ac_cv_prog_AWK+y}
   3208 then :
   3209   printf %s "(cached) " >&6
   3210 else case e in #(
   3211   e) if test -n "$AWK"; then
   3212   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3213 else
   3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3215 for as_dir in $PATH
   3216 do
   3217   IFS=$as_save_IFS
   3218   case $as_dir in #(((
   3219     '') as_dir=./ ;;
   3220     */) ;;
   3221     *) as_dir=$as_dir/ ;;
   3222   esac
   3223     for ac_exec_ext in '' $ac_executable_extensions; do
   3224   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3225     ac_cv_prog_AWK="$ac_prog"
   3226     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3227     break 2
   3228   fi
   3229 done
   3230   done
   3231 IFS=$as_save_IFS
   3232 
   3233 fi ;;
   3234 esac
   3235 fi
   3236 AWK=$ac_cv_prog_AWK
   3237 if test -n "$AWK"; then
   3238   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3239 printf "%s\n" "$AWK" >&6; }
   3240 else
   3241   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3242 printf "%s\n" "no" >&6; }
   3243 fi
   3244 
   3245 
   3246   test -n "$AWK" && break
   3247 done
   3248 
   3249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3250 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3251 set x ${MAKE-make}
   3252 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3253 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3254 then :
   3255   printf %s "(cached) " >&6
   3256 else case e in #(
   3257   e) cat >conftest.make <<\_ACEOF
   3258 SHELL = /bin/sh
   3259 all:
   3260 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3261 _ACEOF
   3262 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3263 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3264   *@@@%%%=?*=@@@%%%*)
   3265     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3266   *)
   3267     eval ac_cv_prog_make_${ac_make}_set=no;;
   3268 esac
   3269 rm -f conftest.make ;;
   3270 esac
   3271 fi
   3272 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3274 printf "%s\n" "yes" >&6; }
   3275   SET_MAKE=
   3276 else
   3277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3278 printf "%s\n" "no" >&6; }
   3279   SET_MAKE="MAKE=${MAKE-make}"
   3280 fi
   3281 
   3282 rm -rf .tst 2>/dev/null
   3283 mkdir .tst 2>/dev/null
   3284 if test -d .tst; then
   3285   am__leading_dot=.
   3286 else
   3287   am__leading_dot=_
   3288 fi
   3289 rmdir .tst 2>/dev/null
   3290 
   3291 AM_DEFAULT_VERBOSITY=1
   3292 # Check whether --enable-silent-rules was given.
   3293 if test ${enable_silent_rules+y}
   3294 then :
   3295   enableval=$enable_silent_rules;
   3296 fi
   3297 
   3298 am_make=${MAKE-make}
   3299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3300 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3301 if test ${am_cv_make_support_nested_variables+y}
   3302 then :
   3303   printf %s "(cached) " >&6
   3304 else case e in #(
   3305   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3306 BAR0=false
   3307 BAR1=true
   3308 V=1
   3309 am__doit:
   3310 	@$(TRUE)
   3311 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3312   am_cv_make_support_nested_variables=yes
   3313 else
   3314   am_cv_make_support_nested_variables=no
   3315 fi ;;
   3316 esac
   3317 fi
   3318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3319 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3320 AM_BACKSLASH='\'
   3321 
   3322 am__rm_f_notfound=
   3323 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3324 then :
   3325 
   3326 else case e in #(
   3327   e) am__rm_f_notfound='""' ;;
   3328 esac
   3329 fi
   3330 
   3331 
   3332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3333 printf %s "checking xargs -n works... " >&6; }
   3334 if test ${am_cv_xargs_n_works+y}
   3335 then :
   3336   printf %s "(cached) " >&6
   3337 else case e in #(
   3338   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3339 3"
   3340 then :
   3341   am_cv_xargs_n_works=yes
   3342 else case e in #(
   3343   e) am_cv_xargs_n_works=no ;;
   3344 esac
   3345 fi ;;
   3346 esac
   3347 fi
   3348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3349 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3350 if test "$am_cv_xargs_n_works" = yes
   3351 then :
   3352   am__xargs_n='xargs -n'
   3353 else case e in #(
   3354   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3355  ;;
   3356 esac
   3357 fi
   3358 
   3359 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3360   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3361   # is not polluted with repeated "-I."
   3362   am__isrc=' -I$(srcdir)'
   3363   # test to see if srcdir already configured
   3364   if test -f $srcdir/config.status; then
   3365     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3366   fi
   3367 fi
   3368 
   3369 # test whether we have cygpath
   3370 if test -z "$CYGPATH_W"; then
   3371   if (cygpath --version) >/dev/null 2>/dev/null; then
   3372     CYGPATH_W='cygpath -w'
   3373   else
   3374     CYGPATH_W=echo
   3375   fi
   3376 fi
   3377 
   3378 
   3379 # Define the identity of the package.
   3380  PACKAGE='libXpm'
   3381  VERSION='3.5.19'
   3382 
   3383 
   3384 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3385 
   3386 
   3387 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3388 
   3389 # Some tools Automake needs.
   3390 
   3391 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3392 
   3393 
   3394 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3395 
   3396 
   3397 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3398 
   3399 
   3400 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3401 
   3402 
   3403 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3404 
   3405 # For better backward compatibility.  To be removed once Automake 1.9.x
   3406 # dies out for good.  For more background, see:
   3407 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3408 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3409 mkdir_p='$(MKDIR_P)'
   3410 
   3411 # We need awk for the "check" target (and possibly the TAP driver).  The
   3412 # system "awk" is bad on some platforms.
   3413 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3414 # in the wild :-(  We should find a proper way to deprecate it ...
   3415 AMTAR='$${TAR-tar}'
   3416 
   3417 
   3418 # We'll loop over all known methods to create a tar archive until one works.
   3419 _am_tools='gnutar plaintar pax cpio none'
   3420 
   3421 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3422       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3423       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3424       # and bug#13588).
   3425       am_max_uid=2097151 # 2^21 - 1
   3426       am_max_gid=$am_max_uid
   3427       # The $UID and $GID variables are not portable, so we need to resort
   3428       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3429       # below are definitely unexpected, so allow the users to see them
   3430       # (that is, avoid stderr redirection).
   3431       am_uid=`id -u || echo unknown`
   3432       am_gid=`id -g || echo unknown`
   3433       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3434 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3435       if test x$am_uid = xunknown; then
   3436         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3437 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3438       elif test $am_uid -le $am_max_uid; then
   3439         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3440 printf "%s\n" "yes" >&6; }
   3441       else
   3442         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3443 printf "%s\n" "no" >&6; }
   3444         _am_tools=none
   3445       fi
   3446       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3447 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3448       if test x$gm_gid = xunknown; then
   3449         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3450 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3451       elif test $am_gid -le $am_max_gid; then
   3452         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3453 printf "%s\n" "yes" >&6; }
   3454       else
   3455         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3456 printf "%s\n" "no" >&6; }
   3457         _am_tools=none
   3458       fi
   3459 
   3460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3461 printf %s "checking how to create a ustar tar archive... " >&6; }
   3462 
   3463   # Go ahead even if we have the value already cached.  We do so because we
   3464   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3465   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3466 
   3467   for _am_tool in $_am_tools; do
   3468     case $_am_tool in
   3469     gnutar)
   3470       for _am_tar in tar gnutar gtar; do
   3471         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3472    ($_am_tar --version) >&5 2>&5
   3473    ac_status=$?
   3474    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3475    (exit $ac_status); } && break
   3476       done
   3477       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3478       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3479       am__untar="$_am_tar -xf -"
   3480       ;;
   3481     plaintar)
   3482       # Must skip GNU tar: if it does not support --format= it doesn't create
   3483       # ustar tarball either.
   3484       (tar --version) >/dev/null 2>&1 && continue
   3485       am__tar='tar chf - "$$tardir"'
   3486       am__tar_='tar chf - "$tardir"'
   3487       am__untar='tar xf -'
   3488       ;;
   3489     pax)
   3490       am__tar='pax -L -x ustar -w "$$tardir"'
   3491       am__tar_='pax -L -x ustar -w "$tardir"'
   3492       am__untar='pax -r'
   3493       ;;
   3494     cpio)
   3495       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3496       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3497       am__untar='cpio -i -H ustar -d'
   3498       ;;
   3499     none)
   3500       am__tar=false
   3501       am__tar_=false
   3502       am__untar=false
   3503       ;;
   3504     esac
   3505 
   3506     # If the value was cached, stop now.  We just wanted to have am__tar
   3507     # and am__untar set.
   3508     test -n "${am_cv_prog_tar_ustar}" && break
   3509 
   3510     # tar/untar a dummy directory, and stop if the command works.
   3511     rm -rf conftest.dir
   3512     mkdir conftest.dir
   3513     echo GrepMe > conftest.dir/file
   3514     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3515    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3516    ac_status=$?
   3517    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3518    (exit $ac_status); }
   3519     rm -rf conftest.dir
   3520     if test -s conftest.tar; then
   3521       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3522    ($am__untar <conftest.tar) >&5 2>&5
   3523    ac_status=$?
   3524    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3525    (exit $ac_status); }
   3526       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3527    (cat conftest.dir/file) >&5 2>&5
   3528    ac_status=$?
   3529    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3530    (exit $ac_status); }
   3531       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3532     fi
   3533   done
   3534   rm -rf conftest.dir
   3535 
   3536   if test ${am_cv_prog_tar_ustar+y}
   3537 then :
   3538   printf %s "(cached) " >&6
   3539 else case e in #(
   3540   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3541 esac
   3542 fi
   3543 
   3544   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3545 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3546 
   3547 
   3548 
   3549 
   3550 
   3551 # Variables for tags utilities; see am/tags.am
   3552 if test -z "$CTAGS"; then
   3553   CTAGS=ctags
   3554 fi
   3555 
   3556 if test -z "$ETAGS"; then
   3557   ETAGS=etags
   3558 fi
   3559 
   3560 if test -z "$CSCOPE"; then
   3561   CSCOPE=cscope
   3562 fi
   3563 
   3564 
   3565 
   3566 
   3567 
   3568 
   3569 
   3570 
   3571 # Initialize libtool
   3572 case `pwd` in
   3573   *\ * | *\	*)
   3574     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3575 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3576 esac
   3577 
   3578 
   3579 
   3580 macro_version='2.5.4'
   3581 macro_revision='2.5.4'
   3582 
   3583 
   3584 
   3585 
   3586 
   3587 
   3588 
   3589 
   3590 
   3591 
   3592 
   3593 
   3594 
   3595 
   3596 ltmain=$ac_aux_dir/ltmain.sh
   3597 
   3598 
   3599 
   3600   # Make sure we can run config.sub.
   3601 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3602   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3603 
   3604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3605 printf %s "checking build system type... " >&6; }
   3606 if test ${ac_cv_build+y}
   3607 then :
   3608   printf %s "(cached) " >&6
   3609 else case e in #(
   3610   e) ac_build_alias=$build_alias
   3611 test "x$ac_build_alias" = x &&
   3612   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3613 test "x$ac_build_alias" = x &&
   3614   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3615 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3616   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3617  ;;
   3618 esac
   3619 fi
   3620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3621 printf "%s\n" "$ac_cv_build" >&6; }
   3622 case $ac_cv_build in
   3623 *-*-*) ;;
   3624 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3625 esac
   3626 build=$ac_cv_build
   3627 ac_save_IFS=$IFS; IFS='-'
   3628 set x $ac_cv_build
   3629 shift
   3630 build_cpu=$1
   3631 build_vendor=$2
   3632 shift; shift
   3633 # Remember, the first character of IFS is used to create $*,
   3634 # except with old shells:
   3635 build_os=$*
   3636 IFS=$ac_save_IFS
   3637 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3638 
   3639 
   3640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3641 printf %s "checking host system type... " >&6; }
   3642 if test ${ac_cv_host+y}
   3643 then :
   3644   printf %s "(cached) " >&6
   3645 else case e in #(
   3646   e) if test "x$host_alias" = x; then
   3647   ac_cv_host=$ac_cv_build
   3648 else
   3649   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3650     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3651 fi
   3652  ;;
   3653 esac
   3654 fi
   3655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3656 printf "%s\n" "$ac_cv_host" >&6; }
   3657 case $ac_cv_host in
   3658 *-*-*) ;;
   3659 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3660 esac
   3661 host=$ac_cv_host
   3662 ac_save_IFS=$IFS; IFS='-'
   3663 set x $ac_cv_host
   3664 shift
   3665 host_cpu=$1
   3666 host_vendor=$2
   3667 shift; shift
   3668 # Remember, the first character of IFS is used to create $*,
   3669 # except with old shells:
   3670 host_os=$*
   3671 IFS=$ac_save_IFS
   3672 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3673 
   3674 
   3675 # Backslashify metacharacters that are still active within
   3676 # double-quoted strings.
   3677 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3678 
   3679 # Same as above, but do not quote variable references.
   3680 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3681 
   3682 # Sed substitution to delay expansion of an escaped shell variable in a
   3683 # double_quote_subst'ed string.
   3684 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3685 
   3686 # Sed substitution to delay expansion of an escaped single quote.
   3687 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3688 
   3689 # Sed substitution to avoid accidental globbing in evaled expressions
   3690 no_glob_subst='s/\*/\\\*/g'
   3691 
   3692 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3693 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3694 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3695 
   3696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3697 printf %s "checking how to print strings... " >&6; }
   3698 # Test print first, because it will be a builtin if present.
   3699 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3700    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3701   ECHO='print -r --'
   3702 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3703   ECHO='printf %s\n'
   3704 else
   3705   # Use this function as a fallback that always works.
   3706   func_fallback_echo ()
   3707   {
   3708     eval 'cat <<_LTECHO_EOF
   3709 $1
   3710 _LTECHO_EOF'
   3711   }
   3712   ECHO='func_fallback_echo'
   3713 fi
   3714 
   3715 # func_echo_all arg...
   3716 # Invoke $ECHO with all args, space-separated.
   3717 func_echo_all ()
   3718 {
   3719     $ECHO ""
   3720 }
   3721 
   3722 case $ECHO in
   3723   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3724 printf "%s\n" "printf" >&6; } ;;
   3725   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3726 printf "%s\n" "print -r" >&6; } ;;
   3727   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3728 printf "%s\n" "cat" >&6; } ;;
   3729 esac
   3730 
   3731 
   3732 
   3733 
   3734 
   3735 
   3736 
   3737 
   3738 
   3739 
   3740 
   3741 
   3742 
   3743 
   3744 
   3745 
   3746 
   3747 
   3748 
   3749 
   3750 
   3751 
   3752 
   3753 DEPDIR="${am__leading_dot}deps"
   3754 
   3755 ac_config_commands="$ac_config_commands depfiles"
   3756 
   3757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3758 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3759 cat > confinc.mk << 'END'
   3760 am__doit:
   3761 	@echo this is the am__doit target >confinc.out
   3762 .PHONY: am__doit
   3763 END
   3764 am__include="#"
   3765 am__quote=
   3766 # BSD make does it like this.
   3767 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3768 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3769 echo 'include confinc.mk # ignored' > confmf.GNU
   3770 _am_result=no
   3771 for s in GNU BSD; do
   3772   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3773    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3774    ac_status=$?
   3775    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3776    (exit $ac_status); }
   3777   case $?:`cat confinc.out 2>/dev/null` in #(
   3778   '0:this is the am__doit target') :
   3779     case $s in #(
   3780   BSD) :
   3781     am__include='.include' am__quote='"' ;; #(
   3782   *) :
   3783     am__include='include' am__quote='' ;;
   3784 esac ;; #(
   3785   *) :
   3786      ;;
   3787 esac
   3788   if test "$am__include" != "#"; then
   3789     _am_result="yes ($s style)"
   3790     break
   3791   fi
   3792 done
   3793 rm -f confinc.* confmf.*
   3794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3795 printf "%s\n" "${_am_result}" >&6; }
   3796 
   3797 # Check whether --enable-dependency-tracking was given.
   3798 if test ${enable_dependency_tracking+y}
   3799 then :
   3800   enableval=$enable_dependency_tracking;
   3801 fi
   3802 
   3803 if test "x$enable_dependency_tracking" != xno; then
   3804   am_depcomp="$ac_aux_dir/depcomp"
   3805   AMDEPBACKSLASH='\'
   3806   am__nodep='_no'
   3807 fi
   3808  if test "x$enable_dependency_tracking" != xno; then
   3809   AMDEP_TRUE=
   3810   AMDEP_FALSE='#'
   3811 else
   3812   AMDEP_TRUE='#'
   3813   AMDEP_FALSE=
   3814 fi
   3815 
   3816 
   3817 ac_ext=c
   3818 ac_cpp='$CPP $CPPFLAGS'
   3819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3822 if test -n "$ac_tool_prefix"; then
   3823   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3824 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3826 printf %s "checking for $ac_word... " >&6; }
   3827 if test ${ac_cv_prog_CC+y}
   3828 then :
   3829   printf %s "(cached) " >&6
   3830 else case e in #(
   3831   e) if test -n "$CC"; then
   3832   ac_cv_prog_CC="$CC" # Let the user override the test.
   3833 else
   3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3835 for as_dir in $PATH
   3836 do
   3837   IFS=$as_save_IFS
   3838   case $as_dir in #(((
   3839     '') as_dir=./ ;;
   3840     */) ;;
   3841     *) as_dir=$as_dir/ ;;
   3842   esac
   3843     for ac_exec_ext in '' $ac_executable_extensions; do
   3844   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3845     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3846     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3847     break 2
   3848   fi
   3849 done
   3850   done
   3851 IFS=$as_save_IFS
   3852 
   3853 fi ;;
   3854 esac
   3855 fi
   3856 CC=$ac_cv_prog_CC
   3857 if test -n "$CC"; then
   3858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3859 printf "%s\n" "$CC" >&6; }
   3860 else
   3861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3862 printf "%s\n" "no" >&6; }
   3863 fi
   3864 
   3865 
   3866 fi
   3867 if test -z "$ac_cv_prog_CC"; then
   3868   ac_ct_CC=$CC
   3869   # Extract the first word of "gcc", so it can be a program name with args.
   3870 set dummy gcc; ac_word=$2
   3871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3872 printf %s "checking for $ac_word... " >&6; }
   3873 if test ${ac_cv_prog_ac_ct_CC+y}
   3874 then :
   3875   printf %s "(cached) " >&6
   3876 else case e in #(
   3877   e) if test -n "$ac_ct_CC"; then
   3878   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3879 else
   3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3881 for as_dir in $PATH
   3882 do
   3883   IFS=$as_save_IFS
   3884   case $as_dir in #(((
   3885     '') as_dir=./ ;;
   3886     */) ;;
   3887     *) as_dir=$as_dir/ ;;
   3888   esac
   3889     for ac_exec_ext in '' $ac_executable_extensions; do
   3890   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3891     ac_cv_prog_ac_ct_CC="gcc"
   3892     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3893     break 2
   3894   fi
   3895 done
   3896   done
   3897 IFS=$as_save_IFS
   3898 
   3899 fi ;;
   3900 esac
   3901 fi
   3902 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3903 if test -n "$ac_ct_CC"; then
   3904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3905 printf "%s\n" "$ac_ct_CC" >&6; }
   3906 else
   3907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3908 printf "%s\n" "no" >&6; }
   3909 fi
   3910 
   3911   if test "x$ac_ct_CC" = x; then
   3912     CC=""
   3913   else
   3914     case $cross_compiling:$ac_tool_warned in
   3915 yes:)
   3916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3917 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3918 ac_tool_warned=yes ;;
   3919 esac
   3920     CC=$ac_ct_CC
   3921   fi
   3922 else
   3923   CC="$ac_cv_prog_CC"
   3924 fi
   3925 
   3926 if test -z "$CC"; then
   3927           if test -n "$ac_tool_prefix"; then
   3928     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3929 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3931 printf %s "checking for $ac_word... " >&6; }
   3932 if test ${ac_cv_prog_CC+y}
   3933 then :
   3934   printf %s "(cached) " >&6
   3935 else case e in #(
   3936   e) if test -n "$CC"; then
   3937   ac_cv_prog_CC="$CC" # Let the user override the test.
   3938 else
   3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3940 for as_dir in $PATH
   3941 do
   3942   IFS=$as_save_IFS
   3943   case $as_dir in #(((
   3944     '') as_dir=./ ;;
   3945     */) ;;
   3946     *) as_dir=$as_dir/ ;;
   3947   esac
   3948     for ac_exec_ext in '' $ac_executable_extensions; do
   3949   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3950     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3951     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3952     break 2
   3953   fi
   3954 done
   3955   done
   3956 IFS=$as_save_IFS
   3957 
   3958 fi ;;
   3959 esac
   3960 fi
   3961 CC=$ac_cv_prog_CC
   3962 if test -n "$CC"; then
   3963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3964 printf "%s\n" "$CC" >&6; }
   3965 else
   3966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3967 printf "%s\n" "no" >&6; }
   3968 fi
   3969 
   3970 
   3971   fi
   3972 fi
   3973 if test -z "$CC"; then
   3974   # Extract the first word of "cc", so it can be a program name with args.
   3975 set dummy cc; ac_word=$2
   3976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3977 printf %s "checking for $ac_word... " >&6; }
   3978 if test ${ac_cv_prog_CC+y}
   3979 then :
   3980   printf %s "(cached) " >&6
   3981 else case e in #(
   3982   e) if test -n "$CC"; then
   3983   ac_cv_prog_CC="$CC" # Let the user override the test.
   3984 else
   3985   ac_prog_rejected=no
   3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3987 for as_dir in $PATH
   3988 do
   3989   IFS=$as_save_IFS
   3990   case $as_dir in #(((
   3991     '') as_dir=./ ;;
   3992     */) ;;
   3993     *) as_dir=$as_dir/ ;;
   3994   esac
   3995     for ac_exec_ext in '' $ac_executable_extensions; do
   3996   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3997     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3998        ac_prog_rejected=yes
   3999        continue
   4000      fi
   4001     ac_cv_prog_CC="cc"
   4002     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4003     break 2
   4004   fi
   4005 done
   4006   done
   4007 IFS=$as_save_IFS
   4008 
   4009 if test $ac_prog_rejected = yes; then
   4010   # We found a bogon in the path, so make sure we never use it.
   4011   set dummy $ac_cv_prog_CC
   4012   shift
   4013   if test $# != 0; then
   4014     # We chose a different compiler from the bogus one.
   4015     # However, it has the same basename, so the bogon will be chosen
   4016     # first if we set CC to just the basename; use the full file name.
   4017     shift
   4018     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4019   fi
   4020 fi
   4021 fi ;;
   4022 esac
   4023 fi
   4024 CC=$ac_cv_prog_CC
   4025 if test -n "$CC"; then
   4026   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4027 printf "%s\n" "$CC" >&6; }
   4028 else
   4029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4030 printf "%s\n" "no" >&6; }
   4031 fi
   4032 
   4033 
   4034 fi
   4035 if test -z "$CC"; then
   4036   if test -n "$ac_tool_prefix"; then
   4037   for ac_prog in cl.exe
   4038   do
   4039     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4040 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4042 printf %s "checking for $ac_word... " >&6; }
   4043 if test ${ac_cv_prog_CC+y}
   4044 then :
   4045   printf %s "(cached) " >&6
   4046 else case e in #(
   4047   e) if test -n "$CC"; then
   4048   ac_cv_prog_CC="$CC" # Let the user override the test.
   4049 else
   4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4051 for as_dir in $PATH
   4052 do
   4053   IFS=$as_save_IFS
   4054   case $as_dir in #(((
   4055     '') as_dir=./ ;;
   4056     */) ;;
   4057     *) as_dir=$as_dir/ ;;
   4058   esac
   4059     for ac_exec_ext in '' $ac_executable_extensions; do
   4060   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4061     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4062     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4063     break 2
   4064   fi
   4065 done
   4066   done
   4067 IFS=$as_save_IFS
   4068 
   4069 fi ;;
   4070 esac
   4071 fi
   4072 CC=$ac_cv_prog_CC
   4073 if test -n "$CC"; then
   4074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4075 printf "%s\n" "$CC" >&6; }
   4076 else
   4077   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4078 printf "%s\n" "no" >&6; }
   4079 fi
   4080 
   4081 
   4082     test -n "$CC" && break
   4083   done
   4084 fi
   4085 if test -z "$CC"; then
   4086   ac_ct_CC=$CC
   4087   for ac_prog in cl.exe
   4088 do
   4089   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4090 set dummy $ac_prog; ac_word=$2
   4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4092 printf %s "checking for $ac_word... " >&6; }
   4093 if test ${ac_cv_prog_ac_ct_CC+y}
   4094 then :
   4095   printf %s "(cached) " >&6
   4096 else case e in #(
   4097   e) if test -n "$ac_ct_CC"; then
   4098   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4099 else
   4100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4101 for as_dir in $PATH
   4102 do
   4103   IFS=$as_save_IFS
   4104   case $as_dir in #(((
   4105     '') as_dir=./ ;;
   4106     */) ;;
   4107     *) as_dir=$as_dir/ ;;
   4108   esac
   4109     for ac_exec_ext in '' $ac_executable_extensions; do
   4110   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4111     ac_cv_prog_ac_ct_CC="$ac_prog"
   4112     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4113     break 2
   4114   fi
   4115 done
   4116   done
   4117 IFS=$as_save_IFS
   4118 
   4119 fi ;;
   4120 esac
   4121 fi
   4122 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4123 if test -n "$ac_ct_CC"; then
   4124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4125 printf "%s\n" "$ac_ct_CC" >&6; }
   4126 else
   4127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4128 printf "%s\n" "no" >&6; }
   4129 fi
   4130 
   4131 
   4132   test -n "$ac_ct_CC" && break
   4133 done
   4134 
   4135   if test "x$ac_ct_CC" = x; then
   4136     CC=""
   4137   else
   4138     case $cross_compiling:$ac_tool_warned in
   4139 yes:)
   4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4141 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4142 ac_tool_warned=yes ;;
   4143 esac
   4144     CC=$ac_ct_CC
   4145   fi
   4146 fi
   4147 
   4148 fi
   4149 if test -z "$CC"; then
   4150   if test -n "$ac_tool_prefix"; then
   4151   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4152 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4154 printf %s "checking for $ac_word... " >&6; }
   4155 if test ${ac_cv_prog_CC+y}
   4156 then :
   4157   printf %s "(cached) " >&6
   4158 else case e in #(
   4159   e) if test -n "$CC"; then
   4160   ac_cv_prog_CC="$CC" # Let the user override the test.
   4161 else
   4162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4163 for as_dir in $PATH
   4164 do
   4165   IFS=$as_save_IFS
   4166   case $as_dir in #(((
   4167     '') as_dir=./ ;;
   4168     */) ;;
   4169     *) as_dir=$as_dir/ ;;
   4170   esac
   4171     for ac_exec_ext in '' $ac_executable_extensions; do
   4172   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4173     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4174     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4175     break 2
   4176   fi
   4177 done
   4178   done
   4179 IFS=$as_save_IFS
   4180 
   4181 fi ;;
   4182 esac
   4183 fi
   4184 CC=$ac_cv_prog_CC
   4185 if test -n "$CC"; then
   4186   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4187 printf "%s\n" "$CC" >&6; }
   4188 else
   4189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4190 printf "%s\n" "no" >&6; }
   4191 fi
   4192 
   4193 
   4194 fi
   4195 if test -z "$ac_cv_prog_CC"; then
   4196   ac_ct_CC=$CC
   4197   # Extract the first word of "clang", so it can be a program name with args.
   4198 set dummy clang; ac_word=$2
   4199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4200 printf %s "checking for $ac_word... " >&6; }
   4201 if test ${ac_cv_prog_ac_ct_CC+y}
   4202 then :
   4203   printf %s "(cached) " >&6
   4204 else case e in #(
   4205   e) if test -n "$ac_ct_CC"; then
   4206   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4207 else
   4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4209 for as_dir in $PATH
   4210 do
   4211   IFS=$as_save_IFS
   4212   case $as_dir in #(((
   4213     '') as_dir=./ ;;
   4214     */) ;;
   4215     *) as_dir=$as_dir/ ;;
   4216   esac
   4217     for ac_exec_ext in '' $ac_executable_extensions; do
   4218   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4219     ac_cv_prog_ac_ct_CC="clang"
   4220     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4221     break 2
   4222   fi
   4223 done
   4224   done
   4225 IFS=$as_save_IFS
   4226 
   4227 fi ;;
   4228 esac
   4229 fi
   4230 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4231 if test -n "$ac_ct_CC"; then
   4232   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4233 printf "%s\n" "$ac_ct_CC" >&6; }
   4234 else
   4235   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4236 printf "%s\n" "no" >&6; }
   4237 fi
   4238 
   4239   if test "x$ac_ct_CC" = x; then
   4240     CC=""
   4241   else
   4242     case $cross_compiling:$ac_tool_warned in
   4243 yes:)
   4244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4245 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4246 ac_tool_warned=yes ;;
   4247 esac
   4248     CC=$ac_ct_CC
   4249   fi
   4250 else
   4251   CC="$ac_cv_prog_CC"
   4252 fi
   4253 
   4254 fi
   4255 
   4256 
   4257 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4258 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4259 as_fn_error $? "no acceptable C compiler found in \$PATH
   4260 See 'config.log' for more details" "$LINENO" 5; }
   4261 
   4262 # Provide some information about the compiler.
   4263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4264 set X $ac_compile
   4265 ac_compiler=$2
   4266 for ac_option in --version -v -V -qversion -version; do
   4267   { { ac_try="$ac_compiler $ac_option >&5"
   4268 case "(($ac_try" in
   4269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4270   *) ac_try_echo=$ac_try;;
   4271 esac
   4272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4273 printf "%s\n" "$ac_try_echo"; } >&5
   4274   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4275   ac_status=$?
   4276   if test -s conftest.err; then
   4277     sed '10a\
   4278 ... rest of stderr output deleted ...
   4279          10q' conftest.err >conftest.er1
   4280     cat conftest.er1 >&5
   4281   fi
   4282   rm -f conftest.er1 conftest.err
   4283   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4284   test $ac_status = 0; }
   4285 done
   4286 
   4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4288 /* end confdefs.h.  */
   4289 
   4290 int
   4291 main (void)
   4292 {
   4293 
   4294   ;
   4295   return 0;
   4296 }
   4297 _ACEOF
   4298 ac_clean_files_save=$ac_clean_files
   4299 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4300 # Try to create an executable without -o first, disregard a.out.
   4301 # It will help us diagnose broken compilers, and finding out an intuition
   4302 # of exeext.
   4303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4304 printf %s "checking whether the C compiler works... " >&6; }
   4305 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4306 
   4307 # The possible output files:
   4308 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4309 
   4310 ac_rmfiles=
   4311 for ac_file in $ac_files
   4312 do
   4313   case $ac_file in
   4314     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4315     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4316   esac
   4317 done
   4318 rm -f $ac_rmfiles
   4319 
   4320 if { { ac_try="$ac_link_default"
   4321 case "(($ac_try" in
   4322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4323   *) ac_try_echo=$ac_try;;
   4324 esac
   4325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4326 printf "%s\n" "$ac_try_echo"; } >&5
   4327   (eval "$ac_link_default") 2>&5
   4328   ac_status=$?
   4329   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4330   test $ac_status = 0; }
   4331 then :
   4332   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4333 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4334 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4335 # so that the user can short-circuit this test for compilers unknown to
   4336 # Autoconf.
   4337 for ac_file in $ac_files ''
   4338 do
   4339   test -f "$ac_file" || continue
   4340   case $ac_file in
   4341     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4342 	;;
   4343     [ab].out )
   4344 	# We found the default executable, but exeext='' is most
   4345 	# certainly right.
   4346 	break;;
   4347     *.* )
   4348 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4349 	then :; else
   4350 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4351 	fi
   4352 	# We set ac_cv_exeext here because the later test for it is not
   4353 	# safe: cross compilers may not add the suffix if given an '-o'
   4354 	# argument, so we may need to know it at that point already.
   4355 	# Even if this section looks crufty: it has the advantage of
   4356 	# actually working.
   4357 	break;;
   4358     * )
   4359 	break;;
   4360   esac
   4361 done
   4362 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4363 
   4364 else case e in #(
   4365   e) ac_file='' ;;
   4366 esac
   4367 fi
   4368 if test -z "$ac_file"
   4369 then :
   4370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4371 printf "%s\n" "no" >&6; }
   4372 printf "%s\n" "$as_me: failed program was:" >&5
   4373 sed 's/^/| /' conftest.$ac_ext >&5
   4374 
   4375 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4376 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4377 as_fn_error 77 "C compiler cannot create executables
   4378 See 'config.log' for more details" "$LINENO" 5; }
   4379 else case e in #(
   4380   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4381 printf "%s\n" "yes" >&6; } ;;
   4382 esac
   4383 fi
   4384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4385 printf %s "checking for C compiler default output file name... " >&6; }
   4386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4387 printf "%s\n" "$ac_file" >&6; }
   4388 ac_exeext=$ac_cv_exeext
   4389 
   4390 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4391 ac_clean_files=$ac_clean_files_save
   4392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4393 printf %s "checking for suffix of executables... " >&6; }
   4394 if { { ac_try="$ac_link"
   4395 case "(($ac_try" in
   4396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4397   *) ac_try_echo=$ac_try;;
   4398 esac
   4399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4400 printf "%s\n" "$ac_try_echo"; } >&5
   4401   (eval "$ac_link") 2>&5
   4402   ac_status=$?
   4403   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4404   test $ac_status = 0; }
   4405 then :
   4406   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4407 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4408 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4409 # 'rm'.
   4410 for ac_file in conftest.exe conftest conftest.*; do
   4411   test -f "$ac_file" || continue
   4412   case $ac_file in
   4413     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4414     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4415 	  break;;
   4416     * ) break;;
   4417   esac
   4418 done
   4419 else case e in #(
   4420   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4421 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4422 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4423 See 'config.log' for more details" "$LINENO" 5; } ;;
   4424 esac
   4425 fi
   4426 rm -f conftest conftest$ac_cv_exeext
   4427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4428 printf "%s\n" "$ac_cv_exeext" >&6; }
   4429 
   4430 rm -f conftest.$ac_ext
   4431 EXEEXT=$ac_cv_exeext
   4432 ac_exeext=$EXEEXT
   4433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4434 /* end confdefs.h.  */
   4435 #include <stdio.h>
   4436 int
   4437 main (void)
   4438 {
   4439 FILE *f = fopen ("conftest.out", "w");
   4440  if (!f)
   4441   return 1;
   4442  return ferror (f) || fclose (f) != 0;
   4443 
   4444   ;
   4445   return 0;
   4446 }
   4447 _ACEOF
   4448 ac_clean_files="$ac_clean_files conftest.out"
   4449 # Check that the compiler produces executables we can run.  If not, either
   4450 # the compiler is broken, or we cross compile.
   4451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4452 printf %s "checking whether we are cross compiling... " >&6; }
   4453 if test "$cross_compiling" != yes; then
   4454   { { ac_try="$ac_link"
   4455 case "(($ac_try" in
   4456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4457   *) ac_try_echo=$ac_try;;
   4458 esac
   4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4460 printf "%s\n" "$ac_try_echo"; } >&5
   4461   (eval "$ac_link") 2>&5
   4462   ac_status=$?
   4463   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4464   test $ac_status = 0; }
   4465   if { ac_try='./conftest$ac_cv_exeext'
   4466   { { case "(($ac_try" in
   4467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4468   *) ac_try_echo=$ac_try;;
   4469 esac
   4470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4471 printf "%s\n" "$ac_try_echo"; } >&5
   4472   (eval "$ac_try") 2>&5
   4473   ac_status=$?
   4474   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4475   test $ac_status = 0; }; }; then
   4476     cross_compiling=no
   4477   else
   4478     if test "$cross_compiling" = maybe; then
   4479 	cross_compiling=yes
   4480     else
   4481 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4482 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4483 as_fn_error 77 "cannot run C compiled programs.
   4484 If you meant to cross compile, use '--host'.
   4485 See 'config.log' for more details" "$LINENO" 5; }
   4486     fi
   4487   fi
   4488 fi
   4489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4490 printf "%s\n" "$cross_compiling" >&6; }
   4491 
   4492 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4493   conftest.o conftest.obj conftest.out
   4494 ac_clean_files=$ac_clean_files_save
   4495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4496 printf %s "checking for suffix of object files... " >&6; }
   4497 if test ${ac_cv_objext+y}
   4498 then :
   4499   printf %s "(cached) " >&6
   4500 else case e in #(
   4501   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4502 /* end confdefs.h.  */
   4503 
   4504 int
   4505 main (void)
   4506 {
   4507 
   4508   ;
   4509   return 0;
   4510 }
   4511 _ACEOF
   4512 rm -f conftest.o conftest.obj
   4513 if { { ac_try="$ac_compile"
   4514 case "(($ac_try" in
   4515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4516   *) ac_try_echo=$ac_try;;
   4517 esac
   4518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4519 printf "%s\n" "$ac_try_echo"; } >&5
   4520   (eval "$ac_compile") 2>&5
   4521   ac_status=$?
   4522   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4523   test $ac_status = 0; }
   4524 then :
   4525   for ac_file in conftest.o conftest.obj conftest.*; do
   4526   test -f "$ac_file" || continue;
   4527   case $ac_file in
   4528     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4529     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4530        break;;
   4531   esac
   4532 done
   4533 else case e in #(
   4534   e) printf "%s\n" "$as_me: failed program was:" >&5
   4535 sed 's/^/| /' conftest.$ac_ext >&5
   4536 
   4537 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4538 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4539 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4540 See 'config.log' for more details" "$LINENO" 5; } ;;
   4541 esac
   4542 fi
   4543 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4544 esac
   4545 fi
   4546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4547 printf "%s\n" "$ac_cv_objext" >&6; }
   4548 OBJEXT=$ac_cv_objext
   4549 ac_objext=$OBJEXT
   4550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4551 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4552 if test ${ac_cv_c_compiler_gnu+y}
   4553 then :
   4554   printf %s "(cached) " >&6
   4555 else case e in #(
   4556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4557 /* end confdefs.h.  */
   4558 
   4559 int
   4560 main (void)
   4561 {
   4562 #ifndef __GNUC__
   4563        choke me
   4564 #endif
   4565 
   4566   ;
   4567   return 0;
   4568 }
   4569 _ACEOF
   4570 if ac_fn_c_try_compile "$LINENO"
   4571 then :
   4572   ac_compiler_gnu=yes
   4573 else case e in #(
   4574   e) ac_compiler_gnu=no ;;
   4575 esac
   4576 fi
   4577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4578 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4579  ;;
   4580 esac
   4581 fi
   4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4583 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4585 
   4586 if test $ac_compiler_gnu = yes; then
   4587   GCC=yes
   4588 else
   4589   GCC=
   4590 fi
   4591 ac_test_CFLAGS=${CFLAGS+y}
   4592 ac_save_CFLAGS=$CFLAGS
   4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4594 printf %s "checking whether $CC accepts -g... " >&6; }
   4595 if test ${ac_cv_prog_cc_g+y}
   4596 then :
   4597   printf %s "(cached) " >&6
   4598 else case e in #(
   4599   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4600    ac_c_werror_flag=yes
   4601    ac_cv_prog_cc_g=no
   4602    CFLAGS="-g"
   4603    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4604 /* end confdefs.h.  */
   4605 
   4606 int
   4607 main (void)
   4608 {
   4609 
   4610   ;
   4611   return 0;
   4612 }
   4613 _ACEOF
   4614 if ac_fn_c_try_compile "$LINENO"
   4615 then :
   4616   ac_cv_prog_cc_g=yes
   4617 else case e in #(
   4618   e) CFLAGS=""
   4619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4620 /* end confdefs.h.  */
   4621 
   4622 int
   4623 main (void)
   4624 {
   4625 
   4626   ;
   4627   return 0;
   4628 }
   4629 _ACEOF
   4630 if ac_fn_c_try_compile "$LINENO"
   4631 then :
   4632 
   4633 else case e in #(
   4634   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4635 	 CFLAGS="-g"
   4636 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4637 /* end confdefs.h.  */
   4638 
   4639 int
   4640 main (void)
   4641 {
   4642 
   4643   ;
   4644   return 0;
   4645 }
   4646 _ACEOF
   4647 if ac_fn_c_try_compile "$LINENO"
   4648 then :
   4649   ac_cv_prog_cc_g=yes
   4650 fi
   4651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4652 esac
   4653 fi
   4654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4655 esac
   4656 fi
   4657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4658    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4659 esac
   4660 fi
   4661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4662 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4663 if test $ac_test_CFLAGS; then
   4664   CFLAGS=$ac_save_CFLAGS
   4665 elif test $ac_cv_prog_cc_g = yes; then
   4666   if test "$GCC" = yes; then
   4667     CFLAGS="-g -O2"
   4668   else
   4669     CFLAGS="-g"
   4670   fi
   4671 else
   4672   if test "$GCC" = yes; then
   4673     CFLAGS="-O2"
   4674   else
   4675     CFLAGS=
   4676   fi
   4677 fi
   4678 ac_prog_cc_stdc=no
   4679 if test x$ac_prog_cc_stdc = xno
   4680 then :
   4681   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4682 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4683 if test ${ac_cv_prog_cc_c11+y}
   4684 then :
   4685   printf %s "(cached) " >&6
   4686 else case e in #(
   4687   e) ac_cv_prog_cc_c11=no
   4688 ac_save_CC=$CC
   4689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4690 /* end confdefs.h.  */
   4691 $ac_c_conftest_c11_program
   4692 _ACEOF
   4693 for ac_arg in '' -std=gnu11
   4694 do
   4695   CC="$ac_save_CC $ac_arg"
   4696   if ac_fn_c_try_compile "$LINENO"
   4697 then :
   4698   ac_cv_prog_cc_c11=$ac_arg
   4699 fi
   4700 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4701   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4702 done
   4703 rm -f conftest.$ac_ext
   4704 CC=$ac_save_CC ;;
   4705 esac
   4706 fi
   4707 
   4708 if test "x$ac_cv_prog_cc_c11" = xno
   4709 then :
   4710   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4711 printf "%s\n" "unsupported" >&6; }
   4712 else case e in #(
   4713   e) if test "x$ac_cv_prog_cc_c11" = x
   4714 then :
   4715   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4716 printf "%s\n" "none needed" >&6; }
   4717 else case e in #(
   4718   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4719 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4720      CC="$CC $ac_cv_prog_cc_c11" ;;
   4721 esac
   4722 fi
   4723   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4724   ac_prog_cc_stdc=c11 ;;
   4725 esac
   4726 fi
   4727 fi
   4728 if test x$ac_prog_cc_stdc = xno
   4729 then :
   4730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4731 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4732 if test ${ac_cv_prog_cc_c99+y}
   4733 then :
   4734   printf %s "(cached) " >&6
   4735 else case e in #(
   4736   e) ac_cv_prog_cc_c99=no
   4737 ac_save_CC=$CC
   4738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4739 /* end confdefs.h.  */
   4740 $ac_c_conftest_c99_program
   4741 _ACEOF
   4742 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4743 do
   4744   CC="$ac_save_CC $ac_arg"
   4745   if ac_fn_c_try_compile "$LINENO"
   4746 then :
   4747   ac_cv_prog_cc_c99=$ac_arg
   4748 fi
   4749 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4750   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4751 done
   4752 rm -f conftest.$ac_ext
   4753 CC=$ac_save_CC ;;
   4754 esac
   4755 fi
   4756 
   4757 if test "x$ac_cv_prog_cc_c99" = xno
   4758 then :
   4759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4760 printf "%s\n" "unsupported" >&6; }
   4761 else case e in #(
   4762   e) if test "x$ac_cv_prog_cc_c99" = x
   4763 then :
   4764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4765 printf "%s\n" "none needed" >&6; }
   4766 else case e in #(
   4767   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4768 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4769      CC="$CC $ac_cv_prog_cc_c99" ;;
   4770 esac
   4771 fi
   4772   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4773   ac_prog_cc_stdc=c99 ;;
   4774 esac
   4775 fi
   4776 fi
   4777 if test x$ac_prog_cc_stdc = xno
   4778 then :
   4779   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4780 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4781 if test ${ac_cv_prog_cc_c89+y}
   4782 then :
   4783   printf %s "(cached) " >&6
   4784 else case e in #(
   4785   e) ac_cv_prog_cc_c89=no
   4786 ac_save_CC=$CC
   4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4788 /* end confdefs.h.  */
   4789 $ac_c_conftest_c89_program
   4790 _ACEOF
   4791 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4792 do
   4793   CC="$ac_save_CC $ac_arg"
   4794   if ac_fn_c_try_compile "$LINENO"
   4795 then :
   4796   ac_cv_prog_cc_c89=$ac_arg
   4797 fi
   4798 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4799   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4800 done
   4801 rm -f conftest.$ac_ext
   4802 CC=$ac_save_CC ;;
   4803 esac
   4804 fi
   4805 
   4806 if test "x$ac_cv_prog_cc_c89" = xno
   4807 then :
   4808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4809 printf "%s\n" "unsupported" >&6; }
   4810 else case e in #(
   4811   e) if test "x$ac_cv_prog_cc_c89" = x
   4812 then :
   4813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4814 printf "%s\n" "none needed" >&6; }
   4815 else case e in #(
   4816   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4817 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4818      CC="$CC $ac_cv_prog_cc_c89" ;;
   4819 esac
   4820 fi
   4821   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4822   ac_prog_cc_stdc=c89 ;;
   4823 esac
   4824 fi
   4825 fi
   4826 
   4827 ac_ext=c
   4828 ac_cpp='$CPP $CPPFLAGS'
   4829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4832 
   4833 
   4834   ac_ext=c
   4835 ac_cpp='$CPP $CPPFLAGS'
   4836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4840 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4841 if test ${am_cv_prog_cc_c_o+y}
   4842 then :
   4843   printf %s "(cached) " >&6
   4844 else case e in #(
   4845   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4846 /* end confdefs.h.  */
   4847 
   4848 int
   4849 main (void)
   4850 {
   4851 
   4852   ;
   4853   return 0;
   4854 }
   4855 _ACEOF
   4856   # Make sure it works both with $CC and with simple cc.
   4857   # Following AC_PROG_CC_C_O, we do the test twice because some
   4858   # compilers refuse to overwrite an existing .o file with -o,
   4859   # though they will create one.
   4860   am_cv_prog_cc_c_o=yes
   4861   for am_i in 1 2; do
   4862     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4863    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4864    ac_status=$?
   4865    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4866    (exit $ac_status); } \
   4867          && test -f conftest2.$ac_objext; then
   4868       : OK
   4869     else
   4870       am_cv_prog_cc_c_o=no
   4871       break
   4872     fi
   4873   done
   4874   # aligned with autoconf, so not including core; see bug#72225.
   4875   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4876     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4877     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4878   unset am_i ;;
   4879 esac
   4880 fi
   4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4882 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4883 if test "$am_cv_prog_cc_c_o" != yes; then
   4884    # Losing compiler, so override with the script.
   4885    # FIXME: It is wrong to rewrite CC.
   4886    # But if we don't then we get into trouble of one sort or another.
   4887    # A longer-term fix would be to have automake use am__CC in this case,
   4888    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4889    CC="$am_aux_dir/compile $CC"
   4890 fi
   4891 ac_ext=c
   4892 ac_cpp='$CPP $CPPFLAGS'
   4893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4896 
   4897 
   4898 depcc="$CC"   am_compiler_list=
   4899 
   4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4901 printf %s "checking dependency style of $depcc... " >&6; }
   4902 if test ${am_cv_CC_dependencies_compiler_type+y}
   4903 then :
   4904   printf %s "(cached) " >&6
   4905 else case e in #(
   4906   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4907   # We make a subdir and do the tests there.  Otherwise we can end up
   4908   # making bogus files that we don't know about and never remove.  For
   4909   # instance it was reported that on HP-UX the gcc test will end up
   4910   # making a dummy file named 'D' -- because '-MD' means "put the output
   4911   # in D".
   4912   rm -rf conftest.dir
   4913   mkdir conftest.dir
   4914   # Copy depcomp to subdir because otherwise we won't find it if we're
   4915   # using a relative directory.
   4916   cp "$am_depcomp" conftest.dir
   4917   cd conftest.dir
   4918   # We will build objects and dependencies in a subdirectory because
   4919   # it helps to detect inapplicable dependency modes.  For instance
   4920   # both Tru64's cc and ICC support -MD to output dependencies as a
   4921   # side effect of compilation, but ICC will put the dependencies in
   4922   # the current directory while Tru64 will put them in the object
   4923   # directory.
   4924   mkdir sub
   4925 
   4926   am_cv_CC_dependencies_compiler_type=none
   4927   if test "$am_compiler_list" = ""; then
   4928      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4929   fi
   4930   am__universal=false
   4931   case " $depcc " in #(
   4932      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4933      esac
   4934 
   4935   for depmode in $am_compiler_list; do
   4936     # Setup a source with many dependencies, because some compilers
   4937     # like to wrap large dependency lists on column 80 (with \), and
   4938     # we should not choose a depcomp mode which is confused by this.
   4939     #
   4940     # We need to recreate these files for each test, as the compiler may
   4941     # overwrite some of them when testing with obscure command lines.
   4942     # This happens at least with the AIX C compiler.
   4943     : > sub/conftest.c
   4944     for i in 1 2 3 4 5 6; do
   4945       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4946       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4947       # Solaris 10 /bin/sh.
   4948       echo '/* dummy */' > sub/conftst$i.h
   4949     done
   4950     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4951 
   4952     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4953     # mode.  It turns out that the SunPro C++ compiler does not properly
   4954     # handle '-M -o', and we need to detect this.  Also, some Intel
   4955     # versions had trouble with output in subdirs.
   4956     am__obj=sub/conftest.${OBJEXT-o}
   4957     am__minus_obj="-o $am__obj"
   4958     case $depmode in
   4959     gcc)
   4960       # This depmode causes a compiler race in universal mode.
   4961       test "$am__universal" = false || continue
   4962       ;;
   4963     nosideeffect)
   4964       # After this tag, mechanisms are not by side-effect, so they'll
   4965       # only be used when explicitly requested.
   4966       if test "x$enable_dependency_tracking" = xyes; then
   4967 	continue
   4968       else
   4969 	break
   4970       fi
   4971       ;;
   4972     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4973       # This compiler won't grok '-c -o', but also, the minuso test has
   4974       # not run yet.  These depmodes are late enough in the game, and
   4975       # so weak that their functioning should not be impacted.
   4976       am__obj=conftest.${OBJEXT-o}
   4977       am__minus_obj=
   4978       ;;
   4979     none) break ;;
   4980     esac
   4981     if depmode=$depmode \
   4982        source=sub/conftest.c object=$am__obj \
   4983        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4984        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4985          >/dev/null 2>conftest.err &&
   4986        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4987        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4988        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4989        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4990       # icc doesn't choke on unknown options, it will just issue warnings
   4991       # or remarks (even with -Werror).  So we grep stderr for any message
   4992       # that says an option was ignored or not supported.
   4993       # When given -MP, icc 7.0 and 7.1 complain thus:
   4994       #   icc: Command line warning: ignoring option '-M'; no argument required
   4995       # The diagnosis changed in icc 8.0:
   4996       #   icc: Command line remark: option '-MP' not supported
   4997       if (grep 'ignoring option' conftest.err ||
   4998           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4999         am_cv_CC_dependencies_compiler_type=$depmode
   5000         break
   5001       fi
   5002     fi
   5003   done
   5004 
   5005   cd ..
   5006   rm -rf conftest.dir
   5007 else
   5008   am_cv_CC_dependencies_compiler_type=none
   5009 fi
   5010  ;;
   5011 esac
   5012 fi
   5013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5014 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5015 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5016 
   5017  if
   5018   test "x$enable_dependency_tracking" != xno \
   5019   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5020   am__fastdepCC_TRUE=
   5021   am__fastdepCC_FALSE='#'
   5022 else
   5023   am__fastdepCC_TRUE='#'
   5024   am__fastdepCC_FALSE=
   5025 fi
   5026 
   5027 
   5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5029 printf %s "checking for a sed that does not truncate output... " >&6; }
   5030 if test ${ac_cv_path_SED+y}
   5031 then :
   5032   printf %s "(cached) " >&6
   5033 else case e in #(
   5034   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5035      for ac_i in 1 2 3 4 5 6 7; do
   5036        ac_script="$ac_script$as_nl$ac_script"
   5037      done
   5038      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5039      { ac_script=; unset ac_script;}
   5040      if test -z "$SED"; then
   5041   ac_path_SED_found=false
   5042   # Loop through the user's path and test for each of PROGNAME-LIST
   5043   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5044 for as_dir in $PATH
   5045 do
   5046   IFS=$as_save_IFS
   5047   case $as_dir in #(((
   5048     '') as_dir=./ ;;
   5049     */) ;;
   5050     *) as_dir=$as_dir/ ;;
   5051   esac
   5052     for ac_prog in sed gsed
   5053    do
   5054     for ac_exec_ext in '' $ac_executable_extensions; do
   5055       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5056       as_fn_executable_p "$ac_path_SED" || continue
   5057 # Check for GNU ac_path_SED and select it if it is found.
   5058   # Check for GNU $ac_path_SED
   5059 case `"$ac_path_SED" --version 2>&1` in #(
   5060 *GNU*)
   5061   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5062 #(
   5063 *)
   5064   ac_count=0
   5065   printf %s 0123456789 >"conftest.in"
   5066   while :
   5067   do
   5068     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5069     mv "conftest.tmp" "conftest.in"
   5070     cp "conftest.in" "conftest.nl"
   5071     printf "%s\n" '' >> "conftest.nl"
   5072     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5073     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5074     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5075     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5076       # Best one so far, save it but keep looking for a better one
   5077       ac_cv_path_SED="$ac_path_SED"
   5078       ac_path_SED_max=$ac_count
   5079     fi
   5080     # 10*(2^10) chars as input seems more than enough
   5081     test $ac_count -gt 10 && break
   5082   done
   5083   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5084 esac
   5085 
   5086       $ac_path_SED_found && break 3
   5087     done
   5088   done
   5089   done
   5090 IFS=$as_save_IFS
   5091   if test -z "$ac_cv_path_SED"; then
   5092     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5093   fi
   5094 else
   5095   ac_cv_path_SED=$SED
   5096 fi
   5097  ;;
   5098 esac
   5099 fi
   5100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5101 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5102  SED="$ac_cv_path_SED"
   5103   rm -f conftest.sed
   5104 
   5105 test -z "$SED" && SED=sed
   5106 Xsed="$SED -e 1s/^X//"
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5119 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5120 if test ${ac_cv_path_GREP+y}
   5121 then :
   5122   printf %s "(cached) " >&6
   5123 else case e in #(
   5124   e) if test -z "$GREP"; then
   5125   ac_path_GREP_found=false
   5126   # Loop through the user's path and test for each of PROGNAME-LIST
   5127   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5128 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5129 do
   5130   IFS=$as_save_IFS
   5131   case $as_dir in #(((
   5132     '') as_dir=./ ;;
   5133     */) ;;
   5134     *) as_dir=$as_dir/ ;;
   5135   esac
   5136     for ac_prog in grep ggrep
   5137    do
   5138     for ac_exec_ext in '' $ac_executable_extensions; do
   5139       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5140       as_fn_executable_p "$ac_path_GREP" || continue
   5141 # Check for GNU ac_path_GREP and select it if it is found.
   5142   # Check for GNU $ac_path_GREP
   5143 case `"$ac_path_GREP" --version 2>&1` in #(
   5144 *GNU*)
   5145   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5146 #(
   5147 *)
   5148   ac_count=0
   5149   printf %s 0123456789 >"conftest.in"
   5150   while :
   5151   do
   5152     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5153     mv "conftest.tmp" "conftest.in"
   5154     cp "conftest.in" "conftest.nl"
   5155     printf "%s\n" 'GREP' >> "conftest.nl"
   5156     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5157     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5158     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5159     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5160       # Best one so far, save it but keep looking for a better one
   5161       ac_cv_path_GREP="$ac_path_GREP"
   5162       ac_path_GREP_max=$ac_count
   5163     fi
   5164     # 10*(2^10) chars as input seems more than enough
   5165     test $ac_count -gt 10 && break
   5166   done
   5167   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5168 esac
   5169 
   5170       $ac_path_GREP_found && break 3
   5171     done
   5172   done
   5173   done
   5174 IFS=$as_save_IFS
   5175   if test -z "$ac_cv_path_GREP"; then
   5176     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5177   fi
   5178 else
   5179   ac_cv_path_GREP=$GREP
   5180 fi
   5181  ;;
   5182 esac
   5183 fi
   5184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5185 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5186  GREP="$ac_cv_path_GREP"
   5187 
   5188 
   5189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5190 printf %s "checking for egrep... " >&6; }
   5191 if test ${ac_cv_path_EGREP+y}
   5192 then :
   5193   printf %s "(cached) " >&6
   5194 else case e in #(
   5195   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5196    then ac_cv_path_EGREP="$GREP -E"
   5197    else
   5198      if test -z "$EGREP"; then
   5199   ac_path_EGREP_found=false
   5200   # Loop through the user's path and test for each of PROGNAME-LIST
   5201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5202 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5203 do
   5204   IFS=$as_save_IFS
   5205   case $as_dir in #(((
   5206     '') as_dir=./ ;;
   5207     */) ;;
   5208     *) as_dir=$as_dir/ ;;
   5209   esac
   5210     for ac_prog in egrep
   5211    do
   5212     for ac_exec_ext in '' $ac_executable_extensions; do
   5213       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5214       as_fn_executable_p "$ac_path_EGREP" || continue
   5215 # Check for GNU ac_path_EGREP and select it if it is found.
   5216   # Check for GNU $ac_path_EGREP
   5217 case `"$ac_path_EGREP" --version 2>&1` in #(
   5218 *GNU*)
   5219   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5220 #(
   5221 *)
   5222   ac_count=0
   5223   printf %s 0123456789 >"conftest.in"
   5224   while :
   5225   do
   5226     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5227     mv "conftest.tmp" "conftest.in"
   5228     cp "conftest.in" "conftest.nl"
   5229     printf "%s\n" 'EGREP' >> "conftest.nl"
   5230     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5231     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5232     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5233     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5234       # Best one so far, save it but keep looking for a better one
   5235       ac_cv_path_EGREP="$ac_path_EGREP"
   5236       ac_path_EGREP_max=$ac_count
   5237     fi
   5238     # 10*(2^10) chars as input seems more than enough
   5239     test $ac_count -gt 10 && break
   5240   done
   5241   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5242 esac
   5243 
   5244       $ac_path_EGREP_found && break 3
   5245     done
   5246   done
   5247   done
   5248 IFS=$as_save_IFS
   5249   if test -z "$ac_cv_path_EGREP"; then
   5250     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5251   fi
   5252 else
   5253   ac_cv_path_EGREP=$EGREP
   5254 fi
   5255 
   5256    fi ;;
   5257 esac
   5258 fi
   5259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5260 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5261  EGREP="$ac_cv_path_EGREP"
   5262 
   5263          EGREP_TRADITIONAL=$EGREP
   5264  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5265 
   5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5267 printf %s "checking for fgrep... " >&6; }
   5268 if test ${ac_cv_path_FGREP+y}
   5269 then :
   5270   printf %s "(cached) " >&6
   5271 else case e in #(
   5272   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5273    then ac_cv_path_FGREP="$GREP -F"
   5274    else
   5275      if test -z "$FGREP"; then
   5276   ac_path_FGREP_found=false
   5277   # Loop through the user's path and test for each of PROGNAME-LIST
   5278   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5279 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5280 do
   5281   IFS=$as_save_IFS
   5282   case $as_dir in #(((
   5283     '') as_dir=./ ;;
   5284     */) ;;
   5285     *) as_dir=$as_dir/ ;;
   5286   esac
   5287     for ac_prog in fgrep
   5288    do
   5289     for ac_exec_ext in '' $ac_executable_extensions; do
   5290       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5291       as_fn_executable_p "$ac_path_FGREP" || continue
   5292 # Check for GNU ac_path_FGREP and select it if it is found.
   5293   # Check for GNU $ac_path_FGREP
   5294 case `"$ac_path_FGREP" --version 2>&1` in #(
   5295 *GNU*)
   5296   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5297 #(
   5298 *)
   5299   ac_count=0
   5300   printf %s 0123456789 >"conftest.in"
   5301   while :
   5302   do
   5303     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5304     mv "conftest.tmp" "conftest.in"
   5305     cp "conftest.in" "conftest.nl"
   5306     printf "%s\n" 'FGREP' >> "conftest.nl"
   5307     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5308     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5309     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5310     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5311       # Best one so far, save it but keep looking for a better one
   5312       ac_cv_path_FGREP="$ac_path_FGREP"
   5313       ac_path_FGREP_max=$ac_count
   5314     fi
   5315     # 10*(2^10) chars as input seems more than enough
   5316     test $ac_count -gt 10 && break
   5317   done
   5318   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5319 esac
   5320 
   5321       $ac_path_FGREP_found && break 3
   5322     done
   5323   done
   5324   done
   5325 IFS=$as_save_IFS
   5326   if test -z "$ac_cv_path_FGREP"; then
   5327     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5328   fi
   5329 else
   5330   ac_cv_path_FGREP=$FGREP
   5331 fi
   5332 
   5333    fi ;;
   5334 esac
   5335 fi
   5336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5337 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5338  FGREP="$ac_cv_path_FGREP"
   5339 
   5340 
   5341 test -z "$GREP" && GREP=grep
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 
   5361 # Check whether --with-gnu-ld was given.
   5362 if test ${with_gnu_ld+y}
   5363 then :
   5364   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5365 else case e in #(
   5366   e) with_gnu_ld=no ;;
   5367 esac
   5368 fi
   5369 
   5370 ac_prog=ld
   5371 if test yes = "$GCC"; then
   5372   # Check if gcc -print-prog-name=ld gives a path.
   5373   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5374 printf %s "checking for ld used by $CC... " >&6; }
   5375   case $host in
   5376   *-*-mingw* | *-*-windows*)
   5377     # gcc leaves a trailing carriage return, which upsets mingw
   5378     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5379   *)
   5380     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5381   esac
   5382   case $ac_prog in
   5383     # Accept absolute paths.
   5384     [\\/]* | ?:[\\/]*)
   5385       re_direlt='/[^/][^/]*/\.\./'
   5386       # Canonicalize the pathname of ld
   5387       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5388       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5389 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5390       done
   5391       test -z "$LD" && LD=$ac_prog
   5392       ;;
   5393   "")
   5394     # If it fails, then pretend we aren't using GCC.
   5395     ac_prog=ld
   5396     ;;
   5397   *)
   5398     # If it is relative, then search for the first ld in PATH.
   5399     with_gnu_ld=unknown
   5400     ;;
   5401   esac
   5402 elif test yes = "$with_gnu_ld"; then
   5403   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5404 printf %s "checking for GNU ld... " >&6; }
   5405 else
   5406   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5407 printf %s "checking for non-GNU ld... " >&6; }
   5408 fi
   5409 if test ${lt_cv_path_LD+y}
   5410 then :
   5411   printf %s "(cached) " >&6
   5412 else case e in #(
   5413   e) if test -z "$LD"; then
   5414   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5415   for ac_dir in $PATH; do
   5416     IFS=$lt_save_ifs
   5417     test -z "$ac_dir" && ac_dir=.
   5418     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5419       lt_cv_path_LD=$ac_dir/$ac_prog
   5420       # Check to see if the program is GNU ld.  I'd rather use --version,
   5421       # but apparently some variants of GNU ld only accept -v.
   5422       # Break only if it was the GNU/non-GNU ld that we prefer.
   5423       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5424       *GNU* | *'with BFD'*)
   5425 	test no != "$with_gnu_ld" && break
   5426 	;;
   5427       *)
   5428 	test yes != "$with_gnu_ld" && break
   5429 	;;
   5430       esac
   5431     fi
   5432   done
   5433   IFS=$lt_save_ifs
   5434 else
   5435   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5436 fi ;;
   5437 esac
   5438 fi
   5439 
   5440 LD=$lt_cv_path_LD
   5441 if test -n "$LD"; then
   5442   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5443 printf "%s\n" "$LD" >&6; }
   5444 else
   5445   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5446 printf "%s\n" "no" >&6; }
   5447 fi
   5448 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5450 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5451 if test ${lt_cv_prog_gnu_ld+y}
   5452 then :
   5453   printf %s "(cached) " >&6
   5454 else case e in #(
   5455   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5456 case `$LD -v 2>&1 </dev/null` in
   5457 *GNU* | *'with BFD'*)
   5458   lt_cv_prog_gnu_ld=yes
   5459   ;;
   5460 *)
   5461   lt_cv_prog_gnu_ld=no
   5462   ;;
   5463 esac ;;
   5464 esac
   5465 fi
   5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5467 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5468 with_gnu_ld=$lt_cv_prog_gnu_ld
   5469 
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5479 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5480 if test ${lt_cv_path_NM+y}
   5481 then :
   5482   printf %s "(cached) " >&6
   5483 else case e in #(
   5484   e) if test -n "$NM"; then
   5485   # Let the user override the test.
   5486   lt_cv_path_NM=$NM
   5487 else
   5488   lt_nm_to_check=${ac_tool_prefix}nm
   5489   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5490     lt_nm_to_check="$lt_nm_to_check nm"
   5491   fi
   5492   for lt_tmp_nm in $lt_nm_to_check; do
   5493     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5494     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5495       IFS=$lt_save_ifs
   5496       test -z "$ac_dir" && ac_dir=.
   5497       tmp_nm=$ac_dir/$lt_tmp_nm
   5498       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5499 	# Check to see if the nm accepts a BSD-compat flag.
   5500 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5501 	#   nm: unknown option "B" ignored
   5502 	# Tru64's nm complains that /dev/null is an invalid object file
   5503 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5504 	case $build_os in
   5505 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5506 	*) lt_bad_file=/dev/null ;;
   5507 	esac
   5508 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5509 	*$lt_bad_file* | *'Invalid file or object type'*)
   5510 	  lt_cv_path_NM="$tmp_nm -B"
   5511 	  break 2
   5512 	  ;;
   5513 	*)
   5514 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5515 	  */dev/null*)
   5516 	    lt_cv_path_NM="$tmp_nm -p"
   5517 	    break 2
   5518 	    ;;
   5519 	  *)
   5520 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5521 	    continue # so that we can try to find one that supports BSD flags
   5522 	    ;;
   5523 	  esac
   5524 	  ;;
   5525 	esac
   5526       fi
   5527     done
   5528     IFS=$lt_save_ifs
   5529   done
   5530   : ${lt_cv_path_NM=no}
   5531 fi ;;
   5532 esac
   5533 fi
   5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5535 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5536 if test no != "$lt_cv_path_NM"; then
   5537   NM=$lt_cv_path_NM
   5538 else
   5539   # Didn't find any BSD compatible name lister, look for dumpbin.
   5540   if test -n "$DUMPBIN"; then :
   5541     # Let the user override the test.
   5542   else
   5543     if test -n "$ac_tool_prefix"; then
   5544   for ac_prog in dumpbin "link -dump"
   5545   do
   5546     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5547 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5549 printf %s "checking for $ac_word... " >&6; }
   5550 if test ${ac_cv_prog_DUMPBIN+y}
   5551 then :
   5552   printf %s "(cached) " >&6
   5553 else case e in #(
   5554   e) if test -n "$DUMPBIN"; then
   5555   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5556 else
   5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5558 for as_dir in $PATH
   5559 do
   5560   IFS=$as_save_IFS
   5561   case $as_dir in #(((
   5562     '') as_dir=./ ;;
   5563     */) ;;
   5564     *) as_dir=$as_dir/ ;;
   5565   esac
   5566     for ac_exec_ext in '' $ac_executable_extensions; do
   5567   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5568     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5569     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5570     break 2
   5571   fi
   5572 done
   5573   done
   5574 IFS=$as_save_IFS
   5575 
   5576 fi ;;
   5577 esac
   5578 fi
   5579 DUMPBIN=$ac_cv_prog_DUMPBIN
   5580 if test -n "$DUMPBIN"; then
   5581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5582 printf "%s\n" "$DUMPBIN" >&6; }
   5583 else
   5584   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5585 printf "%s\n" "no" >&6; }
   5586 fi
   5587 
   5588 
   5589     test -n "$DUMPBIN" && break
   5590   done
   5591 fi
   5592 if test -z "$DUMPBIN"; then
   5593   ac_ct_DUMPBIN=$DUMPBIN
   5594   for ac_prog in dumpbin "link -dump"
   5595 do
   5596   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5597 set dummy $ac_prog; ac_word=$2
   5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5599 printf %s "checking for $ac_word... " >&6; }
   5600 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5601 then :
   5602   printf %s "(cached) " >&6
   5603 else case e in #(
   5604   e) if test -n "$ac_ct_DUMPBIN"; then
   5605   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5606 else
   5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5608 for as_dir in $PATH
   5609 do
   5610   IFS=$as_save_IFS
   5611   case $as_dir in #(((
   5612     '') as_dir=./ ;;
   5613     */) ;;
   5614     *) as_dir=$as_dir/ ;;
   5615   esac
   5616     for ac_exec_ext in '' $ac_executable_extensions; do
   5617   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5618     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5619     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5620     break 2
   5621   fi
   5622 done
   5623   done
   5624 IFS=$as_save_IFS
   5625 
   5626 fi ;;
   5627 esac
   5628 fi
   5629 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5630 if test -n "$ac_ct_DUMPBIN"; then
   5631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5632 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5633 else
   5634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5635 printf "%s\n" "no" >&6; }
   5636 fi
   5637 
   5638 
   5639   test -n "$ac_ct_DUMPBIN" && break
   5640 done
   5641 
   5642   if test "x$ac_ct_DUMPBIN" = x; then
   5643     DUMPBIN=":"
   5644   else
   5645     case $cross_compiling:$ac_tool_warned in
   5646 yes:)
   5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5648 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5649 ac_tool_warned=yes ;;
   5650 esac
   5651     DUMPBIN=$ac_ct_DUMPBIN
   5652   fi
   5653 fi
   5654 
   5655     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5656     *COFF*)
   5657       DUMPBIN="$DUMPBIN -symbols -headers"
   5658       ;;
   5659     *)
   5660       DUMPBIN=:
   5661       ;;
   5662     esac
   5663   fi
   5664 
   5665   if test : != "$DUMPBIN"; then
   5666     NM=$DUMPBIN
   5667   fi
   5668 fi
   5669 test -z "$NM" && NM=nm
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5677 printf %s "checking the name lister ($NM) interface... " >&6; }
   5678 if test ${lt_cv_nm_interface+y}
   5679 then :
   5680   printf %s "(cached) " >&6
   5681 else case e in #(
   5682   e) lt_cv_nm_interface="BSD nm"
   5683   echo "int some_variable = 0;" > conftest.$ac_ext
   5684   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5685   (eval "$ac_compile" 2>conftest.err)
   5686   cat conftest.err >&5
   5687   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5688   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5689   cat conftest.err >&5
   5690   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5691   cat conftest.out >&5
   5692   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5693     lt_cv_nm_interface="MS dumpbin"
   5694   fi
   5695   rm -f conftest* ;;
   5696 esac
   5697 fi
   5698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5699 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5700 
   5701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5702 printf %s "checking whether ln -s works... " >&6; }
   5703 LN_S=$as_ln_s
   5704 if test "$LN_S" = "ln -s"; then
   5705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5706 printf "%s\n" "yes" >&6; }
   5707 else
   5708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5709 printf "%s\n" "no, using $LN_S" >&6; }
   5710 fi
   5711 
   5712 # find the maximum length of command line arguments
   5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5714 printf %s "checking the maximum length of command line arguments... " >&6; }
   5715 if test ${lt_cv_sys_max_cmd_len+y}
   5716 then :
   5717   printf %s "(cached) " >&6
   5718 else case e in #(
   5719   e)   i=0
   5720   teststring=ABCD
   5721 
   5722   case $build_os in
   5723   msdosdjgpp*)
   5724     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5725     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5726     # during glob expansion).  Even if it were fixed, the result of this
   5727     # check would be larger than it should be.
   5728     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5729     ;;
   5730 
   5731   gnu* | ironclad*)
   5732     # Under GNU Hurd and Ironclad, this test is not required because there
   5733     # is no limit to the length of command line arguments.
   5734     # Libtool will interpret -1 as no limit whatsoever
   5735     lt_cv_sys_max_cmd_len=-1;
   5736     ;;
   5737 
   5738   cygwin* | mingw* | windows* | cegcc*)
   5739     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5740     # about 5 minutes as the teststring grows exponentially.
   5741     # Worse, since 9x/ME are not pre-emptively multitasking,
   5742     # you end up with a "frozen" computer, even though with patience
   5743     # the test eventually succeeds (with a max line length of 256k).
   5744     # Instead, let's just punt: use the minimum linelength reported by
   5745     # all of the supported platforms: 8192 (on NT/2K/XP).
   5746     lt_cv_sys_max_cmd_len=8192;
   5747     ;;
   5748 
   5749   mint*)
   5750     # On MiNT this can take a long time and run out of memory.
   5751     lt_cv_sys_max_cmd_len=8192;
   5752     ;;
   5753 
   5754   amigaos*)
   5755     # On AmigaOS with pdksh, this test takes hours, literally.
   5756     # So we just punt and use a minimum line length of 8192.
   5757     lt_cv_sys_max_cmd_len=8192;
   5758     ;;
   5759 
   5760   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5761     # This has been around since 386BSD, at least.  Likely further.
   5762     if test -x /sbin/sysctl; then
   5763       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5764     elif test -x /usr/sbin/sysctl; then
   5765       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5766     else
   5767       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5768     fi
   5769     # And add a safety zone
   5770     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5771     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5772     ;;
   5773 
   5774   interix*)
   5775     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5776     lt_cv_sys_max_cmd_len=196608
   5777     ;;
   5778 
   5779   os2*)
   5780     # The test takes a long time on OS/2.
   5781     lt_cv_sys_max_cmd_len=8192
   5782     ;;
   5783 
   5784   osf*)
   5785     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5786     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5787     # nice to cause kernel panics so lets avoid the loop below.
   5788     # First set a reasonable default.
   5789     lt_cv_sys_max_cmd_len=16384
   5790     #
   5791     if test -x /sbin/sysconfig; then
   5792       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5793         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5794       esac
   5795     fi
   5796     ;;
   5797   sco3.2v5*)
   5798     lt_cv_sys_max_cmd_len=102400
   5799     ;;
   5800   sysv5* | sco5v6* | sysv4.2uw2*)
   5801     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5802     if test -n "$kargmax"; then
   5803       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5804     else
   5805       lt_cv_sys_max_cmd_len=32768
   5806     fi
   5807     ;;
   5808   *)
   5809     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5810     if test -n "$lt_cv_sys_max_cmd_len" && \
   5811        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5812       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5813       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5814     else
   5815       # Make teststring a little bigger before we do anything with it.
   5816       # a 1K string should be a reasonable start.
   5817       for i in 1 2 3 4 5 6 7 8; do
   5818         teststring=$teststring$teststring
   5819       done
   5820       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5821       # If test is not a shell built-in, we'll probably end up computing a
   5822       # maximum length that is only half of the actual maximum length, but
   5823       # we can't tell.
   5824       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5825 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5826 	      test 17 != "$i" # 1/2 MB should be enough
   5827       do
   5828         i=`expr $i + 1`
   5829         teststring=$teststring$teststring
   5830       done
   5831       # Only check the string length outside the loop.
   5832       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5833       teststring=
   5834       # Add a significant safety factor because C++ compilers can tack on
   5835       # massive amounts of additional arguments before passing them to the
   5836       # linker.  It appears as though 1/2 is a usable value.
   5837       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5838     fi
   5839     ;;
   5840   esac
   5841  ;;
   5842 esac
   5843 fi
   5844 
   5845 if test -n "$lt_cv_sys_max_cmd_len"; then
   5846   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5847 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5848 else
   5849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5850 printf "%s\n" "none" >&6; }
   5851 fi
   5852 max_cmd_len=$lt_cv_sys_max_cmd_len
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 : ${CP="cp -f"}
   5860 : ${MV="mv -f"}
   5861 : ${RM="rm -f"}
   5862 
   5863 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5864   lt_unset=unset
   5865 else
   5866   lt_unset=false
   5867 fi
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 # test EBCDIC or ASCII
   5874 case `echo X|tr X '\101'` in
   5875  A) # ASCII based system
   5876     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5877   lt_SP2NL='tr \040 \012'
   5878   lt_NL2SP='tr \015\012 \040\040'
   5879   ;;
   5880  *) # EBCDIC based system
   5881   lt_SP2NL='tr \100 \n'
   5882   lt_NL2SP='tr \r\n \100\100'
   5883   ;;
   5884 esac
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5895 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5896 if test ${lt_cv_to_host_file_cmd+y}
   5897 then :
   5898   printf %s "(cached) " >&6
   5899 else case e in #(
   5900   e) case $host in
   5901   *-*-mingw* )
   5902     case $build in
   5903       *-*-mingw* | *-*-windows* ) # actually msys
   5904         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5905         ;;
   5906       *-*-cygwin* )
   5907         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5908         ;;
   5909       * ) # otherwise, assume *nix
   5910         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5911         ;;
   5912     esac
   5913     ;;
   5914   *-*-cygwin* )
   5915     case $build in
   5916       *-*-mingw* | *-*-windows* ) # actually msys
   5917         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5918         ;;
   5919       *-*-cygwin* )
   5920         lt_cv_to_host_file_cmd=func_convert_file_noop
   5921         ;;
   5922       * ) # otherwise, assume *nix
   5923         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5924         ;;
   5925     esac
   5926     ;;
   5927   * ) # unhandled hosts (and "normal" native builds)
   5928     lt_cv_to_host_file_cmd=func_convert_file_noop
   5929     ;;
   5930 esac
   5931  ;;
   5932 esac
   5933 fi
   5934 
   5935 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5937 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5944 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5945 if test ${lt_cv_to_tool_file_cmd+y}
   5946 then :
   5947   printf %s "(cached) " >&6
   5948 else case e in #(
   5949   e) #assume ordinary cross tools, or native build.
   5950 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5951 case $host in
   5952   *-*-mingw* | *-*-windows* )
   5953     case $build in
   5954       *-*-mingw* | *-*-windows* ) # actually msys
   5955         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5956         ;;
   5957     esac
   5958     ;;
   5959 esac
   5960  ;;
   5961 esac
   5962 fi
   5963 
   5964 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5966 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5973 printf %s "checking for $LD option to reload object files... " >&6; }
   5974 if test ${lt_cv_ld_reload_flag+y}
   5975 then :
   5976   printf %s "(cached) " >&6
   5977 else case e in #(
   5978   e) lt_cv_ld_reload_flag='-r' ;;
   5979 esac
   5980 fi
   5981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5982 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5983 reload_flag=$lt_cv_ld_reload_flag
   5984 case $reload_flag in
   5985 "" | " "*) ;;
   5986 *) reload_flag=" $reload_flag" ;;
   5987 esac
   5988 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5989 case $host_os in
   5990   cygwin* | mingw* | windows* | pw32* | cegcc*)
   5991     if test yes != "$GCC"; then
   5992       reload_cmds=false
   5993     fi
   5994     ;;
   5995   darwin*)
   5996     if test yes = "$GCC"; then
   5997       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5998     else
   5999       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6000     fi
   6001     ;;
   6002 esac
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 # Extract the first word of "file", so it can be a program name with args.
   6013 set dummy file; ac_word=$2
   6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6015 printf %s "checking for $ac_word... " >&6; }
   6016 if test ${ac_cv_prog_FILECMD+y}
   6017 then :
   6018   printf %s "(cached) " >&6
   6019 else case e in #(
   6020   e) if test -n "$FILECMD"; then
   6021   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6022 else
   6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6024 for as_dir in $PATH
   6025 do
   6026   IFS=$as_save_IFS
   6027   case $as_dir in #(((
   6028     '') as_dir=./ ;;
   6029     */) ;;
   6030     *) as_dir=$as_dir/ ;;
   6031   esac
   6032     for ac_exec_ext in '' $ac_executable_extensions; do
   6033   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6034     ac_cv_prog_FILECMD="file"
   6035     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6036     break 2
   6037   fi
   6038 done
   6039   done
   6040 IFS=$as_save_IFS
   6041 
   6042   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6043 fi ;;
   6044 esac
   6045 fi
   6046 FILECMD=$ac_cv_prog_FILECMD
   6047 if test -n "$FILECMD"; then
   6048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6049 printf "%s\n" "$FILECMD" >&6; }
   6050 else
   6051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6052 printf "%s\n" "no" >&6; }
   6053 fi
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 if test -n "$ac_tool_prefix"; then
   6063   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6064 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6066 printf %s "checking for $ac_word... " >&6; }
   6067 if test ${ac_cv_prog_OBJDUMP+y}
   6068 then :
   6069   printf %s "(cached) " >&6
   6070 else case e in #(
   6071   e) if test -n "$OBJDUMP"; then
   6072   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6073 else
   6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6075 for as_dir in $PATH
   6076 do
   6077   IFS=$as_save_IFS
   6078   case $as_dir in #(((
   6079     '') as_dir=./ ;;
   6080     */) ;;
   6081     *) as_dir=$as_dir/ ;;
   6082   esac
   6083     for ac_exec_ext in '' $ac_executable_extensions; do
   6084   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6085     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6086     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6087     break 2
   6088   fi
   6089 done
   6090   done
   6091 IFS=$as_save_IFS
   6092 
   6093 fi ;;
   6094 esac
   6095 fi
   6096 OBJDUMP=$ac_cv_prog_OBJDUMP
   6097 if test -n "$OBJDUMP"; then
   6098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6099 printf "%s\n" "$OBJDUMP" >&6; }
   6100 else
   6101   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6102 printf "%s\n" "no" >&6; }
   6103 fi
   6104 
   6105 
   6106 fi
   6107 if test -z "$ac_cv_prog_OBJDUMP"; then
   6108   ac_ct_OBJDUMP=$OBJDUMP
   6109   # Extract the first word of "objdump", so it can be a program name with args.
   6110 set dummy objdump; ac_word=$2
   6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6112 printf %s "checking for $ac_word... " >&6; }
   6113 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6114 then :
   6115   printf %s "(cached) " >&6
   6116 else case e in #(
   6117   e) if test -n "$ac_ct_OBJDUMP"; then
   6118   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6119 else
   6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6121 for as_dir in $PATH
   6122 do
   6123   IFS=$as_save_IFS
   6124   case $as_dir in #(((
   6125     '') as_dir=./ ;;
   6126     */) ;;
   6127     *) as_dir=$as_dir/ ;;
   6128   esac
   6129     for ac_exec_ext in '' $ac_executable_extensions; do
   6130   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6131     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6132     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6133     break 2
   6134   fi
   6135 done
   6136   done
   6137 IFS=$as_save_IFS
   6138 
   6139 fi ;;
   6140 esac
   6141 fi
   6142 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6143 if test -n "$ac_ct_OBJDUMP"; then
   6144   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6145 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6146 else
   6147   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6148 printf "%s\n" "no" >&6; }
   6149 fi
   6150 
   6151   if test "x$ac_ct_OBJDUMP" = x; then
   6152     OBJDUMP="false"
   6153   else
   6154     case $cross_compiling:$ac_tool_warned in
   6155 yes:)
   6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6157 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6158 ac_tool_warned=yes ;;
   6159 esac
   6160     OBJDUMP=$ac_ct_OBJDUMP
   6161   fi
   6162 else
   6163   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6164 fi
   6165 
   6166 test -z "$OBJDUMP" && OBJDUMP=objdump
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6177 printf %s "checking how to recognize dependent libraries... " >&6; }
   6178 if test ${lt_cv_deplibs_check_method+y}
   6179 then :
   6180   printf %s "(cached) " >&6
   6181 else case e in #(
   6182   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6183 lt_cv_file_magic_test_file=
   6184 lt_cv_deplibs_check_method='unknown'
   6185 # Need to set the preceding variable on all platforms that support
   6186 # interlibrary dependencies.
   6187 # 'none' -- dependencies not supported.
   6188 # 'unknown' -- same as none, but documents that we really don't know.
   6189 # 'pass_all' -- all dependencies passed with no checks.
   6190 # 'file_magic [[regex]]' -- check by looking for files in library path
   6191 # that responds to the $file_magic_cmd with a given extended regex.
   6192 # If you have 'file' or equivalent on your system and you're not sure
   6193 # whether 'pass_all' will *always* work, you probably want this one.
   6194 
   6195 case $host_os in
   6196 aix[4-9]*)
   6197   lt_cv_deplibs_check_method=pass_all
   6198   ;;
   6199 
   6200 beos*)
   6201   lt_cv_deplibs_check_method=pass_all
   6202   ;;
   6203 
   6204 bsdi[45]*)
   6205   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6206   lt_cv_file_magic_cmd='$FILECMD -L'
   6207   lt_cv_file_magic_test_file=/shlib/libc.so
   6208   ;;
   6209 
   6210 cygwin*)
   6211   # func_win32_libid is a shell function defined in ltmain.sh
   6212   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6213   lt_cv_file_magic_cmd='func_win32_libid'
   6214   ;;
   6215 
   6216 mingw* | windows* | pw32*)
   6217   # Base MSYS/MinGW do not provide the 'file' command needed by
   6218   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6219   # unless we find 'file', for example because we are cross-compiling.
   6220   if ( file / ) >/dev/null 2>&1; then
   6221     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6222     lt_cv_file_magic_cmd='func_win32_libid'
   6223   else
   6224     # Keep this pattern in sync with the one in func_win32_libid.
   6225     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6226     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6227   fi
   6228   ;;
   6229 
   6230 cegcc*)
   6231   # use the weaker test based on 'objdump'. See mingw*.
   6232   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6233   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6234   ;;
   6235 
   6236 darwin* | rhapsody*)
   6237   lt_cv_deplibs_check_method=pass_all
   6238   ;;
   6239 
   6240 freebsd* | dragonfly* | midnightbsd*)
   6241   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6242     case $host_cpu in
   6243     i*86 )
   6244       # Not sure whether the presence of OpenBSD here was a mistake.
   6245       # Let's accept both of them until this is cleared up.
   6246       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6247       lt_cv_file_magic_cmd=$FILECMD
   6248       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6249       ;;
   6250     esac
   6251   else
   6252     lt_cv_deplibs_check_method=pass_all
   6253   fi
   6254   ;;
   6255 
   6256 haiku*)
   6257   lt_cv_deplibs_check_method=pass_all
   6258   ;;
   6259 
   6260 hpux10.20* | hpux11*)
   6261   lt_cv_file_magic_cmd=$FILECMD
   6262   case $host_cpu in
   6263   ia64*)
   6264     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6265     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6266     ;;
   6267   hppa*64*)
   6268     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]'
   6269     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6270     ;;
   6271   *)
   6272     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6273     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6274     ;;
   6275   esac
   6276   ;;
   6277 
   6278 interix[3-9]*)
   6279   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6280   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6281   ;;
   6282 
   6283 irix5* | irix6* | nonstopux*)
   6284   case $LD in
   6285   *-32|*"-32 ") libmagic=32-bit;;
   6286   *-n32|*"-n32 ") libmagic=N32;;
   6287   *-64|*"-64 ") libmagic=64-bit;;
   6288   *) libmagic=never-match;;
   6289   esac
   6290   lt_cv_deplibs_check_method=pass_all
   6291   ;;
   6292 
   6293 # This must be glibc/ELF.
   6294 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6295   lt_cv_deplibs_check_method=pass_all
   6296   ;;
   6297 
   6298 *-mlibc)
   6299   lt_cv_deplibs_check_method=pass_all
   6300   ;;
   6301 
   6302 netbsd* | netbsdelf*-gnu)
   6303   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6304     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6305   else
   6306     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6307   fi
   6308   ;;
   6309 
   6310 newos6*)
   6311   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6312   lt_cv_file_magic_cmd=$FILECMD
   6313   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6314   ;;
   6315 
   6316 *nto* | *qnx*)
   6317   lt_cv_deplibs_check_method=pass_all
   6318   ;;
   6319 
   6320 openbsd*)
   6321   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6322     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6323   else
   6324     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6325   fi
   6326   ;;
   6327 
   6328 osf3* | osf4* | osf5*)
   6329   lt_cv_deplibs_check_method=pass_all
   6330   ;;
   6331 
   6332 rdos*)
   6333   lt_cv_deplibs_check_method=pass_all
   6334   ;;
   6335 
   6336 serenity*)
   6337   lt_cv_deplibs_check_method=pass_all
   6338   ;;
   6339 
   6340 solaris*)
   6341   lt_cv_deplibs_check_method=pass_all
   6342   ;;
   6343 
   6344 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6345   lt_cv_deplibs_check_method=pass_all
   6346   ;;
   6347 
   6348 sysv4 | sysv4.3*)
   6349   case $host_vendor in
   6350   motorola)
   6351     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]'
   6352     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6353     ;;
   6354   ncr)
   6355     lt_cv_deplibs_check_method=pass_all
   6356     ;;
   6357   sequent)
   6358     lt_cv_file_magic_cmd='/bin/file'
   6359     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6360     ;;
   6361   sni)
   6362     lt_cv_file_magic_cmd='/bin/file'
   6363     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6364     lt_cv_file_magic_test_file=/lib/libc.so
   6365     ;;
   6366   siemens)
   6367     lt_cv_deplibs_check_method=pass_all
   6368     ;;
   6369   pc)
   6370     lt_cv_deplibs_check_method=pass_all
   6371     ;;
   6372   esac
   6373   ;;
   6374 
   6375 tpf*)
   6376   lt_cv_deplibs_check_method=pass_all
   6377   ;;
   6378 os2*)
   6379   lt_cv_deplibs_check_method=pass_all
   6380   ;;
   6381 esac
   6382  ;;
   6383 esac
   6384 fi
   6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6386 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6387 
   6388 file_magic_glob=
   6389 want_nocaseglob=no
   6390 if test "$build" = "$host"; then
   6391   case $host_os in
   6392   mingw* | windows* | pw32*)
   6393     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6394       want_nocaseglob=yes
   6395     else
   6396       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6397     fi
   6398     ;;
   6399   esac
   6400 fi
   6401 
   6402 file_magic_cmd=$lt_cv_file_magic_cmd
   6403 deplibs_check_method=$lt_cv_deplibs_check_method
   6404 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 if test -n "$ac_tool_prefix"; then
   6428   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6429 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6431 printf %s "checking for $ac_word... " >&6; }
   6432 if test ${ac_cv_prog_DLLTOOL+y}
   6433 then :
   6434   printf %s "(cached) " >&6
   6435 else case e in #(
   6436   e) if test -n "$DLLTOOL"; then
   6437   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6438 else
   6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6440 for as_dir in $PATH
   6441 do
   6442   IFS=$as_save_IFS
   6443   case $as_dir in #(((
   6444     '') as_dir=./ ;;
   6445     */) ;;
   6446     *) as_dir=$as_dir/ ;;
   6447   esac
   6448     for ac_exec_ext in '' $ac_executable_extensions; do
   6449   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6450     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6451     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6452     break 2
   6453   fi
   6454 done
   6455   done
   6456 IFS=$as_save_IFS
   6457 
   6458 fi ;;
   6459 esac
   6460 fi
   6461 DLLTOOL=$ac_cv_prog_DLLTOOL
   6462 if test -n "$DLLTOOL"; then
   6463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6464 printf "%s\n" "$DLLTOOL" >&6; }
   6465 else
   6466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6467 printf "%s\n" "no" >&6; }
   6468 fi
   6469 
   6470 
   6471 fi
   6472 if test -z "$ac_cv_prog_DLLTOOL"; then
   6473   ac_ct_DLLTOOL=$DLLTOOL
   6474   # Extract the first word of "dlltool", so it can be a program name with args.
   6475 set dummy dlltool; ac_word=$2
   6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6477 printf %s "checking for $ac_word... " >&6; }
   6478 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6479 then :
   6480   printf %s "(cached) " >&6
   6481 else case e in #(
   6482   e) if test -n "$ac_ct_DLLTOOL"; then
   6483   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6484 else
   6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6486 for as_dir in $PATH
   6487 do
   6488   IFS=$as_save_IFS
   6489   case $as_dir in #(((
   6490     '') as_dir=./ ;;
   6491     */) ;;
   6492     *) as_dir=$as_dir/ ;;
   6493   esac
   6494     for ac_exec_ext in '' $ac_executable_extensions; do
   6495   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6496     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6497     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6498     break 2
   6499   fi
   6500 done
   6501   done
   6502 IFS=$as_save_IFS
   6503 
   6504 fi ;;
   6505 esac
   6506 fi
   6507 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6508 if test -n "$ac_ct_DLLTOOL"; then
   6509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6510 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6511 else
   6512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6513 printf "%s\n" "no" >&6; }
   6514 fi
   6515 
   6516   if test "x$ac_ct_DLLTOOL" = x; then
   6517     DLLTOOL="false"
   6518   else
   6519     case $cross_compiling:$ac_tool_warned in
   6520 yes:)
   6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6522 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6523 ac_tool_warned=yes ;;
   6524 esac
   6525     DLLTOOL=$ac_ct_DLLTOOL
   6526   fi
   6527 else
   6528   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6529 fi
   6530 
   6531 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6543 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6544 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6545 then :
   6546   printf %s "(cached) " >&6
   6547 else case e in #(
   6548   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6549 
   6550 case $host_os in
   6551 cygwin* | mingw* | windows* | pw32* | cegcc*)
   6552   # two different shell functions defined in ltmain.sh;
   6553   # decide which one to use based on capabilities of $DLLTOOL
   6554   case `$DLLTOOL --help 2>&1` in
   6555   *--identify-strict*)
   6556     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6557     ;;
   6558   *)
   6559     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6560     ;;
   6561   esac
   6562   ;;
   6563 *)
   6564   # fallback: assume linklib IS sharedlib
   6565   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6566   ;;
   6567 esac
   6568  ;;
   6569 esac
   6570 fi
   6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6572 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6573 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6574 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 if test -n "$ac_tool_prefix"; then
   6584   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6585 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6587 printf %s "checking for $ac_word... " >&6; }
   6588 if test ${ac_cv_prog_RANLIB+y}
   6589 then :
   6590   printf %s "(cached) " >&6
   6591 else case e in #(
   6592   e) if test -n "$RANLIB"; then
   6593   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6594 else
   6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6596 for as_dir in $PATH
   6597 do
   6598   IFS=$as_save_IFS
   6599   case $as_dir in #(((
   6600     '') as_dir=./ ;;
   6601     */) ;;
   6602     *) as_dir=$as_dir/ ;;
   6603   esac
   6604     for ac_exec_ext in '' $ac_executable_extensions; do
   6605   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6606     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6607     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6608     break 2
   6609   fi
   6610 done
   6611   done
   6612 IFS=$as_save_IFS
   6613 
   6614 fi ;;
   6615 esac
   6616 fi
   6617 RANLIB=$ac_cv_prog_RANLIB
   6618 if test -n "$RANLIB"; then
   6619   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6620 printf "%s\n" "$RANLIB" >&6; }
   6621 else
   6622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6623 printf "%s\n" "no" >&6; }
   6624 fi
   6625 
   6626 
   6627 fi
   6628 if test -z "$ac_cv_prog_RANLIB"; then
   6629   ac_ct_RANLIB=$RANLIB
   6630   # Extract the first word of "ranlib", so it can be a program name with args.
   6631 set dummy ranlib; ac_word=$2
   6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6633 printf %s "checking for $ac_word... " >&6; }
   6634 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6635 then :
   6636   printf %s "(cached) " >&6
   6637 else case e in #(
   6638   e) if test -n "$ac_ct_RANLIB"; then
   6639   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6640 else
   6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6642 for as_dir in $PATH
   6643 do
   6644   IFS=$as_save_IFS
   6645   case $as_dir in #(((
   6646     '') as_dir=./ ;;
   6647     */) ;;
   6648     *) as_dir=$as_dir/ ;;
   6649   esac
   6650     for ac_exec_ext in '' $ac_executable_extensions; do
   6651   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6652     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6653     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6654     break 2
   6655   fi
   6656 done
   6657   done
   6658 IFS=$as_save_IFS
   6659 
   6660 fi ;;
   6661 esac
   6662 fi
   6663 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6664 if test -n "$ac_ct_RANLIB"; then
   6665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6666 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6667 else
   6668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6669 printf "%s\n" "no" >&6; }
   6670 fi
   6671 
   6672   if test "x$ac_ct_RANLIB" = x; then
   6673     RANLIB=":"
   6674   else
   6675     case $cross_compiling:$ac_tool_warned in
   6676 yes:)
   6677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6678 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6679 ac_tool_warned=yes ;;
   6680 esac
   6681     RANLIB=$ac_ct_RANLIB
   6682   fi
   6683 else
   6684   RANLIB="$ac_cv_prog_RANLIB"
   6685 fi
   6686 
   6687 if test -n "$ac_tool_prefix"; then
   6688   for ac_prog in ar
   6689   do
   6690     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6691 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6693 printf %s "checking for $ac_word... " >&6; }
   6694 if test ${ac_cv_prog_AR+y}
   6695 then :
   6696   printf %s "(cached) " >&6
   6697 else case e in #(
   6698   e) if test -n "$AR"; then
   6699   ac_cv_prog_AR="$AR" # Let the user override the test.
   6700 else
   6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6702 for as_dir in $PATH
   6703 do
   6704   IFS=$as_save_IFS
   6705   case $as_dir in #(((
   6706     '') as_dir=./ ;;
   6707     */) ;;
   6708     *) as_dir=$as_dir/ ;;
   6709   esac
   6710     for ac_exec_ext in '' $ac_executable_extensions; do
   6711   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6712     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6713     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6714     break 2
   6715   fi
   6716 done
   6717   done
   6718 IFS=$as_save_IFS
   6719 
   6720 fi ;;
   6721 esac
   6722 fi
   6723 AR=$ac_cv_prog_AR
   6724 if test -n "$AR"; then
   6725   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6726 printf "%s\n" "$AR" >&6; }
   6727 else
   6728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6729 printf "%s\n" "no" >&6; }
   6730 fi
   6731 
   6732 
   6733     test -n "$AR" && break
   6734   done
   6735 fi
   6736 if test -z "$AR"; then
   6737   ac_ct_AR=$AR
   6738   for ac_prog in ar
   6739 do
   6740   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6741 set dummy $ac_prog; ac_word=$2
   6742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6743 printf %s "checking for $ac_word... " >&6; }
   6744 if test ${ac_cv_prog_ac_ct_AR+y}
   6745 then :
   6746   printf %s "(cached) " >&6
   6747 else case e in #(
   6748   e) if test -n "$ac_ct_AR"; then
   6749   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6750 else
   6751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6752 for as_dir in $PATH
   6753 do
   6754   IFS=$as_save_IFS
   6755   case $as_dir in #(((
   6756     '') as_dir=./ ;;
   6757     */) ;;
   6758     *) as_dir=$as_dir/ ;;
   6759   esac
   6760     for ac_exec_ext in '' $ac_executable_extensions; do
   6761   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6762     ac_cv_prog_ac_ct_AR="$ac_prog"
   6763     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6764     break 2
   6765   fi
   6766 done
   6767   done
   6768 IFS=$as_save_IFS
   6769 
   6770 fi ;;
   6771 esac
   6772 fi
   6773 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6774 if test -n "$ac_ct_AR"; then
   6775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6776 printf "%s\n" "$ac_ct_AR" >&6; }
   6777 else
   6778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6779 printf "%s\n" "no" >&6; }
   6780 fi
   6781 
   6782 
   6783   test -n "$ac_ct_AR" && break
   6784 done
   6785 
   6786   if test "x$ac_ct_AR" = x; then
   6787     AR="false"
   6788   else
   6789     case $cross_compiling:$ac_tool_warned in
   6790 yes:)
   6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6792 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6793 ac_tool_warned=yes ;;
   6794 esac
   6795     AR=$ac_ct_AR
   6796   fi
   6797 fi
   6798 
   6799 : ${AR=ar}
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6807 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6808 # higher priority because that's what people were doing historically (setting
   6809 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6810 # variable obsoleted/removed.
   6811 
   6812 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6813 lt_ar_flags=$AR_FLAGS
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 
   6820 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6821 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6829 printf %s "checking for archiver @FILE support... " >&6; }
   6830 if test ${lt_cv_ar_at_file+y}
   6831 then :
   6832   printf %s "(cached) " >&6
   6833 else case e in #(
   6834   e) lt_cv_ar_at_file=no
   6835    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6836 /* end confdefs.h.  */
   6837 
   6838 int
   6839 main (void)
   6840 {
   6841 
   6842   ;
   6843   return 0;
   6844 }
   6845 _ACEOF
   6846 if ac_fn_c_try_compile "$LINENO"
   6847 then :
   6848   echo conftest.$ac_objext > conftest.lst
   6849       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6850       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6851   (eval $lt_ar_try) 2>&5
   6852   ac_status=$?
   6853   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6854   test $ac_status = 0; }
   6855       if test 0 -eq "$ac_status"; then
   6856 	# Ensure the archiver fails upon bogus file names.
   6857 	rm -f conftest.$ac_objext libconftest.a
   6858 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6859   (eval $lt_ar_try) 2>&5
   6860   ac_status=$?
   6861   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6862   test $ac_status = 0; }
   6863 	if test 0 -ne "$ac_status"; then
   6864           lt_cv_ar_at_file=@
   6865         fi
   6866       fi
   6867       rm -f conftest.* libconftest.a
   6868 
   6869 fi
   6870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6871    ;;
   6872 esac
   6873 fi
   6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6875 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6876 
   6877 if test no = "$lt_cv_ar_at_file"; then
   6878   archiver_list_spec=
   6879 else
   6880   archiver_list_spec=$lt_cv_ar_at_file
   6881 fi
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 if test -n "$ac_tool_prefix"; then
   6890   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6891 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6893 printf %s "checking for $ac_word... " >&6; }
   6894 if test ${ac_cv_prog_STRIP+y}
   6895 then :
   6896   printf %s "(cached) " >&6
   6897 else case e in #(
   6898   e) if test -n "$STRIP"; then
   6899   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6900 else
   6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6902 for as_dir in $PATH
   6903 do
   6904   IFS=$as_save_IFS
   6905   case $as_dir in #(((
   6906     '') as_dir=./ ;;
   6907     */) ;;
   6908     *) as_dir=$as_dir/ ;;
   6909   esac
   6910     for ac_exec_ext in '' $ac_executable_extensions; do
   6911   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6912     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6913     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6914     break 2
   6915   fi
   6916 done
   6917   done
   6918 IFS=$as_save_IFS
   6919 
   6920 fi ;;
   6921 esac
   6922 fi
   6923 STRIP=$ac_cv_prog_STRIP
   6924 if test -n "$STRIP"; then
   6925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6926 printf "%s\n" "$STRIP" >&6; }
   6927 else
   6928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6929 printf "%s\n" "no" >&6; }
   6930 fi
   6931 
   6932 
   6933 fi
   6934 if test -z "$ac_cv_prog_STRIP"; then
   6935   ac_ct_STRIP=$STRIP
   6936   # Extract the first word of "strip", so it can be a program name with args.
   6937 set dummy strip; ac_word=$2
   6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6939 printf %s "checking for $ac_word... " >&6; }
   6940 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6941 then :
   6942   printf %s "(cached) " >&6
   6943 else case e in #(
   6944   e) if test -n "$ac_ct_STRIP"; then
   6945   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6946 else
   6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6948 for as_dir in $PATH
   6949 do
   6950   IFS=$as_save_IFS
   6951   case $as_dir in #(((
   6952     '') as_dir=./ ;;
   6953     */) ;;
   6954     *) as_dir=$as_dir/ ;;
   6955   esac
   6956     for ac_exec_ext in '' $ac_executable_extensions; do
   6957   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6958     ac_cv_prog_ac_ct_STRIP="strip"
   6959     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6960     break 2
   6961   fi
   6962 done
   6963   done
   6964 IFS=$as_save_IFS
   6965 
   6966 fi ;;
   6967 esac
   6968 fi
   6969 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6970 if test -n "$ac_ct_STRIP"; then
   6971   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6972 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6973 else
   6974   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6975 printf "%s\n" "no" >&6; }
   6976 fi
   6977 
   6978   if test "x$ac_ct_STRIP" = x; then
   6979     STRIP=":"
   6980   else
   6981     case $cross_compiling:$ac_tool_warned in
   6982 yes:)
   6983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6984 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6985 ac_tool_warned=yes ;;
   6986 esac
   6987     STRIP=$ac_ct_STRIP
   6988   fi
   6989 else
   6990   STRIP="$ac_cv_prog_STRIP"
   6991 fi
   6992 
   6993 test -z "$STRIP" && STRIP=:
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 test -z "$RANLIB" && RANLIB=:
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 # Determine commands to create old-style static archives.
   7009 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7010 old_postinstall_cmds='chmod 644 $oldlib'
   7011 old_postuninstall_cmds=
   7012 
   7013 if test -n "$RANLIB"; then
   7014   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7015   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7016 fi
   7017 
   7018 case $host_os in
   7019   darwin*)
   7020     lock_old_archive_extraction=yes ;;
   7021   *)
   7022     lock_old_archive_extraction=no ;;
   7023 esac
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 # If no C compiler was specified, use CC.
   7064 LTCC=${LTCC-"$CC"}
   7065 
   7066 # If no C compiler flags were specified, use CFLAGS.
   7067 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7068 
   7069 # Allow CC to be a program name with arguments.
   7070 compiler=$CC
   7071 
   7072 
   7073 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7075 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7076 if test ${lt_cv_sys_global_symbol_pipe+y}
   7077 then :
   7078   printf %s "(cached) " >&6
   7079 else case e in #(
   7080   e)
   7081 # These are sane defaults that work on at least a few old systems.
   7082 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7083 
   7084 # Character class describing NM global symbol codes.
   7085 symcode='[BCDEGRST]'
   7086 
   7087 # Regexp to match symbols that can be accessed directly from C.
   7088 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7089 
   7090 # Define system-specific variables.
   7091 case $host_os in
   7092 aix*)
   7093   symcode='[BCDT]'
   7094   ;;
   7095 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7096   symcode='[ABCDGISTW]'
   7097   ;;
   7098 hpux*)
   7099   if test ia64 = "$host_cpu"; then
   7100     symcode='[ABCDEGRST]'
   7101   fi
   7102   ;;
   7103 irix* | nonstopux*)
   7104   symcode='[BCDEGRST]'
   7105   ;;
   7106 osf*)
   7107   symcode='[BCDEGQRST]'
   7108   ;;
   7109 solaris*)
   7110   symcode='[BCDRT]'
   7111   ;;
   7112 sco3.2v5*)
   7113   symcode='[DT]'
   7114   ;;
   7115 sysv4.2uw2*)
   7116   symcode='[DT]'
   7117   ;;
   7118 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7119   symcode='[ABDT]'
   7120   ;;
   7121 sysv4)
   7122   symcode='[DFNSTU]'
   7123   ;;
   7124 esac
   7125 
   7126 # If we're using GNU nm, then use its standard symbol codes.
   7127 case `$NM -V 2>&1` in
   7128 *GNU* | *'with BFD'*)
   7129   symcode='[ABCDGIRSTW]' ;;
   7130 esac
   7131 
   7132 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7133   # Gets list of data symbols to import.
   7134   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7135   # Adjust the below global symbol transforms to fixup imported variables.
   7136   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7137   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7138   lt_c_name_lib_hook="\
   7139   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7140   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7141 else
   7142   # Disable hooks by default.
   7143   lt_cv_sys_global_symbol_to_import=
   7144   lt_cdecl_hook=
   7145   lt_c_name_hook=
   7146   lt_c_name_lib_hook=
   7147 fi
   7148 
   7149 # Transform an extracted symbol line into a proper C declaration.
   7150 # Some systems (esp. on ia64) link data and code symbols differently,
   7151 # so use this general approach.
   7152 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7153 $lt_cdecl_hook\
   7154 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7155 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7156 
   7157 # Transform an extracted symbol line into symbol name and symbol address
   7158 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7159 $lt_c_name_hook\
   7160 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7161 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7162 
   7163 # Transform an extracted symbol line into symbol name with lib prefix and
   7164 # symbol address.
   7165 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7166 $lt_c_name_lib_hook\
   7167 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7168 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7169 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7170 
   7171 # Handle CRLF in mingw tool chain
   7172 opt_cr=
   7173 case $build_os in
   7174 mingw* | windows*)
   7175   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7176   ;;
   7177 esac
   7178 
   7179 # Try without a prefix underscore, then with it.
   7180 for ac_symprfx in "" "_"; do
   7181 
   7182   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7183   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7184 
   7185   # Write the raw and C identifiers.
   7186   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7187     # Fake it for dumpbin and say T for any non-static function,
   7188     # D for any global variable and I for any imported variable.
   7189     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7190     # which start with @ or ?.
   7191     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7192 "     {last_section=section; section=\$ 3};"\
   7193 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7194 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7195 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7196 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7197 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7198 "     \$ 0!~/External *\|/{next};"\
   7199 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7200 "     {if(hide[section]) next};"\
   7201 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7202 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7203 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7204 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7205 "     ' prfx=^$ac_symprfx"
   7206   else
   7207     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7208   fi
   7209   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7210 
   7211   # Check to see that the pipe works correctly.
   7212   pipe_works=no
   7213 
   7214   rm -f conftest*
   7215   cat > conftest.$ac_ext <<_LT_EOF
   7216 #ifdef __cplusplus
   7217 extern "C" {
   7218 #endif
   7219 char nm_test_var;
   7220 void nm_test_func(void);
   7221 void nm_test_func(void){}
   7222 #ifdef __cplusplus
   7223 }
   7224 #endif
   7225 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7226 _LT_EOF
   7227 
   7228   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7229   (eval $ac_compile) 2>&5
   7230   ac_status=$?
   7231   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7232   test $ac_status = 0; }; then
   7233     # Now try to grab the symbols.
   7234     nlist=conftest.nm
   7235     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7236     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7237       # Try sorting and uniquifying the output.
   7238       if sort "$nlist" | uniq > "$nlist"T; then
   7239 	mv -f "$nlist"T "$nlist"
   7240       else
   7241 	rm -f "$nlist"T
   7242       fi
   7243 
   7244       # Make sure that we snagged all the symbols we need.
   7245       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7246 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7247 	  cat <<_LT_EOF > conftest.$ac_ext
   7248 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7249 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7250 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7251    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7252 # define LT_DLSYM_CONST
   7253 #elif defined __osf__
   7254 /* This system does not cope well with relocations in const data.  */
   7255 # define LT_DLSYM_CONST
   7256 #else
   7257 # define LT_DLSYM_CONST const
   7258 #endif
   7259 
   7260 #ifdef __cplusplus
   7261 extern "C" {
   7262 #endif
   7263 
   7264 _LT_EOF
   7265 	  # Now generate the symbol file.
   7266 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7267 
   7268 	  cat <<_LT_EOF >> conftest.$ac_ext
   7269 
   7270 /* The mapping between symbol names and symbols.  */
   7271 LT_DLSYM_CONST struct {
   7272   const char *name;
   7273   void       *address;
   7274 }
   7275 lt__PROGRAM__LTX_preloaded_symbols[] =
   7276 {
   7277   { "@PROGRAM@", (void *) 0 },
   7278 _LT_EOF
   7279 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7280 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7281   {0, (void *) 0}
   7282 };
   7283 
   7284 /* This works around a problem in FreeBSD linker */
   7285 #ifdef FREEBSD_WORKAROUND
   7286 static const void *lt_preloaded_setup() {
   7287   return lt__PROGRAM__LTX_preloaded_symbols;
   7288 }
   7289 #endif
   7290 
   7291 #ifdef __cplusplus
   7292 }
   7293 #endif
   7294 _LT_EOF
   7295 	  # Now try linking the two files.
   7296 	  mv conftest.$ac_objext conftstm.$ac_objext
   7297 	  lt_globsym_save_LIBS=$LIBS
   7298 	  lt_globsym_save_CFLAGS=$CFLAGS
   7299 	  LIBS=conftstm.$ac_objext
   7300 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7301 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7302   (eval $ac_link) 2>&5
   7303   ac_status=$?
   7304   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7305   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7306 	    pipe_works=yes
   7307 	  fi
   7308 	  LIBS=$lt_globsym_save_LIBS
   7309 	  CFLAGS=$lt_globsym_save_CFLAGS
   7310 	else
   7311 	  echo "cannot find nm_test_func in $nlist" >&5
   7312 	fi
   7313       else
   7314 	echo "cannot find nm_test_var in $nlist" >&5
   7315       fi
   7316     else
   7317       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7318     fi
   7319   else
   7320     echo "$progname: failed program was:" >&5
   7321     cat conftest.$ac_ext >&5
   7322   fi
   7323   rm -rf conftest* conftst*
   7324 
   7325   # Do not use the global_symbol_pipe unless it works.
   7326   if test yes = "$pipe_works"; then
   7327     break
   7328   else
   7329     lt_cv_sys_global_symbol_pipe=
   7330   fi
   7331 done
   7332  ;;
   7333 esac
   7334 fi
   7335 
   7336 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7337   lt_cv_sys_global_symbol_to_cdecl=
   7338 fi
   7339 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7341 printf "%s\n" "failed" >&6; }
   7342 else
   7343   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7344 printf "%s\n" "ok" >&6; }
   7345 fi
   7346 
   7347 # Response file support.
   7348 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7349   nm_file_list_spec='@'
   7350 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7351   nm_file_list_spec='@'
   7352 fi
   7353 
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 
   7362 
   7363 
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7391 printf %s "checking for sysroot... " >&6; }
   7392 
   7393 # Check whether --with-sysroot was given.
   7394 if test ${with_sysroot+y}
   7395 then :
   7396   withval=$with_sysroot;
   7397 else case e in #(
   7398   e) with_sysroot=no ;;
   7399 esac
   7400 fi
   7401 
   7402 
   7403 lt_sysroot=
   7404 case $with_sysroot in #(
   7405  yes)
   7406    if test yes = "$GCC"; then
   7407      # Trim trailing / since we'll always append absolute paths and we want
   7408      # to avoid //, if only for less confusing output for the user.
   7409      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7410    fi
   7411    ;; #(
   7412  /*)
   7413    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7414    ;; #(
   7415  no|'')
   7416    ;; #(
   7417  *)
   7418    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7419 printf "%s\n" "$with_sysroot" >&6; }
   7420    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7421    ;;
   7422 esac
   7423 
   7424  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7425 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7432 printf %s "checking for a working dd... " >&6; }
   7433 if test ${ac_cv_path_lt_DD+y}
   7434 then :
   7435   printf %s "(cached) " >&6
   7436 else case e in #(
   7437   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7438 cat conftest.i conftest.i >conftest2.i
   7439 : ${lt_DD:=$DD}
   7440 if test -z "$lt_DD"; then
   7441   ac_path_lt_DD_found=false
   7442   # Loop through the user's path and test for each of PROGNAME-LIST
   7443   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7444 for as_dir in $PATH
   7445 do
   7446   IFS=$as_save_IFS
   7447   case $as_dir in #(((
   7448     '') as_dir=./ ;;
   7449     */) ;;
   7450     *) as_dir=$as_dir/ ;;
   7451   esac
   7452     for ac_prog in dd
   7453    do
   7454     for ac_exec_ext in '' $ac_executable_extensions; do
   7455       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7456       as_fn_executable_p "$ac_path_lt_DD" || continue
   7457 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7458   cmp -s conftest.i conftest.out \
   7459   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7460 fi
   7461       $ac_path_lt_DD_found && break 3
   7462     done
   7463   done
   7464   done
   7465 IFS=$as_save_IFS
   7466   if test -z "$ac_cv_path_lt_DD"; then
   7467     :
   7468   fi
   7469 else
   7470   ac_cv_path_lt_DD=$lt_DD
   7471 fi
   7472 
   7473 rm -f conftest.i conftest2.i conftest.out ;;
   7474 esac
   7475 fi
   7476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7477 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7478 
   7479 
   7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7481 printf %s "checking how to truncate binary pipes... " >&6; }
   7482 if test ${lt_cv_truncate_bin+y}
   7483 then :
   7484   printf %s "(cached) " >&6
   7485 else case e in #(
   7486   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7487 cat conftest.i conftest.i >conftest2.i
   7488 lt_cv_truncate_bin=
   7489 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7490   cmp -s conftest.i conftest.out \
   7491   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7492 fi
   7493 rm -f conftest.i conftest2.i conftest.out
   7494 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7495 esac
   7496 fi
   7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7498 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7507 func_cc_basename ()
   7508 {
   7509     for cc_temp in $*""; do
   7510       case $cc_temp in
   7511         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7512         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7513         \-*) ;;
   7514         *) break;;
   7515       esac
   7516     done
   7517     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7518 }
   7519 
   7520 # Check whether --enable-libtool-lock was given.
   7521 if test ${enable_libtool_lock+y}
   7522 then :
   7523   enableval=$enable_libtool_lock;
   7524 fi
   7525 
   7526 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7527 
   7528 # Some flags need to be propagated to the compiler or linker for good
   7529 # libtool support.
   7530 case $host in
   7531 ia64-*-hpux*)
   7532   # Find out what ABI is being produced by ac_compile, and set mode
   7533   # options accordingly.
   7534   echo 'int i;' > conftest.$ac_ext
   7535   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7536   (eval $ac_compile) 2>&5
   7537   ac_status=$?
   7538   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7539   test $ac_status = 0; }; then
   7540     case `$FILECMD conftest.$ac_objext` in
   7541       *ELF-32*)
   7542 	HPUX_IA64_MODE=32
   7543 	;;
   7544       *ELF-64*)
   7545 	HPUX_IA64_MODE=64
   7546 	;;
   7547     esac
   7548   fi
   7549   rm -rf conftest*
   7550   ;;
   7551 *-*-irix6*)
   7552   # Find out what ABI is being produced by ac_compile, and set linker
   7553   # options accordingly.
   7554   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7555   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7556   (eval $ac_compile) 2>&5
   7557   ac_status=$?
   7558   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7559   test $ac_status = 0; }; then
   7560     if test yes = "$lt_cv_prog_gnu_ld"; then
   7561       case `$FILECMD conftest.$ac_objext` in
   7562 	*32-bit*)
   7563 	  LD="${LD-ld} -melf32bsmip"
   7564 	  ;;
   7565 	*N32*)
   7566 	  LD="${LD-ld} -melf32bmipn32"
   7567 	  ;;
   7568 	*64-bit*)
   7569 	  LD="${LD-ld} -melf64bmip"
   7570 	;;
   7571       esac
   7572     else
   7573       case `$FILECMD conftest.$ac_objext` in
   7574 	*32-bit*)
   7575 	  LD="${LD-ld} -32"
   7576 	  ;;
   7577 	*N32*)
   7578 	  LD="${LD-ld} -n32"
   7579 	  ;;
   7580 	*64-bit*)
   7581 	  LD="${LD-ld} -64"
   7582 	  ;;
   7583       esac
   7584     fi
   7585   fi
   7586   rm -rf conftest*
   7587   ;;
   7588 
   7589 mips64*-*linux*)
   7590   # Find out what ABI is being produced by ac_compile, and set linker
   7591   # options accordingly.
   7592   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7593   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7594   (eval $ac_compile) 2>&5
   7595   ac_status=$?
   7596   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7597   test $ac_status = 0; }; then
   7598     emul=elf
   7599     case `$FILECMD conftest.$ac_objext` in
   7600       *32-bit*)
   7601 	emul="${emul}32"
   7602 	;;
   7603       *64-bit*)
   7604 	emul="${emul}64"
   7605 	;;
   7606     esac
   7607     case `$FILECMD conftest.$ac_objext` in
   7608       *MSB*)
   7609 	emul="${emul}btsmip"
   7610 	;;
   7611       *LSB*)
   7612 	emul="${emul}ltsmip"
   7613 	;;
   7614     esac
   7615     case `$FILECMD conftest.$ac_objext` in
   7616       *N32*)
   7617 	emul="${emul}n32"
   7618 	;;
   7619     esac
   7620     LD="${LD-ld} -m $emul"
   7621   fi
   7622   rm -rf conftest*
   7623   ;;
   7624 
   7625 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7626 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   7627   # Find out what ABI is being produced by ac_compile, and set linker
   7628   # options accordingly.  Note that the listed cases only cover the
   7629   # situations where additional linker options are needed (such as when
   7630   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7631   # vice versa); the common cases where no linker options are needed do
   7632   # not appear in the list.
   7633   echo 'int i;' > conftest.$ac_ext
   7634   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7635   (eval $ac_compile) 2>&5
   7636   ac_status=$?
   7637   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7638   test $ac_status = 0; }; then
   7639     case `$FILECMD conftest.o` in
   7640       *32-bit*)
   7641 	case $host in
   7642 	  x86_64-*kfreebsd*-gnu)
   7643 	    LD="${LD-ld} -m elf_i386_fbsd"
   7644 	    ;;
   7645 	  x86_64-*linux*|x86_64-gnu*)
   7646 	    case `$FILECMD conftest.o` in
   7647 	      *x86-64*)
   7648 		LD="${LD-ld} -m elf32_x86_64"
   7649 		;;
   7650 	      *)
   7651 		LD="${LD-ld} -m elf_i386"
   7652 		;;
   7653 	    esac
   7654 	    ;;
   7655 	  powerpc64le-*linux*)
   7656 	    LD="${LD-ld} -m elf32lppclinux"
   7657 	    ;;
   7658 	  powerpc64-*linux*)
   7659 	    LD="${LD-ld} -m elf32ppclinux"
   7660 	    ;;
   7661 	  s390x-*linux*)
   7662 	    LD="${LD-ld} -m elf_s390"
   7663 	    ;;
   7664 	  sparc64-*linux*)
   7665 	    LD="${LD-ld} -m elf32_sparc"
   7666 	    ;;
   7667 	esac
   7668 	;;
   7669       *64-bit*)
   7670 	case $host in
   7671 	  x86_64-*kfreebsd*-gnu)
   7672 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7673 	    ;;
   7674 	  x86_64-*linux*|x86_64-gnu*)
   7675 	    LD="${LD-ld} -m elf_x86_64"
   7676 	    ;;
   7677 	  powerpcle-*linux*)
   7678 	    LD="${LD-ld} -m elf64lppc"
   7679 	    ;;
   7680 	  powerpc-*linux*)
   7681 	    LD="${LD-ld} -m elf64ppc"
   7682 	    ;;
   7683 	  s390*-*linux*|s390*-*tpf*)
   7684 	    LD="${LD-ld} -m elf64_s390"
   7685 	    ;;
   7686 	  sparc*-*linux*)
   7687 	    LD="${LD-ld} -m elf64_sparc"
   7688 	    ;;
   7689 	esac
   7690 	;;
   7691     esac
   7692   fi
   7693   rm -rf conftest*
   7694   ;;
   7695 
   7696 *-*-sco3.2v5*)
   7697   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7698   SAVE_CFLAGS=$CFLAGS
   7699   CFLAGS="$CFLAGS -belf"
   7700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7701 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7702 if test ${lt_cv_cc_needs_belf+y}
   7703 then :
   7704   printf %s "(cached) " >&6
   7705 else case e in #(
   7706   e) ac_ext=c
   7707 ac_cpp='$CPP $CPPFLAGS'
   7708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7711 
   7712      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7713 /* end confdefs.h.  */
   7714 
   7715 int
   7716 main (void)
   7717 {
   7718 
   7719   ;
   7720   return 0;
   7721 }
   7722 _ACEOF
   7723 if ac_fn_c_try_link "$LINENO"
   7724 then :
   7725   lt_cv_cc_needs_belf=yes
   7726 else case e in #(
   7727   e) lt_cv_cc_needs_belf=no ;;
   7728 esac
   7729 fi
   7730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7731     conftest$ac_exeext conftest.$ac_ext
   7732      ac_ext=c
   7733 ac_cpp='$CPP $CPPFLAGS'
   7734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7737  ;;
   7738 esac
   7739 fi
   7740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7741 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7742   if test yes != "$lt_cv_cc_needs_belf"; then
   7743     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7744     CFLAGS=$SAVE_CFLAGS
   7745   fi
   7746   ;;
   7747 *-*solaris*)
   7748   # Find out what ABI is being produced by ac_compile, and set linker
   7749   # options accordingly.
   7750   echo 'int i;' > conftest.$ac_ext
   7751   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7752   (eval $ac_compile) 2>&5
   7753   ac_status=$?
   7754   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7755   test $ac_status = 0; }; then
   7756     case `$FILECMD conftest.o` in
   7757     *64-bit*)
   7758       case $lt_cv_prog_gnu_ld in
   7759       yes*)
   7760         case $host in
   7761         i?86-*-solaris*|x86_64-*-solaris*)
   7762           LD="${LD-ld} -m elf_x86_64"
   7763           ;;
   7764         sparc*-*-solaris*)
   7765           LD="${LD-ld} -m elf64_sparc"
   7766           ;;
   7767         esac
   7768         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7769         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7770           LD=${LD-ld}_sol2
   7771         fi
   7772         ;;
   7773       *)
   7774 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7775 	  LD="${LD-ld} -64"
   7776 	fi
   7777 	;;
   7778       esac
   7779       ;;
   7780     esac
   7781   fi
   7782   rm -rf conftest*
   7783   ;;
   7784 esac
   7785 
   7786 need_locks=$enable_libtool_lock
   7787 
   7788 if test -n "$ac_tool_prefix"; then
   7789   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7790 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7792 printf %s "checking for $ac_word... " >&6; }
   7793 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7794 then :
   7795   printf %s "(cached) " >&6
   7796 else case e in #(
   7797   e) if test -n "$MANIFEST_TOOL"; then
   7798   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7799 else
   7800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7801 for as_dir in $PATH
   7802 do
   7803   IFS=$as_save_IFS
   7804   case $as_dir in #(((
   7805     '') as_dir=./ ;;
   7806     */) ;;
   7807     *) as_dir=$as_dir/ ;;
   7808   esac
   7809     for ac_exec_ext in '' $ac_executable_extensions; do
   7810   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7811     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7812     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7813     break 2
   7814   fi
   7815 done
   7816   done
   7817 IFS=$as_save_IFS
   7818 
   7819 fi ;;
   7820 esac
   7821 fi
   7822 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7823 if test -n "$MANIFEST_TOOL"; then
   7824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7825 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7826 else
   7827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7828 printf "%s\n" "no" >&6; }
   7829 fi
   7830 
   7831 
   7832 fi
   7833 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7834   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7835   # Extract the first word of "mt", so it can be a program name with args.
   7836 set dummy mt; ac_word=$2
   7837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7838 printf %s "checking for $ac_word... " >&6; }
   7839 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7840 then :
   7841   printf %s "(cached) " >&6
   7842 else case e in #(
   7843   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   7844   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7845 else
   7846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7847 for as_dir in $PATH
   7848 do
   7849   IFS=$as_save_IFS
   7850   case $as_dir in #(((
   7851     '') as_dir=./ ;;
   7852     */) ;;
   7853     *) as_dir=$as_dir/ ;;
   7854   esac
   7855     for ac_exec_ext in '' $ac_executable_extensions; do
   7856   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7857     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7858     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7859     break 2
   7860   fi
   7861 done
   7862   done
   7863 IFS=$as_save_IFS
   7864 
   7865 fi ;;
   7866 esac
   7867 fi
   7868 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7869 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7871 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7872 else
   7873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7874 printf "%s\n" "no" >&6; }
   7875 fi
   7876 
   7877   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7878     MANIFEST_TOOL=":"
   7879   else
   7880     case $cross_compiling:$ac_tool_warned in
   7881 yes:)
   7882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7883 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7884 ac_tool_warned=yes ;;
   7885 esac
   7886     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7887   fi
   7888 else
   7889   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7890 fi
   7891 
   7892 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7894 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7895 if test ${lt_cv_path_manifest_tool+y}
   7896 then :
   7897   printf %s "(cached) " >&6
   7898 else case e in #(
   7899   e) lt_cv_path_manifest_tool=no
   7900   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7901   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7902   cat conftest.err >&5
   7903   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7904     lt_cv_path_manifest_tool=yes
   7905   fi
   7906   rm -f conftest* ;;
   7907 esac
   7908 fi
   7909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   7910 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   7911 if test yes != "$lt_cv_path_manifest_tool"; then
   7912   MANIFEST_TOOL=:
   7913 fi
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920   case $host_os in
   7921     rhapsody* | darwin*)
   7922     if test -n "$ac_tool_prefix"; then
   7923   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7924 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7926 printf %s "checking for $ac_word... " >&6; }
   7927 if test ${ac_cv_prog_DSYMUTIL+y}
   7928 then :
   7929   printf %s "(cached) " >&6
   7930 else case e in #(
   7931   e) if test -n "$DSYMUTIL"; then
   7932   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7933 else
   7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7935 for as_dir in $PATH
   7936 do
   7937   IFS=$as_save_IFS
   7938   case $as_dir in #(((
   7939     '') as_dir=./ ;;
   7940     */) ;;
   7941     *) as_dir=$as_dir/ ;;
   7942   esac
   7943     for ac_exec_ext in '' $ac_executable_extensions; do
   7944   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7945     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7946     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7947     break 2
   7948   fi
   7949 done
   7950   done
   7951 IFS=$as_save_IFS
   7952 
   7953 fi ;;
   7954 esac
   7955 fi
   7956 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7957 if test -n "$DSYMUTIL"; then
   7958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7959 printf "%s\n" "$DSYMUTIL" >&6; }
   7960 else
   7961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7962 printf "%s\n" "no" >&6; }
   7963 fi
   7964 
   7965 
   7966 fi
   7967 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7968   ac_ct_DSYMUTIL=$DSYMUTIL
   7969   # Extract the first word of "dsymutil", so it can be a program name with args.
   7970 set dummy dsymutil; ac_word=$2
   7971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7972 printf %s "checking for $ac_word... " >&6; }
   7973 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7974 then :
   7975   printf %s "(cached) " >&6
   7976 else case e in #(
   7977   e) if test -n "$ac_ct_DSYMUTIL"; then
   7978   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7979 else
   7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7981 for as_dir in $PATH
   7982 do
   7983   IFS=$as_save_IFS
   7984   case $as_dir in #(((
   7985     '') as_dir=./ ;;
   7986     */) ;;
   7987     *) as_dir=$as_dir/ ;;
   7988   esac
   7989     for ac_exec_ext in '' $ac_executable_extensions; do
   7990   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7991     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7992     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7993     break 2
   7994   fi
   7995 done
   7996   done
   7997 IFS=$as_save_IFS
   7998 
   7999 fi ;;
   8000 esac
   8001 fi
   8002 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8003 if test -n "$ac_ct_DSYMUTIL"; then
   8004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8005 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8006 else
   8007   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8008 printf "%s\n" "no" >&6; }
   8009 fi
   8010 
   8011   if test "x$ac_ct_DSYMUTIL" = x; then
   8012     DSYMUTIL=":"
   8013   else
   8014     case $cross_compiling:$ac_tool_warned in
   8015 yes:)
   8016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8017 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8018 ac_tool_warned=yes ;;
   8019 esac
   8020     DSYMUTIL=$ac_ct_DSYMUTIL
   8021   fi
   8022 else
   8023   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8024 fi
   8025 
   8026     if test -n "$ac_tool_prefix"; then
   8027   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8028 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8030 printf %s "checking for $ac_word... " >&6; }
   8031 if test ${ac_cv_prog_NMEDIT+y}
   8032 then :
   8033   printf %s "(cached) " >&6
   8034 else case e in #(
   8035   e) if test -n "$NMEDIT"; then
   8036   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8037 else
   8038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8039 for as_dir in $PATH
   8040 do
   8041   IFS=$as_save_IFS
   8042   case $as_dir in #(((
   8043     '') as_dir=./ ;;
   8044     */) ;;
   8045     *) as_dir=$as_dir/ ;;
   8046   esac
   8047     for ac_exec_ext in '' $ac_executable_extensions; do
   8048   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8049     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8050     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8051     break 2
   8052   fi
   8053 done
   8054   done
   8055 IFS=$as_save_IFS
   8056 
   8057 fi ;;
   8058 esac
   8059 fi
   8060 NMEDIT=$ac_cv_prog_NMEDIT
   8061 if test -n "$NMEDIT"; then
   8062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8063 printf "%s\n" "$NMEDIT" >&6; }
   8064 else
   8065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8066 printf "%s\n" "no" >&6; }
   8067 fi
   8068 
   8069 
   8070 fi
   8071 if test -z "$ac_cv_prog_NMEDIT"; then
   8072   ac_ct_NMEDIT=$NMEDIT
   8073   # Extract the first word of "nmedit", so it can be a program name with args.
   8074 set dummy nmedit; ac_word=$2
   8075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8076 printf %s "checking for $ac_word... " >&6; }
   8077 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8078 then :
   8079   printf %s "(cached) " >&6
   8080 else case e in #(
   8081   e) if test -n "$ac_ct_NMEDIT"; then
   8082   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8083 else
   8084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8085 for as_dir in $PATH
   8086 do
   8087   IFS=$as_save_IFS
   8088   case $as_dir in #(((
   8089     '') as_dir=./ ;;
   8090     */) ;;
   8091     *) as_dir=$as_dir/ ;;
   8092   esac
   8093     for ac_exec_ext in '' $ac_executable_extensions; do
   8094   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8095     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8096     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8097     break 2
   8098   fi
   8099 done
   8100   done
   8101 IFS=$as_save_IFS
   8102 
   8103 fi ;;
   8104 esac
   8105 fi
   8106 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8107 if test -n "$ac_ct_NMEDIT"; then
   8108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8109 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8110 else
   8111   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8112 printf "%s\n" "no" >&6; }
   8113 fi
   8114 
   8115   if test "x$ac_ct_NMEDIT" = x; then
   8116     NMEDIT=":"
   8117   else
   8118     case $cross_compiling:$ac_tool_warned in
   8119 yes:)
   8120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8121 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8122 ac_tool_warned=yes ;;
   8123 esac
   8124     NMEDIT=$ac_ct_NMEDIT
   8125   fi
   8126 else
   8127   NMEDIT="$ac_cv_prog_NMEDIT"
   8128 fi
   8129 
   8130     if test -n "$ac_tool_prefix"; then
   8131   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8132 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8134 printf %s "checking for $ac_word... " >&6; }
   8135 if test ${ac_cv_prog_LIPO+y}
   8136 then :
   8137   printf %s "(cached) " >&6
   8138 else case e in #(
   8139   e) if test -n "$LIPO"; then
   8140   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8141 else
   8142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8143 for as_dir in $PATH
   8144 do
   8145   IFS=$as_save_IFS
   8146   case $as_dir in #(((
   8147     '') as_dir=./ ;;
   8148     */) ;;
   8149     *) as_dir=$as_dir/ ;;
   8150   esac
   8151     for ac_exec_ext in '' $ac_executable_extensions; do
   8152   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8153     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8154     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8155     break 2
   8156   fi
   8157 done
   8158   done
   8159 IFS=$as_save_IFS
   8160 
   8161 fi ;;
   8162 esac
   8163 fi
   8164 LIPO=$ac_cv_prog_LIPO
   8165 if test -n "$LIPO"; then
   8166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8167 printf "%s\n" "$LIPO" >&6; }
   8168 else
   8169   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8170 printf "%s\n" "no" >&6; }
   8171 fi
   8172 
   8173 
   8174 fi
   8175 if test -z "$ac_cv_prog_LIPO"; then
   8176   ac_ct_LIPO=$LIPO
   8177   # Extract the first word of "lipo", so it can be a program name with args.
   8178 set dummy lipo; ac_word=$2
   8179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8180 printf %s "checking for $ac_word... " >&6; }
   8181 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8182 then :
   8183   printf %s "(cached) " >&6
   8184 else case e in #(
   8185   e) if test -n "$ac_ct_LIPO"; then
   8186   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8187 else
   8188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8189 for as_dir in $PATH
   8190 do
   8191   IFS=$as_save_IFS
   8192   case $as_dir in #(((
   8193     '') as_dir=./ ;;
   8194     */) ;;
   8195     *) as_dir=$as_dir/ ;;
   8196   esac
   8197     for ac_exec_ext in '' $ac_executable_extensions; do
   8198   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8199     ac_cv_prog_ac_ct_LIPO="lipo"
   8200     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8201     break 2
   8202   fi
   8203 done
   8204   done
   8205 IFS=$as_save_IFS
   8206 
   8207 fi ;;
   8208 esac
   8209 fi
   8210 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8211 if test -n "$ac_ct_LIPO"; then
   8212   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8213 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8214 else
   8215   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8216 printf "%s\n" "no" >&6; }
   8217 fi
   8218 
   8219   if test "x$ac_ct_LIPO" = x; then
   8220     LIPO=":"
   8221   else
   8222     case $cross_compiling:$ac_tool_warned in
   8223 yes:)
   8224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8225 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8226 ac_tool_warned=yes ;;
   8227 esac
   8228     LIPO=$ac_ct_LIPO
   8229   fi
   8230 else
   8231   LIPO="$ac_cv_prog_LIPO"
   8232 fi
   8233 
   8234     if test -n "$ac_tool_prefix"; then
   8235   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8236 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8238 printf %s "checking for $ac_word... " >&6; }
   8239 if test ${ac_cv_prog_OTOOL+y}
   8240 then :
   8241   printf %s "(cached) " >&6
   8242 else case e in #(
   8243   e) if test -n "$OTOOL"; then
   8244   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8245 else
   8246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8247 for as_dir in $PATH
   8248 do
   8249   IFS=$as_save_IFS
   8250   case $as_dir in #(((
   8251     '') as_dir=./ ;;
   8252     */) ;;
   8253     *) as_dir=$as_dir/ ;;
   8254   esac
   8255     for ac_exec_ext in '' $ac_executable_extensions; do
   8256   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8257     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8258     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8259     break 2
   8260   fi
   8261 done
   8262   done
   8263 IFS=$as_save_IFS
   8264 
   8265 fi ;;
   8266 esac
   8267 fi
   8268 OTOOL=$ac_cv_prog_OTOOL
   8269 if test -n "$OTOOL"; then
   8270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8271 printf "%s\n" "$OTOOL" >&6; }
   8272 else
   8273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8274 printf "%s\n" "no" >&6; }
   8275 fi
   8276 
   8277 
   8278 fi
   8279 if test -z "$ac_cv_prog_OTOOL"; then
   8280   ac_ct_OTOOL=$OTOOL
   8281   # Extract the first word of "otool", so it can be a program name with args.
   8282 set dummy otool; ac_word=$2
   8283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8284 printf %s "checking for $ac_word... " >&6; }
   8285 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8286 then :
   8287   printf %s "(cached) " >&6
   8288 else case e in #(
   8289   e) if test -n "$ac_ct_OTOOL"; then
   8290   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8291 else
   8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8293 for as_dir in $PATH
   8294 do
   8295   IFS=$as_save_IFS
   8296   case $as_dir in #(((
   8297     '') as_dir=./ ;;
   8298     */) ;;
   8299     *) as_dir=$as_dir/ ;;
   8300   esac
   8301     for ac_exec_ext in '' $ac_executable_extensions; do
   8302   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8303     ac_cv_prog_ac_ct_OTOOL="otool"
   8304     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8305     break 2
   8306   fi
   8307 done
   8308   done
   8309 IFS=$as_save_IFS
   8310 
   8311 fi ;;
   8312 esac
   8313 fi
   8314 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8315 if test -n "$ac_ct_OTOOL"; then
   8316   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8317 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8318 else
   8319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8320 printf "%s\n" "no" >&6; }
   8321 fi
   8322 
   8323   if test "x$ac_ct_OTOOL" = x; then
   8324     OTOOL=":"
   8325   else
   8326     case $cross_compiling:$ac_tool_warned in
   8327 yes:)
   8328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8329 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8330 ac_tool_warned=yes ;;
   8331 esac
   8332     OTOOL=$ac_ct_OTOOL
   8333   fi
   8334 else
   8335   OTOOL="$ac_cv_prog_OTOOL"
   8336 fi
   8337 
   8338     if test -n "$ac_tool_prefix"; then
   8339   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8340 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8342 printf %s "checking for $ac_word... " >&6; }
   8343 if test ${ac_cv_prog_OTOOL64+y}
   8344 then :
   8345   printf %s "(cached) " >&6
   8346 else case e in #(
   8347   e) if test -n "$OTOOL64"; then
   8348   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8349 else
   8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8351 for as_dir in $PATH
   8352 do
   8353   IFS=$as_save_IFS
   8354   case $as_dir in #(((
   8355     '') as_dir=./ ;;
   8356     */) ;;
   8357     *) as_dir=$as_dir/ ;;
   8358   esac
   8359     for ac_exec_ext in '' $ac_executable_extensions; do
   8360   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8361     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8362     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8363     break 2
   8364   fi
   8365 done
   8366   done
   8367 IFS=$as_save_IFS
   8368 
   8369 fi ;;
   8370 esac
   8371 fi
   8372 OTOOL64=$ac_cv_prog_OTOOL64
   8373 if test -n "$OTOOL64"; then
   8374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8375 printf "%s\n" "$OTOOL64" >&6; }
   8376 else
   8377   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8378 printf "%s\n" "no" >&6; }
   8379 fi
   8380 
   8381 
   8382 fi
   8383 if test -z "$ac_cv_prog_OTOOL64"; then
   8384   ac_ct_OTOOL64=$OTOOL64
   8385   # Extract the first word of "otool64", so it can be a program name with args.
   8386 set dummy otool64; ac_word=$2
   8387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8388 printf %s "checking for $ac_word... " >&6; }
   8389 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8390 then :
   8391   printf %s "(cached) " >&6
   8392 else case e in #(
   8393   e) if test -n "$ac_ct_OTOOL64"; then
   8394   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8395 else
   8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8397 for as_dir in $PATH
   8398 do
   8399   IFS=$as_save_IFS
   8400   case $as_dir in #(((
   8401     '') as_dir=./ ;;
   8402     */) ;;
   8403     *) as_dir=$as_dir/ ;;
   8404   esac
   8405     for ac_exec_ext in '' $ac_executable_extensions; do
   8406   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8407     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8408     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8409     break 2
   8410   fi
   8411 done
   8412   done
   8413 IFS=$as_save_IFS
   8414 
   8415 fi ;;
   8416 esac
   8417 fi
   8418 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8419 if test -n "$ac_ct_OTOOL64"; then
   8420   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8421 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8422 else
   8423   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8424 printf "%s\n" "no" >&6; }
   8425 fi
   8426 
   8427   if test "x$ac_ct_OTOOL64" = x; then
   8428     OTOOL64=":"
   8429   else
   8430     case $cross_compiling:$ac_tool_warned in
   8431 yes:)
   8432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8433 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8434 ac_tool_warned=yes ;;
   8435 esac
   8436     OTOOL64=$ac_ct_OTOOL64
   8437   fi
   8438 else
   8439   OTOOL64="$ac_cv_prog_OTOOL64"
   8440 fi
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8469 printf %s "checking for -single_module linker flag... " >&6; }
   8470 if test ${lt_cv_apple_cc_single_mod+y}
   8471 then :
   8472   printf %s "(cached) " >&6
   8473 else case e in #(
   8474   e) lt_cv_apple_cc_single_mod=no
   8475       if test -z "$LT_MULTI_MODULE"; then
   8476 	# By default we will add the -single_module flag. You can override
   8477 	# by either setting the environment variable LT_MULTI_MODULE
   8478 	# non-empty at configure time, or by adding -multi_module to the
   8479 	# link flags.
   8480 	rm -rf libconftest.dylib*
   8481 	echo "int foo(void){return 1;}" > conftest.c
   8482 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8483 -dynamiclib -Wl,-single_module conftest.c" >&5
   8484 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8485 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8486         _lt_result=$?
   8487 	# If there is a non-empty error log, and "single_module"
   8488 	# appears in it, assume the flag caused a linker warning
   8489         if test -s conftest.err && $GREP single_module conftest.err; then
   8490 	  cat conftest.err >&5
   8491 	# Otherwise, if the output was created with a 0 exit code from
   8492 	# the compiler, it worked.
   8493 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8494 	  lt_cv_apple_cc_single_mod=yes
   8495 	else
   8496 	  cat conftest.err >&5
   8497 	fi
   8498 	rm -rf libconftest.dylib*
   8499 	rm -f conftest.*
   8500       fi ;;
   8501 esac
   8502 fi
   8503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8504 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8505 
   8506     # Feature test to disable chained fixups since it is not
   8507     # compatible with '-undefined dynamic_lookup'
   8508     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8509 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8510 if test ${lt_cv_support_no_fixup_chains+y}
   8511 then :
   8512   printf %s "(cached) " >&6
   8513 else case e in #(
   8514   e)  save_LDFLAGS=$LDFLAGS
   8515         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8516         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8517 /* end confdefs.h.  */
   8518 
   8519 int
   8520 main (void)
   8521 {
   8522 
   8523   ;
   8524   return 0;
   8525 }
   8526 _ACEOF
   8527 if ac_fn_c_try_link "$LINENO"
   8528 then :
   8529   lt_cv_support_no_fixup_chains=yes
   8530 else case e in #(
   8531   e) lt_cv_support_no_fixup_chains=no
   8532          ;;
   8533 esac
   8534 fi
   8535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8536     conftest$ac_exeext conftest.$ac_ext
   8537         LDFLAGS=$save_LDFLAGS
   8538 
   8539      ;;
   8540 esac
   8541 fi
   8542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8543 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   8544 
   8545     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8546 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8547 if test ${lt_cv_ld_exported_symbols_list+y}
   8548 then :
   8549   printf %s "(cached) " >&6
   8550 else case e in #(
   8551   e) lt_cv_ld_exported_symbols_list=no
   8552       save_LDFLAGS=$LDFLAGS
   8553       echo "_main" > conftest.sym
   8554       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8556 /* end confdefs.h.  */
   8557 
   8558 int
   8559 main (void)
   8560 {
   8561 
   8562   ;
   8563   return 0;
   8564 }
   8565 _ACEOF
   8566 if ac_fn_c_try_link "$LINENO"
   8567 then :
   8568   lt_cv_ld_exported_symbols_list=yes
   8569 else case e in #(
   8570   e) lt_cv_ld_exported_symbols_list=no ;;
   8571 esac
   8572 fi
   8573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8574     conftest$ac_exeext conftest.$ac_ext
   8575 	LDFLAGS=$save_LDFLAGS
   8576      ;;
   8577 esac
   8578 fi
   8579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8580 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8581 
   8582     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8583 printf %s "checking for -force_load linker flag... " >&6; }
   8584 if test ${lt_cv_ld_force_load+y}
   8585 then :
   8586   printf %s "(cached) " >&6
   8587 else case e in #(
   8588   e) lt_cv_ld_force_load=no
   8589       cat > conftest.c << _LT_EOF
   8590 int forced_loaded() { return 2;}
   8591 _LT_EOF
   8592       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8593       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8594       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8595       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8596       echo "$RANLIB libconftest.a" >&5
   8597       $RANLIB libconftest.a 2>&5
   8598       cat > conftest.c << _LT_EOF
   8599 int main(void) { return 0;}
   8600 _LT_EOF
   8601       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8602       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8603       _lt_result=$?
   8604       if test -s conftest.err && $GREP force_load conftest.err; then
   8605 	cat conftest.err >&5
   8606       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8607 	lt_cv_ld_force_load=yes
   8608       else
   8609 	cat conftest.err >&5
   8610       fi
   8611         rm -f conftest.err libconftest.a conftest conftest.c
   8612         rm -rf conftest.dSYM
   8613      ;;
   8614 esac
   8615 fi
   8616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8617 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8618     case $host_os in
   8619     rhapsody* | darwin1.[012])
   8620       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8621     darwin1.*)
   8622       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8623     darwin*)
   8624       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8625         10.[012],*|,*powerpc*-darwin[5-8]*)
   8626           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8627         *)
   8628           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   8629           if test yes = "$lt_cv_support_no_fixup_chains"; then
   8630             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   8631           fi
   8632         ;;
   8633       esac
   8634     ;;
   8635   esac
   8636     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8637       _lt_dar_single_mod='$single_module'
   8638     fi
   8639     _lt_dar_needs_single_mod=no
   8640     case $host_os in
   8641     rhapsody* | darwin1.*)
   8642       _lt_dar_needs_single_mod=yes ;;
   8643     darwin*)
   8644       # When targeting Mac OS X 10.4 (darwin 8) or later,
   8645       # -single_module is the default and -multi_module is unsupported.
   8646       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   8647       # target any OS version that needs -single_module.
   8648       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8649       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   8650         _lt_dar_needs_single_mod=yes ;;
   8651       esac
   8652     ;;
   8653     esac
   8654     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8655       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8656     else
   8657       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8658     fi
   8659     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8660       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8661     else
   8662       _lt_dsymutil=
   8663     fi
   8664     ;;
   8665   esac
   8666 
   8667 # func_munge_path_list VARIABLE PATH
   8668 # -----------------------------------
   8669 # VARIABLE is name of variable containing _space_ separated list of
   8670 # directories to be munged by the contents of PATH, which is string
   8671 # having a format:
   8672 # "DIR[:DIR]:"
   8673 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8674 # ":DIR[:DIR]"
   8675 #       string "DIR[ DIR]" will be appended to VARIABLE
   8676 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8677 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8678 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8679 # "DIR[:DIR]"
   8680 #       VARIABLE will be replaced by "DIR[ DIR]"
   8681 func_munge_path_list ()
   8682 {
   8683     case x$2 in
   8684     x)
   8685         ;;
   8686     *:)
   8687         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8688         ;;
   8689     x:*)
   8690         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8691         ;;
   8692     *::*)
   8693         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8694         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8695         ;;
   8696     *)
   8697         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8698         ;;
   8699     esac
   8700 }
   8701 
   8702 ac_header= ac_cache=
   8703 for ac_item in $ac_header_c_list
   8704 do
   8705   if test $ac_cache; then
   8706     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8707     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8708       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8709     fi
   8710     ac_header= ac_cache=
   8711   elif test $ac_header; then
   8712     ac_cache=$ac_item
   8713   else
   8714     ac_header=$ac_item
   8715   fi
   8716 done
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8726 then :
   8727 
   8728 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8729 
   8730 fi
   8731 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8732 "
   8733 if test "x$ac_cv_header_dlfcn_h" = xyes
   8734 then :
   8735   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8736 
   8737 fi
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 # Set options
   8744 
   8745 
   8746 
   8747         enable_dlopen=no
   8748 
   8749 
   8750   enable_win32_dll=no
   8751 
   8752 
   8753             # Check whether --enable-shared was given.
   8754 if test ${enable_shared+y}
   8755 then :
   8756   enableval=$enable_shared; p=${PACKAGE-default}
   8757     case $enableval in
   8758     yes) enable_shared=yes ;;
   8759     no) enable_shared=no ;;
   8760     *)
   8761       enable_shared=no
   8762       # Look at the argument we got.  We use all the common list separators.
   8763       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8764       for pkg in $enableval; do
   8765 	IFS=$lt_save_ifs
   8766 	if test "X$pkg" = "X$p"; then
   8767 	  enable_shared=yes
   8768 	fi
   8769       done
   8770       IFS=$lt_save_ifs
   8771       ;;
   8772     esac
   8773 else case e in #(
   8774   e) enable_shared=yes ;;
   8775 esac
   8776 fi
   8777 
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786   # Check whether --enable-static was given.
   8787 if test ${enable_static+y}
   8788 then :
   8789   enableval=$enable_static; p=${PACKAGE-default}
   8790     case $enableval in
   8791     yes) enable_static=yes ;;
   8792     no) enable_static=no ;;
   8793     *)
   8794      enable_static=no
   8795       # Look at the argument we got.  We use all the common list separators.
   8796       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8797       for pkg in $enableval; do
   8798 	IFS=$lt_save_ifs
   8799 	if test "X$pkg" = "X$p"; then
   8800 	  enable_static=yes
   8801 	fi
   8802       done
   8803       IFS=$lt_save_ifs
   8804       ;;
   8805     esac
   8806 else case e in #(
   8807   e) enable_static=yes ;;
   8808 esac
   8809 fi
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819   # Check whether --enable-pic was given.
   8820 if test ${enable_pic+y}
   8821 then :
   8822   enableval=$enable_pic; lt_p=${PACKAGE-default}
   8823      case $enableval in
   8824      yes|no) pic_mode=$enableval ;;
   8825      *)
   8826        pic_mode=default
   8827        # Look at the argument we got.  We use all the common list separators.
   8828        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8829        for lt_pkg in $enableval; do
   8830 	 IFS=$lt_save_ifs
   8831 	 if test "X$lt_pkg" = "X$lt_p"; then
   8832 	   pic_mode=yes
   8833 	 fi
   8834        done
   8835        IFS=$lt_save_ifs
   8836        ;;
   8837      esac
   8838 else case e in #(
   8839   e)           # Check whether --with-pic was given.
   8840 if test ${with_pic+y}
   8841 then :
   8842   withval=$with_pic; lt_p=${PACKAGE-default}
   8843 	 case $withval in
   8844 	 yes|no) pic_mode=$withval ;;
   8845 	 *)
   8846 	   pic_mode=default
   8847 	   # Look at the argument we got.  We use all the common list separators.
   8848 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8849 	   for lt_pkg in $withval; do
   8850 	     IFS=$lt_save_ifs
   8851 	     if test "X$lt_pkg" = "X$lt_p"; then
   8852 	       pic_mode=yes
   8853 	     fi
   8854 	   done
   8855 	   IFS=$lt_save_ifs
   8856 	   ;;
   8857 	 esac
   8858 else case e in #(
   8859   e) pic_mode=default ;;
   8860 esac
   8861 fi
   8862 
   8863      ;;
   8864 esac
   8865 fi
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874   # Check whether --enable-fast-install was given.
   8875 if test ${enable_fast_install+y}
   8876 then :
   8877   enableval=$enable_fast_install; p=${PACKAGE-default}
   8878     case $enableval in
   8879     yes) enable_fast_install=yes ;;
   8880     no) enable_fast_install=no ;;
   8881     *)
   8882       enable_fast_install=no
   8883       # Look at the argument we got.  We use all the common list separators.
   8884       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8885       for pkg in $enableval; do
   8886 	IFS=$lt_save_ifs
   8887 	if test "X$pkg" = "X$p"; then
   8888 	  enable_fast_install=yes
   8889 	fi
   8890       done
   8891       IFS=$lt_save_ifs
   8892       ;;
   8893     esac
   8894 else case e in #(
   8895   e) enable_fast_install=yes ;;
   8896 esac
   8897 fi
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906   shared_archive_member_spec=
   8907 case $host,$enable_shared in
   8908 power*-*-aix[5-9]*,yes)
   8909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8910 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8911   # Check whether --enable-aix-soname was given.
   8912 if test ${enable_aix_soname+y}
   8913 then :
   8914   enableval=$enable_aix_soname; case $enableval in
   8915      aix|svr4|both)
   8916        ;;
   8917      *)
   8918        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   8919        ;;
   8920      esac
   8921      lt_cv_with_aix_soname=$enable_aix_soname
   8922 else case e in #(
   8923   e) # Check whether --with-aix-soname was given.
   8924 if test ${with_aix_soname+y}
   8925 then :
   8926   withval=$with_aix_soname; case $withval in
   8927          aix|svr4|both)
   8928            ;;
   8929          *)
   8930            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8931            ;;
   8932          esac
   8933          lt_cv_with_aix_soname=$with_aix_soname
   8934 else case e in #(
   8935   e) if test ${lt_cv_with_aix_soname+y}
   8936 then :
   8937   printf %s "(cached) " >&6
   8938 else case e in #(
   8939   e) lt_cv_with_aix_soname=aix ;;
   8940 esac
   8941 fi
   8942  ;;
   8943 esac
   8944 fi
   8945 
   8946      enable_aix_soname=$lt_cv_with_aix_soname ;;
   8947 esac
   8948 fi
   8949 
   8950   with_aix_soname=$enable_aix_soname
   8951   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8952 printf "%s\n" "$with_aix_soname" >&6; }
   8953   if test aix != "$with_aix_soname"; then
   8954     # For the AIX way of multilib, we name the shared archive member
   8955     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8956     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8957     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8958     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8959     if test 64 = "${OBJECT_MODE-32}"; then
   8960       shared_archive_member_spec=shr_64
   8961     else
   8962       shared_archive_member_spec=shr
   8963     fi
   8964   fi
   8965   ;;
   8966 *)
   8967   with_aix_soname=aix
   8968   ;;
   8969 esac
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 # This can be used to rebuild libtool when needed
   8981 LIBTOOL_DEPS=$ltmain
   8982 
   8983 # Always use our own libtool.
   8984 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 test -z "$LN_S" && LN_S="ln -s"
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 if test -n "${ZSH_VERSION+set}"; then
   9031    setopt NO_GLOB_SUBST
   9032 fi
   9033 
   9034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9035 printf %s "checking for objdir... " >&6; }
   9036 if test ${lt_cv_objdir+y}
   9037 then :
   9038   printf %s "(cached) " >&6
   9039 else case e in #(
   9040   e) rm -f .libs 2>/dev/null
   9041 mkdir .libs 2>/dev/null
   9042 if test -d .libs; then
   9043   lt_cv_objdir=.libs
   9044 else
   9045   # MS-DOS does not allow filenames that begin with a dot.
   9046   lt_cv_objdir=_libs
   9047 fi
   9048 rmdir .libs 2>/dev/null ;;
   9049 esac
   9050 fi
   9051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9052 printf "%s\n" "$lt_cv_objdir" >&6; }
   9053 objdir=$lt_cv_objdir
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9060 
   9061 
   9062 
   9063 
   9064 case $host_os in
   9065 aix3*)
   9066   # AIX sometimes has problems with the GCC collect2 program.  For some
   9067   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9068   # vanish in a puff of smoke.
   9069   if test set != "${COLLECT_NAMES+set}"; then
   9070     COLLECT_NAMES=
   9071     export COLLECT_NAMES
   9072   fi
   9073   ;;
   9074 esac
   9075 
   9076 # Global variables:
   9077 ofile=libtool
   9078 can_build_shared=yes
   9079 
   9080 # All known linkers require a '.a' archive for static linking (except MSVC and
   9081 # ICC, which need '.lib').
   9082 libext=a
   9083 
   9084 with_gnu_ld=$lt_cv_prog_gnu_ld
   9085 
   9086 old_CC=$CC
   9087 old_CFLAGS=$CFLAGS
   9088 
   9089 # Set sane defaults for various variables
   9090 test -z "$CC" && CC=cc
   9091 test -z "$LTCC" && LTCC=$CC
   9092 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9093 test -z "$LD" && LD=ld
   9094 test -z "$ac_objext" && ac_objext=o
   9095 
   9096 func_cc_basename $compiler
   9097 cc_basename=$func_cc_basename_result
   9098 
   9099 
   9100 # Only perform the check for file, if the check method requires it
   9101 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9102 case $deplibs_check_method in
   9103 file_magic*)
   9104   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9105     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9106 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9107 if test ${lt_cv_path_MAGIC_CMD+y}
   9108 then :
   9109   printf %s "(cached) " >&6
   9110 else case e in #(
   9111   e) case $MAGIC_CMD in
   9112 [\\/*] |  ?:[\\/]*)
   9113   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9114   ;;
   9115 *)
   9116   lt_save_MAGIC_CMD=$MAGIC_CMD
   9117   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9118   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9119   for ac_dir in $ac_dummy; do
   9120     IFS=$lt_save_ifs
   9121     test -z "$ac_dir" && ac_dir=.
   9122     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9123       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9124       if test -n "$file_magic_test_file"; then
   9125 	case $deplibs_check_method in
   9126 	"file_magic "*)
   9127 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9128 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9129 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9130 	    $EGREP "$file_magic_regex" > /dev/null; then
   9131 	    :
   9132 	  else
   9133 	    cat <<_LT_EOF 1>&2
   9134 
   9135 *** Warning: the command libtool uses to detect shared libraries,
   9136 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9137 *** The result is that libtool may fail to recognize shared libraries
   9138 *** as such.  This will affect the creation of libtool libraries that
   9139 *** depend on shared libraries, but programs linked with such libtool
   9140 *** libraries will work regardless of this problem.  Nevertheless, you
   9141 *** may want to report the problem to your system manager and/or to
   9142 *** bug-libtool@gnu.org
   9143 
   9144 _LT_EOF
   9145 	  fi ;;
   9146 	esac
   9147       fi
   9148       break
   9149     fi
   9150   done
   9151   IFS=$lt_save_ifs
   9152   MAGIC_CMD=$lt_save_MAGIC_CMD
   9153   ;;
   9154 esac ;;
   9155 esac
   9156 fi
   9157 
   9158 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9159 if test -n "$MAGIC_CMD"; then
   9160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9161 printf "%s\n" "$MAGIC_CMD" >&6; }
   9162 else
   9163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9164 printf "%s\n" "no" >&6; }
   9165 fi
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9172   if test -n "$ac_tool_prefix"; then
   9173     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9174 printf %s "checking for file... " >&6; }
   9175 if test ${lt_cv_path_MAGIC_CMD+y}
   9176 then :
   9177   printf %s "(cached) " >&6
   9178 else case e in #(
   9179   e) case $MAGIC_CMD in
   9180 [\\/*] |  ?:[\\/]*)
   9181   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9182   ;;
   9183 *)
   9184   lt_save_MAGIC_CMD=$MAGIC_CMD
   9185   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9186   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9187   for ac_dir in $ac_dummy; do
   9188     IFS=$lt_save_ifs
   9189     test -z "$ac_dir" && ac_dir=.
   9190     if test -f "$ac_dir/file"; then
   9191       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9192       if test -n "$file_magic_test_file"; then
   9193 	case $deplibs_check_method in
   9194 	"file_magic "*)
   9195 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9196 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9197 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9198 	    $EGREP "$file_magic_regex" > /dev/null; then
   9199 	    :
   9200 	  else
   9201 	    cat <<_LT_EOF 1>&2
   9202 
   9203 *** Warning: the command libtool uses to detect shared libraries,
   9204 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9205 *** The result is that libtool may fail to recognize shared libraries
   9206 *** as such.  This will affect the creation of libtool libraries that
   9207 *** depend on shared libraries, but programs linked with such libtool
   9208 *** libraries will work regardless of this problem.  Nevertheless, you
   9209 *** may want to report the problem to your system manager and/or to
   9210 *** bug-libtool@gnu.org
   9211 
   9212 _LT_EOF
   9213 	  fi ;;
   9214 	esac
   9215       fi
   9216       break
   9217     fi
   9218   done
   9219   IFS=$lt_save_ifs
   9220   MAGIC_CMD=$lt_save_MAGIC_CMD
   9221   ;;
   9222 esac ;;
   9223 esac
   9224 fi
   9225 
   9226 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9227 if test -n "$MAGIC_CMD"; then
   9228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9229 printf "%s\n" "$MAGIC_CMD" >&6; }
   9230 else
   9231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9232 printf "%s\n" "no" >&6; }
   9233 fi
   9234 
   9235 
   9236   else
   9237     MAGIC_CMD=:
   9238   fi
   9239 fi
   9240 
   9241   fi
   9242   ;;
   9243 esac
   9244 
   9245 # Use C for the default configuration in the libtool script
   9246 
   9247 lt_save_CC=$CC
   9248 ac_ext=c
   9249 ac_cpp='$CPP $CPPFLAGS'
   9250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9253 
   9254 
   9255 # Source file extension for C test sources.
   9256 ac_ext=c
   9257 
   9258 # Object file extension for compiled C test sources.
   9259 objext=o
   9260 objext=$objext
   9261 
   9262 # Code to be used in simple compile tests
   9263 lt_simple_compile_test_code="int some_variable = 0;"
   9264 
   9265 # Code to be used in simple link tests
   9266 lt_simple_link_test_code='int main(void){return(0);}'
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 # If no C compiler was specified, use CC.
   9275 LTCC=${LTCC-"$CC"}
   9276 
   9277 # If no C compiler flags were specified, use CFLAGS.
   9278 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9279 
   9280 # Allow CC to be a program name with arguments.
   9281 compiler=$CC
   9282 
   9283 # Save the default compiler, since it gets overwritten when the other
   9284 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9285 compiler_DEFAULT=$CC
   9286 
   9287 # save warnings/boilerplate of simple test code
   9288 ac_outfile=conftest.$ac_objext
   9289 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9290 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9291 _lt_compiler_boilerplate=`cat conftest.err`
   9292 $RM conftest*
   9293 
   9294 ac_outfile=conftest.$ac_objext
   9295 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9296 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9297 _lt_linker_boilerplate=`cat conftest.err`
   9298 $RM -r conftest*
   9299 
   9300 
   9301 ## CAVEAT EMPTOR:
   9302 ## There is no encapsulation within the following macros, do not change
   9303 ## the running order or otherwise move them around unless you know exactly
   9304 ## what you are doing...
   9305 if test -n "$compiler"; then
   9306 
   9307 lt_prog_compiler_no_builtin_flag=
   9308 
   9309 if test yes = "$GCC"; then
   9310   case $cc_basename in
   9311   nvcc*)
   9312     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9313   *)
   9314     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9315   esac
   9316 
   9317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9318 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9319 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9320 then :
   9321   printf %s "(cached) " >&6
   9322 else case e in #(
   9323   e) lt_cv_prog_compiler_rtti_exceptions=no
   9324    ac_outfile=conftest.$ac_objext
   9325    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9326    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9327    # Insert the option either (1) after the last *FLAGS variable, or
   9328    # (2) before a word containing "conftest.", or (3) at the end.
   9329    # Note that $ac_compile itself does not contain backslashes and begins
   9330    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9331    # The option is referenced via a variable to avoid confusing sed.
   9332    lt_compile=`echo "$ac_compile" | $SED \
   9333    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9334    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9335    -e 's:$: $lt_compiler_flag:'`
   9336    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9337    (eval "$lt_compile" 2>conftest.err)
   9338    ac_status=$?
   9339    cat conftest.err >&5
   9340    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9341    if (exit $ac_status) && test -s "$ac_outfile"; then
   9342      # The compiler can only warn and ignore the option if not recognized
   9343      # So say no if there are warnings other than the usual output.
   9344      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9345      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9346      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9347        lt_cv_prog_compiler_rtti_exceptions=yes
   9348      fi
   9349    fi
   9350    $RM conftest*
   9351  ;;
   9352 esac
   9353 fi
   9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9355 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9356 
   9357 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9358     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9359 else
   9360     :
   9361 fi
   9362 
   9363 fi
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370   lt_prog_compiler_wl=
   9371 lt_prog_compiler_pic=
   9372 lt_prog_compiler_static=
   9373 
   9374 
   9375   if test yes = "$GCC"; then
   9376     lt_prog_compiler_wl='-Wl,'
   9377     lt_prog_compiler_static='-static'
   9378 
   9379     case $host_os in
   9380       aix*)
   9381       # All AIX code is PIC.
   9382       if test ia64 = "$host_cpu"; then
   9383 	# AIX 5 now supports IA64 processor
   9384 	lt_prog_compiler_static='-Bstatic'
   9385       fi
   9386       lt_prog_compiler_pic='-fPIC'
   9387       ;;
   9388 
   9389     amigaos*)
   9390       case $host_cpu in
   9391       powerpc)
   9392             # see comment about AmigaOS4 .so support
   9393             lt_prog_compiler_pic='-fPIC'
   9394         ;;
   9395       m68k)
   9396             # FIXME: we need at least 68020 code to build shared libraries, but
   9397             # adding the '-m68020' flag to GCC prevents building anything better,
   9398             # like '-m68040'.
   9399             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9400         ;;
   9401       esac
   9402       ;;
   9403 
   9404     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9405       # PIC is the default for these OSes.
   9406       ;;
   9407 
   9408     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9409       # This hack is so that the source file can tell whether it is being
   9410       # built for inclusion in a dll (and should export symbols for example).
   9411       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9412       # (--disable-auto-import) libraries
   9413       lt_prog_compiler_pic='-DDLL_EXPORT'
   9414       case $host_os in
   9415       os2*)
   9416 	lt_prog_compiler_static='$wl-static'
   9417 	;;
   9418       esac
   9419       ;;
   9420 
   9421     darwin* | rhapsody*)
   9422       # PIC is the default on this platform
   9423       # Common symbols not allowed in MH_DYLIB files
   9424       lt_prog_compiler_pic='-fno-common'
   9425       ;;
   9426 
   9427     haiku*)
   9428       # PIC is the default for Haiku.
   9429       # The "-static" flag exists, but is broken.
   9430       lt_prog_compiler_static=
   9431       ;;
   9432 
   9433     hpux*)
   9434       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9435       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9436       # sets the default TLS model and affects inlining.
   9437       case $host_cpu in
   9438       hppa*64*)
   9439 	# +Z the default
   9440 	;;
   9441       *)
   9442 	lt_prog_compiler_pic='-fPIC'
   9443 	;;
   9444       esac
   9445       ;;
   9446 
   9447     interix[3-9]*)
   9448       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9449       # Instead, we relocate shared libraries at runtime.
   9450       ;;
   9451 
   9452     msdosdjgpp*)
   9453       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9454       # on systems that don't support them.
   9455       lt_prog_compiler_can_build_shared=no
   9456       enable_shared=no
   9457       ;;
   9458 
   9459     *nto* | *qnx*)
   9460       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9461       # it will coredump.
   9462       lt_prog_compiler_pic='-fPIC -shared'
   9463       ;;
   9464 
   9465     sysv4*MP*)
   9466       if test -d /usr/nec; then
   9467 	lt_prog_compiler_pic=-Kconform_pic
   9468       fi
   9469       ;;
   9470 
   9471     *)
   9472       lt_prog_compiler_pic='-fPIC'
   9473       ;;
   9474     esac
   9475 
   9476     case $cc_basename in
   9477     nvcc*) # Cuda Compiler Driver 2.2
   9478       lt_prog_compiler_wl='-Xlinker '
   9479       if test -n "$lt_prog_compiler_pic"; then
   9480         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9481       fi
   9482       ;;
   9483     esac
   9484   else
   9485     # PORTME Check for flag to pass linker flags through the system compiler.
   9486     case $host_os in
   9487     aix*)
   9488       lt_prog_compiler_wl='-Wl,'
   9489       if test ia64 = "$host_cpu"; then
   9490 	# AIX 5 now supports IA64 processor
   9491 	lt_prog_compiler_static='-Bstatic'
   9492       else
   9493 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9494       fi
   9495       ;;
   9496 
   9497     darwin* | rhapsody*)
   9498       # PIC is the default on this platform
   9499       # Common symbols not allowed in MH_DYLIB files
   9500       lt_prog_compiler_pic='-fno-common'
   9501       case $cc_basename in
   9502       nagfor*)
   9503         # NAG Fortran compiler
   9504         lt_prog_compiler_wl='-Wl,-Wl,,'
   9505         lt_prog_compiler_pic='-PIC'
   9506         lt_prog_compiler_static='-Bstatic'
   9507         ;;
   9508       esac
   9509       ;;
   9510 
   9511     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9512       # This hack is so that the source file can tell whether it is being
   9513       # built for inclusion in a dll (and should export symbols for example).
   9514       lt_prog_compiler_pic='-DDLL_EXPORT'
   9515       case $host_os in
   9516       os2*)
   9517 	lt_prog_compiler_static='$wl-static'
   9518 	;;
   9519       esac
   9520       ;;
   9521 
   9522     hpux9* | hpux10* | hpux11*)
   9523       lt_prog_compiler_wl='-Wl,'
   9524       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9525       # not for PA HP-UX.
   9526       case $host_cpu in
   9527       hppa*64*|ia64*)
   9528 	# +Z the default
   9529 	;;
   9530       *)
   9531 	lt_prog_compiler_pic='+Z'
   9532 	;;
   9533       esac
   9534       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9535       lt_prog_compiler_static='$wl-a ${wl}archive'
   9536       ;;
   9537 
   9538     irix5* | irix6* | nonstopux*)
   9539       lt_prog_compiler_wl='-Wl,'
   9540       # PIC (with -KPIC) is the default.
   9541       lt_prog_compiler_static='-non_shared'
   9542       ;;
   9543 
   9544     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9545       case $cc_basename in
   9546       # old Intel for x86_64, which still supported -KPIC.
   9547       ecc*)
   9548 	lt_prog_compiler_wl='-Wl,'
   9549 	lt_prog_compiler_pic='-KPIC'
   9550 	lt_prog_compiler_static='-static'
   9551         ;;
   9552       *flang* | ftn | f18* | f95*)
   9553         # Flang compiler.
   9554 	lt_prog_compiler_wl='-Wl,'
   9555 	lt_prog_compiler_pic='-fPIC'
   9556 	lt_prog_compiler_static='-static'
   9557         ;;
   9558       # icc used to be incompatible with GCC.
   9559       # ICC 10 doesn't accept -KPIC any more.
   9560       icc* | ifort*)
   9561 	lt_prog_compiler_wl='-Wl,'
   9562 	lt_prog_compiler_pic='-fPIC'
   9563 	lt_prog_compiler_static='-static'
   9564         ;;
   9565       # Lahey Fortran 8.1.
   9566       lf95*)
   9567 	lt_prog_compiler_wl='-Wl,'
   9568 	lt_prog_compiler_pic='--shared'
   9569 	lt_prog_compiler_static='--static'
   9570 	;;
   9571       nagfor*)
   9572 	# NAG Fortran compiler
   9573 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9574 	lt_prog_compiler_pic='-PIC'
   9575 	lt_prog_compiler_static='-Bstatic'
   9576 	;;
   9577       tcc*)
   9578 	# Fabrice Bellard et al's Tiny C Compiler
   9579 	lt_prog_compiler_wl='-Wl,'
   9580 	lt_prog_compiler_pic='-fPIC'
   9581 	lt_prog_compiler_static='-static'
   9582 	;;
   9583       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9584         # Portland Group compilers (*not* the Pentium gcc compiler,
   9585 	# which looks to be a dead project)
   9586 	lt_prog_compiler_wl='-Wl,'
   9587 	lt_prog_compiler_pic='-fpic'
   9588 	lt_prog_compiler_static='-Bstatic'
   9589         ;;
   9590       ccc*)
   9591         lt_prog_compiler_wl='-Wl,'
   9592         # All Alpha code is PIC.
   9593         lt_prog_compiler_static='-non_shared'
   9594         ;;
   9595       xl* | bgxl* | bgf* | mpixl*)
   9596 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9597 	lt_prog_compiler_wl='-Wl,'
   9598 	lt_prog_compiler_pic='-qpic'
   9599 	lt_prog_compiler_static='-qstaticlink'
   9600 	;;
   9601       *)
   9602 	case `$CC -V 2>&1 | $SED 5q` in
   9603 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9604 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9605 	  lt_prog_compiler_pic='-KPIC'
   9606 	  lt_prog_compiler_static='-Bstatic'
   9607 	  lt_prog_compiler_wl=''
   9608 	  ;;
   9609 	*Sun\ F* | *Sun*Fortran*)
   9610 	  lt_prog_compiler_pic='-KPIC'
   9611 	  lt_prog_compiler_static='-Bstatic'
   9612 	  lt_prog_compiler_wl='-Qoption ld '
   9613 	  ;;
   9614 	*Sun\ C*)
   9615 	  # Sun C 5.9
   9616 	  lt_prog_compiler_pic='-KPIC'
   9617 	  lt_prog_compiler_static='-Bstatic'
   9618 	  lt_prog_compiler_wl='-Wl,'
   9619 	  ;;
   9620         *Intel*\ [CF]*Compiler*)
   9621 	  lt_prog_compiler_wl='-Wl,'
   9622 	  lt_prog_compiler_pic='-fPIC'
   9623 	  lt_prog_compiler_static='-static'
   9624 	  ;;
   9625 	*Portland\ Group*)
   9626 	  lt_prog_compiler_wl='-Wl,'
   9627 	  lt_prog_compiler_pic='-fpic'
   9628 	  lt_prog_compiler_static='-Bstatic'
   9629 	  ;;
   9630 	esac
   9631 	;;
   9632       esac
   9633       ;;
   9634 
   9635     newsos6)
   9636       lt_prog_compiler_pic='-KPIC'
   9637       lt_prog_compiler_static='-Bstatic'
   9638       ;;
   9639 
   9640     *-mlibc)
   9641       lt_prog_compiler_wl='-Wl,'
   9642       lt_prog_compiler_pic='-fPIC'
   9643       lt_prog_compiler_static='-static'
   9644       ;;
   9645 
   9646     *nto* | *qnx*)
   9647       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9648       # it will coredump.
   9649       lt_prog_compiler_pic='-fPIC -shared'
   9650       ;;
   9651 
   9652     osf3* | osf4* | osf5*)
   9653       lt_prog_compiler_wl='-Wl,'
   9654       # All OSF/1 code is PIC.
   9655       lt_prog_compiler_static='-non_shared'
   9656       ;;
   9657 
   9658     rdos*)
   9659       lt_prog_compiler_static='-non_shared'
   9660       ;;
   9661 
   9662     serenity*)
   9663       ;;
   9664 
   9665     solaris*)
   9666       lt_prog_compiler_pic='-KPIC'
   9667       lt_prog_compiler_static='-Bstatic'
   9668       case $cc_basename in
   9669       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9670 	lt_prog_compiler_wl='-Qoption ld ';;
   9671       *)
   9672 	lt_prog_compiler_wl='-Wl,';;
   9673       esac
   9674       ;;
   9675 
   9676     sunos4*)
   9677       lt_prog_compiler_wl='-Qoption ld '
   9678       lt_prog_compiler_pic='-PIC'
   9679       lt_prog_compiler_static='-Bstatic'
   9680       ;;
   9681 
   9682     sysv4 | sysv4.2uw2* | sysv4.3*)
   9683       lt_prog_compiler_wl='-Wl,'
   9684       lt_prog_compiler_pic='-KPIC'
   9685       lt_prog_compiler_static='-Bstatic'
   9686       ;;
   9687 
   9688     sysv4*MP*)
   9689       if test -d /usr/nec; then
   9690 	lt_prog_compiler_pic='-Kconform_pic'
   9691 	lt_prog_compiler_static='-Bstatic'
   9692       fi
   9693       ;;
   9694 
   9695     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9696       lt_prog_compiler_wl='-Wl,'
   9697       lt_prog_compiler_pic='-KPIC'
   9698       lt_prog_compiler_static='-Bstatic'
   9699       ;;
   9700 
   9701     unicos*)
   9702       lt_prog_compiler_wl='-Wl,'
   9703       lt_prog_compiler_can_build_shared=no
   9704       ;;
   9705 
   9706     uts4*)
   9707       lt_prog_compiler_pic='-pic'
   9708       lt_prog_compiler_static='-Bstatic'
   9709       ;;
   9710 
   9711     *)
   9712       lt_prog_compiler_can_build_shared=no
   9713       ;;
   9714     esac
   9715   fi
   9716 
   9717 case $host_os in
   9718   # For platforms that do not support PIC, -DPIC is meaningless:
   9719   *djgpp*)
   9720     lt_prog_compiler_pic=
   9721     ;;
   9722   *)
   9723     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9724     ;;
   9725 esac
   9726 
   9727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9728 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9729 if test ${lt_cv_prog_compiler_pic+y}
   9730 then :
   9731   printf %s "(cached) " >&6
   9732 else case e in #(
   9733   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   9734 esac
   9735 fi
   9736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9737 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9738 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9739 
   9740 #
   9741 # Check to make sure the PIC flag actually works.
   9742 #
   9743 if test -n "$lt_prog_compiler_pic"; then
   9744   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9745 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9746 if test ${lt_cv_prog_compiler_pic_works+y}
   9747 then :
   9748   printf %s "(cached) " >&6
   9749 else case e in #(
   9750   e) lt_cv_prog_compiler_pic_works=no
   9751    ac_outfile=conftest.$ac_objext
   9752    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9753    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9754    # Insert the option either (1) after the last *FLAGS variable, or
   9755    # (2) before a word containing "conftest.", or (3) at the end.
   9756    # Note that $ac_compile itself does not contain backslashes and begins
   9757    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9758    # The option is referenced via a variable to avoid confusing sed.
   9759    lt_compile=`echo "$ac_compile" | $SED \
   9760    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9761    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9762    -e 's:$: $lt_compiler_flag:'`
   9763    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9764    (eval "$lt_compile" 2>conftest.err)
   9765    ac_status=$?
   9766    cat conftest.err >&5
   9767    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9768    if (exit $ac_status) && test -s "$ac_outfile"; then
   9769      # The compiler can only warn and ignore the option if not recognized
   9770      # So say no if there are warnings other than the usual output.
   9771      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9772      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9773      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9774        lt_cv_prog_compiler_pic_works=yes
   9775      fi
   9776    fi
   9777    $RM conftest*
   9778  ;;
   9779 esac
   9780 fi
   9781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9782 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9783 
   9784 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9785     case $lt_prog_compiler_pic in
   9786      "" | " "*) ;;
   9787      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9788      esac
   9789 else
   9790     lt_prog_compiler_pic=
   9791      lt_prog_compiler_can_build_shared=no
   9792 fi
   9793 
   9794 fi
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 #
   9807 # Check to make sure the static flag actually works.
   9808 #
   9809 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9811 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9812 if test ${lt_cv_prog_compiler_static_works+y}
   9813 then :
   9814   printf %s "(cached) " >&6
   9815 else case e in #(
   9816   e) lt_cv_prog_compiler_static_works=no
   9817    save_LDFLAGS=$LDFLAGS
   9818    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9819    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9820    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9821      # The linker can only warn and ignore the option if not recognized
   9822      # So say no if there are warnings
   9823      if test -s conftest.err; then
   9824        # Append any errors to the config.log.
   9825        cat conftest.err 1>&5
   9826        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9827        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9828        if diff conftest.exp conftest.er2 >/dev/null; then
   9829          lt_cv_prog_compiler_static_works=yes
   9830        fi
   9831      else
   9832        lt_cv_prog_compiler_static_works=yes
   9833      fi
   9834    fi
   9835    $RM -r conftest*
   9836    LDFLAGS=$save_LDFLAGS
   9837  ;;
   9838 esac
   9839 fi
   9840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9841 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9842 
   9843 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9844     :
   9845 else
   9846     lt_prog_compiler_static=
   9847 fi
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9856 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9857 if test ${lt_cv_prog_compiler_c_o+y}
   9858 then :
   9859   printf %s "(cached) " >&6
   9860 else case e in #(
   9861   e) lt_cv_prog_compiler_c_o=no
   9862    $RM -r conftest 2>/dev/null
   9863    mkdir conftest
   9864    cd conftest
   9865    mkdir out
   9866    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9867 
   9868    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9869    # Insert the option either (1) after the last *FLAGS variable, or
   9870    # (2) before a word containing "conftest.", or (3) at the end.
   9871    # Note that $ac_compile itself does not contain backslashes and begins
   9872    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9873    lt_compile=`echo "$ac_compile" | $SED \
   9874    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9875    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9876    -e 's:$: $lt_compiler_flag:'`
   9877    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9878    (eval "$lt_compile" 2>out/conftest.err)
   9879    ac_status=$?
   9880    cat out/conftest.err >&5
   9881    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9882    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9883    then
   9884      # The compiler can only warn and ignore the option if not recognized
   9885      # So say no if there are warnings
   9886      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9887      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9888      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9889        lt_cv_prog_compiler_c_o=yes
   9890      fi
   9891    fi
   9892    chmod u+w . 2>&5
   9893    $RM conftest*
   9894    # SGI C++ compiler will create directory out/ii_files/ for
   9895    # template instantiation
   9896    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9897    $RM out/* && rmdir out
   9898    cd ..
   9899    $RM -r conftest
   9900    $RM conftest*
   9901  ;;
   9902 esac
   9903 fi
   9904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9905 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9913 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9914 if test ${lt_cv_prog_compiler_c_o+y}
   9915 then :
   9916   printf %s "(cached) " >&6
   9917 else case e in #(
   9918   e) lt_cv_prog_compiler_c_o=no
   9919    $RM -r conftest 2>/dev/null
   9920    mkdir conftest
   9921    cd conftest
   9922    mkdir out
   9923    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9924 
   9925    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9926    # Insert the option either (1) after the last *FLAGS variable, or
   9927    # (2) before a word containing "conftest.", or (3) at the end.
   9928    # Note that $ac_compile itself does not contain backslashes and begins
   9929    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9930    lt_compile=`echo "$ac_compile" | $SED \
   9931    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9932    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9933    -e 's:$: $lt_compiler_flag:'`
   9934    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9935    (eval "$lt_compile" 2>out/conftest.err)
   9936    ac_status=$?
   9937    cat out/conftest.err >&5
   9938    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9939    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9940    then
   9941      # The compiler can only warn and ignore the option if not recognized
   9942      # So say no if there are warnings
   9943      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9944      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9945      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9946        lt_cv_prog_compiler_c_o=yes
   9947      fi
   9948    fi
   9949    chmod u+w . 2>&5
   9950    $RM conftest*
   9951    # SGI C++ compiler will create directory out/ii_files/ for
   9952    # template instantiation
   9953    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9954    $RM out/* && rmdir out
   9955    cd ..
   9956    $RM -r conftest
   9957    $RM conftest*
   9958  ;;
   9959 esac
   9960 fi
   9961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9962 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9963 
   9964 
   9965 
   9966 
   9967 hard_links=nottested
   9968 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9969   # do not overwrite the value of need_locks provided by the user
   9970   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9971 printf %s "checking if we can lock with hard links... " >&6; }
   9972   hard_links=yes
   9973   $RM conftest*
   9974   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9975   touch conftest.a
   9976   ln conftest.a conftest.b 2>&5 || hard_links=no
   9977   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9979 printf "%s\n" "$hard_links" >&6; }
   9980   if test no = "$hard_links"; then
   9981     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9982 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9983     need_locks=warn
   9984   fi
   9985 else
   9986   need_locks=no
   9987 fi
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9995 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9996 
   9997   runpath_var=
   9998   allow_undefined_flag=
   9999   always_export_symbols=no
   10000   archive_cmds=
   10001   archive_expsym_cmds=
   10002   compiler_needs_object=no
   10003   enable_shared_with_static_runtimes=no
   10004   export_dynamic_flag_spec=
   10005   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10006   hardcode_automatic=no
   10007   hardcode_direct=no
   10008   hardcode_direct_absolute=no
   10009   hardcode_libdir_flag_spec=
   10010   hardcode_libdir_separator=
   10011   hardcode_minus_L=no
   10012   hardcode_shlibpath_var=unsupported
   10013   inherit_rpath=no
   10014   link_all_deplibs=unknown
   10015   module_cmds=
   10016   module_expsym_cmds=
   10017   old_archive_from_new_cmds=
   10018   old_archive_from_expsyms_cmds=
   10019   thread_safe_flag_spec=
   10020   whole_archive_flag_spec=
   10021   # include_expsyms should be a list of space-separated symbols to be *always*
   10022   # included in the symbol list
   10023   include_expsyms=
   10024   # exclude_expsyms can be an extended regexp of symbols to exclude
   10025   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10026   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10027   # as well as any symbol that contains 'd'.
   10028   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10029   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10030   # platforms (ab)use it in PIC code, but their linkers get confused if
   10031   # the symbol is explicitly referenced.  Since portable code cannot
   10032   # rely on this symbol name, it's probably fine to never include it in
   10033   # preloaded symbol tables.
   10034   # Exclude shared library initialization/finalization symbols.
   10035   extract_expsyms_cmds=
   10036 
   10037   case $host_os in
   10038   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10039     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10040     # When not using gcc, we currently assume that we are using
   10041     # Microsoft Visual C++ or Intel C++ Compiler.
   10042     if test yes != "$GCC"; then
   10043       with_gnu_ld=no
   10044     fi
   10045     ;;
   10046   interix*)
   10047     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10048     with_gnu_ld=yes
   10049     ;;
   10050   esac
   10051 
   10052   ld_shlibs=yes
   10053 
   10054   # On some targets, GNU ld is compatible enough with the native linker
   10055   # that we're better off using the native interface for both.
   10056   lt_use_gnu_ld_interface=no
   10057   if test yes = "$with_gnu_ld"; then
   10058     case $host_os in
   10059       aix*)
   10060 	# The AIX port of GNU ld has always aspired to compatibility
   10061 	# with the native linker.  However, as the warning in the GNU ld
   10062 	# block says, versions before 2.19.5* couldn't really create working
   10063 	# shared libraries, regardless of the interface used.
   10064 	case `$LD -v 2>&1` in
   10065 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10066 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10067 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10068 	  *)
   10069 	    lt_use_gnu_ld_interface=yes
   10070 	    ;;
   10071 	esac
   10072 	;;
   10073       *)
   10074 	lt_use_gnu_ld_interface=yes
   10075 	;;
   10076     esac
   10077   fi
   10078 
   10079   if test yes = "$lt_use_gnu_ld_interface"; then
   10080     # If archive_cmds runs LD, not CC, wlarc should be empty
   10081     wlarc='$wl'
   10082 
   10083     # Set some defaults for GNU ld with shared library support. These
   10084     # are reset later if shared libraries are not supported. Putting them
   10085     # here allows them to be overridden if necessary.
   10086     runpath_var=LD_RUN_PATH
   10087     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10088     export_dynamic_flag_spec='$wl--export-dynamic'
   10089     # ancient GNU ld didn't support --whole-archive et. al.
   10090     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10091       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10092     else
   10093       whole_archive_flag_spec=
   10094     fi
   10095     supports_anon_versioning=no
   10096     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10097       *GNU\ gold*) supports_anon_versioning=yes ;;
   10098       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10099       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10100       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10101       *\ 2.11.*) ;; # other 2.11 versions
   10102       *) supports_anon_versioning=yes ;;
   10103     esac
   10104 
   10105     # See if GNU ld supports shared libraries.
   10106     case $host_os in
   10107     aix[3-9]*)
   10108       # On AIX/PPC, the GNU linker is very broken
   10109       if test ia64 != "$host_cpu"; then
   10110 	ld_shlibs=no
   10111 	cat <<_LT_EOF 1>&2
   10112 
   10113 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10114 *** to be unable to reliably create shared libraries on AIX.
   10115 *** Therefore, libtool is disabling shared libraries support.  If you
   10116 *** really care for shared libraries, you may want to install binutils
   10117 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10118 *** You will then need to restart the configuration process.
   10119 
   10120 _LT_EOF
   10121       fi
   10122       ;;
   10123 
   10124     amigaos*)
   10125       case $host_cpu in
   10126       powerpc)
   10127             # see comment about AmigaOS4 .so support
   10128             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10129             archive_expsym_cmds=''
   10130         ;;
   10131       m68k)
   10132             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)'
   10133             hardcode_libdir_flag_spec='-L$libdir'
   10134             hardcode_minus_L=yes
   10135         ;;
   10136       esac
   10137       ;;
   10138 
   10139     beos*)
   10140       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10141 	allow_undefined_flag=unsupported
   10142 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10143 	# support --undefined.  This deserves some investigation.  FIXME
   10144 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10145       else
   10146 	ld_shlibs=no
   10147       fi
   10148       ;;
   10149 
   10150     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10151       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10152       # as there is no search path for DLLs.
   10153       hardcode_libdir_flag_spec='-L$libdir'
   10154       export_dynamic_flag_spec='$wl--export-all-symbols'
   10155       allow_undefined_flag=unsupported
   10156       always_export_symbols=no
   10157       enable_shared_with_static_runtimes=yes
   10158       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'
   10159       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10160       file_list_spec='@'
   10161 
   10162       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10163         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10164 	# If the export-symbols file already is a .def file, use it as
   10165 	# is; otherwise, prepend EXPORTS...
   10166 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10167           cp $export_symbols $output_objdir/$soname.def;
   10168         else
   10169           echo EXPORTS > $output_objdir/$soname.def;
   10170           cat $export_symbols >> $output_objdir/$soname.def;
   10171         fi~
   10172         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10173       else
   10174 	ld_shlibs=no
   10175       fi
   10176       ;;
   10177 
   10178     haiku*)
   10179       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10180       link_all_deplibs=no
   10181       ;;
   10182 
   10183     os2*)
   10184       hardcode_libdir_flag_spec='-L$libdir'
   10185       hardcode_minus_L=yes
   10186       allow_undefined_flag=unsupported
   10187       shrext_cmds=.dll
   10188       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10189 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10190 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10191 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10192 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10193 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10194 	emximp -o $lib $output_objdir/$libname.def'
   10195       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10196 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10197 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10198 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10199 	prefix_cmds="$SED"~
   10200 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10201 	  prefix_cmds="$prefix_cmds -e 1d";
   10202 	fi~
   10203 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10204 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10205 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10206 	emximp -o $lib $output_objdir/$libname.def'
   10207       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10208       enable_shared_with_static_runtimes=yes
   10209       file_list_spec='@'
   10210       ;;
   10211 
   10212     interix[3-9]*)
   10213       hardcode_direct=no
   10214       hardcode_shlibpath_var=no
   10215       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10216       export_dynamic_flag_spec='$wl-E'
   10217       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10218       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10219       # default) and relocated if they conflict, which is a slow very memory
   10220       # consuming and fragmenting process.  To avoid this, we pick a random,
   10221       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10222       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10223       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10224       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'
   10225       ;;
   10226 
   10227     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10228       tmp_diet=no
   10229       if test linux-dietlibc = "$host_os"; then
   10230 	case $cc_basename in
   10231 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10232 	esac
   10233       fi
   10234       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10235 	 && test no = "$tmp_diet"
   10236       then
   10237 	tmp_addflag=' $pic_flag'
   10238 	tmp_sharedflag='-shared'
   10239 	case $cc_basename,$host_cpu in
   10240         pgcc*)				# Portland Group C compiler
   10241 	  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'
   10242 	  tmp_addflag=' $pic_flag'
   10243 	  ;;
   10244 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10245 					# Portland Group f77 and f90 compilers
   10246 	  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'
   10247 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10248 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10249 	  tmp_addflag=' -i_dynamic' ;;
   10250 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10251 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10252 	ifc* | ifort*)			# Intel Fortran compiler
   10253 	  tmp_addflag=' -nofor_main' ;;
   10254 	lf95*)				# Lahey Fortran 8.1
   10255 	  whole_archive_flag_spec=
   10256 	  tmp_sharedflag='--shared' ;;
   10257         nagfor*)                        # NAGFOR 5.3
   10258           tmp_sharedflag='-Wl,-shared' ;;
   10259 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10260 	  tmp_sharedflag='-qmkshrobj'
   10261 	  tmp_addflag= ;;
   10262 	nvcc*)	# Cuda Compiler Driver 2.2
   10263 	  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'
   10264 	  compiler_needs_object=yes
   10265 	  ;;
   10266 	esac
   10267 	case `$CC -V 2>&1 | $SED 5q` in
   10268 	*Sun\ C*)			# Sun C 5.9
   10269 	  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'
   10270 	  compiler_needs_object=yes
   10271 	  tmp_sharedflag='-G' ;;
   10272 	*Sun\ F*)			# Sun Fortran 8.3
   10273 	  tmp_sharedflag='-G' ;;
   10274 	esac
   10275 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10276 
   10277         if test yes = "$supports_anon_versioning"; then
   10278           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10279             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10280             echo "local: *; };" >> $output_objdir/$libname.ver~
   10281             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10282         fi
   10283 
   10284 	case $cc_basename in
   10285 	tcc*)
   10286 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10287 	  export_dynamic_flag_spec='-rdynamic'
   10288 	  ;;
   10289 	xlf* | bgf* | bgxlf* | mpixlf*)
   10290 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10291 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10292 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10293 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10294 	  if test yes = "$supports_anon_versioning"; then
   10295 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10296               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10297               echo "local: *; };" >> $output_objdir/$libname.ver~
   10298               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10299 	  fi
   10300 	  ;;
   10301 	esac
   10302       else
   10303         ld_shlibs=no
   10304       fi
   10305       ;;
   10306 
   10307     *-mlibc)
   10308 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10309 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10310       ;;
   10311 
   10312     netbsd* | netbsdelf*-gnu)
   10313       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10314 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10315 	wlarc=
   10316       else
   10317 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10318 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10319       fi
   10320       ;;
   10321 
   10322     solaris*)
   10323       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10324 	ld_shlibs=no
   10325 	cat <<_LT_EOF 1>&2
   10326 
   10327 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10328 *** create shared libraries on Solaris systems.  Therefore, libtool
   10329 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10330 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10331 *** your PATH or compiler configuration so that the native linker is
   10332 *** used, and then restart.
   10333 
   10334 _LT_EOF
   10335       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10336 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10337 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10338       else
   10339 	ld_shlibs=no
   10340       fi
   10341       ;;
   10342 
   10343     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10344       case `$LD -v 2>&1` in
   10345         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10346 	ld_shlibs=no
   10347 	cat <<_LT_EOF 1>&2
   10348 
   10349 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10350 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10351 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10352 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10353 *** your PATH or compiler configuration so that the native linker is
   10354 *** used, and then restart.
   10355 
   10356 _LT_EOF
   10357 	;;
   10358 	*)
   10359 	  # For security reasons, it is highly recommended that you always
   10360 	  # use absolute paths for naming shared libraries, and exclude the
   10361 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10362 	  # requires that you compile everything twice, which is a pain.
   10363 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10364 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10365 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10366 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10367 	  else
   10368 	    ld_shlibs=no
   10369 	  fi
   10370 	;;
   10371       esac
   10372       ;;
   10373 
   10374     sunos4*)
   10375       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10376       wlarc=
   10377       hardcode_direct=yes
   10378       hardcode_shlibpath_var=no
   10379       ;;
   10380 
   10381     *)
   10382       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10383 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10384 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10385       else
   10386 	ld_shlibs=no
   10387       fi
   10388       ;;
   10389     esac
   10390 
   10391     if test no = "$ld_shlibs"; then
   10392       runpath_var=
   10393       hardcode_libdir_flag_spec=
   10394       export_dynamic_flag_spec=
   10395       whole_archive_flag_spec=
   10396     fi
   10397   else
   10398     # PORTME fill in a description of your system's linker (not GNU ld)
   10399     case $host_os in
   10400     aix3*)
   10401       allow_undefined_flag=unsupported
   10402       always_export_symbols=yes
   10403       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'
   10404       # Note: this linker hardcodes the directories in LIBPATH if there
   10405       # are no directories specified by -L.
   10406       hardcode_minus_L=yes
   10407       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10408 	# Neither direct hardcoding nor static linking is supported with a
   10409 	# broken collect2.
   10410 	hardcode_direct=unsupported
   10411       fi
   10412       ;;
   10413 
   10414     aix[4-9]*)
   10415       if test ia64 = "$host_cpu"; then
   10416 	# On IA64, the linker does run time linking by default, so we don't
   10417 	# have to do anything special.
   10418 	aix_use_runtimelinking=no
   10419 	exp_sym_flag='-Bexport'
   10420 	no_entry_flag=
   10421       else
   10422 	# If we're using GNU nm, then we don't want the "-C" option.
   10423 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10424 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10425 	# weak defined symbols like other global defined symbols, whereas
   10426 	# GNU nm marks them as "W".
   10427 	# While the 'weak' keyword is ignored in the Export File, we need
   10428 	# it in the Import File for the 'aix-soname' feature, so we have
   10429 	# to replace the "-B" option with "-P" for AIX nm.
   10430 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10431 	  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'
   10432 	else
   10433 	  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'
   10434 	fi
   10435 	aix_use_runtimelinking=no
   10436 
   10437 	# Test if we are trying to use run time linking or normal
   10438 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10439 	# have runtime linking enabled, and use it for executables.
   10440 	# For shared libraries, we enable/disable runtime linking
   10441 	# depending on the kind of the shared library created -
   10442 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10443 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10444 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10445 	#            lib.a           static archive
   10446 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10447 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10448 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10449 	#            lib.a(lib.so.V) shared, rtl:no
   10450 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10451 	#            lib.a           static archive
   10452 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10453 	  for ld_flag in $LDFLAGS; do
   10454 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10455 	    aix_use_runtimelinking=yes
   10456 	    break
   10457 	  fi
   10458 	  done
   10459 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10460 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10461 	    # so we don't have lib.a shared libs to link our executables.
   10462 	    # We have to force runtime linking in this case.
   10463 	    aix_use_runtimelinking=yes
   10464 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10465 	  fi
   10466 	  ;;
   10467 	esac
   10468 
   10469 	exp_sym_flag='-bexport'
   10470 	no_entry_flag='-bnoentry'
   10471       fi
   10472 
   10473       # When large executables or shared objects are built, AIX ld can
   10474       # have problems creating the table of contents.  If linking a library
   10475       # or program results in "error TOC overflow" add -mminimal-toc to
   10476       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10477       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10478 
   10479       archive_cmds=''
   10480       hardcode_direct=yes
   10481       hardcode_direct_absolute=yes
   10482       hardcode_libdir_separator=':'
   10483       link_all_deplibs=yes
   10484       file_list_spec='$wl-f,'
   10485       case $with_aix_soname,$aix_use_runtimelinking in
   10486       aix,*) ;; # traditional, no import file
   10487       svr4,* | *,yes) # use import file
   10488 	# The Import File defines what to hardcode.
   10489 	hardcode_direct=no
   10490 	hardcode_direct_absolute=no
   10491 	;;
   10492       esac
   10493 
   10494       if test yes = "$GCC"; then
   10495 	case $host_os in aix4.[012]|aix4.[012].*)
   10496 	# We only want to do this on AIX 4.2 and lower, the check
   10497 	# below for broken collect2 doesn't work under 4.3+
   10498 	  collect2name=`$CC -print-prog-name=collect2`
   10499 	  if test -f "$collect2name" &&
   10500 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10501 	  then
   10502 	  # We have reworked collect2
   10503 	  :
   10504 	  else
   10505 	  # We have old collect2
   10506 	  hardcode_direct=unsupported
   10507 	  # It fails to find uninstalled libraries when the uninstalled
   10508 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10509 	  # to unsupported forces relinking
   10510 	  hardcode_minus_L=yes
   10511 	  hardcode_libdir_flag_spec='-L$libdir'
   10512 	  hardcode_libdir_separator=
   10513 	  fi
   10514 	  ;;
   10515 	esac
   10516 	shared_flag='-shared'
   10517 	if test yes = "$aix_use_runtimelinking"; then
   10518 	  shared_flag="$shared_flag "'$wl-G'
   10519 	fi
   10520 	# Need to ensure runtime linking is disabled for the traditional
   10521 	# shared library, or the linker may eventually find shared libraries
   10522 	# /with/ Import File - we do not want to mix them.
   10523 	shared_flag_aix='-shared'
   10524 	shared_flag_svr4='-shared $wl-G'
   10525       else
   10526 	# not using gcc
   10527 	if test ia64 = "$host_cpu"; then
   10528 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10529 	# chokes on -Wl,-G. The following line is correct:
   10530 	  shared_flag='-G'
   10531 	else
   10532 	  if test yes = "$aix_use_runtimelinking"; then
   10533 	    shared_flag='$wl-G'
   10534 	  else
   10535 	    shared_flag='$wl-bM:SRE'
   10536 	  fi
   10537 	  shared_flag_aix='$wl-bM:SRE'
   10538 	  shared_flag_svr4='$wl-G'
   10539 	fi
   10540       fi
   10541 
   10542       export_dynamic_flag_spec='$wl-bexpall'
   10543       # It seems that -bexpall does not export symbols beginning with
   10544       # underscore (_), so it is better to generate a list of symbols to export.
   10545       always_export_symbols=yes
   10546       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10547 	# Warning - without using the other runtime loading flags (-brtl),
   10548 	# -berok will link without error, but may produce a broken library.
   10549 	allow_undefined_flag='-berok'
   10550         # Determine the default libpath from the value encoded in an
   10551         # empty executable.
   10552         if test set = "${lt_cv_aix_libpath+set}"; then
   10553   aix_libpath=$lt_cv_aix_libpath
   10554 else
   10555   if test ${lt_cv_aix_libpath_+y}
   10556 then :
   10557   printf %s "(cached) " >&6
   10558 else case e in #(
   10559   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10560 /* end confdefs.h.  */
   10561 
   10562 int
   10563 main (void)
   10564 {
   10565 
   10566   ;
   10567   return 0;
   10568 }
   10569 _ACEOF
   10570 if ac_fn_c_try_link "$LINENO"
   10571 then :
   10572 
   10573   lt_aix_libpath_sed='
   10574       /Import File Strings/,/^$/ {
   10575 	  /^0/ {
   10576 	      s/^0  *\([^ ]*\) *$/\1/
   10577 	      p
   10578 	  }
   10579       }'
   10580   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10581   # Check for a 64-bit object if we didn't find anything.
   10582   if test -z "$lt_cv_aix_libpath_"; then
   10583     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10584   fi
   10585 fi
   10586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10587     conftest$ac_exeext conftest.$ac_ext
   10588   if test -z "$lt_cv_aix_libpath_"; then
   10589     lt_cv_aix_libpath_=/usr/lib:/lib
   10590   fi
   10591    ;;
   10592 esac
   10593 fi
   10594 
   10595   aix_libpath=$lt_cv_aix_libpath_
   10596 fi
   10597 
   10598         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10599         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
   10600       else
   10601 	if test ia64 = "$host_cpu"; then
   10602 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10603 	  allow_undefined_flag="-z nodefs"
   10604 	  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"
   10605 	else
   10606 	 # Determine the default libpath from the value encoded in an
   10607 	 # empty executable.
   10608 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10609   aix_libpath=$lt_cv_aix_libpath
   10610 else
   10611   if test ${lt_cv_aix_libpath_+y}
   10612 then :
   10613   printf %s "(cached) " >&6
   10614 else case e in #(
   10615   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10616 /* end confdefs.h.  */
   10617 
   10618 int
   10619 main (void)
   10620 {
   10621 
   10622   ;
   10623   return 0;
   10624 }
   10625 _ACEOF
   10626 if ac_fn_c_try_link "$LINENO"
   10627 then :
   10628 
   10629   lt_aix_libpath_sed='
   10630       /Import File Strings/,/^$/ {
   10631 	  /^0/ {
   10632 	      s/^0  *\([^ ]*\) *$/\1/
   10633 	      p
   10634 	  }
   10635       }'
   10636   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10637   # Check for a 64-bit object if we didn't find anything.
   10638   if test -z "$lt_cv_aix_libpath_"; then
   10639     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10640   fi
   10641 fi
   10642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10643     conftest$ac_exeext conftest.$ac_ext
   10644   if test -z "$lt_cv_aix_libpath_"; then
   10645     lt_cv_aix_libpath_=/usr/lib:/lib
   10646   fi
   10647    ;;
   10648 esac
   10649 fi
   10650 
   10651   aix_libpath=$lt_cv_aix_libpath_
   10652 fi
   10653 
   10654 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10655 	  # Warning - without using the other run time loading flags,
   10656 	  # -berok will link without error, but may produce a broken library.
   10657 	  no_undefined_flag=' $wl-bernotok'
   10658 	  allow_undefined_flag=' $wl-berok'
   10659 	  if test yes = "$with_gnu_ld"; then
   10660 	    # We only use this code for GNU lds that support --whole-archive.
   10661 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10662 	  else
   10663 	    # Exported symbols can be pulled into shared objects from archives
   10664 	    whole_archive_flag_spec='$convenience'
   10665 	  fi
   10666 	  archive_cmds_need_lc=yes
   10667 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10668 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10669 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10670 	  if test svr4 != "$with_aix_soname"; then
   10671 	    # This is similar to how AIX traditionally builds its shared libraries.
   10672 	    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'
   10673 	  fi
   10674 	  if test aix != "$with_aix_soname"; then
   10675 	    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'
   10676 	  else
   10677 	    # used by -dlpreopen to get the symbols
   10678 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10679 	  fi
   10680 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10681 	fi
   10682       fi
   10683       ;;
   10684 
   10685     amigaos*)
   10686       case $host_cpu in
   10687       powerpc)
   10688             # see comment about AmigaOS4 .so support
   10689             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10690             archive_expsym_cmds=''
   10691         ;;
   10692       m68k)
   10693             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)'
   10694             hardcode_libdir_flag_spec='-L$libdir'
   10695             hardcode_minus_L=yes
   10696         ;;
   10697       esac
   10698       ;;
   10699 
   10700     bsdi[45]*)
   10701       export_dynamic_flag_spec=-rdynamic
   10702       ;;
   10703 
   10704     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10705       # When not using gcc, we currently assume that we are using
   10706       # Microsoft Visual C++ or Intel C++ Compiler.
   10707       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10708       # no search path for DLLs.
   10709       case $cc_basename in
   10710       cl* | icl*)
   10711 	# Native MSVC or ICC
   10712 	hardcode_libdir_flag_spec=' '
   10713 	allow_undefined_flag=unsupported
   10714 	always_export_symbols=yes
   10715 	file_list_spec='@'
   10716 	# Tell ltmain to make .lib files, not .a files.
   10717 	libext=lib
   10718 	# Tell ltmain to make .dll files, not .so files.
   10719 	shrext_cmds=.dll
   10720 	# FIXME: Setting linknames here is a bad hack.
   10721 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10722 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10723             cp "$export_symbols" "$output_objdir/$soname.def";
   10724             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10725           else
   10726             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10727           fi~
   10728           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10729           linknames='
   10730 	# The linker will not automatically build a static lib if we build a DLL.
   10731 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10732 	enable_shared_with_static_runtimes=yes
   10733 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10734 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10735 	# Don't use ranlib
   10736 	old_postinstall_cmds='chmod 644 $oldlib'
   10737 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10738           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10739           case $lt_outputfile in
   10740             *.exe|*.EXE) ;;
   10741             *)
   10742               lt_outputfile=$lt_outputfile.exe
   10743               lt_tool_outputfile=$lt_tool_outputfile.exe
   10744               ;;
   10745           esac~
   10746           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10747             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10748             $RM "$lt_outputfile.manifest";
   10749           fi'
   10750 	;;
   10751       *)
   10752 	# Assume MSVC and ICC wrapper
   10753 	hardcode_libdir_flag_spec=' '
   10754 	allow_undefined_flag=unsupported
   10755 	# Tell ltmain to make .lib files, not .a files.
   10756 	libext=lib
   10757 	# Tell ltmain to make .dll files, not .so files.
   10758 	shrext_cmds=.dll
   10759 	# FIXME: Setting linknames here is a bad hack.
   10760 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10761 	# The linker will automatically build a .lib file if we build a DLL.
   10762 	old_archive_from_new_cmds='true'
   10763 	# FIXME: Should let the user specify the lib program.
   10764 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10765 	enable_shared_with_static_runtimes=yes
   10766 	;;
   10767       esac
   10768       ;;
   10769 
   10770     darwin* | rhapsody*)
   10771 
   10772 
   10773   archive_cmds_need_lc=no
   10774   hardcode_direct=no
   10775   hardcode_automatic=yes
   10776   hardcode_shlibpath_var=unsupported
   10777   if test yes = "$lt_cv_ld_force_load"; then
   10778     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\"`'
   10779 
   10780   else
   10781     whole_archive_flag_spec=''
   10782   fi
   10783   link_all_deplibs=yes
   10784   allow_undefined_flag=$_lt_dar_allow_undefined
   10785   case $cc_basename in
   10786      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10787      *) _lt_dar_can_shared=$GCC ;;
   10788   esac
   10789   if test yes = "$_lt_dar_can_shared"; then
   10790     output_verbose_link_cmd=func_echo_all
   10791     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10792     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10793     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"
   10794     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"
   10795 
   10796   else
   10797   ld_shlibs=no
   10798   fi
   10799 
   10800       ;;
   10801 
   10802     dgux*)
   10803       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10804       hardcode_libdir_flag_spec='-L$libdir'
   10805       hardcode_shlibpath_var=no
   10806       ;;
   10807 
   10808     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10809     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10810     # does not break anything, and helps significantly (at the cost of a little
   10811     # extra space).
   10812     freebsd2.2*)
   10813       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10814       hardcode_libdir_flag_spec='-R$libdir'
   10815       hardcode_direct=yes
   10816       hardcode_shlibpath_var=no
   10817       ;;
   10818 
   10819     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10820     freebsd2.*)
   10821       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10822       hardcode_direct=yes
   10823       hardcode_minus_L=yes
   10824       hardcode_shlibpath_var=no
   10825       ;;
   10826 
   10827     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10828     freebsd* | dragonfly* | midnightbsd*)
   10829       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10830       hardcode_libdir_flag_spec='-R$libdir'
   10831       hardcode_direct=yes
   10832       hardcode_shlibpath_var=no
   10833       ;;
   10834 
   10835     hpux9*)
   10836       if test yes = "$GCC"; then
   10837 	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'
   10838       else
   10839 	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'
   10840       fi
   10841       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10842       hardcode_libdir_separator=:
   10843       hardcode_direct=yes
   10844 
   10845       # hardcode_minus_L: Not really in the search PATH,
   10846       # but as the default location of the library.
   10847       hardcode_minus_L=yes
   10848       export_dynamic_flag_spec='$wl-E'
   10849       ;;
   10850 
   10851     hpux10*)
   10852       if test yes,no = "$GCC,$with_gnu_ld"; then
   10853 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10854       else
   10855 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10856       fi
   10857       if test no = "$with_gnu_ld"; then
   10858 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10859 	hardcode_libdir_separator=:
   10860 	hardcode_direct=yes
   10861 	hardcode_direct_absolute=yes
   10862 	export_dynamic_flag_spec='$wl-E'
   10863 	# hardcode_minus_L: Not really in the search PATH,
   10864 	# but as the default location of the library.
   10865 	hardcode_minus_L=yes
   10866       fi
   10867       ;;
   10868 
   10869     hpux11*)
   10870       if test yes,no = "$GCC,$with_gnu_ld"; then
   10871 	case $host_cpu in
   10872 	hppa*64*)
   10873 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10874 	  ;;
   10875 	ia64*)
   10876 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10877 	  ;;
   10878 	*)
   10879 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10880 	  ;;
   10881 	esac
   10882       else
   10883 	case $host_cpu in
   10884 	hppa*64*)
   10885 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10886 	  ;;
   10887 	ia64*)
   10888 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10889 	  ;;
   10890 	*)
   10891 
   10892 	  # Older versions of the 11.00 compiler do not understand -b yet
   10893 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10894 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10895 printf %s "checking if $CC understands -b... " >&6; }
   10896 if test ${lt_cv_prog_compiler__b+y}
   10897 then :
   10898   printf %s "(cached) " >&6
   10899 else case e in #(
   10900   e) lt_cv_prog_compiler__b=no
   10901    save_LDFLAGS=$LDFLAGS
   10902    LDFLAGS="$LDFLAGS -b"
   10903    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10904    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10905      # The linker can only warn and ignore the option if not recognized
   10906      # So say no if there are warnings
   10907      if test -s conftest.err; then
   10908        # Append any errors to the config.log.
   10909        cat conftest.err 1>&5
   10910        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10911        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10912        if diff conftest.exp conftest.er2 >/dev/null; then
   10913          lt_cv_prog_compiler__b=yes
   10914        fi
   10915      else
   10916        lt_cv_prog_compiler__b=yes
   10917      fi
   10918    fi
   10919    $RM -r conftest*
   10920    LDFLAGS=$save_LDFLAGS
   10921  ;;
   10922 esac
   10923 fi
   10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10925 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10926 
   10927 if test yes = "$lt_cv_prog_compiler__b"; then
   10928     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10929 else
   10930     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10931 fi
   10932 
   10933 	  ;;
   10934 	esac
   10935       fi
   10936       if test no = "$with_gnu_ld"; then
   10937 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10938 	hardcode_libdir_separator=:
   10939 
   10940 	case $host_cpu in
   10941 	hppa*64*|ia64*)
   10942 	  hardcode_direct=no
   10943 	  hardcode_shlibpath_var=no
   10944 	  ;;
   10945 	*)
   10946 	  hardcode_direct=yes
   10947 	  hardcode_direct_absolute=yes
   10948 	  export_dynamic_flag_spec='$wl-E'
   10949 
   10950 	  # hardcode_minus_L: Not really in the search PATH,
   10951 	  # but as the default location of the library.
   10952 	  hardcode_minus_L=yes
   10953 	  ;;
   10954 	esac
   10955       fi
   10956       ;;
   10957 
   10958     irix5* | irix6* | nonstopux*)
   10959       if test yes = "$GCC"; then
   10960 	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'
   10961 	# Try to use the -exported_symbol ld option, if it does not
   10962 	# work, assume that -exports_file does not work either and
   10963 	# implicitly export all symbols.
   10964 	# This should be the same for all languages, so no per-tag cache variable.
   10965 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10966 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10967 if test ${lt_cv_irix_exported_symbol+y}
   10968 then :
   10969   printf %s "(cached) " >&6
   10970 else case e in #(
   10971   e) save_LDFLAGS=$LDFLAGS
   10972 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10973 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10974 /* end confdefs.h.  */
   10975 int foo (void) { return 0; }
   10976 _ACEOF
   10977 if ac_fn_c_try_link "$LINENO"
   10978 then :
   10979   lt_cv_irix_exported_symbol=yes
   10980 else case e in #(
   10981   e) lt_cv_irix_exported_symbol=no ;;
   10982 esac
   10983 fi
   10984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10985     conftest$ac_exeext conftest.$ac_ext
   10986            LDFLAGS=$save_LDFLAGS ;;
   10987 esac
   10988 fi
   10989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10990 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10991 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10992           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'
   10993 	fi
   10994       else
   10995 	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'
   10996 	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'
   10997       fi
   10998       archive_cmds_need_lc='no'
   10999       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11000       hardcode_libdir_separator=:
   11001       inherit_rpath=yes
   11002       link_all_deplibs=yes
   11003       ;;
   11004 
   11005     linux*)
   11006       case $cc_basename in
   11007       tcc*)
   11008 	# Fabrice Bellard et al's Tiny C Compiler
   11009 	ld_shlibs=yes
   11010 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11011 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11012 	;;
   11013       esac
   11014       ;;
   11015 
   11016     *-mlibc)
   11017       ;;
   11018 
   11019     netbsd* | netbsdelf*-gnu)
   11020       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11021 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11022       else
   11023 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11024       fi
   11025       hardcode_libdir_flag_spec='-R$libdir'
   11026       hardcode_direct=yes
   11027       hardcode_shlibpath_var=no
   11028       ;;
   11029 
   11030     newsos6)
   11031       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11032       hardcode_direct=yes
   11033       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11034       hardcode_libdir_separator=:
   11035       hardcode_shlibpath_var=no
   11036       ;;
   11037 
   11038     *nto* | *qnx*)
   11039       ;;
   11040 
   11041     openbsd*)
   11042       if test -f /usr/libexec/ld.so; then
   11043 	hardcode_direct=yes
   11044 	hardcode_shlibpath_var=no
   11045 	hardcode_direct_absolute=yes
   11046 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11047 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11048 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11049 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11050 	  export_dynamic_flag_spec='$wl-E'
   11051 	else
   11052 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11053 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11054 	fi
   11055       else
   11056 	ld_shlibs=no
   11057       fi
   11058       ;;
   11059 
   11060     os2*)
   11061       hardcode_libdir_flag_spec='-L$libdir'
   11062       hardcode_minus_L=yes
   11063       allow_undefined_flag=unsupported
   11064       shrext_cmds=.dll
   11065       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11066 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11067 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11068 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11069 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11070 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11071 	emximp -o $lib $output_objdir/$libname.def'
   11072       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11073 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11074 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11075 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11076 	prefix_cmds="$SED"~
   11077 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11078 	  prefix_cmds="$prefix_cmds -e 1d";
   11079 	fi~
   11080 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11081 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11082 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11083 	emximp -o $lib $output_objdir/$libname.def'
   11084       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11085       enable_shared_with_static_runtimes=yes
   11086       file_list_spec='@'
   11087       ;;
   11088 
   11089     osf3*)
   11090       if test yes = "$GCC"; then
   11091 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11092 	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'
   11093       else
   11094 	allow_undefined_flag=' -expect_unresolved \*'
   11095 	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'
   11096       fi
   11097       archive_cmds_need_lc='no'
   11098       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11099       hardcode_libdir_separator=:
   11100       ;;
   11101 
   11102     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11103       if test yes = "$GCC"; then
   11104 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11105 	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'
   11106 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11107       else
   11108 	allow_undefined_flag=' -expect_unresolved \*'
   11109 	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'
   11110 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   11111           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
   11112 
   11113 	# Both c and cxx compiler support -rpath directly
   11114 	hardcode_libdir_flag_spec='-rpath $libdir'
   11115       fi
   11116       archive_cmds_need_lc='no'
   11117       hardcode_libdir_separator=:
   11118       ;;
   11119 
   11120     serenity*)
   11121       ;;
   11122 
   11123     solaris*)
   11124       no_undefined_flag=' -z defs'
   11125       if test yes = "$GCC"; then
   11126 	wlarc='$wl'
   11127 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11128 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11129           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11130       else
   11131 	case `$CC -V 2>&1` in
   11132 	*"Compilers 5.0"*)
   11133 	  wlarc=''
   11134 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11135 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11136             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11137 	  ;;
   11138 	*)
   11139 	  wlarc='$wl'
   11140 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11141 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11142             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11143 	  ;;
   11144 	esac
   11145       fi
   11146       hardcode_libdir_flag_spec='-R$libdir'
   11147       hardcode_shlibpath_var=no
   11148       case $host_os in
   11149       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11150       *)
   11151 	# The compiler driver will combine and reorder linker options,
   11152 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11153 	# but is careful enough not to reorder.
   11154 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11155 	if test yes = "$GCC"; then
   11156 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11157 	else
   11158 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11159 	fi
   11160 	;;
   11161       esac
   11162       link_all_deplibs=yes
   11163       ;;
   11164 
   11165     sunos4*)
   11166       if test sequent = "$host_vendor"; then
   11167 	# Use $CC to link under sequent, because it throws in some extra .o
   11168 	# files that make .init and .fini sections work.
   11169 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11170       else
   11171 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11172       fi
   11173       hardcode_libdir_flag_spec='-L$libdir'
   11174       hardcode_direct=yes
   11175       hardcode_minus_L=yes
   11176       hardcode_shlibpath_var=no
   11177       ;;
   11178 
   11179     sysv4)
   11180       case $host_vendor in
   11181 	sni)
   11182 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11183 	  hardcode_direct=yes # is this really true???
   11184 	;;
   11185 	siemens)
   11186 	  ## LD is ld it makes a PLAMLIB
   11187 	  ## CC just makes a GrossModule.
   11188 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11189 	  reload_cmds='$CC -r -o $output$reload_objs'
   11190 	  hardcode_direct=no
   11191         ;;
   11192 	motorola)
   11193 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11194 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11195 	;;
   11196       esac
   11197       runpath_var='LD_RUN_PATH'
   11198       hardcode_shlibpath_var=no
   11199       ;;
   11200 
   11201     sysv4.3*)
   11202       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11203       hardcode_shlibpath_var=no
   11204       export_dynamic_flag_spec='-Bexport'
   11205       ;;
   11206 
   11207     sysv4*MP*)
   11208       if test -d /usr/nec; then
   11209 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11210 	hardcode_shlibpath_var=no
   11211 	runpath_var=LD_RUN_PATH
   11212 	hardcode_runpath_var=yes
   11213 	ld_shlibs=yes
   11214       fi
   11215       ;;
   11216 
   11217     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11218       no_undefined_flag='$wl-z,text'
   11219       archive_cmds_need_lc=no
   11220       hardcode_shlibpath_var=no
   11221       runpath_var='LD_RUN_PATH'
   11222 
   11223       if test yes = "$GCC"; then
   11224 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11225 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11226       else
   11227 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11228 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11229       fi
   11230       ;;
   11231 
   11232     sysv5* | sco3.2v5* | sco5v6*)
   11233       # Note: We CANNOT use -z defs as we might desire, because we do not
   11234       # link with -lc, and that would cause any symbols used from libc to
   11235       # always be unresolved, which means just about no library would
   11236       # ever link correctly.  If we're not using GNU ld we use -z text
   11237       # though, which does catch some bad symbols but isn't as heavy-handed
   11238       # as -z defs.
   11239       no_undefined_flag='$wl-z,text'
   11240       allow_undefined_flag='$wl-z,nodefs'
   11241       archive_cmds_need_lc=no
   11242       hardcode_shlibpath_var=no
   11243       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11244       hardcode_libdir_separator=':'
   11245       link_all_deplibs=yes
   11246       export_dynamic_flag_spec='$wl-Bexport'
   11247       runpath_var='LD_RUN_PATH'
   11248 
   11249       if test yes = "$GCC"; then
   11250 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11251 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11252       else
   11253 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11254 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11255       fi
   11256       ;;
   11257 
   11258     uts4*)
   11259       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11260       hardcode_libdir_flag_spec='-L$libdir'
   11261       hardcode_shlibpath_var=no
   11262       ;;
   11263 
   11264     *)
   11265       ld_shlibs=no
   11266       ;;
   11267     esac
   11268 
   11269     if test sni = "$host_vendor"; then
   11270       case $host in
   11271       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11272 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11273 	;;
   11274       esac
   11275     fi
   11276   fi
   11277 
   11278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11279 printf "%s\n" "$ld_shlibs" >&6; }
   11280 test no = "$ld_shlibs" && can_build_shared=no
   11281 
   11282 with_gnu_ld=$with_gnu_ld
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 #
   11299 # Do we need to explicitly link libc?
   11300 #
   11301 case "x$archive_cmds_need_lc" in
   11302 x|xyes)
   11303   # Assume -lc should be added
   11304   archive_cmds_need_lc=yes
   11305 
   11306   if test yes,yes = "$GCC,$enable_shared"; then
   11307     case $archive_cmds in
   11308     *'~'*)
   11309       # FIXME: we may have to deal with multi-command sequences.
   11310       ;;
   11311     '$CC '*)
   11312       # Test whether the compiler implicitly links with -lc since on some
   11313       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11314       # to ld, don't add -lc before -lgcc.
   11315       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11316 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11317 if test ${lt_cv_archive_cmds_need_lc+y}
   11318 then :
   11319   printf %s "(cached) " >&6
   11320 else case e in #(
   11321   e) $RM conftest*
   11322 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11323 
   11324 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11325   (eval $ac_compile) 2>&5
   11326   ac_status=$?
   11327   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11328   test $ac_status = 0; } 2>conftest.err; then
   11329 	  soname=conftest
   11330 	  lib=conftest
   11331 	  libobjs=conftest.$ac_objext
   11332 	  deplibs=
   11333 	  wl=$lt_prog_compiler_wl
   11334 	  pic_flag=$lt_prog_compiler_pic
   11335 	  compiler_flags=-v
   11336 	  linker_flags=-v
   11337 	  verstring=
   11338 	  output_objdir=.
   11339 	  libname=conftest
   11340 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11341 	  allow_undefined_flag=
   11342 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11343   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11344   ac_status=$?
   11345   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11346   test $ac_status = 0; }
   11347 	  then
   11348 	    lt_cv_archive_cmds_need_lc=no
   11349 	  else
   11350 	    lt_cv_archive_cmds_need_lc=yes
   11351 	  fi
   11352 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11353 	else
   11354 	  cat conftest.err 1>&5
   11355 	fi
   11356 	$RM conftest*
   11357 	 ;;
   11358 esac
   11359 fi
   11360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11361 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11362       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11363       ;;
   11364     esac
   11365   fi
   11366   ;;
   11367 esac
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517 
   11518 
   11519 
   11520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11521 printf %s "checking dynamic linker characteristics... " >&6; }
   11522 
   11523 if test yes = "$GCC"; then
   11524   case $host_os in
   11525     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11526     *) lt_awk_arg='/^libraries:/' ;;
   11527   esac
   11528   case $host_os in
   11529     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11530     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11531   esac
   11532   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11533   case $lt_search_path_spec in
   11534   *\;*)
   11535     # if the path contains ";" then we assume it to be the separator
   11536     # otherwise default to the standard path separator (i.e. ":") - it is
   11537     # assumed that no part of a normal pathname contains ";" but that should
   11538     # okay in the real world where ";" in dirpaths is itself problematic.
   11539     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11540     ;;
   11541   *)
   11542     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11543     ;;
   11544   esac
   11545   # Ok, now we have the path, separated by spaces, we can step through it
   11546   # and add multilib dir if necessary...
   11547   lt_tmp_lt_search_path_spec=
   11548   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11549   # ...but if some path component already ends with the multilib dir we assume
   11550   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11551   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11552   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11553     lt_multi_os_dir=
   11554     ;;
   11555   esac
   11556   for lt_sys_path in $lt_search_path_spec; do
   11557     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11558       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11559     elif test -n "$lt_multi_os_dir"; then
   11560       test -d "$lt_sys_path" && \
   11561 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11562     fi
   11563   done
   11564   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11565 BEGIN {RS = " "; FS = "/|\n";} {
   11566   lt_foo = "";
   11567   lt_count = 0;
   11568   for (lt_i = NF; lt_i > 0; lt_i--) {
   11569     if ($lt_i != "" && $lt_i != ".") {
   11570       if ($lt_i == "..") {
   11571         lt_count++;
   11572       } else {
   11573         if (lt_count == 0) {
   11574           lt_foo = "/" $lt_i lt_foo;
   11575         } else {
   11576           lt_count--;
   11577         }
   11578       }
   11579     }
   11580   }
   11581   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11582   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11583 }'`
   11584   # AWK program above erroneously prepends '/' to C:/dos/paths
   11585   # for these hosts.
   11586   case $host_os in
   11587     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11588       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11589   esac
   11590   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11591 else
   11592   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11593 fi
   11594 library_names_spec=
   11595 libname_spec='lib$name'
   11596 soname_spec=
   11597 shrext_cmds=.so
   11598 postinstall_cmds=
   11599 postuninstall_cmds=
   11600 finish_cmds=
   11601 finish_eval=
   11602 shlibpath_var=
   11603 shlibpath_overrides_runpath=unknown
   11604 version_type=none
   11605 dynamic_linker="$host_os ld.so"
   11606 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11607 need_lib_prefix=unknown
   11608 hardcode_into_libs=no
   11609 
   11610 # when you set need_version to no, make sure it does not cause -set_version
   11611 # flags to be left without arguments
   11612 need_version=unknown
   11613 
   11614 
   11615 
   11616 case $host_os in
   11617 aix3*)
   11618   version_type=linux # correct to gnu/linux during the next big refactor
   11619   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11620   shlibpath_var=LIBPATH
   11621 
   11622   # AIX 3 has no versioning support, so we append a major version to the name.
   11623   soname_spec='$libname$release$shared_ext$major'
   11624   ;;
   11625 
   11626 aix[4-9]*)
   11627   version_type=linux # correct to gnu/linux during the next big refactor
   11628   need_lib_prefix=no
   11629   need_version=no
   11630   hardcode_into_libs=yes
   11631   if test ia64 = "$host_cpu"; then
   11632     # AIX 5 supports IA64
   11633     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11634     shlibpath_var=LD_LIBRARY_PATH
   11635   else
   11636     # With GCC up to 2.95.x, collect2 would create an import file
   11637     # for dependence libraries.  The import file would start with
   11638     # the line '#! .'.  This would cause the generated library to
   11639     # depend on '.', always an invalid library.  This was fixed in
   11640     # development snapshots of GCC prior to 3.0.
   11641     case $host_os in
   11642       aix4 | aix4.[01] | aix4.[01].*)
   11643       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11644 	   echo ' yes '
   11645 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11646 	:
   11647       else
   11648 	can_build_shared=no
   11649       fi
   11650       ;;
   11651     esac
   11652     # Using Import Files as archive members, it is possible to support
   11653     # filename-based versioning of shared library archives on AIX. While
   11654     # this would work for both with and without runtime linking, it will
   11655     # prevent static linking of such archives. So we do filename-based
   11656     # shared library versioning with .so extension only, which is used
   11657     # when both runtime linking and shared linking is enabled.
   11658     # Unfortunately, runtime linking may impact performance, so we do
   11659     # not want this to be the default eventually. Also, we use the
   11660     # versioned .so libs for executables only if there is the -brtl
   11661     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   11662     # To allow for filename-based versioning support, we need to create
   11663     # libNAME.so.V as an archive file, containing:
   11664     # *) an Import File, referring to the versioned filename of the
   11665     #    archive as well as the shared archive member, telling the
   11666     #    bitwidth (32 or 64) of that shared object, and providing the
   11667     #    list of exported symbols of that shared object, eventually
   11668     #    decorated with the 'weak' keyword
   11669     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11670     #    it being seen by the linker.
   11671     # At run time we better use the real file rather than another symlink,
   11672     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11673 
   11674     case $with_aix_soname,$aix_use_runtimelinking in
   11675     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11676     # soname into executable. Probably we can add versioning support to
   11677     # collect2, so additional links can be useful in future.
   11678     aix,yes) # traditional libtool
   11679       dynamic_linker='AIX unversionable lib.so'
   11680       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11681       # instead of lib<name>.a to let people know that these are not
   11682       # typical AIX shared libraries.
   11683       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11684       ;;
   11685     aix,no) # traditional AIX only
   11686       dynamic_linker='AIX lib.a(lib.so.V)'
   11687       # We preserve .a as extension for shared libraries through AIX4.2
   11688       # and later when we are not doing run time linking.
   11689       library_names_spec='$libname$release.a $libname.a'
   11690       soname_spec='$libname$release$shared_ext$major'
   11691       ;;
   11692     svr4,*) # full svr4 only
   11693       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11694       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11695       # We do not specify a path in Import Files, so LIBPATH fires.
   11696       shlibpath_overrides_runpath=yes
   11697       ;;
   11698     *,yes) # both, prefer svr4
   11699       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11700       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11701       # unpreferred sharedlib libNAME.a needs extra handling
   11702       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"'
   11703       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"'
   11704       # We do not specify a path in Import Files, so LIBPATH fires.
   11705       shlibpath_overrides_runpath=yes
   11706       ;;
   11707     *,no) # both, prefer aix
   11708       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11709       library_names_spec='$libname$release.a $libname.a'
   11710       soname_spec='$libname$release$shared_ext$major'
   11711       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11712       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)'
   11713       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"'
   11714       ;;
   11715     esac
   11716     shlibpath_var=LIBPATH
   11717   fi
   11718   ;;
   11719 
   11720 amigaos*)
   11721   case $host_cpu in
   11722   powerpc)
   11723     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11724     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11725     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11726     ;;
   11727   m68k)
   11728     library_names_spec='$libname.ixlibrary $libname.a'
   11729     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11730     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'
   11731     ;;
   11732   esac
   11733   ;;
   11734 
   11735 beos*)
   11736   library_names_spec='$libname$shared_ext'
   11737   dynamic_linker="$host_os ld.so"
   11738   shlibpath_var=LIBRARY_PATH
   11739   ;;
   11740 
   11741 bsdi[45]*)
   11742   version_type=linux # correct to gnu/linux during the next big refactor
   11743   need_version=no
   11744   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11745   soname_spec='$libname$release$shared_ext$major'
   11746   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11747   shlibpath_var=LD_LIBRARY_PATH
   11748   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11749   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11750   # the default ld.so.conf also contains /usr/contrib/lib and
   11751   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11752   # libtool to hard-code these into programs
   11753   ;;
   11754 
   11755 cygwin* | mingw* | windows* | pw32* | cegcc*)
   11756   version_type=windows
   11757   shrext_cmds=.dll
   11758   need_version=no
   11759   need_lib_prefix=no
   11760 
   11761   case $GCC,$cc_basename in
   11762   yes,*)
   11763     # gcc
   11764     library_names_spec='$libname.dll.a'
   11765     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11766     # If user builds GCC with multilib enabled,
   11767     # it should just install on $(libdir)
   11768     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   11769     if test xyes = x"$multilib"; then
   11770       postinstall_cmds='base_file=`basename \$file`~
   11771         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11772         dldir=$destdir/`dirname \$dlpath`~
   11773         $install_prog $dir/$dlname $destdir/$dlname~
   11774         chmod a+x $destdir/$dlname~
   11775         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11776           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   11777         fi'
   11778     else
   11779       postinstall_cmds='base_file=`basename \$file`~
   11780         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11781         dldir=$destdir/`dirname \$dlpath`~
   11782         test -d \$dldir || mkdir -p \$dldir~
   11783         $install_prog $dir/$dlname \$dldir/$dlname~
   11784         chmod a+x \$dldir/$dlname~
   11785         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11786           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11787         fi'
   11788     fi
   11789     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11790       dlpath=$dir/\$dldll~
   11791        $RM \$dlpath'
   11792     shlibpath_overrides_runpath=yes
   11793 
   11794     case $host_os in
   11795     cygwin*)
   11796       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11797       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11798 
   11799       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11800       ;;
   11801     mingw* | windows* | cegcc*)
   11802       # MinGW DLLs use traditional 'lib' prefix
   11803       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11804       ;;
   11805     pw32*)
   11806       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11807       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11808       ;;
   11809     esac
   11810     dynamic_linker='Win32 ld.exe'
   11811     ;;
   11812 
   11813   *,cl* | *,icl*)
   11814     # Native MSVC or ICC
   11815     libname_spec='$name'
   11816     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11817     library_names_spec='$libname.dll.lib'
   11818 
   11819     case $build_os in
   11820     mingw* | windows*)
   11821       sys_lib_search_path_spec=
   11822       lt_save_ifs=$IFS
   11823       IFS=';'
   11824       for lt_path in $LIB
   11825       do
   11826         IFS=$lt_save_ifs
   11827         # Let DOS variable expansion print the short 8.3 style file name.
   11828         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11829         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11830       done
   11831       IFS=$lt_save_ifs
   11832       # Convert to MSYS style.
   11833       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11834       ;;
   11835     cygwin*)
   11836       # Convert to unix form, then to dos form, then back to unix form
   11837       # but this time dos style (no spaces!) so that the unix form looks
   11838       # like /cygdrive/c/PROGRA~1:/cygdr...
   11839       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11840       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11841       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11842       ;;
   11843     *)
   11844       sys_lib_search_path_spec=$LIB
   11845       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11846         # It is most probably a Windows format PATH.
   11847         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11848       else
   11849         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11850       fi
   11851       # FIXME: find the short name or the path components, as spaces are
   11852       # common. (e.g. "Program Files" -> "PROGRA~1")
   11853       ;;
   11854     esac
   11855 
   11856     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11857     postinstall_cmds='base_file=`basename \$file`~
   11858       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11859       dldir=$destdir/`dirname \$dlpath`~
   11860       test -d \$dldir || mkdir -p \$dldir~
   11861       $install_prog $dir/$dlname \$dldir/$dlname'
   11862     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11863       dlpath=$dir/\$dldll~
   11864        $RM \$dlpath'
   11865     shlibpath_overrides_runpath=yes
   11866     dynamic_linker='Win32 link.exe'
   11867     ;;
   11868 
   11869   *)
   11870     # Assume MSVC and ICC wrapper
   11871     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11872     dynamic_linker='Win32 ld.exe'
   11873     ;;
   11874   esac
   11875   # FIXME: first we should search . and the directory the executable is in
   11876   shlibpath_var=PATH
   11877   ;;
   11878 
   11879 darwin* | rhapsody*)
   11880   dynamic_linker="$host_os dyld"
   11881   version_type=darwin
   11882   need_lib_prefix=no
   11883   need_version=no
   11884   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11885   soname_spec='$libname$release$major$shared_ext'
   11886   shlibpath_overrides_runpath=yes
   11887   shlibpath_var=DYLD_LIBRARY_PATH
   11888   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11889 
   11890   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11891   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11892   ;;
   11893 
   11894 dgux*)
   11895   version_type=linux # correct to gnu/linux during the next big refactor
   11896   need_lib_prefix=no
   11897   need_version=no
   11898   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11899   soname_spec='$libname$release$shared_ext$major'
   11900   shlibpath_var=LD_LIBRARY_PATH
   11901   ;;
   11902 
   11903 freebsd* | dragonfly* | midnightbsd*)
   11904   # DragonFly does not have aout.  When/if they implement a new
   11905   # versioning mechanism, adjust this.
   11906   if test -x /usr/bin/objformat; then
   11907     objformat=`/usr/bin/objformat`
   11908   else
   11909     case $host_os in
   11910     freebsd[23].*) objformat=aout ;;
   11911     *) objformat=elf ;;
   11912     esac
   11913   fi
   11914   version_type=freebsd-$objformat
   11915   case $version_type in
   11916     freebsd-elf*)
   11917       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11918       soname_spec='$libname$release$shared_ext$major'
   11919       need_version=no
   11920       need_lib_prefix=no
   11921       ;;
   11922     freebsd-*)
   11923       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11924       need_version=yes
   11925       ;;
   11926   esac
   11927   case $host_cpu in
   11928     powerpc64)
   11929       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   11930       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   11931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11932 /* end confdefs.h.  */
   11933 int test_pointer_size[sizeof (void *) - 5];
   11934 
   11935 _ACEOF
   11936 if ac_fn_c_try_compile "$LINENO"
   11937 then :
   11938   shlibpath_var=LD_LIBRARY_PATH
   11939 else case e in #(
   11940   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   11941 esac
   11942 fi
   11943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11944       ;;
   11945     *)
   11946       shlibpath_var=LD_LIBRARY_PATH
   11947       ;;
   11948   esac
   11949   case $host_os in
   11950   freebsd2.*)
   11951     shlibpath_overrides_runpath=yes
   11952     ;;
   11953   freebsd3.[01]* | freebsdelf3.[01]*)
   11954     shlibpath_overrides_runpath=yes
   11955     hardcode_into_libs=yes
   11956     ;;
   11957   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11958   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11959     shlibpath_overrides_runpath=no
   11960     hardcode_into_libs=yes
   11961     ;;
   11962   *) # from 4.6 on, and DragonFly
   11963     shlibpath_overrides_runpath=yes
   11964     hardcode_into_libs=yes
   11965     ;;
   11966   esac
   11967   ;;
   11968 
   11969 haiku*)
   11970   version_type=linux # correct to gnu/linux during the next big refactor
   11971   need_lib_prefix=no
   11972   need_version=no
   11973   dynamic_linker="$host_os runtime_loader"
   11974   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11975   soname_spec='$libname$release$shared_ext$major'
   11976   shlibpath_var=LIBRARY_PATH
   11977   shlibpath_overrides_runpath=no
   11978   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   11979   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   11980   hardcode_into_libs=no
   11981   ;;
   11982 
   11983 hpux9* | hpux10* | hpux11*)
   11984   # Give a soname corresponding to the major version so that dld.sl refuses to
   11985   # link against other versions.
   11986   version_type=sunos
   11987   need_lib_prefix=no
   11988   need_version=no
   11989   case $host_cpu in
   11990   ia64*)
   11991     shrext_cmds='.so'
   11992     hardcode_into_libs=yes
   11993     dynamic_linker="$host_os dld.so"
   11994     shlibpath_var=LD_LIBRARY_PATH
   11995     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11996     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11997     soname_spec='$libname$release$shared_ext$major'
   11998     if test 32 = "$HPUX_IA64_MODE"; then
   11999       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12000       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12001     else
   12002       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12003       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12004     fi
   12005     ;;
   12006   hppa*64*)
   12007     shrext_cmds='.sl'
   12008     hardcode_into_libs=yes
   12009     dynamic_linker="$host_os dld.sl"
   12010     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12011     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12012     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12013     soname_spec='$libname$release$shared_ext$major'
   12014     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12015     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12016     ;;
   12017   *)
   12018     shrext_cmds='.sl'
   12019     dynamic_linker="$host_os dld.sl"
   12020     shlibpath_var=SHLIB_PATH
   12021     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12022     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12023     soname_spec='$libname$release$shared_ext$major'
   12024     ;;
   12025   esac
   12026   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12027   postinstall_cmds='chmod 555 $lib'
   12028   # or fails outright, so override atomically:
   12029   install_override_mode=555
   12030   ;;
   12031 
   12032 interix[3-9]*)
   12033   version_type=linux # correct to gnu/linux during the next big refactor
   12034   need_lib_prefix=no
   12035   need_version=no
   12036   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12037   soname_spec='$libname$release$shared_ext$major'
   12038   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12039   shlibpath_var=LD_LIBRARY_PATH
   12040   shlibpath_overrides_runpath=no
   12041   hardcode_into_libs=yes
   12042   ;;
   12043 
   12044 irix5* | irix6* | nonstopux*)
   12045   case $host_os in
   12046     nonstopux*) version_type=nonstopux ;;
   12047     *)
   12048 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12049 		version_type=linux # correct to gnu/linux during the next big refactor
   12050 	else
   12051 		version_type=irix
   12052 	fi ;;
   12053   esac
   12054   need_lib_prefix=no
   12055   need_version=no
   12056   soname_spec='$libname$release$shared_ext$major'
   12057   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12058   case $host_os in
   12059   irix5* | nonstopux*)
   12060     libsuff= shlibsuff=
   12061     ;;
   12062   *)
   12063     case $LD in # libtool.m4 will add one of these switches to LD
   12064     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12065       libsuff= shlibsuff= libmagic=32-bit;;
   12066     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12067       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12068     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12069       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12070     *) libsuff= shlibsuff= libmagic=never-match;;
   12071     esac
   12072     ;;
   12073   esac
   12074   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12075   shlibpath_overrides_runpath=no
   12076   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12077   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12078   hardcode_into_libs=yes
   12079   ;;
   12080 
   12081 # No shared lib support for Linux oldld, aout, or coff.
   12082 linux*oldld* | linux*aout* | linux*coff*)
   12083   dynamic_linker=no
   12084   ;;
   12085 
   12086 linux*android*)
   12087   version_type=none # Android doesn't support versioned libraries.
   12088   need_lib_prefix=no
   12089   need_version=no
   12090   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12091   soname_spec='$libname$release$shared_ext'
   12092   finish_cmds=
   12093   shlibpath_var=LD_LIBRARY_PATH
   12094   shlibpath_overrides_runpath=yes
   12095 
   12096   # This implies no fast_install, which is unacceptable.
   12097   # Some rework will be needed to allow for fast_install
   12098   # before this can be enabled.
   12099   hardcode_into_libs=yes
   12100 
   12101   dynamic_linker='Android linker'
   12102   # -rpath works at least for libraries that are not overridden by
   12103   # libraries installed in system locations.
   12104   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12105   ;;
   12106 
   12107 # This must be glibc/ELF.
   12108 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12109   version_type=linux # correct to gnu/linux during the next big refactor
   12110   need_lib_prefix=no
   12111   need_version=no
   12112   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12113   soname_spec='$libname$release$shared_ext$major'
   12114   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12115   shlibpath_var=LD_LIBRARY_PATH
   12116   shlibpath_overrides_runpath=no
   12117 
   12118   # Some binutils ld are patched to set DT_RUNPATH
   12119   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12120 then :
   12121   printf %s "(cached) " >&6
   12122 else case e in #(
   12123   e) lt_cv_shlibpath_overrides_runpath=no
   12124     save_LDFLAGS=$LDFLAGS
   12125     save_libdir=$libdir
   12126     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12127 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12128     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12129 /* end confdefs.h.  */
   12130 
   12131 int
   12132 main (void)
   12133 {
   12134 
   12135   ;
   12136   return 0;
   12137 }
   12138 _ACEOF
   12139 if ac_fn_c_try_link "$LINENO"
   12140 then :
   12141   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12142 then :
   12143   lt_cv_shlibpath_overrides_runpath=yes
   12144 fi
   12145 fi
   12146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12147     conftest$ac_exeext conftest.$ac_ext
   12148     LDFLAGS=$save_LDFLAGS
   12149     libdir=$save_libdir
   12150      ;;
   12151 esac
   12152 fi
   12153 
   12154   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12155 
   12156   # This implies no fast_install, which is unacceptable.
   12157   # Some rework will be needed to allow for fast_install
   12158   # before this can be enabled.
   12159   hardcode_into_libs=yes
   12160 
   12161   # Add ABI-specific directories to the system library path.
   12162   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   12163 
   12164   # Ideally, we could use ldconfig to report *all* directories which are
   12165   # searched for libraries, however this is still not possible.  Aside from not
   12166   # being certain /sbin/ldconfig is available, command
   12167   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12168   # even though it is searched at run-time.  Try to do the best guess by
   12169   # appending ld.so.conf contents (and includes) to the search path.
   12170   if test -f /etc/ld.so.conf; then
   12171     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' ' '`
   12172     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   12173   fi
   12174 
   12175   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12176   # powerpc, because MkLinux only supported shared libraries with the
   12177   # GNU dynamic linker.  Since this was broken with cross compilers,
   12178   # most powerpc-linux boxes support dynamic linking these days and
   12179   # people can always --disable-shared, the test was removed, and we
   12180   # assume the GNU/Linux dynamic linker is in use.
   12181   dynamic_linker='GNU/Linux ld.so'
   12182   ;;
   12183 
   12184 netbsdelf*-gnu)
   12185   version_type=linux
   12186   need_lib_prefix=no
   12187   need_version=no
   12188   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12189   soname_spec='$libname$release$shared_ext$major'
   12190   shlibpath_var=LD_LIBRARY_PATH
   12191   shlibpath_overrides_runpath=no
   12192   hardcode_into_libs=yes
   12193   dynamic_linker='NetBSD ld.elf_so'
   12194   ;;
   12195 
   12196 netbsd*)
   12197   version_type=sunos
   12198   need_lib_prefix=no
   12199   need_version=no
   12200   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12201     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12202     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12203     dynamic_linker='NetBSD (a.out) ld.so'
   12204   else
   12205     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12206     soname_spec='$libname$release$shared_ext$major'
   12207     dynamic_linker='NetBSD ld.elf_so'
   12208   fi
   12209   shlibpath_var=LD_LIBRARY_PATH
   12210   shlibpath_overrides_runpath=yes
   12211   hardcode_into_libs=yes
   12212   ;;
   12213 
   12214 *-mlibc)
   12215   version_type=linux # correct to gnu/linux during the next big refactor
   12216   need_lib_prefix=no
   12217   need_version=no
   12218   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12219   soname_spec='$libname$release$shared_ext$major'
   12220   dynamic_linker='mlibc ld.so'
   12221   shlibpath_var=LD_LIBRARY_PATH
   12222   shlibpath_overrides_runpath=no
   12223   hardcode_into_libs=yes
   12224   ;;
   12225 
   12226 newsos6)
   12227   version_type=linux # correct to gnu/linux during the next big refactor
   12228   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12229   shlibpath_var=LD_LIBRARY_PATH
   12230   shlibpath_overrides_runpath=yes
   12231   ;;
   12232 
   12233 *nto* | *qnx*)
   12234   version_type=qnx
   12235   need_lib_prefix=no
   12236   need_version=no
   12237   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12238   soname_spec='$libname$release$shared_ext$major'
   12239   shlibpath_var=LD_LIBRARY_PATH
   12240   shlibpath_overrides_runpath=no
   12241   hardcode_into_libs=yes
   12242   dynamic_linker='ldqnx.so'
   12243   ;;
   12244 
   12245 openbsd*)
   12246   version_type=sunos
   12247   sys_lib_dlsearch_path_spec=/usr/lib
   12248   need_lib_prefix=no
   12249   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12250     need_version=no
   12251   else
   12252     need_version=yes
   12253   fi
   12254   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12255   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12256   shlibpath_var=LD_LIBRARY_PATH
   12257   shlibpath_overrides_runpath=yes
   12258   ;;
   12259 
   12260 os2*)
   12261   libname_spec='$name'
   12262   version_type=windows
   12263   shrext_cmds=.dll
   12264   need_version=no
   12265   need_lib_prefix=no
   12266   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12267   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12268     v=$($ECHO $release$versuffix | tr -d .-);
   12269     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12270     $ECHO $n$v`$shared_ext'
   12271   library_names_spec='${libname}_dll.$libext'
   12272   dynamic_linker='OS/2 ld.exe'
   12273   shlibpath_var=BEGINLIBPATH
   12274   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12275   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12276   postinstall_cmds='base_file=`basename \$file`~
   12277     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12278     dldir=$destdir/`dirname \$dlpath`~
   12279     test -d \$dldir || mkdir -p \$dldir~
   12280     $install_prog $dir/$dlname \$dldir/$dlname~
   12281     chmod a+x \$dldir/$dlname~
   12282     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12283       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12284     fi'
   12285   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12286     dlpath=$dir/\$dldll~
   12287     $RM \$dlpath'
   12288   ;;
   12289 
   12290 osf3* | osf4* | osf5*)
   12291   version_type=osf
   12292   need_lib_prefix=no
   12293   need_version=no
   12294   soname_spec='$libname$release$shared_ext$major'
   12295   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12296   shlibpath_var=LD_LIBRARY_PATH
   12297   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12298   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12299   ;;
   12300 
   12301 rdos*)
   12302   dynamic_linker=no
   12303   ;;
   12304 
   12305 serenity*)
   12306   version_type=linux # correct to gnu/linux during the next big refactor
   12307   need_lib_prefix=no
   12308   need_version=no
   12309   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12310   soname_spec='$libname$release$shared_ext$major'
   12311   shlibpath_var=LD_LIBRARY_PATH
   12312   shlibpath_overrides_runpath=no
   12313   dynamic_linker='SerenityOS LibELF'
   12314   ;;
   12315 
   12316 solaris*)
   12317   version_type=linux # correct to gnu/linux during the next big refactor
   12318   need_lib_prefix=no
   12319   need_version=no
   12320   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12321   soname_spec='$libname$release$shared_ext$major'
   12322   shlibpath_var=LD_LIBRARY_PATH
   12323   shlibpath_overrides_runpath=yes
   12324   hardcode_into_libs=yes
   12325   # ldd complains unless libraries are executable
   12326   postinstall_cmds='chmod +x $lib'
   12327   ;;
   12328 
   12329 sunos4*)
   12330   version_type=sunos
   12331   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12332   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12333   shlibpath_var=LD_LIBRARY_PATH
   12334   shlibpath_overrides_runpath=yes
   12335   if test yes = "$with_gnu_ld"; then
   12336     need_lib_prefix=no
   12337   fi
   12338   need_version=yes
   12339   ;;
   12340 
   12341 sysv4 | sysv4.3*)
   12342   version_type=linux # correct to gnu/linux during the next big refactor
   12343   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12344   soname_spec='$libname$release$shared_ext$major'
   12345   shlibpath_var=LD_LIBRARY_PATH
   12346   case $host_vendor in
   12347     sni)
   12348       shlibpath_overrides_runpath=no
   12349       need_lib_prefix=no
   12350       runpath_var=LD_RUN_PATH
   12351       ;;
   12352     siemens)
   12353       need_lib_prefix=no
   12354       ;;
   12355     motorola)
   12356       need_lib_prefix=no
   12357       need_version=no
   12358       shlibpath_overrides_runpath=no
   12359       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12360       ;;
   12361   esac
   12362   ;;
   12363 
   12364 sysv4*MP*)
   12365   if test -d /usr/nec; then
   12366     version_type=linux # correct to gnu/linux during the next big refactor
   12367     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12368     soname_spec='$libname$shared_ext.$major'
   12369     shlibpath_var=LD_LIBRARY_PATH
   12370   fi
   12371   ;;
   12372 
   12373 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12374   version_type=sco
   12375   need_lib_prefix=no
   12376   need_version=no
   12377   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12378   soname_spec='$libname$release$shared_ext$major'
   12379   shlibpath_var=LD_LIBRARY_PATH
   12380   shlibpath_overrides_runpath=yes
   12381   hardcode_into_libs=yes
   12382   if test yes = "$with_gnu_ld"; then
   12383     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12384   else
   12385     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12386     case $host_os in
   12387       sco3.2v5*)
   12388         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12389 	;;
   12390     esac
   12391   fi
   12392   sys_lib_dlsearch_path_spec='/usr/lib'
   12393   ;;
   12394 
   12395 tpf*)
   12396   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12397   version_type=linux # correct to gnu/linux during the next big refactor
   12398   need_lib_prefix=no
   12399   need_version=no
   12400   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12401   shlibpath_var=LD_LIBRARY_PATH
   12402   shlibpath_overrides_runpath=no
   12403   hardcode_into_libs=yes
   12404   ;;
   12405 
   12406 uts4*)
   12407   version_type=linux # correct to gnu/linux during the next big refactor
   12408   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12409   soname_spec='$libname$release$shared_ext$major'
   12410   shlibpath_var=LD_LIBRARY_PATH
   12411   ;;
   12412 
   12413 emscripten*)
   12414   version_type=none
   12415   need_lib_prefix=no
   12416   need_version=no
   12417   library_names_spec='$libname$release$shared_ext'
   12418   soname_spec='$libname$release$shared_ext'
   12419   finish_cmds=
   12420   dynamic_linker="Emscripten linker"
   12421   lt_prog_compiler_wl=
   12422 lt_prog_compiler_pic=
   12423 lt_prog_compiler_static=
   12424 
   12425 
   12426   if test yes = "$GCC"; then
   12427     lt_prog_compiler_wl='-Wl,'
   12428     lt_prog_compiler_static='-static'
   12429 
   12430     case $host_os in
   12431       aix*)
   12432       # All AIX code is PIC.
   12433       if test ia64 = "$host_cpu"; then
   12434 	# AIX 5 now supports IA64 processor
   12435 	lt_prog_compiler_static='-Bstatic'
   12436       fi
   12437       lt_prog_compiler_pic='-fPIC'
   12438       ;;
   12439 
   12440     amigaos*)
   12441       case $host_cpu in
   12442       powerpc)
   12443             # see comment about AmigaOS4 .so support
   12444             lt_prog_compiler_pic='-fPIC'
   12445         ;;
   12446       m68k)
   12447             # FIXME: we need at least 68020 code to build shared libraries, but
   12448             # adding the '-m68020' flag to GCC prevents building anything better,
   12449             # like '-m68040'.
   12450             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12451         ;;
   12452       esac
   12453       ;;
   12454 
   12455     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12456       # PIC is the default for these OSes.
   12457       ;;
   12458 
   12459     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12460       # This hack is so that the source file can tell whether it is being
   12461       # built for inclusion in a dll (and should export symbols for example).
   12462       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12463       # (--disable-auto-import) libraries
   12464       lt_prog_compiler_pic='-DDLL_EXPORT'
   12465       case $host_os in
   12466       os2*)
   12467 	lt_prog_compiler_static='$wl-static'
   12468 	;;
   12469       esac
   12470       ;;
   12471 
   12472     darwin* | rhapsody*)
   12473       # PIC is the default on this platform
   12474       # Common symbols not allowed in MH_DYLIB files
   12475       lt_prog_compiler_pic='-fno-common'
   12476       ;;
   12477 
   12478     haiku*)
   12479       # PIC is the default for Haiku.
   12480       # The "-static" flag exists, but is broken.
   12481       lt_prog_compiler_static=
   12482       ;;
   12483 
   12484     hpux*)
   12485       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12486       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12487       # sets the default TLS model and affects inlining.
   12488       case $host_cpu in
   12489       hppa*64*)
   12490 	# +Z the default
   12491 	;;
   12492       *)
   12493 	lt_prog_compiler_pic='-fPIC'
   12494 	;;
   12495       esac
   12496       ;;
   12497 
   12498     interix[3-9]*)
   12499       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12500       # Instead, we relocate shared libraries at runtime.
   12501       ;;
   12502 
   12503     msdosdjgpp*)
   12504       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12505       # on systems that don't support them.
   12506       lt_prog_compiler_can_build_shared=no
   12507       enable_shared=no
   12508       ;;
   12509 
   12510     *nto* | *qnx*)
   12511       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12512       # it will coredump.
   12513       lt_prog_compiler_pic='-fPIC -shared'
   12514       ;;
   12515 
   12516     sysv4*MP*)
   12517       if test -d /usr/nec; then
   12518 	lt_prog_compiler_pic=-Kconform_pic
   12519       fi
   12520       ;;
   12521 
   12522     *)
   12523       lt_prog_compiler_pic='-fPIC'
   12524       ;;
   12525     esac
   12526 
   12527     case $cc_basename in
   12528     nvcc*) # Cuda Compiler Driver 2.2
   12529       lt_prog_compiler_wl='-Xlinker '
   12530       if test -n "$lt_prog_compiler_pic"; then
   12531         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12532       fi
   12533       ;;
   12534     esac
   12535   else
   12536     # PORTME Check for flag to pass linker flags through the system compiler.
   12537     case $host_os in
   12538     aix*)
   12539       lt_prog_compiler_wl='-Wl,'
   12540       if test ia64 = "$host_cpu"; then
   12541 	# AIX 5 now supports IA64 processor
   12542 	lt_prog_compiler_static='-Bstatic'
   12543       else
   12544 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   12545       fi
   12546       ;;
   12547 
   12548     darwin* | rhapsody*)
   12549       # PIC is the default on this platform
   12550       # Common symbols not allowed in MH_DYLIB files
   12551       lt_prog_compiler_pic='-fno-common'
   12552       case $cc_basename in
   12553       nagfor*)
   12554         # NAG Fortran compiler
   12555         lt_prog_compiler_wl='-Wl,-Wl,,'
   12556         lt_prog_compiler_pic='-PIC'
   12557         lt_prog_compiler_static='-Bstatic'
   12558         ;;
   12559       esac
   12560       ;;
   12561 
   12562     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12563       # This hack is so that the source file can tell whether it is being
   12564       # built for inclusion in a dll (and should export symbols for example).
   12565       lt_prog_compiler_pic='-DDLL_EXPORT'
   12566       case $host_os in
   12567       os2*)
   12568 	lt_prog_compiler_static='$wl-static'
   12569 	;;
   12570       esac
   12571       ;;
   12572 
   12573     hpux9* | hpux10* | hpux11*)
   12574       lt_prog_compiler_wl='-Wl,'
   12575       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12576       # not for PA HP-UX.
   12577       case $host_cpu in
   12578       hppa*64*|ia64*)
   12579 	# +Z the default
   12580 	;;
   12581       *)
   12582 	lt_prog_compiler_pic='+Z'
   12583 	;;
   12584       esac
   12585       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12586       lt_prog_compiler_static='$wl-a ${wl}archive'
   12587       ;;
   12588 
   12589     irix5* | irix6* | nonstopux*)
   12590       lt_prog_compiler_wl='-Wl,'
   12591       # PIC (with -KPIC) is the default.
   12592       lt_prog_compiler_static='-non_shared'
   12593       ;;
   12594 
   12595     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12596       case $cc_basename in
   12597       # old Intel for x86_64, which still supported -KPIC.
   12598       ecc*)
   12599 	lt_prog_compiler_wl='-Wl,'
   12600 	lt_prog_compiler_pic='-KPIC'
   12601 	lt_prog_compiler_static='-static'
   12602         ;;
   12603       *flang* | ftn | f18* | f95*)
   12604         # Flang compiler.
   12605 	lt_prog_compiler_wl='-Wl,'
   12606 	lt_prog_compiler_pic='-fPIC'
   12607 	lt_prog_compiler_static='-static'
   12608         ;;
   12609       # icc used to be incompatible with GCC.
   12610       # ICC 10 doesn't accept -KPIC any more.
   12611       icc* | ifort*)
   12612 	lt_prog_compiler_wl='-Wl,'
   12613 	lt_prog_compiler_pic='-fPIC'
   12614 	lt_prog_compiler_static='-static'
   12615         ;;
   12616       # Lahey Fortran 8.1.
   12617       lf95*)
   12618 	lt_prog_compiler_wl='-Wl,'
   12619 	lt_prog_compiler_pic='--shared'
   12620 	lt_prog_compiler_static='--static'
   12621 	;;
   12622       nagfor*)
   12623 	# NAG Fortran compiler
   12624 	lt_prog_compiler_wl='-Wl,-Wl,,'
   12625 	lt_prog_compiler_pic='-PIC'
   12626 	lt_prog_compiler_static='-Bstatic'
   12627 	;;
   12628       tcc*)
   12629 	# Fabrice Bellard et al's Tiny C Compiler
   12630 	lt_prog_compiler_wl='-Wl,'
   12631 	lt_prog_compiler_pic='-fPIC'
   12632 	lt_prog_compiler_static='-static'
   12633 	;;
   12634       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   12635         # Portland Group compilers (*not* the Pentium gcc compiler,
   12636 	# which looks to be a dead project)
   12637 	lt_prog_compiler_wl='-Wl,'
   12638 	lt_prog_compiler_pic='-fpic'
   12639 	lt_prog_compiler_static='-Bstatic'
   12640         ;;
   12641       ccc*)
   12642         lt_prog_compiler_wl='-Wl,'
   12643         # All Alpha code is PIC.
   12644         lt_prog_compiler_static='-non_shared'
   12645         ;;
   12646       xl* | bgxl* | bgf* | mpixl*)
   12647 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   12648 	lt_prog_compiler_wl='-Wl,'
   12649 	lt_prog_compiler_pic='-qpic'
   12650 	lt_prog_compiler_static='-qstaticlink'
   12651 	;;
   12652       *)
   12653 	case `$CC -V 2>&1 | $SED 5q` in
   12654 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   12655 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   12656 	  lt_prog_compiler_pic='-KPIC'
   12657 	  lt_prog_compiler_static='-Bstatic'
   12658 	  lt_prog_compiler_wl=''
   12659 	  ;;
   12660 	*Sun\ F* | *Sun*Fortran*)
   12661 	  lt_prog_compiler_pic='-KPIC'
   12662 	  lt_prog_compiler_static='-Bstatic'
   12663 	  lt_prog_compiler_wl='-Qoption ld '
   12664 	  ;;
   12665 	*Sun\ C*)
   12666 	  # Sun C 5.9
   12667 	  lt_prog_compiler_pic='-KPIC'
   12668 	  lt_prog_compiler_static='-Bstatic'
   12669 	  lt_prog_compiler_wl='-Wl,'
   12670 	  ;;
   12671         *Intel*\ [CF]*Compiler*)
   12672 	  lt_prog_compiler_wl='-Wl,'
   12673 	  lt_prog_compiler_pic='-fPIC'
   12674 	  lt_prog_compiler_static='-static'
   12675 	  ;;
   12676 	*Portland\ Group*)
   12677 	  lt_prog_compiler_wl='-Wl,'
   12678 	  lt_prog_compiler_pic='-fpic'
   12679 	  lt_prog_compiler_static='-Bstatic'
   12680 	  ;;
   12681 	esac
   12682 	;;
   12683       esac
   12684       ;;
   12685 
   12686     newsos6)
   12687       lt_prog_compiler_pic='-KPIC'
   12688       lt_prog_compiler_static='-Bstatic'
   12689       ;;
   12690 
   12691     *-mlibc)
   12692       lt_prog_compiler_wl='-Wl,'
   12693       lt_prog_compiler_pic='-fPIC'
   12694       lt_prog_compiler_static='-static'
   12695       ;;
   12696 
   12697     *nto* | *qnx*)
   12698       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12699       # it will coredump.
   12700       lt_prog_compiler_pic='-fPIC -shared'
   12701       ;;
   12702 
   12703     osf3* | osf4* | osf5*)
   12704       lt_prog_compiler_wl='-Wl,'
   12705       # All OSF/1 code is PIC.
   12706       lt_prog_compiler_static='-non_shared'
   12707       ;;
   12708 
   12709     rdos*)
   12710       lt_prog_compiler_static='-non_shared'
   12711       ;;
   12712 
   12713     serenity*)
   12714       ;;
   12715 
   12716     solaris*)
   12717       lt_prog_compiler_pic='-KPIC'
   12718       lt_prog_compiler_static='-Bstatic'
   12719       case $cc_basename in
   12720       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   12721 	lt_prog_compiler_wl='-Qoption ld ';;
   12722       *)
   12723 	lt_prog_compiler_wl='-Wl,';;
   12724       esac
   12725       ;;
   12726 
   12727     sunos4*)
   12728       lt_prog_compiler_wl='-Qoption ld '
   12729       lt_prog_compiler_pic='-PIC'
   12730       lt_prog_compiler_static='-Bstatic'
   12731       ;;
   12732 
   12733     sysv4 | sysv4.2uw2* | sysv4.3*)
   12734       lt_prog_compiler_wl='-Wl,'
   12735       lt_prog_compiler_pic='-KPIC'
   12736       lt_prog_compiler_static='-Bstatic'
   12737       ;;
   12738 
   12739     sysv4*MP*)
   12740       if test -d /usr/nec; then
   12741 	lt_prog_compiler_pic='-Kconform_pic'
   12742 	lt_prog_compiler_static='-Bstatic'
   12743       fi
   12744       ;;
   12745 
   12746     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12747       lt_prog_compiler_wl='-Wl,'
   12748       lt_prog_compiler_pic='-KPIC'
   12749       lt_prog_compiler_static='-Bstatic'
   12750       ;;
   12751 
   12752     unicos*)
   12753       lt_prog_compiler_wl='-Wl,'
   12754       lt_prog_compiler_can_build_shared=no
   12755       ;;
   12756 
   12757     uts4*)
   12758       lt_prog_compiler_pic='-pic'
   12759       lt_prog_compiler_static='-Bstatic'
   12760       ;;
   12761 
   12762     *)
   12763       lt_prog_compiler_can_build_shared=no
   12764       ;;
   12765     esac
   12766   fi
   12767 
   12768 case $host_os in
   12769   # For platforms that do not support PIC, -DPIC is meaningless:
   12770   *djgpp*)
   12771     lt_prog_compiler_pic=
   12772     ;;
   12773   *)
   12774     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   12775     ;;
   12776 esac
   12777 
   12778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   12779 printf %s "checking for $compiler option to produce PIC... " >&6; }
   12780 if test ${lt_cv_prog_compiler_pic+y}
   12781 then :
   12782   printf %s "(cached) " >&6
   12783 else case e in #(
   12784   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   12785 esac
   12786 fi
   12787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   12788 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   12789 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   12790 
   12791 #
   12792 # Check to make sure the PIC flag actually works.
   12793 #
   12794 if test -n "$lt_prog_compiler_pic"; then
   12795   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   12796 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   12797 if test ${lt_cv_prog_compiler_pic_works+y}
   12798 then :
   12799   printf %s "(cached) " >&6
   12800 else case e in #(
   12801   e) lt_cv_prog_compiler_pic_works=no
   12802    ac_outfile=conftest.$ac_objext
   12803    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12804    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   12805    # Insert the option either (1) after the last *FLAGS variable, or
   12806    # (2) before a word containing "conftest.", or (3) at the end.
   12807    # Note that $ac_compile itself does not contain backslashes and begins
   12808    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12809    # The option is referenced via a variable to avoid confusing sed.
   12810    lt_compile=`echo "$ac_compile" | $SED \
   12811    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12812    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12813    -e 's:$: $lt_compiler_flag:'`
   12814    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   12815    (eval "$lt_compile" 2>conftest.err)
   12816    ac_status=$?
   12817    cat conftest.err >&5
   12818    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12819    if (exit $ac_status) && test -s "$ac_outfile"; then
   12820      # The compiler can only warn and ignore the option if not recognized
   12821      # So say no if there are warnings other than the usual output.
   12822      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   12823      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12824      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12825        lt_cv_prog_compiler_pic_works=yes
   12826      fi
   12827    fi
   12828    $RM conftest*
   12829  ;;
   12830 esac
   12831 fi
   12832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   12833 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   12834 
   12835 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   12836     case $lt_prog_compiler_pic in
   12837      "" | " "*) ;;
   12838      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   12839      esac
   12840 else
   12841     lt_prog_compiler_pic=
   12842      lt_prog_compiler_can_build_shared=no
   12843 fi
   12844 
   12845 fi
   12846 
   12847 
   12848 
   12849 
   12850 
   12851 #
   12852 # Check to make sure the static flag actually works.
   12853 #
   12854 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   12855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12856 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12857 if test ${lt_cv_prog_compiler_static_works+y}
   12858 then :
   12859   printf %s "(cached) " >&6
   12860 else case e in #(
   12861   e) lt_cv_prog_compiler_static_works=no
   12862    save_LDFLAGS=$LDFLAGS
   12863    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12864    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12865    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12866      # The linker can only warn and ignore the option if not recognized
   12867      # So say no if there are warnings
   12868      if test -s conftest.err; then
   12869        # Append any errors to the config.log.
   12870        cat conftest.err 1>&5
   12871        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   12872        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12873        if diff conftest.exp conftest.er2 >/dev/null; then
   12874          lt_cv_prog_compiler_static_works=yes
   12875        fi
   12876      else
   12877        lt_cv_prog_compiler_static_works=yes
   12878      fi
   12879    fi
   12880    $RM -r conftest*
   12881    LDFLAGS=$save_LDFLAGS
   12882  ;;
   12883 esac
   12884 fi
   12885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   12886 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   12887 
   12888 if test yes = "$lt_cv_prog_compiler_static_works"; then
   12889     :
   12890 else
   12891     lt_prog_compiler_static=
   12892 fi
   12893 
   12894 
   12895 
   12896 ='-fPIC'
   12897   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   12898   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'
   12899   archive_cmds_need_lc=no
   12900   no_undefined_flag=
   12901   ;;
   12902 
   12903 *)
   12904   dynamic_linker=no
   12905   ;;
   12906 esac
   12907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12908 printf "%s\n" "$dynamic_linker" >&6; }
   12909 test no = "$dynamic_linker" && can_build_shared=no
   12910 
   12911 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12912 if test yes = "$GCC"; then
   12913   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12914 fi
   12915 
   12916 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12917   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12918 fi
   12919 
   12920 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12921   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12922 fi
   12923 
   12924 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12925 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12926 
   12927 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12928 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12929 
   12930 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12931 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13030 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13031 hardcode_action=
   13032 if test -n "$hardcode_libdir_flag_spec" ||
   13033    test -n "$runpath_var" ||
   13034    test yes = "$hardcode_automatic"; then
   13035 
   13036   # We can hardcode non-existent directories.
   13037   if test no != "$hardcode_direct" &&
   13038      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13039      # have to relink, otherwise we might link with an installed library
   13040      # when we should be linking with a yet-to-be-installed one
   13041      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13042      test no != "$hardcode_minus_L"; then
   13043     # Linking always hardcodes the temporary library directory.
   13044     hardcode_action=relink
   13045   else
   13046     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13047     hardcode_action=immediate
   13048   fi
   13049 else
   13050   # We cannot hardcode anything, or else we can only hardcode existing
   13051   # directories.
   13052   hardcode_action=unsupported
   13053 fi
   13054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13055 printf "%s\n" "$hardcode_action" >&6; }
   13056 
   13057 if test relink = "$hardcode_action" ||
   13058    test yes = "$inherit_rpath"; then
   13059   # Fast installation is not supported
   13060   enable_fast_install=no
   13061 elif test yes = "$shlibpath_overrides_runpath" ||
   13062      test no = "$enable_shared"; then
   13063   # Fast installation is not necessary
   13064   enable_fast_install=needless
   13065 fi
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 
   13072   if test yes != "$enable_dlopen"; then
   13073   enable_dlopen=unknown
   13074   enable_dlopen_self=unknown
   13075   enable_dlopen_self_static=unknown
   13076 else
   13077   lt_cv_dlopen=no
   13078   lt_cv_dlopen_libs=
   13079 
   13080   case $host_os in
   13081   beos*)
   13082     lt_cv_dlopen=load_add_on
   13083     lt_cv_dlopen_libs=
   13084     lt_cv_dlopen_self=yes
   13085     ;;
   13086 
   13087   mingw* | windows* | pw32* | cegcc*)
   13088     lt_cv_dlopen=LoadLibrary
   13089     lt_cv_dlopen_libs=
   13090     ;;
   13091 
   13092   cygwin*)
   13093     lt_cv_dlopen=dlopen
   13094     lt_cv_dlopen_libs=
   13095     ;;
   13096 
   13097   darwin*)
   13098     # if libdl is installed we need to link against it
   13099     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13100 printf %s "checking for dlopen in -ldl... " >&6; }
   13101 if test ${ac_cv_lib_dl_dlopen+y}
   13102 then :
   13103   printf %s "(cached) " >&6
   13104 else case e in #(
   13105   e) ac_check_lib_save_LIBS=$LIBS
   13106 LIBS="-ldl  $LIBS"
   13107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13108 /* end confdefs.h.  */
   13109 
   13110 /* Override any GCC internal prototype to avoid an error.
   13111    Use char because int might match the return type of a GCC
   13112    builtin and then its argument prototype would still apply.
   13113    The 'extern "C"' is for builds by C++ compilers;
   13114    although this is not generally supported in C code supporting it here
   13115    has little cost and some practical benefit (sr 110532).  */
   13116 #ifdef __cplusplus
   13117 extern "C"
   13118 #endif
   13119 char dlopen (void);
   13120 int
   13121 main (void)
   13122 {
   13123 return dlopen ();
   13124   ;
   13125   return 0;
   13126 }
   13127 _ACEOF
   13128 if ac_fn_c_try_link "$LINENO"
   13129 then :
   13130   ac_cv_lib_dl_dlopen=yes
   13131 else case e in #(
   13132   e) ac_cv_lib_dl_dlopen=no ;;
   13133 esac
   13134 fi
   13135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13136     conftest$ac_exeext conftest.$ac_ext
   13137 LIBS=$ac_check_lib_save_LIBS ;;
   13138 esac
   13139 fi
   13140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13141 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13142 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13143 then :
   13144   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13145 else case e in #(
   13146   e)
   13147     lt_cv_dlopen=dyld
   13148     lt_cv_dlopen_libs=
   13149     lt_cv_dlopen_self=yes
   13150      ;;
   13151 esac
   13152 fi
   13153 
   13154     ;;
   13155 
   13156   tpf*)
   13157     # Don't try to run any link tests for TPF.  We know it's impossible
   13158     # because TPF is a cross-compiler, and we know how we open DSOs.
   13159     lt_cv_dlopen=dlopen
   13160     lt_cv_dlopen_libs=
   13161     lt_cv_dlopen_self=no
   13162     ;;
   13163 
   13164   *)
   13165     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13166 if test "x$ac_cv_func_shl_load" = xyes
   13167 then :
   13168   lt_cv_dlopen=shl_load
   13169 else case e in #(
   13170   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13171 printf %s "checking for shl_load in -ldld... " >&6; }
   13172 if test ${ac_cv_lib_dld_shl_load+y}
   13173 then :
   13174   printf %s "(cached) " >&6
   13175 else case e in #(
   13176   e) ac_check_lib_save_LIBS=$LIBS
   13177 LIBS="-ldld  $LIBS"
   13178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13179 /* end confdefs.h.  */
   13180 
   13181 /* Override any GCC internal prototype to avoid an error.
   13182    Use char because int might match the return type of a GCC
   13183    builtin and then its argument prototype would still apply.
   13184    The 'extern "C"' is for builds by C++ compilers;
   13185    although this is not generally supported in C code supporting it here
   13186    has little cost and some practical benefit (sr 110532).  */
   13187 #ifdef __cplusplus
   13188 extern "C"
   13189 #endif
   13190 char shl_load (void);
   13191 int
   13192 main (void)
   13193 {
   13194 return shl_load ();
   13195   ;
   13196   return 0;
   13197 }
   13198 _ACEOF
   13199 if ac_fn_c_try_link "$LINENO"
   13200 then :
   13201   ac_cv_lib_dld_shl_load=yes
   13202 else case e in #(
   13203   e) ac_cv_lib_dld_shl_load=no ;;
   13204 esac
   13205 fi
   13206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13207     conftest$ac_exeext conftest.$ac_ext
   13208 LIBS=$ac_check_lib_save_LIBS ;;
   13209 esac
   13210 fi
   13211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13212 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13213 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13214 then :
   13215   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13216 else case e in #(
   13217   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13218 if test "x$ac_cv_func_dlopen" = xyes
   13219 then :
   13220   lt_cv_dlopen=dlopen
   13221 else case e in #(
   13222   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13223 printf %s "checking for dlopen in -ldl... " >&6; }
   13224 if test ${ac_cv_lib_dl_dlopen+y}
   13225 then :
   13226   printf %s "(cached) " >&6
   13227 else case e in #(
   13228   e) ac_check_lib_save_LIBS=$LIBS
   13229 LIBS="-ldl  $LIBS"
   13230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13231 /* end confdefs.h.  */
   13232 
   13233 /* Override any GCC internal prototype to avoid an error.
   13234    Use char because int might match the return type of a GCC
   13235    builtin and then its argument prototype would still apply.
   13236    The 'extern "C"' is for builds by C++ compilers;
   13237    although this is not generally supported in C code supporting it here
   13238    has little cost and some practical benefit (sr 110532).  */
   13239 #ifdef __cplusplus
   13240 extern "C"
   13241 #endif
   13242 char dlopen (void);
   13243 int
   13244 main (void)
   13245 {
   13246 return dlopen ();
   13247   ;
   13248   return 0;
   13249 }
   13250 _ACEOF
   13251 if ac_fn_c_try_link "$LINENO"
   13252 then :
   13253   ac_cv_lib_dl_dlopen=yes
   13254 else case e in #(
   13255   e) ac_cv_lib_dl_dlopen=no ;;
   13256 esac
   13257 fi
   13258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13259     conftest$ac_exeext conftest.$ac_ext
   13260 LIBS=$ac_check_lib_save_LIBS ;;
   13261 esac
   13262 fi
   13263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13264 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13265 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13266 then :
   13267   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13268 else case e in #(
   13269   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13270 printf %s "checking for dlopen in -lsvld... " >&6; }
   13271 if test ${ac_cv_lib_svld_dlopen+y}
   13272 then :
   13273   printf %s "(cached) " >&6
   13274 else case e in #(
   13275   e) ac_check_lib_save_LIBS=$LIBS
   13276 LIBS="-lsvld  $LIBS"
   13277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13278 /* end confdefs.h.  */
   13279 
   13280 /* Override any GCC internal prototype to avoid an error.
   13281    Use char because int might match the return type of a GCC
   13282    builtin and then its argument prototype would still apply.
   13283    The 'extern "C"' is for builds by C++ compilers;
   13284    although this is not generally supported in C code supporting it here
   13285    has little cost and some practical benefit (sr 110532).  */
   13286 #ifdef __cplusplus
   13287 extern "C"
   13288 #endif
   13289 char dlopen (void);
   13290 int
   13291 main (void)
   13292 {
   13293 return dlopen ();
   13294   ;
   13295   return 0;
   13296 }
   13297 _ACEOF
   13298 if ac_fn_c_try_link "$LINENO"
   13299 then :
   13300   ac_cv_lib_svld_dlopen=yes
   13301 else case e in #(
   13302   e) ac_cv_lib_svld_dlopen=no ;;
   13303 esac
   13304 fi
   13305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13306     conftest$ac_exeext conftest.$ac_ext
   13307 LIBS=$ac_check_lib_save_LIBS ;;
   13308 esac
   13309 fi
   13310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13311 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13312 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13313 then :
   13314   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13315 else case e in #(
   13316   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13317 printf %s "checking for dld_link in -ldld... " >&6; }
   13318 if test ${ac_cv_lib_dld_dld_link+y}
   13319 then :
   13320   printf %s "(cached) " >&6
   13321 else case e in #(
   13322   e) ac_check_lib_save_LIBS=$LIBS
   13323 LIBS="-ldld  $LIBS"
   13324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13325 /* end confdefs.h.  */
   13326 
   13327 /* Override any GCC internal prototype to avoid an error.
   13328    Use char because int might match the return type of a GCC
   13329    builtin and then its argument prototype would still apply.
   13330    The 'extern "C"' is for builds by C++ compilers;
   13331    although this is not generally supported in C code supporting it here
   13332    has little cost and some practical benefit (sr 110532).  */
   13333 #ifdef __cplusplus
   13334 extern "C"
   13335 #endif
   13336 char dld_link (void);
   13337 int
   13338 main (void)
   13339 {
   13340 return dld_link ();
   13341   ;
   13342   return 0;
   13343 }
   13344 _ACEOF
   13345 if ac_fn_c_try_link "$LINENO"
   13346 then :
   13347   ac_cv_lib_dld_dld_link=yes
   13348 else case e in #(
   13349   e) ac_cv_lib_dld_dld_link=no ;;
   13350 esac
   13351 fi
   13352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13353     conftest$ac_exeext conftest.$ac_ext
   13354 LIBS=$ac_check_lib_save_LIBS ;;
   13355 esac
   13356 fi
   13357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13358 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13359 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13360 then :
   13361   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13362 fi
   13363 
   13364 	       ;;
   13365 esac
   13366 fi
   13367 
   13368 	     ;;
   13369 esac
   13370 fi
   13371 
   13372 	   ;;
   13373 esac
   13374 fi
   13375 
   13376 	 ;;
   13377 esac
   13378 fi
   13379 
   13380        ;;
   13381 esac
   13382 fi
   13383 
   13384     ;;
   13385   esac
   13386 
   13387   if test no = "$lt_cv_dlopen"; then
   13388     enable_dlopen=no
   13389   else
   13390     enable_dlopen=yes
   13391   fi
   13392 
   13393   case $lt_cv_dlopen in
   13394   dlopen)
   13395     save_CPPFLAGS=$CPPFLAGS
   13396     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13397 
   13398     save_LDFLAGS=$LDFLAGS
   13399     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13400 
   13401     save_LIBS=$LIBS
   13402     LIBS="$lt_cv_dlopen_libs $LIBS"
   13403 
   13404     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13405 printf %s "checking whether a program can dlopen itself... " >&6; }
   13406 if test ${lt_cv_dlopen_self+y}
   13407 then :
   13408   printf %s "(cached) " >&6
   13409 else case e in #(
   13410   e) 	  if test yes = "$cross_compiling"; then :
   13411   lt_cv_dlopen_self=cross
   13412 else
   13413   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13414   lt_status=$lt_dlunknown
   13415   cat > conftest.$ac_ext <<_LT_EOF
   13416 #line $LINENO "configure"
   13417 #include "confdefs.h"
   13418 
   13419 #if HAVE_DLFCN_H
   13420 #include <dlfcn.h>
   13421 #endif
   13422 
   13423 #include <stdio.h>
   13424 
   13425 #ifdef RTLD_GLOBAL
   13426 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13427 #else
   13428 #  ifdef DL_GLOBAL
   13429 #    define LT_DLGLOBAL		DL_GLOBAL
   13430 #  else
   13431 #    define LT_DLGLOBAL		0
   13432 #  endif
   13433 #endif
   13434 
   13435 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13436    find out it does not work in some platform. */
   13437 #ifndef LT_DLLAZY_OR_NOW
   13438 #  ifdef RTLD_LAZY
   13439 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13440 #  else
   13441 #    ifdef DL_LAZY
   13442 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13443 #    else
   13444 #      ifdef RTLD_NOW
   13445 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13446 #      else
   13447 #        ifdef DL_NOW
   13448 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13449 #        else
   13450 #          define LT_DLLAZY_OR_NOW	0
   13451 #        endif
   13452 #      endif
   13453 #    endif
   13454 #  endif
   13455 #endif
   13456 
   13457 /* When -fvisibility=hidden is used, assume the code has been annotated
   13458    correspondingly for the symbols needed.  */
   13459 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13460 int fnord (void) __attribute__((visibility("default")));
   13461 #endif
   13462 
   13463 int fnord (void) { return 42; }
   13464 int main (void)
   13465 {
   13466   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13467   int status = $lt_dlunknown;
   13468 
   13469   if (self)
   13470     {
   13471       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13472       else
   13473         {
   13474 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13475           else puts (dlerror ());
   13476 	}
   13477       /* dlclose (self); */
   13478     }
   13479   else
   13480     puts (dlerror ());
   13481 
   13482   return status;
   13483 }
   13484 _LT_EOF
   13485   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13486   (eval $ac_link) 2>&5
   13487   ac_status=$?
   13488   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13489   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13490     (./conftest; exit; ) >&5 2>/dev/null
   13491     lt_status=$?
   13492     case x$lt_status in
   13493       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13494       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13495       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13496     esac
   13497   else :
   13498     # compilation failed
   13499     lt_cv_dlopen_self=no
   13500   fi
   13501 fi
   13502 rm -fr conftest*
   13503 
   13504      ;;
   13505 esac
   13506 fi
   13507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13508 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13509 
   13510     if test yes = "$lt_cv_dlopen_self"; then
   13511       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13512       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13513 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13514 if test ${lt_cv_dlopen_self_static+y}
   13515 then :
   13516   printf %s "(cached) " >&6
   13517 else case e in #(
   13518   e) 	  if test yes = "$cross_compiling"; then :
   13519   lt_cv_dlopen_self_static=cross
   13520 else
   13521   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13522   lt_status=$lt_dlunknown
   13523   cat > conftest.$ac_ext <<_LT_EOF
   13524 #line $LINENO "configure"
   13525 #include "confdefs.h"
   13526 
   13527 #if HAVE_DLFCN_H
   13528 #include <dlfcn.h>
   13529 #endif
   13530 
   13531 #include <stdio.h>
   13532 
   13533 #ifdef RTLD_GLOBAL
   13534 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13535 #else
   13536 #  ifdef DL_GLOBAL
   13537 #    define LT_DLGLOBAL		DL_GLOBAL
   13538 #  else
   13539 #    define LT_DLGLOBAL		0
   13540 #  endif
   13541 #endif
   13542 
   13543 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13544    find out it does not work in some platform. */
   13545 #ifndef LT_DLLAZY_OR_NOW
   13546 #  ifdef RTLD_LAZY
   13547 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13548 #  else
   13549 #    ifdef DL_LAZY
   13550 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13551 #    else
   13552 #      ifdef RTLD_NOW
   13553 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13554 #      else
   13555 #        ifdef DL_NOW
   13556 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13557 #        else
   13558 #          define LT_DLLAZY_OR_NOW	0
   13559 #        endif
   13560 #      endif
   13561 #    endif
   13562 #  endif
   13563 #endif
   13564 
   13565 /* When -fvisibility=hidden is used, assume the code has been annotated
   13566    correspondingly for the symbols needed.  */
   13567 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13568 int fnord (void) __attribute__((visibility("default")));
   13569 #endif
   13570 
   13571 int fnord (void) { return 42; }
   13572 int main (void)
   13573 {
   13574   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13575   int status = $lt_dlunknown;
   13576 
   13577   if (self)
   13578     {
   13579       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13580       else
   13581         {
   13582 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13583           else puts (dlerror ());
   13584 	}
   13585       /* dlclose (self); */
   13586     }
   13587   else
   13588     puts (dlerror ());
   13589 
   13590   return status;
   13591 }
   13592 _LT_EOF
   13593   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13594   (eval $ac_link) 2>&5
   13595   ac_status=$?
   13596   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13597   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13598     (./conftest; exit; ) >&5 2>/dev/null
   13599     lt_status=$?
   13600     case x$lt_status in
   13601       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13602       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13603       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13604     esac
   13605   else :
   13606     # compilation failed
   13607     lt_cv_dlopen_self_static=no
   13608   fi
   13609 fi
   13610 rm -fr conftest*
   13611 
   13612        ;;
   13613 esac
   13614 fi
   13615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13616 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13617     fi
   13618 
   13619     CPPFLAGS=$save_CPPFLAGS
   13620     LDFLAGS=$save_LDFLAGS
   13621     LIBS=$save_LIBS
   13622     ;;
   13623   esac
   13624 
   13625   case $lt_cv_dlopen_self in
   13626   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13627   *) enable_dlopen_self=unknown ;;
   13628   esac
   13629 
   13630   case $lt_cv_dlopen_self_static in
   13631   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13632   *) enable_dlopen_self_static=unknown ;;
   13633   esac
   13634 fi
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 
   13651 
   13652 striplib=
   13653 old_striplib=
   13654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13655 printf %s "checking whether stripping libraries is possible... " >&6; }
   13656 if test -z "$STRIP"; then
   13657   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13658 printf "%s\n" "no" >&6; }
   13659 else
   13660   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13661     old_striplib="$STRIP --strip-debug"
   13662     striplib="$STRIP --strip-unneeded"
   13663     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13664 printf "%s\n" "yes" >&6; }
   13665   else
   13666     case $host_os in
   13667     darwin*)
   13668       # FIXME - insert some real tests, host_os isn't really good enough
   13669       striplib="$STRIP -x"
   13670       old_striplib="$STRIP -S"
   13671       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13672 printf "%s\n" "yes" >&6; }
   13673       ;;
   13674     freebsd*)
   13675       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13676         old_striplib="$STRIP --strip-debug"
   13677         striplib="$STRIP --strip-unneeded"
   13678         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13679 printf "%s\n" "yes" >&6; }
   13680       else
   13681         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13682 printf "%s\n" "no" >&6; }
   13683       fi
   13684       ;;
   13685     *)
   13686       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13687 printf "%s\n" "no" >&6; }
   13688       ;;
   13689     esac
   13690   fi
   13691 fi
   13692 
   13693 
   13694 
   13695 
   13696 
   13697 
   13698 
   13699 
   13700 
   13701 
   13702 
   13703 
   13704   # Report what library types will actually be built
   13705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13706 printf %s "checking if libtool supports shared libraries... " >&6; }
   13707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13708 printf "%s\n" "$can_build_shared" >&6; }
   13709 
   13710   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13711 printf %s "checking whether to build shared libraries... " >&6; }
   13712   test no = "$can_build_shared" && enable_shared=no
   13713 
   13714   # On AIX, shared libraries and static libraries use the same namespace, and
   13715   # are all built from PIC.
   13716   case $host_os in
   13717   aix3*)
   13718     test yes = "$enable_shared" && enable_static=no
   13719     if test -n "$RANLIB"; then
   13720       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13721       postinstall_cmds='$RANLIB $lib'
   13722     fi
   13723     ;;
   13724 
   13725   aix[4-9]*)
   13726     if test ia64 != "$host_cpu"; then
   13727       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13728       yes,aix,yes) ;;			# shared object as lib.so file only
   13729       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13730       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13731       esac
   13732     fi
   13733     ;;
   13734   esac
   13735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13736 printf "%s\n" "$enable_shared" >&6; }
   13737 
   13738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13739 printf %s "checking whether to build static libraries... " >&6; }
   13740   # Make sure either enable_shared or enable_static is yes.
   13741   test yes = "$enable_shared" || enable_static=yes
   13742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13743 printf "%s\n" "$enable_static" >&6; }
   13744 
   13745 
   13746 
   13747 
   13748 fi
   13749 ac_ext=c
   13750 ac_cpp='$CPP $CPPFLAGS'
   13751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13754 
   13755 CC=$lt_save_CC
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771         ac_config_commands="$ac_config_commands libtool"
   13772 
   13773 
   13774 
   13775 
   13776 # Only expand once:
   13777 
   13778 
   13779 
   13780 # Require X.Org macros 1.16 or later for XORG_MEMORY_CHECK_FLAGS
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 
   13791 
   13792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13793 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13794 if test ${ac_cv_c_undeclared_builtin_options+y}
   13795 then :
   13796   printf %s "(cached) " >&6
   13797 else case e in #(
   13798   e) ac_save_CFLAGS=$CFLAGS
   13799    ac_cv_c_undeclared_builtin_options='cannot detect'
   13800    for ac_arg in '' -fno-builtin; do
   13801      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13802      # This test program should *not* compile successfully.
   13803      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13804 /* end confdefs.h.  */
   13805 
   13806 int
   13807 main (void)
   13808 {
   13809 (void) strchr;
   13810   ;
   13811   return 0;
   13812 }
   13813 _ACEOF
   13814 if ac_fn_c_try_compile "$LINENO"
   13815 then :
   13816 
   13817 else case e in #(
   13818   e) # This test program should compile successfully.
   13819         # No library function is consistently available on
   13820         # freestanding implementations, so test against a dummy
   13821         # declaration.  Include always-available headers on the
   13822         # off chance that they somehow elicit warnings.
   13823         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13824 /* end confdefs.h.  */
   13825 #include <float.h>
   13826 #include <limits.h>
   13827 #include <stdarg.h>
   13828 #include <stddef.h>
   13829 extern void ac_decl (int, char *);
   13830 
   13831 int
   13832 main (void)
   13833 {
   13834 (void) ac_decl (0, (char *) 0);
   13835   (void) ac_decl;
   13836 
   13837   ;
   13838   return 0;
   13839 }
   13840 _ACEOF
   13841 if ac_fn_c_try_compile "$LINENO"
   13842 then :
   13843   if test x"$ac_arg" = x
   13844 then :
   13845   ac_cv_c_undeclared_builtin_options='none needed'
   13846 else case e in #(
   13847   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   13848 esac
   13849 fi
   13850           break
   13851 fi
   13852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13853 esac
   13854 fi
   13855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13856     done
   13857     CFLAGS=$ac_save_CFLAGS
   13858    ;;
   13859 esac
   13860 fi
   13861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13862 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13863   case $ac_cv_c_undeclared_builtin_options in #(
   13864   'cannot detect') :
   13865     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13866 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13867 as_fn_error $? "cannot make $CC report undeclared builtins
   13868 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   13869   'none needed') :
   13870     ac_c_undeclared_builtin_options='' ;; #(
   13871   *) :
   13872     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13873 esac
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13880 if test "x$ac_cv_have_decl___clang__" = xyes
   13881 then :
   13882   CLANGCC="yes"
   13883 else case e in #(
   13884   e) CLANGCC="no" ;;
   13885 esac
   13886 fi
   13887 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13888 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13889 then :
   13890   INTELCC="yes"
   13891 else case e in #(
   13892   e) INTELCC="no" ;;
   13893 esac
   13894 fi
   13895 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13896 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13897 then :
   13898   SUNCC="yes"
   13899 else case e in #(
   13900   e) SUNCC="no" ;;
   13901 esac
   13902 fi
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13912 	if test -n "$ac_tool_prefix"; then
   13913   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13914 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13916 printf %s "checking for $ac_word... " >&6; }
   13917 if test ${ac_cv_path_PKG_CONFIG+y}
   13918 then :
   13919   printf %s "(cached) " >&6
   13920 else case e in #(
   13921   e) case $PKG_CONFIG in
   13922   [\\/]* | ?:[\\/]*)
   13923   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13924   ;;
   13925   *)
   13926   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13927 for as_dir in $PATH
   13928 do
   13929   IFS=$as_save_IFS
   13930   case $as_dir in #(((
   13931     '') as_dir=./ ;;
   13932     */) ;;
   13933     *) as_dir=$as_dir/ ;;
   13934   esac
   13935     for ac_exec_ext in '' $ac_executable_extensions; do
   13936   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13937     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13938     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13939     break 2
   13940   fi
   13941 done
   13942   done
   13943 IFS=$as_save_IFS
   13944 
   13945   ;;
   13946 esac ;;
   13947 esac
   13948 fi
   13949 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13950 if test -n "$PKG_CONFIG"; then
   13951   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13952 printf "%s\n" "$PKG_CONFIG" >&6; }
   13953 else
   13954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13955 printf "%s\n" "no" >&6; }
   13956 fi
   13957 
   13958 
   13959 fi
   13960 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13961   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13962   # Extract the first word of "pkg-config", so it can be a program name with args.
   13963 set dummy pkg-config; ac_word=$2
   13964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13965 printf %s "checking for $ac_word... " >&6; }
   13966 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13967 then :
   13968   printf %s "(cached) " >&6
   13969 else case e in #(
   13970   e) case $ac_pt_PKG_CONFIG in
   13971   [\\/]* | ?:[\\/]*)
   13972   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13973   ;;
   13974   *)
   13975   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13976 for as_dir in $PATH
   13977 do
   13978   IFS=$as_save_IFS
   13979   case $as_dir in #(((
   13980     '') as_dir=./ ;;
   13981     */) ;;
   13982     *) as_dir=$as_dir/ ;;
   13983   esac
   13984     for ac_exec_ext in '' $ac_executable_extensions; do
   13985   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13986     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13987     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13988     break 2
   13989   fi
   13990 done
   13991   done
   13992 IFS=$as_save_IFS
   13993 
   13994   ;;
   13995 esac ;;
   13996 esac
   13997 fi
   13998 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13999 if test -n "$ac_pt_PKG_CONFIG"; then
   14000   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   14001 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   14002 else
   14003   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14004 printf "%s\n" "no" >&6; }
   14005 fi
   14006 
   14007   if test "x$ac_pt_PKG_CONFIG" = x; then
   14008     PKG_CONFIG=""
   14009   else
   14010     case $cross_compiling:$ac_tool_warned in
   14011 yes:)
   14012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14013 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14014 ac_tool_warned=yes ;;
   14015 esac
   14016     PKG_CONFIG=$ac_pt_PKG_CONFIG
   14017   fi
   14018 else
   14019   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   14020 fi
   14021 
   14022 fi
   14023 if test -n "$PKG_CONFIG"; then
   14024 	_pkg_min_version=0.9.0
   14025 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   14026 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   14027 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   14028 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14029 printf "%s\n" "yes" >&6; }
   14030 	else
   14031 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14032 printf "%s\n" "no" >&6; }
   14033 		PKG_CONFIG=""
   14034 	fi
   14035 fi
   14036 if test -z "$PKG_CONFIG"; then
   14037 	as_fn_error $? "pkg-config not found" "$LINENO" 5
   14038 fi
   14039 
   14040 
   14041 
   14042 
   14043 
   14044 # Check whether --enable-selective-werror was given.
   14045 if test ${enable_selective_werror+y}
   14046 then :
   14047   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14048 else case e in #(
   14049   e) SELECTIVE_WERROR=yes ;;
   14050 esac
   14051 fi
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14058 if test "x$SUNCC" = "xyes"; then
   14059     BASE_CFLAGS="-v"
   14060 else
   14061     BASE_CFLAGS=""
   14062 fi
   14063 
   14064 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 xorg_testset_save_CFLAGS="$CFLAGS"
   14079 
   14080 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14081 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14082 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14083 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14084 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14085 then :
   14086   printf %s "(cached) " >&6
   14087 else case e in #(
   14088   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14089 /* end confdefs.h.  */
   14090 int i;
   14091 _ACEOF
   14092 if ac_fn_c_try_compile "$LINENO"
   14093 then :
   14094   xorg_cv_cc_flag_unknown_warning_option=yes
   14095 else case e in #(
   14096   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14097 esac
   14098 fi
   14099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14100 esac
   14101 fi
   14102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14103 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14104 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14105 	CFLAGS="$xorg_testset_save_CFLAGS"
   14106 fi
   14107 
   14108 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14109 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14110 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14111 	fi
   14112 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14113 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14114 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14115 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14116 then :
   14117   printf %s "(cached) " >&6
   14118 else case e in #(
   14119   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14120 /* end confdefs.h.  */
   14121 int i;
   14122 _ACEOF
   14123 if ac_fn_c_try_compile "$LINENO"
   14124 then :
   14125   xorg_cv_cc_flag_unused_command_line_argument=yes
   14126 else case e in #(
   14127   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14128 esac
   14129 fi
   14130 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14131 esac
   14132 fi
   14133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14134 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14136 	CFLAGS="$xorg_testset_save_CFLAGS"
   14137 fi
   14138 
   14139 found="no"
   14140 
   14141 	if test $found = "no" ; then
   14142 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14144 		fi
   14145 
   14146 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14148 		fi
   14149 
   14150 		CFLAGS="$CFLAGS -Wall"
   14151 
   14152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14153 printf %s "checking if $CC supports -Wall... " >&6; }
   14154 		cacheid=xorg_cv_cc_flag__Wall
   14155 		if eval test \${$cacheid+y}
   14156 then :
   14157   printf %s "(cached) " >&6
   14158 else case e in #(
   14159   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14160 /* end confdefs.h.  */
   14161 int i;
   14162 int
   14163 main (void)
   14164 {
   14165 
   14166   ;
   14167   return 0;
   14168 }
   14169 _ACEOF
   14170 if ac_fn_c_try_link "$LINENO"
   14171 then :
   14172   eval $cacheid=yes
   14173 else case e in #(
   14174   e) eval $cacheid=no ;;
   14175 esac
   14176 fi
   14177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14178     conftest$ac_exeext conftest.$ac_ext ;;
   14179 esac
   14180 fi
   14181 
   14182 
   14183 		CFLAGS="$xorg_testset_save_CFLAGS"
   14184 
   14185 		eval supported=\$$cacheid
   14186 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14187 printf "%s\n" "$supported" >&6; }
   14188 		if test "$supported" = "yes" ; then
   14189 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14190 			found="yes"
   14191 		fi
   14192 	fi
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 
   14208 xorg_testset_save_CFLAGS="$CFLAGS"
   14209 
   14210 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14211 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14212 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14213 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14214 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14215 then :
   14216   printf %s "(cached) " >&6
   14217 else case e in #(
   14218   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14219 /* end confdefs.h.  */
   14220 int i;
   14221 _ACEOF
   14222 if ac_fn_c_try_compile "$LINENO"
   14223 then :
   14224   xorg_cv_cc_flag_unknown_warning_option=yes
   14225 else case e in #(
   14226   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14227 esac
   14228 fi
   14229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14230 esac
   14231 fi
   14232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14233 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14234 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14235 	CFLAGS="$xorg_testset_save_CFLAGS"
   14236 fi
   14237 
   14238 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14239 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14240 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14241 	fi
   14242 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14243 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14244 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14245 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14246 then :
   14247   printf %s "(cached) " >&6
   14248 else case e in #(
   14249   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14250 /* end confdefs.h.  */
   14251 int i;
   14252 _ACEOF
   14253 if ac_fn_c_try_compile "$LINENO"
   14254 then :
   14255   xorg_cv_cc_flag_unused_command_line_argument=yes
   14256 else case e in #(
   14257   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14258 esac
   14259 fi
   14260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14261 esac
   14262 fi
   14263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14264 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14265 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14266 	CFLAGS="$xorg_testset_save_CFLAGS"
   14267 fi
   14268 
   14269 found="no"
   14270 
   14271 	if test $found = "no" ; then
   14272 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14273 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14274 		fi
   14275 
   14276 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14277 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14278 		fi
   14279 
   14280 		CFLAGS="$CFLAGS -Wpointer-arith"
   14281 
   14282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14283 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14284 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14285 		if eval test \${$cacheid+y}
   14286 then :
   14287   printf %s "(cached) " >&6
   14288 else case e in #(
   14289   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14290 /* end confdefs.h.  */
   14291 int i;
   14292 int
   14293 main (void)
   14294 {
   14295 
   14296   ;
   14297   return 0;
   14298 }
   14299 _ACEOF
   14300 if ac_fn_c_try_link "$LINENO"
   14301 then :
   14302   eval $cacheid=yes
   14303 else case e in #(
   14304   e) eval $cacheid=no ;;
   14305 esac
   14306 fi
   14307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14308     conftest$ac_exeext conftest.$ac_ext ;;
   14309 esac
   14310 fi
   14311 
   14312 
   14313 		CFLAGS="$xorg_testset_save_CFLAGS"
   14314 
   14315 		eval supported=\$$cacheid
   14316 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14317 printf "%s\n" "$supported" >&6; }
   14318 		if test "$supported" = "yes" ; then
   14319 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14320 			found="yes"
   14321 		fi
   14322 	fi
   14323 
   14324 
   14325 
   14326 
   14327 
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 xorg_testset_save_CFLAGS="$CFLAGS"
   14339 
   14340 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14341 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14343 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14344 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14345 then :
   14346   printf %s "(cached) " >&6
   14347 else case e in #(
   14348   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14349 /* end confdefs.h.  */
   14350 int i;
   14351 _ACEOF
   14352 if ac_fn_c_try_compile "$LINENO"
   14353 then :
   14354   xorg_cv_cc_flag_unknown_warning_option=yes
   14355 else case e in #(
   14356   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14357 esac
   14358 fi
   14359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14360 esac
   14361 fi
   14362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14363 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14364 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14365 	CFLAGS="$xorg_testset_save_CFLAGS"
   14366 fi
   14367 
   14368 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14369 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14370 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14371 	fi
   14372 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14374 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14375 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14376 then :
   14377   printf %s "(cached) " >&6
   14378 else case e in #(
   14379   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14380 /* end confdefs.h.  */
   14381 int i;
   14382 _ACEOF
   14383 if ac_fn_c_try_compile "$LINENO"
   14384 then :
   14385   xorg_cv_cc_flag_unused_command_line_argument=yes
   14386 else case e in #(
   14387   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14388 esac
   14389 fi
   14390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14391 esac
   14392 fi
   14393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14394 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14395 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14396 	CFLAGS="$xorg_testset_save_CFLAGS"
   14397 fi
   14398 
   14399 found="no"
   14400 
   14401 	if test $found = "no" ; then
   14402 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14404 		fi
   14405 
   14406 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14408 		fi
   14409 
   14410 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14411 
   14412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14413 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14414 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14415 		if eval test \${$cacheid+y}
   14416 then :
   14417   printf %s "(cached) " >&6
   14418 else case e in #(
   14419   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14420 /* end confdefs.h.  */
   14421 int i;
   14422 int
   14423 main (void)
   14424 {
   14425 
   14426   ;
   14427   return 0;
   14428 }
   14429 _ACEOF
   14430 if ac_fn_c_try_link "$LINENO"
   14431 then :
   14432   eval $cacheid=yes
   14433 else case e in #(
   14434   e) eval $cacheid=no ;;
   14435 esac
   14436 fi
   14437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14438     conftest$ac_exeext conftest.$ac_ext ;;
   14439 esac
   14440 fi
   14441 
   14442 
   14443 		CFLAGS="$xorg_testset_save_CFLAGS"
   14444 
   14445 		eval supported=\$$cacheid
   14446 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14447 printf "%s\n" "$supported" >&6; }
   14448 		if test "$supported" = "yes" ; then
   14449 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14450 			found="yes"
   14451 		fi
   14452 	fi
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 
   14459 
   14460 
   14461 
   14462 
   14463 
   14464 
   14465 
   14466 
   14467 
   14468 xorg_testset_save_CFLAGS="$CFLAGS"
   14469 
   14470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14471 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14473 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14474 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14475 then :
   14476   printf %s "(cached) " >&6
   14477 else case e in #(
   14478   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14479 /* end confdefs.h.  */
   14480 int i;
   14481 _ACEOF
   14482 if ac_fn_c_try_compile "$LINENO"
   14483 then :
   14484   xorg_cv_cc_flag_unknown_warning_option=yes
   14485 else case e in #(
   14486   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14487 esac
   14488 fi
   14489 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14490 esac
   14491 fi
   14492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14493 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14494 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14495 	CFLAGS="$xorg_testset_save_CFLAGS"
   14496 fi
   14497 
   14498 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14499 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14500 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14501 	fi
   14502 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14503 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14504 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14505 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14506 then :
   14507   printf %s "(cached) " >&6
   14508 else case e in #(
   14509   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14510 /* end confdefs.h.  */
   14511 int i;
   14512 _ACEOF
   14513 if ac_fn_c_try_compile "$LINENO"
   14514 then :
   14515   xorg_cv_cc_flag_unused_command_line_argument=yes
   14516 else case e in #(
   14517   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14518 esac
   14519 fi
   14520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14521 esac
   14522 fi
   14523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14524 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14525 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14526 	CFLAGS="$xorg_testset_save_CFLAGS"
   14527 fi
   14528 
   14529 found="no"
   14530 
   14531 	if test $found = "no" ; then
   14532 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14533 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14534 		fi
   14535 
   14536 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14537 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14538 		fi
   14539 
   14540 		CFLAGS="$CFLAGS -Wformat=2"
   14541 
   14542 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14543 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14544 		cacheid=xorg_cv_cc_flag__Wformat_2
   14545 		if eval test \${$cacheid+y}
   14546 then :
   14547   printf %s "(cached) " >&6
   14548 else case e in #(
   14549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14550 /* end confdefs.h.  */
   14551 int i;
   14552 int
   14553 main (void)
   14554 {
   14555 
   14556   ;
   14557   return 0;
   14558 }
   14559 _ACEOF
   14560 if ac_fn_c_try_link "$LINENO"
   14561 then :
   14562   eval $cacheid=yes
   14563 else case e in #(
   14564   e) eval $cacheid=no ;;
   14565 esac
   14566 fi
   14567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14568     conftest$ac_exeext conftest.$ac_ext ;;
   14569 esac
   14570 fi
   14571 
   14572 
   14573 		CFLAGS="$xorg_testset_save_CFLAGS"
   14574 
   14575 		eval supported=\$$cacheid
   14576 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14577 printf "%s\n" "$supported" >&6; }
   14578 		if test "$supported" = "yes" ; then
   14579 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14580 			found="yes"
   14581 		fi
   14582 	fi
   14583 
   14584 	if test $found = "no" ; then
   14585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14587 		fi
   14588 
   14589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14591 		fi
   14592 
   14593 		CFLAGS="$CFLAGS -Wformat"
   14594 
   14595 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14596 printf %s "checking if $CC supports -Wformat... " >&6; }
   14597 		cacheid=xorg_cv_cc_flag__Wformat
   14598 		if eval test \${$cacheid+y}
   14599 then :
   14600   printf %s "(cached) " >&6
   14601 else case e in #(
   14602   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14603 /* end confdefs.h.  */
   14604 int i;
   14605 int
   14606 main (void)
   14607 {
   14608 
   14609   ;
   14610   return 0;
   14611 }
   14612 _ACEOF
   14613 if ac_fn_c_try_link "$LINENO"
   14614 then :
   14615   eval $cacheid=yes
   14616 else case e in #(
   14617   e) eval $cacheid=no ;;
   14618 esac
   14619 fi
   14620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14621     conftest$ac_exeext conftest.$ac_ext ;;
   14622 esac
   14623 fi
   14624 
   14625 
   14626 		CFLAGS="$xorg_testset_save_CFLAGS"
   14627 
   14628 		eval supported=\$$cacheid
   14629 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14630 printf "%s\n" "$supported" >&6; }
   14631 		if test "$supported" = "yes" ; then
   14632 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14633 			found="yes"
   14634 		fi
   14635 	fi
   14636 
   14637 
   14638 
   14639 
   14640 
   14641 
   14642 
   14643 
   14644 
   14645 
   14646 
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 xorg_testset_save_CFLAGS="$CFLAGS"
   14654 
   14655 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14656 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14657 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14658 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14659 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14660 then :
   14661   printf %s "(cached) " >&6
   14662 else case e in #(
   14663   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14664 /* end confdefs.h.  */
   14665 int i;
   14666 _ACEOF
   14667 if ac_fn_c_try_compile "$LINENO"
   14668 then :
   14669   xorg_cv_cc_flag_unknown_warning_option=yes
   14670 else case e in #(
   14671   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14672 esac
   14673 fi
   14674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14675 esac
   14676 fi
   14677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14678 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14679 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14680 	CFLAGS="$xorg_testset_save_CFLAGS"
   14681 fi
   14682 
   14683 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14684 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14685 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14686 	fi
   14687 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14688 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14689 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14690 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14691 then :
   14692   printf %s "(cached) " >&6
   14693 else case e in #(
   14694   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14695 /* end confdefs.h.  */
   14696 int i;
   14697 _ACEOF
   14698 if ac_fn_c_try_compile "$LINENO"
   14699 then :
   14700   xorg_cv_cc_flag_unused_command_line_argument=yes
   14701 else case e in #(
   14702   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14703 esac
   14704 fi
   14705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14706 esac
   14707 fi
   14708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14709 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14710 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14711 	CFLAGS="$xorg_testset_save_CFLAGS"
   14712 fi
   14713 
   14714 found="no"
   14715 
   14716 	if test $found = "no" ; then
   14717 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14718 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14719 		fi
   14720 
   14721 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14722 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14723 		fi
   14724 
   14725 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14726 
   14727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14728 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14729 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14730 		if eval test \${$cacheid+y}
   14731 then :
   14732   printf %s "(cached) " >&6
   14733 else case e in #(
   14734   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14735 /* end confdefs.h.  */
   14736 int i;
   14737 int
   14738 main (void)
   14739 {
   14740 
   14741   ;
   14742   return 0;
   14743 }
   14744 _ACEOF
   14745 if ac_fn_c_try_link "$LINENO"
   14746 then :
   14747   eval $cacheid=yes
   14748 else case e in #(
   14749   e) eval $cacheid=no ;;
   14750 esac
   14751 fi
   14752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14753     conftest$ac_exeext conftest.$ac_ext ;;
   14754 esac
   14755 fi
   14756 
   14757 
   14758 		CFLAGS="$xorg_testset_save_CFLAGS"
   14759 
   14760 		eval supported=\$$cacheid
   14761 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14762 printf "%s\n" "$supported" >&6; }
   14763 		if test "$supported" = "yes" ; then
   14764 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14765 			found="yes"
   14766 		fi
   14767 	fi
   14768 
   14769 
   14770 
   14771 
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 xorg_testset_save_CFLAGS="$CFLAGS"
   14784 
   14785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14787 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14788 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14789 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14790 then :
   14791   printf %s "(cached) " >&6
   14792 else case e in #(
   14793   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14794 /* end confdefs.h.  */
   14795 int i;
   14796 _ACEOF
   14797 if ac_fn_c_try_compile "$LINENO"
   14798 then :
   14799   xorg_cv_cc_flag_unknown_warning_option=yes
   14800 else case e in #(
   14801   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14802 esac
   14803 fi
   14804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14805 esac
   14806 fi
   14807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14808 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14810 	CFLAGS="$xorg_testset_save_CFLAGS"
   14811 fi
   14812 
   14813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14816 	fi
   14817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14819 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14820 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14821 then :
   14822   printf %s "(cached) " >&6
   14823 else case e in #(
   14824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14825 /* end confdefs.h.  */
   14826 int i;
   14827 _ACEOF
   14828 if ac_fn_c_try_compile "$LINENO"
   14829 then :
   14830   xorg_cv_cc_flag_unused_command_line_argument=yes
   14831 else case e in #(
   14832   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14833 esac
   14834 fi
   14835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14836 esac
   14837 fi
   14838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14839 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14841 	CFLAGS="$xorg_testset_save_CFLAGS"
   14842 fi
   14843 
   14844 found="no"
   14845 
   14846 	if test $found = "no" ; then
   14847 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14849 		fi
   14850 
   14851 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14853 		fi
   14854 
   14855 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14856 
   14857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14858 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14859 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14860 		if eval test \${$cacheid+y}
   14861 then :
   14862   printf %s "(cached) " >&6
   14863 else case e in #(
   14864   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14865 /* end confdefs.h.  */
   14866 int i;
   14867 int
   14868 main (void)
   14869 {
   14870 
   14871   ;
   14872   return 0;
   14873 }
   14874 _ACEOF
   14875 if ac_fn_c_try_link "$LINENO"
   14876 then :
   14877   eval $cacheid=yes
   14878 else case e in #(
   14879   e) eval $cacheid=no ;;
   14880 esac
   14881 fi
   14882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14883     conftest$ac_exeext conftest.$ac_ext ;;
   14884 esac
   14885 fi
   14886 
   14887 
   14888 		CFLAGS="$xorg_testset_save_CFLAGS"
   14889 
   14890 		eval supported=\$$cacheid
   14891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14892 printf "%s\n" "$supported" >&6; }
   14893 		if test "$supported" = "yes" ; then
   14894 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14895 			found="yes"
   14896 		fi
   14897 	fi
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 xorg_testset_save_CFLAGS="$CFLAGS"
   14914 
   14915 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14916 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14917 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14918 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14919 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14920 then :
   14921   printf %s "(cached) " >&6
   14922 else case e in #(
   14923   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14924 /* end confdefs.h.  */
   14925 int i;
   14926 _ACEOF
   14927 if ac_fn_c_try_compile "$LINENO"
   14928 then :
   14929   xorg_cv_cc_flag_unknown_warning_option=yes
   14930 else case e in #(
   14931   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14932 esac
   14933 fi
   14934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14935 esac
   14936 fi
   14937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14938 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14940 	CFLAGS="$xorg_testset_save_CFLAGS"
   14941 fi
   14942 
   14943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14946 	fi
   14947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14948 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14949 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14950 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14951 then :
   14952   printf %s "(cached) " >&6
   14953 else case e in #(
   14954   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14955 /* end confdefs.h.  */
   14956 int i;
   14957 _ACEOF
   14958 if ac_fn_c_try_compile "$LINENO"
   14959 then :
   14960   xorg_cv_cc_flag_unused_command_line_argument=yes
   14961 else case e in #(
   14962   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14963 esac
   14964 fi
   14965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14966 esac
   14967 fi
   14968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14969 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14971 	CFLAGS="$xorg_testset_save_CFLAGS"
   14972 fi
   14973 
   14974 found="no"
   14975 
   14976 	if test $found = "no" ; then
   14977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14979 		fi
   14980 
   14981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14983 		fi
   14984 
   14985 		CFLAGS="$CFLAGS -Wnested-externs"
   14986 
   14987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14988 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14989 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14990 		if eval test \${$cacheid+y}
   14991 then :
   14992   printf %s "(cached) " >&6
   14993 else case e in #(
   14994   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14995 /* end confdefs.h.  */
   14996 int i;
   14997 int
   14998 main (void)
   14999 {
   15000 
   15001   ;
   15002   return 0;
   15003 }
   15004 _ACEOF
   15005 if ac_fn_c_try_link "$LINENO"
   15006 then :
   15007   eval $cacheid=yes
   15008 else case e in #(
   15009   e) eval $cacheid=no ;;
   15010 esac
   15011 fi
   15012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15013     conftest$ac_exeext conftest.$ac_ext ;;
   15014 esac
   15015 fi
   15016 
   15017 
   15018 		CFLAGS="$xorg_testset_save_CFLAGS"
   15019 
   15020 		eval supported=\$$cacheid
   15021 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15022 printf "%s\n" "$supported" >&6; }
   15023 		if test "$supported" = "yes" ; then
   15024 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   15025 			found="yes"
   15026 		fi
   15027 	fi
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 xorg_testset_save_CFLAGS="$CFLAGS"
   15044 
   15045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15047 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15048 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15049 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15050 then :
   15051   printf %s "(cached) " >&6
   15052 else case e in #(
   15053   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15054 /* end confdefs.h.  */
   15055 int i;
   15056 _ACEOF
   15057 if ac_fn_c_try_compile "$LINENO"
   15058 then :
   15059   xorg_cv_cc_flag_unknown_warning_option=yes
   15060 else case e in #(
   15061   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15062 esac
   15063 fi
   15064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15065 esac
   15066 fi
   15067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15068 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15070 	CFLAGS="$xorg_testset_save_CFLAGS"
   15071 fi
   15072 
   15073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15076 	fi
   15077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15079 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15080 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15081 then :
   15082   printf %s "(cached) " >&6
   15083 else case e in #(
   15084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15085 /* end confdefs.h.  */
   15086 int i;
   15087 _ACEOF
   15088 if ac_fn_c_try_compile "$LINENO"
   15089 then :
   15090   xorg_cv_cc_flag_unused_command_line_argument=yes
   15091 else case e in #(
   15092   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15093 esac
   15094 fi
   15095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15096 esac
   15097 fi
   15098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15099 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15100 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15101 	CFLAGS="$xorg_testset_save_CFLAGS"
   15102 fi
   15103 
   15104 found="no"
   15105 
   15106 	if test $found = "no" ; then
   15107 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15108 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15109 		fi
   15110 
   15111 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15112 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15113 		fi
   15114 
   15115 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15116 
   15117 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15118 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15119 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15120 		if eval test \${$cacheid+y}
   15121 then :
   15122   printf %s "(cached) " >&6
   15123 else case e in #(
   15124   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15125 /* end confdefs.h.  */
   15126 int i;
   15127 int
   15128 main (void)
   15129 {
   15130 
   15131   ;
   15132   return 0;
   15133 }
   15134 _ACEOF
   15135 if ac_fn_c_try_link "$LINENO"
   15136 then :
   15137   eval $cacheid=yes
   15138 else case e in #(
   15139   e) eval $cacheid=no ;;
   15140 esac
   15141 fi
   15142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15143     conftest$ac_exeext conftest.$ac_ext ;;
   15144 esac
   15145 fi
   15146 
   15147 
   15148 		CFLAGS="$xorg_testset_save_CFLAGS"
   15149 
   15150 		eval supported=\$$cacheid
   15151 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15152 printf "%s\n" "$supported" >&6; }
   15153 		if test "$supported" = "yes" ; then
   15154 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15155 			found="yes"
   15156 		fi
   15157 	fi
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 
   15168 
   15169 
   15170 
   15171 
   15172 
   15173 xorg_testset_save_CFLAGS="$CFLAGS"
   15174 
   15175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15178 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15179 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15180 then :
   15181   printf %s "(cached) " >&6
   15182 else case e in #(
   15183   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15184 /* end confdefs.h.  */
   15185 int i;
   15186 _ACEOF
   15187 if ac_fn_c_try_compile "$LINENO"
   15188 then :
   15189   xorg_cv_cc_flag_unknown_warning_option=yes
   15190 else case e in #(
   15191   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15192 esac
   15193 fi
   15194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15195 esac
   15196 fi
   15197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15198 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15199 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15200 	CFLAGS="$xorg_testset_save_CFLAGS"
   15201 fi
   15202 
   15203 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15204 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15205 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15206 	fi
   15207 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15208 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15209 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15210 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15211 then :
   15212   printf %s "(cached) " >&6
   15213 else case e in #(
   15214   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15215 /* end confdefs.h.  */
   15216 int i;
   15217 _ACEOF
   15218 if ac_fn_c_try_compile "$LINENO"
   15219 then :
   15220   xorg_cv_cc_flag_unused_command_line_argument=yes
   15221 else case e in #(
   15222   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15223 esac
   15224 fi
   15225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15226 esac
   15227 fi
   15228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15229 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15231 	CFLAGS="$xorg_testset_save_CFLAGS"
   15232 fi
   15233 
   15234 found="no"
   15235 
   15236 	if test $found = "no" ; then
   15237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15239 		fi
   15240 
   15241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15243 		fi
   15244 
   15245 		CFLAGS="$CFLAGS -Wold-style-definition"
   15246 
   15247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15248 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15249 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15250 		if eval test \${$cacheid+y}
   15251 then :
   15252   printf %s "(cached) " >&6
   15253 else case e in #(
   15254   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15255 /* end confdefs.h.  */
   15256 int i;
   15257 int
   15258 main (void)
   15259 {
   15260 
   15261   ;
   15262   return 0;
   15263 }
   15264 _ACEOF
   15265 if ac_fn_c_try_link "$LINENO"
   15266 then :
   15267   eval $cacheid=yes
   15268 else case e in #(
   15269   e) eval $cacheid=no ;;
   15270 esac
   15271 fi
   15272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15273     conftest$ac_exeext conftest.$ac_ext ;;
   15274 esac
   15275 fi
   15276 
   15277 
   15278 		CFLAGS="$xorg_testset_save_CFLAGS"
   15279 
   15280 		eval supported=\$$cacheid
   15281 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15282 printf "%s\n" "$supported" >&6; }
   15283 		if test "$supported" = "yes" ; then
   15284 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15285 			found="yes"
   15286 		fi
   15287 	fi
   15288 
   15289 	if test $found = "no" ; then
   15290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15292 		fi
   15293 
   15294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15296 		fi
   15297 
   15298 		CFLAGS="$CFLAGS -fd"
   15299 
   15300 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15301 printf %s "checking if $CC supports -fd... " >&6; }
   15302 		cacheid=xorg_cv_cc_flag__fd
   15303 		if eval test \${$cacheid+y}
   15304 then :
   15305   printf %s "(cached) " >&6
   15306 else case e in #(
   15307   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15308 /* end confdefs.h.  */
   15309 int i;
   15310 int
   15311 main (void)
   15312 {
   15313 
   15314   ;
   15315   return 0;
   15316 }
   15317 _ACEOF
   15318 if ac_fn_c_try_link "$LINENO"
   15319 then :
   15320   eval $cacheid=yes
   15321 else case e in #(
   15322   e) eval $cacheid=no ;;
   15323 esac
   15324 fi
   15325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15326     conftest$ac_exeext conftest.$ac_ext ;;
   15327 esac
   15328 fi
   15329 
   15330 
   15331 		CFLAGS="$xorg_testset_save_CFLAGS"
   15332 
   15333 		eval supported=\$$cacheid
   15334 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15335 printf "%s\n" "$supported" >&6; }
   15336 		if test "$supported" = "yes" ; then
   15337 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15338 			found="yes"
   15339 		fi
   15340 	fi
   15341 
   15342 
   15343 
   15344 
   15345 
   15346 # This chunk adds additional warnings that could catch undesired effects.
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 
   15356 
   15357 
   15358 
   15359 
   15360 xorg_testset_save_CFLAGS="$CFLAGS"
   15361 
   15362 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15363 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15364 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15365 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15366 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15367 then :
   15368   printf %s "(cached) " >&6
   15369 else case e in #(
   15370   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15371 /* end confdefs.h.  */
   15372 int i;
   15373 _ACEOF
   15374 if ac_fn_c_try_compile "$LINENO"
   15375 then :
   15376   xorg_cv_cc_flag_unknown_warning_option=yes
   15377 else case e in #(
   15378   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15379 esac
   15380 fi
   15381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15382 esac
   15383 fi
   15384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15385 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15387 	CFLAGS="$xorg_testset_save_CFLAGS"
   15388 fi
   15389 
   15390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15393 	fi
   15394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15395 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15396 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15397 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15398 then :
   15399   printf %s "(cached) " >&6
   15400 else case e in #(
   15401   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15402 /* end confdefs.h.  */
   15403 int i;
   15404 _ACEOF
   15405 if ac_fn_c_try_compile "$LINENO"
   15406 then :
   15407   xorg_cv_cc_flag_unused_command_line_argument=yes
   15408 else case e in #(
   15409   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15410 esac
   15411 fi
   15412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15413 esac
   15414 fi
   15415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15416 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15418 	CFLAGS="$xorg_testset_save_CFLAGS"
   15419 fi
   15420 
   15421 found="no"
   15422 
   15423 	if test $found = "no" ; then
   15424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15426 		fi
   15427 
   15428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15430 		fi
   15431 
   15432 		CFLAGS="$CFLAGS -Wunused"
   15433 
   15434 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15435 printf %s "checking if $CC supports -Wunused... " >&6; }
   15436 		cacheid=xorg_cv_cc_flag__Wunused
   15437 		if eval test \${$cacheid+y}
   15438 then :
   15439   printf %s "(cached) " >&6
   15440 else case e in #(
   15441   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15442 /* end confdefs.h.  */
   15443 int i;
   15444 int
   15445 main (void)
   15446 {
   15447 
   15448   ;
   15449   return 0;
   15450 }
   15451 _ACEOF
   15452 if ac_fn_c_try_link "$LINENO"
   15453 then :
   15454   eval $cacheid=yes
   15455 else case e in #(
   15456   e) eval $cacheid=no ;;
   15457 esac
   15458 fi
   15459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15460     conftest$ac_exeext conftest.$ac_ext ;;
   15461 esac
   15462 fi
   15463 
   15464 
   15465 		CFLAGS="$xorg_testset_save_CFLAGS"
   15466 
   15467 		eval supported=\$$cacheid
   15468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15469 printf "%s\n" "$supported" >&6; }
   15470 		if test "$supported" = "yes" ; then
   15471 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15472 			found="yes"
   15473 		fi
   15474 	fi
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 
   15489 
   15490 xorg_testset_save_CFLAGS="$CFLAGS"
   15491 
   15492 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15493 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15494 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15495 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15496 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15497 then :
   15498   printf %s "(cached) " >&6
   15499 else case e in #(
   15500   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15501 /* end confdefs.h.  */
   15502 int i;
   15503 _ACEOF
   15504 if ac_fn_c_try_compile "$LINENO"
   15505 then :
   15506   xorg_cv_cc_flag_unknown_warning_option=yes
   15507 else case e in #(
   15508   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15509 esac
   15510 fi
   15511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15512 esac
   15513 fi
   15514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15515 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15516 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15517 	CFLAGS="$xorg_testset_save_CFLAGS"
   15518 fi
   15519 
   15520 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15521 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15522 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15523 	fi
   15524 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15525 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15526 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15527 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15528 then :
   15529   printf %s "(cached) " >&6
   15530 else case e in #(
   15531   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15532 /* end confdefs.h.  */
   15533 int i;
   15534 _ACEOF
   15535 if ac_fn_c_try_compile "$LINENO"
   15536 then :
   15537   xorg_cv_cc_flag_unused_command_line_argument=yes
   15538 else case e in #(
   15539   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15540 esac
   15541 fi
   15542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15543 esac
   15544 fi
   15545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15546 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15548 	CFLAGS="$xorg_testset_save_CFLAGS"
   15549 fi
   15550 
   15551 found="no"
   15552 
   15553 	if test $found = "no" ; then
   15554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15556 		fi
   15557 
   15558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15560 		fi
   15561 
   15562 		CFLAGS="$CFLAGS -Wuninitialized"
   15563 
   15564 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15565 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15566 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15567 		if eval test \${$cacheid+y}
   15568 then :
   15569   printf %s "(cached) " >&6
   15570 else case e in #(
   15571   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15572 /* end confdefs.h.  */
   15573 int i;
   15574 int
   15575 main (void)
   15576 {
   15577 
   15578   ;
   15579   return 0;
   15580 }
   15581 _ACEOF
   15582 if ac_fn_c_try_link "$LINENO"
   15583 then :
   15584   eval $cacheid=yes
   15585 else case e in #(
   15586   e) eval $cacheid=no ;;
   15587 esac
   15588 fi
   15589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15590     conftest$ac_exeext conftest.$ac_ext ;;
   15591 esac
   15592 fi
   15593 
   15594 
   15595 		CFLAGS="$xorg_testset_save_CFLAGS"
   15596 
   15597 		eval supported=\$$cacheid
   15598 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15599 printf "%s\n" "$supported" >&6; }
   15600 		if test "$supported" = "yes" ; then
   15601 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15602 			found="yes"
   15603 		fi
   15604 	fi
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 xorg_testset_save_CFLAGS="$CFLAGS"
   15621 
   15622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15624 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15625 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15626 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15627 then :
   15628   printf %s "(cached) " >&6
   15629 else case e in #(
   15630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15631 /* end confdefs.h.  */
   15632 int i;
   15633 _ACEOF
   15634 if ac_fn_c_try_compile "$LINENO"
   15635 then :
   15636   xorg_cv_cc_flag_unknown_warning_option=yes
   15637 else case e in #(
   15638   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15639 esac
   15640 fi
   15641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15642 esac
   15643 fi
   15644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15645 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15647 	CFLAGS="$xorg_testset_save_CFLAGS"
   15648 fi
   15649 
   15650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15653 	fi
   15654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15655 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15656 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15657 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15658 then :
   15659   printf %s "(cached) " >&6
   15660 else case e in #(
   15661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15662 /* end confdefs.h.  */
   15663 int i;
   15664 _ACEOF
   15665 if ac_fn_c_try_compile "$LINENO"
   15666 then :
   15667   xorg_cv_cc_flag_unused_command_line_argument=yes
   15668 else case e in #(
   15669   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15670 esac
   15671 fi
   15672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15673 esac
   15674 fi
   15675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15676 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15677 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15678 	CFLAGS="$xorg_testset_save_CFLAGS"
   15679 fi
   15680 
   15681 found="no"
   15682 
   15683 	if test $found = "no" ; then
   15684 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15686 		fi
   15687 
   15688 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15690 		fi
   15691 
   15692 		CFLAGS="$CFLAGS -Wshadow"
   15693 
   15694 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15695 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15696 		cacheid=xorg_cv_cc_flag__Wshadow
   15697 		if eval test \${$cacheid+y}
   15698 then :
   15699   printf %s "(cached) " >&6
   15700 else case e in #(
   15701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15702 /* end confdefs.h.  */
   15703 int i;
   15704 int
   15705 main (void)
   15706 {
   15707 
   15708   ;
   15709   return 0;
   15710 }
   15711 _ACEOF
   15712 if ac_fn_c_try_link "$LINENO"
   15713 then :
   15714   eval $cacheid=yes
   15715 else case e in #(
   15716   e) eval $cacheid=no ;;
   15717 esac
   15718 fi
   15719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15720     conftest$ac_exeext conftest.$ac_ext ;;
   15721 esac
   15722 fi
   15723 
   15724 
   15725 		CFLAGS="$xorg_testset_save_CFLAGS"
   15726 
   15727 		eval supported=\$$cacheid
   15728 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15729 printf "%s\n" "$supported" >&6; }
   15730 		if test "$supported" = "yes" ; then
   15731 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15732 			found="yes"
   15733 		fi
   15734 	fi
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 
   15750 xorg_testset_save_CFLAGS="$CFLAGS"
   15751 
   15752 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15754 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15755 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15756 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15757 then :
   15758   printf %s "(cached) " >&6
   15759 else case e in #(
   15760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15761 /* end confdefs.h.  */
   15762 int i;
   15763 _ACEOF
   15764 if ac_fn_c_try_compile "$LINENO"
   15765 then :
   15766   xorg_cv_cc_flag_unknown_warning_option=yes
   15767 else case e in #(
   15768   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15769 esac
   15770 fi
   15771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15772 esac
   15773 fi
   15774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15775 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15777 	CFLAGS="$xorg_testset_save_CFLAGS"
   15778 fi
   15779 
   15780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15783 	fi
   15784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15785 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15786 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15787 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15788 then :
   15789   printf %s "(cached) " >&6
   15790 else case e in #(
   15791   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15792 /* end confdefs.h.  */
   15793 int i;
   15794 _ACEOF
   15795 if ac_fn_c_try_compile "$LINENO"
   15796 then :
   15797   xorg_cv_cc_flag_unused_command_line_argument=yes
   15798 else case e in #(
   15799   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15800 esac
   15801 fi
   15802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15803 esac
   15804 fi
   15805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15806 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15808 	CFLAGS="$xorg_testset_save_CFLAGS"
   15809 fi
   15810 
   15811 found="no"
   15812 
   15813 	if test $found = "no" ; then
   15814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15816 		fi
   15817 
   15818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15820 		fi
   15821 
   15822 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15823 
   15824 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15825 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15826 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15827 		if eval test \${$cacheid+y}
   15828 then :
   15829   printf %s "(cached) " >&6
   15830 else case e in #(
   15831   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15832 /* end confdefs.h.  */
   15833 int i;
   15834 int
   15835 main (void)
   15836 {
   15837 
   15838   ;
   15839   return 0;
   15840 }
   15841 _ACEOF
   15842 if ac_fn_c_try_link "$LINENO"
   15843 then :
   15844   eval $cacheid=yes
   15845 else case e in #(
   15846   e) eval $cacheid=no ;;
   15847 esac
   15848 fi
   15849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15850     conftest$ac_exeext conftest.$ac_ext ;;
   15851 esac
   15852 fi
   15853 
   15854 
   15855 		CFLAGS="$xorg_testset_save_CFLAGS"
   15856 
   15857 		eval supported=\$$cacheid
   15858 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15859 printf "%s\n" "$supported" >&6; }
   15860 		if test "$supported" = "yes" ; then
   15861 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15862 			found="yes"
   15863 		fi
   15864 	fi
   15865 
   15866 
   15867 
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878 
   15879 
   15880 xorg_testset_save_CFLAGS="$CFLAGS"
   15881 
   15882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15884 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15885 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15886 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15887 then :
   15888   printf %s "(cached) " >&6
   15889 else case e in #(
   15890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15891 /* end confdefs.h.  */
   15892 int i;
   15893 _ACEOF
   15894 if ac_fn_c_try_compile "$LINENO"
   15895 then :
   15896   xorg_cv_cc_flag_unknown_warning_option=yes
   15897 else case e in #(
   15898   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15899 esac
   15900 fi
   15901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15902 esac
   15903 fi
   15904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15905 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15907 	CFLAGS="$xorg_testset_save_CFLAGS"
   15908 fi
   15909 
   15910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15913 	fi
   15914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15915 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15916 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15917 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15918 then :
   15919   printf %s "(cached) " >&6
   15920 else case e in #(
   15921   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15922 /* end confdefs.h.  */
   15923 int i;
   15924 _ACEOF
   15925 if ac_fn_c_try_compile "$LINENO"
   15926 then :
   15927   xorg_cv_cc_flag_unused_command_line_argument=yes
   15928 else case e in #(
   15929   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15930 esac
   15931 fi
   15932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15933 esac
   15934 fi
   15935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15936 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15938 	CFLAGS="$xorg_testset_save_CFLAGS"
   15939 fi
   15940 
   15941 found="no"
   15942 
   15943 	if test $found = "no" ; then
   15944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15946 		fi
   15947 
   15948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15950 		fi
   15951 
   15952 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15953 
   15954 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15955 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15956 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15957 		if eval test \${$cacheid+y}
   15958 then :
   15959   printf %s "(cached) " >&6
   15960 else case e in #(
   15961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15962 /* end confdefs.h.  */
   15963 int i;
   15964 int
   15965 main (void)
   15966 {
   15967 
   15968   ;
   15969   return 0;
   15970 }
   15971 _ACEOF
   15972 if ac_fn_c_try_link "$LINENO"
   15973 then :
   15974   eval $cacheid=yes
   15975 else case e in #(
   15976   e) eval $cacheid=no ;;
   15977 esac
   15978 fi
   15979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15980     conftest$ac_exeext conftest.$ac_ext ;;
   15981 esac
   15982 fi
   15983 
   15984 
   15985 		CFLAGS="$xorg_testset_save_CFLAGS"
   15986 
   15987 		eval supported=\$$cacheid
   15988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15989 printf "%s\n" "$supported" >&6; }
   15990 		if test "$supported" = "yes" ; then
   15991 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15992 			found="yes"
   15993 		fi
   15994 	fi
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 xorg_testset_save_CFLAGS="$CFLAGS"
   16011 
   16012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16014 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16015 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16016 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16017 then :
   16018   printf %s "(cached) " >&6
   16019 else case e in #(
   16020   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16021 /* end confdefs.h.  */
   16022 int i;
   16023 _ACEOF
   16024 if ac_fn_c_try_compile "$LINENO"
   16025 then :
   16026   xorg_cv_cc_flag_unknown_warning_option=yes
   16027 else case e in #(
   16028   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16029 esac
   16030 fi
   16031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16032 esac
   16033 fi
   16034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16035 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16036 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16037 	CFLAGS="$xorg_testset_save_CFLAGS"
   16038 fi
   16039 
   16040 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16041 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16042 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16043 	fi
   16044 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16045 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16046 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16047 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16048 then :
   16049   printf %s "(cached) " >&6
   16050 else case e in #(
   16051   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16052 /* end confdefs.h.  */
   16053 int i;
   16054 _ACEOF
   16055 if ac_fn_c_try_compile "$LINENO"
   16056 then :
   16057   xorg_cv_cc_flag_unused_command_line_argument=yes
   16058 else case e in #(
   16059   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16060 esac
   16061 fi
   16062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16063 esac
   16064 fi
   16065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16066 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16068 	CFLAGS="$xorg_testset_save_CFLAGS"
   16069 fi
   16070 
   16071 found="no"
   16072 
   16073 	if test $found = "no" ; then
   16074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16076 		fi
   16077 
   16078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16080 		fi
   16081 
   16082 		CFLAGS="$CFLAGS -Wredundant-decls"
   16083 
   16084 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16085 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16086 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16087 		if eval test \${$cacheid+y}
   16088 then :
   16089   printf %s "(cached) " >&6
   16090 else case e in #(
   16091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16092 /* end confdefs.h.  */
   16093 int i;
   16094 int
   16095 main (void)
   16096 {
   16097 
   16098   ;
   16099   return 0;
   16100 }
   16101 _ACEOF
   16102 if ac_fn_c_try_link "$LINENO"
   16103 then :
   16104   eval $cacheid=yes
   16105 else case e in #(
   16106   e) eval $cacheid=no ;;
   16107 esac
   16108 fi
   16109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16110     conftest$ac_exeext conftest.$ac_ext ;;
   16111 esac
   16112 fi
   16113 
   16114 
   16115 		CFLAGS="$xorg_testset_save_CFLAGS"
   16116 
   16117 		eval supported=\$$cacheid
   16118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16119 printf "%s\n" "$supported" >&6; }
   16120 		if test "$supported" = "yes" ; then
   16121 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16122 			found="yes"
   16123 		fi
   16124 	fi
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 xorg_testset_save_CFLAGS="$CFLAGS"
   16141 
   16142 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16143 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16144 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16145 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16146 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16147 then :
   16148   printf %s "(cached) " >&6
   16149 else case e in #(
   16150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16151 /* end confdefs.h.  */
   16152 int i;
   16153 _ACEOF
   16154 if ac_fn_c_try_compile "$LINENO"
   16155 then :
   16156   xorg_cv_cc_flag_unknown_warning_option=yes
   16157 else case e in #(
   16158   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16159 esac
   16160 fi
   16161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16162 esac
   16163 fi
   16164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16165 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16167 	CFLAGS="$xorg_testset_save_CFLAGS"
   16168 fi
   16169 
   16170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16173 	fi
   16174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16175 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16176 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16177 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16178 then :
   16179   printf %s "(cached) " >&6
   16180 else case e in #(
   16181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16182 /* end confdefs.h.  */
   16183 int i;
   16184 _ACEOF
   16185 if ac_fn_c_try_compile "$LINENO"
   16186 then :
   16187   xorg_cv_cc_flag_unused_command_line_argument=yes
   16188 else case e in #(
   16189   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16190 esac
   16191 fi
   16192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16193 esac
   16194 fi
   16195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16196 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16198 	CFLAGS="$xorg_testset_save_CFLAGS"
   16199 fi
   16200 
   16201 found="no"
   16202 
   16203 	if test $found = "no" ; then
   16204 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16206 		fi
   16207 
   16208 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16210 		fi
   16211 
   16212 		CFLAGS="$CFLAGS -Wlogical-op"
   16213 
   16214 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16215 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16216 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16217 		if eval test \${$cacheid+y}
   16218 then :
   16219   printf %s "(cached) " >&6
   16220 else case e in #(
   16221   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16222 /* end confdefs.h.  */
   16223 int i;
   16224 int
   16225 main (void)
   16226 {
   16227 
   16228   ;
   16229   return 0;
   16230 }
   16231 _ACEOF
   16232 if ac_fn_c_try_link "$LINENO"
   16233 then :
   16234   eval $cacheid=yes
   16235 else case e in #(
   16236   e) eval $cacheid=no ;;
   16237 esac
   16238 fi
   16239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16240     conftest$ac_exeext conftest.$ac_ext ;;
   16241 esac
   16242 fi
   16243 
   16244 
   16245 		CFLAGS="$xorg_testset_save_CFLAGS"
   16246 
   16247 		eval supported=\$$cacheid
   16248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16249 printf "%s\n" "$supported" >&6; }
   16250 		if test "$supported" = "yes" ; then
   16251 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16252 			found="yes"
   16253 		fi
   16254 	fi
   16255 
   16256 
   16257 
   16258 # These are currently disabled because they are noisy.  They will be enabled
   16259 # in the future once the codebase is sufficiently modernized to silence
   16260 # them.  For now, I don't want them to drown out the other warnings.
   16261 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16262 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16263 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16264 
   16265 # Turn some warnings into errors, so we don't accidentally get successful builds
   16266 # when there are problems that should be fixed.
   16267 
   16268 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16269 
   16270 
   16271 
   16272 
   16273 
   16274 
   16275 
   16276 
   16277 
   16278 
   16279 
   16280 
   16281 
   16282 xorg_testset_save_CFLAGS="$CFLAGS"
   16283 
   16284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16286 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16287 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16288 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16289 then :
   16290   printf %s "(cached) " >&6
   16291 else case e in #(
   16292   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16293 /* end confdefs.h.  */
   16294 int i;
   16295 _ACEOF
   16296 if ac_fn_c_try_compile "$LINENO"
   16297 then :
   16298   xorg_cv_cc_flag_unknown_warning_option=yes
   16299 else case e in #(
   16300   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16301 esac
   16302 fi
   16303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16304 esac
   16305 fi
   16306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16307 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16308 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16309 	CFLAGS="$xorg_testset_save_CFLAGS"
   16310 fi
   16311 
   16312 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16313 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16314 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16315 	fi
   16316 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16317 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16318 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16319 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16320 then :
   16321   printf %s "(cached) " >&6
   16322 else case e in #(
   16323   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16324 /* end confdefs.h.  */
   16325 int i;
   16326 _ACEOF
   16327 if ac_fn_c_try_compile "$LINENO"
   16328 then :
   16329   xorg_cv_cc_flag_unused_command_line_argument=yes
   16330 else case e in #(
   16331   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16332 esac
   16333 fi
   16334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16335 esac
   16336 fi
   16337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16338 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16339 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16340 	CFLAGS="$xorg_testset_save_CFLAGS"
   16341 fi
   16342 
   16343 found="no"
   16344 
   16345 	if test $found = "no" ; then
   16346 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16348 		fi
   16349 
   16350 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16352 		fi
   16353 
   16354 		CFLAGS="$CFLAGS -Werror=implicit"
   16355 
   16356 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16357 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16358 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16359 		if eval test \${$cacheid+y}
   16360 then :
   16361   printf %s "(cached) " >&6
   16362 else case e in #(
   16363   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16364 /* end confdefs.h.  */
   16365 int i;
   16366 int
   16367 main (void)
   16368 {
   16369 
   16370   ;
   16371   return 0;
   16372 }
   16373 _ACEOF
   16374 if ac_fn_c_try_link "$LINENO"
   16375 then :
   16376   eval $cacheid=yes
   16377 else case e in #(
   16378   e) eval $cacheid=no ;;
   16379 esac
   16380 fi
   16381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16382     conftest$ac_exeext conftest.$ac_ext ;;
   16383 esac
   16384 fi
   16385 
   16386 
   16387 		CFLAGS="$xorg_testset_save_CFLAGS"
   16388 
   16389 		eval supported=\$$cacheid
   16390 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16391 printf "%s\n" "$supported" >&6; }
   16392 		if test "$supported" = "yes" ; then
   16393 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16394 			found="yes"
   16395 		fi
   16396 	fi
   16397 
   16398 	if test $found = "no" ; then
   16399 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16400 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16401 		fi
   16402 
   16403 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16404 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16405 		fi
   16406 
   16407 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16408 
   16409 		{ 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
   16410 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16411 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16412 		if eval test \${$cacheid+y}
   16413 then :
   16414   printf %s "(cached) " >&6
   16415 else case e in #(
   16416   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16417 /* end confdefs.h.  */
   16418 int i;
   16419 int
   16420 main (void)
   16421 {
   16422 
   16423   ;
   16424   return 0;
   16425 }
   16426 _ACEOF
   16427 if ac_fn_c_try_link "$LINENO"
   16428 then :
   16429   eval $cacheid=yes
   16430 else case e in #(
   16431   e) eval $cacheid=no ;;
   16432 esac
   16433 fi
   16434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16435     conftest$ac_exeext conftest.$ac_ext ;;
   16436 esac
   16437 fi
   16438 
   16439 
   16440 		CFLAGS="$xorg_testset_save_CFLAGS"
   16441 
   16442 		eval supported=\$$cacheid
   16443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16444 printf "%s\n" "$supported" >&6; }
   16445 		if test "$supported" = "yes" ; then
   16446 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16447 			found="yes"
   16448 		fi
   16449 	fi
   16450 
   16451 
   16452 
   16453 
   16454 
   16455 
   16456 
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 
   16463 
   16464 
   16465 xorg_testset_save_CFLAGS="$CFLAGS"
   16466 
   16467 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16468 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16470 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16471 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16472 then :
   16473   printf %s "(cached) " >&6
   16474 else case e in #(
   16475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16476 /* end confdefs.h.  */
   16477 int i;
   16478 _ACEOF
   16479 if ac_fn_c_try_compile "$LINENO"
   16480 then :
   16481   xorg_cv_cc_flag_unknown_warning_option=yes
   16482 else case e in #(
   16483   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16484 esac
   16485 fi
   16486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16487 esac
   16488 fi
   16489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16490 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16492 	CFLAGS="$xorg_testset_save_CFLAGS"
   16493 fi
   16494 
   16495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16498 	fi
   16499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16501 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16502 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16503 then :
   16504   printf %s "(cached) " >&6
   16505 else case e in #(
   16506   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16507 /* end confdefs.h.  */
   16508 int i;
   16509 _ACEOF
   16510 if ac_fn_c_try_compile "$LINENO"
   16511 then :
   16512   xorg_cv_cc_flag_unused_command_line_argument=yes
   16513 else case e in #(
   16514   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16515 esac
   16516 fi
   16517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16518 esac
   16519 fi
   16520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16521 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16523 	CFLAGS="$xorg_testset_save_CFLAGS"
   16524 fi
   16525 
   16526 found="no"
   16527 
   16528 	if test $found = "no" ; then
   16529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16531 		fi
   16532 
   16533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16535 		fi
   16536 
   16537 		CFLAGS="$CFLAGS -Werror=nonnull"
   16538 
   16539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16540 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16541 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16542 		if eval test \${$cacheid+y}
   16543 then :
   16544   printf %s "(cached) " >&6
   16545 else case e in #(
   16546   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16547 /* end confdefs.h.  */
   16548 int i;
   16549 int
   16550 main (void)
   16551 {
   16552 
   16553   ;
   16554   return 0;
   16555 }
   16556 _ACEOF
   16557 if ac_fn_c_try_link "$LINENO"
   16558 then :
   16559   eval $cacheid=yes
   16560 else case e in #(
   16561   e) eval $cacheid=no ;;
   16562 esac
   16563 fi
   16564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16565     conftest$ac_exeext conftest.$ac_ext ;;
   16566 esac
   16567 fi
   16568 
   16569 
   16570 		CFLAGS="$xorg_testset_save_CFLAGS"
   16571 
   16572 		eval supported=\$$cacheid
   16573 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16574 printf "%s\n" "$supported" >&6; }
   16575 		if test "$supported" = "yes" ; then
   16576 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16577 			found="yes"
   16578 		fi
   16579 	fi
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 
   16586 
   16587 
   16588 
   16589 
   16590 
   16591 
   16592 
   16593 
   16594 
   16595 xorg_testset_save_CFLAGS="$CFLAGS"
   16596 
   16597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16598 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16600 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16601 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16602 then :
   16603   printf %s "(cached) " >&6
   16604 else case e in #(
   16605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16606 /* end confdefs.h.  */
   16607 int i;
   16608 _ACEOF
   16609 if ac_fn_c_try_compile "$LINENO"
   16610 then :
   16611   xorg_cv_cc_flag_unknown_warning_option=yes
   16612 else case e in #(
   16613   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16614 esac
   16615 fi
   16616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16617 esac
   16618 fi
   16619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16620 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16621 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16622 	CFLAGS="$xorg_testset_save_CFLAGS"
   16623 fi
   16624 
   16625 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16626 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16627 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16628 	fi
   16629 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16630 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16631 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16632 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16633 then :
   16634   printf %s "(cached) " >&6
   16635 else case e in #(
   16636   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16637 /* end confdefs.h.  */
   16638 int i;
   16639 _ACEOF
   16640 if ac_fn_c_try_compile "$LINENO"
   16641 then :
   16642   xorg_cv_cc_flag_unused_command_line_argument=yes
   16643 else case e in #(
   16644   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16645 esac
   16646 fi
   16647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16648 esac
   16649 fi
   16650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16651 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16653 	CFLAGS="$xorg_testset_save_CFLAGS"
   16654 fi
   16655 
   16656 found="no"
   16657 
   16658 	if test $found = "no" ; then
   16659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16661 		fi
   16662 
   16663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16665 		fi
   16666 
   16667 		CFLAGS="$CFLAGS -Werror=init-self"
   16668 
   16669 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16670 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16671 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16672 		if eval test \${$cacheid+y}
   16673 then :
   16674   printf %s "(cached) " >&6
   16675 else case e in #(
   16676   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16677 /* end confdefs.h.  */
   16678 int i;
   16679 int
   16680 main (void)
   16681 {
   16682 
   16683   ;
   16684   return 0;
   16685 }
   16686 _ACEOF
   16687 if ac_fn_c_try_link "$LINENO"
   16688 then :
   16689   eval $cacheid=yes
   16690 else case e in #(
   16691   e) eval $cacheid=no ;;
   16692 esac
   16693 fi
   16694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16695     conftest$ac_exeext conftest.$ac_ext ;;
   16696 esac
   16697 fi
   16698 
   16699 
   16700 		CFLAGS="$xorg_testset_save_CFLAGS"
   16701 
   16702 		eval supported=\$$cacheid
   16703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16704 printf "%s\n" "$supported" >&6; }
   16705 		if test "$supported" = "yes" ; then
   16706 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16707 			found="yes"
   16708 		fi
   16709 	fi
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 xorg_testset_save_CFLAGS="$CFLAGS"
   16726 
   16727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16729 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16730 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16731 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16732 then :
   16733   printf %s "(cached) " >&6
   16734 else case e in #(
   16735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16736 /* end confdefs.h.  */
   16737 int i;
   16738 _ACEOF
   16739 if ac_fn_c_try_compile "$LINENO"
   16740 then :
   16741   xorg_cv_cc_flag_unknown_warning_option=yes
   16742 else case e in #(
   16743   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16744 esac
   16745 fi
   16746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16747 esac
   16748 fi
   16749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16750 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16752 	CFLAGS="$xorg_testset_save_CFLAGS"
   16753 fi
   16754 
   16755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16758 	fi
   16759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16760 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16761 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16762 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16763 then :
   16764   printf %s "(cached) " >&6
   16765 else case e in #(
   16766   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16767 /* end confdefs.h.  */
   16768 int i;
   16769 _ACEOF
   16770 if ac_fn_c_try_compile "$LINENO"
   16771 then :
   16772   xorg_cv_cc_flag_unused_command_line_argument=yes
   16773 else case e in #(
   16774   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16775 esac
   16776 fi
   16777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16778 esac
   16779 fi
   16780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16781 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16782 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16783 	CFLAGS="$xorg_testset_save_CFLAGS"
   16784 fi
   16785 
   16786 found="no"
   16787 
   16788 	if test $found = "no" ; then
   16789 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16790 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16791 		fi
   16792 
   16793 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16794 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16795 		fi
   16796 
   16797 		CFLAGS="$CFLAGS -Werror=main"
   16798 
   16799 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16800 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16801 		cacheid=xorg_cv_cc_flag__Werror_main
   16802 		if eval test \${$cacheid+y}
   16803 then :
   16804   printf %s "(cached) " >&6
   16805 else case e in #(
   16806   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16807 /* end confdefs.h.  */
   16808 int i;
   16809 int
   16810 main (void)
   16811 {
   16812 
   16813   ;
   16814   return 0;
   16815 }
   16816 _ACEOF
   16817 if ac_fn_c_try_link "$LINENO"
   16818 then :
   16819   eval $cacheid=yes
   16820 else case e in #(
   16821   e) eval $cacheid=no ;;
   16822 esac
   16823 fi
   16824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16825     conftest$ac_exeext conftest.$ac_ext ;;
   16826 esac
   16827 fi
   16828 
   16829 
   16830 		CFLAGS="$xorg_testset_save_CFLAGS"
   16831 
   16832 		eval supported=\$$cacheid
   16833 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16834 printf "%s\n" "$supported" >&6; }
   16835 		if test "$supported" = "yes" ; then
   16836 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16837 			found="yes"
   16838 		fi
   16839 	fi
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 xorg_testset_save_CFLAGS="$CFLAGS"
   16856 
   16857 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16859 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16860 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16861 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16862 then :
   16863   printf %s "(cached) " >&6
   16864 else case e in #(
   16865   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16866 /* end confdefs.h.  */
   16867 int i;
   16868 _ACEOF
   16869 if ac_fn_c_try_compile "$LINENO"
   16870 then :
   16871   xorg_cv_cc_flag_unknown_warning_option=yes
   16872 else case e in #(
   16873   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16874 esac
   16875 fi
   16876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16877 esac
   16878 fi
   16879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16880 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16882 	CFLAGS="$xorg_testset_save_CFLAGS"
   16883 fi
   16884 
   16885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16888 	fi
   16889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16890 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16891 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16892 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16893 then :
   16894   printf %s "(cached) " >&6
   16895 else case e in #(
   16896   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16897 /* end confdefs.h.  */
   16898 int i;
   16899 _ACEOF
   16900 if ac_fn_c_try_compile "$LINENO"
   16901 then :
   16902   xorg_cv_cc_flag_unused_command_line_argument=yes
   16903 else case e in #(
   16904   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16905 esac
   16906 fi
   16907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16908 esac
   16909 fi
   16910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16911 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16912 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16913 	CFLAGS="$xorg_testset_save_CFLAGS"
   16914 fi
   16915 
   16916 found="no"
   16917 
   16918 	if test $found = "no" ; then
   16919 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16920 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16921 		fi
   16922 
   16923 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16924 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16925 		fi
   16926 
   16927 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16928 
   16929 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16930 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16931 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16932 		if eval test \${$cacheid+y}
   16933 then :
   16934   printf %s "(cached) " >&6
   16935 else case e in #(
   16936   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16937 /* end confdefs.h.  */
   16938 int i;
   16939 int
   16940 main (void)
   16941 {
   16942 
   16943   ;
   16944   return 0;
   16945 }
   16946 _ACEOF
   16947 if ac_fn_c_try_link "$LINENO"
   16948 then :
   16949   eval $cacheid=yes
   16950 else case e in #(
   16951   e) eval $cacheid=no ;;
   16952 esac
   16953 fi
   16954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16955     conftest$ac_exeext conftest.$ac_ext ;;
   16956 esac
   16957 fi
   16958 
   16959 
   16960 		CFLAGS="$xorg_testset_save_CFLAGS"
   16961 
   16962 		eval supported=\$$cacheid
   16963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16964 printf "%s\n" "$supported" >&6; }
   16965 		if test "$supported" = "yes" ; then
   16966 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16967 			found="yes"
   16968 		fi
   16969 	fi
   16970 
   16971 
   16972 
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 xorg_testset_save_CFLAGS="$CFLAGS"
   16986 
   16987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16989 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16990 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16991 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16992 then :
   16993   printf %s "(cached) " >&6
   16994 else case e in #(
   16995   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16996 /* end confdefs.h.  */
   16997 int i;
   16998 _ACEOF
   16999 if ac_fn_c_try_compile "$LINENO"
   17000 then :
   17001   xorg_cv_cc_flag_unknown_warning_option=yes
   17002 else case e in #(
   17003   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17004 esac
   17005 fi
   17006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17007 esac
   17008 fi
   17009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17010 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17011 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17012 	CFLAGS="$xorg_testset_save_CFLAGS"
   17013 fi
   17014 
   17015 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17016 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17017 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17018 	fi
   17019 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17020 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17021 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17022 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17023 then :
   17024   printf %s "(cached) " >&6
   17025 else case e in #(
   17026   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17027 /* end confdefs.h.  */
   17028 int i;
   17029 _ACEOF
   17030 if ac_fn_c_try_compile "$LINENO"
   17031 then :
   17032   xorg_cv_cc_flag_unused_command_line_argument=yes
   17033 else case e in #(
   17034   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17035 esac
   17036 fi
   17037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17038 esac
   17039 fi
   17040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17041 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17043 	CFLAGS="$xorg_testset_save_CFLAGS"
   17044 fi
   17045 
   17046 found="no"
   17047 
   17048 	if test $found = "no" ; then
   17049 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17051 		fi
   17052 
   17053 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17055 		fi
   17056 
   17057 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17058 
   17059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17060 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17061 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17062 		if eval test \${$cacheid+y}
   17063 then :
   17064   printf %s "(cached) " >&6
   17065 else case e in #(
   17066   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17067 /* end confdefs.h.  */
   17068 int i;
   17069 int
   17070 main (void)
   17071 {
   17072 
   17073   ;
   17074   return 0;
   17075 }
   17076 _ACEOF
   17077 if ac_fn_c_try_link "$LINENO"
   17078 then :
   17079   eval $cacheid=yes
   17080 else case e in #(
   17081   e) eval $cacheid=no ;;
   17082 esac
   17083 fi
   17084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17085     conftest$ac_exeext conftest.$ac_ext ;;
   17086 esac
   17087 fi
   17088 
   17089 
   17090 		CFLAGS="$xorg_testset_save_CFLAGS"
   17091 
   17092 		eval supported=\$$cacheid
   17093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17094 printf "%s\n" "$supported" >&6; }
   17095 		if test "$supported" = "yes" ; then
   17096 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17097 			found="yes"
   17098 		fi
   17099 	fi
   17100 
   17101 
   17102 
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 xorg_testset_save_CFLAGS="$CFLAGS"
   17116 
   17117 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17118 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17119 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17120 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17121 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17122 then :
   17123   printf %s "(cached) " >&6
   17124 else case e in #(
   17125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17126 /* end confdefs.h.  */
   17127 int i;
   17128 _ACEOF
   17129 if ac_fn_c_try_compile "$LINENO"
   17130 then :
   17131   xorg_cv_cc_flag_unknown_warning_option=yes
   17132 else case e in #(
   17133   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17134 esac
   17135 fi
   17136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17137 esac
   17138 fi
   17139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17140 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17142 	CFLAGS="$xorg_testset_save_CFLAGS"
   17143 fi
   17144 
   17145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17148 	fi
   17149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17151 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17152 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17153 then :
   17154   printf %s "(cached) " >&6
   17155 else case e in #(
   17156   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17157 /* end confdefs.h.  */
   17158 int i;
   17159 _ACEOF
   17160 if ac_fn_c_try_compile "$LINENO"
   17161 then :
   17162   xorg_cv_cc_flag_unused_command_line_argument=yes
   17163 else case e in #(
   17164   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17165 esac
   17166 fi
   17167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17168 esac
   17169 fi
   17170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17171 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17173 	CFLAGS="$xorg_testset_save_CFLAGS"
   17174 fi
   17175 
   17176 found="no"
   17177 
   17178 	if test $found = "no" ; then
   17179 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17181 		fi
   17182 
   17183 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17185 		fi
   17186 
   17187 		CFLAGS="$CFLAGS -Werror=return-type"
   17188 
   17189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17190 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17191 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17192 		if eval test \${$cacheid+y}
   17193 then :
   17194   printf %s "(cached) " >&6
   17195 else case e in #(
   17196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17197 /* end confdefs.h.  */
   17198 int i;
   17199 int
   17200 main (void)
   17201 {
   17202 
   17203   ;
   17204   return 0;
   17205 }
   17206 _ACEOF
   17207 if ac_fn_c_try_link "$LINENO"
   17208 then :
   17209   eval $cacheid=yes
   17210 else case e in #(
   17211   e) eval $cacheid=no ;;
   17212 esac
   17213 fi
   17214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17215     conftest$ac_exeext conftest.$ac_ext ;;
   17216 esac
   17217 fi
   17218 
   17219 
   17220 		CFLAGS="$xorg_testset_save_CFLAGS"
   17221 
   17222 		eval supported=\$$cacheid
   17223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17224 printf "%s\n" "$supported" >&6; }
   17225 		if test "$supported" = "yes" ; then
   17226 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17227 			found="yes"
   17228 		fi
   17229 	fi
   17230 
   17231 	if test $found = "no" ; then
   17232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17234 		fi
   17235 
   17236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17238 		fi
   17239 
   17240 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17241 
   17242 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17243 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17244 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17245 		if eval test \${$cacheid+y}
   17246 then :
   17247   printf %s "(cached) " >&6
   17248 else case e in #(
   17249   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17250 /* end confdefs.h.  */
   17251 int i;
   17252 int
   17253 main (void)
   17254 {
   17255 
   17256   ;
   17257   return 0;
   17258 }
   17259 _ACEOF
   17260 if ac_fn_c_try_link "$LINENO"
   17261 then :
   17262   eval $cacheid=yes
   17263 else case e in #(
   17264   e) eval $cacheid=no ;;
   17265 esac
   17266 fi
   17267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17268     conftest$ac_exeext conftest.$ac_ext ;;
   17269 esac
   17270 fi
   17271 
   17272 
   17273 		CFLAGS="$xorg_testset_save_CFLAGS"
   17274 
   17275 		eval supported=\$$cacheid
   17276 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17277 printf "%s\n" "$supported" >&6; }
   17278 		if test "$supported" = "yes" ; then
   17279 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17280 			found="yes"
   17281 		fi
   17282 	fi
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 
   17296 
   17297 
   17298 xorg_testset_save_CFLAGS="$CFLAGS"
   17299 
   17300 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17301 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17302 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17303 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17304 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17305 then :
   17306   printf %s "(cached) " >&6
   17307 else case e in #(
   17308   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17309 /* end confdefs.h.  */
   17310 int i;
   17311 _ACEOF
   17312 if ac_fn_c_try_compile "$LINENO"
   17313 then :
   17314   xorg_cv_cc_flag_unknown_warning_option=yes
   17315 else case e in #(
   17316   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17317 esac
   17318 fi
   17319 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17320 esac
   17321 fi
   17322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17323 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17325 	CFLAGS="$xorg_testset_save_CFLAGS"
   17326 fi
   17327 
   17328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17331 	fi
   17332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17334 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17335 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17336 then :
   17337   printf %s "(cached) " >&6
   17338 else case e in #(
   17339   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17340 /* end confdefs.h.  */
   17341 int i;
   17342 _ACEOF
   17343 if ac_fn_c_try_compile "$LINENO"
   17344 then :
   17345   xorg_cv_cc_flag_unused_command_line_argument=yes
   17346 else case e in #(
   17347   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17348 esac
   17349 fi
   17350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17351 esac
   17352 fi
   17353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17354 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17355 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17356 	CFLAGS="$xorg_testset_save_CFLAGS"
   17357 fi
   17358 
   17359 found="no"
   17360 
   17361 	if test $found = "no" ; then
   17362 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17363 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17364 		fi
   17365 
   17366 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17367 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17368 		fi
   17369 
   17370 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17371 
   17372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17373 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17374 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17375 		if eval test \${$cacheid+y}
   17376 then :
   17377   printf %s "(cached) " >&6
   17378 else case e in #(
   17379   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17380 /* end confdefs.h.  */
   17381 int i;
   17382 int
   17383 main (void)
   17384 {
   17385 
   17386   ;
   17387   return 0;
   17388 }
   17389 _ACEOF
   17390 if ac_fn_c_try_link "$LINENO"
   17391 then :
   17392   eval $cacheid=yes
   17393 else case e in #(
   17394   e) eval $cacheid=no ;;
   17395 esac
   17396 fi
   17397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17398     conftest$ac_exeext conftest.$ac_ext ;;
   17399 esac
   17400 fi
   17401 
   17402 
   17403 		CFLAGS="$xorg_testset_save_CFLAGS"
   17404 
   17405 		eval supported=\$$cacheid
   17406 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17407 printf "%s\n" "$supported" >&6; }
   17408 		if test "$supported" = "yes" ; then
   17409 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17410 			found="yes"
   17411 		fi
   17412 	fi
   17413 
   17414 
   17415 
   17416 
   17417 
   17418 
   17419 
   17420 
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 
   17427 
   17428 xorg_testset_save_CFLAGS="$CFLAGS"
   17429 
   17430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17432 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17433 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17434 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17435 then :
   17436   printf %s "(cached) " >&6
   17437 else case e in #(
   17438   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17439 /* end confdefs.h.  */
   17440 int i;
   17441 _ACEOF
   17442 if ac_fn_c_try_compile "$LINENO"
   17443 then :
   17444   xorg_cv_cc_flag_unknown_warning_option=yes
   17445 else case e in #(
   17446   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17447 esac
   17448 fi
   17449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17450 esac
   17451 fi
   17452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17453 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17454 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17455 	CFLAGS="$xorg_testset_save_CFLAGS"
   17456 fi
   17457 
   17458 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17459 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17460 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17461 	fi
   17462 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17463 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17464 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17465 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17466 then :
   17467   printf %s "(cached) " >&6
   17468 else case e in #(
   17469   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17470 /* end confdefs.h.  */
   17471 int i;
   17472 _ACEOF
   17473 if ac_fn_c_try_compile "$LINENO"
   17474 then :
   17475   xorg_cv_cc_flag_unused_command_line_argument=yes
   17476 else case e in #(
   17477   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17478 esac
   17479 fi
   17480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17481 esac
   17482 fi
   17483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17484 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17485 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17486 	CFLAGS="$xorg_testset_save_CFLAGS"
   17487 fi
   17488 
   17489 found="no"
   17490 
   17491 	if test $found = "no" ; then
   17492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17494 		fi
   17495 
   17496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17498 		fi
   17499 
   17500 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17501 
   17502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17503 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17504 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17505 		if eval test \${$cacheid+y}
   17506 then :
   17507   printf %s "(cached) " >&6
   17508 else case e in #(
   17509   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17510 /* end confdefs.h.  */
   17511 int i;
   17512 int
   17513 main (void)
   17514 {
   17515 
   17516   ;
   17517   return 0;
   17518 }
   17519 _ACEOF
   17520 if ac_fn_c_try_link "$LINENO"
   17521 then :
   17522   eval $cacheid=yes
   17523 else case e in #(
   17524   e) eval $cacheid=no ;;
   17525 esac
   17526 fi
   17527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17528     conftest$ac_exeext conftest.$ac_ext ;;
   17529 esac
   17530 fi
   17531 
   17532 
   17533 		CFLAGS="$xorg_testset_save_CFLAGS"
   17534 
   17535 		eval supported=\$$cacheid
   17536 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17537 printf "%s\n" "$supported" >&6; }
   17538 		if test "$supported" = "yes" ; then
   17539 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17540 			found="yes"
   17541 		fi
   17542 	fi
   17543 
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 xorg_testset_save_CFLAGS="$CFLAGS"
   17559 
   17560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17562 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17563 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17564 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17565 then :
   17566   printf %s "(cached) " >&6
   17567 else case e in #(
   17568   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17569 /* end confdefs.h.  */
   17570 int i;
   17571 _ACEOF
   17572 if ac_fn_c_try_compile "$LINENO"
   17573 then :
   17574   xorg_cv_cc_flag_unknown_warning_option=yes
   17575 else case e in #(
   17576   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17577 esac
   17578 fi
   17579 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17580 esac
   17581 fi
   17582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17583 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17585 	CFLAGS="$xorg_testset_save_CFLAGS"
   17586 fi
   17587 
   17588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17591 	fi
   17592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17593 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17594 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17595 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17596 then :
   17597   printf %s "(cached) " >&6
   17598 else case e in #(
   17599   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17600 /* end confdefs.h.  */
   17601 int i;
   17602 _ACEOF
   17603 if ac_fn_c_try_compile "$LINENO"
   17604 then :
   17605   xorg_cv_cc_flag_unused_command_line_argument=yes
   17606 else case e in #(
   17607   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17608 esac
   17609 fi
   17610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17611 esac
   17612 fi
   17613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17614 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17615 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17616 	CFLAGS="$xorg_testset_save_CFLAGS"
   17617 fi
   17618 
   17619 found="no"
   17620 
   17621 	if test $found = "no" ; then
   17622 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17623 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17624 		fi
   17625 
   17626 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17627 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17628 		fi
   17629 
   17630 		CFLAGS="$CFLAGS -Werror=write-strings"
   17631 
   17632 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17633 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17634 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17635 		if eval test \${$cacheid+y}
   17636 then :
   17637   printf %s "(cached) " >&6
   17638 else case e in #(
   17639   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17640 /* end confdefs.h.  */
   17641 int i;
   17642 int
   17643 main (void)
   17644 {
   17645 
   17646   ;
   17647   return 0;
   17648 }
   17649 _ACEOF
   17650 if ac_fn_c_try_link "$LINENO"
   17651 then :
   17652   eval $cacheid=yes
   17653 else case e in #(
   17654   e) eval $cacheid=no ;;
   17655 esac
   17656 fi
   17657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17658     conftest$ac_exeext conftest.$ac_ext ;;
   17659 esac
   17660 fi
   17661 
   17662 
   17663 		CFLAGS="$xorg_testset_save_CFLAGS"
   17664 
   17665 		eval supported=\$$cacheid
   17666 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17667 printf "%s\n" "$supported" >&6; }
   17668 		if test "$supported" = "yes" ; then
   17669 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17670 			found="yes"
   17671 		fi
   17672 	fi
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 xorg_testset_save_CFLAGS="$CFLAGS"
   17689 
   17690 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17691 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17692 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17693 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17694 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17695 then :
   17696   printf %s "(cached) " >&6
   17697 else case e in #(
   17698   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17699 /* end confdefs.h.  */
   17700 int i;
   17701 _ACEOF
   17702 if ac_fn_c_try_compile "$LINENO"
   17703 then :
   17704   xorg_cv_cc_flag_unknown_warning_option=yes
   17705 else case e in #(
   17706   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17707 esac
   17708 fi
   17709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17710 esac
   17711 fi
   17712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17713 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17715 	CFLAGS="$xorg_testset_save_CFLAGS"
   17716 fi
   17717 
   17718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17721 	fi
   17722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17723 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17724 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17725 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17726 then :
   17727   printf %s "(cached) " >&6
   17728 else case e in #(
   17729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17730 /* end confdefs.h.  */
   17731 int i;
   17732 _ACEOF
   17733 if ac_fn_c_try_compile "$LINENO"
   17734 then :
   17735   xorg_cv_cc_flag_unused_command_line_argument=yes
   17736 else case e in #(
   17737   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17738 esac
   17739 fi
   17740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17741 esac
   17742 fi
   17743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17744 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17746 	CFLAGS="$xorg_testset_save_CFLAGS"
   17747 fi
   17748 
   17749 found="no"
   17750 
   17751 	if test $found = "no" ; then
   17752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17754 		fi
   17755 
   17756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17758 		fi
   17759 
   17760 		CFLAGS="$CFLAGS -Werror=address"
   17761 
   17762 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17763 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17764 		cacheid=xorg_cv_cc_flag__Werror_address
   17765 		if eval test \${$cacheid+y}
   17766 then :
   17767   printf %s "(cached) " >&6
   17768 else case e in #(
   17769   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17770 /* end confdefs.h.  */
   17771 int i;
   17772 int
   17773 main (void)
   17774 {
   17775 
   17776   ;
   17777   return 0;
   17778 }
   17779 _ACEOF
   17780 if ac_fn_c_try_link "$LINENO"
   17781 then :
   17782   eval $cacheid=yes
   17783 else case e in #(
   17784   e) eval $cacheid=no ;;
   17785 esac
   17786 fi
   17787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17788     conftest$ac_exeext conftest.$ac_ext ;;
   17789 esac
   17790 fi
   17791 
   17792 
   17793 		CFLAGS="$xorg_testset_save_CFLAGS"
   17794 
   17795 		eval supported=\$$cacheid
   17796 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17797 printf "%s\n" "$supported" >&6; }
   17798 		if test "$supported" = "yes" ; then
   17799 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17800 			found="yes"
   17801 		fi
   17802 	fi
   17803 
   17804 
   17805 
   17806 
   17807 
   17808 
   17809 
   17810 
   17811 
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818 xorg_testset_save_CFLAGS="$CFLAGS"
   17819 
   17820 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17821 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17822 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17823 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17824 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17825 then :
   17826   printf %s "(cached) " >&6
   17827 else case e in #(
   17828   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17829 /* end confdefs.h.  */
   17830 int i;
   17831 _ACEOF
   17832 if ac_fn_c_try_compile "$LINENO"
   17833 then :
   17834   xorg_cv_cc_flag_unknown_warning_option=yes
   17835 else case e in #(
   17836   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17837 esac
   17838 fi
   17839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17840 esac
   17841 fi
   17842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17843 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17844 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17845 	CFLAGS="$xorg_testset_save_CFLAGS"
   17846 fi
   17847 
   17848 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17849 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17850 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17851 	fi
   17852 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17853 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17854 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17855 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17856 then :
   17857   printf %s "(cached) " >&6
   17858 else case e in #(
   17859   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17860 /* end confdefs.h.  */
   17861 int i;
   17862 _ACEOF
   17863 if ac_fn_c_try_compile "$LINENO"
   17864 then :
   17865   xorg_cv_cc_flag_unused_command_line_argument=yes
   17866 else case e in #(
   17867   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17868 esac
   17869 fi
   17870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17871 esac
   17872 fi
   17873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17874 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17876 	CFLAGS="$xorg_testset_save_CFLAGS"
   17877 fi
   17878 
   17879 found="no"
   17880 
   17881 	if test $found = "no" ; then
   17882 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17884 		fi
   17885 
   17886 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17888 		fi
   17889 
   17890 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17891 
   17892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17893 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17894 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17895 		if eval test \${$cacheid+y}
   17896 then :
   17897   printf %s "(cached) " >&6
   17898 else case e in #(
   17899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17900 /* end confdefs.h.  */
   17901 int i;
   17902 int
   17903 main (void)
   17904 {
   17905 
   17906   ;
   17907   return 0;
   17908 }
   17909 _ACEOF
   17910 if ac_fn_c_try_link "$LINENO"
   17911 then :
   17912   eval $cacheid=yes
   17913 else case e in #(
   17914   e) eval $cacheid=no ;;
   17915 esac
   17916 fi
   17917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17918     conftest$ac_exeext conftest.$ac_ext ;;
   17919 esac
   17920 fi
   17921 
   17922 
   17923 		CFLAGS="$xorg_testset_save_CFLAGS"
   17924 
   17925 		eval supported=\$$cacheid
   17926 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17927 printf "%s\n" "$supported" >&6; }
   17928 		if test "$supported" = "yes" ; then
   17929 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17930 			found="yes"
   17931 		fi
   17932 	fi
   17933 
   17934 	if test $found = "no" ; then
   17935 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17937 		fi
   17938 
   17939 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17941 		fi
   17942 
   17943 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17944 
   17945 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17946 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17947 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17948 		if eval test \${$cacheid+y}
   17949 then :
   17950   printf %s "(cached) " >&6
   17951 else case e in #(
   17952   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17953 /* end confdefs.h.  */
   17954 int i;
   17955 int
   17956 main (void)
   17957 {
   17958 
   17959   ;
   17960   return 0;
   17961 }
   17962 _ACEOF
   17963 if ac_fn_c_try_link "$LINENO"
   17964 then :
   17965   eval $cacheid=yes
   17966 else case e in #(
   17967   e) eval $cacheid=no ;;
   17968 esac
   17969 fi
   17970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17971     conftest$ac_exeext conftest.$ac_ext ;;
   17972 esac
   17973 fi
   17974 
   17975 
   17976 		CFLAGS="$xorg_testset_save_CFLAGS"
   17977 
   17978 		eval supported=\$$cacheid
   17979 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17980 printf "%s\n" "$supported" >&6; }
   17981 		if test "$supported" = "yes" ; then
   17982 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17983 			found="yes"
   17984 		fi
   17985 	fi
   17986 
   17987 
   17988 
   17989 
   17990 
   17991 
   17992 
   17993 
   17994 
   17995 
   17996 
   17997 
   17998 
   17999 
   18000 
   18001 xorg_testset_save_CFLAGS="$CFLAGS"
   18002 
   18003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18004 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18005 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18006 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18007 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18008 then :
   18009   printf %s "(cached) " >&6
   18010 else case e in #(
   18011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18012 /* end confdefs.h.  */
   18013 int i;
   18014 _ACEOF
   18015 if ac_fn_c_try_compile "$LINENO"
   18016 then :
   18017   xorg_cv_cc_flag_unknown_warning_option=yes
   18018 else case e in #(
   18019   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18020 esac
   18021 fi
   18022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18023 esac
   18024 fi
   18025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18026 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18028 	CFLAGS="$xorg_testset_save_CFLAGS"
   18029 fi
   18030 
   18031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18034 	fi
   18035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18036 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18037 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18038 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18039 then :
   18040   printf %s "(cached) " >&6
   18041 else case e in #(
   18042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18043 /* end confdefs.h.  */
   18044 int i;
   18045 _ACEOF
   18046 if ac_fn_c_try_compile "$LINENO"
   18047 then :
   18048   xorg_cv_cc_flag_unused_command_line_argument=yes
   18049 else case e in #(
   18050   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18051 esac
   18052 fi
   18053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18054 esac
   18055 fi
   18056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18057 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18059 	CFLAGS="$xorg_testset_save_CFLAGS"
   18060 fi
   18061 
   18062 found="no"
   18063 
   18064 	if test $found = "no" ; then
   18065 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18067 		fi
   18068 
   18069 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18071 		fi
   18072 
   18073 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18074 
   18075 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18076 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18077 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18078 		if eval test \${$cacheid+y}
   18079 then :
   18080   printf %s "(cached) " >&6
   18081 else case e in #(
   18082   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18083 /* end confdefs.h.  */
   18084 int i;
   18085 int
   18086 main (void)
   18087 {
   18088 
   18089   ;
   18090   return 0;
   18091 }
   18092 _ACEOF
   18093 if ac_fn_c_try_link "$LINENO"
   18094 then :
   18095   eval $cacheid=yes
   18096 else case e in #(
   18097   e) eval $cacheid=no ;;
   18098 esac
   18099 fi
   18100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18101     conftest$ac_exeext conftest.$ac_ext ;;
   18102 esac
   18103 fi
   18104 
   18105 
   18106 		CFLAGS="$xorg_testset_save_CFLAGS"
   18107 
   18108 		eval supported=\$$cacheid
   18109 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18110 printf "%s\n" "$supported" >&6; }
   18111 		if test "$supported" = "yes" ; then
   18112 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18113 			found="yes"
   18114 		fi
   18115 	fi
   18116 
   18117  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18118 else
   18119 { 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
   18120 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;}
   18121 
   18122 
   18123 
   18124 
   18125 
   18126 
   18127 
   18128 
   18129 
   18130 
   18131 
   18132 
   18133 
   18134 xorg_testset_save_CFLAGS="$CFLAGS"
   18135 
   18136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18138 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18139 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18140 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18141 then :
   18142   printf %s "(cached) " >&6
   18143 else case e in #(
   18144   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18145 /* end confdefs.h.  */
   18146 int i;
   18147 _ACEOF
   18148 if ac_fn_c_try_compile "$LINENO"
   18149 then :
   18150   xorg_cv_cc_flag_unknown_warning_option=yes
   18151 else case e in #(
   18152   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18153 esac
   18154 fi
   18155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18156 esac
   18157 fi
   18158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18159 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18160 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18161 	CFLAGS="$xorg_testset_save_CFLAGS"
   18162 fi
   18163 
   18164 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18165 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18166 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18167 	fi
   18168 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18169 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18170 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18171 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18172 then :
   18173   printf %s "(cached) " >&6
   18174 else case e in #(
   18175   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18176 /* end confdefs.h.  */
   18177 int i;
   18178 _ACEOF
   18179 if ac_fn_c_try_compile "$LINENO"
   18180 then :
   18181   xorg_cv_cc_flag_unused_command_line_argument=yes
   18182 else case e in #(
   18183   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18184 esac
   18185 fi
   18186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18187 esac
   18188 fi
   18189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18190 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18192 	CFLAGS="$xorg_testset_save_CFLAGS"
   18193 fi
   18194 
   18195 found="no"
   18196 
   18197 	if test $found = "no" ; then
   18198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18200 		fi
   18201 
   18202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18204 		fi
   18205 
   18206 		CFLAGS="$CFLAGS -Wimplicit"
   18207 
   18208 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18209 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18210 		cacheid=xorg_cv_cc_flag__Wimplicit
   18211 		if eval test \${$cacheid+y}
   18212 then :
   18213   printf %s "(cached) " >&6
   18214 else case e in #(
   18215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18216 /* end confdefs.h.  */
   18217 int i;
   18218 int
   18219 main (void)
   18220 {
   18221 
   18222   ;
   18223   return 0;
   18224 }
   18225 _ACEOF
   18226 if ac_fn_c_try_link "$LINENO"
   18227 then :
   18228   eval $cacheid=yes
   18229 else case e in #(
   18230   e) eval $cacheid=no ;;
   18231 esac
   18232 fi
   18233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18234     conftest$ac_exeext conftest.$ac_ext ;;
   18235 esac
   18236 fi
   18237 
   18238 
   18239 		CFLAGS="$xorg_testset_save_CFLAGS"
   18240 
   18241 		eval supported=\$$cacheid
   18242 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18243 printf "%s\n" "$supported" >&6; }
   18244 		if test "$supported" = "yes" ; then
   18245 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18246 			found="yes"
   18247 		fi
   18248 	fi
   18249 
   18250 
   18251 
   18252 
   18253 
   18254 
   18255 
   18256 
   18257 
   18258 
   18259 
   18260 
   18261 
   18262 
   18263 
   18264 xorg_testset_save_CFLAGS="$CFLAGS"
   18265 
   18266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18268 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18269 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18270 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18271 then :
   18272   printf %s "(cached) " >&6
   18273 else case e in #(
   18274   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18275 /* end confdefs.h.  */
   18276 int i;
   18277 _ACEOF
   18278 if ac_fn_c_try_compile "$LINENO"
   18279 then :
   18280   xorg_cv_cc_flag_unknown_warning_option=yes
   18281 else case e in #(
   18282   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18283 esac
   18284 fi
   18285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18286 esac
   18287 fi
   18288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18289 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18291 	CFLAGS="$xorg_testset_save_CFLAGS"
   18292 fi
   18293 
   18294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18297 	fi
   18298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18299 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18300 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18301 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18302 then :
   18303   printf %s "(cached) " >&6
   18304 else case e in #(
   18305   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18306 /* end confdefs.h.  */
   18307 int i;
   18308 _ACEOF
   18309 if ac_fn_c_try_compile "$LINENO"
   18310 then :
   18311   xorg_cv_cc_flag_unused_command_line_argument=yes
   18312 else case e in #(
   18313   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18314 esac
   18315 fi
   18316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18317 esac
   18318 fi
   18319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18320 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18321 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18322 	CFLAGS="$xorg_testset_save_CFLAGS"
   18323 fi
   18324 
   18325 found="no"
   18326 
   18327 	if test $found = "no" ; then
   18328 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18329 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18330 		fi
   18331 
   18332 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18333 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18334 		fi
   18335 
   18336 		CFLAGS="$CFLAGS -Wnonnull"
   18337 
   18338 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18339 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18340 		cacheid=xorg_cv_cc_flag__Wnonnull
   18341 		if eval test \${$cacheid+y}
   18342 then :
   18343   printf %s "(cached) " >&6
   18344 else case e in #(
   18345   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18346 /* end confdefs.h.  */
   18347 int i;
   18348 int
   18349 main (void)
   18350 {
   18351 
   18352   ;
   18353   return 0;
   18354 }
   18355 _ACEOF
   18356 if ac_fn_c_try_link "$LINENO"
   18357 then :
   18358   eval $cacheid=yes
   18359 else case e in #(
   18360   e) eval $cacheid=no ;;
   18361 esac
   18362 fi
   18363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18364     conftest$ac_exeext conftest.$ac_ext ;;
   18365 esac
   18366 fi
   18367 
   18368 
   18369 		CFLAGS="$xorg_testset_save_CFLAGS"
   18370 
   18371 		eval supported=\$$cacheid
   18372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18373 printf "%s\n" "$supported" >&6; }
   18374 		if test "$supported" = "yes" ; then
   18375 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18376 			found="yes"
   18377 		fi
   18378 	fi
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 
   18393 
   18394 xorg_testset_save_CFLAGS="$CFLAGS"
   18395 
   18396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18399 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18400 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18401 then :
   18402   printf %s "(cached) " >&6
   18403 else case e in #(
   18404   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18405 /* end confdefs.h.  */
   18406 int i;
   18407 _ACEOF
   18408 if ac_fn_c_try_compile "$LINENO"
   18409 then :
   18410   xorg_cv_cc_flag_unknown_warning_option=yes
   18411 else case e in #(
   18412   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18413 esac
   18414 fi
   18415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18416 esac
   18417 fi
   18418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18419 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18421 	CFLAGS="$xorg_testset_save_CFLAGS"
   18422 fi
   18423 
   18424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18427 	fi
   18428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18429 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18430 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18431 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18432 then :
   18433   printf %s "(cached) " >&6
   18434 else case e in #(
   18435   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18436 /* end confdefs.h.  */
   18437 int i;
   18438 _ACEOF
   18439 if ac_fn_c_try_compile "$LINENO"
   18440 then :
   18441   xorg_cv_cc_flag_unused_command_line_argument=yes
   18442 else case e in #(
   18443   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18444 esac
   18445 fi
   18446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18447 esac
   18448 fi
   18449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18450 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18452 	CFLAGS="$xorg_testset_save_CFLAGS"
   18453 fi
   18454 
   18455 found="no"
   18456 
   18457 	if test $found = "no" ; then
   18458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18460 		fi
   18461 
   18462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18464 		fi
   18465 
   18466 		CFLAGS="$CFLAGS -Winit-self"
   18467 
   18468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18469 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18470 		cacheid=xorg_cv_cc_flag__Winit_self
   18471 		if eval test \${$cacheid+y}
   18472 then :
   18473   printf %s "(cached) " >&6
   18474 else case e in #(
   18475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18476 /* end confdefs.h.  */
   18477 int i;
   18478 int
   18479 main (void)
   18480 {
   18481 
   18482   ;
   18483   return 0;
   18484 }
   18485 _ACEOF
   18486 if ac_fn_c_try_link "$LINENO"
   18487 then :
   18488   eval $cacheid=yes
   18489 else case e in #(
   18490   e) eval $cacheid=no ;;
   18491 esac
   18492 fi
   18493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18494     conftest$ac_exeext conftest.$ac_ext ;;
   18495 esac
   18496 fi
   18497 
   18498 
   18499 		CFLAGS="$xorg_testset_save_CFLAGS"
   18500 
   18501 		eval supported=\$$cacheid
   18502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18503 printf "%s\n" "$supported" >&6; }
   18504 		if test "$supported" = "yes" ; then
   18505 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18506 			found="yes"
   18507 		fi
   18508 	fi
   18509 
   18510 
   18511 
   18512 
   18513 
   18514 
   18515 
   18516 
   18517 
   18518 
   18519 
   18520 
   18521 
   18522 
   18523 
   18524 xorg_testset_save_CFLAGS="$CFLAGS"
   18525 
   18526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18528 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18529 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18530 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18531 then :
   18532   printf %s "(cached) " >&6
   18533 else case e in #(
   18534   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18535 /* end confdefs.h.  */
   18536 int i;
   18537 _ACEOF
   18538 if ac_fn_c_try_compile "$LINENO"
   18539 then :
   18540   xorg_cv_cc_flag_unknown_warning_option=yes
   18541 else case e in #(
   18542   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18543 esac
   18544 fi
   18545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18546 esac
   18547 fi
   18548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18549 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18551 	CFLAGS="$xorg_testset_save_CFLAGS"
   18552 fi
   18553 
   18554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18557 	fi
   18558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18559 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18560 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18561 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18562 then :
   18563   printf %s "(cached) " >&6
   18564 else case e in #(
   18565   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18566 /* end confdefs.h.  */
   18567 int i;
   18568 _ACEOF
   18569 if ac_fn_c_try_compile "$LINENO"
   18570 then :
   18571   xorg_cv_cc_flag_unused_command_line_argument=yes
   18572 else case e in #(
   18573   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18574 esac
   18575 fi
   18576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18577 esac
   18578 fi
   18579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18580 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18581 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18582 	CFLAGS="$xorg_testset_save_CFLAGS"
   18583 fi
   18584 
   18585 found="no"
   18586 
   18587 	if test $found = "no" ; then
   18588 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18590 		fi
   18591 
   18592 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18594 		fi
   18595 
   18596 		CFLAGS="$CFLAGS -Wmain"
   18597 
   18598 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18599 printf %s "checking if $CC supports -Wmain... " >&6; }
   18600 		cacheid=xorg_cv_cc_flag__Wmain
   18601 		if eval test \${$cacheid+y}
   18602 then :
   18603   printf %s "(cached) " >&6
   18604 else case e in #(
   18605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18606 /* end confdefs.h.  */
   18607 int i;
   18608 int
   18609 main (void)
   18610 {
   18611 
   18612   ;
   18613   return 0;
   18614 }
   18615 _ACEOF
   18616 if ac_fn_c_try_link "$LINENO"
   18617 then :
   18618   eval $cacheid=yes
   18619 else case e in #(
   18620   e) eval $cacheid=no ;;
   18621 esac
   18622 fi
   18623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18624     conftest$ac_exeext conftest.$ac_ext ;;
   18625 esac
   18626 fi
   18627 
   18628 
   18629 		CFLAGS="$xorg_testset_save_CFLAGS"
   18630 
   18631 		eval supported=\$$cacheid
   18632 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18633 printf "%s\n" "$supported" >&6; }
   18634 		if test "$supported" = "yes" ; then
   18635 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18636 			found="yes"
   18637 		fi
   18638 	fi
   18639 
   18640 
   18641 
   18642 
   18643 
   18644 
   18645 
   18646 
   18647 
   18648 
   18649 
   18650 
   18651 
   18652 
   18653 
   18654 xorg_testset_save_CFLAGS="$CFLAGS"
   18655 
   18656 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18657 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18659 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18660 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18661 then :
   18662   printf %s "(cached) " >&6
   18663 else case e in #(
   18664   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18665 /* end confdefs.h.  */
   18666 int i;
   18667 _ACEOF
   18668 if ac_fn_c_try_compile "$LINENO"
   18669 then :
   18670   xorg_cv_cc_flag_unknown_warning_option=yes
   18671 else case e in #(
   18672   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18673 esac
   18674 fi
   18675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18676 esac
   18677 fi
   18678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18679 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18680 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18681 	CFLAGS="$xorg_testset_save_CFLAGS"
   18682 fi
   18683 
   18684 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18685 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18686 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18687 	fi
   18688 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18689 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18690 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18691 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18692 then :
   18693   printf %s "(cached) " >&6
   18694 else case e in #(
   18695   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18696 /* end confdefs.h.  */
   18697 int i;
   18698 _ACEOF
   18699 if ac_fn_c_try_compile "$LINENO"
   18700 then :
   18701   xorg_cv_cc_flag_unused_command_line_argument=yes
   18702 else case e in #(
   18703   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18704 esac
   18705 fi
   18706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18707 esac
   18708 fi
   18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18710 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18711 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18712 	CFLAGS="$xorg_testset_save_CFLAGS"
   18713 fi
   18714 
   18715 found="no"
   18716 
   18717 	if test $found = "no" ; then
   18718 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18719 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18720 		fi
   18721 
   18722 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18723 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18724 		fi
   18725 
   18726 		CFLAGS="$CFLAGS -Wmissing-braces"
   18727 
   18728 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18729 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18730 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18731 		if eval test \${$cacheid+y}
   18732 then :
   18733   printf %s "(cached) " >&6
   18734 else case e in #(
   18735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18736 /* end confdefs.h.  */
   18737 int i;
   18738 int
   18739 main (void)
   18740 {
   18741 
   18742   ;
   18743   return 0;
   18744 }
   18745 _ACEOF
   18746 if ac_fn_c_try_link "$LINENO"
   18747 then :
   18748   eval $cacheid=yes
   18749 else case e in #(
   18750   e) eval $cacheid=no ;;
   18751 esac
   18752 fi
   18753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18754     conftest$ac_exeext conftest.$ac_ext ;;
   18755 esac
   18756 fi
   18757 
   18758 
   18759 		CFLAGS="$xorg_testset_save_CFLAGS"
   18760 
   18761 		eval supported=\$$cacheid
   18762 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18763 printf "%s\n" "$supported" >&6; }
   18764 		if test "$supported" = "yes" ; then
   18765 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18766 			found="yes"
   18767 		fi
   18768 	fi
   18769 
   18770 
   18771 
   18772 
   18773 
   18774 
   18775 
   18776 
   18777 
   18778 
   18779 
   18780 
   18781 
   18782 
   18783 
   18784 xorg_testset_save_CFLAGS="$CFLAGS"
   18785 
   18786 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18787 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18789 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18790 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18791 then :
   18792   printf %s "(cached) " >&6
   18793 else case e in #(
   18794   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18795 /* end confdefs.h.  */
   18796 int i;
   18797 _ACEOF
   18798 if ac_fn_c_try_compile "$LINENO"
   18799 then :
   18800   xorg_cv_cc_flag_unknown_warning_option=yes
   18801 else case e in #(
   18802   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18803 esac
   18804 fi
   18805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18806 esac
   18807 fi
   18808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18809 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18811 	CFLAGS="$xorg_testset_save_CFLAGS"
   18812 fi
   18813 
   18814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18817 	fi
   18818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18819 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18820 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18821 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18822 then :
   18823   printf %s "(cached) " >&6
   18824 else case e in #(
   18825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18826 /* end confdefs.h.  */
   18827 int i;
   18828 _ACEOF
   18829 if ac_fn_c_try_compile "$LINENO"
   18830 then :
   18831   xorg_cv_cc_flag_unused_command_line_argument=yes
   18832 else case e in #(
   18833   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18834 esac
   18835 fi
   18836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18837 esac
   18838 fi
   18839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18840 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18842 	CFLAGS="$xorg_testset_save_CFLAGS"
   18843 fi
   18844 
   18845 found="no"
   18846 
   18847 	if test $found = "no" ; then
   18848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18850 		fi
   18851 
   18852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18854 		fi
   18855 
   18856 		CFLAGS="$CFLAGS -Wsequence-point"
   18857 
   18858 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18859 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18860 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18861 		if eval test \${$cacheid+y}
   18862 then :
   18863   printf %s "(cached) " >&6
   18864 else case e in #(
   18865   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18866 /* end confdefs.h.  */
   18867 int i;
   18868 int
   18869 main (void)
   18870 {
   18871 
   18872   ;
   18873   return 0;
   18874 }
   18875 _ACEOF
   18876 if ac_fn_c_try_link "$LINENO"
   18877 then :
   18878   eval $cacheid=yes
   18879 else case e in #(
   18880   e) eval $cacheid=no ;;
   18881 esac
   18882 fi
   18883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18884     conftest$ac_exeext conftest.$ac_ext ;;
   18885 esac
   18886 fi
   18887 
   18888 
   18889 		CFLAGS="$xorg_testset_save_CFLAGS"
   18890 
   18891 		eval supported=\$$cacheid
   18892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18893 printf "%s\n" "$supported" >&6; }
   18894 		if test "$supported" = "yes" ; then
   18895 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18896 			found="yes"
   18897 		fi
   18898 	fi
   18899 
   18900 
   18901 
   18902 
   18903 
   18904 
   18905 
   18906 
   18907 
   18908 
   18909 
   18910 
   18911 
   18912 
   18913 
   18914 xorg_testset_save_CFLAGS="$CFLAGS"
   18915 
   18916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18919 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18920 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18921 then :
   18922   printf %s "(cached) " >&6
   18923 else case e in #(
   18924   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18925 /* end confdefs.h.  */
   18926 int i;
   18927 _ACEOF
   18928 if ac_fn_c_try_compile "$LINENO"
   18929 then :
   18930   xorg_cv_cc_flag_unknown_warning_option=yes
   18931 else case e in #(
   18932   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18933 esac
   18934 fi
   18935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18936 esac
   18937 fi
   18938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18939 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18940 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18941 	CFLAGS="$xorg_testset_save_CFLAGS"
   18942 fi
   18943 
   18944 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18945 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18946 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18947 	fi
   18948 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18950 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18951 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18952 then :
   18953   printf %s "(cached) " >&6
   18954 else case e in #(
   18955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18956 /* end confdefs.h.  */
   18957 int i;
   18958 _ACEOF
   18959 if ac_fn_c_try_compile "$LINENO"
   18960 then :
   18961   xorg_cv_cc_flag_unused_command_line_argument=yes
   18962 else case e in #(
   18963   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18964 esac
   18965 fi
   18966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18967 esac
   18968 fi
   18969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18970 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18972 	CFLAGS="$xorg_testset_save_CFLAGS"
   18973 fi
   18974 
   18975 found="no"
   18976 
   18977 	if test $found = "no" ; then
   18978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18980 		fi
   18981 
   18982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18984 		fi
   18985 
   18986 		CFLAGS="$CFLAGS -Wreturn-type"
   18987 
   18988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18989 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18990 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18991 		if eval test \${$cacheid+y}
   18992 then :
   18993   printf %s "(cached) " >&6
   18994 else case e in #(
   18995   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18996 /* end confdefs.h.  */
   18997 int i;
   18998 int
   18999 main (void)
   19000 {
   19001 
   19002   ;
   19003   return 0;
   19004 }
   19005 _ACEOF
   19006 if ac_fn_c_try_link "$LINENO"
   19007 then :
   19008   eval $cacheid=yes
   19009 else case e in #(
   19010   e) eval $cacheid=no ;;
   19011 esac
   19012 fi
   19013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19014     conftest$ac_exeext conftest.$ac_ext ;;
   19015 esac
   19016 fi
   19017 
   19018 
   19019 		CFLAGS="$xorg_testset_save_CFLAGS"
   19020 
   19021 		eval supported=\$$cacheid
   19022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19023 printf "%s\n" "$supported" >&6; }
   19024 		if test "$supported" = "yes" ; then
   19025 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   19026 			found="yes"
   19027 		fi
   19028 	fi
   19029 
   19030 
   19031 
   19032 
   19033 
   19034 
   19035 
   19036 
   19037 
   19038 
   19039 
   19040 
   19041 
   19042 
   19043 
   19044 xorg_testset_save_CFLAGS="$CFLAGS"
   19045 
   19046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19051 then :
   19052   printf %s "(cached) " >&6
   19053 else case e in #(
   19054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19055 /* end confdefs.h.  */
   19056 int i;
   19057 _ACEOF
   19058 if ac_fn_c_try_compile "$LINENO"
   19059 then :
   19060   xorg_cv_cc_flag_unknown_warning_option=yes
   19061 else case e in #(
   19062   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19063 esac
   19064 fi
   19065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19066 esac
   19067 fi
   19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19069 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19071 	CFLAGS="$xorg_testset_save_CFLAGS"
   19072 fi
   19073 
   19074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19077 	fi
   19078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19079 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19080 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19081 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19082 then :
   19083   printf %s "(cached) " >&6
   19084 else case e in #(
   19085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19086 /* end confdefs.h.  */
   19087 int i;
   19088 _ACEOF
   19089 if ac_fn_c_try_compile "$LINENO"
   19090 then :
   19091   xorg_cv_cc_flag_unused_command_line_argument=yes
   19092 else case e in #(
   19093   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19094 esac
   19095 fi
   19096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19097 esac
   19098 fi
   19099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19100 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19102 	CFLAGS="$xorg_testset_save_CFLAGS"
   19103 fi
   19104 
   19105 found="no"
   19106 
   19107 	if test $found = "no" ; then
   19108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19110 		fi
   19111 
   19112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19114 		fi
   19115 
   19116 		CFLAGS="$CFLAGS -Wtrigraphs"
   19117 
   19118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19119 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19120 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19121 		if eval test \${$cacheid+y}
   19122 then :
   19123   printf %s "(cached) " >&6
   19124 else case e in #(
   19125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19126 /* end confdefs.h.  */
   19127 int i;
   19128 int
   19129 main (void)
   19130 {
   19131 
   19132   ;
   19133   return 0;
   19134 }
   19135 _ACEOF
   19136 if ac_fn_c_try_link "$LINENO"
   19137 then :
   19138   eval $cacheid=yes
   19139 else case e in #(
   19140   e) eval $cacheid=no ;;
   19141 esac
   19142 fi
   19143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19144     conftest$ac_exeext conftest.$ac_ext ;;
   19145 esac
   19146 fi
   19147 
   19148 
   19149 		CFLAGS="$xorg_testset_save_CFLAGS"
   19150 
   19151 		eval supported=\$$cacheid
   19152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19153 printf "%s\n" "$supported" >&6; }
   19154 		if test "$supported" = "yes" ; then
   19155 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19156 			found="yes"
   19157 		fi
   19158 	fi
   19159 
   19160 
   19161 
   19162 
   19163 
   19164 
   19165 
   19166 
   19167 
   19168 
   19169 
   19170 
   19171 
   19172 
   19173 
   19174 xorg_testset_save_CFLAGS="$CFLAGS"
   19175 
   19176 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19179 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19180 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19181 then :
   19182   printf %s "(cached) " >&6
   19183 else case e in #(
   19184   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19185 /* end confdefs.h.  */
   19186 int i;
   19187 _ACEOF
   19188 if ac_fn_c_try_compile "$LINENO"
   19189 then :
   19190   xorg_cv_cc_flag_unknown_warning_option=yes
   19191 else case e in #(
   19192   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19193 esac
   19194 fi
   19195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19196 esac
   19197 fi
   19198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19199 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19201 	CFLAGS="$xorg_testset_save_CFLAGS"
   19202 fi
   19203 
   19204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19207 	fi
   19208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19210 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19211 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19212 then :
   19213   printf %s "(cached) " >&6
   19214 else case e in #(
   19215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19216 /* end confdefs.h.  */
   19217 int i;
   19218 _ACEOF
   19219 if ac_fn_c_try_compile "$LINENO"
   19220 then :
   19221   xorg_cv_cc_flag_unused_command_line_argument=yes
   19222 else case e in #(
   19223   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19224 esac
   19225 fi
   19226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19227 esac
   19228 fi
   19229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19230 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19231 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19232 	CFLAGS="$xorg_testset_save_CFLAGS"
   19233 fi
   19234 
   19235 found="no"
   19236 
   19237 	if test $found = "no" ; then
   19238 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19239 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19240 		fi
   19241 
   19242 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19243 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19244 		fi
   19245 
   19246 		CFLAGS="$CFLAGS -Warray-bounds"
   19247 
   19248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19249 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19250 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19251 		if eval test \${$cacheid+y}
   19252 then :
   19253   printf %s "(cached) " >&6
   19254 else case e in #(
   19255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19256 /* end confdefs.h.  */
   19257 int i;
   19258 int
   19259 main (void)
   19260 {
   19261 
   19262   ;
   19263   return 0;
   19264 }
   19265 _ACEOF
   19266 if ac_fn_c_try_link "$LINENO"
   19267 then :
   19268   eval $cacheid=yes
   19269 else case e in #(
   19270   e) eval $cacheid=no ;;
   19271 esac
   19272 fi
   19273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19274     conftest$ac_exeext conftest.$ac_ext ;;
   19275 esac
   19276 fi
   19277 
   19278 
   19279 		CFLAGS="$xorg_testset_save_CFLAGS"
   19280 
   19281 		eval supported=\$$cacheid
   19282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19283 printf "%s\n" "$supported" >&6; }
   19284 		if test "$supported" = "yes" ; then
   19285 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19286 			found="yes"
   19287 		fi
   19288 	fi
   19289 
   19290 
   19291 
   19292 
   19293 
   19294 
   19295 
   19296 
   19297 
   19298 
   19299 
   19300 
   19301 
   19302 
   19303 
   19304 xorg_testset_save_CFLAGS="$CFLAGS"
   19305 
   19306 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19308 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19309 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19310 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19311 then :
   19312   printf %s "(cached) " >&6
   19313 else case e in #(
   19314   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19315 /* end confdefs.h.  */
   19316 int i;
   19317 _ACEOF
   19318 if ac_fn_c_try_compile "$LINENO"
   19319 then :
   19320   xorg_cv_cc_flag_unknown_warning_option=yes
   19321 else case e in #(
   19322   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19323 esac
   19324 fi
   19325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19326 esac
   19327 fi
   19328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19329 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19330 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19331 	CFLAGS="$xorg_testset_save_CFLAGS"
   19332 fi
   19333 
   19334 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19335 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19336 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19337 	fi
   19338 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19339 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19340 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19341 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19342 then :
   19343   printf %s "(cached) " >&6
   19344 else case e in #(
   19345   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19346 /* end confdefs.h.  */
   19347 int i;
   19348 _ACEOF
   19349 if ac_fn_c_try_compile "$LINENO"
   19350 then :
   19351   xorg_cv_cc_flag_unused_command_line_argument=yes
   19352 else case e in #(
   19353   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19354 esac
   19355 fi
   19356 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19357 esac
   19358 fi
   19359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19360 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19361 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19362 	CFLAGS="$xorg_testset_save_CFLAGS"
   19363 fi
   19364 
   19365 found="no"
   19366 
   19367 	if test $found = "no" ; then
   19368 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19369 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19370 		fi
   19371 
   19372 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19373 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19374 		fi
   19375 
   19376 		CFLAGS="$CFLAGS -Wwrite-strings"
   19377 
   19378 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19379 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19380 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19381 		if eval test \${$cacheid+y}
   19382 then :
   19383   printf %s "(cached) " >&6
   19384 else case e in #(
   19385   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19386 /* end confdefs.h.  */
   19387 int i;
   19388 int
   19389 main (void)
   19390 {
   19391 
   19392   ;
   19393   return 0;
   19394 }
   19395 _ACEOF
   19396 if ac_fn_c_try_link "$LINENO"
   19397 then :
   19398   eval $cacheid=yes
   19399 else case e in #(
   19400   e) eval $cacheid=no ;;
   19401 esac
   19402 fi
   19403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19404     conftest$ac_exeext conftest.$ac_ext ;;
   19405 esac
   19406 fi
   19407 
   19408 
   19409 		CFLAGS="$xorg_testset_save_CFLAGS"
   19410 
   19411 		eval supported=\$$cacheid
   19412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19413 printf "%s\n" "$supported" >&6; }
   19414 		if test "$supported" = "yes" ; then
   19415 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19416 			found="yes"
   19417 		fi
   19418 	fi
   19419 
   19420 
   19421 
   19422 
   19423 
   19424 
   19425 
   19426 
   19427 
   19428 
   19429 
   19430 
   19431 
   19432 
   19433 
   19434 xorg_testset_save_CFLAGS="$CFLAGS"
   19435 
   19436 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19437 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19438 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19439 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19440 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19441 then :
   19442   printf %s "(cached) " >&6
   19443 else case e in #(
   19444   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19445 /* end confdefs.h.  */
   19446 int i;
   19447 _ACEOF
   19448 if ac_fn_c_try_compile "$LINENO"
   19449 then :
   19450   xorg_cv_cc_flag_unknown_warning_option=yes
   19451 else case e in #(
   19452   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19453 esac
   19454 fi
   19455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19456 esac
   19457 fi
   19458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19459 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19460 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19461 	CFLAGS="$xorg_testset_save_CFLAGS"
   19462 fi
   19463 
   19464 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19465 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19466 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19467 	fi
   19468 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19470 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19471 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19472 then :
   19473   printf %s "(cached) " >&6
   19474 else case e in #(
   19475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19476 /* end confdefs.h.  */
   19477 int i;
   19478 _ACEOF
   19479 if ac_fn_c_try_compile "$LINENO"
   19480 then :
   19481   xorg_cv_cc_flag_unused_command_line_argument=yes
   19482 else case e in #(
   19483   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19484 esac
   19485 fi
   19486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19487 esac
   19488 fi
   19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19490 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19492 	CFLAGS="$xorg_testset_save_CFLAGS"
   19493 fi
   19494 
   19495 found="no"
   19496 
   19497 	if test $found = "no" ; then
   19498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19500 		fi
   19501 
   19502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19504 		fi
   19505 
   19506 		CFLAGS="$CFLAGS -Waddress"
   19507 
   19508 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19509 printf %s "checking if $CC supports -Waddress... " >&6; }
   19510 		cacheid=xorg_cv_cc_flag__Waddress
   19511 		if eval test \${$cacheid+y}
   19512 then :
   19513   printf %s "(cached) " >&6
   19514 else case e in #(
   19515   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19516 /* end confdefs.h.  */
   19517 int i;
   19518 int
   19519 main (void)
   19520 {
   19521 
   19522   ;
   19523   return 0;
   19524 }
   19525 _ACEOF
   19526 if ac_fn_c_try_link "$LINENO"
   19527 then :
   19528   eval $cacheid=yes
   19529 else case e in #(
   19530   e) eval $cacheid=no ;;
   19531 esac
   19532 fi
   19533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19534     conftest$ac_exeext conftest.$ac_ext ;;
   19535 esac
   19536 fi
   19537 
   19538 
   19539 		CFLAGS="$xorg_testset_save_CFLAGS"
   19540 
   19541 		eval supported=\$$cacheid
   19542 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19543 printf "%s\n" "$supported" >&6; }
   19544 		if test "$supported" = "yes" ; then
   19545 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19546 			found="yes"
   19547 		fi
   19548 	fi
   19549 
   19550 
   19551 
   19552 
   19553 
   19554 
   19555 
   19556 
   19557 
   19558 
   19559 
   19560 
   19561 
   19562 
   19563 
   19564 xorg_testset_save_CFLAGS="$CFLAGS"
   19565 
   19566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19568 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19569 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19570 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19571 then :
   19572   printf %s "(cached) " >&6
   19573 else case e in #(
   19574   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19575 /* end confdefs.h.  */
   19576 int i;
   19577 _ACEOF
   19578 if ac_fn_c_try_compile "$LINENO"
   19579 then :
   19580   xorg_cv_cc_flag_unknown_warning_option=yes
   19581 else case e in #(
   19582   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19583 esac
   19584 fi
   19585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19586 esac
   19587 fi
   19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19589 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19591 	CFLAGS="$xorg_testset_save_CFLAGS"
   19592 fi
   19593 
   19594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19597 	fi
   19598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19600 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19601 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19602 then :
   19603   printf %s "(cached) " >&6
   19604 else case e in #(
   19605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19606 /* end confdefs.h.  */
   19607 int i;
   19608 _ACEOF
   19609 if ac_fn_c_try_compile "$LINENO"
   19610 then :
   19611   xorg_cv_cc_flag_unused_command_line_argument=yes
   19612 else case e in #(
   19613   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19614 esac
   19615 fi
   19616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19617 esac
   19618 fi
   19619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19620 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19622 	CFLAGS="$xorg_testset_save_CFLAGS"
   19623 fi
   19624 
   19625 found="no"
   19626 
   19627 	if test $found = "no" ; then
   19628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19630 		fi
   19631 
   19632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19634 		fi
   19635 
   19636 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19637 
   19638 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19639 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19640 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19641 		if eval test \${$cacheid+y}
   19642 then :
   19643   printf %s "(cached) " >&6
   19644 else case e in #(
   19645   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19646 /* end confdefs.h.  */
   19647 int i;
   19648 int
   19649 main (void)
   19650 {
   19651 
   19652   ;
   19653   return 0;
   19654 }
   19655 _ACEOF
   19656 if ac_fn_c_try_link "$LINENO"
   19657 then :
   19658   eval $cacheid=yes
   19659 else case e in #(
   19660   e) eval $cacheid=no ;;
   19661 esac
   19662 fi
   19663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19664     conftest$ac_exeext conftest.$ac_ext ;;
   19665 esac
   19666 fi
   19667 
   19668 
   19669 		CFLAGS="$xorg_testset_save_CFLAGS"
   19670 
   19671 		eval supported=\$$cacheid
   19672 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19673 printf "%s\n" "$supported" >&6; }
   19674 		if test "$supported" = "yes" ; then
   19675 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19676 			found="yes"
   19677 		fi
   19678 	fi
   19679 
   19680 
   19681 
   19682 
   19683 
   19684 
   19685 
   19686 
   19687 
   19688 
   19689 
   19690 
   19691 
   19692 
   19693 
   19694 xorg_testset_save_CFLAGS="$CFLAGS"
   19695 
   19696 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19697 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19698 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19699 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19700 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19701 then :
   19702   printf %s "(cached) " >&6
   19703 else case e in #(
   19704   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19705 /* end confdefs.h.  */
   19706 int i;
   19707 _ACEOF
   19708 if ac_fn_c_try_compile "$LINENO"
   19709 then :
   19710   xorg_cv_cc_flag_unknown_warning_option=yes
   19711 else case e in #(
   19712   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19713 esac
   19714 fi
   19715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19716 esac
   19717 fi
   19718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19719 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19720 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19721 	CFLAGS="$xorg_testset_save_CFLAGS"
   19722 fi
   19723 
   19724 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19725 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19726 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19727 	fi
   19728 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19729 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19730 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19731 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19732 then :
   19733   printf %s "(cached) " >&6
   19734 else case e in #(
   19735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19736 /* end confdefs.h.  */
   19737 int i;
   19738 _ACEOF
   19739 if ac_fn_c_try_compile "$LINENO"
   19740 then :
   19741   xorg_cv_cc_flag_unused_command_line_argument=yes
   19742 else case e in #(
   19743   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19744 esac
   19745 fi
   19746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19747 esac
   19748 fi
   19749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19750 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19751 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19752 	CFLAGS="$xorg_testset_save_CFLAGS"
   19753 fi
   19754 
   19755 found="no"
   19756 
   19757 	if test $found = "no" ; then
   19758 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19760 		fi
   19761 
   19762 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19764 		fi
   19765 
   19766 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19767 
   19768 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19769 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19770 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19771 		if eval test \${$cacheid+y}
   19772 then :
   19773   printf %s "(cached) " >&6
   19774 else case e in #(
   19775   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19776 /* end confdefs.h.  */
   19777 int i;
   19778 int
   19779 main (void)
   19780 {
   19781 
   19782   ;
   19783   return 0;
   19784 }
   19785 _ACEOF
   19786 if ac_fn_c_try_link "$LINENO"
   19787 then :
   19788   eval $cacheid=yes
   19789 else case e in #(
   19790   e) eval $cacheid=no ;;
   19791 esac
   19792 fi
   19793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19794     conftest$ac_exeext conftest.$ac_ext ;;
   19795 esac
   19796 fi
   19797 
   19798 
   19799 		CFLAGS="$xorg_testset_save_CFLAGS"
   19800 
   19801 		eval supported=\$$cacheid
   19802 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19803 printf "%s\n" "$supported" >&6; }
   19804 		if test "$supported" = "yes" ; then
   19805 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19806 			found="yes"
   19807 		fi
   19808 	fi
   19809 
   19810 
   19811 fi
   19812 
   19813 
   19814 
   19815 
   19816 
   19817 
   19818 
   19819 		CWARNFLAGS="$BASE_CFLAGS"
   19820 		if  test "x$GCC" = xyes ; then
   19821 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19822 		fi
   19823 
   19824 
   19825 
   19826 
   19827 
   19828 
   19829 
   19830 
   19831 # Check whether --enable-strict-compilation was given.
   19832 if test ${enable_strict_compilation+y}
   19833 then :
   19834   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19835 else case e in #(
   19836   e) STRICT_COMPILE=no ;;
   19837 esac
   19838 fi
   19839 
   19840 
   19841 
   19842 
   19843 
   19844 
   19845 STRICT_CFLAGS=""
   19846 
   19847 
   19848 
   19849 
   19850 
   19851 
   19852 
   19853 
   19854 
   19855 
   19856 
   19857 
   19858 
   19859 xorg_testset_save_CFLAGS="$CFLAGS"
   19860 
   19861 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19862 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19863 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19864 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19865 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19866 then :
   19867   printf %s "(cached) " >&6
   19868 else case e in #(
   19869   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19870 /* end confdefs.h.  */
   19871 int i;
   19872 _ACEOF
   19873 if ac_fn_c_try_compile "$LINENO"
   19874 then :
   19875   xorg_cv_cc_flag_unknown_warning_option=yes
   19876 else case e in #(
   19877   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19878 esac
   19879 fi
   19880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19881 esac
   19882 fi
   19883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19884 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19885 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19886 	CFLAGS="$xorg_testset_save_CFLAGS"
   19887 fi
   19888 
   19889 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19890 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19891 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19892 	fi
   19893 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19894 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19895 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19896 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19897 then :
   19898   printf %s "(cached) " >&6
   19899 else case e in #(
   19900   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19901 /* end confdefs.h.  */
   19902 int i;
   19903 _ACEOF
   19904 if ac_fn_c_try_compile "$LINENO"
   19905 then :
   19906   xorg_cv_cc_flag_unused_command_line_argument=yes
   19907 else case e in #(
   19908   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19909 esac
   19910 fi
   19911 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19912 esac
   19913 fi
   19914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19915 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19916 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19917 	CFLAGS="$xorg_testset_save_CFLAGS"
   19918 fi
   19919 
   19920 found="no"
   19921 
   19922 	if test $found = "no" ; then
   19923 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19925 		fi
   19926 
   19927 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19929 		fi
   19930 
   19931 		CFLAGS="$CFLAGS -pedantic"
   19932 
   19933 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19934 printf %s "checking if $CC supports -pedantic... " >&6; }
   19935 		cacheid=xorg_cv_cc_flag__pedantic
   19936 		if eval test \${$cacheid+y}
   19937 then :
   19938   printf %s "(cached) " >&6
   19939 else case e in #(
   19940   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19941 /* end confdefs.h.  */
   19942 int i;
   19943 int
   19944 main (void)
   19945 {
   19946 
   19947   ;
   19948   return 0;
   19949 }
   19950 _ACEOF
   19951 if ac_fn_c_try_link "$LINENO"
   19952 then :
   19953   eval $cacheid=yes
   19954 else case e in #(
   19955   e) eval $cacheid=no ;;
   19956 esac
   19957 fi
   19958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19959     conftest$ac_exeext conftest.$ac_ext ;;
   19960 esac
   19961 fi
   19962 
   19963 
   19964 		CFLAGS="$xorg_testset_save_CFLAGS"
   19965 
   19966 		eval supported=\$$cacheid
   19967 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19968 printf "%s\n" "$supported" >&6; }
   19969 		if test "$supported" = "yes" ; then
   19970 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19971 			found="yes"
   19972 		fi
   19973 	fi
   19974 
   19975 
   19976 
   19977 
   19978 
   19979 
   19980 
   19981 
   19982 
   19983 
   19984 
   19985 
   19986 
   19987 
   19988 
   19989 xorg_testset_save_CFLAGS="$CFLAGS"
   19990 
   19991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19993 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19994 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19995 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19996 then :
   19997   printf %s "(cached) " >&6
   19998 else case e in #(
   19999   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20000 /* end confdefs.h.  */
   20001 int i;
   20002 _ACEOF
   20003 if ac_fn_c_try_compile "$LINENO"
   20004 then :
   20005   xorg_cv_cc_flag_unknown_warning_option=yes
   20006 else case e in #(
   20007   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20008 esac
   20009 fi
   20010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20011 esac
   20012 fi
   20013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20014 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20015 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20016 	CFLAGS="$xorg_testset_save_CFLAGS"
   20017 fi
   20018 
   20019 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20020 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20021 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20022 	fi
   20023 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20024 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20025 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20026 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20027 then :
   20028   printf %s "(cached) " >&6
   20029 else case e in #(
   20030   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20031 /* end confdefs.h.  */
   20032 int i;
   20033 _ACEOF
   20034 if ac_fn_c_try_compile "$LINENO"
   20035 then :
   20036   xorg_cv_cc_flag_unused_command_line_argument=yes
   20037 else case e in #(
   20038   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20039 esac
   20040 fi
   20041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20042 esac
   20043 fi
   20044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20045 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20046 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20047 	CFLAGS="$xorg_testset_save_CFLAGS"
   20048 fi
   20049 
   20050 found="no"
   20051 
   20052 	if test $found = "no" ; then
   20053 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20055 		fi
   20056 
   20057 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20059 		fi
   20060 
   20061 		CFLAGS="$CFLAGS -Werror"
   20062 
   20063 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20064 printf %s "checking if $CC supports -Werror... " >&6; }
   20065 		cacheid=xorg_cv_cc_flag__Werror
   20066 		if eval test \${$cacheid+y}
   20067 then :
   20068   printf %s "(cached) " >&6
   20069 else case e in #(
   20070   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20071 /* end confdefs.h.  */
   20072 int i;
   20073 int
   20074 main (void)
   20075 {
   20076 
   20077   ;
   20078   return 0;
   20079 }
   20080 _ACEOF
   20081 if ac_fn_c_try_link "$LINENO"
   20082 then :
   20083   eval $cacheid=yes
   20084 else case e in #(
   20085   e) eval $cacheid=no ;;
   20086 esac
   20087 fi
   20088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20089     conftest$ac_exeext conftest.$ac_ext ;;
   20090 esac
   20091 fi
   20092 
   20093 
   20094 		CFLAGS="$xorg_testset_save_CFLAGS"
   20095 
   20096 		eval supported=\$$cacheid
   20097 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20098 printf "%s\n" "$supported" >&6; }
   20099 		if test "$supported" = "yes" ; then
   20100 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20101 			found="yes"
   20102 		fi
   20103 	fi
   20104 
   20105 	if test $found = "no" ; then
   20106 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20108 		fi
   20109 
   20110 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20112 		fi
   20113 
   20114 		CFLAGS="$CFLAGS -errwarn"
   20115 
   20116 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20117 printf %s "checking if $CC supports -errwarn... " >&6; }
   20118 		cacheid=xorg_cv_cc_flag__errwarn
   20119 		if eval test \${$cacheid+y}
   20120 then :
   20121   printf %s "(cached) " >&6
   20122 else case e in #(
   20123   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20124 /* end confdefs.h.  */
   20125 int i;
   20126 int
   20127 main (void)
   20128 {
   20129 
   20130   ;
   20131   return 0;
   20132 }
   20133 _ACEOF
   20134 if ac_fn_c_try_link "$LINENO"
   20135 then :
   20136   eval $cacheid=yes
   20137 else case e in #(
   20138   e) eval $cacheid=no ;;
   20139 esac
   20140 fi
   20141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20142     conftest$ac_exeext conftest.$ac_ext ;;
   20143 esac
   20144 fi
   20145 
   20146 
   20147 		CFLAGS="$xorg_testset_save_CFLAGS"
   20148 
   20149 		eval supported=\$$cacheid
   20150 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20151 printf "%s\n" "$supported" >&6; }
   20152 		if test "$supported" = "yes" ; then
   20153 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20154 			found="yes"
   20155 		fi
   20156 	fi
   20157 
   20158 
   20159 
   20160 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20161 # activate it with -Werror, so we add it here explicitly.
   20162 
   20163 
   20164 
   20165 
   20166 
   20167 
   20168 
   20169 
   20170 
   20171 
   20172 
   20173 
   20174 
   20175 xorg_testset_save_CFLAGS="$CFLAGS"
   20176 
   20177 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20178 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20179 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20180 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20181 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20182 then :
   20183   printf %s "(cached) " >&6
   20184 else case e in #(
   20185   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20186 /* end confdefs.h.  */
   20187 int i;
   20188 _ACEOF
   20189 if ac_fn_c_try_compile "$LINENO"
   20190 then :
   20191   xorg_cv_cc_flag_unknown_warning_option=yes
   20192 else case e in #(
   20193   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20194 esac
   20195 fi
   20196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20197 esac
   20198 fi
   20199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20200 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20202 	CFLAGS="$xorg_testset_save_CFLAGS"
   20203 fi
   20204 
   20205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20208 	fi
   20209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20211 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20212 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20213 then :
   20214   printf %s "(cached) " >&6
   20215 else case e in #(
   20216   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20217 /* end confdefs.h.  */
   20218 int i;
   20219 _ACEOF
   20220 if ac_fn_c_try_compile "$LINENO"
   20221 then :
   20222   xorg_cv_cc_flag_unused_command_line_argument=yes
   20223 else case e in #(
   20224   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20225 esac
   20226 fi
   20227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20228 esac
   20229 fi
   20230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20231 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20232 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20233 	CFLAGS="$xorg_testset_save_CFLAGS"
   20234 fi
   20235 
   20236 found="no"
   20237 
   20238 	if test $found = "no" ; then
   20239 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20240 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20241 		fi
   20242 
   20243 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20244 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20245 		fi
   20246 
   20247 		CFLAGS="$CFLAGS -Werror=attributes"
   20248 
   20249 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20250 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20251 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20252 		if eval test \${$cacheid+y}
   20253 then :
   20254   printf %s "(cached) " >&6
   20255 else case e in #(
   20256   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20257 /* end confdefs.h.  */
   20258 int i;
   20259 int
   20260 main (void)
   20261 {
   20262 
   20263   ;
   20264   return 0;
   20265 }
   20266 _ACEOF
   20267 if ac_fn_c_try_link "$LINENO"
   20268 then :
   20269   eval $cacheid=yes
   20270 else case e in #(
   20271   e) eval $cacheid=no ;;
   20272 esac
   20273 fi
   20274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20275     conftest$ac_exeext conftest.$ac_ext ;;
   20276 esac
   20277 fi
   20278 
   20279 
   20280 		CFLAGS="$xorg_testset_save_CFLAGS"
   20281 
   20282 		eval supported=\$$cacheid
   20283 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20284 printf "%s\n" "$supported" >&6; }
   20285 		if test "$supported" = "yes" ; then
   20286 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20287 			found="yes"
   20288 		fi
   20289 	fi
   20290 
   20291 
   20292 
   20293 if test "x$STRICT_COMPILE" = "xyes"; then
   20294     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20295     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20296 fi
   20297 
   20298 
   20299 
   20300 
   20301 
   20302 
   20303 
   20304 
   20305 cat >>confdefs.h <<_ACEOF
   20306 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20307 _ACEOF
   20308 
   20309 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20310 	if test "x$PVM" = "x"; then
   20311 		PVM="0"
   20312 	fi
   20313 
   20314 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20315 
   20316 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20317 	if test "x$PVP" = "x"; then
   20318 		PVP="0"
   20319 	fi
   20320 
   20321 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20322 
   20323 
   20324 
   20325 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20326 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20327 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20328 touch \$(top_srcdir)/ChangeLog; \
   20329 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20330 
   20331 
   20332 
   20333 
   20334 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20335 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20336 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20337 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20338 touch \$(top_srcdir)/INSTALL; \
   20339 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20340 
   20341 
   20342 
   20343 
   20344 
   20345 
   20346 case $host_os in
   20347     solaris*)
   20348         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20349         # check for a man page file found in later versions that use
   20350         # traditional section numbers instead
   20351         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20352 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20353 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20354 then :
   20355   printf %s "(cached) " >&6
   20356 else case e in #(
   20357   e) test "$cross_compiling" = yes &&
   20358   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20359 if test -r "/usr/share/man/man7/attributes.7"; then
   20360   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20361 else
   20362   ac_cv_file__usr_share_man_man7_attributes_7=no
   20363 fi ;;
   20364 esac
   20365 fi
   20366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20367 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20368 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20369 then :
   20370   SYSV_MAN_SECTIONS=false
   20371 else case e in #(
   20372   e) SYSV_MAN_SECTIONS=true ;;
   20373 esac
   20374 fi
   20375 
   20376         ;;
   20377     *) SYSV_MAN_SECTIONS=false ;;
   20378 esac
   20379 
   20380 if test x$APP_MAN_SUFFIX = x    ; then
   20381     APP_MAN_SUFFIX=1
   20382 fi
   20383 if test x$APP_MAN_DIR = x    ; then
   20384     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20385 fi
   20386 
   20387 if test x$LIB_MAN_SUFFIX = x    ; then
   20388     LIB_MAN_SUFFIX=3
   20389 fi
   20390 if test x$LIB_MAN_DIR = x    ; then
   20391     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20392 fi
   20393 
   20394 if test x$FILE_MAN_SUFFIX = x    ; then
   20395     case $SYSV_MAN_SECTIONS in
   20396 	true)				FILE_MAN_SUFFIX=4  ;;
   20397 	*)				FILE_MAN_SUFFIX=5  ;;
   20398     esac
   20399 fi
   20400 if test x$FILE_MAN_DIR = x    ; then
   20401     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20402 fi
   20403 
   20404 if test x$MISC_MAN_SUFFIX = x    ; then
   20405     case $SYSV_MAN_SECTIONS in
   20406 	true)				MISC_MAN_SUFFIX=5  ;;
   20407 	*)				MISC_MAN_SUFFIX=7  ;;
   20408     esac
   20409 fi
   20410 if test x$MISC_MAN_DIR = x    ; then
   20411     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20412 fi
   20413 
   20414 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20415     case $SYSV_MAN_SECTIONS in
   20416 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20417 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20418     esac
   20419 fi
   20420 if test x$DRIVER_MAN_DIR = x    ; then
   20421     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20422 fi
   20423 
   20424 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20425     case $SYSV_MAN_SECTIONS in
   20426 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20427 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20428     esac
   20429 fi
   20430 if test x$ADMIN_MAN_DIR = x    ; then
   20431     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20432 fi
   20433 
   20434 
   20435 
   20436 
   20437 
   20438 
   20439 
   20440 
   20441 
   20442 
   20443 
   20444 
   20445 
   20446 
   20447 
   20448 XORG_MAN_PAGE="X Version 11"
   20449 
   20450 MAN_SUBSTS="\
   20451 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20452 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20453 	-e 's|__xservername__|Xorg|g' \
   20454 	-e 's|__xconfigfile__|xorg.conf|g' \
   20455 	-e 's|__projectroot__|\$(prefix)|g' \
   20456 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20457 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20458 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20459 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20460 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20461 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20462 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20463 
   20464 
   20465 
   20466 
   20467 AM_DEFAULT_VERBOSITY=0
   20468 
   20469 
   20470 
   20471 
   20472 
   20473 # Checks for library functions
   20474 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   20475 if test "x$ac_cv_func_strlcat" = xyes
   20476 then :
   20477   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   20478 
   20479 fi
   20480 
   20481 ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
   20482 if test "x$ac_cv_func_fork" = xyes
   20483 then :
   20484 
   20485 else case e in #(
   20486   e) printf "%s\n" "#define NO_ZPIPE 1" >>confdefs.h
   20487  ;;
   20488 esac
   20489 fi
   20490 
   20491 
   20492 # Obtain compiler/linker options for dependencies
   20493 
   20494 pkg_failed=no
   20495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xproto x11" >&5
   20496 printf %s "checking for xproto x11... " >&6; }
   20497 
   20498 if test -n "$XPM_CFLAGS"; then
   20499     pkg_cv_XPM_CFLAGS="$XPM_CFLAGS"
   20500  elif test -n "$PKG_CONFIG"; then
   20501     if test -n "$PKG_CONFIG" && \
   20502     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   20503   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   20504   ac_status=$?
   20505   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20506   test $ac_status = 0; }; then
   20507   pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11" 2>/dev/null`
   20508 		      test "x$?" != "x0" && pkg_failed=yes
   20509 else
   20510   pkg_failed=yes
   20511 fi
   20512  else
   20513     pkg_failed=untried
   20514 fi
   20515 if test -n "$XPM_LIBS"; then
   20516     pkg_cv_XPM_LIBS="$XPM_LIBS"
   20517  elif test -n "$PKG_CONFIG"; then
   20518     if test -n "$PKG_CONFIG" && \
   20519     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   20520   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   20521   ac_status=$?
   20522   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20523   test $ac_status = 0; }; then
   20524   pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xproto x11" 2>/dev/null`
   20525 		      test "x$?" != "x0" && pkg_failed=yes
   20526 else
   20527   pkg_failed=yes
   20528 fi
   20529  else
   20530     pkg_failed=untried
   20531 fi
   20532 
   20533 
   20534 
   20535 if test $pkg_failed = yes; then
   20536         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20537 printf "%s\n" "no" >&6; }
   20538 
   20539 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20540         _pkg_short_errors_supported=yes
   20541 else
   20542         _pkg_short_errors_supported=no
   20543 fi
   20544         if test $_pkg_short_errors_supported = yes; then
   20545                 XPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto x11" 2>&1`
   20546         else
   20547                 XPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto x11" 2>&1`
   20548         fi
   20549         # Put the nasty error message in config.log where it belongs
   20550         echo "$XPM_PKG_ERRORS" >&5
   20551 
   20552         as_fn_error $? "Package requirements (xproto x11) were not met:
   20553 
   20554 $XPM_PKG_ERRORS
   20555 
   20556 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20557 installed software in a non-standard prefix.
   20558 
   20559 Alternatively, you may set the environment variables XPM_CFLAGS
   20560 and XPM_LIBS to avoid the need to call pkg-config.
   20561 See the pkg-config man page for more details." "$LINENO" 5
   20562 elif test $pkg_failed = untried; then
   20563         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20564 printf "%s\n" "no" >&6; }
   20565         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20566 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20567 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20568 is in your PATH or set the PKG_CONFIG environment variable to the full
   20569 path to pkg-config.
   20570 
   20571 Alternatively, you may set the environment variables XPM_CFLAGS
   20572 and XPM_LIBS to avoid the need to call pkg-config.
   20573 See the pkg-config man page for more details.
   20574 
   20575 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20576 See 'config.log' for more details" "$LINENO" 5; }
   20577 else
   20578         XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
   20579         XPM_LIBS=$pkg_cv_XPM_LIBS
   20580         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20581 printf "%s\n" "yes" >&6; }
   20582 
   20583 fi
   20584 
   20585 pkg_failed=no
   20586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 xt xext xextproto xproto >= 7.0.17" >&5
   20587 printf %s "checking for x11 xt xext xextproto xproto >= 7.0.17... " >&6; }
   20588 
   20589 if test -n "$SXPM_CFLAGS"; then
   20590     pkg_cv_SXPM_CFLAGS="$SXPM_CFLAGS"
   20591  elif test -n "$PKG_CONFIG"; then
   20592     if test -n "$PKG_CONFIG" && \
   20593     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   20594   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   20595   ac_status=$?
   20596   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20597   test $ac_status = 0; }; then
   20598   pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   20599 		      test "x$?" != "x0" && pkg_failed=yes
   20600 else
   20601   pkg_failed=yes
   20602 fi
   20603  else
   20604     pkg_failed=untried
   20605 fi
   20606 if test -n "$SXPM_LIBS"; then
   20607     pkg_cv_SXPM_LIBS="$SXPM_LIBS"
   20608  elif test -n "$PKG_CONFIG"; then
   20609     if test -n "$PKG_CONFIG" && \
   20610     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   20611   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   20612   ac_status=$?
   20613   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20614   test $ac_status = 0; }; then
   20615   pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   20616 		      test "x$?" != "x0" && pkg_failed=yes
   20617 else
   20618   pkg_failed=yes
   20619 fi
   20620  else
   20621     pkg_failed=untried
   20622 fi
   20623 
   20624 
   20625 
   20626 if test $pkg_failed = yes; then
   20627         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20628 printf "%s\n" "no" >&6; }
   20629 
   20630 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20631         _pkg_short_errors_supported=yes
   20632 else
   20633         _pkg_short_errors_supported=no
   20634 fi
   20635         if test $_pkg_short_errors_supported = yes; then
   20636                 SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   20637         else
   20638                 SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   20639         fi
   20640         # Put the nasty error message in config.log where it belongs
   20641         echo "$SXPM_PKG_ERRORS" >&5
   20642 
   20643         build_sxpm=false
   20644 elif test $pkg_failed = untried; then
   20645         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20646 printf "%s\n" "no" >&6; }
   20647         build_sxpm=false
   20648 else
   20649         SXPM_CFLAGS=$pkg_cv_SXPM_CFLAGS
   20650         SXPM_LIBS=$pkg_cv_SXPM_LIBS
   20651         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20652 printf "%s\n" "yes" >&6; }
   20653         build_sxpm=true
   20654 fi
   20655  if test x$build_sxpm = xtrue; then
   20656   BUILD_SXPM_TRUE=
   20657   BUILD_SXPM_FALSE='#'
   20658 else
   20659   BUILD_SXPM_TRUE='#'
   20660   BUILD_SXPM_FALSE=
   20661 fi
   20662 
   20663 
   20664 # Internationalization & localization support
   20665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
   20666 printf %s "checking for library containing gettext... " >&6; }
   20667 if test ${ac_cv_search_gettext+y}
   20668 then :
   20669   printf %s "(cached) " >&6
   20670 else case e in #(
   20671   e) ac_func_search_save_LIBS=$LIBS
   20672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20673 /* end confdefs.h.  */
   20674 
   20675 /* Override any GCC internal prototype to avoid an error.
   20676    Use char because int might match the return type of a GCC
   20677    builtin and then its argument prototype would still apply.
   20678    The 'extern "C"' is for builds by C++ compilers;
   20679    although this is not generally supported in C code supporting it here
   20680    has little cost and some practical benefit (sr 110532).  */
   20681 #ifdef __cplusplus
   20682 extern "C"
   20683 #endif
   20684 char gettext (void);
   20685 int
   20686 main (void)
   20687 {
   20688 return gettext ();
   20689   ;
   20690   return 0;
   20691 }
   20692 _ACEOF
   20693 for ac_lib in '' intl
   20694 do
   20695   if test -z "$ac_lib"; then
   20696     ac_res="none required"
   20697   else
   20698     ac_res=-l$ac_lib
   20699     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20700   fi
   20701   if ac_fn_c_try_link "$LINENO"
   20702 then :
   20703   ac_cv_search_gettext=$ac_res
   20704 fi
   20705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20706     conftest$ac_exeext
   20707   if test ${ac_cv_search_gettext+y}
   20708 then :
   20709   break
   20710 fi
   20711 done
   20712 if test ${ac_cv_search_gettext+y}
   20713 then :
   20714 
   20715 else case e in #(
   20716   e) ac_cv_search_gettext=no ;;
   20717 esac
   20718 fi
   20719 rm conftest.$ac_ext
   20720 LIBS=$ac_func_search_save_LIBS ;;
   20721 esac
   20722 fi
   20723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
   20724 printf "%s\n" "$ac_cv_search_gettext" >&6; }
   20725 ac_res=$ac_cv_search_gettext
   20726 if test "$ac_res" != no
   20727 then :
   20728   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20729   USE_GETTEXT="yes"
   20730 else case e in #(
   20731   e) USE_GETTEXT="no" ;;
   20732 esac
   20733 fi
   20734 
   20735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5
   20736 printf %s "checking where to install localized messages... " >&6; }
   20737 
   20738 # Check whether --with-localedir was given.
   20739 if test ${with_localedir+y}
   20740 then :
   20741   withval=$with_localedir; LOCALEDIR=${withval}
   20742 else case e in #(
   20743   e) LOCALEDIR=${datadir}/locale ;;
   20744 esac
   20745 fi
   20746 
   20747 
   20748   prefix_NONE=
   20749   exec_prefix_NONE=
   20750   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20751   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20752   eval ax_define_dir="\"$LOCALEDIR\""
   20753   eval ax_define_dir="\"$ax_define_dir\""
   20754   LOCALEDIR="$ax_define_dir"
   20755 
   20756 
   20757 printf "%s\n" "#define LOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   20758 
   20759   test "$prefix_NONE" && prefix=NONE
   20760   test "$exec_prefix_NONE" && exec_prefix=NONE
   20761 
   20762 if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
   20763 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
   20764 printf "%s\n" "nowhere" >&6; }
   20765 	USE_GETTEXT="no"
   20766 else
   20767 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5
   20768 printf "%s\n" "$LOCALEDIR" >&6; }
   20769 fi
   20770 
   20771 if test "x$USE_GETTEXT" = "xyes" ; then
   20772 
   20773 printf "%s\n" "#define USE_GETTEXT 1" >>confdefs.h
   20774 
   20775 fi
   20776  if test "x$USE_GETTEXT" = "xyes"; then
   20777   USE_GETTEXT_TRUE=
   20778   USE_GETTEXT_FALSE='#'
   20779 else
   20780   USE_GETTEXT_TRUE='#'
   20781   USE_GETTEXT_FALSE=
   20782 fi
   20783 
   20784 
   20785 
   20786 # Optional feature: When a filename ending in .Z or .gz is requested,
   20787 # open a pipe to a newly forked compress/uncompress/gzip command to
   20788 # handle it.
   20789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to handle compressed pixmaps" >&5
   20790 printf %s "checking whether to handle compressed pixmaps... " >&6; }
   20791 case $host_os in
   20792         *mingw*)        zpipe_default="no" ;;
   20793         *)              zpipe_default="yes" ;;
   20794 esac
   20795 # Check whether --enable-open-zfile was given.
   20796 if test ${enable_open_zfile+y}
   20797 then :
   20798   enableval=$enable_open_zfile; OPEN_ZFILE=$enableval
   20799 else case e in #(
   20800   e) OPEN_ZFILE=yes ;;
   20801 esac
   20802 fi
   20803 
   20804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OPEN_ZFILE" >&5
   20805 printf "%s\n" "$OPEN_ZFILE" >&6; }
   20806  if test "x$OPEN_ZFILE" = "xyes"; then
   20807   COMPRESSED_PIXMAPS_TRUE=
   20808   COMPRESSED_PIXMAPS_FALSE='#'
   20809 else
   20810   COMPRESSED_PIXMAPS_TRUE='#'
   20811   COMPRESSED_PIXMAPS_FALSE=
   20812 fi
   20813 
   20814 if test x$OPEN_ZFILE = xno ; then
   20815 
   20816 printf "%s\n" "#define NO_ZPIPE 1" >>confdefs.h
   20817 
   20818 else
   20819         # gzip is absolutely required for the compressed file handling code
   20820 
   20821 # Extract the first word of "gzip", so it can be a program name with args.
   20822 set dummy gzip; ac_word=$2
   20823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20824 printf %s "checking for $ac_word... " >&6; }
   20825 if test ${ac_cv_path_XPM_PATH_GZIP+y}
   20826 then :
   20827   printf %s "(cached) " >&6
   20828 else case e in #(
   20829   e) case $XPM_PATH_GZIP in
   20830   [\\/]* | ?:[\\/]*)
   20831   ac_cv_path_XPM_PATH_GZIP="$XPM_PATH_GZIP" # Let the user override the test with a path.
   20832   ;;
   20833   *)
   20834   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20835 for as_dir in $PATH
   20836 do
   20837   IFS=$as_save_IFS
   20838   case $as_dir in #(((
   20839     '') as_dir=./ ;;
   20840     */) ;;
   20841     *) as_dir=$as_dir/ ;;
   20842   esac
   20843     for ac_exec_ext in '' $ac_executable_extensions; do
   20844   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20845     ac_cv_path_XPM_PATH_GZIP="$as_dir$ac_word$ac_exec_ext"
   20846     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20847     break 2
   20848   fi
   20849 done
   20850   done
   20851 IFS=$as_save_IFS
   20852 
   20853   ;;
   20854 esac ;;
   20855 esac
   20856 fi
   20857 XPM_PATH_GZIP=$ac_cv_path_XPM_PATH_GZIP
   20858 if test -n "$XPM_PATH_GZIP"; then
   20859   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_GZIP" >&5
   20860 printf "%s\n" "$XPM_PATH_GZIP" >&6; }
   20861 else
   20862   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20863 printf "%s\n" "no" >&6; }
   20864 fi
   20865 
   20866 
   20867 if test "x$XPM_PATH_GZIP" = "x"
   20868 then :
   20869   as_fn_error $? "gzip not found, set XPM_PATH_GZIP or use --disable-open-zfile" "$LINENO" 5
   20870 else case e in #(
   20871   e)
   20872 printf "%s\n" "#define XPM_PATH_GZIP \"$XPM_PATH_GZIP\"" >>confdefs.h
   20873  ;;
   20874 esac
   20875 fi
   20876 
   20877 
   20878         # if compress is not found, we disable writing to .Z files,
   20879         # but leave the rest of the compression code active
   20880 
   20881 # Extract the first word of "compress", so it can be a program name with args.
   20882 set dummy compress; ac_word=$2
   20883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20884 printf %s "checking for $ac_word... " >&6; }
   20885 if test ${ac_cv_path_XPM_PATH_COMPRESS+y}
   20886 then :
   20887   printf %s "(cached) " >&6
   20888 else case e in #(
   20889   e) case $XPM_PATH_COMPRESS in
   20890   [\\/]* | ?:[\\/]*)
   20891   ac_cv_path_XPM_PATH_COMPRESS="$XPM_PATH_COMPRESS" # Let the user override the test with a path.
   20892   ;;
   20893   *)
   20894   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20895 for as_dir in $PATH
   20896 do
   20897   IFS=$as_save_IFS
   20898   case $as_dir in #(((
   20899     '') as_dir=./ ;;
   20900     */) ;;
   20901     *) as_dir=$as_dir/ ;;
   20902   esac
   20903     for ac_exec_ext in '' $ac_executable_extensions; do
   20904   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20905     ac_cv_path_XPM_PATH_COMPRESS="$as_dir$ac_word$ac_exec_ext"
   20906     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20907     break 2
   20908   fi
   20909 done
   20910   done
   20911 IFS=$as_save_IFS
   20912 
   20913   ;;
   20914 esac ;;
   20915 esac
   20916 fi
   20917 XPM_PATH_COMPRESS=$ac_cv_path_XPM_PATH_COMPRESS
   20918 if test -n "$XPM_PATH_COMPRESS"; then
   20919   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_COMPRESS" >&5
   20920 printf "%s\n" "$XPM_PATH_COMPRESS" >&6; }
   20921 else
   20922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20923 printf "%s\n" "no" >&6; }
   20924 fi
   20925 
   20926 
   20927 if test "x$XPM_PATH_COMPRESS" = "x"
   20928 then :
   20929   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compress not found, disabling writing of .Z files" >&5
   20930 printf "%s\n" "$as_me: WARNING: compress not found, disabling writing of .Z files" >&2;}
   20931 else case e in #(
   20932   e)
   20933 printf "%s\n" "#define XPM_PATH_COMPRESS \"$XPM_PATH_COMPRESS\"" >>confdefs.h
   20934  ;;
   20935 esac
   20936 fi
   20937 
   20938         # if uncompress is not found, we use gzip to read .Z files
   20939 
   20940 # Extract the first word of "uncompress", so it can be a program name with args.
   20941 set dummy uncompress; ac_word=$2
   20942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20943 printf %s "checking for $ac_word... " >&6; }
   20944 if test ${ac_cv_path_XPM_PATH_UNCOMPRESS+y}
   20945 then :
   20946   printf %s "(cached) " >&6
   20947 else case e in #(
   20948   e) case $XPM_PATH_UNCOMPRESS in
   20949   [\\/]* | ?:[\\/]*)
   20950   ac_cv_path_XPM_PATH_UNCOMPRESS="$XPM_PATH_UNCOMPRESS" # Let the user override the test with a path.
   20951   ;;
   20952   *)
   20953   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20954 for as_dir in $PATH
   20955 do
   20956   IFS=$as_save_IFS
   20957   case $as_dir in #(((
   20958     '') as_dir=./ ;;
   20959     */) ;;
   20960     *) as_dir=$as_dir/ ;;
   20961   esac
   20962     for ac_exec_ext in '' $ac_executable_extensions; do
   20963   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20964     ac_cv_path_XPM_PATH_UNCOMPRESS="$as_dir$ac_word$ac_exec_ext"
   20965     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20966     break 2
   20967   fi
   20968 done
   20969   done
   20970 IFS=$as_save_IFS
   20971 
   20972   ;;
   20973 esac ;;
   20974 esac
   20975 fi
   20976 XPM_PATH_UNCOMPRESS=$ac_cv_path_XPM_PATH_UNCOMPRESS
   20977 if test -n "$XPM_PATH_UNCOMPRESS"; then
   20978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_UNCOMPRESS" >&5
   20979 printf "%s\n" "$XPM_PATH_UNCOMPRESS" >&6; }
   20980 else
   20981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20982 printf "%s\n" "no" >&6; }
   20983 fi
   20984 
   20985 
   20986 if test "x$XPM_PATH_UNCOMPRESS" = "x"
   20987 then :
   20988 
   20989 else case e in #(
   20990   e)
   20991 printf "%s\n" "#define XPM_PATH_UNCOMPRESS \"$XPM_PATH_UNCOMPRESS\"" >>confdefs.h
   20992  ;;
   20993 esac
   20994 fi
   20995 
   20996 
   20997 
   20998   for ac_func in closefrom close_range
   20999 do :
   21000   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
   21001 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   21002 if eval test \"x\$"$as_ac_var"\" = x"yes"
   21003 then :
   21004   cat >>confdefs.h <<_ACEOF
   21005 #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
   21006 _ACEOF
   21007  break
   21008 fi
   21009 
   21010 done
   21011 fi
   21012 
   21013 # Optional feature: When ___.xpm is requested, also look for ___.xpm.Z & .gz
   21014 # Replaces ZFILEDEF = -DSTAT_ZFILE in old Imakefile
   21015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to search for compressed pixmaps" >&5
   21016 printf %s "checking whether to search for compressed pixmaps... " >&6; }
   21017 # Check whether --enable-stat-zfile was given.
   21018 if test ${enable_stat_zfile+y}
   21019 then :
   21020   enableval=$enable_stat_zfile; STAT_ZFILE=$enableval
   21021 else case e in #(
   21022   e) STAT_ZFILE=$OPEN_ZFILE ;;
   21023 esac
   21024 fi
   21025 
   21026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STAT_ZFILE" >&5
   21027 printf "%s\n" "$STAT_ZFILE" >&6; }
   21028 if test x$STAT_ZFILE = xyes ; then
   21029 
   21030 printf "%s\n" "#define STAT_ZFILE 1" >>confdefs.h
   21031 
   21032 fi
   21033 
   21034 # --enable-unit-tests
   21035 
   21036 
   21037 
   21038 
   21039 
   21040 
   21041 
   21042 # Check for different types of support on different platforms
   21043 case $host_os in
   21044     solaris*)
   21045         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   21046 printf %s "checking for umem_alloc in -lumem... " >&6; }
   21047 if test ${ac_cv_lib_umem_umem_alloc+y}
   21048 then :
   21049   printf %s "(cached) " >&6
   21050 else case e in #(
   21051   e) ac_check_lib_save_LIBS=$LIBS
   21052 LIBS="-lumem  $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 umem_alloc (void);
   21066 int
   21067 main (void)
   21068 {
   21069 return umem_alloc ();
   21070   ;
   21071   return 0;
   21072 }
   21073 _ACEOF
   21074 if ac_fn_c_try_link "$LINENO"
   21075 then :
   21076   ac_cv_lib_umem_umem_alloc=yes
   21077 else case e in #(
   21078   e) ac_cv_lib_umem_umem_alloc=no ;;
   21079 esac
   21080 fi
   21081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21082     conftest$ac_exeext conftest.$ac_ext
   21083 LIBS=$ac_check_lib_save_LIBS ;;
   21084 esac
   21085 fi
   21086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   21087 printf "%s\n" "$ac_cv_lib_umem_umem_alloc" >&6; }
   21088 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
   21089 then :
   21090   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   21091 fi
   21092 
   21093         ;;
   21094     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   21095         # both directly and inverted, so should not be 0 or 255.
   21096         malloc_debug_env='MALLOC_PERTURB_=15'
   21097         ;;
   21098     darwin*)
   21099         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   21100         ;;
   21101     *bsd*)
   21102         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   21103         ;;
   21104 esac
   21105 
   21106 # User supplied flags override default flags
   21107 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   21108     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   21109 fi
   21110 
   21111 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   21112 
   21113 
   21114 
   21115 
   21116 
   21117 
   21118 
   21119 # Check whether --enable-unit-tests was given.
   21120 if test ${enable_unit_tests+y}
   21121 then :
   21122   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   21123 else case e in #(
   21124   e) enable_unit_tests=auto ;;
   21125 esac
   21126 fi
   21127 
   21128 
   21129  if test "x$enable_unit_tests" != xno; then
   21130   ENABLE_UNIT_TESTS_TRUE=
   21131   ENABLE_UNIT_TESTS_FALSE='#'
   21132 else
   21133   ENABLE_UNIT_TESTS_TRUE='#'
   21134   ENABLE_UNIT_TESTS_FALSE=
   21135 fi
   21136 
   21137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   21138 printf %s "checking whether to build unit test cases... " >&6; }
   21139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   21140 printf "%s\n" "$enable_unit_tests" >&6; }
   21141 
   21142 
   21143 
   21144 
   21145 
   21146 # Check whether --with-glib was given.
   21147 if test ${with_glib+y}
   21148 then :
   21149   withval=$with_glib; with_glib=$withval
   21150 else case e in #(
   21151   e) with_glib=auto ;;
   21152 esac
   21153 fi
   21154 
   21155 
   21156 
   21157 have_glib=no
   21158 # Do not probe GLib if user explicitly disabled unit testing
   21159 if test "x$enable_unit_tests" != x"no"; then
   21160   # Do not probe GLib if user explicitly disabled it
   21161   if test "x$with_glib" != x"no"; then
   21162 
   21163 pkg_failed=no
   21164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.46" >&5
   21165 printf %s "checking for glib-2.0 >= 2.46... " >&6; }
   21166 
   21167 if test -n "$GLIB_CFLAGS"; then
   21168     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
   21169  elif test -n "$PKG_CONFIG"; then
   21170     if test -n "$PKG_CONFIG" && \
   21171     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.46\""; } >&5
   21172   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.46") 2>&5
   21173   ac_status=$?
   21174   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21175   test $ac_status = 0; }; then
   21176   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.46" 2>/dev/null`
   21177 		      test "x$?" != "x0" && pkg_failed=yes
   21178 else
   21179   pkg_failed=yes
   21180 fi
   21181  else
   21182     pkg_failed=untried
   21183 fi
   21184 if test -n "$GLIB_LIBS"; then
   21185     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
   21186  elif test -n "$PKG_CONFIG"; then
   21187     if test -n "$PKG_CONFIG" && \
   21188     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.46\""; } >&5
   21189   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.46") 2>&5
   21190   ac_status=$?
   21191   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21192   test $ac_status = 0; }; then
   21193   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.46" 2>/dev/null`
   21194 		      test "x$?" != "x0" && pkg_failed=yes
   21195 else
   21196   pkg_failed=yes
   21197 fi
   21198  else
   21199     pkg_failed=untried
   21200 fi
   21201 
   21202 
   21203 
   21204 if test $pkg_failed = yes; then
   21205         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21206 printf "%s\n" "no" >&6; }
   21207 
   21208 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21209         _pkg_short_errors_supported=yes
   21210 else
   21211         _pkg_short_errors_supported=no
   21212 fi
   21213         if test $_pkg_short_errors_supported = yes; then
   21214                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.46" 2>&1`
   21215         else
   21216                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.46" 2>&1`
   21217         fi
   21218         # Put the nasty error message in config.log where it belongs
   21219         echo "$GLIB_PKG_ERRORS" >&5
   21220 
   21221         have_glib=no
   21222 elif test $pkg_failed = untried; then
   21223         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21224 printf "%s\n" "no" >&6; }
   21225         have_glib=no
   21226 else
   21227         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
   21228         GLIB_LIBS=$pkg_cv_GLIB_LIBS
   21229         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21230 printf "%s\n" "yes" >&6; }
   21231         have_glib=yes
   21232 fi
   21233   fi
   21234 fi
   21235 
   21236 # Not having GLib when unit testing has been explicitly requested is an error
   21237 if test "x$enable_unit_tests" = x"yes"; then
   21238   if test "x$have_glib" = x"no"; then
   21239     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   21240   fi
   21241 fi
   21242 
   21243 # Having unit testing disabled when GLib has been explicitly requested is an error
   21244 if test "x$enable_unit_tests" = x"no"; then
   21245   if test "x$with_glib" = x"yes"; then
   21246     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   21247   fi
   21248 fi
   21249 
   21250 # Not having GLib when it has been explicitly requested is an error
   21251 if test "x$with_glib" = x"yes"; then
   21252   if test "x$have_glib" = x"no"; then
   21253     as_fn_error $? "--with-glib=yes specified but glib-2.0 not found" "$LINENO" 5
   21254   fi
   21255 fi
   21256 
   21257  if test "$have_glib" = yes; then
   21258   HAVE_GLIB_TRUE=
   21259   HAVE_GLIB_FALSE='#'
   21260 else
   21261   HAVE_GLIB_TRUE='#'
   21262   HAVE_GLIB_FALSE=
   21263 fi
   21264 
   21265 
   21266 if test "x$have_glib" = x"yes"; then
   21267        ac_fn_c_check_func "$LINENO" "g_pattern_spec_match_string" "ac_cv_func_g_pattern_spec_match_string"
   21268 if test "x$ac_cv_func_g_pattern_spec_match_string" = xyes
   21269 then :
   21270   printf "%s\n" "#define HAVE_G_PATTERN_SPEC_MATCH_STRING 1" >>confdefs.h
   21271 
   21272 fi
   21273 
   21274 fi
   21275 
   21276 
   21277 
   21278 
   21279 
   21280 # Check for different types of support on different platforms
   21281 case $host_os in
   21282     solaris*)
   21283         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   21284 printf %s "checking for umem_alloc in -lumem... " >&6; }
   21285 if test ${ac_cv_lib_umem_umem_alloc+y}
   21286 then :
   21287   printf %s "(cached) " >&6
   21288 else case e in #(
   21289   e) ac_check_lib_save_LIBS=$LIBS
   21290 LIBS="-lumem  $LIBS"
   21291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21292 /* end confdefs.h.  */
   21293 
   21294 /* Override any GCC internal prototype to avoid an error.
   21295    Use char because int might match the return type of a GCC
   21296    builtin and then its argument prototype would still apply.
   21297    The 'extern "C"' is for builds by C++ compilers;
   21298    although this is not generally supported in C code supporting it here
   21299    has little cost and some practical benefit (sr 110532).  */
   21300 #ifdef __cplusplus
   21301 extern "C"
   21302 #endif
   21303 char umem_alloc (void);
   21304 int
   21305 main (void)
   21306 {
   21307 return umem_alloc ();
   21308   ;
   21309   return 0;
   21310 }
   21311 _ACEOF
   21312 if ac_fn_c_try_link "$LINENO"
   21313 then :
   21314   ac_cv_lib_umem_umem_alloc=yes
   21315 else case e in #(
   21316   e) ac_cv_lib_umem_umem_alloc=no ;;
   21317 esac
   21318 fi
   21319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21320     conftest$ac_exeext conftest.$ac_ext
   21321 LIBS=$ac_check_lib_save_LIBS ;;
   21322 esac
   21323 fi
   21324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   21325 printf "%s\n" "$ac_cv_lib_umem_umem_alloc" >&6; }
   21326 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
   21327 then :
   21328   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   21329 fi
   21330 
   21331         ;;
   21332     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   21333         # both directly and inverted, so should not be 0 or 255.
   21334         malloc_debug_env='MALLOC_PERTURB_=15'
   21335         ;;
   21336     darwin*)
   21337         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   21338         ;;
   21339     *bsd*)
   21340         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   21341         ;;
   21342 esac
   21343 
   21344 # User supplied flags override default flags
   21345 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   21346     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   21347 fi
   21348 
   21349 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   21350 
   21351 
   21352 
   21353 ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile man/Makefile src/Makefile sxpm/Makefile cxpm/Makefile test/Makefile xpm.pc"
   21354 
   21355 cat >confcache <<\_ACEOF
   21356 # This file is a shell script that caches the results of configure
   21357 # tests run on this system so they can be shared between configure
   21358 # scripts and configure runs, see configure's option --config-cache.
   21359 # It is not useful on other systems.  If it contains results you don't
   21360 # want to keep, you may remove or edit it.
   21361 #
   21362 # config.status only pays attention to the cache file if you give it
   21363 # the --recheck option to rerun configure.
   21364 #
   21365 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   21366 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   21367 # following values.
   21368 
   21369 _ACEOF
   21370 
   21371 # The following way of writing the cache mishandles newlines in values,
   21372 # but we know of no workaround that is simple, portable, and efficient.
   21373 # So, we kill variables containing newlines.
   21374 # Ultrix sh set writes to stderr and can't be redirected directly,
   21375 # and sets the high bit in the cache file unless we assign to the vars.
   21376 (
   21377   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21378     eval ac_val=\$$ac_var
   21379     case $ac_val in #(
   21380     *${as_nl}*)
   21381       case $ac_var in #(
   21382       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   21383 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21384       esac
   21385       case $ac_var in #(
   21386       _ | IFS | as_nl) ;; #(
   21387       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21388       *) { eval $ac_var=; unset $ac_var;} ;;
   21389       esac ;;
   21390     esac
   21391   done
   21392 
   21393   (set) 2>&1 |
   21394     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21395     *${as_nl}ac_space=\ *)
   21396       # 'set' does not quote correctly, so add quotes: double-quote
   21397       # substitution turns \\\\ into \\, and sed turns \\ into \.
   21398       sed -n \
   21399 	"s/'/'\\\\''/g;
   21400 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21401       ;; #(
   21402     *)
   21403       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   21404       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21405       ;;
   21406     esac |
   21407     sort
   21408 ) |
   21409   sed '
   21410      /^ac_cv_env_/b end
   21411      t clear
   21412      :clear
   21413      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   21414      t end
   21415      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21416      :end' >>confcache
   21417 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21418   if test -w "$cache_file"; then
   21419     if test "x$cache_file" != "x/dev/null"; then
   21420       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21421 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   21422       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21423 	cat confcache >"$cache_file"
   21424       else
   21425         case $cache_file in #(
   21426         */* | ?:*)
   21427 	  mv -f confcache "$cache_file"$$ &&
   21428 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21429         *)
   21430 	  mv -f confcache "$cache_file" ;;
   21431 	esac
   21432       fi
   21433     fi
   21434   else
   21435     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21436 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   21437   fi
   21438 fi
   21439 rm -f confcache
   21440 
   21441 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21442 # Let make expand exec_prefix.
   21443 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21444 
   21445 DEFS=-DHAVE_CONFIG_H
   21446 
   21447 ac_libobjs=
   21448 ac_ltlibobjs=
   21449 U=
   21450 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21451   # 1. Remove the extension, and $U if already installed.
   21452   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21453   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   21454   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21455   #    will be set to the directory where LIBOBJS objects are built.
   21456   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21457   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21458 done
   21459 LIBOBJS=$ac_libobjs
   21460 
   21461 LTLIBOBJS=$ac_ltlibobjs
   21462 
   21463 
   21464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21465 printf %s "checking that generated files are newer than configure... " >&6; }
   21466    if test -n "$am_sleep_pid"; then
   21467      # Hide warnings about reused PIDs.
   21468      wait $am_sleep_pid 2>/dev/null
   21469    fi
   21470    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21471 printf "%s\n" "done" >&6; }
   21472 case $enable_silent_rules in # (((
   21473   yes) AM_DEFAULT_VERBOSITY=0;;
   21474    no) AM_DEFAULT_VERBOSITY=1;;
   21475 esac
   21476 if test $am_cv_make_support_nested_variables = yes; then
   21477     AM_V='$(V)'
   21478   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   21479 else
   21480   AM_V=$AM_DEFAULT_VERBOSITY
   21481   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   21482 fi
   21483 
   21484  if test -n "$EXEEXT"; then
   21485   am__EXEEXT_TRUE=
   21486   am__EXEEXT_FALSE='#'
   21487 else
   21488   am__EXEEXT_TRUE='#'
   21489   am__EXEEXT_FALSE=
   21490 fi
   21491 
   21492 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21493   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21495 fi
   21496 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21497   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21499 fi
   21500 if test -z "${BUILD_SXPM_TRUE}" && test -z "${BUILD_SXPM_FALSE}"; then
   21501   as_fn_error $? "conditional \"BUILD_SXPM\" was never defined.
   21502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21503 fi
   21504 if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
   21505   as_fn_error $? "conditional \"USE_GETTEXT\" was never defined.
   21506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21507 fi
   21508 if test -z "${COMPRESSED_PIXMAPS_TRUE}" && test -z "${COMPRESSED_PIXMAPS_FALSE}"; then
   21509   as_fn_error $? "conditional \"COMPRESSED_PIXMAPS\" was never defined.
   21510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21511 fi
   21512 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   21513   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   21514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21515 fi
   21516 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
   21517   as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
   21518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21519 fi
   21520 
   21521 : "${CONFIG_STATUS=./config.status}"
   21522 ac_write_fail=0
   21523 ac_clean_files_save=$ac_clean_files
   21524 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21526 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   21527 as_write_fail=0
   21528 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21529 #! $SHELL
   21530 # Generated by $as_me.
   21531 # Run this file to recreate the current configuration.
   21532 # Compiler output produced by configure, useful for debugging
   21533 # configure, is in config.log if it exists.
   21534 
   21535 debug=false
   21536 ac_cs_recheck=false
   21537 ac_cs_silent=false
   21538 
   21539 SHELL=\${CONFIG_SHELL-$SHELL}
   21540 export SHELL
   21541 _ASEOF
   21542 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21543 ## -------------------- ##
   21544 ## M4sh Initialization. ##
   21545 ## -------------------- ##
   21546 
   21547 # Be more Bourne compatible
   21548 DUALCASE=1; export DUALCASE # for MKS sh
   21549 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   21550 then :
   21551   emulate sh
   21552   NULLCMD=:
   21553   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21554   # is contrary to our usage.  Disable this feature.
   21555   alias -g '${1+"$@"}'='"$@"'
   21556   setopt NO_GLOB_SUBST
   21557 else case e in #(
   21558   e) case `(set -o) 2>/dev/null` in #(
   21559   *posix*) :
   21560     set -o posix ;; #(
   21561   *) :
   21562      ;;
   21563 esac ;;
   21564 esac
   21565 fi
   21566 
   21567 
   21568 
   21569 # Reset variables that may have inherited troublesome values from
   21570 # the environment.
   21571 
   21572 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   21573 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   21574 # side effect of setting IFS to empty, thus disabling word splitting.)
   21575 # Quoting is to prevent editors from complaining about space-tab.
   21576 as_nl='
   21577 '
   21578 export as_nl
   21579 IFS=" ""	$as_nl"
   21580 
   21581 PS1='$ '
   21582 PS2='> '
   21583 PS4='+ '
   21584 
   21585 # Ensure predictable behavior from utilities with locale-dependent output.
   21586 LC_ALL=C
   21587 export LC_ALL
   21588 LANGUAGE=C
   21589 export LANGUAGE
   21590 
   21591 # We cannot yet rely on "unset" to work, but we need these variables
   21592 # to be unset--not just set to an empty or harmless value--now, to
   21593 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   21594 # also avoids known problems related to "unset" and subshell syntax
   21595 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   21596 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   21597 do eval test \${$as_var+y} \
   21598   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21599 done
   21600 
   21601 # Ensure that fds 0, 1, and 2 are open.
   21602 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   21603 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   21604 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   21605 
   21606 # The user is always right.
   21607 if ${PATH_SEPARATOR+false} :; then
   21608   PATH_SEPARATOR=:
   21609   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21610     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21611       PATH_SEPARATOR=';'
   21612   }
   21613 fi
   21614 
   21615 
   21616 # Find who we are.  Look in the path if we contain no directory separator.
   21617 as_myself=
   21618 case $0 in #((
   21619   *[\\/]* ) as_myself=$0 ;;
   21620   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21621 for as_dir in $PATH
   21622 do
   21623   IFS=$as_save_IFS
   21624   case $as_dir in #(((
   21625     '') as_dir=./ ;;
   21626     */) ;;
   21627     *) as_dir=$as_dir/ ;;
   21628   esac
   21629     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   21630   done
   21631 IFS=$as_save_IFS
   21632 
   21633      ;;
   21634 esac
   21635 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   21636 # in which case we are not to be found in the path.
   21637 if test "x$as_myself" = x; then
   21638   as_myself=$0
   21639 fi
   21640 if test ! -f "$as_myself"; then
   21641   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21642   exit 1
   21643 fi
   21644 
   21645 
   21646 
   21647 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21648 # ----------------------------------------
   21649 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21650 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21651 # script with STATUS, using 1 if that was 0.
   21652 as_fn_error ()
   21653 {
   21654   as_status=$1; test $as_status -eq 0 && as_status=1
   21655   if test "$4"; then
   21656     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21657     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21658   fi
   21659   printf "%s\n" "$as_me: error: $2" >&2
   21660   as_fn_exit $as_status
   21661 } # as_fn_error
   21662 
   21663 
   21664 # as_fn_set_status STATUS
   21665 # -----------------------
   21666 # Set $? to STATUS, without forking.
   21667 as_fn_set_status ()
   21668 {
   21669   return $1
   21670 } # as_fn_set_status
   21671 
   21672 # as_fn_exit STATUS
   21673 # -----------------
   21674 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21675 as_fn_exit ()
   21676 {
   21677   set +e
   21678   as_fn_set_status $1
   21679   exit $1
   21680 } # as_fn_exit
   21681 
   21682 # as_fn_unset VAR
   21683 # ---------------
   21684 # Portably unset VAR.
   21685 as_fn_unset ()
   21686 {
   21687   { eval $1=; unset $1;}
   21688 }
   21689 as_unset=as_fn_unset
   21690 
   21691 # as_fn_append VAR VALUE
   21692 # ----------------------
   21693 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21694 # advantage of any shell optimizations that allow amortized linear growth over
   21695 # repeated appends, instead of the typical quadratic growth present in naive
   21696 # implementations.
   21697 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21698 then :
   21699   eval 'as_fn_append ()
   21700   {
   21701     eval $1+=\$2
   21702   }'
   21703 else case e in #(
   21704   e) as_fn_append ()
   21705   {
   21706     eval $1=\$$1\$2
   21707   } ;;
   21708 esac
   21709 fi # as_fn_append
   21710 
   21711 # as_fn_arith ARG...
   21712 # ------------------
   21713 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21714 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21715 # must be portable across $(()) and expr.
   21716 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21717 then :
   21718   eval 'as_fn_arith ()
   21719   {
   21720     as_val=$(( $* ))
   21721   }'
   21722 else case e in #(
   21723   e) as_fn_arith ()
   21724   {
   21725     as_val=`expr "$@" || test $? -eq 1`
   21726   } ;;
   21727 esac
   21728 fi # as_fn_arith
   21729 
   21730 
   21731 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21732    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21733   as_expr=expr
   21734 else
   21735   as_expr=false
   21736 fi
   21737 
   21738 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21739   as_basename=basename
   21740 else
   21741   as_basename=false
   21742 fi
   21743 
   21744 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21745   as_dirname=dirname
   21746 else
   21747   as_dirname=false
   21748 fi
   21749 
   21750 as_me=`$as_basename -- "$0" ||
   21751 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21752 	 X"$0" : 'X\(//\)$' \| \
   21753 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21754 printf "%s\n" X/"$0" |
   21755     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21756 	    s//\1/
   21757 	    q
   21758 	  }
   21759 	  /^X\/\(\/\/\)$/{
   21760 	    s//\1/
   21761 	    q
   21762 	  }
   21763 	  /^X\/\(\/\).*/{
   21764 	    s//\1/
   21765 	    q
   21766 	  }
   21767 	  s/.*/./; q'`
   21768 
   21769 # Avoid depending upon Character Ranges.
   21770 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21771 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21772 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21773 as_cr_digits='0123456789'
   21774 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21775 
   21776 
   21777 # Determine whether it's possible to make 'echo' print without a newline.
   21778 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21779 # for compatibility with existing Makefiles.
   21780 ECHO_C= ECHO_N= ECHO_T=
   21781 case `echo -n x` in #(((((
   21782 -n*)
   21783   case `echo 'xy\c'` in
   21784   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21785   xy)  ECHO_C='\c';;
   21786   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21787        ECHO_T='	';;
   21788   esac;;
   21789 *)
   21790   ECHO_N='-n';;
   21791 esac
   21792 
   21793 # For backward compatibility with old third-party macros, we provide
   21794 # the shell variables $as_echo and $as_echo_n.  New code should use
   21795 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21796 as_echo='printf %s\n'
   21797 as_echo_n='printf %s'
   21798 
   21799 rm -f conf$$ conf$$.exe conf$$.file
   21800 if test -d conf$$.dir; then
   21801   rm -f conf$$.dir/conf$$.file
   21802 else
   21803   rm -f conf$$.dir
   21804   mkdir conf$$.dir 2>/dev/null
   21805 fi
   21806 if (echo >conf$$.file) 2>/dev/null; then
   21807   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21808     as_ln_s='ln -s'
   21809     # ... but there are two gotchas:
   21810     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   21811     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   21812     # In both cases, we have to default to 'cp -pR'.
   21813     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21814       as_ln_s='cp -pR'
   21815   elif ln conf$$.file conf$$ 2>/dev/null; then
   21816     as_ln_s=ln
   21817   else
   21818     as_ln_s='cp -pR'
   21819   fi
   21820 else
   21821   as_ln_s='cp -pR'
   21822 fi
   21823 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21824 rmdir conf$$.dir 2>/dev/null
   21825 
   21826 
   21827 # as_fn_mkdir_p
   21828 # -------------
   21829 # Create "$as_dir" as a directory, including parents if necessary.
   21830 as_fn_mkdir_p ()
   21831 {
   21832 
   21833   case $as_dir in #(
   21834   -*) as_dir=./$as_dir;;
   21835   esac
   21836   test -d "$as_dir" || eval $as_mkdir_p || {
   21837     as_dirs=
   21838     while :; do
   21839       case $as_dir in #(
   21840       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21841       *) as_qdir=$as_dir;;
   21842       esac
   21843       as_dirs="'$as_qdir' $as_dirs"
   21844       as_dir=`$as_dirname -- "$as_dir" ||
   21845 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21846 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21847 	 X"$as_dir" : 'X\(//\)$' \| \
   21848 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21849 printf "%s\n" X"$as_dir" |
   21850     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21851 	    s//\1/
   21852 	    q
   21853 	  }
   21854 	  /^X\(\/\/\)[^/].*/{
   21855 	    s//\1/
   21856 	    q
   21857 	  }
   21858 	  /^X\(\/\/\)$/{
   21859 	    s//\1/
   21860 	    q
   21861 	  }
   21862 	  /^X\(\/\).*/{
   21863 	    s//\1/
   21864 	    q
   21865 	  }
   21866 	  s/.*/./; q'`
   21867       test -d "$as_dir" && break
   21868     done
   21869     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21870   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21871 
   21872 
   21873 } # as_fn_mkdir_p
   21874 if mkdir -p . 2>/dev/null; then
   21875   as_mkdir_p='mkdir -p "$as_dir"'
   21876 else
   21877   test -d ./-p && rmdir ./-p
   21878   as_mkdir_p=false
   21879 fi
   21880 
   21881 
   21882 # as_fn_executable_p FILE
   21883 # -----------------------
   21884 # Test if FILE is an executable regular file.
   21885 as_fn_executable_p ()
   21886 {
   21887   test -f "$1" && test -x "$1"
   21888 } # as_fn_executable_p
   21889 as_test_x='test -x'
   21890 as_executable_p=as_fn_executable_p
   21891 
   21892 # Sed expression to map a string onto a valid CPP name.
   21893 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   21894 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   21895 
   21896 # Sed expression to map a string onto a valid variable name.
   21897 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21898 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   21899 
   21900 
   21901 exec 6>&1
   21902 ## ----------------------------------- ##
   21903 ## Main body of $CONFIG_STATUS script. ##
   21904 ## ----------------------------------- ##
   21905 _ASEOF
   21906 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21907 
   21908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21909 # Save the log message, to keep $0 and so on meaningful, and to
   21910 # report actual input values of CONFIG_FILES etc. instead of their
   21911 # values after options handling.
   21912 ac_log="
   21913 This file was extended by libXpm $as_me 3.5.19, which was
   21914 generated by GNU Autoconf 2.72.  Invocation command line was
   21915 
   21916   CONFIG_FILES    = $CONFIG_FILES
   21917   CONFIG_HEADERS  = $CONFIG_HEADERS
   21918   CONFIG_LINKS    = $CONFIG_LINKS
   21919   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21920   $ $0 $@
   21921 
   21922 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21923 "
   21924 
   21925 _ACEOF
   21926 
   21927 case $ac_config_files in *"
   21928 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21929 esac
   21930 
   21931 case $ac_config_headers in *"
   21932 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21933 esac
   21934 
   21935 
   21936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21937 # Files that config.status was made for.
   21938 config_files="$ac_config_files"
   21939 config_headers="$ac_config_headers"
   21940 config_commands="$ac_config_commands"
   21941 
   21942 _ACEOF
   21943 
   21944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21945 ac_cs_usage="\
   21946 '$as_me' instantiates files and other configuration actions
   21947 from templates according to the current configuration.  Unless the files
   21948 and actions are specified as TAGs, all are instantiated by default.
   21949 
   21950 Usage: $0 [OPTION]... [TAG]...
   21951 
   21952   -h, --help       print this help, then exit
   21953   -V, --version    print version number and configuration settings, then exit
   21954       --config     print configuration, then exit
   21955   -q, --quiet, --silent
   21956                    do not print progress messages
   21957   -d, --debug      don't remove temporary files
   21958       --recheck    update $as_me by reconfiguring in the same conditions
   21959       --file=FILE[:TEMPLATE]
   21960                    instantiate the configuration file FILE
   21961       --header=FILE[:TEMPLATE]
   21962                    instantiate the configuration header FILE
   21963 
   21964 Configuration files:
   21965 $config_files
   21966 
   21967 Configuration headers:
   21968 $config_headers
   21969 
   21970 Configuration commands:
   21971 $config_commands
   21972 
   21973 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/>."
   21974 
   21975 _ACEOF
   21976 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21977 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21979 ac_cs_config='$ac_cs_config_escaped'
   21980 ac_cs_version="\\
   21981 libXpm config.status 3.5.19
   21982 configured by $0, generated by GNU Autoconf 2.72,
   21983   with options \\"\$ac_cs_config\\"
   21984 
   21985 Copyright (C) 2023 Free Software Foundation, Inc.
   21986 This config.status script is free software; the Free Software Foundation
   21987 gives unlimited permission to copy, distribute and modify it."
   21988 
   21989 ac_pwd='$ac_pwd'
   21990 srcdir='$srcdir'
   21991 INSTALL='$INSTALL'
   21992 MKDIR_P='$MKDIR_P'
   21993 AWK='$AWK'
   21994 test -n "\$AWK" || AWK=awk
   21995 _ACEOF
   21996 
   21997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21998 # The default lists apply if the user does not specify any file.
   21999 ac_need_defaults=:
   22000 while test $# != 0
   22001 do
   22002   case $1 in
   22003   --*=?*)
   22004     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22005     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22006     ac_shift=:
   22007     ;;
   22008   --*=)
   22009     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22010     ac_optarg=
   22011     ac_shift=:
   22012     ;;
   22013   *)
   22014     ac_option=$1
   22015     ac_optarg=$2
   22016     ac_shift=shift
   22017     ;;
   22018   esac
   22019 
   22020   case $ac_option in
   22021   # Handling of the options.
   22022   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22023     ac_cs_recheck=: ;;
   22024   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22025     printf "%s\n" "$ac_cs_version"; exit ;;
   22026   --config | --confi | --conf | --con | --co | --c )
   22027     printf "%s\n" "$ac_cs_config"; exit ;;
   22028   --debug | --debu | --deb | --de | --d | -d )
   22029     debug=: ;;
   22030   --file | --fil | --fi | --f )
   22031     $ac_shift
   22032     case $ac_optarg in
   22033     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22034     '') as_fn_error $? "missing file argument" ;;
   22035     esac
   22036     as_fn_append CONFIG_FILES " '$ac_optarg'"
   22037     ac_need_defaults=false;;
   22038   --header | --heade | --head | --hea )
   22039     $ac_shift
   22040     case $ac_optarg in
   22041     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22042     esac
   22043     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   22044     ac_need_defaults=false;;
   22045   --he | --h)
   22046     # Conflict between --help and --header
   22047     as_fn_error $? "ambiguous option: '$1'
   22048 Try '$0 --help' for more information.";;
   22049   --help | --hel | -h )
   22050     printf "%s\n" "$ac_cs_usage"; exit ;;
   22051   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22052   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22053     ac_cs_silent=: ;;
   22054 
   22055   # This is an error.
   22056   -*) as_fn_error $? "unrecognized option: '$1'
   22057 Try '$0 --help' for more information." ;;
   22058 
   22059   *) as_fn_append ac_config_targets " $1"
   22060      ac_need_defaults=false ;;
   22061 
   22062   esac
   22063   shift
   22064 done
   22065 
   22066 ac_configure_extra_args=
   22067 
   22068 if $ac_cs_silent; then
   22069   exec 6>/dev/null
   22070   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22071 fi
   22072 
   22073 _ACEOF
   22074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22075 if \$ac_cs_recheck; then
   22076   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22077   shift
   22078   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   22079   CONFIG_SHELL='$SHELL'
   22080   export CONFIG_SHELL
   22081   exec "\$@"
   22082 fi
   22083 
   22084 _ACEOF
   22085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22086 exec 5>>config.log
   22087 {
   22088   echo
   22089   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22090 ## Running $as_me. ##
   22091 _ASBOX
   22092   printf "%s\n" "$ac_log"
   22093 } >&5
   22094 
   22095 _ACEOF
   22096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22097 #
   22098 # INIT-COMMANDS
   22099 #
   22100 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   22101 
   22102 
   22103 # The HP-UX ksh and POSIX shell print the target directory to stdout
   22104 # if CDPATH is set.
   22105 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   22106 
   22107 sed_quote_subst='$sed_quote_subst'
   22108 double_quote_subst='$double_quote_subst'
   22109 delay_variable_subst='$delay_variable_subst'
   22110 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   22111 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   22112 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   22113 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   22114 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   22115 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   22116 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   22117 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   22118 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   22119 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   22120 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   22121 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   22122 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   22123 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   22124 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   22125 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   22126 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   22127 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   22128 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   22129 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   22130 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   22131 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   22132 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   22133 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   22134 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   22135 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   22136 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   22137 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   22138 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   22139 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   22140 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   22141 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   22142 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   22143 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   22144 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   22145 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   22146 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   22147 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   22148 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   22149 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   22150 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   22151 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   22152 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   22153 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   22154 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   22155 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   22156 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   22157 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   22158 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22159 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22160 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   22161 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   22162 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   22163 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   22164 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   22165 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   22166 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   22167 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   22168 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   22169 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   22170 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"`'
   22171 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   22172 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   22173 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   22174 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   22175 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   22176 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   22177 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   22178 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   22179 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   22180 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   22181 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   22182 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   22183 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   22184 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   22185 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   22186 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   22187 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   22188 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   22189 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   22190 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   22191 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22192 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   22193 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   22194 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   22195 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   22196 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   22197 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   22198 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22199 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   22200 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22201 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   22202 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22203 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   22204 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22205 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22206 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   22207 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   22208 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   22209 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   22210 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   22211 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22212 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   22213 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   22214 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   22215 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   22216 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   22217 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   22218 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   22219 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   22220 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   22221 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   22222 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   22223 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   22224 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   22225 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   22226 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   22227 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22228 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   22229 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   22230 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   22231 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   22232 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   22233 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22234 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22235 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   22236 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   22237 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   22238 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   22239 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   22240 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   22241 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   22242 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   22243 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   22244 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   22245 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   22246 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   22247 
   22248 LTCC='$LTCC'
   22249 LTCFLAGS='$LTCFLAGS'
   22250 compiler='$compiler_DEFAULT'
   22251 
   22252 # A function that is used when there is no print builtin or printf.
   22253 func_fallback_echo ()
   22254 {
   22255   eval 'cat <<_LTECHO_EOF
   22256 \$1
   22257 _LTECHO_EOF'
   22258 }
   22259 
   22260 # Quote evaled strings.
   22261 for var in SHELL \
   22262 ECHO \
   22263 PATH_SEPARATOR \
   22264 SED \
   22265 GREP \
   22266 EGREP \
   22267 FGREP \
   22268 LD \
   22269 NM \
   22270 LN_S \
   22271 lt_SP2NL \
   22272 lt_NL2SP \
   22273 reload_flag \
   22274 FILECMD \
   22275 OBJDUMP \
   22276 deplibs_check_method \
   22277 file_magic_cmd \
   22278 file_magic_glob \
   22279 want_nocaseglob \
   22280 DLLTOOL \
   22281 sharedlib_from_linklib_cmd \
   22282 AR \
   22283 archiver_list_spec \
   22284 STRIP \
   22285 RANLIB \
   22286 CC \
   22287 CFLAGS \
   22288 compiler \
   22289 lt_cv_sys_global_symbol_pipe \
   22290 lt_cv_sys_global_symbol_to_cdecl \
   22291 lt_cv_sys_global_symbol_to_import \
   22292 lt_cv_sys_global_symbol_to_c_name_address \
   22293 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   22294 lt_cv_nm_interface \
   22295 nm_file_list_spec \
   22296 lt_cv_truncate_bin \
   22297 lt_prog_compiler_no_builtin_flag \
   22298 lt_prog_compiler_pic \
   22299 lt_prog_compiler_wl \
   22300 lt_prog_compiler_static \
   22301 lt_cv_prog_compiler_c_o \
   22302 need_locks \
   22303 MANIFEST_TOOL \
   22304 DSYMUTIL \
   22305 NMEDIT \
   22306 LIPO \
   22307 OTOOL \
   22308 OTOOL64 \
   22309 shrext_cmds \
   22310 export_dynamic_flag_spec \
   22311 whole_archive_flag_spec \
   22312 compiler_needs_object \
   22313 with_gnu_ld \
   22314 allow_undefined_flag \
   22315 no_undefined_flag \
   22316 hardcode_libdir_flag_spec \
   22317 hardcode_libdir_separator \
   22318 exclude_expsyms \
   22319 include_expsyms \
   22320 file_list_spec \
   22321 variables_saved_for_relink \
   22322 libname_spec \
   22323 library_names_spec \
   22324 soname_spec \
   22325 install_override_mode \
   22326 finish_eval \
   22327 old_striplib \
   22328 striplib; do
   22329     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22330     *[\\\\\\\`\\"\\\$]*)
   22331       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22332       ;;
   22333     *)
   22334       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22335       ;;
   22336     esac
   22337 done
   22338 
   22339 # Double-quote double-evaled strings.
   22340 for var in reload_cmds \
   22341 old_postinstall_cmds \
   22342 old_postuninstall_cmds \
   22343 old_archive_cmds \
   22344 extract_expsyms_cmds \
   22345 old_archive_from_new_cmds \
   22346 old_archive_from_expsyms_cmds \
   22347 archive_cmds \
   22348 archive_expsym_cmds \
   22349 module_cmds \
   22350 module_expsym_cmds \
   22351 export_symbols_cmds \
   22352 prelink_cmds \
   22353 postlink_cmds \
   22354 postinstall_cmds \
   22355 postuninstall_cmds \
   22356 finish_cmds \
   22357 sys_lib_search_path_spec \
   22358 configure_time_dlsearch_path \
   22359 configure_time_lt_sys_library_path; do
   22360     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22361     *[\\\\\\\`\\"\\\$]*)
   22362       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22363       ;;
   22364     *)
   22365       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22366       ;;
   22367     esac
   22368 done
   22369 
   22370 ac_aux_dir='$ac_aux_dir'
   22371 
   22372 # See if we are running on zsh, and set the options that allow our
   22373 # commands through without removal of \ escapes INIT.
   22374 if test -n "\${ZSH_VERSION+set}"; then
   22375    setopt NO_GLOB_SUBST
   22376 fi
   22377 
   22378 
   22379     PACKAGE='$PACKAGE'
   22380     VERSION='$VERSION'
   22381     RM='$RM'
   22382     ofile='$ofile'
   22383 
   22384 
   22385 
   22386 
   22387 _ACEOF
   22388 
   22389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22390 
   22391 # Handling of arguments.
   22392 for ac_config_target in $ac_config_targets
   22393 do
   22394   case $ac_config_target in
   22395     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22396     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22397     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22398     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22399     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   22400     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   22401     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22402     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22403     "sxpm/Makefile") CONFIG_FILES="$CONFIG_FILES sxpm/Makefile" ;;
   22404     "cxpm/Makefile") CONFIG_FILES="$CONFIG_FILES cxpm/Makefile" ;;
   22405     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   22406     "xpm.pc") CONFIG_FILES="$CONFIG_FILES xpm.pc" ;;
   22407 
   22408   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   22409   esac
   22410 done
   22411 
   22412 
   22413 # If the user did not use the arguments to specify the items to instantiate,
   22414 # then the envvar interface is used.  Set only those that are not.
   22415 # We use the long form for the default assignment because of an extremely
   22416 # bizarre bug on SunOS 4.1.3.
   22417 if $ac_need_defaults; then
   22418   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   22419   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   22420   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   22421 fi
   22422 
   22423 # Have a temporary directory for convenience.  Make it in the build tree
   22424 # simply because there is no reason against having it here, and in addition,
   22425 # creating and moving files from /tmp can sometimes cause problems.
   22426 # Hook for its removal unless debugging.
   22427 # Note that there is a small window in which the directory will not be cleaned:
   22428 # after its creation but before its name has been assigned to '$tmp'.
   22429 $debug ||
   22430 {
   22431   tmp= ac_tmp=
   22432   trap 'exit_status=$?
   22433   : "${ac_tmp:=$tmp}"
   22434   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22435 ' 0
   22436   trap 'as_fn_exit 1' 1 2 13 15
   22437 }
   22438 # Create a (secure) tmp directory for tmp files.
   22439 
   22440 {
   22441   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22442   test -d "$tmp"
   22443 }  ||
   22444 {
   22445   tmp=./conf$$-$RANDOM
   22446   (umask 077 && mkdir "$tmp")
   22447 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22448 ac_tmp=$tmp
   22449 
   22450 # Set up the scripts for CONFIG_FILES section.
   22451 # No need to generate them if there are no CONFIG_FILES.
   22452 # This happens for instance with './config.status config.h'.
   22453 if test -n "$CONFIG_FILES"; then
   22454 
   22455 
   22456 ac_cr=`echo X | tr X '\015'`
   22457 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22458 # But we know of no other shell where ac_cr would be empty at this
   22459 # point, so we can use a bashism as a fallback.
   22460 if test "x$ac_cr" = x; then
   22461   eval ac_cr=\$\'\\r\'
   22462 fi
   22463 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22464 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22465   ac_cs_awk_cr='\\r'
   22466 else
   22467   ac_cs_awk_cr=$ac_cr
   22468 fi
   22469 
   22470 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22471 _ACEOF
   22472 
   22473 
   22474 {
   22475   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22476   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22477   echo "_ACEOF"
   22478 } >conf$$subs.sh ||
   22479   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22480 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22481 ac_delim='%!_!# '
   22482 for ac_last_try in false false false false false :; do
   22483   . ./conf$$subs.sh ||
   22484     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22485 
   22486   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22487   if test $ac_delim_n = $ac_delim_num; then
   22488     break
   22489   elif $ac_last_try; then
   22490     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22491   else
   22492     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22493   fi
   22494 done
   22495 rm -f conf$$subs.sh
   22496 
   22497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22498 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22499 _ACEOF
   22500 sed -n '
   22501 h
   22502 s/^/S["/; s/!.*/"]=/
   22503 p
   22504 g
   22505 s/^[^!]*!//
   22506 :repl
   22507 t repl
   22508 s/'"$ac_delim"'$//
   22509 t delim
   22510 :nl
   22511 h
   22512 s/\(.\{148\}\)..*/\1/
   22513 t more1
   22514 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22515 p
   22516 n
   22517 b repl
   22518 :more1
   22519 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22520 p
   22521 g
   22522 s/.\{148\}//
   22523 t nl
   22524 :delim
   22525 h
   22526 s/\(.\{148\}\)..*/\1/
   22527 t more2
   22528 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22529 p
   22530 b
   22531 :more2
   22532 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22533 p
   22534 g
   22535 s/.\{148\}//
   22536 t delim
   22537 ' <conf$$subs.awk | sed '
   22538 /^[^""]/{
   22539   N
   22540   s/\n//
   22541 }
   22542 ' >>$CONFIG_STATUS || ac_write_fail=1
   22543 rm -f conf$$subs.awk
   22544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22545 _ACAWK
   22546 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22547   for (key in S) S_is_set[key] = 1
   22548   FS = ""
   22549 
   22550 }
   22551 {
   22552   line = $ 0
   22553   nfields = split(line, field, "@")
   22554   substed = 0
   22555   len = length(field[1])
   22556   for (i = 2; i < nfields; i++) {
   22557     key = field[i]
   22558     keylen = length(key)
   22559     if (S_is_set[key]) {
   22560       value = S[key]
   22561       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22562       len += length(value) + length(field[++i])
   22563       substed = 1
   22564     } else
   22565       len += 1 + keylen
   22566   }
   22567 
   22568   print line
   22569 }
   22570 
   22571 _ACAWK
   22572 _ACEOF
   22573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22574 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22575   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22576 else
   22577   cat
   22578 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22579   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22580 _ACEOF
   22581 
   22582 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22583 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22584 # trailing colons and then remove the whole line if VPATH becomes empty
   22585 # (actually we leave an empty line to preserve line numbers).
   22586 if test "x$srcdir" = x.; then
   22587   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22588 h
   22589 s///
   22590 s/^/:/
   22591 s/[	 ]*$/:/
   22592 s/:\$(srcdir):/:/g
   22593 s/:\${srcdir}:/:/g
   22594 s/:@srcdir@:/:/g
   22595 s/^:*//
   22596 s/:*$//
   22597 x
   22598 s/\(=[	 ]*\).*/\1/
   22599 G
   22600 s/\n//
   22601 s/^[^=]*=[	 ]*$//
   22602 }'
   22603 fi
   22604 
   22605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22606 fi # test -n "$CONFIG_FILES"
   22607 
   22608 # Set up the scripts for CONFIG_HEADERS section.
   22609 # No need to generate them if there are no CONFIG_HEADERS.
   22610 # This happens for instance with './config.status Makefile'.
   22611 if test -n "$CONFIG_HEADERS"; then
   22612 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22613 BEGIN {
   22614 _ACEOF
   22615 
   22616 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   22617 # here-document in config.status, that substitutes the proper values into
   22618 # config.h.in to produce config.h.
   22619 
   22620 # Create a delimiter string that does not exist in confdefs.h, to ease
   22621 # handling of long lines.
   22622 ac_delim='%!_!# '
   22623 for ac_last_try in false false :; do
   22624   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22625   if test -z "$ac_tt"; then
   22626     break
   22627   elif $ac_last_try; then
   22628     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22629   else
   22630     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22631   fi
   22632 done
   22633 
   22634 # For the awk script, D is an array of macro values keyed by name,
   22635 # likewise P contains macro parameters if any.  Preserve backslash
   22636 # newline sequences.
   22637 
   22638 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22639 sed -n '
   22640 s/.\{148\}/&'"$ac_delim"'/g
   22641 t rset
   22642 :rset
   22643 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22644 t def
   22645 d
   22646 :def
   22647 s/\\$//
   22648 t bsnl
   22649 s/["\\]/\\&/g
   22650 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22651 D["\1"]=" \3"/p
   22652 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22653 d
   22654 :bsnl
   22655 s/["\\]/\\&/g
   22656 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22657 D["\1"]=" \3\\\\\\n"\\/p
   22658 t cont
   22659 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22660 t cont
   22661 d
   22662 :cont
   22663 n
   22664 s/.\{148\}/&'"$ac_delim"'/g
   22665 t clear
   22666 :clear
   22667 s/\\$//
   22668 t bsnlc
   22669 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22670 d
   22671 :bsnlc
   22672 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22673 b cont
   22674 ' <confdefs.h | sed '
   22675 s/'"$ac_delim"'/"\\\
   22676 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22677 
   22678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22679   for (key in D) D_is_set[key] = 1
   22680   FS = ""
   22681 }
   22682 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22683   line = \$ 0
   22684   split(line, arg, " ")
   22685   if (arg[1] == "#") {
   22686     defundef = arg[2]
   22687     mac1 = arg[3]
   22688   } else {
   22689     defundef = substr(arg[1], 2)
   22690     mac1 = arg[2]
   22691   }
   22692   split(mac1, mac2, "(") #)
   22693   macro = mac2[1]
   22694   prefix = substr(line, 1, index(line, defundef) - 1)
   22695   if (D_is_set[macro]) {
   22696     # Preserve the white space surrounding the "#".
   22697     print prefix "define", macro P[macro] D[macro]
   22698     next
   22699   } else {
   22700     # Replace #undef with comments.  This is necessary, for example,
   22701     # in the case of _POSIX_SOURCE, which is predefined and required
   22702     # on some systems where configure will not decide to define it.
   22703     if (defundef == "undef") {
   22704       print "/*", prefix defundef, macro, "*/"
   22705       next
   22706     }
   22707   }
   22708 }
   22709 { print }
   22710 _ACAWK
   22711 _ACEOF
   22712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22713   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22714 fi # test -n "$CONFIG_HEADERS"
   22715 
   22716 
   22717 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22718 shift
   22719 for ac_tag
   22720 do
   22721   case $ac_tag in
   22722   :[FHLC]) ac_mode=$ac_tag; continue;;
   22723   esac
   22724   case $ac_mode$ac_tag in
   22725   :[FHL]*:*);;
   22726   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   22727   :[FH]-) ac_tag=-:-;;
   22728   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22729   esac
   22730   ac_save_IFS=$IFS
   22731   IFS=:
   22732   set x $ac_tag
   22733   IFS=$ac_save_IFS
   22734   shift
   22735   ac_file=$1
   22736   shift
   22737 
   22738   case $ac_mode in
   22739   :L) ac_source=$1;;
   22740   :[FH])
   22741     ac_file_inputs=
   22742     for ac_f
   22743     do
   22744       case $ac_f in
   22745       -) ac_f="$ac_tmp/stdin";;
   22746       *) # Look for the file first in the build tree, then in the source tree
   22747 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22748 	 # because $ac_f cannot contain ':'.
   22749 	 test -f "$ac_f" ||
   22750 	   case $ac_f in
   22751 	   [\\/$]*) false;;
   22752 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22753 	   esac ||
   22754 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   22755       esac
   22756       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22757       as_fn_append ac_file_inputs " '$ac_f'"
   22758     done
   22759 
   22760     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   22761     # use $as_me), people would be surprised to read:
   22762     #    /* config.h.  Generated by config.status.  */
   22763     configure_input='Generated from '`
   22764 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22765 	`' by configure.'
   22766     if test x"$ac_file" != x-; then
   22767       configure_input="$ac_file.  $configure_input"
   22768       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22769 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   22770     fi
   22771     # Neutralize special characters interpreted by sed in replacement strings.
   22772     case $configure_input in #(
   22773     *\&* | *\|* | *\\* )
   22774        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22775        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22776     *) ac_sed_conf_input=$configure_input;;
   22777     esac
   22778 
   22779     case $ac_tag in
   22780     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22781       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22782     esac
   22783     ;;
   22784   esac
   22785 
   22786   ac_dir=`$as_dirname -- "$ac_file" ||
   22787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22788 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22789 	 X"$ac_file" : 'X\(//\)$' \| \
   22790 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22791 printf "%s\n" X"$ac_file" |
   22792     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22793 	    s//\1/
   22794 	    q
   22795 	  }
   22796 	  /^X\(\/\/\)[^/].*/{
   22797 	    s//\1/
   22798 	    q
   22799 	  }
   22800 	  /^X\(\/\/\)$/{
   22801 	    s//\1/
   22802 	    q
   22803 	  }
   22804 	  /^X\(\/\).*/{
   22805 	    s//\1/
   22806 	    q
   22807 	  }
   22808 	  s/.*/./; q'`
   22809   as_dir="$ac_dir"; as_fn_mkdir_p
   22810   ac_builddir=.
   22811 
   22812 case "$ac_dir" in
   22813 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22814 *)
   22815   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22816   # A ".." for each directory in $ac_dir_suffix.
   22817   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22818   case $ac_top_builddir_sub in
   22819   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22820   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22821   esac ;;
   22822 esac
   22823 ac_abs_top_builddir=$ac_pwd
   22824 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22825 # for backward compatibility:
   22826 ac_top_builddir=$ac_top_build_prefix
   22827 
   22828 case $srcdir in
   22829   .)  # We are building in place.
   22830     ac_srcdir=.
   22831     ac_top_srcdir=$ac_top_builddir_sub
   22832     ac_abs_top_srcdir=$ac_pwd ;;
   22833   [\\/]* | ?:[\\/]* )  # Absolute name.
   22834     ac_srcdir=$srcdir$ac_dir_suffix;
   22835     ac_top_srcdir=$srcdir
   22836     ac_abs_top_srcdir=$srcdir ;;
   22837   *) # Relative name.
   22838     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22839     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22840     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22841 esac
   22842 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22843 
   22844 
   22845   case $ac_mode in
   22846   :F)
   22847   #
   22848   # CONFIG_FILE
   22849   #
   22850 
   22851   case $INSTALL in
   22852   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22853   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22854   esac
   22855   ac_MKDIR_P=$MKDIR_P
   22856   case $MKDIR_P in
   22857   [\\/$]* | ?:[\\/]* ) ;;
   22858   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22859   esac
   22860 _ACEOF
   22861 
   22862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22863 # If the template does not know about datarootdir, expand it.
   22864 # FIXME: This hack should be removed a few years after 2.60.
   22865 ac_datarootdir_hack=; ac_datarootdir_seen=
   22866 ac_sed_dataroot='
   22867 /datarootdir/ {
   22868   p
   22869   q
   22870 }
   22871 /@datadir@/p
   22872 /@docdir@/p
   22873 /@infodir@/p
   22874 /@localedir@/p
   22875 /@mandir@/p'
   22876 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22877 *datarootdir*) ac_datarootdir_seen=yes;;
   22878 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22879   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22880 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22881 _ACEOF
   22882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22883   ac_datarootdir_hack='
   22884   s&@datadir@&$datadir&g
   22885   s&@docdir@&$docdir&g
   22886   s&@infodir@&$infodir&g
   22887   s&@localedir@&$localedir&g
   22888   s&@mandir@&$mandir&g
   22889   s&\\\${datarootdir}&$datarootdir&g' ;;
   22890 esac
   22891 _ACEOF
   22892 
   22893 # Neutralize VPATH when '$srcdir' = '.'.
   22894 # Shell code in configure.ac might set extrasub.
   22895 # FIXME: do we really want to maintain this feature?
   22896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22897 ac_sed_extra="$ac_vpsub
   22898 $extrasub
   22899 _ACEOF
   22900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22901 :t
   22902 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22903 s|@configure_input@|$ac_sed_conf_input|;t t
   22904 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22905 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22906 s&@srcdir@&$ac_srcdir&;t t
   22907 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22908 s&@top_srcdir@&$ac_top_srcdir&;t t
   22909 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22910 s&@builddir@&$ac_builddir&;t t
   22911 s&@abs_builddir@&$ac_abs_builddir&;t t
   22912 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22913 s&@INSTALL@&$ac_INSTALL&;t t
   22914 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22915 $ac_datarootdir_hack
   22916 "
   22917 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22918   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22919 
   22920 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22921   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22922   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22923       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22925 which seems to be undefined.  Please make sure it is defined" >&5
   22926 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22927 which seems to be undefined.  Please make sure it is defined" >&2;}
   22928 
   22929   rm -f "$ac_tmp/stdin"
   22930   case $ac_file in
   22931   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22932   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22933   esac \
   22934   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22935  ;;
   22936   :H)
   22937   #
   22938   # CONFIG_HEADER
   22939   #
   22940   if test x"$ac_file" != x-; then
   22941     {
   22942       printf "%s\n" "/* $configure_input  */" >&1 \
   22943       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22944     } >"$ac_tmp/config.h" \
   22945       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22946     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22947       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22948 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22949     else
   22950       rm -f "$ac_file"
   22951       mv "$ac_tmp/config.h" "$ac_file" \
   22952 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22953     fi
   22954   else
   22955     printf "%s\n" "/* $configure_input  */" >&1 \
   22956       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22957       || as_fn_error $? "could not create -" "$LINENO" 5
   22958   fi
   22959 # Compute "$ac_file"'s index in $config_headers.
   22960 _am_arg="$ac_file"
   22961 _am_stamp_count=1
   22962 for _am_header in $config_headers :; do
   22963   case $_am_header in
   22964     $_am_arg | $_am_arg:* )
   22965       break ;;
   22966     * )
   22967       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22968   esac
   22969 done
   22970 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22971 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22972 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22973 	 X"$_am_arg" : 'X\(//\)$' \| \
   22974 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22975 printf "%s\n" X"$_am_arg" |
   22976     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22977 	    s//\1/
   22978 	    q
   22979 	  }
   22980 	  /^X\(\/\/\)[^/].*/{
   22981 	    s//\1/
   22982 	    q
   22983 	  }
   22984 	  /^X\(\/\/\)$/{
   22985 	    s//\1/
   22986 	    q
   22987 	  }
   22988 	  /^X\(\/\).*/{
   22989 	    s//\1/
   22990 	    q
   22991 	  }
   22992 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22993  ;;
   22994 
   22995   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22996 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22997  ;;
   22998   esac
   22999 
   23000 
   23001   case $ac_file$ac_mode in
   23002     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23003   # Older Autoconf quotes --file arguments for eval, but not when files
   23004   # are listed without --file.  Let's play safe and only enable the eval
   23005   # if we detect the quoting.
   23006   # TODO: see whether this extra hack can be removed once we start
   23007   # requiring Autoconf 2.70 or later.
   23008   case $CONFIG_FILES in #(
   23009   *\'*) :
   23010     eval set x "$CONFIG_FILES" ;; #(
   23011   *) :
   23012     set x $CONFIG_FILES ;; #(
   23013   *) :
   23014      ;;
   23015 esac
   23016   shift
   23017   # Used to flag and report bootstrapping failures.
   23018   am_rc=0
   23019   for am_mf
   23020   do
   23021     # Strip MF so we end up with the name of the file.
   23022     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   23023     # Check whether this is an Automake generated Makefile which includes
   23024     # dependency-tracking related rules and includes.
   23025     # Grep'ing the whole file directly is not great: AIX grep has a line
   23026     # limit of 2048, but all sed's we know have understand at least 4000.
   23027     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   23028       || continue
   23029     am_dirpart=`$as_dirname -- "$am_mf" ||
   23030 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23031 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   23032 	 X"$am_mf" : 'X\(//\)$' \| \
   23033 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23034 printf "%s\n" X"$am_mf" |
   23035     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23036 	    s//\1/
   23037 	    q
   23038 	  }
   23039 	  /^X\(\/\/\)[^/].*/{
   23040 	    s//\1/
   23041 	    q
   23042 	  }
   23043 	  /^X\(\/\/\)$/{
   23044 	    s//\1/
   23045 	    q
   23046 	  }
   23047 	  /^X\(\/\).*/{
   23048 	    s//\1/
   23049 	    q
   23050 	  }
   23051 	  s/.*/./; q'`
   23052     am_filepart=`$as_basename -- "$am_mf" ||
   23053 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   23054 	 X"$am_mf" : 'X\(//\)$' \| \
   23055 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23056 printf "%s\n" X/"$am_mf" |
   23057     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23058 	    s//\1/
   23059 	    q
   23060 	  }
   23061 	  /^X\/\(\/\/\)$/{
   23062 	    s//\1/
   23063 	    q
   23064 	  }
   23065 	  /^X\/\(\/\).*/{
   23066 	    s//\1/
   23067 	    q
   23068 	  }
   23069 	  s/.*/./; q'`
   23070     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   23071       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23072         | $MAKE -f - am--depfiles" >&5
   23073    (cd "$am_dirpart" \
   23074       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23075         | $MAKE -f - am--depfiles) >&5 2>&5
   23076    ac_status=$?
   23077    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23078    (exit $ac_status); } || am_rc=$?
   23079   done
   23080   if test $am_rc -ne 0; then
   23081     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23082 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23083 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   23084     for automatic dependency tracking.  If GNU make was not used, consider
   23085     re-running the configure script with MAKE=\"gmake\" (or whatever is
   23086     necessary).  You can also try re-running configure with the
   23087     '--disable-dependency-tracking' option to at least be able to build
   23088     the package (albeit without support for automatic dependency tracking).
   23089 See 'config.log' for more details" "$LINENO" 5; }
   23090   fi
   23091   { am_dirpart=; unset am_dirpart;}
   23092   { am_filepart=; unset am_filepart;}
   23093   { am_mf=; unset am_mf;}
   23094   { am_rc=; unset am_rc;}
   23095   rm -f conftest-deps.mk
   23096 }
   23097  ;;
   23098     "libtool":C)
   23099 
   23100     # See if we are running on zsh, and set the options that allow our
   23101     # commands through without removal of \ escapes.
   23102     if test -n "${ZSH_VERSION+set}"; then
   23103       setopt NO_GLOB_SUBST
   23104     fi
   23105 
   23106     cfgfile=${ofile}T
   23107     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   23108     $RM "$cfgfile"
   23109 
   23110     cat <<_LT_EOF >> "$cfgfile"
   23111 #! $SHELL
   23112 # Generated automatically by $as_me ($PACKAGE) $VERSION
   23113 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   23114 
   23115 # Provide generalized library-building support services.
   23116 # Written by Gordon Matzigkeit, 1996
   23117 
   23118 # Copyright (C) 2024 Free Software Foundation, Inc.
   23119 # This is free software; see the source for copying conditions.  There is NO
   23120 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   23121 
   23122 # GNU Libtool is free software; you can redistribute it and/or modify
   23123 # it under the terms of the GNU General Public License as published by
   23124 # the Free Software Foundation; either version 2 of the License, or
   23125 # (at your option) any later version.
   23126 #
   23127 # As a special exception to the GNU General Public License, if you
   23128 # distribute this file as part of a program or library that is built
   23129 # using GNU Libtool, you may include this file under the  same
   23130 # distribution terms that you use for the rest of that program.
   23131 #
   23132 # GNU Libtool is distributed in the hope that it will be useful, but
   23133 # WITHOUT ANY WARRANTY; without even the implied warranty of
   23134 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   23135 # GNU General Public License for more details.
   23136 #
   23137 # You should have received a copy of the GNU General Public License
   23138 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   23139 
   23140 
   23141 # The names of the tagged configurations supported by this script.
   23142 available_tags=''
   23143 
   23144 # Configured defaults for sys_lib_dlsearch_path munging.
   23145 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   23146 
   23147 # ### BEGIN LIBTOOL CONFIG
   23148 
   23149 # Which release of libtool.m4 was used?
   23150 macro_version=$macro_version
   23151 macro_revision=$macro_revision
   23152 
   23153 # Whether or not to build shared libraries.
   23154 build_libtool_libs=$enable_shared
   23155 
   23156 # Whether or not to build static libraries.
   23157 build_old_libs=$enable_static
   23158 
   23159 # What type of objects to build.
   23160 pic_mode=$pic_mode
   23161 
   23162 # Whether or not to optimize for fast installation.
   23163 fast_install=$enable_fast_install
   23164 
   23165 # Shared archive member basename,for filename based shared library versioning on AIX.
   23166 shared_archive_member_spec=$shared_archive_member_spec
   23167 
   23168 # Shell to use when invoking shell scripts.
   23169 SHELL=$lt_SHELL
   23170 
   23171 # An echo program that protects backslashes.
   23172 ECHO=$lt_ECHO
   23173 
   23174 # The PATH separator for the build system.
   23175 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   23176 
   23177 # The host system.
   23178 host_alias=$host_alias
   23179 host=$host
   23180 host_os=$host_os
   23181 
   23182 # The build system.
   23183 build_alias=$build_alias
   23184 build=$build
   23185 build_os=$build_os
   23186 
   23187 # A sed program that does not truncate output.
   23188 SED=$lt_SED
   23189 
   23190 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   23191 Xsed="\$SED -e 1s/^X//"
   23192 
   23193 # A grep program that handles long lines.
   23194 GREP=$lt_GREP
   23195 
   23196 # An ERE matcher.
   23197 EGREP=$lt_EGREP
   23198 
   23199 # A literal string matcher.
   23200 FGREP=$lt_FGREP
   23201 
   23202 # A BSD- or MS-compatible name lister.
   23203 NM=$lt_NM
   23204 
   23205 # Whether we need soft or hard links.
   23206 LN_S=$lt_LN_S
   23207 
   23208 # What is the maximum length of a command?
   23209 max_cmd_len=$max_cmd_len
   23210 
   23211 # Object file suffix (normally "o").
   23212 objext=$ac_objext
   23213 
   23214 # Executable file suffix (normally "").
   23215 exeext=$exeext
   23216 
   23217 # whether the shell understands "unset".
   23218 lt_unset=$lt_unset
   23219 
   23220 # turn spaces into newlines.
   23221 SP2NL=$lt_lt_SP2NL
   23222 
   23223 # turn newlines into spaces.
   23224 NL2SP=$lt_lt_NL2SP
   23225 
   23226 # convert \$build file names to \$host format.
   23227 to_host_file_cmd=$lt_cv_to_host_file_cmd
   23228 
   23229 # convert \$build files to toolchain format.
   23230 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   23231 
   23232 # A file(cmd) program that detects file types.
   23233 FILECMD=$lt_FILECMD
   23234 
   23235 # An object symbol dumper.
   23236 OBJDUMP=$lt_OBJDUMP
   23237 
   23238 # Method to check whether dependent libraries are shared objects.
   23239 deplibs_check_method=$lt_deplibs_check_method
   23240 
   23241 # Command to use when deplibs_check_method = "file_magic".
   23242 file_magic_cmd=$lt_file_magic_cmd
   23243 
   23244 # How to find potential files when deplibs_check_method = "file_magic".
   23245 file_magic_glob=$lt_file_magic_glob
   23246 
   23247 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   23248 want_nocaseglob=$lt_want_nocaseglob
   23249 
   23250 # DLL creation program.
   23251 DLLTOOL=$lt_DLLTOOL
   23252 
   23253 # Command to associate shared and link libraries.
   23254 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   23255 
   23256 # The archiver.
   23257 AR=$lt_AR
   23258 
   23259 # Flags to create an archive (by configure).
   23260 lt_ar_flags=$lt_ar_flags
   23261 
   23262 # Flags to create an archive.
   23263 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   23264 
   23265 # How to feed a file listing to the archiver.
   23266 archiver_list_spec=$lt_archiver_list_spec
   23267 
   23268 # A symbol stripping program.
   23269 STRIP=$lt_STRIP
   23270 
   23271 # Commands used to install an old-style archive.
   23272 RANLIB=$lt_RANLIB
   23273 old_postinstall_cmds=$lt_old_postinstall_cmds
   23274 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   23275 
   23276 # Whether to use a lock for old archive extraction.
   23277 lock_old_archive_extraction=$lock_old_archive_extraction
   23278 
   23279 # A C compiler.
   23280 LTCC=$lt_CC
   23281 
   23282 # LTCC compiler flags.
   23283 LTCFLAGS=$lt_CFLAGS
   23284 
   23285 # Take the output of nm and produce a listing of raw symbols and C names.
   23286 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   23287 
   23288 # Transform the output of nm in a proper C declaration.
   23289 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   23290 
   23291 # Transform the output of nm into a list of symbols to manually relocate.
   23292 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   23293 
   23294 # Transform the output of nm in a C name address pair.
   23295 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   23296 
   23297 # Transform the output of nm in a C name address pair when lib prefix is needed.
   23298 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   23299 
   23300 # The name lister interface.
   23301 nm_interface=$lt_lt_cv_nm_interface
   23302 
   23303 # Specify filename containing input files for \$NM.
   23304 nm_file_list_spec=$lt_nm_file_list_spec
   23305 
   23306 # The root where to search for dependent libraries,and where our libraries should be installed.
   23307 lt_sysroot=$lt_sysroot
   23308 
   23309 # Command to truncate a binary pipe.
   23310 lt_truncate_bin=$lt_lt_cv_truncate_bin
   23311 
   23312 # The name of the directory that contains temporary libtool files.
   23313 objdir=$objdir
   23314 
   23315 # Used to examine libraries when file_magic_cmd begins with "file".
   23316 MAGIC_CMD=$MAGIC_CMD
   23317 
   23318 # Must we lock files when doing compilation?
   23319 need_locks=$lt_need_locks
   23320 
   23321 # Manifest tool.
   23322 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   23323 
   23324 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   23325 DSYMUTIL=$lt_DSYMUTIL
   23326 
   23327 # Tool to change global to local symbols on Mac OS X.
   23328 NMEDIT=$lt_NMEDIT
   23329 
   23330 # Tool to manipulate fat objects and archives on Mac OS X.
   23331 LIPO=$lt_LIPO
   23332 
   23333 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   23334 OTOOL=$lt_OTOOL
   23335 
   23336 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   23337 OTOOL64=$lt_OTOOL64
   23338 
   23339 # Old archive suffix (normally "a").
   23340 libext=$libext
   23341 
   23342 # Shared library suffix (normally ".so").
   23343 shrext_cmds=$lt_shrext_cmds
   23344 
   23345 # The commands to extract the exported symbol list from a shared archive.
   23346 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23347 
   23348 # Variables whose values should be saved in libtool wrapper scripts and
   23349 # restored at link time.
   23350 variables_saved_for_relink=$lt_variables_saved_for_relink
   23351 
   23352 # Do we need the "lib" prefix for modules?
   23353 need_lib_prefix=$need_lib_prefix
   23354 
   23355 # Do we need a version for libraries?
   23356 need_version=$need_version
   23357 
   23358 # Library versioning type.
   23359 version_type=$version_type
   23360 
   23361 # Shared library runtime path variable.
   23362 runpath_var=$runpath_var
   23363 
   23364 # Shared library path variable.
   23365 shlibpath_var=$shlibpath_var
   23366 
   23367 # Is shlibpath searched before the hard-coded library search path?
   23368 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23369 
   23370 # Format of library name prefix.
   23371 libname_spec=$lt_libname_spec
   23372 
   23373 # List of archive names.  First name is the real one, the rest are links.
   23374 # The last name is the one that the linker finds with -lNAME
   23375 library_names_spec=$lt_library_names_spec
   23376 
   23377 # The coded name of the library, if different from the real name.
   23378 soname_spec=$lt_soname_spec
   23379 
   23380 # Permission mode override for installation of shared libraries.
   23381 install_override_mode=$lt_install_override_mode
   23382 
   23383 # Command to use after installation of a shared archive.
   23384 postinstall_cmds=$lt_postinstall_cmds
   23385 
   23386 # Command to use after uninstallation of a shared archive.
   23387 postuninstall_cmds=$lt_postuninstall_cmds
   23388 
   23389 # Commands used to finish a libtool library installation in a directory.
   23390 finish_cmds=$lt_finish_cmds
   23391 
   23392 # As "finish_cmds", except a single script fragment to be evaled but
   23393 # not shown.
   23394 finish_eval=$lt_finish_eval
   23395 
   23396 # Whether we should hardcode library paths into libraries.
   23397 hardcode_into_libs=$hardcode_into_libs
   23398 
   23399 # Compile-time system search path for libraries.
   23400 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23401 
   23402 # Detected run-time system search path for libraries.
   23403 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   23404 
   23405 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   23406 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   23407 
   23408 # Whether dlopen is supported.
   23409 dlopen_support=$enable_dlopen
   23410 
   23411 # Whether dlopen of programs is supported.
   23412 dlopen_self=$enable_dlopen_self
   23413 
   23414 # Whether dlopen of statically linked programs is supported.
   23415 dlopen_self_static=$enable_dlopen_self_static
   23416 
   23417 # Commands to strip libraries.
   23418 old_striplib=$lt_old_striplib
   23419 striplib=$lt_striplib
   23420 
   23421 
   23422 # The linker used to build libraries.
   23423 LD=$lt_LD
   23424 
   23425 # How to create reloadable object files.
   23426 reload_flag=$lt_reload_flag
   23427 reload_cmds=$lt_reload_cmds
   23428 
   23429 # Commands used to build an old-style archive.
   23430 old_archive_cmds=$lt_old_archive_cmds
   23431 
   23432 # A language specific compiler.
   23433 CC=$lt_compiler
   23434 
   23435 # Is the compiler the GNU compiler?
   23436 with_gcc=$GCC
   23437 
   23438 # Compiler flag to turn off builtin functions.
   23439 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23440 
   23441 # Additional compiler flags for building library objects.
   23442 pic_flag=$lt_lt_prog_compiler_pic
   23443 
   23444 # How to pass a linker flag through the compiler.
   23445 wl=$lt_lt_prog_compiler_wl
   23446 
   23447 # Compiler flag to prevent dynamic linking.
   23448 link_static_flag=$lt_lt_prog_compiler_static
   23449 
   23450 # Does compiler simultaneously support -c and -o options?
   23451 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23452 
   23453 # Whether or not to add -lc for building shared libraries.
   23454 build_libtool_need_lc=$archive_cmds_need_lc
   23455 
   23456 # Whether or not to disallow shared libs when runtime libs are static.
   23457 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23458 
   23459 # Compiler flag to allow reflexive dlopens.
   23460 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23461 
   23462 # Compiler flag to generate shared objects directly from archives.
   23463 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23464 
   23465 # Whether the compiler copes with passing no objects directly.
   23466 compiler_needs_object=$lt_compiler_needs_object
   23467 
   23468 # Create an old-style archive from a shared archive.
   23469 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23470 
   23471 # Create a temporary old-style archive to link instead of a shared archive.
   23472 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23473 
   23474 # Commands used to build a shared archive.
   23475 archive_cmds=$lt_archive_cmds
   23476 archive_expsym_cmds=$lt_archive_expsym_cmds
   23477 
   23478 # Commands used to build a loadable module if different from building
   23479 # a shared archive.
   23480 module_cmds=$lt_module_cmds
   23481 module_expsym_cmds=$lt_module_expsym_cmds
   23482 
   23483 # Whether we are building with GNU ld or not.
   23484 with_gnu_ld=$lt_with_gnu_ld
   23485 
   23486 # Flag that allows shared libraries with undefined symbols to be built.
   23487 allow_undefined_flag=$lt_allow_undefined_flag
   23488 
   23489 # Flag that enforces no undefined symbols.
   23490 no_undefined_flag=$lt_no_undefined_flag
   23491 
   23492 # Flag to hardcode \$libdir into a binary during linking.
   23493 # This must work even if \$libdir does not exist
   23494 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23495 
   23496 # Whether we need a single "-rpath" flag with a separated argument.
   23497 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23498 
   23499 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23500 # DIR into the resulting binary.
   23501 hardcode_direct=$hardcode_direct
   23502 
   23503 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23504 # DIR into the resulting binary and the resulting library dependency is
   23505 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   23506 # library is relocated.
   23507 hardcode_direct_absolute=$hardcode_direct_absolute
   23508 
   23509 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23510 # into the resulting binary.
   23511 hardcode_minus_L=$hardcode_minus_L
   23512 
   23513 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23514 # into the resulting binary.
   23515 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23516 
   23517 # Set to "yes" if building a shared library automatically hardcodes DIR
   23518 # into the library and all subsequent libraries and executables linked
   23519 # against it.
   23520 hardcode_automatic=$hardcode_automatic
   23521 
   23522 # Set to yes if linker adds runtime paths of dependent libraries
   23523 # to runtime path list.
   23524 inherit_rpath=$inherit_rpath
   23525 
   23526 # Whether libtool must link a program against all its dependency libraries.
   23527 link_all_deplibs=$link_all_deplibs
   23528 
   23529 # Set to "yes" if exported symbols are required.
   23530 always_export_symbols=$always_export_symbols
   23531 
   23532 # The commands to list exported symbols.
   23533 export_symbols_cmds=$lt_export_symbols_cmds
   23534 
   23535 # Symbols that should not be listed in the preloaded symbols.
   23536 exclude_expsyms=$lt_exclude_expsyms
   23537 
   23538 # Symbols that must always be exported.
   23539 include_expsyms=$lt_include_expsyms
   23540 
   23541 # Commands necessary for linking programs (against libraries) with templates.
   23542 prelink_cmds=$lt_prelink_cmds
   23543 
   23544 # Commands necessary for finishing linking programs.
   23545 postlink_cmds=$lt_postlink_cmds
   23546 
   23547 # Specify filename containing input files.
   23548 file_list_spec=$lt_file_list_spec
   23549 
   23550 # How to hardcode a shared library path into an executable.
   23551 hardcode_action=$hardcode_action
   23552 
   23553 # ### END LIBTOOL CONFIG
   23554 
   23555 _LT_EOF
   23556 
   23557     cat <<'_LT_EOF' >> "$cfgfile"
   23558 
   23559 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23560 
   23561 # func_munge_path_list VARIABLE PATH
   23562 # -----------------------------------
   23563 # VARIABLE is name of variable containing _space_ separated list of
   23564 # directories to be munged by the contents of PATH, which is string
   23565 # having a format:
   23566 # "DIR[:DIR]:"
   23567 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23568 # ":DIR[:DIR]"
   23569 #       string "DIR[ DIR]" will be appended to VARIABLE
   23570 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23571 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23572 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23573 # "DIR[:DIR]"
   23574 #       VARIABLE will be replaced by "DIR[ DIR]"
   23575 func_munge_path_list ()
   23576 {
   23577     case x$2 in
   23578     x)
   23579         ;;
   23580     *:)
   23581         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23582         ;;
   23583     x:*)
   23584         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23585         ;;
   23586     *::*)
   23587         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23588         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23589         ;;
   23590     *)
   23591         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23592         ;;
   23593     esac
   23594 }
   23595 
   23596 
   23597 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23598 func_cc_basename ()
   23599 {
   23600     for cc_temp in $*""; do
   23601       case $cc_temp in
   23602         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23603         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23604         \-*) ;;
   23605         *) break;;
   23606       esac
   23607     done
   23608     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23609 }
   23610 
   23611 
   23612 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23613 
   23614 _LT_EOF
   23615 
   23616   case $host_os in
   23617   aix3*)
   23618     cat <<\_LT_EOF >> "$cfgfile"
   23619 # AIX sometimes has problems with the GCC collect2 program.  For some
   23620 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23621 # vanish in a puff of smoke.
   23622 if test set != "${COLLECT_NAMES+set}"; then
   23623   COLLECT_NAMES=
   23624   export COLLECT_NAMES
   23625 fi
   23626 _LT_EOF
   23627     ;;
   23628   esac
   23629 
   23630 
   23631 
   23632 ltmain=$ac_aux_dir/ltmain.sh
   23633 
   23634 
   23635   # We use sed instead of cat because bash on DJGPP gets confused if
   23636   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23637   # text mode, it properly converts lines to CR/LF.  This bash problem
   23638   # is reportedly fixed, but why not run on old versions too?
   23639   $SED '$q' "$ltmain" >> "$cfgfile" \
   23640      || (rm -f "$cfgfile"; exit 1)
   23641 
   23642    mv -f "$cfgfile" "$ofile" ||
   23643     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23644   chmod +x "$ofile"
   23645 
   23646  ;;
   23647 
   23648   esac
   23649 done # for ac_tag
   23650 
   23651 
   23652 as_fn_exit 0
   23653 _ACEOF
   23654 ac_clean_files=$ac_clean_files_save
   23655 
   23656 test $ac_write_fail = 0 ||
   23657   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23658 
   23659 
   23660 # configure is writing to config.log, and then calls config.status.
   23661 # config.status does its own redirection, appending to config.log.
   23662 # Unfortunately, on DOS this fails, as config.log is still kept open
   23663 # by configure, so config.status won't be able to write to it; its
   23664 # output is simply discarded.  So we exec the FD to /dev/null,
   23665 # effectively closing config.log, so it can be properly (re)opened and
   23666 # appended to by config.status.  When coming back to configure, we
   23667 # need to make the FD available again.
   23668 if test "$no_create" != yes; then
   23669   ac_cs_success=:
   23670   ac_config_status_args=
   23671   test "$silent" = yes &&
   23672     ac_config_status_args="$ac_config_status_args --quiet"
   23673   exec 5>/dev/null
   23674   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23675   exec 5>>config.log
   23676   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23677   # would make configure fail if this is the last instruction.
   23678   $ac_cs_success || as_fn_exit 1
   23679 fi
   23680 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23681   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23682 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23683 fi
   23684 
   23685 
   23686