Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXpm 3.5.14.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 
    187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     PATH=/empty FPATH=/empty; export PATH FPATH
    192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    194 test \$(( 1 + 1 )) = 2 || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 
    602 test -n "$DJDIR" || exec 7<&0 </dev/null
    603 exec 6>&1
    604 
    605 # Name of the host.
    606 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    607 # so uname gets run too.
    608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    609 
    610 #
    611 # Initializations.
    612 #
    613 ac_default_prefix=/usr/local
    614 ac_clean_files=
    615 ac_config_libobj_dir=.
    616 LIBOBJS=
    617 cross_compiling=no
    618 subdirs=
    619 MFLAGS=
    620 MAKEFLAGS=
    621 
    622 # Identity of this package.
    623 PACKAGE_NAME='libXpm'
    624 PACKAGE_TARNAME='libXpm'
    625 PACKAGE_VERSION='3.5.14'
    626 PACKAGE_STRING='libXpm 3.5.14'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues'
    628 PACKAGE_URL=''
    629 
    630 ac_unique_file="Makefile.am"
    631 # Factoring default headers for most tests.
    632 ac_includes_default="\
    633 #include <stddef.h>
    634 #ifdef HAVE_STDIO_H
    635 # include <stdio.h>
    636 #endif
    637 #ifdef HAVE_STDLIB_H
    638 # include <stdlib.h>
    639 #endif
    640 #ifdef HAVE_STRING_H
    641 # include <string.h>
    642 #endif
    643 #ifdef HAVE_INTTYPES_H
    644 # include <inttypes.h>
    645 #endif
    646 #ifdef HAVE_STDINT_H
    647 # include <stdint.h>
    648 #endif
    649 #ifdef HAVE_STRINGS_H
    650 # include <strings.h>
    651 #endif
    652 #ifdef HAVE_SYS_TYPES_H
    653 # include <sys/types.h>
    654 #endif
    655 #ifdef HAVE_SYS_STAT_H
    656 # include <sys/stat.h>
    657 #endif
    658 #ifdef HAVE_UNISTD_H
    659 # include <unistd.h>
    660 #endif"
    661 
    662 ac_header_c_list=
    663 ac_subst_vars='am__EXEEXT_FALSE
    664 am__EXEEXT_TRUE
    665 LTLIBOBJS
    666 LIBOBJS
    667 USE_GETTEXT_FALSE
    668 USE_GETTEXT_TRUE
    669 LOCALEDIR
    670 BUILD_SXPM_FALSE
    671 BUILD_SXPM_TRUE
    672 SXPM_LIBS
    673 SXPM_CFLAGS
    674 XPM_LIBS
    675 XPM_CFLAGS
    676 MAN_SUBSTS
    677 XORG_MAN_PAGE
    678 ADMIN_MAN_DIR
    679 DRIVER_MAN_DIR
    680 MISC_MAN_DIR
    681 FILE_MAN_DIR
    682 LIB_MAN_DIR
    683 APP_MAN_DIR
    684 ADMIN_MAN_SUFFIX
    685 DRIVER_MAN_SUFFIX
    686 MISC_MAN_SUFFIX
    687 FILE_MAN_SUFFIX
    688 LIB_MAN_SUFFIX
    689 APP_MAN_SUFFIX
    690 INSTALL_CMD
    691 PKG_CONFIG_LIBDIR
    692 PKG_CONFIG_PATH
    693 PKG_CONFIG
    694 CHANGELOG_CMD
    695 STRICT_CFLAGS
    696 CWARNFLAGS
    697 BASE_CFLAGS
    698 LT_SYS_LIBRARY_PATH
    699 OTOOL64
    700 OTOOL
    701 LIPO
    702 NMEDIT
    703 DSYMUTIL
    704 MANIFEST_TOOL
    705 RANLIB
    706 ac_ct_AR
    707 AR
    708 DLLTOOL
    709 OBJDUMP
    710 FILECMD
    711 LN_S
    712 NM
    713 ac_ct_DUMPBIN
    714 DUMPBIN
    715 LD
    716 FGREP
    717 EGREP
    718 GREP
    719 SED
    720 am__fastdepCC_FALSE
    721 am__fastdepCC_TRUE
    722 CCDEPMODE
    723 am__nodep
    724 AMDEPBACKSLASH
    725 AMDEP_FALSE
    726 AMDEP_TRUE
    727 am__include
    728 DEPDIR
    729 OBJEXT
    730 EXEEXT
    731 ac_ct_CC
    732 CPPFLAGS
    733 LDFLAGS
    734 CFLAGS
    735 CC
    736 host_os
    737 host_vendor
    738 host_cpu
    739 host
    740 build_os
    741 build_vendor
    742 build_cpu
    743 build
    744 LIBTOOL
    745 AM_BACKSLASH
    746 AM_DEFAULT_VERBOSITY
    747 AM_DEFAULT_V
    748 AM_V
    749 CSCOPE
    750 ETAGS
    751 CTAGS
    752 am__untar
    753 am__tar
    754 AMTAR
    755 am__leading_dot
    756 SET_MAKE
    757 AWK
    758 mkdir_p
    759 MKDIR_P
    760 INSTALL_STRIP_PROGRAM
    761 STRIP
    762 install_sh
    763 MAKEINFO
    764 AUTOHEADER
    765 AUTOMAKE
    766 AUTOCONF
    767 ACLOCAL
    768 VERSION
    769 PACKAGE
    770 CYGPATH_W
    771 am__isrc
    772 INSTALL_DATA
    773 INSTALL_SCRIPT
    774 INSTALL_PROGRAM
    775 target_alias
    776 host_alias
    777 build_alias
    778 LIBS
    779 ECHO_T
    780 ECHO_N
    781 ECHO_C
    782 DEFS
    783 mandir
    784 localedir
    785 libdir
    786 psdir
    787 pdfdir
    788 dvidir
    789 htmldir
    790 infodir
    791 docdir
    792 oldincludedir
    793 includedir
    794 runstatedir
    795 localstatedir
    796 sharedstatedir
    797 sysconfdir
    798 datadir
    799 datarootdir
    800 libexecdir
    801 sbindir
    802 bindir
    803 program_transform_name
    804 prefix
    805 exec_prefix
    806 PACKAGE_URL
    807 PACKAGE_BUGREPORT
    808 PACKAGE_STRING
    809 PACKAGE_VERSION
    810 PACKAGE_TARNAME
    811 PACKAGE_NAME
    812 PATH_SEPARATOR
    813 SHELL
    814 am__quote'
    815 ac_subst_files=''
    816 ac_user_opts='
    817 enable_option_checking
    818 enable_silent_rules
    819 enable_shared
    820 enable_static
    821 with_pic
    822 enable_fast_install
    823 with_aix_soname
    824 enable_dependency_tracking
    825 with_gnu_ld
    826 with_sysroot
    827 enable_libtool_lock
    828 enable_selective_werror
    829 enable_strict_compilation
    830 with_localedir
    831 enable_stat_zfile
    832 '
    833       ac_precious_vars='build_alias
    834 host_alias
    835 target_alias
    836 CC
    837 CFLAGS
    838 LDFLAGS
    839 LIBS
    840 CPPFLAGS
    841 LT_SYS_LIBRARY_PATH
    842 PKG_CONFIG
    843 PKG_CONFIG_PATH
    844 PKG_CONFIG_LIBDIR
    845 XPM_CFLAGS
    846 XPM_LIBS
    847 SXPM_CFLAGS
    848 SXPM_LIBS'
    849 
    850 
    851 # Initialize some variables set by options.
    852 ac_init_help=
    853 ac_init_version=false
    854 ac_unrecognized_opts=
    855 ac_unrecognized_sep=
    856 # The variables have the same names as the options, with
    857 # dashes changed to underlines.
    858 cache_file=/dev/null
    859 exec_prefix=NONE
    860 no_create=
    861 no_recursion=
    862 prefix=NONE
    863 program_prefix=NONE
    864 program_suffix=NONE
    865 program_transform_name=s,x,x,
    866 silent=
    867 site=
    868 srcdir=
    869 verbose=
    870 x_includes=NONE
    871 x_libraries=NONE
    872 
    873 # Installation directory options.
    874 # These are left unexpanded so users can "make install exec_prefix=/foo"
    875 # and all the variables that are supposed to be based on exec_prefix
    876 # by default will actually change.
    877 # Use braces instead of parens because sh, perl, etc. also accept them.
    878 # (The list follows the same order as the GNU Coding Standards.)
    879 bindir='${exec_prefix}/bin'
    880 sbindir='${exec_prefix}/sbin'
    881 libexecdir='${exec_prefix}/libexec'
    882 datarootdir='${prefix}/share'
    883 datadir='${datarootdir}'
    884 sysconfdir='${prefix}/etc'
    885 sharedstatedir='${prefix}/com'
    886 localstatedir='${prefix}/var'
    887 runstatedir='${localstatedir}/run'
    888 includedir='${prefix}/include'
    889 oldincludedir='/usr/include'
    890 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    891 infodir='${datarootdir}/info'
    892 htmldir='${docdir}'
    893 dvidir='${docdir}'
    894 pdfdir='${docdir}'
    895 psdir='${docdir}'
    896 libdir='${exec_prefix}/lib'
    897 localedir='${datarootdir}/locale'
    898 mandir='${datarootdir}/man'
    899 
    900 ac_prev=
    901 ac_dashdash=
    902 for ac_option
    903 do
    904   # If the previous option needs an argument, assign it.
    905   if test -n "$ac_prev"; then
    906     eval $ac_prev=\$ac_option
    907     ac_prev=
    908     continue
    909   fi
    910 
    911   case $ac_option in
    912   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    913   *=)   ac_optarg= ;;
    914   *)    ac_optarg=yes ;;
    915   esac
    916 
    917   case $ac_dashdash$ac_option in
    918   --)
    919     ac_dashdash=yes ;;
    920 
    921   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    922     ac_prev=bindir ;;
    923   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    924     bindir=$ac_optarg ;;
    925 
    926   -build | --build | --buil | --bui | --bu)
    927     ac_prev=build_alias ;;
    928   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    929     build_alias=$ac_optarg ;;
    930 
    931   -cache-file | --cache-file | --cache-fil | --cache-fi \
    932   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    933     ac_prev=cache_file ;;
    934   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    935   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    936     cache_file=$ac_optarg ;;
    937 
    938   --config-cache | -C)
    939     cache_file=config.cache ;;
    940 
    941   -datadir | --datadir | --datadi | --datad)
    942     ac_prev=datadir ;;
    943   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    944     datadir=$ac_optarg ;;
    945 
    946   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    947   | --dataroo | --dataro | --datar)
    948     ac_prev=datarootdir ;;
    949   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    950   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    951     datarootdir=$ac_optarg ;;
    952 
    953   -disable-* | --disable-*)
    954     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    955     # Reject names that are not valid shell variable names.
    956     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    957       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    958     ac_useropt_orig=$ac_useropt
    959     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    960     case $ac_user_opts in
    961       *"
    962 "enable_$ac_useropt"
    963 "*) ;;
    964       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    965 	 ac_unrecognized_sep=', ';;
    966     esac
    967     eval enable_$ac_useropt=no ;;
    968 
    969   -docdir | --docdir | --docdi | --doc | --do)
    970     ac_prev=docdir ;;
    971   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    972     docdir=$ac_optarg ;;
    973 
    974   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    975     ac_prev=dvidir ;;
    976   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    977     dvidir=$ac_optarg ;;
    978 
    979   -enable-* | --enable-*)
    980     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    981     # Reject names that are not valid shell variable names.
    982     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    983       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    984     ac_useropt_orig=$ac_useropt
    985     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    986     case $ac_user_opts in
    987       *"
    988 "enable_$ac_useropt"
    989 "*) ;;
    990       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    991 	 ac_unrecognized_sep=', ';;
    992     esac
    993     eval enable_$ac_useropt=\$ac_optarg ;;
    994 
    995   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    996   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    997   | --exec | --exe | --ex)
    998     ac_prev=exec_prefix ;;
    999   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1000   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1001   | --exec=* | --exe=* | --ex=*)
   1002     exec_prefix=$ac_optarg ;;
   1003 
   1004   -gas | --gas | --ga | --g)
   1005     # Obsolete; use --with-gas.
   1006     with_gas=yes ;;
   1007 
   1008   -help | --help | --hel | --he | -h)
   1009     ac_init_help=long ;;
   1010   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1011     ac_init_help=recursive ;;
   1012   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1013     ac_init_help=short ;;
   1014 
   1015   -host | --host | --hos | --ho)
   1016     ac_prev=host_alias ;;
   1017   -host=* | --host=* | --hos=* | --ho=*)
   1018     host_alias=$ac_optarg ;;
   1019 
   1020   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1021     ac_prev=htmldir ;;
   1022   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1023   | --ht=*)
   1024     htmldir=$ac_optarg ;;
   1025 
   1026   -includedir | --includedir | --includedi | --included | --include \
   1027   | --includ | --inclu | --incl | --inc)
   1028     ac_prev=includedir ;;
   1029   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1030   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1031     includedir=$ac_optarg ;;
   1032 
   1033   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1034     ac_prev=infodir ;;
   1035   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1036     infodir=$ac_optarg ;;
   1037 
   1038   -libdir | --libdir | --libdi | --libd)
   1039     ac_prev=libdir ;;
   1040   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1041     libdir=$ac_optarg ;;
   1042 
   1043   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1044   | --libexe | --libex | --libe)
   1045     ac_prev=libexecdir ;;
   1046   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1047   | --libexe=* | --libex=* | --libe=*)
   1048     libexecdir=$ac_optarg ;;
   1049 
   1050   -localedir | --localedir | --localedi | --localed | --locale)
   1051     ac_prev=localedir ;;
   1052   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1053     localedir=$ac_optarg ;;
   1054 
   1055   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1056   | --localstate | --localstat | --localsta | --localst | --locals)
   1057     ac_prev=localstatedir ;;
   1058   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1059   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1060     localstatedir=$ac_optarg ;;
   1061 
   1062   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1063     ac_prev=mandir ;;
   1064   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1065     mandir=$ac_optarg ;;
   1066 
   1067   -nfp | --nfp | --nf)
   1068     # Obsolete; use --without-fp.
   1069     with_fp=no ;;
   1070 
   1071   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1072   | --no-cr | --no-c | -n)
   1073     no_create=yes ;;
   1074 
   1075   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1076   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1077     no_recursion=yes ;;
   1078 
   1079   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1080   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1081   | --oldin | --oldi | --old | --ol | --o)
   1082     ac_prev=oldincludedir ;;
   1083   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1084   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1085   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1086     oldincludedir=$ac_optarg ;;
   1087 
   1088   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1089     ac_prev=prefix ;;
   1090   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1091     prefix=$ac_optarg ;;
   1092 
   1093   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1094   | --program-pre | --program-pr | --program-p)
   1095     ac_prev=program_prefix ;;
   1096   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1097   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1098     program_prefix=$ac_optarg ;;
   1099 
   1100   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1101   | --program-suf | --program-su | --program-s)
   1102     ac_prev=program_suffix ;;
   1103   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1104   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1105     program_suffix=$ac_optarg ;;
   1106 
   1107   -program-transform-name | --program-transform-name \
   1108   | --program-transform-nam | --program-transform-na \
   1109   | --program-transform-n | --program-transform- \
   1110   | --program-transform | --program-transfor \
   1111   | --program-transfo | --program-transf \
   1112   | --program-trans | --program-tran \
   1113   | --progr-tra | --program-tr | --program-t)
   1114     ac_prev=program_transform_name ;;
   1115   -program-transform-name=* | --program-transform-name=* \
   1116   | --program-transform-nam=* | --program-transform-na=* \
   1117   | --program-transform-n=* | --program-transform-=* \
   1118   | --program-transform=* | --program-transfor=* \
   1119   | --program-transfo=* | --program-transf=* \
   1120   | --program-trans=* | --program-tran=* \
   1121   | --progr-tra=* | --program-tr=* | --program-t=*)
   1122     program_transform_name=$ac_optarg ;;
   1123 
   1124   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1125     ac_prev=pdfdir ;;
   1126   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1127     pdfdir=$ac_optarg ;;
   1128 
   1129   -psdir | --psdir | --psdi | --psd | --ps)
   1130     ac_prev=psdir ;;
   1131   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1132     psdir=$ac_optarg ;;
   1133 
   1134   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1135   | -silent | --silent | --silen | --sile | --sil)
   1136     silent=yes ;;
   1137 
   1138   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1139   | --runstate | --runstat | --runsta | --runst | --runs \
   1140   | --run | --ru | --r)
   1141     ac_prev=runstatedir ;;
   1142   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1143   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1144   | --run=* | --ru=* | --r=*)
   1145     runstatedir=$ac_optarg ;;
   1146 
   1147   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1148     ac_prev=sbindir ;;
   1149   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1150   | --sbi=* | --sb=*)
   1151     sbindir=$ac_optarg ;;
   1152 
   1153   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1154   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1155   | --sharedst | --shareds | --shared | --share | --shar \
   1156   | --sha | --sh)
   1157     ac_prev=sharedstatedir ;;
   1158   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1159   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1160   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1161   | --sha=* | --sh=*)
   1162     sharedstatedir=$ac_optarg ;;
   1163 
   1164   -site | --site | --sit)
   1165     ac_prev=site ;;
   1166   -site=* | --site=* | --sit=*)
   1167     site=$ac_optarg ;;
   1168 
   1169   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1170     ac_prev=srcdir ;;
   1171   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1172     srcdir=$ac_optarg ;;
   1173 
   1174   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1175   | --syscon | --sysco | --sysc | --sys | --sy)
   1176     ac_prev=sysconfdir ;;
   1177   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1178   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1179     sysconfdir=$ac_optarg ;;
   1180 
   1181   -target | --target | --targe | --targ | --tar | --ta | --t)
   1182     ac_prev=target_alias ;;
   1183   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1184     target_alias=$ac_optarg ;;
   1185 
   1186   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1187     verbose=yes ;;
   1188 
   1189   -version | --version | --versio | --versi | --vers | -V)
   1190     ac_init_version=: ;;
   1191 
   1192   -with-* | --with-*)
   1193     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1194     # Reject names that are not valid shell variable names.
   1195     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1196       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1197     ac_useropt_orig=$ac_useropt
   1198     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1199     case $ac_user_opts in
   1200       *"
   1201 "with_$ac_useropt"
   1202 "*) ;;
   1203       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1204 	 ac_unrecognized_sep=', ';;
   1205     esac
   1206     eval with_$ac_useropt=\$ac_optarg ;;
   1207 
   1208   -without-* | --without-*)
   1209     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1210     # Reject names that are not valid shell variable names.
   1211     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1212       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1213     ac_useropt_orig=$ac_useropt
   1214     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1215     case $ac_user_opts in
   1216       *"
   1217 "with_$ac_useropt"
   1218 "*) ;;
   1219       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1220 	 ac_unrecognized_sep=', ';;
   1221     esac
   1222     eval with_$ac_useropt=no ;;
   1223 
   1224   --x)
   1225     # Obsolete; use --with-x.
   1226     with_x=yes ;;
   1227 
   1228   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1229   | --x-incl | --x-inc | --x-in | --x-i)
   1230     ac_prev=x_includes ;;
   1231   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1232   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1233     x_includes=$ac_optarg ;;
   1234 
   1235   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1236   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1237     ac_prev=x_libraries ;;
   1238   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1239   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1240     x_libraries=$ac_optarg ;;
   1241 
   1242   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1243 Try \`$0 --help' for more information"
   1244     ;;
   1245 
   1246   *=*)
   1247     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1248     # Reject names that are not valid shell variable names.
   1249     case $ac_envvar in #(
   1250       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1251       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1252     esac
   1253     eval $ac_envvar=\$ac_optarg
   1254     export $ac_envvar ;;
   1255 
   1256   *)
   1257     # FIXME: should be removed in autoconf 3.0.
   1258     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1259     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1260       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1261     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1262     ;;
   1263 
   1264   esac
   1265 done
   1266 
   1267 if test -n "$ac_prev"; then
   1268   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1269   as_fn_error $? "missing argument to $ac_option"
   1270 fi
   1271 
   1272 if test -n "$ac_unrecognized_opts"; then
   1273   case $enable_option_checking in
   1274     no) ;;
   1275     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1276     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1277   esac
   1278 fi
   1279 
   1280 # Check all directory arguments for consistency.
   1281 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1282 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1283 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1284 		libdir localedir mandir runstatedir
   1285 do
   1286   eval ac_val=\$$ac_var
   1287   # Remove trailing slashes.
   1288   case $ac_val in
   1289     */ )
   1290       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1291       eval $ac_var=\$ac_val;;
   1292   esac
   1293   # Be sure to have absolute directory names.
   1294   case $ac_val in
   1295     [\\/$]* | ?:[\\/]* )  continue;;
   1296     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1297   esac
   1298   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1299 done
   1300 
   1301 # There might be people who depend on the old broken behavior: `$host'
   1302 # used to hold the argument of --host etc.
   1303 # FIXME: To remove some day.
   1304 build=$build_alias
   1305 host=$host_alias
   1306 target=$target_alias
   1307 
   1308 # FIXME: To remove some day.
   1309 if test "x$host_alias" != x; then
   1310   if test "x$build_alias" = x; then
   1311     cross_compiling=maybe
   1312   elif test "x$build_alias" != "x$host_alias"; then
   1313     cross_compiling=yes
   1314   fi
   1315 fi
   1316 
   1317 ac_tool_prefix=
   1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1319 
   1320 test "$silent" = yes && exec 6>/dev/null
   1321 
   1322 
   1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1324 ac_ls_di=`ls -di .` &&
   1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1326   as_fn_error $? "working directory cannot be determined"
   1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1328   as_fn_error $? "pwd does not report name of working directory"
   1329 
   1330 
   1331 # Find the source files, if location was not specified.
   1332 if test -z "$srcdir"; then
   1333   ac_srcdir_defaulted=yes
   1334   # Try the directory containing this script, then the parent directory.
   1335   ac_confdir=`$as_dirname -- "$as_myself" ||
   1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1337 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1338 	 X"$as_myself" : 'X\(//\)$' \| \
   1339 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1340 printf "%s\n" X"$as_myself" |
   1341     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1342 	    s//\1/
   1343 	    q
   1344 	  }
   1345 	  /^X\(\/\/\)[^/].*/{
   1346 	    s//\1/
   1347 	    q
   1348 	  }
   1349 	  /^X\(\/\/\)$/{
   1350 	    s//\1/
   1351 	    q
   1352 	  }
   1353 	  /^X\(\/\).*/{
   1354 	    s//\1/
   1355 	    q
   1356 	  }
   1357 	  s/.*/./; q'`
   1358   srcdir=$ac_confdir
   1359   if test ! -r "$srcdir/$ac_unique_file"; then
   1360     srcdir=..
   1361   fi
   1362 else
   1363   ac_srcdir_defaulted=no
   1364 fi
   1365 if test ! -r "$srcdir/$ac_unique_file"; then
   1366   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1367   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1368 fi
   1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1370 ac_abs_confdir=`(
   1371 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1372 	pwd)`
   1373 # When building in place, set srcdir=.
   1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1375   srcdir=.
   1376 fi
   1377 # Remove unnecessary trailing slashes from srcdir.
   1378 # Double slashes in file names in object file debugging info
   1379 # mess up M-x gdb in Emacs.
   1380 case $srcdir in
   1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1382 esac
   1383 for ac_var in $ac_precious_vars; do
   1384   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1385   eval ac_env_${ac_var}_value=\$${ac_var}
   1386   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1387   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1388 done
   1389 
   1390 #
   1391 # Report the --help message.
   1392 #
   1393 if test "$ac_init_help" = "long"; then
   1394   # Omit some internal or obsolete options to make the list less imposing.
   1395   # This message is too long to be a string in the A/UX 3.1 sh.
   1396   cat <<_ACEOF
   1397 \`configure' configures libXpm 3.5.14 to adapt to many kinds of systems.
   1398 
   1399 Usage: $0 [OPTION]... [VAR=VALUE]...
   1400 
   1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1402 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1403 
   1404 Defaults for the options are specified in brackets.
   1405 
   1406 Configuration:
   1407   -h, --help              display this help and exit
   1408       --help=short        display options specific to this package
   1409       --help=recursive    display the short help of all the included packages
   1410   -V, --version           display version information and exit
   1411   -q, --quiet, --silent   do not print \`checking ...' messages
   1412       --cache-file=FILE   cache test results in FILE [disabled]
   1413   -C, --config-cache      alias for \`--cache-file=config.cache'
   1414   -n, --no-create         do not create output files
   1415       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1416 
   1417 Installation directories:
   1418   --prefix=PREFIX         install architecture-independent files in PREFIX
   1419                           [$ac_default_prefix]
   1420   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1421                           [PREFIX]
   1422 
   1423 By default, \`make install' will install all the files in
   1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1426 for instance \`--prefix=\$HOME'.
   1427 
   1428 For better control, use the options below.
   1429 
   1430 Fine tuning of the installation directories:
   1431   --bindir=DIR            user executables [EPREFIX/bin]
   1432   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1433   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1434   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1435   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1436   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1437   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1438   --libdir=DIR            object code libraries [EPREFIX/lib]
   1439   --includedir=DIR        C header files [PREFIX/include]
   1440   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1441   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1442   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1443   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1444   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1445   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1446   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXpm]
   1447   --htmldir=DIR           html documentation [DOCDIR]
   1448   --dvidir=DIR            dvi documentation [DOCDIR]
   1449   --pdfdir=DIR            pdf documentation [DOCDIR]
   1450   --psdir=DIR             ps documentation [DOCDIR]
   1451 _ACEOF
   1452 
   1453   cat <<\_ACEOF
   1454 
   1455 Program names:
   1456   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1457   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1458   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1459 
   1460 System types:
   1461   --build=BUILD     configure for building on BUILD [guessed]
   1462   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1463 _ACEOF
   1464 fi
   1465 
   1466 if test -n "$ac_init_help"; then
   1467   case $ac_init_help in
   1468      short | recursive ) echo "Configuration of libXpm 3.5.14:";;
   1469    esac
   1470   cat <<\_ACEOF
   1471 
   1472 Optional Features:
   1473   --disable-option-checking  ignore unrecognized --enable/--with options
   1474   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1475   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1476   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1477   --disable-silent-rules  verbose build output (undo: "make V=0")
   1478   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1479   --enable-static[=PKGS]  build static libraries [default=yes]
   1480   --enable-fast-install[=PKGS]
   1481                           optimize for fast installation [default=yes]
   1482   --enable-dependency-tracking
   1483                           do not reject slow dependency extractors
   1484   --disable-dependency-tracking
   1485                           speeds up one-time build
   1486   --disable-libtool-lock  avoid locking (might break parallel builds)
   1487   --disable-selective-werror
   1488                           Turn off selective compiler errors. (default:
   1489                           enabled)
   1490   --enable-strict-compilation
   1491                           Enable all warnings from compiler and make them
   1492                           errors (default: disabled)
   1493   --enable-stat-zfile     Search for files with .Z & .gz extensions
   1494                           automatically [default=yes]
   1495 
   1496 Optional Packages:
   1497   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1498   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1499   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1500                           both]
   1501   --with-aix-soname=aix|svr4|both
   1502                           shared library versioning (aka "SONAME") variant to
   1503                           provide on AIX, [default=aix].
   1504   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1505   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1506                           compiler's sysroot if not specified).
   1507   --with-localedir=<path> Path to install message files in (default:
   1508                           datadir/locale)
   1509 
   1510 Some influential environment variables:
   1511   CC          C compiler command
   1512   CFLAGS      C compiler flags
   1513   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1514               nonstandard directory <lib dir>
   1515   LIBS        libraries to pass to the linker, e.g. -l<library>
   1516   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1517               you have headers in a nonstandard directory <include dir>
   1518   LT_SYS_LIBRARY_PATH
   1519               User-defined run-time library search path.
   1520   PKG_CONFIG  path to pkg-config utility
   1521   PKG_CONFIG_PATH
   1522               directories to add to pkg-config's search path
   1523   PKG_CONFIG_LIBDIR
   1524               path overriding pkg-config's built-in search path
   1525   XPM_CFLAGS  C compiler flags for XPM, overriding pkg-config
   1526   XPM_LIBS    linker flags for XPM, overriding pkg-config
   1527   SXPM_CFLAGS C compiler flags for SXPM, overriding pkg-config
   1528   SXPM_LIBS   linker flags for SXPM, overriding pkg-config
   1529 
   1530 Use these variables to override the choices made by `configure' or to help
   1531 it to find libraries and programs with nonstandard names/locations.
   1532 
   1533 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues>.
   1534 _ACEOF
   1535 ac_status=$?
   1536 fi
   1537 
   1538 if test "$ac_init_help" = "recursive"; then
   1539   # If there are subdirs, report their specific --help.
   1540   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1541     test -d "$ac_dir" ||
   1542       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1543       continue
   1544     ac_builddir=.
   1545 
   1546 case "$ac_dir" in
   1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1548 *)
   1549   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1550   # A ".." for each directory in $ac_dir_suffix.
   1551   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1552   case $ac_top_builddir_sub in
   1553   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1554   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1555   esac ;;
   1556 esac
   1557 ac_abs_top_builddir=$ac_pwd
   1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1559 # for backward compatibility:
   1560 ac_top_builddir=$ac_top_build_prefix
   1561 
   1562 case $srcdir in
   1563   .)  # We are building in place.
   1564     ac_srcdir=.
   1565     ac_top_srcdir=$ac_top_builddir_sub
   1566     ac_abs_top_srcdir=$ac_pwd ;;
   1567   [\\/]* | ?:[\\/]* )  # Absolute name.
   1568     ac_srcdir=$srcdir$ac_dir_suffix;
   1569     ac_top_srcdir=$srcdir
   1570     ac_abs_top_srcdir=$srcdir ;;
   1571   *) # Relative name.
   1572     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1573     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1574     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1575 esac
   1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1577 
   1578     cd "$ac_dir" || { ac_status=$?; continue; }
   1579     # Check for configure.gnu first; this name is used for a wrapper for
   1580     # Metaconfig's "Configure" on case-insensitive file systems.
   1581     if test -f "$ac_srcdir/configure.gnu"; then
   1582       echo &&
   1583       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1584     elif test -f "$ac_srcdir/configure"; then
   1585       echo &&
   1586       $SHELL "$ac_srcdir/configure" --help=recursive
   1587     else
   1588       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1589     fi || ac_status=$?
   1590     cd "$ac_pwd" || { ac_status=$?; break; }
   1591   done
   1592 fi
   1593 
   1594 test -n "$ac_init_help" && exit $ac_status
   1595 if $ac_init_version; then
   1596   cat <<\_ACEOF
   1597 libXpm configure 3.5.14
   1598 generated by GNU Autoconf 2.71
   1599 
   1600 Copyright (C) 2021 Free Software Foundation, Inc.
   1601 This configure script is free software; the Free Software Foundation
   1602 gives unlimited permission to copy, distribute and modify it.
   1603 _ACEOF
   1604   exit
   1605 fi
   1606 
   1607 ## ------------------------ ##
   1608 ## Autoconf initialization. ##
   1609 ## ------------------------ ##
   1610 
   1611 # ac_fn_c_try_compile LINENO
   1612 # --------------------------
   1613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1614 ac_fn_c_try_compile ()
   1615 {
   1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1617   rm -f conftest.$ac_objext conftest.beam
   1618   if { { ac_try="$ac_compile"
   1619 case "(($ac_try" in
   1620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1621   *) ac_try_echo=$ac_try;;
   1622 esac
   1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1624 printf "%s\n" "$ac_try_echo"; } >&5
   1625   (eval "$ac_compile") 2>conftest.err
   1626   ac_status=$?
   1627   if test -s conftest.err; then
   1628     grep -v '^ *+' conftest.err >conftest.er1
   1629     cat conftest.er1 >&5
   1630     mv -f conftest.er1 conftest.err
   1631   fi
   1632   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1633   test $ac_status = 0; } && {
   1634 	 test -z "$ac_c_werror_flag" ||
   1635 	 test ! -s conftest.err
   1636        } && test -s conftest.$ac_objext
   1637 then :
   1638   ac_retval=0
   1639 else $as_nop
   1640   printf "%s\n" "$as_me: failed program was:" >&5
   1641 sed 's/^/| /' conftest.$ac_ext >&5
   1642 
   1643 	ac_retval=1
   1644 fi
   1645   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1646   as_fn_set_status $ac_retval
   1647 
   1648 } # ac_fn_c_try_compile
   1649 
   1650 # ac_fn_c_try_link LINENO
   1651 # -----------------------
   1652 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1653 ac_fn_c_try_link ()
   1654 {
   1655   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1656   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1657   if { { ac_try="$ac_link"
   1658 case "(($ac_try" in
   1659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1660   *) ac_try_echo=$ac_try;;
   1661 esac
   1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1663 printf "%s\n" "$ac_try_echo"; } >&5
   1664   (eval "$ac_link") 2>conftest.err
   1665   ac_status=$?
   1666   if test -s conftest.err; then
   1667     grep -v '^ *+' conftest.err >conftest.er1
   1668     cat conftest.er1 >&5
   1669     mv -f conftest.er1 conftest.err
   1670   fi
   1671   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1672   test $ac_status = 0; } && {
   1673 	 test -z "$ac_c_werror_flag" ||
   1674 	 test ! -s conftest.err
   1675        } && test -s conftest$ac_exeext && {
   1676 	 test "$cross_compiling" = yes ||
   1677 	 test -x conftest$ac_exeext
   1678        }
   1679 then :
   1680   ac_retval=0
   1681 else $as_nop
   1682   printf "%s\n" "$as_me: failed program was:" >&5
   1683 sed 's/^/| /' conftest.$ac_ext >&5
   1684 
   1685 	ac_retval=1
   1686 fi
   1687   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1688   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1689   # interfere with the next link command; also delete a directory that is
   1690   # left behind by Apple's compiler.  We do this before executing the actions.
   1691   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1692   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1693   as_fn_set_status $ac_retval
   1694 
   1695 } # ac_fn_c_try_link
   1696 
   1697 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1698 # -------------------------------------------------------
   1699 # Tests whether HEADER exists and can be compiled using the include files in
   1700 # INCLUDES, setting the cache variable VAR accordingly.
   1701 ac_fn_c_check_header_compile ()
   1702 {
   1703   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1705 printf %s "checking for $2... " >&6; }
   1706 if eval test \${$3+y}
   1707 then :
   1708   printf %s "(cached) " >&6
   1709 else $as_nop
   1710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1711 /* end confdefs.h.  */
   1712 $4
   1713 #include <$2>
   1714 _ACEOF
   1715 if ac_fn_c_try_compile "$LINENO"
   1716 then :
   1717   eval "$3=yes"
   1718 else $as_nop
   1719   eval "$3=no"
   1720 fi
   1721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1722 fi
   1723 eval ac_res=\$$3
   1724 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1725 printf "%s\n" "$ac_res" >&6; }
   1726   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1727 
   1728 } # ac_fn_c_check_header_compile
   1729 
   1730 # ac_fn_c_check_func LINENO FUNC VAR
   1731 # ----------------------------------
   1732 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1733 ac_fn_c_check_func ()
   1734 {
   1735   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1737 printf %s "checking for $2... " >&6; }
   1738 if eval test \${$3+y}
   1739 then :
   1740   printf %s "(cached) " >&6
   1741 else $as_nop
   1742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1743 /* end confdefs.h.  */
   1744 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1745    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1746 #define $2 innocuous_$2
   1747 
   1748 /* System header to define __stub macros and hopefully few prototypes,
   1749    which can conflict with char $2 (); below.  */
   1750 
   1751 #include <limits.h>
   1752 #undef $2
   1753 
   1754 /* Override any GCC internal prototype to avoid an error.
   1755    Use char because int might match the return type of a GCC
   1756    builtin and then its argument prototype would still apply.  */
   1757 #ifdef __cplusplus
   1758 extern "C"
   1759 #endif
   1760 char $2 ();
   1761 /* The GNU C library defines this for functions which it implements
   1762     to always fail with ENOSYS.  Some functions are actually named
   1763     something starting with __ and the normal name is an alias.  */
   1764 #if defined __stub_$2 || defined __stub___$2
   1765 choke me
   1766 #endif
   1767 
   1768 int
   1769 main (void)
   1770 {
   1771 return $2 ();
   1772   ;
   1773   return 0;
   1774 }
   1775 _ACEOF
   1776 if ac_fn_c_try_link "$LINENO"
   1777 then :
   1778   eval "$3=yes"
   1779 else $as_nop
   1780   eval "$3=no"
   1781 fi
   1782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1783     conftest$ac_exeext conftest.$ac_ext
   1784 fi
   1785 eval ac_res=\$$3
   1786 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1787 printf "%s\n" "$ac_res" >&6; }
   1788   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1789 
   1790 } # ac_fn_c_check_func
   1791 
   1792 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1793 # ------------------------------------------------------------------
   1794 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1795 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1796 ac_fn_check_decl ()
   1797 {
   1798   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1799   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1800   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1801 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1802 if eval test \${$3+y}
   1803 then :
   1804   printf %s "(cached) " >&6
   1805 else $as_nop
   1806   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1807   eval ac_save_FLAGS=\$$6
   1808   as_fn_append $6 " $5"
   1809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1810 /* end confdefs.h.  */
   1811 $4
   1812 int
   1813 main (void)
   1814 {
   1815 #ifndef $as_decl_name
   1816 #ifdef __cplusplus
   1817   (void) $as_decl_use;
   1818 #else
   1819   (void) $as_decl_name;
   1820 #endif
   1821 #endif
   1822 
   1823   ;
   1824   return 0;
   1825 }
   1826 _ACEOF
   1827 if ac_fn_c_try_compile "$LINENO"
   1828 then :
   1829   eval "$3=yes"
   1830 else $as_nop
   1831   eval "$3=no"
   1832 fi
   1833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1834   eval $6=\$ac_save_FLAGS
   1835 
   1836 fi
   1837 eval ac_res=\$$3
   1838 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1839 printf "%s\n" "$ac_res" >&6; }
   1840   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1841 
   1842 } # ac_fn_check_decl
   1843 ac_configure_args_raw=
   1844 for ac_arg
   1845 do
   1846   case $ac_arg in
   1847   *\'*)
   1848     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1849   esac
   1850   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1851 done
   1852 
   1853 case $ac_configure_args_raw in
   1854   *$as_nl*)
   1855     ac_safe_unquote= ;;
   1856   *)
   1857     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1858     ac_unsafe_a="$ac_unsafe_z#~"
   1859     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1860     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1861 esac
   1862 
   1863 cat >config.log <<_ACEOF
   1864 This file contains any messages produced by compilers while
   1865 running configure, to aid debugging if configure makes a mistake.
   1866 
   1867 It was created by libXpm $as_me 3.5.14, which was
   1868 generated by GNU Autoconf 2.71.  Invocation command line was
   1869 
   1870   $ $0$ac_configure_args_raw
   1871 
   1872 _ACEOF
   1873 exec 5>>config.log
   1874 {
   1875 cat <<_ASUNAME
   1876 ## --------- ##
   1877 ## Platform. ##
   1878 ## --------- ##
   1879 
   1880 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1881 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1882 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1883 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1884 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1885 
   1886 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1887 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1888 
   1889 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1890 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1891 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1892 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1893 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1894 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1895 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1896 
   1897 _ASUNAME
   1898 
   1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1900 for as_dir in $PATH
   1901 do
   1902   IFS=$as_save_IFS
   1903   case $as_dir in #(((
   1904     '') as_dir=./ ;;
   1905     */) ;;
   1906     *) as_dir=$as_dir/ ;;
   1907   esac
   1908     printf "%s\n" "PATH: $as_dir"
   1909   done
   1910 IFS=$as_save_IFS
   1911 
   1912 } >&5
   1913 
   1914 cat >&5 <<_ACEOF
   1915 
   1916 
   1917 ## ----------- ##
   1918 ## Core tests. ##
   1919 ## ----------- ##
   1920 
   1921 _ACEOF
   1922 
   1923 
   1924 # Keep a trace of the command line.
   1925 # Strip out --no-create and --no-recursion so they do not pile up.
   1926 # Strip out --silent because we don't want to record it for future runs.
   1927 # Also quote any args containing shell meta-characters.
   1928 # Make two passes to allow for proper duplicate-argument suppression.
   1929 ac_configure_args=
   1930 ac_configure_args0=
   1931 ac_configure_args1=
   1932 ac_must_keep_next=false
   1933 for ac_pass in 1 2
   1934 do
   1935   for ac_arg
   1936   do
   1937     case $ac_arg in
   1938     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1939     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1940     | -silent | --silent | --silen | --sile | --sil)
   1941       continue ;;
   1942     *\'*)
   1943       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1944     esac
   1945     case $ac_pass in
   1946     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1947     2)
   1948       as_fn_append ac_configure_args1 " '$ac_arg'"
   1949       if test $ac_must_keep_next = true; then
   1950 	ac_must_keep_next=false # Got value, back to normal.
   1951       else
   1952 	case $ac_arg in
   1953 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1954 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1955 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1956 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1957 	    case "$ac_configure_args0 " in
   1958 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1959 	    esac
   1960 	    ;;
   1961 	  -* ) ac_must_keep_next=true ;;
   1962 	esac
   1963       fi
   1964       as_fn_append ac_configure_args " '$ac_arg'"
   1965       ;;
   1966     esac
   1967   done
   1968 done
   1969 { ac_configure_args0=; unset ac_configure_args0;}
   1970 { ac_configure_args1=; unset ac_configure_args1;}
   1971 
   1972 # When interrupted or exit'd, cleanup temporary files, and complete
   1973 # config.log.  We remove comments because anyway the quotes in there
   1974 # would cause problems or look ugly.
   1975 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1976 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1977 trap 'exit_status=$?
   1978   # Sanitize IFS.
   1979   IFS=" ""	$as_nl"
   1980   # Save into config.log some information that might help in debugging.
   1981   {
   1982     echo
   1983 
   1984     printf "%s\n" "## ---------------- ##
   1985 ## Cache variables. ##
   1986 ## ---------------- ##"
   1987     echo
   1988     # The following way of writing the cache mishandles newlines in values,
   1989 (
   1990   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1991     eval ac_val=\$$ac_var
   1992     case $ac_val in #(
   1993     *${as_nl}*)
   1994       case $ac_var in #(
   1995       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1996 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1997       esac
   1998       case $ac_var in #(
   1999       _ | IFS | as_nl) ;; #(
   2000       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2001       *) { eval $ac_var=; unset $ac_var;} ;;
   2002       esac ;;
   2003     esac
   2004   done
   2005   (set) 2>&1 |
   2006     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2007     *${as_nl}ac_space=\ *)
   2008       sed -n \
   2009 	"s/'\''/'\''\\\\'\'''\''/g;
   2010 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2011       ;; #(
   2012     *)
   2013       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2014       ;;
   2015     esac |
   2016     sort
   2017 )
   2018     echo
   2019 
   2020     printf "%s\n" "## ----------------- ##
   2021 ## Output variables. ##
   2022 ## ----------------- ##"
   2023     echo
   2024     for ac_var in $ac_subst_vars
   2025     do
   2026       eval ac_val=\$$ac_var
   2027       case $ac_val in
   2028       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2029       esac
   2030       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2031     done | sort
   2032     echo
   2033 
   2034     if test -n "$ac_subst_files"; then
   2035       printf "%s\n" "## ------------------- ##
   2036 ## File substitutions. ##
   2037 ## ------------------- ##"
   2038       echo
   2039       for ac_var in $ac_subst_files
   2040       do
   2041 	eval ac_val=\$$ac_var
   2042 	case $ac_val in
   2043 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2044 	esac
   2045 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2046       done | sort
   2047       echo
   2048     fi
   2049 
   2050     if test -s confdefs.h; then
   2051       printf "%s\n" "## ----------- ##
   2052 ## confdefs.h. ##
   2053 ## ----------- ##"
   2054       echo
   2055       cat confdefs.h
   2056       echo
   2057     fi
   2058     test "$ac_signal" != 0 &&
   2059       printf "%s\n" "$as_me: caught signal $ac_signal"
   2060     printf "%s\n" "$as_me: exit $exit_status"
   2061   } >&5
   2062   rm -f core *.core core.conftest.* &&
   2063     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2064     exit $exit_status
   2065 ' 0
   2066 for ac_signal in 1 2 13 15; do
   2067   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2068 done
   2069 ac_signal=0
   2070 
   2071 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2072 rm -f -r conftest* confdefs.h
   2073 
   2074 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2075 
   2076 # Predefined preprocessor variables.
   2077 
   2078 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2079 
   2080 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2081 
   2082 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2083 
   2084 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2085 
   2086 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2087 
   2088 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2089 
   2090 
   2091 # Let the site file select an alternate cache file if it wants to.
   2092 # Prefer an explicitly selected file to automatically selected ones.
   2093 if test -n "$CONFIG_SITE"; then
   2094   ac_site_files="$CONFIG_SITE"
   2095 elif test "x$prefix" != xNONE; then
   2096   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2097 else
   2098   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2099 fi
   2100 
   2101 for ac_site_file in $ac_site_files
   2102 do
   2103   case $ac_site_file in #(
   2104   */*) :
   2105      ;; #(
   2106   *) :
   2107     ac_site_file=./$ac_site_file ;;
   2108 esac
   2109   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2110     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2111 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2112     sed 's/^/| /' "$ac_site_file" >&5
   2113     . "$ac_site_file" \
   2114       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2115 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2116 as_fn_error $? "failed to load site script $ac_site_file
   2117 See \`config.log' for more details" "$LINENO" 5; }
   2118   fi
   2119 done
   2120 
   2121 if test -r "$cache_file"; then
   2122   # Some versions of bash will fail to source /dev/null (special files
   2123   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2124   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2125     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2126 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2127     case $cache_file in
   2128       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2129       *)                      . "./$cache_file";;
   2130     esac
   2131   fi
   2132 else
   2133   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2134 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2135   >$cache_file
   2136 fi
   2137 
   2138 # Test code for whether the C compiler supports C89 (global declarations)
   2139 ac_c_conftest_c89_globals='
   2140 /* Does the compiler advertise C89 conformance?
   2141    Do not test the value of __STDC__, because some compilers set it to 0
   2142    while being otherwise adequately conformant. */
   2143 #if !defined __STDC__
   2144 # error "Compiler does not advertise C89 conformance"
   2145 #endif
   2146 
   2147 #include <stddef.h>
   2148 #include <stdarg.h>
   2149 struct stat;
   2150 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2151 struct buf { int x; };
   2152 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2153 static char *e (p, i)
   2154      char **p;
   2155      int i;
   2156 {
   2157   return p[i];
   2158 }
   2159 static char *f (char * (*g) (char **, int), char **p, ...)
   2160 {
   2161   char *s;
   2162   va_list v;
   2163   va_start (v,p);
   2164   s = g (p, va_arg (v,int));
   2165   va_end (v);
   2166   return s;
   2167 }
   2168 
   2169 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2170    function prototypes and stuff, but not \xHH hex character constants.
   2171    These do not provoke an error unfortunately, instead are silently treated
   2172    as an "x".  The following induces an error, until -std is added to get
   2173    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2174    array size at least.  It is necessary to write \x00 == 0 to get something
   2175    that is true only with -std.  */
   2176 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2177 
   2178 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2179    inside strings and character constants.  */
   2180 #define FOO(x) '\''x'\''
   2181 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2182 
   2183 int test (int i, double x);
   2184 struct s1 {int (*f) (int a);};
   2185 struct s2 {int (*f) (double a);};
   2186 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2187                int, int);'
   2188 
   2189 # Test code for whether the C compiler supports C89 (body of main).
   2190 ac_c_conftest_c89_main='
   2191 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2192 '
   2193 
   2194 # Test code for whether the C compiler supports C99 (global declarations)
   2195 ac_c_conftest_c99_globals='
   2196 // Does the compiler advertise C99 conformance?
   2197 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2198 # error "Compiler does not advertise C99 conformance"
   2199 #endif
   2200 
   2201 #include <stdbool.h>
   2202 extern int puts (const char *);
   2203 extern int printf (const char *, ...);
   2204 extern int dprintf (int, const char *, ...);
   2205 extern void *malloc (size_t);
   2206 
   2207 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2208 // dprintf is used instead of fprintf to avoid needing to declare
   2209 // FILE and stderr.
   2210 #define debug(...) dprintf (2, __VA_ARGS__)
   2211 #define showlist(...) puts (#__VA_ARGS__)
   2212 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2213 static void
   2214 test_varargs_macros (void)
   2215 {
   2216   int x = 1234;
   2217   int y = 5678;
   2218   debug ("Flag");
   2219   debug ("X = %d\n", x);
   2220   showlist (The first, second, and third items.);
   2221   report (x>y, "x is %d but y is %d", x, y);
   2222 }
   2223 
   2224 // Check long long types.
   2225 #define BIG64 18446744073709551615ull
   2226 #define BIG32 4294967295ul
   2227 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2228 #if !BIG_OK
   2229   #error "your preprocessor is broken"
   2230 #endif
   2231 #if BIG_OK
   2232 #else
   2233   #error "your preprocessor is broken"
   2234 #endif
   2235 static long long int bignum = -9223372036854775807LL;
   2236 static unsigned long long int ubignum = BIG64;
   2237 
   2238 struct incomplete_array
   2239 {
   2240   int datasize;
   2241   double data[];
   2242 };
   2243 
   2244 struct named_init {
   2245   int number;
   2246   const wchar_t *name;
   2247   double average;
   2248 };
   2249 
   2250 typedef const char *ccp;
   2251 
   2252 static inline int
   2253 test_restrict (ccp restrict text)
   2254 {
   2255   // See if C++-style comments work.
   2256   // Iterate through items via the restricted pointer.
   2257   // Also check for declarations in for loops.
   2258   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2259     continue;
   2260   return 0;
   2261 }
   2262 
   2263 // Check varargs and va_copy.
   2264 static bool
   2265 test_varargs (const char *format, ...)
   2266 {
   2267   va_list args;
   2268   va_start (args, format);
   2269   va_list args_copy;
   2270   va_copy (args_copy, args);
   2271 
   2272   const char *str = "";
   2273   int number = 0;
   2274   float fnumber = 0;
   2275 
   2276   while (*format)
   2277     {
   2278       switch (*format++)
   2279 	{
   2280 	case '\''s'\'': // string
   2281 	  str = va_arg (args_copy, const char *);
   2282 	  break;
   2283 	case '\''d'\'': // int
   2284 	  number = va_arg (args_copy, int);
   2285 	  break;
   2286 	case '\''f'\'': // float
   2287 	  fnumber = va_arg (args_copy, double);
   2288 	  break;
   2289 	default:
   2290 	  break;
   2291 	}
   2292     }
   2293   va_end (args_copy);
   2294   va_end (args);
   2295 
   2296   return *str && number && fnumber;
   2297 }
   2298 '
   2299 
   2300 # Test code for whether the C compiler supports C99 (body of main).
   2301 ac_c_conftest_c99_main='
   2302   // Check bool.
   2303   _Bool success = false;
   2304   success |= (argc != 0);
   2305 
   2306   // Check restrict.
   2307   if (test_restrict ("String literal") == 0)
   2308     success = true;
   2309   char *restrict newvar = "Another string";
   2310 
   2311   // Check varargs.
   2312   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2313   test_varargs_macros ();
   2314 
   2315   // Check flexible array members.
   2316   struct incomplete_array *ia =
   2317     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2318   ia->datasize = 10;
   2319   for (int i = 0; i < ia->datasize; ++i)
   2320     ia->data[i] = i * 1.234;
   2321 
   2322   // Check named initializers.
   2323   struct named_init ni = {
   2324     .number = 34,
   2325     .name = L"Test wide string",
   2326     .average = 543.34343,
   2327   };
   2328 
   2329   ni.number = 58;
   2330 
   2331   int dynamic_array[ni.number];
   2332   dynamic_array[0] = argv[0][0];
   2333   dynamic_array[ni.number - 1] = 543;
   2334 
   2335   // work around unused variable warnings
   2336   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2337 	 || dynamic_array[ni.number - 1] != 543);
   2338 '
   2339 
   2340 # Test code for whether the C compiler supports C11 (global declarations)
   2341 ac_c_conftest_c11_globals='
   2342 // Does the compiler advertise C11 conformance?
   2343 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2344 # error "Compiler does not advertise C11 conformance"
   2345 #endif
   2346 
   2347 // Check _Alignas.
   2348 char _Alignas (double) aligned_as_double;
   2349 char _Alignas (0) no_special_alignment;
   2350 extern char aligned_as_int;
   2351 char _Alignas (0) _Alignas (int) aligned_as_int;
   2352 
   2353 // Check _Alignof.
   2354 enum
   2355 {
   2356   int_alignment = _Alignof (int),
   2357   int_array_alignment = _Alignof (int[100]),
   2358   char_alignment = _Alignof (char)
   2359 };
   2360 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2361 
   2362 // Check _Noreturn.
   2363 int _Noreturn does_not_return (void) { for (;;) continue; }
   2364 
   2365 // Check _Static_assert.
   2366 struct test_static_assert
   2367 {
   2368   int x;
   2369   _Static_assert (sizeof (int) <= sizeof (long int),
   2370                   "_Static_assert does not work in struct");
   2371   long int y;
   2372 };
   2373 
   2374 // Check UTF-8 literals.
   2375 #define u8 syntax error!
   2376 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2377 
   2378 // Check duplicate typedefs.
   2379 typedef long *long_ptr;
   2380 typedef long int *long_ptr;
   2381 typedef long_ptr long_ptr;
   2382 
   2383 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2384 struct anonymous
   2385 {
   2386   union {
   2387     struct { int i; int j; };
   2388     struct { int k; long int l; } w;
   2389   };
   2390   int m;
   2391 } v1;
   2392 '
   2393 
   2394 # Test code for whether the C compiler supports C11 (body of main).
   2395 ac_c_conftest_c11_main='
   2396   _Static_assert ((offsetof (struct anonymous, i)
   2397 		   == offsetof (struct anonymous, w.k)),
   2398 		  "Anonymous union alignment botch");
   2399   v1.i = 2;
   2400   v1.w.k = 5;
   2401   ok |= v1.i != 5;
   2402 '
   2403 
   2404 # Test code for whether the C compiler supports C11 (complete).
   2405 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2406 ${ac_c_conftest_c99_globals}
   2407 ${ac_c_conftest_c11_globals}
   2408 
   2409 int
   2410 main (int argc, char **argv)
   2411 {
   2412   int ok = 0;
   2413   ${ac_c_conftest_c89_main}
   2414   ${ac_c_conftest_c99_main}
   2415   ${ac_c_conftest_c11_main}
   2416   return ok;
   2417 }
   2418 "
   2419 
   2420 # Test code for whether the C compiler supports C99 (complete).
   2421 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2422 ${ac_c_conftest_c99_globals}
   2423 
   2424 int
   2425 main (int argc, char **argv)
   2426 {
   2427   int ok = 0;
   2428   ${ac_c_conftest_c89_main}
   2429   ${ac_c_conftest_c99_main}
   2430   return ok;
   2431 }
   2432 "
   2433 
   2434 # Test code for whether the C compiler supports C89 (complete).
   2435 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2436 
   2437 int
   2438 main (int argc, char **argv)
   2439 {
   2440   int ok = 0;
   2441   ${ac_c_conftest_c89_main}
   2442   return ok;
   2443 }
   2444 "
   2445 
   2446 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2447 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2448 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2449 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2450 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2451 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2452 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2453 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2454 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2455 
   2456 # Auxiliary files required by this configure script.
   2457 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2458 
   2459 # Locations in which to look for auxiliary files.
   2460 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2461 
   2462 # Search for a directory containing all of the required auxiliary files,
   2463 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2464 # If we don't find one directory that contains all the files we need,
   2465 # we report the set of missing files from the *first* directory in
   2466 # $ac_aux_dir_candidates and give up.
   2467 ac_missing_aux_files=""
   2468 ac_first_candidate=:
   2469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2471 as_found=false
   2472 for as_dir in $ac_aux_dir_candidates
   2473 do
   2474   IFS=$as_save_IFS
   2475   case $as_dir in #(((
   2476     '') as_dir=./ ;;
   2477     */) ;;
   2478     *) as_dir=$as_dir/ ;;
   2479   esac
   2480   as_found=:
   2481 
   2482   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2483   ac_aux_dir_found=yes
   2484   ac_install_sh=
   2485   for ac_aux in $ac_aux_files
   2486   do
   2487     # As a special case, if "install-sh" is required, that requirement
   2488     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2489     # and $ac_install_sh is set appropriately for whichever one is found.
   2490     if test x"$ac_aux" = x"install-sh"
   2491     then
   2492       if test -f "${as_dir}install-sh"; then
   2493         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2494         ac_install_sh="${as_dir}install-sh -c"
   2495       elif test -f "${as_dir}install.sh"; then
   2496         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2497         ac_install_sh="${as_dir}install.sh -c"
   2498       elif test -f "${as_dir}shtool"; then
   2499         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2500         ac_install_sh="${as_dir}shtool install -c"
   2501       else
   2502         ac_aux_dir_found=no
   2503         if $ac_first_candidate; then
   2504           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2505         else
   2506           break
   2507         fi
   2508       fi
   2509     else
   2510       if test -f "${as_dir}${ac_aux}"; then
   2511         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2512       else
   2513         ac_aux_dir_found=no
   2514         if $ac_first_candidate; then
   2515           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2516         else
   2517           break
   2518         fi
   2519       fi
   2520     fi
   2521   done
   2522   if test "$ac_aux_dir_found" = yes; then
   2523     ac_aux_dir="$as_dir"
   2524     break
   2525   fi
   2526   ac_first_candidate=false
   2527 
   2528   as_found=false
   2529 done
   2530 IFS=$as_save_IFS
   2531 if $as_found
   2532 then :
   2533 
   2534 else $as_nop
   2535   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2536 fi
   2537 
   2538 
   2539 # These three variables are undocumented and unsupported,
   2540 # and are intended to be withdrawn in a future Autoconf release.
   2541 # They can cause serious problems if a builder's source tree is in a directory
   2542 # whose full name contains unusual characters.
   2543 if test -f "${ac_aux_dir}config.guess"; then
   2544   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2545 fi
   2546 if test -f "${ac_aux_dir}config.sub"; then
   2547   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2548 fi
   2549 if test -f "$ac_aux_dir/configure"; then
   2550   ac_configure="$SHELL ${ac_aux_dir}configure"
   2551 fi
   2552 
   2553 # Check that the precious variables saved in the cache have kept the same
   2554 # value.
   2555 ac_cache_corrupted=false
   2556 for ac_var in $ac_precious_vars; do
   2557   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2558   eval ac_new_set=\$ac_env_${ac_var}_set
   2559   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2560   eval ac_new_val=\$ac_env_${ac_var}_value
   2561   case $ac_old_set,$ac_new_set in
   2562     set,)
   2563       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2564 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2565       ac_cache_corrupted=: ;;
   2566     ,set)
   2567       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2568 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2569       ac_cache_corrupted=: ;;
   2570     ,);;
   2571     *)
   2572       if test "x$ac_old_val" != "x$ac_new_val"; then
   2573 	# differences in whitespace do not lead to failure.
   2574 	ac_old_val_w=`echo x $ac_old_val`
   2575 	ac_new_val_w=`echo x $ac_new_val`
   2576 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2577 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2578 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2579 	  ac_cache_corrupted=:
   2580 	else
   2581 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2582 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2583 	  eval $ac_var=\$ac_old_val
   2584 	fi
   2585 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2586 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2587 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2588 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2589       fi;;
   2590   esac
   2591   # Pass precious variables to config.status.
   2592   if test "$ac_new_set" = set; then
   2593     case $ac_new_val in
   2594     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2595     *) ac_arg=$ac_var=$ac_new_val ;;
   2596     esac
   2597     case " $ac_configure_args " in
   2598       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2599       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2600     esac
   2601   fi
   2602 done
   2603 if $ac_cache_corrupted; then
   2604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2605 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2607 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2608   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2609 	    and start over" "$LINENO" 5
   2610 fi
   2611 ## -------------------- ##
   2612 ## Main body of script. ##
   2613 ## -------------------- ##
   2614 
   2615 ac_ext=c
   2616 ac_cpp='$CPP $CPPFLAGS'
   2617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2620 
   2621 
   2622 
   2623 ac_config_headers="$ac_config_headers config.h"
   2624 
   2625 
   2626 
   2627 # Initialize Automake
   2628 am__api_version='1.16'
   2629 
   2630 
   2631 
   2632   # Find a good install program.  We prefer a C program (faster),
   2633 # so one script is as good as another.  But avoid the broken or
   2634 # incompatible versions:
   2635 # SysV /etc/install, /usr/sbin/install
   2636 # SunOS /usr/etc/install
   2637 # IRIX /sbin/install
   2638 # AIX /bin/install
   2639 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2640 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2641 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2642 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2643 # OS/2's system install, which has a completely different semantic
   2644 # ./install, which can be erroneously created by make from ./install.sh.
   2645 # Reject install programs that cannot install multiple files.
   2646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2647 printf %s "checking for a BSD-compatible install... " >&6; }
   2648 if test -z "$INSTALL"; then
   2649 if test ${ac_cv_path_install+y}
   2650 then :
   2651   printf %s "(cached) " >&6
   2652 else $as_nop
   2653   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2654 for as_dir in $PATH
   2655 do
   2656   IFS=$as_save_IFS
   2657   case $as_dir in #(((
   2658     '') as_dir=./ ;;
   2659     */) ;;
   2660     *) as_dir=$as_dir/ ;;
   2661   esac
   2662     # Account for fact that we put trailing slashes in our PATH walk.
   2663 case $as_dir in #((
   2664   ./ | /[cC]/* | \
   2665   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2666   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2667   /usr/ucb/* ) ;;
   2668   *)
   2669     # OSF1 and SCO ODT 3.0 have their own names for install.
   2670     # Don't use installbsd from OSF since it installs stuff as root
   2671     # by default.
   2672     for ac_prog in ginstall scoinst install; do
   2673       for ac_exec_ext in '' $ac_executable_extensions; do
   2674 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2675 	  if test $ac_prog = install &&
   2676 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2677 	    # AIX install.  It has an incompatible calling convention.
   2678 	    :
   2679 	  elif test $ac_prog = install &&
   2680 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2681 	    # program-specific install script used by HP pwplus--don't use.
   2682 	    :
   2683 	  else
   2684 	    rm -rf conftest.one conftest.two conftest.dir
   2685 	    echo one > conftest.one
   2686 	    echo two > conftest.two
   2687 	    mkdir conftest.dir
   2688 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2689 	      test -s conftest.one && test -s conftest.two &&
   2690 	      test -s conftest.dir/conftest.one &&
   2691 	      test -s conftest.dir/conftest.two
   2692 	    then
   2693 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2694 	      break 3
   2695 	    fi
   2696 	  fi
   2697 	fi
   2698       done
   2699     done
   2700     ;;
   2701 esac
   2702 
   2703   done
   2704 IFS=$as_save_IFS
   2705 
   2706 rm -rf conftest.one conftest.two conftest.dir
   2707 
   2708 fi
   2709   if test ${ac_cv_path_install+y}; then
   2710     INSTALL=$ac_cv_path_install
   2711   else
   2712     # As a last resort, use the slow shell script.  Don't cache a
   2713     # value for INSTALL within a source directory, because that will
   2714     # break other packages using the cache if that directory is
   2715     # removed, or if the value is a relative name.
   2716     INSTALL=$ac_install_sh
   2717   fi
   2718 fi
   2719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2720 printf "%s\n" "$INSTALL" >&6; }
   2721 
   2722 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2723 # It thinks the first close brace ends the variable substitution.
   2724 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2725 
   2726 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2727 
   2728 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2729 
   2730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2731 printf %s "checking whether build environment is sane... " >&6; }
   2732 # Reject unsafe characters in $srcdir or the absolute working directory
   2733 # name.  Accept space and tab only in the latter.
   2734 am_lf='
   2735 '
   2736 case `pwd` in
   2737   *[\\\"\#\$\&\'\`$am_lf]*)
   2738     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2739 esac
   2740 case $srcdir in
   2741   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2742     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2743 esac
   2744 
   2745 # Do 'set' in a subshell so we don't clobber the current shell's
   2746 # arguments.  Must try -L first in case configure is actually a
   2747 # symlink; some systems play weird games with the mod time of symlinks
   2748 # (eg FreeBSD returns the mod time of the symlink's containing
   2749 # directory).
   2750 if (
   2751    am_has_slept=no
   2752    for am_try in 1 2; do
   2753      echo "timestamp, slept: $am_has_slept" > conftest.file
   2754      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2755      if test "$*" = "X"; then
   2756 	# -L didn't work.
   2757 	set X `ls -t "$srcdir/configure" conftest.file`
   2758      fi
   2759      if test "$*" != "X $srcdir/configure conftest.file" \
   2760 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2761 
   2762 	# If neither matched, then we have a broken ls.  This can happen
   2763 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2764 	# broken ls alias from the environment.  This has actually
   2765 	# happened.  Such a system could not be considered "sane".
   2766 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2767   alias in your environment" "$LINENO" 5
   2768      fi
   2769      if test "$2" = conftest.file || test $am_try -eq 2; then
   2770        break
   2771      fi
   2772      # Just in case.
   2773      sleep 1
   2774      am_has_slept=yes
   2775    done
   2776    test "$2" = conftest.file
   2777    )
   2778 then
   2779    # Ok.
   2780    :
   2781 else
   2782    as_fn_error $? "newly created file is older than distributed files!
   2783 Check your system clock" "$LINENO" 5
   2784 fi
   2785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2786 printf "%s\n" "yes" >&6; }
   2787 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2788 # generated files are strictly newer.
   2789 am_sleep_pid=
   2790 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2791   ( sleep 1 ) &
   2792   am_sleep_pid=$!
   2793 fi
   2794 
   2795 rm -f conftest.file
   2796 
   2797 test "$program_prefix" != NONE &&
   2798   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2799 # Use a double $ so make ignores it.
   2800 test "$program_suffix" != NONE &&
   2801   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2802 # Double any \ or $.
   2803 # By default was `s,x,x', remove it if useless.
   2804 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2805 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2806 
   2807 
   2808 # Expand $ac_aux_dir to an absolute path.
   2809 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2810 
   2811 
   2812   if test x"${MISSING+set}" != xset; then
   2813   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2814 fi
   2815 # Use eval to expand $SHELL
   2816 if eval "$MISSING --is-lightweight"; then
   2817   am_missing_run="$MISSING "
   2818 else
   2819   am_missing_run=
   2820   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2821 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2822 fi
   2823 
   2824 if test x"${install_sh+set}" != xset; then
   2825   case $am_aux_dir in
   2826   *\ * | *\	*)
   2827     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2828   *)
   2829     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2830   esac
   2831 fi
   2832 
   2833 # Installed binaries are usually stripped using 'strip' when the user
   2834 # run "make install-strip".  However 'strip' might not be the right
   2835 # tool to use in cross-compilation environments, therefore Automake
   2836 # will honor the 'STRIP' environment variable to overrule this program.
   2837 if test "$cross_compiling" != no; then
   2838   if test -n "$ac_tool_prefix"; then
   2839   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2840 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2842 printf %s "checking for $ac_word... " >&6; }
   2843 if test ${ac_cv_prog_STRIP+y}
   2844 then :
   2845   printf %s "(cached) " >&6
   2846 else $as_nop
   2847   if test -n "$STRIP"; then
   2848   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2849 else
   2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2851 for as_dir in $PATH
   2852 do
   2853   IFS=$as_save_IFS
   2854   case $as_dir in #(((
   2855     '') as_dir=./ ;;
   2856     */) ;;
   2857     *) as_dir=$as_dir/ ;;
   2858   esac
   2859     for ac_exec_ext in '' $ac_executable_extensions; do
   2860   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2861     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2862     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2863     break 2
   2864   fi
   2865 done
   2866   done
   2867 IFS=$as_save_IFS
   2868 
   2869 fi
   2870 fi
   2871 STRIP=$ac_cv_prog_STRIP
   2872 if test -n "$STRIP"; then
   2873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2874 printf "%s\n" "$STRIP" >&6; }
   2875 else
   2876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2877 printf "%s\n" "no" >&6; }
   2878 fi
   2879 
   2880 
   2881 fi
   2882 if test -z "$ac_cv_prog_STRIP"; then
   2883   ac_ct_STRIP=$STRIP
   2884   # Extract the first word of "strip", so it can be a program name with args.
   2885 set dummy strip; ac_word=$2
   2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2887 printf %s "checking for $ac_word... " >&6; }
   2888 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2889 then :
   2890   printf %s "(cached) " >&6
   2891 else $as_nop
   2892   if test -n "$ac_ct_STRIP"; then
   2893   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2894 else
   2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2896 for as_dir in $PATH
   2897 do
   2898   IFS=$as_save_IFS
   2899   case $as_dir in #(((
   2900     '') as_dir=./ ;;
   2901     */) ;;
   2902     *) as_dir=$as_dir/ ;;
   2903   esac
   2904     for ac_exec_ext in '' $ac_executable_extensions; do
   2905   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2906     ac_cv_prog_ac_ct_STRIP="strip"
   2907     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2908     break 2
   2909   fi
   2910 done
   2911   done
   2912 IFS=$as_save_IFS
   2913 
   2914 fi
   2915 fi
   2916 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2917 if test -n "$ac_ct_STRIP"; then
   2918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2919 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2920 else
   2921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2922 printf "%s\n" "no" >&6; }
   2923 fi
   2924 
   2925   if test "x$ac_ct_STRIP" = x; then
   2926     STRIP=":"
   2927   else
   2928     case $cross_compiling:$ac_tool_warned in
   2929 yes:)
   2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2931 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2932 ac_tool_warned=yes ;;
   2933 esac
   2934     STRIP=$ac_ct_STRIP
   2935   fi
   2936 else
   2937   STRIP="$ac_cv_prog_STRIP"
   2938 fi
   2939 
   2940 fi
   2941 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2942 
   2943 
   2944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2945 printf %s "checking for a race-free mkdir -p... " >&6; }
   2946 if test -z "$MKDIR_P"; then
   2947   if test ${ac_cv_path_mkdir+y}
   2948 then :
   2949   printf %s "(cached) " >&6
   2950 else $as_nop
   2951   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2952 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2953 do
   2954   IFS=$as_save_IFS
   2955   case $as_dir in #(((
   2956     '') as_dir=./ ;;
   2957     */) ;;
   2958     *) as_dir=$as_dir/ ;;
   2959   esac
   2960     for ac_prog in mkdir gmkdir; do
   2961 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2962 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2963 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2964 	     'mkdir ('*'coreutils) '* | \
   2965 	     'BusyBox '* | \
   2966 	     'mkdir (fileutils) '4.1*)
   2967 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2968 	       break 3;;
   2969 	   esac
   2970 	 done
   2971        done
   2972   done
   2973 IFS=$as_save_IFS
   2974 
   2975 fi
   2976 
   2977   test -d ./--version && rmdir ./--version
   2978   if test ${ac_cv_path_mkdir+y}; then
   2979     MKDIR_P="$ac_cv_path_mkdir -p"
   2980   else
   2981     # As a last resort, use the slow shell script.  Don't cache a
   2982     # value for MKDIR_P within a source directory, because that will
   2983     # break other packages using the cache if that directory is
   2984     # removed, or if the value is a relative name.
   2985     MKDIR_P="$ac_install_sh -d"
   2986   fi
   2987 fi
   2988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2989 printf "%s\n" "$MKDIR_P" >&6; }
   2990 
   2991 for ac_prog in gawk mawk nawk awk
   2992 do
   2993   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2994 set dummy $ac_prog; ac_word=$2
   2995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2996 printf %s "checking for $ac_word... " >&6; }
   2997 if test ${ac_cv_prog_AWK+y}
   2998 then :
   2999   printf %s "(cached) " >&6
   3000 else $as_nop
   3001   if test -n "$AWK"; then
   3002   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3003 else
   3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3005 for as_dir in $PATH
   3006 do
   3007   IFS=$as_save_IFS
   3008   case $as_dir in #(((
   3009     '') as_dir=./ ;;
   3010     */) ;;
   3011     *) as_dir=$as_dir/ ;;
   3012   esac
   3013     for ac_exec_ext in '' $ac_executable_extensions; do
   3014   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3015     ac_cv_prog_AWK="$ac_prog"
   3016     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3017     break 2
   3018   fi
   3019 done
   3020   done
   3021 IFS=$as_save_IFS
   3022 
   3023 fi
   3024 fi
   3025 AWK=$ac_cv_prog_AWK
   3026 if test -n "$AWK"; then
   3027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3028 printf "%s\n" "$AWK" >&6; }
   3029 else
   3030   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3031 printf "%s\n" "no" >&6; }
   3032 fi
   3033 
   3034 
   3035   test -n "$AWK" && break
   3036 done
   3037 
   3038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3039 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3040 set x ${MAKE-make}
   3041 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3042 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3043 then :
   3044   printf %s "(cached) " >&6
   3045 else $as_nop
   3046   cat >conftest.make <<\_ACEOF
   3047 SHELL = /bin/sh
   3048 all:
   3049 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3050 _ACEOF
   3051 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3052 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3053   *@@@%%%=?*=@@@%%%*)
   3054     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3055   *)
   3056     eval ac_cv_prog_make_${ac_make}_set=no;;
   3057 esac
   3058 rm -f conftest.make
   3059 fi
   3060 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3062 printf "%s\n" "yes" >&6; }
   3063   SET_MAKE=
   3064 else
   3065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3066 printf "%s\n" "no" >&6; }
   3067   SET_MAKE="MAKE=${MAKE-make}"
   3068 fi
   3069 
   3070 rm -rf .tst 2>/dev/null
   3071 mkdir .tst 2>/dev/null
   3072 if test -d .tst; then
   3073   am__leading_dot=.
   3074 else
   3075   am__leading_dot=_
   3076 fi
   3077 rmdir .tst 2>/dev/null
   3078 
   3079 # Check whether --enable-silent-rules was given.
   3080 if test ${enable_silent_rules+y}
   3081 then :
   3082   enableval=$enable_silent_rules;
   3083 fi
   3084 
   3085 case $enable_silent_rules in # (((
   3086   yes) AM_DEFAULT_VERBOSITY=0;;
   3087    no) AM_DEFAULT_VERBOSITY=1;;
   3088     *) AM_DEFAULT_VERBOSITY=1;;
   3089 esac
   3090 am_make=${MAKE-make}
   3091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3092 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3093 if test ${am_cv_make_support_nested_variables+y}
   3094 then :
   3095   printf %s "(cached) " >&6
   3096 else $as_nop
   3097   if printf "%s\n" 'TRUE=$(BAR$(V))
   3098 BAR0=false
   3099 BAR1=true
   3100 V=1
   3101 am__doit:
   3102 	@$(TRUE)
   3103 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3104   am_cv_make_support_nested_variables=yes
   3105 else
   3106   am_cv_make_support_nested_variables=no
   3107 fi
   3108 fi
   3109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3110 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3111 if test $am_cv_make_support_nested_variables = yes; then
   3112     AM_V='$(V)'
   3113   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3114 else
   3115   AM_V=$AM_DEFAULT_VERBOSITY
   3116   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3117 fi
   3118 AM_BACKSLASH='\'
   3119 
   3120 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3121   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3122   # is not polluted with repeated "-I."
   3123   am__isrc=' -I$(srcdir)'
   3124   # test to see if srcdir already configured
   3125   if test -f $srcdir/config.status; then
   3126     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3127   fi
   3128 fi
   3129 
   3130 # test whether we have cygpath
   3131 if test -z "$CYGPATH_W"; then
   3132   if (cygpath --version) >/dev/null 2>/dev/null; then
   3133     CYGPATH_W='cygpath -w'
   3134   else
   3135     CYGPATH_W=echo
   3136   fi
   3137 fi
   3138 
   3139 
   3140 # Define the identity of the package.
   3141  PACKAGE='libXpm'
   3142  VERSION='3.5.14'
   3143 
   3144 
   3145 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3146 
   3147 
   3148 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3149 
   3150 # Some tools Automake needs.
   3151 
   3152 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3153 
   3154 
   3155 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3156 
   3157 
   3158 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3159 
   3160 
   3161 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3162 
   3163 
   3164 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3165 
   3166 # For better backward compatibility.  To be removed once Automake 1.9.x
   3167 # dies out for good.  For more background, see:
   3168 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3169 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3170 mkdir_p='$(MKDIR_P)'
   3171 
   3172 # We need awk for the "check" target (and possibly the TAP driver).  The
   3173 # system "awk" is bad on some platforms.
   3174 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3175 # in the wild :-(  We should find a proper way to deprecate it ...
   3176 AMTAR='$${TAR-tar}'
   3177 
   3178 
   3179 # We'll loop over all known methods to create a tar archive until one works.
   3180 _am_tools='gnutar  pax cpio none'
   3181 
   3182 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3183 
   3184 
   3185 
   3186 
   3187 
   3188 # Variables for tags utilities; see am/tags.am
   3189 if test -z "$CTAGS"; then
   3190   CTAGS=ctags
   3191 fi
   3192 
   3193 if test -z "$ETAGS"; then
   3194   ETAGS=etags
   3195 fi
   3196 
   3197 if test -z "$CSCOPE"; then
   3198   CSCOPE=cscope
   3199 fi
   3200 
   3201 
   3202 
   3203 # POSIX will say in a future version that running "rm -f" with no argument
   3204 # is OK; and we want to be able to make that assumption in our Makefile
   3205 # recipes.  So use an aggressive probe to check that the usage we want is
   3206 # actually supported "in the wild" to an acceptable degree.
   3207 # See automake bug#10828.
   3208 # To make any issue more visible, cause the running configure to be aborted
   3209 # by default if the 'rm' program in use doesn't match our expectations; the
   3210 # user can still override this though.
   3211 if rm -f && rm -fr && rm -rf; then : OK; else
   3212   cat >&2 <<'END'
   3213 Oops!
   3214 
   3215 Your 'rm' program seems unable to run without file operands specified
   3216 on the command line, even when the '-f' option is present.  This is contrary
   3217 to the behaviour of most rm programs out there, and not conforming with
   3218 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3219 
   3220 Please tell bug-automake@gnu.org about your system, including the value
   3221 of your $PATH and any error possibly output before this message.  This
   3222 can help us improve future automake versions.
   3223 
   3224 END
   3225   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3226     echo 'Configuration will proceed anyway, since you have set the' >&2
   3227     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3228     echo >&2
   3229   else
   3230     cat >&2 <<'END'
   3231 Aborting the configuration process, to ensure you take notice of the issue.
   3232 
   3233 You can download and install GNU coreutils to get an 'rm' implementation
   3234 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3235 
   3236 If you want to complete the configuration process using your problematic
   3237 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3238 to "yes", and re-run configure.
   3239 
   3240 END
   3241     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3242   fi
   3243 fi
   3244 
   3245 
   3246 # Initialize libtool
   3247 case `pwd` in
   3248   *\ * | *\	*)
   3249     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3250 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3251 esac
   3252 
   3253 
   3254 
   3255 macro_version='2.4.7'
   3256 macro_revision='2.4.7'
   3257 
   3258 
   3259 
   3260 
   3261 
   3262 
   3263 
   3264 
   3265 
   3266 
   3267 
   3268 
   3269 
   3270 
   3271 ltmain=$ac_aux_dir/ltmain.sh
   3272 
   3273 
   3274 
   3275   # Make sure we can run config.sub.
   3276 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3277   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3278 
   3279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3280 printf %s "checking build system type... " >&6; }
   3281 if test ${ac_cv_build+y}
   3282 then :
   3283   printf %s "(cached) " >&6
   3284 else $as_nop
   3285   ac_build_alias=$build_alias
   3286 test "x$ac_build_alias" = x &&
   3287   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3288 test "x$ac_build_alias" = x &&
   3289   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3290 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3291   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3292 
   3293 fi
   3294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3295 printf "%s\n" "$ac_cv_build" >&6; }
   3296 case $ac_cv_build in
   3297 *-*-*) ;;
   3298 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3299 esac
   3300 build=$ac_cv_build
   3301 ac_save_IFS=$IFS; IFS='-'
   3302 set x $ac_cv_build
   3303 shift
   3304 build_cpu=$1
   3305 build_vendor=$2
   3306 shift; shift
   3307 # Remember, the first character of IFS is used to create $*,
   3308 # except with old shells:
   3309 build_os=$*
   3310 IFS=$ac_save_IFS
   3311 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3312 
   3313 
   3314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3315 printf %s "checking host system type... " >&6; }
   3316 if test ${ac_cv_host+y}
   3317 then :
   3318   printf %s "(cached) " >&6
   3319 else $as_nop
   3320   if test "x$host_alias" = x; then
   3321   ac_cv_host=$ac_cv_build
   3322 else
   3323   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3324     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3325 fi
   3326 
   3327 fi
   3328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3329 printf "%s\n" "$ac_cv_host" >&6; }
   3330 case $ac_cv_host in
   3331 *-*-*) ;;
   3332 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3333 esac
   3334 host=$ac_cv_host
   3335 ac_save_IFS=$IFS; IFS='-'
   3336 set x $ac_cv_host
   3337 shift
   3338 host_cpu=$1
   3339 host_vendor=$2
   3340 shift; shift
   3341 # Remember, the first character of IFS is used to create $*,
   3342 # except with old shells:
   3343 host_os=$*
   3344 IFS=$ac_save_IFS
   3345 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3346 
   3347 
   3348 # Backslashify metacharacters that are still active within
   3349 # double-quoted strings.
   3350 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3351 
   3352 # Same as above, but do not quote variable references.
   3353 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3354 
   3355 # Sed substitution to delay expansion of an escaped shell variable in a
   3356 # double_quote_subst'ed string.
   3357 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3358 
   3359 # Sed substitution to delay expansion of an escaped single quote.
   3360 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3361 
   3362 # Sed substitution to avoid accidental globbing in evaled expressions
   3363 no_glob_subst='s/\*/\\\*/g'
   3364 
   3365 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3366 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3367 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3368 
   3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3370 printf %s "checking how to print strings... " >&6; }
   3371 # Test print first, because it will be a builtin if present.
   3372 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3373    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3374   ECHO='print -r --'
   3375 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3376   ECHO='printf %s\n'
   3377 else
   3378   # Use this function as a fallback that always works.
   3379   func_fallback_echo ()
   3380   {
   3381     eval 'cat <<_LTECHO_EOF
   3382 $1
   3383 _LTECHO_EOF'
   3384   }
   3385   ECHO='func_fallback_echo'
   3386 fi
   3387 
   3388 # func_echo_all arg...
   3389 # Invoke $ECHO with all args, space-separated.
   3390 func_echo_all ()
   3391 {
   3392     $ECHO ""
   3393 }
   3394 
   3395 case $ECHO in
   3396   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3397 printf "%s\n" "printf" >&6; } ;;
   3398   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3399 printf "%s\n" "print -r" >&6; } ;;
   3400   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3401 printf "%s\n" "cat" >&6; } ;;
   3402 esac
   3403 
   3404 
   3405 
   3406 
   3407 
   3408 
   3409 
   3410 
   3411 
   3412 
   3413 
   3414 
   3415 
   3416 
   3417 
   3418 
   3419 
   3420 
   3421 
   3422 
   3423 
   3424 
   3425 
   3426 DEPDIR="${am__leading_dot}deps"
   3427 
   3428 ac_config_commands="$ac_config_commands depfiles"
   3429 
   3430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3431 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3432 cat > confinc.mk << 'END'
   3433 am__doit:
   3434 	@echo this is the am__doit target >confinc.out
   3435 .PHONY: am__doit
   3436 END
   3437 am__include="#"
   3438 am__quote=
   3439 # BSD make does it like this.
   3440 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3441 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3442 echo 'include confinc.mk # ignored' > confmf.GNU
   3443 _am_result=no
   3444 for s in GNU BSD; do
   3445   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3446    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3447    ac_status=$?
   3448    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3449    (exit $ac_status); }
   3450   case $?:`cat confinc.out 2>/dev/null` in #(
   3451   '0:this is the am__doit target') :
   3452     case $s in #(
   3453   BSD) :
   3454     am__include='.include' am__quote='"' ;; #(
   3455   *) :
   3456     am__include='include' am__quote='' ;;
   3457 esac ;; #(
   3458   *) :
   3459      ;;
   3460 esac
   3461   if test "$am__include" != "#"; then
   3462     _am_result="yes ($s style)"
   3463     break
   3464   fi
   3465 done
   3466 rm -f confinc.* confmf.*
   3467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3468 printf "%s\n" "${_am_result}" >&6; }
   3469 
   3470 # Check whether --enable-dependency-tracking was given.
   3471 if test ${enable_dependency_tracking+y}
   3472 then :
   3473   enableval=$enable_dependency_tracking;
   3474 fi
   3475 
   3476 if test "x$enable_dependency_tracking" != xno; then
   3477   am_depcomp="$ac_aux_dir/depcomp"
   3478   AMDEPBACKSLASH='\'
   3479   am__nodep='_no'
   3480 fi
   3481  if test "x$enable_dependency_tracking" != xno; then
   3482   AMDEP_TRUE=
   3483   AMDEP_FALSE='#'
   3484 else
   3485   AMDEP_TRUE='#'
   3486   AMDEP_FALSE=
   3487 fi
   3488 
   3489 
   3490 ac_ext=c
   3491 ac_cpp='$CPP $CPPFLAGS'
   3492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3495 if test -n "$ac_tool_prefix"; then
   3496   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3497 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3499 printf %s "checking for $ac_word... " >&6; }
   3500 if test ${ac_cv_prog_CC+y}
   3501 then :
   3502   printf %s "(cached) " >&6
   3503 else $as_nop
   3504   if test -n "$CC"; then
   3505   ac_cv_prog_CC="$CC" # Let the user override the test.
   3506 else
   3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3508 for as_dir in $PATH
   3509 do
   3510   IFS=$as_save_IFS
   3511   case $as_dir in #(((
   3512     '') as_dir=./ ;;
   3513     */) ;;
   3514     *) as_dir=$as_dir/ ;;
   3515   esac
   3516     for ac_exec_ext in '' $ac_executable_extensions; do
   3517   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3518     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3519     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3520     break 2
   3521   fi
   3522 done
   3523   done
   3524 IFS=$as_save_IFS
   3525 
   3526 fi
   3527 fi
   3528 CC=$ac_cv_prog_CC
   3529 if test -n "$CC"; then
   3530   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3531 printf "%s\n" "$CC" >&6; }
   3532 else
   3533   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3534 printf "%s\n" "no" >&6; }
   3535 fi
   3536 
   3537 
   3538 fi
   3539 if test -z "$ac_cv_prog_CC"; then
   3540   ac_ct_CC=$CC
   3541   # Extract the first word of "gcc", so it can be a program name with args.
   3542 set dummy gcc; ac_word=$2
   3543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3544 printf %s "checking for $ac_word... " >&6; }
   3545 if test ${ac_cv_prog_ac_ct_CC+y}
   3546 then :
   3547   printf %s "(cached) " >&6
   3548 else $as_nop
   3549   if test -n "$ac_ct_CC"; then
   3550   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3551 else
   3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3553 for as_dir in $PATH
   3554 do
   3555   IFS=$as_save_IFS
   3556   case $as_dir in #(((
   3557     '') as_dir=./ ;;
   3558     */) ;;
   3559     *) as_dir=$as_dir/ ;;
   3560   esac
   3561     for ac_exec_ext in '' $ac_executable_extensions; do
   3562   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3563     ac_cv_prog_ac_ct_CC="gcc"
   3564     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3565     break 2
   3566   fi
   3567 done
   3568   done
   3569 IFS=$as_save_IFS
   3570 
   3571 fi
   3572 fi
   3573 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3574 if test -n "$ac_ct_CC"; then
   3575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3576 printf "%s\n" "$ac_ct_CC" >&6; }
   3577 else
   3578   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3579 printf "%s\n" "no" >&6; }
   3580 fi
   3581 
   3582   if test "x$ac_ct_CC" = x; then
   3583     CC=""
   3584   else
   3585     case $cross_compiling:$ac_tool_warned in
   3586 yes:)
   3587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3588 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3589 ac_tool_warned=yes ;;
   3590 esac
   3591     CC=$ac_ct_CC
   3592   fi
   3593 else
   3594   CC="$ac_cv_prog_CC"
   3595 fi
   3596 
   3597 if test -z "$CC"; then
   3598           if test -n "$ac_tool_prefix"; then
   3599     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3600 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3602 printf %s "checking for $ac_word... " >&6; }
   3603 if test ${ac_cv_prog_CC+y}
   3604 then :
   3605   printf %s "(cached) " >&6
   3606 else $as_nop
   3607   if test -n "$CC"; then
   3608   ac_cv_prog_CC="$CC" # Let the user override the test.
   3609 else
   3610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3611 for as_dir in $PATH
   3612 do
   3613   IFS=$as_save_IFS
   3614   case $as_dir in #(((
   3615     '') as_dir=./ ;;
   3616     */) ;;
   3617     *) as_dir=$as_dir/ ;;
   3618   esac
   3619     for ac_exec_ext in '' $ac_executable_extensions; do
   3620   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3621     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3622     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3623     break 2
   3624   fi
   3625 done
   3626   done
   3627 IFS=$as_save_IFS
   3628 
   3629 fi
   3630 fi
   3631 CC=$ac_cv_prog_CC
   3632 if test -n "$CC"; then
   3633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3634 printf "%s\n" "$CC" >&6; }
   3635 else
   3636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3637 printf "%s\n" "no" >&6; }
   3638 fi
   3639 
   3640 
   3641   fi
   3642 fi
   3643 if test -z "$CC"; then
   3644   # Extract the first word of "cc", so it can be a program name with args.
   3645 set dummy cc; ac_word=$2
   3646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3647 printf %s "checking for $ac_word... " >&6; }
   3648 if test ${ac_cv_prog_CC+y}
   3649 then :
   3650   printf %s "(cached) " >&6
   3651 else $as_nop
   3652   if test -n "$CC"; then
   3653   ac_cv_prog_CC="$CC" # Let the user override the test.
   3654 else
   3655   ac_prog_rejected=no
   3656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3657 for as_dir in $PATH
   3658 do
   3659   IFS=$as_save_IFS
   3660   case $as_dir in #(((
   3661     '') as_dir=./ ;;
   3662     */) ;;
   3663     *) as_dir=$as_dir/ ;;
   3664   esac
   3665     for ac_exec_ext in '' $ac_executable_extensions; do
   3666   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3667     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3668        ac_prog_rejected=yes
   3669        continue
   3670      fi
   3671     ac_cv_prog_CC="cc"
   3672     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3673     break 2
   3674   fi
   3675 done
   3676   done
   3677 IFS=$as_save_IFS
   3678 
   3679 if test $ac_prog_rejected = yes; then
   3680   # We found a bogon in the path, so make sure we never use it.
   3681   set dummy $ac_cv_prog_CC
   3682   shift
   3683   if test $# != 0; then
   3684     # We chose a different compiler from the bogus one.
   3685     # However, it has the same basename, so the bogon will be chosen
   3686     # first if we set CC to just the basename; use the full file name.
   3687     shift
   3688     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3689   fi
   3690 fi
   3691 fi
   3692 fi
   3693 CC=$ac_cv_prog_CC
   3694 if test -n "$CC"; then
   3695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3696 printf "%s\n" "$CC" >&6; }
   3697 else
   3698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3699 printf "%s\n" "no" >&6; }
   3700 fi
   3701 
   3702 
   3703 fi
   3704 if test -z "$CC"; then
   3705   if test -n "$ac_tool_prefix"; then
   3706   for ac_prog in cl.exe
   3707   do
   3708     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3711 printf %s "checking for $ac_word... " >&6; }
   3712 if test ${ac_cv_prog_CC+y}
   3713 then :
   3714   printf %s "(cached) " >&6
   3715 else $as_nop
   3716   if test -n "$CC"; then
   3717   ac_cv_prog_CC="$CC" # Let the user override the test.
   3718 else
   3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3720 for as_dir in $PATH
   3721 do
   3722   IFS=$as_save_IFS
   3723   case $as_dir in #(((
   3724     '') as_dir=./ ;;
   3725     */) ;;
   3726     *) as_dir=$as_dir/ ;;
   3727   esac
   3728     for ac_exec_ext in '' $ac_executable_extensions; do
   3729   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3730     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3731     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3732     break 2
   3733   fi
   3734 done
   3735   done
   3736 IFS=$as_save_IFS
   3737 
   3738 fi
   3739 fi
   3740 CC=$ac_cv_prog_CC
   3741 if test -n "$CC"; then
   3742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3743 printf "%s\n" "$CC" >&6; }
   3744 else
   3745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3746 printf "%s\n" "no" >&6; }
   3747 fi
   3748 
   3749 
   3750     test -n "$CC" && break
   3751   done
   3752 fi
   3753 if test -z "$CC"; then
   3754   ac_ct_CC=$CC
   3755   for ac_prog in cl.exe
   3756 do
   3757   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3758 set dummy $ac_prog; ac_word=$2
   3759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3760 printf %s "checking for $ac_word... " >&6; }
   3761 if test ${ac_cv_prog_ac_ct_CC+y}
   3762 then :
   3763   printf %s "(cached) " >&6
   3764 else $as_nop
   3765   if test -n "$ac_ct_CC"; then
   3766   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3767 else
   3768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3769 for as_dir in $PATH
   3770 do
   3771   IFS=$as_save_IFS
   3772   case $as_dir in #(((
   3773     '') as_dir=./ ;;
   3774     */) ;;
   3775     *) as_dir=$as_dir/ ;;
   3776   esac
   3777     for ac_exec_ext in '' $ac_executable_extensions; do
   3778   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3779     ac_cv_prog_ac_ct_CC="$ac_prog"
   3780     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3781     break 2
   3782   fi
   3783 done
   3784   done
   3785 IFS=$as_save_IFS
   3786 
   3787 fi
   3788 fi
   3789 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3790 if test -n "$ac_ct_CC"; then
   3791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3792 printf "%s\n" "$ac_ct_CC" >&6; }
   3793 else
   3794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3795 printf "%s\n" "no" >&6; }
   3796 fi
   3797 
   3798 
   3799   test -n "$ac_ct_CC" && break
   3800 done
   3801 
   3802   if test "x$ac_ct_CC" = x; then
   3803     CC=""
   3804   else
   3805     case $cross_compiling:$ac_tool_warned in
   3806 yes:)
   3807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3808 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3809 ac_tool_warned=yes ;;
   3810 esac
   3811     CC=$ac_ct_CC
   3812   fi
   3813 fi
   3814 
   3815 fi
   3816 if test -z "$CC"; then
   3817   if test -n "$ac_tool_prefix"; then
   3818   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3819 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3821 printf %s "checking for $ac_word... " >&6; }
   3822 if test ${ac_cv_prog_CC+y}
   3823 then :
   3824   printf %s "(cached) " >&6
   3825 else $as_nop
   3826   if test -n "$CC"; then
   3827   ac_cv_prog_CC="$CC" # Let the user override the test.
   3828 else
   3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3830 for as_dir in $PATH
   3831 do
   3832   IFS=$as_save_IFS
   3833   case $as_dir in #(((
   3834     '') as_dir=./ ;;
   3835     */) ;;
   3836     *) as_dir=$as_dir/ ;;
   3837   esac
   3838     for ac_exec_ext in '' $ac_executable_extensions; do
   3839   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3840     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3841     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3842     break 2
   3843   fi
   3844 done
   3845   done
   3846 IFS=$as_save_IFS
   3847 
   3848 fi
   3849 fi
   3850 CC=$ac_cv_prog_CC
   3851 if test -n "$CC"; then
   3852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3853 printf "%s\n" "$CC" >&6; }
   3854 else
   3855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3856 printf "%s\n" "no" >&6; }
   3857 fi
   3858 
   3859 
   3860 fi
   3861 if test -z "$ac_cv_prog_CC"; then
   3862   ac_ct_CC=$CC
   3863   # Extract the first word of "clang", so it can be a program name with args.
   3864 set dummy clang; ac_word=$2
   3865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3866 printf %s "checking for $ac_word... " >&6; }
   3867 if test ${ac_cv_prog_ac_ct_CC+y}
   3868 then :
   3869   printf %s "(cached) " >&6
   3870 else $as_nop
   3871   if test -n "$ac_ct_CC"; then
   3872   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3873 else
   3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3875 for as_dir in $PATH
   3876 do
   3877   IFS=$as_save_IFS
   3878   case $as_dir in #(((
   3879     '') as_dir=./ ;;
   3880     */) ;;
   3881     *) as_dir=$as_dir/ ;;
   3882   esac
   3883     for ac_exec_ext in '' $ac_executable_extensions; do
   3884   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3885     ac_cv_prog_ac_ct_CC="clang"
   3886     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3887     break 2
   3888   fi
   3889 done
   3890   done
   3891 IFS=$as_save_IFS
   3892 
   3893 fi
   3894 fi
   3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3896 if test -n "$ac_ct_CC"; then
   3897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3898 printf "%s\n" "$ac_ct_CC" >&6; }
   3899 else
   3900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3901 printf "%s\n" "no" >&6; }
   3902 fi
   3903 
   3904   if test "x$ac_ct_CC" = x; then
   3905     CC=""
   3906   else
   3907     case $cross_compiling:$ac_tool_warned in
   3908 yes:)
   3909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3910 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3911 ac_tool_warned=yes ;;
   3912 esac
   3913     CC=$ac_ct_CC
   3914   fi
   3915 else
   3916   CC="$ac_cv_prog_CC"
   3917 fi
   3918 
   3919 fi
   3920 
   3921 
   3922 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3923 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3924 as_fn_error $? "no acceptable C compiler found in \$PATH
   3925 See \`config.log' for more details" "$LINENO" 5; }
   3926 
   3927 # Provide some information about the compiler.
   3928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3929 set X $ac_compile
   3930 ac_compiler=$2
   3931 for ac_option in --version -v -V -qversion -version; do
   3932   { { ac_try="$ac_compiler $ac_option >&5"
   3933 case "(($ac_try" in
   3934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3935   *) ac_try_echo=$ac_try;;
   3936 esac
   3937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3938 printf "%s\n" "$ac_try_echo"; } >&5
   3939   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3940   ac_status=$?
   3941   if test -s conftest.err; then
   3942     sed '10a\
   3943 ... rest of stderr output deleted ...
   3944          10q' conftest.err >conftest.er1
   3945     cat conftest.er1 >&5
   3946   fi
   3947   rm -f conftest.er1 conftest.err
   3948   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3949   test $ac_status = 0; }
   3950 done
   3951 
   3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3953 /* end confdefs.h.  */
   3954 
   3955 int
   3956 main (void)
   3957 {
   3958 
   3959   ;
   3960   return 0;
   3961 }
   3962 _ACEOF
   3963 ac_clean_files_save=$ac_clean_files
   3964 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3965 # Try to create an executable without -o first, disregard a.out.
   3966 # It will help us diagnose broken compilers, and finding out an intuition
   3967 # of exeext.
   3968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3969 printf %s "checking whether the C compiler works... " >&6; }
   3970 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3971 
   3972 # The possible output files:
   3973 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3974 
   3975 ac_rmfiles=
   3976 for ac_file in $ac_files
   3977 do
   3978   case $ac_file in
   3979     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3980     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3981   esac
   3982 done
   3983 rm -f $ac_rmfiles
   3984 
   3985 if { { ac_try="$ac_link_default"
   3986 case "(($ac_try" in
   3987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3988   *) ac_try_echo=$ac_try;;
   3989 esac
   3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3991 printf "%s\n" "$ac_try_echo"; } >&5
   3992   (eval "$ac_link_default") 2>&5
   3993   ac_status=$?
   3994   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3995   test $ac_status = 0; }
   3996 then :
   3997   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3998 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3999 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4000 # so that the user can short-circuit this test for compilers unknown to
   4001 # Autoconf.
   4002 for ac_file in $ac_files ''
   4003 do
   4004   test -f "$ac_file" || continue
   4005   case $ac_file in
   4006     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4007 	;;
   4008     [ab].out )
   4009 	# We found the default executable, but exeext='' is most
   4010 	# certainly right.
   4011 	break;;
   4012     *.* )
   4013 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4014 	then :; else
   4015 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4016 	fi
   4017 	# We set ac_cv_exeext here because the later test for it is not
   4018 	# safe: cross compilers may not add the suffix if given an `-o'
   4019 	# argument, so we may need to know it at that point already.
   4020 	# Even if this section looks crufty: it has the advantage of
   4021 	# actually working.
   4022 	break;;
   4023     * )
   4024 	break;;
   4025   esac
   4026 done
   4027 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4028 
   4029 else $as_nop
   4030   ac_file=''
   4031 fi
   4032 if test -z "$ac_file"
   4033 then :
   4034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4035 printf "%s\n" "no" >&6; }
   4036 printf "%s\n" "$as_me: failed program was:" >&5
   4037 sed 's/^/| /' conftest.$ac_ext >&5
   4038 
   4039 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4040 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4041 as_fn_error 77 "C compiler cannot create executables
   4042 See \`config.log' for more details" "$LINENO" 5; }
   4043 else $as_nop
   4044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4045 printf "%s\n" "yes" >&6; }
   4046 fi
   4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4048 printf %s "checking for C compiler default output file name... " >&6; }
   4049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4050 printf "%s\n" "$ac_file" >&6; }
   4051 ac_exeext=$ac_cv_exeext
   4052 
   4053 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4054 ac_clean_files=$ac_clean_files_save
   4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4056 printf %s "checking for suffix of executables... " >&6; }
   4057 if { { ac_try="$ac_link"
   4058 case "(($ac_try" in
   4059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4060   *) ac_try_echo=$ac_try;;
   4061 esac
   4062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4063 printf "%s\n" "$ac_try_echo"; } >&5
   4064   (eval "$ac_link") 2>&5
   4065   ac_status=$?
   4066   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4067   test $ac_status = 0; }
   4068 then :
   4069   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4070 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4071 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4072 # `rm'.
   4073 for ac_file in conftest.exe conftest conftest.*; do
   4074   test -f "$ac_file" || continue
   4075   case $ac_file in
   4076     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4077     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4078 	  break;;
   4079     * ) break;;
   4080   esac
   4081 done
   4082 else $as_nop
   4083   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4084 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4085 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4086 See \`config.log' for more details" "$LINENO" 5; }
   4087 fi
   4088 rm -f conftest conftest$ac_cv_exeext
   4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4090 printf "%s\n" "$ac_cv_exeext" >&6; }
   4091 
   4092 rm -f conftest.$ac_ext
   4093 EXEEXT=$ac_cv_exeext
   4094 ac_exeext=$EXEEXT
   4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4096 /* end confdefs.h.  */
   4097 #include <stdio.h>
   4098 int
   4099 main (void)
   4100 {
   4101 FILE *f = fopen ("conftest.out", "w");
   4102  return ferror (f) || fclose (f) != 0;
   4103 
   4104   ;
   4105   return 0;
   4106 }
   4107 _ACEOF
   4108 ac_clean_files="$ac_clean_files conftest.out"
   4109 # Check that the compiler produces executables we can run.  If not, either
   4110 # the compiler is broken, or we cross compile.
   4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4112 printf %s "checking whether we are cross compiling... " >&6; }
   4113 if test "$cross_compiling" != yes; then
   4114   { { ac_try="$ac_link"
   4115 case "(($ac_try" in
   4116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4117   *) ac_try_echo=$ac_try;;
   4118 esac
   4119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4120 printf "%s\n" "$ac_try_echo"; } >&5
   4121   (eval "$ac_link") 2>&5
   4122   ac_status=$?
   4123   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4124   test $ac_status = 0; }
   4125   if { ac_try='./conftest$ac_cv_exeext'
   4126   { { case "(($ac_try" in
   4127   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4128   *) ac_try_echo=$ac_try;;
   4129 esac
   4130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4131 printf "%s\n" "$ac_try_echo"; } >&5
   4132   (eval "$ac_try") 2>&5
   4133   ac_status=$?
   4134   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4135   test $ac_status = 0; }; }; then
   4136     cross_compiling=no
   4137   else
   4138     if test "$cross_compiling" = maybe; then
   4139 	cross_compiling=yes
   4140     else
   4141 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4142 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4143 as_fn_error 77 "cannot run C compiled programs.
   4144 If you meant to cross compile, use \`--host'.
   4145 See \`config.log' for more details" "$LINENO" 5; }
   4146     fi
   4147   fi
   4148 fi
   4149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4150 printf "%s\n" "$cross_compiling" >&6; }
   4151 
   4152 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4153 ac_clean_files=$ac_clean_files_save
   4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4155 printf %s "checking for suffix of object files... " >&6; }
   4156 if test ${ac_cv_objext+y}
   4157 then :
   4158   printf %s "(cached) " >&6
   4159 else $as_nop
   4160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4161 /* end confdefs.h.  */
   4162 
   4163 int
   4164 main (void)
   4165 {
   4166 
   4167   ;
   4168   return 0;
   4169 }
   4170 _ACEOF
   4171 rm -f conftest.o conftest.obj
   4172 if { { ac_try="$ac_compile"
   4173 case "(($ac_try" in
   4174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4175   *) ac_try_echo=$ac_try;;
   4176 esac
   4177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4178 printf "%s\n" "$ac_try_echo"; } >&5
   4179   (eval "$ac_compile") 2>&5
   4180   ac_status=$?
   4181   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4182   test $ac_status = 0; }
   4183 then :
   4184   for ac_file in conftest.o conftest.obj conftest.*; do
   4185   test -f "$ac_file" || continue;
   4186   case $ac_file in
   4187     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4188     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4189        break;;
   4190   esac
   4191 done
   4192 else $as_nop
   4193   printf "%s\n" "$as_me: failed program was:" >&5
   4194 sed 's/^/| /' conftest.$ac_ext >&5
   4195 
   4196 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4197 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4198 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4199 See \`config.log' for more details" "$LINENO" 5; }
   4200 fi
   4201 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4202 fi
   4203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4204 printf "%s\n" "$ac_cv_objext" >&6; }
   4205 OBJEXT=$ac_cv_objext
   4206 ac_objext=$OBJEXT
   4207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4208 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4209 if test ${ac_cv_c_compiler_gnu+y}
   4210 then :
   4211   printf %s "(cached) " >&6
   4212 else $as_nop
   4213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4214 /* end confdefs.h.  */
   4215 
   4216 int
   4217 main (void)
   4218 {
   4219 #ifndef __GNUC__
   4220        choke me
   4221 #endif
   4222 
   4223   ;
   4224   return 0;
   4225 }
   4226 _ACEOF
   4227 if ac_fn_c_try_compile "$LINENO"
   4228 then :
   4229   ac_compiler_gnu=yes
   4230 else $as_nop
   4231   ac_compiler_gnu=no
   4232 fi
   4233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4234 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4235 
   4236 fi
   4237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4238 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4240 
   4241 if test $ac_compiler_gnu = yes; then
   4242   GCC=yes
   4243 else
   4244   GCC=
   4245 fi
   4246 ac_test_CFLAGS=${CFLAGS+y}
   4247 ac_save_CFLAGS=$CFLAGS
   4248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4249 printf %s "checking whether $CC accepts -g... " >&6; }
   4250 if test ${ac_cv_prog_cc_g+y}
   4251 then :
   4252   printf %s "(cached) " >&6
   4253 else $as_nop
   4254   ac_save_c_werror_flag=$ac_c_werror_flag
   4255    ac_c_werror_flag=yes
   4256    ac_cv_prog_cc_g=no
   4257    CFLAGS="-g"
   4258    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4259 /* end confdefs.h.  */
   4260 
   4261 int
   4262 main (void)
   4263 {
   4264 
   4265   ;
   4266   return 0;
   4267 }
   4268 _ACEOF
   4269 if ac_fn_c_try_compile "$LINENO"
   4270 then :
   4271   ac_cv_prog_cc_g=yes
   4272 else $as_nop
   4273   CFLAGS=""
   4274       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4275 /* end confdefs.h.  */
   4276 
   4277 int
   4278 main (void)
   4279 {
   4280 
   4281   ;
   4282   return 0;
   4283 }
   4284 _ACEOF
   4285 if ac_fn_c_try_compile "$LINENO"
   4286 then :
   4287 
   4288 else $as_nop
   4289   ac_c_werror_flag=$ac_save_c_werror_flag
   4290 	 CFLAGS="-g"
   4291 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4292 /* end confdefs.h.  */
   4293 
   4294 int
   4295 main (void)
   4296 {
   4297 
   4298   ;
   4299   return 0;
   4300 }
   4301 _ACEOF
   4302 if ac_fn_c_try_compile "$LINENO"
   4303 then :
   4304   ac_cv_prog_cc_g=yes
   4305 fi
   4306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4307 fi
   4308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4309 fi
   4310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4311    ac_c_werror_flag=$ac_save_c_werror_flag
   4312 fi
   4313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4314 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4315 if test $ac_test_CFLAGS; then
   4316   CFLAGS=$ac_save_CFLAGS
   4317 elif test $ac_cv_prog_cc_g = yes; then
   4318   if test "$GCC" = yes; then
   4319     CFLAGS="-g -O2"
   4320   else
   4321     CFLAGS="-g"
   4322   fi
   4323 else
   4324   if test "$GCC" = yes; then
   4325     CFLAGS="-O2"
   4326   else
   4327     CFLAGS=
   4328   fi
   4329 fi
   4330 ac_prog_cc_stdc=no
   4331 if test x$ac_prog_cc_stdc = xno
   4332 then :
   4333   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4334 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4335 if test ${ac_cv_prog_cc_c11+y}
   4336 then :
   4337   printf %s "(cached) " >&6
   4338 else $as_nop
   4339   ac_cv_prog_cc_c11=no
   4340 ac_save_CC=$CC
   4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4342 /* end confdefs.h.  */
   4343 $ac_c_conftest_c11_program
   4344 _ACEOF
   4345 for ac_arg in '' -std=gnu11
   4346 do
   4347   CC="$ac_save_CC $ac_arg"
   4348   if ac_fn_c_try_compile "$LINENO"
   4349 then :
   4350   ac_cv_prog_cc_c11=$ac_arg
   4351 fi
   4352 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4353   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4354 done
   4355 rm -f conftest.$ac_ext
   4356 CC=$ac_save_CC
   4357 fi
   4358 
   4359 if test "x$ac_cv_prog_cc_c11" = xno
   4360 then :
   4361   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4362 printf "%s\n" "unsupported" >&6; }
   4363 else $as_nop
   4364   if test "x$ac_cv_prog_cc_c11" = x
   4365 then :
   4366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4367 printf "%s\n" "none needed" >&6; }
   4368 else $as_nop
   4369   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4370 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4371      CC="$CC $ac_cv_prog_cc_c11"
   4372 fi
   4373   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4374   ac_prog_cc_stdc=c11
   4375 fi
   4376 fi
   4377 if test x$ac_prog_cc_stdc = xno
   4378 then :
   4379   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4380 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4381 if test ${ac_cv_prog_cc_c99+y}
   4382 then :
   4383   printf %s "(cached) " >&6
   4384 else $as_nop
   4385   ac_cv_prog_cc_c99=no
   4386 ac_save_CC=$CC
   4387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4388 /* end confdefs.h.  */
   4389 $ac_c_conftest_c99_program
   4390 _ACEOF
   4391 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4392 do
   4393   CC="$ac_save_CC $ac_arg"
   4394   if ac_fn_c_try_compile "$LINENO"
   4395 then :
   4396   ac_cv_prog_cc_c99=$ac_arg
   4397 fi
   4398 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4399   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4400 done
   4401 rm -f conftest.$ac_ext
   4402 CC=$ac_save_CC
   4403 fi
   4404 
   4405 if test "x$ac_cv_prog_cc_c99" = xno
   4406 then :
   4407   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4408 printf "%s\n" "unsupported" >&6; }
   4409 else $as_nop
   4410   if test "x$ac_cv_prog_cc_c99" = x
   4411 then :
   4412   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4413 printf "%s\n" "none needed" >&6; }
   4414 else $as_nop
   4415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4416 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4417      CC="$CC $ac_cv_prog_cc_c99"
   4418 fi
   4419   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4420   ac_prog_cc_stdc=c99
   4421 fi
   4422 fi
   4423 if test x$ac_prog_cc_stdc = xno
   4424 then :
   4425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4426 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4427 if test ${ac_cv_prog_cc_c89+y}
   4428 then :
   4429   printf %s "(cached) " >&6
   4430 else $as_nop
   4431   ac_cv_prog_cc_c89=no
   4432 ac_save_CC=$CC
   4433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4434 /* end confdefs.h.  */
   4435 $ac_c_conftest_c89_program
   4436 _ACEOF
   4437 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4438 do
   4439   CC="$ac_save_CC $ac_arg"
   4440   if ac_fn_c_try_compile "$LINENO"
   4441 then :
   4442   ac_cv_prog_cc_c89=$ac_arg
   4443 fi
   4444 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4445   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4446 done
   4447 rm -f conftest.$ac_ext
   4448 CC=$ac_save_CC
   4449 fi
   4450 
   4451 if test "x$ac_cv_prog_cc_c89" = xno
   4452 then :
   4453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4454 printf "%s\n" "unsupported" >&6; }
   4455 else $as_nop
   4456   if test "x$ac_cv_prog_cc_c89" = x
   4457 then :
   4458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4459 printf "%s\n" "none needed" >&6; }
   4460 else $as_nop
   4461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4462 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4463      CC="$CC $ac_cv_prog_cc_c89"
   4464 fi
   4465   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4466   ac_prog_cc_stdc=c89
   4467 fi
   4468 fi
   4469 
   4470 ac_ext=c
   4471 ac_cpp='$CPP $CPPFLAGS'
   4472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4475 
   4476 
   4477   ac_ext=c
   4478 ac_cpp='$CPP $CPPFLAGS'
   4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4483 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4484 if test ${am_cv_prog_cc_c_o+y}
   4485 then :
   4486   printf %s "(cached) " >&6
   4487 else $as_nop
   4488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4489 /* end confdefs.h.  */
   4490 
   4491 int
   4492 main (void)
   4493 {
   4494 
   4495   ;
   4496   return 0;
   4497 }
   4498 _ACEOF
   4499   # Make sure it works both with $CC and with simple cc.
   4500   # Following AC_PROG_CC_C_O, we do the test twice because some
   4501   # compilers refuse to overwrite an existing .o file with -o,
   4502   # though they will create one.
   4503   am_cv_prog_cc_c_o=yes
   4504   for am_i in 1 2; do
   4505     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4506    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4507    ac_status=$?
   4508    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4509    (exit $ac_status); } \
   4510          && test -f conftest2.$ac_objext; then
   4511       : OK
   4512     else
   4513       am_cv_prog_cc_c_o=no
   4514       break
   4515     fi
   4516   done
   4517   rm -f core conftest*
   4518   unset am_i
   4519 fi
   4520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4521 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4522 if test "$am_cv_prog_cc_c_o" != yes; then
   4523    # Losing compiler, so override with the script.
   4524    # FIXME: It is wrong to rewrite CC.
   4525    # But if we don't then we get into trouble of one sort or another.
   4526    # A longer-term fix would be to have automake use am__CC in this case,
   4527    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4528    CC="$am_aux_dir/compile $CC"
   4529 fi
   4530 ac_ext=c
   4531 ac_cpp='$CPP $CPPFLAGS'
   4532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4535 
   4536 
   4537 depcc="$CC"   am_compiler_list=
   4538 
   4539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4540 printf %s "checking dependency style of $depcc... " >&6; }
   4541 if test ${am_cv_CC_dependencies_compiler_type+y}
   4542 then :
   4543   printf %s "(cached) " >&6
   4544 else $as_nop
   4545   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4546   # We make a subdir and do the tests there.  Otherwise we can end up
   4547   # making bogus files that we don't know about and never remove.  For
   4548   # instance it was reported that on HP-UX the gcc test will end up
   4549   # making a dummy file named 'D' -- because '-MD' means "put the output
   4550   # in D".
   4551   rm -rf conftest.dir
   4552   mkdir conftest.dir
   4553   # Copy depcomp to subdir because otherwise we won't find it if we're
   4554   # using a relative directory.
   4555   cp "$am_depcomp" conftest.dir
   4556   cd conftest.dir
   4557   # We will build objects and dependencies in a subdirectory because
   4558   # it helps to detect inapplicable dependency modes.  For instance
   4559   # both Tru64's cc and ICC support -MD to output dependencies as a
   4560   # side effect of compilation, but ICC will put the dependencies in
   4561   # the current directory while Tru64 will put them in the object
   4562   # directory.
   4563   mkdir sub
   4564 
   4565   am_cv_CC_dependencies_compiler_type=none
   4566   if test "$am_compiler_list" = ""; then
   4567      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4568   fi
   4569   am__universal=false
   4570   case " $depcc " in #(
   4571      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4572      esac
   4573 
   4574   for depmode in $am_compiler_list; do
   4575     # Setup a source with many dependencies, because some compilers
   4576     # like to wrap large dependency lists on column 80 (with \), and
   4577     # we should not choose a depcomp mode which is confused by this.
   4578     #
   4579     # We need to recreate these files for each test, as the compiler may
   4580     # overwrite some of them when testing with obscure command lines.
   4581     # This happens at least with the AIX C compiler.
   4582     : > sub/conftest.c
   4583     for i in 1 2 3 4 5 6; do
   4584       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4585       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4586       # Solaris 10 /bin/sh.
   4587       echo '/* dummy */' > sub/conftst$i.h
   4588     done
   4589     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4590 
   4591     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4592     # mode.  It turns out that the SunPro C++ compiler does not properly
   4593     # handle '-M -o', and we need to detect this.  Also, some Intel
   4594     # versions had trouble with output in subdirs.
   4595     am__obj=sub/conftest.${OBJEXT-o}
   4596     am__minus_obj="-o $am__obj"
   4597     case $depmode in
   4598     gcc)
   4599       # This depmode causes a compiler race in universal mode.
   4600       test "$am__universal" = false || continue
   4601       ;;
   4602     nosideeffect)
   4603       # After this tag, mechanisms are not by side-effect, so they'll
   4604       # only be used when explicitly requested.
   4605       if test "x$enable_dependency_tracking" = xyes; then
   4606 	continue
   4607       else
   4608 	break
   4609       fi
   4610       ;;
   4611     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4612       # This compiler won't grok '-c -o', but also, the minuso test has
   4613       # not run yet.  These depmodes are late enough in the game, and
   4614       # so weak that their functioning should not be impacted.
   4615       am__obj=conftest.${OBJEXT-o}
   4616       am__minus_obj=
   4617       ;;
   4618     none) break ;;
   4619     esac
   4620     if depmode=$depmode \
   4621        source=sub/conftest.c object=$am__obj \
   4622        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4623        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4624          >/dev/null 2>conftest.err &&
   4625        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4626        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4627        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4628        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4629       # icc doesn't choke on unknown options, it will just issue warnings
   4630       # or remarks (even with -Werror).  So we grep stderr for any message
   4631       # that says an option was ignored or not supported.
   4632       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4633       #   icc: Command line warning: ignoring option '-M'; no argument required
   4634       # The diagnosis changed in icc 8.0:
   4635       #   icc: Command line remark: option '-MP' not supported
   4636       if (grep 'ignoring option' conftest.err ||
   4637           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4638         am_cv_CC_dependencies_compiler_type=$depmode
   4639         break
   4640       fi
   4641     fi
   4642   done
   4643 
   4644   cd ..
   4645   rm -rf conftest.dir
   4646 else
   4647   am_cv_CC_dependencies_compiler_type=none
   4648 fi
   4649 
   4650 fi
   4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4652 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4653 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4654 
   4655  if
   4656   test "x$enable_dependency_tracking" != xno \
   4657   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4658   am__fastdepCC_TRUE=
   4659   am__fastdepCC_FALSE='#'
   4660 else
   4661   am__fastdepCC_TRUE='#'
   4662   am__fastdepCC_FALSE=
   4663 fi
   4664 
   4665 
   4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4667 printf %s "checking for a sed that does not truncate output... " >&6; }
   4668 if test ${ac_cv_path_SED+y}
   4669 then :
   4670   printf %s "(cached) " >&6
   4671 else $as_nop
   4672             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4673      for ac_i in 1 2 3 4 5 6 7; do
   4674        ac_script="$ac_script$as_nl$ac_script"
   4675      done
   4676      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4677      { ac_script=; unset ac_script;}
   4678      if test -z "$SED"; then
   4679   ac_path_SED_found=false
   4680   # Loop through the user's path and test for each of PROGNAME-LIST
   4681   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4682 for as_dir in $PATH
   4683 do
   4684   IFS=$as_save_IFS
   4685   case $as_dir in #(((
   4686     '') as_dir=./ ;;
   4687     */) ;;
   4688     *) as_dir=$as_dir/ ;;
   4689   esac
   4690     for ac_prog in sed gsed
   4691    do
   4692     for ac_exec_ext in '' $ac_executable_extensions; do
   4693       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4694       as_fn_executable_p "$ac_path_SED" || continue
   4695 # Check for GNU ac_path_SED and select it if it is found.
   4696   # Check for GNU $ac_path_SED
   4697 case `"$ac_path_SED" --version 2>&1` in
   4698 *GNU*)
   4699   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4700 *)
   4701   ac_count=0
   4702   printf %s 0123456789 >"conftest.in"
   4703   while :
   4704   do
   4705     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4706     mv "conftest.tmp" "conftest.in"
   4707     cp "conftest.in" "conftest.nl"
   4708     printf "%s\n" '' >> "conftest.nl"
   4709     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4710     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4711     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4712     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4713       # Best one so far, save it but keep looking for a better one
   4714       ac_cv_path_SED="$ac_path_SED"
   4715       ac_path_SED_max=$ac_count
   4716     fi
   4717     # 10*(2^10) chars as input seems more than enough
   4718     test $ac_count -gt 10 && break
   4719   done
   4720   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4721 esac
   4722 
   4723       $ac_path_SED_found && break 3
   4724     done
   4725   done
   4726   done
   4727 IFS=$as_save_IFS
   4728   if test -z "$ac_cv_path_SED"; then
   4729     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4730   fi
   4731 else
   4732   ac_cv_path_SED=$SED
   4733 fi
   4734 
   4735 fi
   4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4737 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4738  SED="$ac_cv_path_SED"
   4739   rm -f conftest.sed
   4740 
   4741 test -z "$SED" && SED=sed
   4742 Xsed="$SED -e 1s/^X//"
   4743 
   4744 
   4745 
   4746 
   4747 
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4755 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4756 if test ${ac_cv_path_GREP+y}
   4757 then :
   4758   printf %s "(cached) " >&6
   4759 else $as_nop
   4760   if test -z "$GREP"; then
   4761   ac_path_GREP_found=false
   4762   # Loop through the user's path and test for each of PROGNAME-LIST
   4763   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4764 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4765 do
   4766   IFS=$as_save_IFS
   4767   case $as_dir in #(((
   4768     '') as_dir=./ ;;
   4769     */) ;;
   4770     *) as_dir=$as_dir/ ;;
   4771   esac
   4772     for ac_prog in grep ggrep
   4773    do
   4774     for ac_exec_ext in '' $ac_executable_extensions; do
   4775       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4776       as_fn_executable_p "$ac_path_GREP" || continue
   4777 # Check for GNU ac_path_GREP and select it if it is found.
   4778   # Check for GNU $ac_path_GREP
   4779 case `"$ac_path_GREP" --version 2>&1` in
   4780 *GNU*)
   4781   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4782 *)
   4783   ac_count=0
   4784   printf %s 0123456789 >"conftest.in"
   4785   while :
   4786   do
   4787     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4788     mv "conftest.tmp" "conftest.in"
   4789     cp "conftest.in" "conftest.nl"
   4790     printf "%s\n" 'GREP' >> "conftest.nl"
   4791     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4792     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4793     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4794     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4795       # Best one so far, save it but keep looking for a better one
   4796       ac_cv_path_GREP="$ac_path_GREP"
   4797       ac_path_GREP_max=$ac_count
   4798     fi
   4799     # 10*(2^10) chars as input seems more than enough
   4800     test $ac_count -gt 10 && break
   4801   done
   4802   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4803 esac
   4804 
   4805       $ac_path_GREP_found && break 3
   4806     done
   4807   done
   4808   done
   4809 IFS=$as_save_IFS
   4810   if test -z "$ac_cv_path_GREP"; then
   4811     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4812   fi
   4813 else
   4814   ac_cv_path_GREP=$GREP
   4815 fi
   4816 
   4817 fi
   4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4819 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4820  GREP="$ac_cv_path_GREP"
   4821 
   4822 
   4823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4824 printf %s "checking for egrep... " >&6; }
   4825 if test ${ac_cv_path_EGREP+y}
   4826 then :
   4827   printf %s "(cached) " >&6
   4828 else $as_nop
   4829   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4830    then ac_cv_path_EGREP="$GREP -E"
   4831    else
   4832      if test -z "$EGREP"; then
   4833   ac_path_EGREP_found=false
   4834   # Loop through the user's path and test for each of PROGNAME-LIST
   4835   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4836 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4837 do
   4838   IFS=$as_save_IFS
   4839   case $as_dir in #(((
   4840     '') as_dir=./ ;;
   4841     */) ;;
   4842     *) as_dir=$as_dir/ ;;
   4843   esac
   4844     for ac_prog in egrep
   4845    do
   4846     for ac_exec_ext in '' $ac_executable_extensions; do
   4847       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4848       as_fn_executable_p "$ac_path_EGREP" || continue
   4849 # Check for GNU ac_path_EGREP and select it if it is found.
   4850   # Check for GNU $ac_path_EGREP
   4851 case `"$ac_path_EGREP" --version 2>&1` in
   4852 *GNU*)
   4853   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4854 *)
   4855   ac_count=0
   4856   printf %s 0123456789 >"conftest.in"
   4857   while :
   4858   do
   4859     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4860     mv "conftest.tmp" "conftest.in"
   4861     cp "conftest.in" "conftest.nl"
   4862     printf "%s\n" 'EGREP' >> "conftest.nl"
   4863     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4864     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4865     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4866     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4867       # Best one so far, save it but keep looking for a better one
   4868       ac_cv_path_EGREP="$ac_path_EGREP"
   4869       ac_path_EGREP_max=$ac_count
   4870     fi
   4871     # 10*(2^10) chars as input seems more than enough
   4872     test $ac_count -gt 10 && break
   4873   done
   4874   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4875 esac
   4876 
   4877       $ac_path_EGREP_found && break 3
   4878     done
   4879   done
   4880   done
   4881 IFS=$as_save_IFS
   4882   if test -z "$ac_cv_path_EGREP"; then
   4883     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4884   fi
   4885 else
   4886   ac_cv_path_EGREP=$EGREP
   4887 fi
   4888 
   4889    fi
   4890 fi
   4891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4892 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4893  EGREP="$ac_cv_path_EGREP"
   4894 
   4895 
   4896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4897 printf %s "checking for fgrep... " >&6; }
   4898 if test ${ac_cv_path_FGREP+y}
   4899 then :
   4900   printf %s "(cached) " >&6
   4901 else $as_nop
   4902   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4903    then ac_cv_path_FGREP="$GREP -F"
   4904    else
   4905      if test -z "$FGREP"; then
   4906   ac_path_FGREP_found=false
   4907   # Loop through the user's path and test for each of PROGNAME-LIST
   4908   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4909 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4910 do
   4911   IFS=$as_save_IFS
   4912   case $as_dir in #(((
   4913     '') as_dir=./ ;;
   4914     */) ;;
   4915     *) as_dir=$as_dir/ ;;
   4916   esac
   4917     for ac_prog in fgrep
   4918    do
   4919     for ac_exec_ext in '' $ac_executable_extensions; do
   4920       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   4921       as_fn_executable_p "$ac_path_FGREP" || continue
   4922 # Check for GNU ac_path_FGREP and select it if it is found.
   4923   # Check for GNU $ac_path_FGREP
   4924 case `"$ac_path_FGREP" --version 2>&1` in
   4925 *GNU*)
   4926   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4927 *)
   4928   ac_count=0
   4929   printf %s 0123456789 >"conftest.in"
   4930   while :
   4931   do
   4932     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4933     mv "conftest.tmp" "conftest.in"
   4934     cp "conftest.in" "conftest.nl"
   4935     printf "%s\n" 'FGREP' >> "conftest.nl"
   4936     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4937     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4938     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4939     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4940       # Best one so far, save it but keep looking for a better one
   4941       ac_cv_path_FGREP="$ac_path_FGREP"
   4942       ac_path_FGREP_max=$ac_count
   4943     fi
   4944     # 10*(2^10) chars as input seems more than enough
   4945     test $ac_count -gt 10 && break
   4946   done
   4947   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4948 esac
   4949 
   4950       $ac_path_FGREP_found && break 3
   4951     done
   4952   done
   4953   done
   4954 IFS=$as_save_IFS
   4955   if test -z "$ac_cv_path_FGREP"; then
   4956     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4957   fi
   4958 else
   4959   ac_cv_path_FGREP=$FGREP
   4960 fi
   4961 
   4962    fi
   4963 fi
   4964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4965 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   4966  FGREP="$ac_cv_path_FGREP"
   4967 
   4968 
   4969 test -z "$GREP" && GREP=grep
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 # Check whether --with-gnu-ld was given.
   4990 if test ${with_gnu_ld+y}
   4991 then :
   4992   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4993 else $as_nop
   4994   with_gnu_ld=no
   4995 fi
   4996 
   4997 ac_prog=ld
   4998 if test yes = "$GCC"; then
   4999   # Check if gcc -print-prog-name=ld gives a path.
   5000   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5001 printf %s "checking for ld used by $CC... " >&6; }
   5002   case $host in
   5003   *-*-mingw*)
   5004     # gcc leaves a trailing carriage return, which upsets mingw
   5005     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5006   *)
   5007     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5008   esac
   5009   case $ac_prog in
   5010     # Accept absolute paths.
   5011     [\\/]* | ?:[\\/]*)
   5012       re_direlt='/[^/][^/]*/\.\./'
   5013       # Canonicalize the pathname of ld
   5014       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5015       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5016 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5017       done
   5018       test -z "$LD" && LD=$ac_prog
   5019       ;;
   5020   "")
   5021     # If it fails, then pretend we aren't using GCC.
   5022     ac_prog=ld
   5023     ;;
   5024   *)
   5025     # If it is relative, then search for the first ld in PATH.
   5026     with_gnu_ld=unknown
   5027     ;;
   5028   esac
   5029 elif test yes = "$with_gnu_ld"; then
   5030   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5031 printf %s "checking for GNU ld... " >&6; }
   5032 else
   5033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5034 printf %s "checking for non-GNU ld... " >&6; }
   5035 fi
   5036 if test ${lt_cv_path_LD+y}
   5037 then :
   5038   printf %s "(cached) " >&6
   5039 else $as_nop
   5040   if test -z "$LD"; then
   5041   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5042   for ac_dir in $PATH; do
   5043     IFS=$lt_save_ifs
   5044     test -z "$ac_dir" && ac_dir=.
   5045     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5046       lt_cv_path_LD=$ac_dir/$ac_prog
   5047       # Check to see if the program is GNU ld.  I'd rather use --version,
   5048       # but apparently some variants of GNU ld only accept -v.
   5049       # Break only if it was the GNU/non-GNU ld that we prefer.
   5050       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5051       *GNU* | *'with BFD'*)
   5052 	test no != "$with_gnu_ld" && break
   5053 	;;
   5054       *)
   5055 	test yes != "$with_gnu_ld" && break
   5056 	;;
   5057       esac
   5058     fi
   5059   done
   5060   IFS=$lt_save_ifs
   5061 else
   5062   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5063 fi
   5064 fi
   5065 
   5066 LD=$lt_cv_path_LD
   5067 if test -n "$LD"; then
   5068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5069 printf "%s\n" "$LD" >&6; }
   5070 else
   5071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5072 printf "%s\n" "no" >&6; }
   5073 fi
   5074 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5076 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5077 if test ${lt_cv_prog_gnu_ld+y}
   5078 then :
   5079   printf %s "(cached) " >&6
   5080 else $as_nop
   5081   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5082 case `$LD -v 2>&1 </dev/null` in
   5083 *GNU* | *'with BFD'*)
   5084   lt_cv_prog_gnu_ld=yes
   5085   ;;
   5086 *)
   5087   lt_cv_prog_gnu_ld=no
   5088   ;;
   5089 esac
   5090 fi
   5091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5092 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5093 with_gnu_ld=$lt_cv_prog_gnu_ld
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5104 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5105 if test ${lt_cv_path_NM+y}
   5106 then :
   5107   printf %s "(cached) " >&6
   5108 else $as_nop
   5109   if test -n "$NM"; then
   5110   # Let the user override the test.
   5111   lt_cv_path_NM=$NM
   5112 else
   5113   lt_nm_to_check=${ac_tool_prefix}nm
   5114   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5115     lt_nm_to_check="$lt_nm_to_check nm"
   5116   fi
   5117   for lt_tmp_nm in $lt_nm_to_check; do
   5118     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5119     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5120       IFS=$lt_save_ifs
   5121       test -z "$ac_dir" && ac_dir=.
   5122       tmp_nm=$ac_dir/$lt_tmp_nm
   5123       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5124 	# Check to see if the nm accepts a BSD-compat flag.
   5125 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5126 	#   nm: unknown option "B" ignored
   5127 	# Tru64's nm complains that /dev/null is an invalid object file
   5128 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5129 	case $build_os in
   5130 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5131 	*) lt_bad_file=/dev/null ;;
   5132 	esac
   5133 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5134 	*$lt_bad_file* | *'Invalid file or object type'*)
   5135 	  lt_cv_path_NM="$tmp_nm -B"
   5136 	  break 2
   5137 	  ;;
   5138 	*)
   5139 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5140 	  */dev/null*)
   5141 	    lt_cv_path_NM="$tmp_nm -p"
   5142 	    break 2
   5143 	    ;;
   5144 	  *)
   5145 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5146 	    continue # so that we can try to find one that supports BSD flags
   5147 	    ;;
   5148 	  esac
   5149 	  ;;
   5150 	esac
   5151       fi
   5152     done
   5153     IFS=$lt_save_ifs
   5154   done
   5155   : ${lt_cv_path_NM=no}
   5156 fi
   5157 fi
   5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5159 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5160 if test no != "$lt_cv_path_NM"; then
   5161   NM=$lt_cv_path_NM
   5162 else
   5163   # Didn't find any BSD compatible name lister, look for dumpbin.
   5164   if test -n "$DUMPBIN"; then :
   5165     # Let the user override the test.
   5166   else
   5167     if test -n "$ac_tool_prefix"; then
   5168   for ac_prog in dumpbin "link -dump"
   5169   do
   5170     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5171 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5173 printf %s "checking for $ac_word... " >&6; }
   5174 if test ${ac_cv_prog_DUMPBIN+y}
   5175 then :
   5176   printf %s "(cached) " >&6
   5177 else $as_nop
   5178   if test -n "$DUMPBIN"; then
   5179   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5180 else
   5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5182 for as_dir in $PATH
   5183 do
   5184   IFS=$as_save_IFS
   5185   case $as_dir in #(((
   5186     '') as_dir=./ ;;
   5187     */) ;;
   5188     *) as_dir=$as_dir/ ;;
   5189   esac
   5190     for ac_exec_ext in '' $ac_executable_extensions; do
   5191   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5192     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5193     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5194     break 2
   5195   fi
   5196 done
   5197   done
   5198 IFS=$as_save_IFS
   5199 
   5200 fi
   5201 fi
   5202 DUMPBIN=$ac_cv_prog_DUMPBIN
   5203 if test -n "$DUMPBIN"; then
   5204   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5205 printf "%s\n" "$DUMPBIN" >&6; }
   5206 else
   5207   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5208 printf "%s\n" "no" >&6; }
   5209 fi
   5210 
   5211 
   5212     test -n "$DUMPBIN" && break
   5213   done
   5214 fi
   5215 if test -z "$DUMPBIN"; then
   5216   ac_ct_DUMPBIN=$DUMPBIN
   5217   for ac_prog in dumpbin "link -dump"
   5218 do
   5219   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5220 set dummy $ac_prog; ac_word=$2
   5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5222 printf %s "checking for $ac_word... " >&6; }
   5223 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5224 then :
   5225   printf %s "(cached) " >&6
   5226 else $as_nop
   5227   if test -n "$ac_ct_DUMPBIN"; then
   5228   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5229 else
   5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5231 for as_dir in $PATH
   5232 do
   5233   IFS=$as_save_IFS
   5234   case $as_dir in #(((
   5235     '') as_dir=./ ;;
   5236     */) ;;
   5237     *) as_dir=$as_dir/ ;;
   5238   esac
   5239     for ac_exec_ext in '' $ac_executable_extensions; do
   5240   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5241     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5242     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5243     break 2
   5244   fi
   5245 done
   5246   done
   5247 IFS=$as_save_IFS
   5248 
   5249 fi
   5250 fi
   5251 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5252 if test -n "$ac_ct_DUMPBIN"; then
   5253   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5254 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5255 else
   5256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5257 printf "%s\n" "no" >&6; }
   5258 fi
   5259 
   5260 
   5261   test -n "$ac_ct_DUMPBIN" && break
   5262 done
   5263 
   5264   if test "x$ac_ct_DUMPBIN" = x; then
   5265     DUMPBIN=":"
   5266   else
   5267     case $cross_compiling:$ac_tool_warned in
   5268 yes:)
   5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5270 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5271 ac_tool_warned=yes ;;
   5272 esac
   5273     DUMPBIN=$ac_ct_DUMPBIN
   5274   fi
   5275 fi
   5276 
   5277     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5278     *COFF*)
   5279       DUMPBIN="$DUMPBIN -symbols -headers"
   5280       ;;
   5281     *)
   5282       DUMPBIN=:
   5283       ;;
   5284     esac
   5285   fi
   5286 
   5287   if test : != "$DUMPBIN"; then
   5288     NM=$DUMPBIN
   5289   fi
   5290 fi
   5291 test -z "$NM" && NM=nm
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5299 printf %s "checking the name lister ($NM) interface... " >&6; }
   5300 if test ${lt_cv_nm_interface+y}
   5301 then :
   5302   printf %s "(cached) " >&6
   5303 else $as_nop
   5304   lt_cv_nm_interface="BSD nm"
   5305   echo "int some_variable = 0;" > conftest.$ac_ext
   5306   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5307   (eval "$ac_compile" 2>conftest.err)
   5308   cat conftest.err >&5
   5309   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5310   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5311   cat conftest.err >&5
   5312   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5313   cat conftest.out >&5
   5314   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5315     lt_cv_nm_interface="MS dumpbin"
   5316   fi
   5317   rm -f conftest*
   5318 fi
   5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5320 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5321 
   5322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5323 printf %s "checking whether ln -s works... " >&6; }
   5324 LN_S=$as_ln_s
   5325 if test "$LN_S" = "ln -s"; then
   5326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5327 printf "%s\n" "yes" >&6; }
   5328 else
   5329   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5330 printf "%s\n" "no, using $LN_S" >&6; }
   5331 fi
   5332 
   5333 # find the maximum length of command line arguments
   5334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5335 printf %s "checking the maximum length of command line arguments... " >&6; }
   5336 if test ${lt_cv_sys_max_cmd_len+y}
   5337 then :
   5338   printf %s "(cached) " >&6
   5339 else $as_nop
   5340     i=0
   5341   teststring=ABCD
   5342 
   5343   case $build_os in
   5344   msdosdjgpp*)
   5345     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5346     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5347     # during glob expansion).  Even if it were fixed, the result of this
   5348     # check would be larger than it should be.
   5349     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5350     ;;
   5351 
   5352   gnu*)
   5353     # Under GNU Hurd, this test is not required because there is
   5354     # no limit to the length of command line arguments.
   5355     # Libtool will interpret -1 as no limit whatsoever
   5356     lt_cv_sys_max_cmd_len=-1;
   5357     ;;
   5358 
   5359   cygwin* | mingw* | cegcc*)
   5360     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5361     # about 5 minutes as the teststring grows exponentially.
   5362     # Worse, since 9x/ME are not pre-emptively multitasking,
   5363     # you end up with a "frozen" computer, even though with patience
   5364     # the test eventually succeeds (with a max line length of 256k).
   5365     # Instead, let's just punt: use the minimum linelength reported by
   5366     # all of the supported platforms: 8192 (on NT/2K/XP).
   5367     lt_cv_sys_max_cmd_len=8192;
   5368     ;;
   5369 
   5370   mint*)
   5371     # On MiNT this can take a long time and run out of memory.
   5372     lt_cv_sys_max_cmd_len=8192;
   5373     ;;
   5374 
   5375   amigaos*)
   5376     # On AmigaOS with pdksh, this test takes hours, literally.
   5377     # So we just punt and use a minimum line length of 8192.
   5378     lt_cv_sys_max_cmd_len=8192;
   5379     ;;
   5380 
   5381   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5382     # This has been around since 386BSD, at least.  Likely further.
   5383     if test -x /sbin/sysctl; then
   5384       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5385     elif test -x /usr/sbin/sysctl; then
   5386       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5387     else
   5388       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5389     fi
   5390     # And add a safety zone
   5391     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5392     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5393     ;;
   5394 
   5395   interix*)
   5396     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5397     lt_cv_sys_max_cmd_len=196608
   5398     ;;
   5399 
   5400   os2*)
   5401     # The test takes a long time on OS/2.
   5402     lt_cv_sys_max_cmd_len=8192
   5403     ;;
   5404 
   5405   osf*)
   5406     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5407     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5408     # nice to cause kernel panics so lets avoid the loop below.
   5409     # First set a reasonable default.
   5410     lt_cv_sys_max_cmd_len=16384
   5411     #
   5412     if test -x /sbin/sysconfig; then
   5413       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5414         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5415       esac
   5416     fi
   5417     ;;
   5418   sco3.2v5*)
   5419     lt_cv_sys_max_cmd_len=102400
   5420     ;;
   5421   sysv5* | sco5v6* | sysv4.2uw2*)
   5422     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5423     if test -n "$kargmax"; then
   5424       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5425     else
   5426       lt_cv_sys_max_cmd_len=32768
   5427     fi
   5428     ;;
   5429   *)
   5430     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5431     if test -n "$lt_cv_sys_max_cmd_len" && \
   5432        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5433       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5434       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5435     else
   5436       # Make teststring a little bigger before we do anything with it.
   5437       # a 1K string should be a reasonable start.
   5438       for i in 1 2 3 4 5 6 7 8; do
   5439         teststring=$teststring$teststring
   5440       done
   5441       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5442       # If test is not a shell built-in, we'll probably end up computing a
   5443       # maximum length that is only half of the actual maximum length, but
   5444       # we can't tell.
   5445       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5446 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5447 	      test 17 != "$i" # 1/2 MB should be enough
   5448       do
   5449         i=`expr $i + 1`
   5450         teststring=$teststring$teststring
   5451       done
   5452       # Only check the string length outside the loop.
   5453       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5454       teststring=
   5455       # Add a significant safety factor because C++ compilers can tack on
   5456       # massive amounts of additional arguments before passing them to the
   5457       # linker.  It appears as though 1/2 is a usable value.
   5458       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5459     fi
   5460     ;;
   5461   esac
   5462 
   5463 fi
   5464 
   5465 if test -n "$lt_cv_sys_max_cmd_len"; then
   5466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5467 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5468 else
   5469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5470 printf "%s\n" "none" >&6; }
   5471 fi
   5472 max_cmd_len=$lt_cv_sys_max_cmd_len
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 : ${CP="cp -f"}
   5480 : ${MV="mv -f"}
   5481 : ${RM="rm -f"}
   5482 
   5483 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5484   lt_unset=unset
   5485 else
   5486   lt_unset=false
   5487 fi
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 # test EBCDIC or ASCII
   5494 case `echo X|tr X '\101'` in
   5495  A) # ASCII based system
   5496     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5497   lt_SP2NL='tr \040 \012'
   5498   lt_NL2SP='tr \015\012 \040\040'
   5499   ;;
   5500  *) # EBCDIC based system
   5501   lt_SP2NL='tr \100 \n'
   5502   lt_NL2SP='tr \r\n \100\100'
   5503   ;;
   5504 esac
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5515 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5516 if test ${lt_cv_to_host_file_cmd+y}
   5517 then :
   5518   printf %s "(cached) " >&6
   5519 else $as_nop
   5520   case $host in
   5521   *-*-mingw* )
   5522     case $build in
   5523       *-*-mingw* ) # actually msys
   5524         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5525         ;;
   5526       *-*-cygwin* )
   5527         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5528         ;;
   5529       * ) # otherwise, assume *nix
   5530         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5531         ;;
   5532     esac
   5533     ;;
   5534   *-*-cygwin* )
   5535     case $build in
   5536       *-*-mingw* ) # actually msys
   5537         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5538         ;;
   5539       *-*-cygwin* )
   5540         lt_cv_to_host_file_cmd=func_convert_file_noop
   5541         ;;
   5542       * ) # otherwise, assume *nix
   5543         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5544         ;;
   5545     esac
   5546     ;;
   5547   * ) # unhandled hosts (and "normal" native builds)
   5548     lt_cv_to_host_file_cmd=func_convert_file_noop
   5549     ;;
   5550 esac
   5551 
   5552 fi
   5553 
   5554 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5556 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5563 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5564 if test ${lt_cv_to_tool_file_cmd+y}
   5565 then :
   5566   printf %s "(cached) " >&6
   5567 else $as_nop
   5568   #assume ordinary cross tools, or native build.
   5569 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5570 case $host in
   5571   *-*-mingw* )
   5572     case $build in
   5573       *-*-mingw* ) # actually msys
   5574         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5575         ;;
   5576     esac
   5577     ;;
   5578 esac
   5579 
   5580 fi
   5581 
   5582 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5584 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5591 printf %s "checking for $LD option to reload object files... " >&6; }
   5592 if test ${lt_cv_ld_reload_flag+y}
   5593 then :
   5594   printf %s "(cached) " >&6
   5595 else $as_nop
   5596   lt_cv_ld_reload_flag='-r'
   5597 fi
   5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5599 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5600 reload_flag=$lt_cv_ld_reload_flag
   5601 case $reload_flag in
   5602 "" | " "*) ;;
   5603 *) reload_flag=" $reload_flag" ;;
   5604 esac
   5605 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5606 case $host_os in
   5607   cygwin* | mingw* | pw32* | cegcc*)
   5608     if test yes != "$GCC"; then
   5609       reload_cmds=false
   5610     fi
   5611     ;;
   5612   darwin*)
   5613     if test yes = "$GCC"; then
   5614       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5615     else
   5616       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5617     fi
   5618     ;;
   5619 esac
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 if test -n "$ac_tool_prefix"; then
   5630   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5631 set dummy ${ac_tool_prefix}file; ac_word=$2
   5632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5633 printf %s "checking for $ac_word... " >&6; }
   5634 if test ${ac_cv_prog_FILECMD+y}
   5635 then :
   5636   printf %s "(cached) " >&6
   5637 else $as_nop
   5638   if test -n "$FILECMD"; then
   5639   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5640 else
   5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5642 for as_dir in $PATH
   5643 do
   5644   IFS=$as_save_IFS
   5645   case $as_dir in #(((
   5646     '') as_dir=./ ;;
   5647     */) ;;
   5648     *) as_dir=$as_dir/ ;;
   5649   esac
   5650     for ac_exec_ext in '' $ac_executable_extensions; do
   5651   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5652     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5653     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5654     break 2
   5655   fi
   5656 done
   5657   done
   5658 IFS=$as_save_IFS
   5659 
   5660 fi
   5661 fi
   5662 FILECMD=$ac_cv_prog_FILECMD
   5663 if test -n "$FILECMD"; then
   5664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5665 printf "%s\n" "$FILECMD" >&6; }
   5666 else
   5667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5668 printf "%s\n" "no" >&6; }
   5669 fi
   5670 
   5671 
   5672 fi
   5673 if test -z "$ac_cv_prog_FILECMD"; then
   5674   ac_ct_FILECMD=$FILECMD
   5675   # Extract the first word of "file", so it can be a program name with args.
   5676 set dummy file; ac_word=$2
   5677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5678 printf %s "checking for $ac_word... " >&6; }
   5679 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5680 then :
   5681   printf %s "(cached) " >&6
   5682 else $as_nop
   5683   if test -n "$ac_ct_FILECMD"; then
   5684   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5685 else
   5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5687 for as_dir in $PATH
   5688 do
   5689   IFS=$as_save_IFS
   5690   case $as_dir in #(((
   5691     '') as_dir=./ ;;
   5692     */) ;;
   5693     *) as_dir=$as_dir/ ;;
   5694   esac
   5695     for ac_exec_ext in '' $ac_executable_extensions; do
   5696   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5697     ac_cv_prog_ac_ct_FILECMD="file"
   5698     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5699     break 2
   5700   fi
   5701 done
   5702   done
   5703 IFS=$as_save_IFS
   5704 
   5705 fi
   5706 fi
   5707 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5708 if test -n "$ac_ct_FILECMD"; then
   5709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5710 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5711 else
   5712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5713 printf "%s\n" "no" >&6; }
   5714 fi
   5715 
   5716   if test "x$ac_ct_FILECMD" = x; then
   5717     FILECMD=":"
   5718   else
   5719     case $cross_compiling:$ac_tool_warned in
   5720 yes:)
   5721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5722 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5723 ac_tool_warned=yes ;;
   5724 esac
   5725     FILECMD=$ac_ct_FILECMD
   5726   fi
   5727 else
   5728   FILECMD="$ac_cv_prog_FILECMD"
   5729 fi
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 if test -n "$ac_tool_prefix"; then
   5738   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5739 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5741 printf %s "checking for $ac_word... " >&6; }
   5742 if test ${ac_cv_prog_OBJDUMP+y}
   5743 then :
   5744   printf %s "(cached) " >&6
   5745 else $as_nop
   5746   if test -n "$OBJDUMP"; then
   5747   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5748 else
   5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5750 for as_dir in $PATH
   5751 do
   5752   IFS=$as_save_IFS
   5753   case $as_dir in #(((
   5754     '') as_dir=./ ;;
   5755     */) ;;
   5756     *) as_dir=$as_dir/ ;;
   5757   esac
   5758     for ac_exec_ext in '' $ac_executable_extensions; do
   5759   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5760     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5761     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5762     break 2
   5763   fi
   5764 done
   5765   done
   5766 IFS=$as_save_IFS
   5767 
   5768 fi
   5769 fi
   5770 OBJDUMP=$ac_cv_prog_OBJDUMP
   5771 if test -n "$OBJDUMP"; then
   5772   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5773 printf "%s\n" "$OBJDUMP" >&6; }
   5774 else
   5775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5776 printf "%s\n" "no" >&6; }
   5777 fi
   5778 
   5779 
   5780 fi
   5781 if test -z "$ac_cv_prog_OBJDUMP"; then
   5782   ac_ct_OBJDUMP=$OBJDUMP
   5783   # Extract the first word of "objdump", so it can be a program name with args.
   5784 set dummy objdump; ac_word=$2
   5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5786 printf %s "checking for $ac_word... " >&6; }
   5787 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5788 then :
   5789   printf %s "(cached) " >&6
   5790 else $as_nop
   5791   if test -n "$ac_ct_OBJDUMP"; then
   5792   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5793 else
   5794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5795 for as_dir in $PATH
   5796 do
   5797   IFS=$as_save_IFS
   5798   case $as_dir in #(((
   5799     '') as_dir=./ ;;
   5800     */) ;;
   5801     *) as_dir=$as_dir/ ;;
   5802   esac
   5803     for ac_exec_ext in '' $ac_executable_extensions; do
   5804   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5805     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5806     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5807     break 2
   5808   fi
   5809 done
   5810   done
   5811 IFS=$as_save_IFS
   5812 
   5813 fi
   5814 fi
   5815 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5816 if test -n "$ac_ct_OBJDUMP"; then
   5817   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5818 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5819 else
   5820   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5821 printf "%s\n" "no" >&6; }
   5822 fi
   5823 
   5824   if test "x$ac_ct_OBJDUMP" = x; then
   5825     OBJDUMP="false"
   5826   else
   5827     case $cross_compiling:$ac_tool_warned in
   5828 yes:)
   5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5830 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5831 ac_tool_warned=yes ;;
   5832 esac
   5833     OBJDUMP=$ac_ct_OBJDUMP
   5834   fi
   5835 else
   5836   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5837 fi
   5838 
   5839 test -z "$OBJDUMP" && OBJDUMP=objdump
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5850 printf %s "checking how to recognize dependent libraries... " >&6; }
   5851 if test ${lt_cv_deplibs_check_method+y}
   5852 then :
   5853   printf %s "(cached) " >&6
   5854 else $as_nop
   5855   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5856 lt_cv_file_magic_test_file=
   5857 lt_cv_deplibs_check_method='unknown'
   5858 # Need to set the preceding variable on all platforms that support
   5859 # interlibrary dependencies.
   5860 # 'none' -- dependencies not supported.
   5861 # 'unknown' -- same as none, but documents that we really don't know.
   5862 # 'pass_all' -- all dependencies passed with no checks.
   5863 # 'test_compile' -- check by making test program.
   5864 # 'file_magic [[regex]]' -- check by looking for files in library path
   5865 # that responds to the $file_magic_cmd with a given extended regex.
   5866 # If you have 'file' or equivalent on your system and you're not sure
   5867 # whether 'pass_all' will *always* work, you probably want this one.
   5868 
   5869 case $host_os in
   5870 aix[4-9]*)
   5871   lt_cv_deplibs_check_method=pass_all
   5872   ;;
   5873 
   5874 beos*)
   5875   lt_cv_deplibs_check_method=pass_all
   5876   ;;
   5877 
   5878 bsdi[45]*)
   5879   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5880   lt_cv_file_magic_cmd='$FILECMD -L'
   5881   lt_cv_file_magic_test_file=/shlib/libc.so
   5882   ;;
   5883 
   5884 cygwin*)
   5885   # func_win32_libid is a shell function defined in ltmain.sh
   5886   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5887   lt_cv_file_magic_cmd='func_win32_libid'
   5888   ;;
   5889 
   5890 mingw* | pw32*)
   5891   # Base MSYS/MinGW do not provide the 'file' command needed by
   5892   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5893   # unless we find 'file', for example because we are cross-compiling.
   5894   if ( file / ) >/dev/null 2>&1; then
   5895     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5896     lt_cv_file_magic_cmd='func_win32_libid'
   5897   else
   5898     # Keep this pattern in sync with the one in func_win32_libid.
   5899     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5900     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5901   fi
   5902   ;;
   5903 
   5904 cegcc*)
   5905   # use the weaker test based on 'objdump'. See mingw*.
   5906   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5907   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5908   ;;
   5909 
   5910 darwin* | rhapsody*)
   5911   lt_cv_deplibs_check_method=pass_all
   5912   ;;
   5913 
   5914 freebsd* | dragonfly* | midnightbsd*)
   5915   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5916     case $host_cpu in
   5917     i*86 )
   5918       # Not sure whether the presence of OpenBSD here was a mistake.
   5919       # Let's accept both of them until this is cleared up.
   5920       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5921       lt_cv_file_magic_cmd=$FILECMD
   5922       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5923       ;;
   5924     esac
   5925   else
   5926     lt_cv_deplibs_check_method=pass_all
   5927   fi
   5928   ;;
   5929 
   5930 haiku*)
   5931   lt_cv_deplibs_check_method=pass_all
   5932   ;;
   5933 
   5934 hpux10.20* | hpux11*)
   5935   lt_cv_file_magic_cmd=$FILECMD
   5936   case $host_cpu in
   5937   ia64*)
   5938     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5939     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5940     ;;
   5941   hppa*64*)
   5942     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]'
   5943     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5944     ;;
   5945   *)
   5946     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5947     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5948     ;;
   5949   esac
   5950   ;;
   5951 
   5952 interix[3-9]*)
   5953   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5954   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5955   ;;
   5956 
   5957 irix5* | irix6* | nonstopux*)
   5958   case $LD in
   5959   *-32|*"-32 ") libmagic=32-bit;;
   5960   *-n32|*"-n32 ") libmagic=N32;;
   5961   *-64|*"-64 ") libmagic=64-bit;;
   5962   *) libmagic=never-match;;
   5963   esac
   5964   lt_cv_deplibs_check_method=pass_all
   5965   ;;
   5966 
   5967 # This must be glibc/ELF.
   5968 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5969   lt_cv_deplibs_check_method=pass_all
   5970   ;;
   5971 
   5972 netbsd*)
   5973   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5974     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5975   else
   5976     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5977   fi
   5978   ;;
   5979 
   5980 newos6*)
   5981   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5982   lt_cv_file_magic_cmd=$FILECMD
   5983   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5984   ;;
   5985 
   5986 *nto* | *qnx*)
   5987   lt_cv_deplibs_check_method=pass_all
   5988   ;;
   5989 
   5990 openbsd* | bitrig*)
   5991   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5992     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5993   else
   5994     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5995   fi
   5996   ;;
   5997 
   5998 osf3* | osf4* | osf5*)
   5999   lt_cv_deplibs_check_method=pass_all
   6000   ;;
   6001 
   6002 rdos*)
   6003   lt_cv_deplibs_check_method=pass_all
   6004   ;;
   6005 
   6006 solaris*)
   6007   lt_cv_deplibs_check_method=pass_all
   6008   ;;
   6009 
   6010 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6011   lt_cv_deplibs_check_method=pass_all
   6012   ;;
   6013 
   6014 sysv4 | sysv4.3*)
   6015   case $host_vendor in
   6016   motorola)
   6017     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]'
   6018     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6019     ;;
   6020   ncr)
   6021     lt_cv_deplibs_check_method=pass_all
   6022     ;;
   6023   sequent)
   6024     lt_cv_file_magic_cmd='/bin/file'
   6025     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6026     ;;
   6027   sni)
   6028     lt_cv_file_magic_cmd='/bin/file'
   6029     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6030     lt_cv_file_magic_test_file=/lib/libc.so
   6031     ;;
   6032   siemens)
   6033     lt_cv_deplibs_check_method=pass_all
   6034     ;;
   6035   pc)
   6036     lt_cv_deplibs_check_method=pass_all
   6037     ;;
   6038   esac
   6039   ;;
   6040 
   6041 tpf*)
   6042   lt_cv_deplibs_check_method=pass_all
   6043   ;;
   6044 os2*)
   6045   lt_cv_deplibs_check_method=pass_all
   6046   ;;
   6047 esac
   6048 
   6049 fi
   6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6051 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6052 
   6053 file_magic_glob=
   6054 want_nocaseglob=no
   6055 if test "$build" = "$host"; then
   6056   case $host_os in
   6057   mingw* | pw32*)
   6058     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6059       want_nocaseglob=yes
   6060     else
   6061       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6062     fi
   6063     ;;
   6064   esac
   6065 fi
   6066 
   6067 file_magic_cmd=$lt_cv_file_magic_cmd
   6068 deplibs_check_method=$lt_cv_deplibs_check_method
   6069 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 if test -n "$ac_tool_prefix"; then
   6093   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6094 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6096 printf %s "checking for $ac_word... " >&6; }
   6097 if test ${ac_cv_prog_DLLTOOL+y}
   6098 then :
   6099   printf %s "(cached) " >&6
   6100 else $as_nop
   6101   if test -n "$DLLTOOL"; then
   6102   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6103 else
   6104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6105 for as_dir in $PATH
   6106 do
   6107   IFS=$as_save_IFS
   6108   case $as_dir in #(((
   6109     '') as_dir=./ ;;
   6110     */) ;;
   6111     *) as_dir=$as_dir/ ;;
   6112   esac
   6113     for ac_exec_ext in '' $ac_executable_extensions; do
   6114   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6115     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6116     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6117     break 2
   6118   fi
   6119 done
   6120   done
   6121 IFS=$as_save_IFS
   6122 
   6123 fi
   6124 fi
   6125 DLLTOOL=$ac_cv_prog_DLLTOOL
   6126 if test -n "$DLLTOOL"; then
   6127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6128 printf "%s\n" "$DLLTOOL" >&6; }
   6129 else
   6130   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6131 printf "%s\n" "no" >&6; }
   6132 fi
   6133 
   6134 
   6135 fi
   6136 if test -z "$ac_cv_prog_DLLTOOL"; then
   6137   ac_ct_DLLTOOL=$DLLTOOL
   6138   # Extract the first word of "dlltool", so it can be a program name with args.
   6139 set dummy dlltool; ac_word=$2
   6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6141 printf %s "checking for $ac_word... " >&6; }
   6142 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6143 then :
   6144   printf %s "(cached) " >&6
   6145 else $as_nop
   6146   if test -n "$ac_ct_DLLTOOL"; then
   6147   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6148 else
   6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6150 for as_dir in $PATH
   6151 do
   6152   IFS=$as_save_IFS
   6153   case $as_dir in #(((
   6154     '') as_dir=./ ;;
   6155     */) ;;
   6156     *) as_dir=$as_dir/ ;;
   6157   esac
   6158     for ac_exec_ext in '' $ac_executable_extensions; do
   6159   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6160     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6161     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6162     break 2
   6163   fi
   6164 done
   6165   done
   6166 IFS=$as_save_IFS
   6167 
   6168 fi
   6169 fi
   6170 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6171 if test -n "$ac_ct_DLLTOOL"; then
   6172   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6173 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6174 else
   6175   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6176 printf "%s\n" "no" >&6; }
   6177 fi
   6178 
   6179   if test "x$ac_ct_DLLTOOL" = x; then
   6180     DLLTOOL="false"
   6181   else
   6182     case $cross_compiling:$ac_tool_warned in
   6183 yes:)
   6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6185 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6186 ac_tool_warned=yes ;;
   6187 esac
   6188     DLLTOOL=$ac_ct_DLLTOOL
   6189   fi
   6190 else
   6191   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6192 fi
   6193 
   6194 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6206 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6207 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6208 then :
   6209   printf %s "(cached) " >&6
   6210 else $as_nop
   6211   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6212 
   6213 case $host_os in
   6214 cygwin* | mingw* | pw32* | cegcc*)
   6215   # two different shell functions defined in ltmain.sh;
   6216   # decide which one to use based on capabilities of $DLLTOOL
   6217   case `$DLLTOOL --help 2>&1` in
   6218   *--identify-strict*)
   6219     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6220     ;;
   6221   *)
   6222     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6223     ;;
   6224   esac
   6225   ;;
   6226 *)
   6227   # fallback: assume linklib IS sharedlib
   6228   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6229   ;;
   6230 esac
   6231 
   6232 fi
   6233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6234 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6235 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6236 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 if test -n "$ac_tool_prefix"; then
   6246   for ac_prog in ar
   6247   do
   6248     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6251 printf %s "checking for $ac_word... " >&6; }
   6252 if test ${ac_cv_prog_AR+y}
   6253 then :
   6254   printf %s "(cached) " >&6
   6255 else $as_nop
   6256   if test -n "$AR"; then
   6257   ac_cv_prog_AR="$AR" # Let the user override the test.
   6258 else
   6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6260 for as_dir in $PATH
   6261 do
   6262   IFS=$as_save_IFS
   6263   case $as_dir in #(((
   6264     '') as_dir=./ ;;
   6265     */) ;;
   6266     *) as_dir=$as_dir/ ;;
   6267   esac
   6268     for ac_exec_ext in '' $ac_executable_extensions; do
   6269   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6270     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6271     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6272     break 2
   6273   fi
   6274 done
   6275   done
   6276 IFS=$as_save_IFS
   6277 
   6278 fi
   6279 fi
   6280 AR=$ac_cv_prog_AR
   6281 if test -n "$AR"; then
   6282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6283 printf "%s\n" "$AR" >&6; }
   6284 else
   6285   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6286 printf "%s\n" "no" >&6; }
   6287 fi
   6288 
   6289 
   6290     test -n "$AR" && break
   6291   done
   6292 fi
   6293 if test -z "$AR"; then
   6294   ac_ct_AR=$AR
   6295   for ac_prog in ar
   6296 do
   6297   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6298 set dummy $ac_prog; ac_word=$2
   6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6300 printf %s "checking for $ac_word... " >&6; }
   6301 if test ${ac_cv_prog_ac_ct_AR+y}
   6302 then :
   6303   printf %s "(cached) " >&6
   6304 else $as_nop
   6305   if test -n "$ac_ct_AR"; then
   6306   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6307 else
   6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6309 for as_dir in $PATH
   6310 do
   6311   IFS=$as_save_IFS
   6312   case $as_dir in #(((
   6313     '') as_dir=./ ;;
   6314     */) ;;
   6315     *) as_dir=$as_dir/ ;;
   6316   esac
   6317     for ac_exec_ext in '' $ac_executable_extensions; do
   6318   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6319     ac_cv_prog_ac_ct_AR="$ac_prog"
   6320     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6321     break 2
   6322   fi
   6323 done
   6324   done
   6325 IFS=$as_save_IFS
   6326 
   6327 fi
   6328 fi
   6329 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6330 if test -n "$ac_ct_AR"; then
   6331   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6332 printf "%s\n" "$ac_ct_AR" >&6; }
   6333 else
   6334   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6335 printf "%s\n" "no" >&6; }
   6336 fi
   6337 
   6338 
   6339   test -n "$ac_ct_AR" && break
   6340 done
   6341 
   6342   if test "x$ac_ct_AR" = x; then
   6343     AR="false"
   6344   else
   6345     case $cross_compiling:$ac_tool_warned in
   6346 yes:)
   6347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6348 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6349 ac_tool_warned=yes ;;
   6350 esac
   6351     AR=$ac_ct_AR
   6352   fi
   6353 fi
   6354 
   6355 : ${AR=ar}
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6363 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6364 # higher priority because thats what people were doing historically (setting
   6365 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6366 # variable obsoleted/removed.
   6367 
   6368 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6369 lt_ar_flags=$AR_FLAGS
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6377 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6385 printf %s "checking for archiver @FILE support... " >&6; }
   6386 if test ${lt_cv_ar_at_file+y}
   6387 then :
   6388   printf %s "(cached) " >&6
   6389 else $as_nop
   6390   lt_cv_ar_at_file=no
   6391    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6392 /* end confdefs.h.  */
   6393 
   6394 int
   6395 main (void)
   6396 {
   6397 
   6398   ;
   6399   return 0;
   6400 }
   6401 _ACEOF
   6402 if ac_fn_c_try_compile "$LINENO"
   6403 then :
   6404   echo conftest.$ac_objext > conftest.lst
   6405       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6406       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6407   (eval $lt_ar_try) 2>&5
   6408   ac_status=$?
   6409   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6410   test $ac_status = 0; }
   6411       if test 0 -eq "$ac_status"; then
   6412 	# Ensure the archiver fails upon bogus file names.
   6413 	rm -f conftest.$ac_objext libconftest.a
   6414 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6415   (eval $lt_ar_try) 2>&5
   6416   ac_status=$?
   6417   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6418   test $ac_status = 0; }
   6419 	if test 0 -ne "$ac_status"; then
   6420           lt_cv_ar_at_file=@
   6421         fi
   6422       fi
   6423       rm -f conftest.* libconftest.a
   6424 
   6425 fi
   6426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6427 
   6428 fi
   6429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6430 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6431 
   6432 if test no = "$lt_cv_ar_at_file"; then
   6433   archiver_list_spec=
   6434 else
   6435   archiver_list_spec=$lt_cv_ar_at_file
   6436 fi
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 if test -n "$ac_tool_prefix"; then
   6445   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6446 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6448 printf %s "checking for $ac_word... " >&6; }
   6449 if test ${ac_cv_prog_STRIP+y}
   6450 then :
   6451   printf %s "(cached) " >&6
   6452 else $as_nop
   6453   if test -n "$STRIP"; then
   6454   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6455 else
   6456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6457 for as_dir in $PATH
   6458 do
   6459   IFS=$as_save_IFS
   6460   case $as_dir in #(((
   6461     '') as_dir=./ ;;
   6462     */) ;;
   6463     *) as_dir=$as_dir/ ;;
   6464   esac
   6465     for ac_exec_ext in '' $ac_executable_extensions; do
   6466   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6467     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6468     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6469     break 2
   6470   fi
   6471 done
   6472   done
   6473 IFS=$as_save_IFS
   6474 
   6475 fi
   6476 fi
   6477 STRIP=$ac_cv_prog_STRIP
   6478 if test -n "$STRIP"; then
   6479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6480 printf "%s\n" "$STRIP" >&6; }
   6481 else
   6482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6483 printf "%s\n" "no" >&6; }
   6484 fi
   6485 
   6486 
   6487 fi
   6488 if test -z "$ac_cv_prog_STRIP"; then
   6489   ac_ct_STRIP=$STRIP
   6490   # Extract the first word of "strip", so it can be a program name with args.
   6491 set dummy strip; ac_word=$2
   6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6493 printf %s "checking for $ac_word... " >&6; }
   6494 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6495 then :
   6496   printf %s "(cached) " >&6
   6497 else $as_nop
   6498   if test -n "$ac_ct_STRIP"; then
   6499   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6500 else
   6501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6502 for as_dir in $PATH
   6503 do
   6504   IFS=$as_save_IFS
   6505   case $as_dir in #(((
   6506     '') as_dir=./ ;;
   6507     */) ;;
   6508     *) as_dir=$as_dir/ ;;
   6509   esac
   6510     for ac_exec_ext in '' $ac_executable_extensions; do
   6511   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6512     ac_cv_prog_ac_ct_STRIP="strip"
   6513     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6514     break 2
   6515   fi
   6516 done
   6517   done
   6518 IFS=$as_save_IFS
   6519 
   6520 fi
   6521 fi
   6522 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6523 if test -n "$ac_ct_STRIP"; then
   6524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6525 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6526 else
   6527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6528 printf "%s\n" "no" >&6; }
   6529 fi
   6530 
   6531   if test "x$ac_ct_STRIP" = x; then
   6532     STRIP=":"
   6533   else
   6534     case $cross_compiling:$ac_tool_warned in
   6535 yes:)
   6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6537 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6538 ac_tool_warned=yes ;;
   6539 esac
   6540     STRIP=$ac_ct_STRIP
   6541   fi
   6542 else
   6543   STRIP="$ac_cv_prog_STRIP"
   6544 fi
   6545 
   6546 test -z "$STRIP" && STRIP=:
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 if test -n "$ac_tool_prefix"; then
   6554   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6555 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6557 printf %s "checking for $ac_word... " >&6; }
   6558 if test ${ac_cv_prog_RANLIB+y}
   6559 then :
   6560   printf %s "(cached) " >&6
   6561 else $as_nop
   6562   if test -n "$RANLIB"; then
   6563   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6564 else
   6565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6566 for as_dir in $PATH
   6567 do
   6568   IFS=$as_save_IFS
   6569   case $as_dir in #(((
   6570     '') as_dir=./ ;;
   6571     */) ;;
   6572     *) as_dir=$as_dir/ ;;
   6573   esac
   6574     for ac_exec_ext in '' $ac_executable_extensions; do
   6575   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6576     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6577     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6578     break 2
   6579   fi
   6580 done
   6581   done
   6582 IFS=$as_save_IFS
   6583 
   6584 fi
   6585 fi
   6586 RANLIB=$ac_cv_prog_RANLIB
   6587 if test -n "$RANLIB"; then
   6588   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6589 printf "%s\n" "$RANLIB" >&6; }
   6590 else
   6591   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6592 printf "%s\n" "no" >&6; }
   6593 fi
   6594 
   6595 
   6596 fi
   6597 if test -z "$ac_cv_prog_RANLIB"; then
   6598   ac_ct_RANLIB=$RANLIB
   6599   # Extract the first word of "ranlib", so it can be a program name with args.
   6600 set dummy ranlib; ac_word=$2
   6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6602 printf %s "checking for $ac_word... " >&6; }
   6603 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6604 then :
   6605   printf %s "(cached) " >&6
   6606 else $as_nop
   6607   if test -n "$ac_ct_RANLIB"; then
   6608   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6609 else
   6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6611 for as_dir in $PATH
   6612 do
   6613   IFS=$as_save_IFS
   6614   case $as_dir in #(((
   6615     '') as_dir=./ ;;
   6616     */) ;;
   6617     *) as_dir=$as_dir/ ;;
   6618   esac
   6619     for ac_exec_ext in '' $ac_executable_extensions; do
   6620   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6621     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6622     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6623     break 2
   6624   fi
   6625 done
   6626   done
   6627 IFS=$as_save_IFS
   6628 
   6629 fi
   6630 fi
   6631 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6632 if test -n "$ac_ct_RANLIB"; then
   6633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6634 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6635 else
   6636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6637 printf "%s\n" "no" >&6; }
   6638 fi
   6639 
   6640   if test "x$ac_ct_RANLIB" = x; then
   6641     RANLIB=":"
   6642   else
   6643     case $cross_compiling:$ac_tool_warned in
   6644 yes:)
   6645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6646 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6647 ac_tool_warned=yes ;;
   6648 esac
   6649     RANLIB=$ac_ct_RANLIB
   6650   fi
   6651 else
   6652   RANLIB="$ac_cv_prog_RANLIB"
   6653 fi
   6654 
   6655 test -z "$RANLIB" && RANLIB=:
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 # Determine commands to create old-style static archives.
   6663 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6664 old_postinstall_cmds='chmod 644 $oldlib'
   6665 old_postuninstall_cmds=
   6666 
   6667 if test -n "$RANLIB"; then
   6668   case $host_os in
   6669   bitrig* | openbsd*)
   6670     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6671     ;;
   6672   *)
   6673     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6674     ;;
   6675   esac
   6676   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6677 fi
   6678 
   6679 case $host_os in
   6680   darwin*)
   6681     lock_old_archive_extraction=yes ;;
   6682   *)
   6683     lock_old_archive_extraction=no ;;
   6684 esac
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 # If no C compiler was specified, use CC.
   6725 LTCC=${LTCC-"$CC"}
   6726 
   6727 # If no C compiler flags were specified, use CFLAGS.
   6728 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6729 
   6730 # Allow CC to be a program name with arguments.
   6731 compiler=$CC
   6732 
   6733 
   6734 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6736 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6737 if test ${lt_cv_sys_global_symbol_pipe+y}
   6738 then :
   6739   printf %s "(cached) " >&6
   6740 else $as_nop
   6741 
   6742 # These are sane defaults that work on at least a few old systems.
   6743 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6744 
   6745 # Character class describing NM global symbol codes.
   6746 symcode='[BCDEGRST]'
   6747 
   6748 # Regexp to match symbols that can be accessed directly from C.
   6749 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6750 
   6751 # Define system-specific variables.
   6752 case $host_os in
   6753 aix*)
   6754   symcode='[BCDT]'
   6755   ;;
   6756 cygwin* | mingw* | pw32* | cegcc*)
   6757   symcode='[ABCDGISTW]'
   6758   ;;
   6759 hpux*)
   6760   if test ia64 = "$host_cpu"; then
   6761     symcode='[ABCDEGRST]'
   6762   fi
   6763   ;;
   6764 irix* | nonstopux*)
   6765   symcode='[BCDEGRST]'
   6766   ;;
   6767 osf*)
   6768   symcode='[BCDEGQRST]'
   6769   ;;
   6770 solaris*)
   6771   symcode='[BDRT]'
   6772   ;;
   6773 sco3.2v5*)
   6774   symcode='[DT]'
   6775   ;;
   6776 sysv4.2uw2*)
   6777   symcode='[DT]'
   6778   ;;
   6779 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6780   symcode='[ABDT]'
   6781   ;;
   6782 sysv4)
   6783   symcode='[DFNSTU]'
   6784   ;;
   6785 esac
   6786 
   6787 # If we're using GNU nm, then use its standard symbol codes.
   6788 case `$NM -V 2>&1` in
   6789 *GNU* | *'with BFD'*)
   6790   symcode='[ABCDGIRSTW]' ;;
   6791 esac
   6792 
   6793 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6794   # Gets list of data symbols to import.
   6795   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6796   # Adjust the below global symbol transforms to fixup imported variables.
   6797   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6798   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6799   lt_c_name_lib_hook="\
   6800   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6801   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6802 else
   6803   # Disable hooks by default.
   6804   lt_cv_sys_global_symbol_to_import=
   6805   lt_cdecl_hook=
   6806   lt_c_name_hook=
   6807   lt_c_name_lib_hook=
   6808 fi
   6809 
   6810 # Transform an extracted symbol line into a proper C declaration.
   6811 # Some systems (esp. on ia64) link data and code symbols differently,
   6812 # so use this general approach.
   6813 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6814 $lt_cdecl_hook\
   6815 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6816 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6817 
   6818 # Transform an extracted symbol line into symbol name and symbol address
   6819 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   6820 $lt_c_name_hook\
   6821 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6822 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6823 
   6824 # Transform an extracted symbol line into symbol name with lib prefix and
   6825 # symbol address.
   6826 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   6827 $lt_c_name_lib_hook\
   6828 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6829 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6830 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6831 
   6832 # Handle CRLF in mingw tool chain
   6833 opt_cr=
   6834 case $build_os in
   6835 mingw*)
   6836   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6837   ;;
   6838 esac
   6839 
   6840 # Try without a prefix underscore, then with it.
   6841 for ac_symprfx in "" "_"; do
   6842 
   6843   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6844   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6845 
   6846   # Write the raw and C identifiers.
   6847   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6848     # Fake it for dumpbin and say T for any non-static function,
   6849     # D for any global variable and I for any imported variable.
   6850     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   6851     # which start with @ or ?.
   6852     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6853 "     {last_section=section; section=\$ 3};"\
   6854 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6855 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6856 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6857 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6858 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6859 "     \$ 0!~/External *\|/{next};"\
   6860 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6861 "     {if(hide[section]) next};"\
   6862 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6863 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6864 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6865 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6866 "     ' prfx=^$ac_symprfx"
   6867   else
   6868     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6869   fi
   6870   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   6871 
   6872   # Check to see that the pipe works correctly.
   6873   pipe_works=no
   6874 
   6875   rm -f conftest*
   6876   cat > conftest.$ac_ext <<_LT_EOF
   6877 #ifdef __cplusplus
   6878 extern "C" {
   6879 #endif
   6880 char nm_test_var;
   6881 void nm_test_func(void);
   6882 void nm_test_func(void){}
   6883 #ifdef __cplusplus
   6884 }
   6885 #endif
   6886 int main(){nm_test_var='a';nm_test_func();return(0);}
   6887 _LT_EOF
   6888 
   6889   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6890   (eval $ac_compile) 2>&5
   6891   ac_status=$?
   6892   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6893   test $ac_status = 0; }; then
   6894     # Now try to grab the symbols.
   6895     nlist=conftest.nm
   6896     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6897   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6898   ac_status=$?
   6899   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6900   test $ac_status = 0; } && test -s "$nlist"; then
   6901       # Try sorting and uniquifying the output.
   6902       if sort "$nlist" | uniq > "$nlist"T; then
   6903 	mv -f "$nlist"T "$nlist"
   6904       else
   6905 	rm -f "$nlist"T
   6906       fi
   6907 
   6908       # Make sure that we snagged all the symbols we need.
   6909       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6910 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6911 	  cat <<_LT_EOF > conftest.$ac_ext
   6912 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6913 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6914 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6915    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6916 # define LT_DLSYM_CONST
   6917 #elif defined __osf__
   6918 /* This system does not cope well with relocations in const data.  */
   6919 # define LT_DLSYM_CONST
   6920 #else
   6921 # define LT_DLSYM_CONST const
   6922 #endif
   6923 
   6924 #ifdef __cplusplus
   6925 extern "C" {
   6926 #endif
   6927 
   6928 _LT_EOF
   6929 	  # Now generate the symbol file.
   6930 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6931 
   6932 	  cat <<_LT_EOF >> conftest.$ac_ext
   6933 
   6934 /* The mapping between symbol names and symbols.  */
   6935 LT_DLSYM_CONST struct {
   6936   const char *name;
   6937   void       *address;
   6938 }
   6939 lt__PROGRAM__LTX_preloaded_symbols[] =
   6940 {
   6941   { "@PROGRAM@", (void *) 0 },
   6942 _LT_EOF
   6943 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6944 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6945   {0, (void *) 0}
   6946 };
   6947 
   6948 /* This works around a problem in FreeBSD linker */
   6949 #ifdef FREEBSD_WORKAROUND
   6950 static const void *lt_preloaded_setup() {
   6951   return lt__PROGRAM__LTX_preloaded_symbols;
   6952 }
   6953 #endif
   6954 
   6955 #ifdef __cplusplus
   6956 }
   6957 #endif
   6958 _LT_EOF
   6959 	  # Now try linking the two files.
   6960 	  mv conftest.$ac_objext conftstm.$ac_objext
   6961 	  lt_globsym_save_LIBS=$LIBS
   6962 	  lt_globsym_save_CFLAGS=$CFLAGS
   6963 	  LIBS=conftstm.$ac_objext
   6964 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6965 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6966   (eval $ac_link) 2>&5
   6967   ac_status=$?
   6968   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6969   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6970 	    pipe_works=yes
   6971 	  fi
   6972 	  LIBS=$lt_globsym_save_LIBS
   6973 	  CFLAGS=$lt_globsym_save_CFLAGS
   6974 	else
   6975 	  echo "cannot find nm_test_func in $nlist" >&5
   6976 	fi
   6977       else
   6978 	echo "cannot find nm_test_var in $nlist" >&5
   6979       fi
   6980     else
   6981       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6982     fi
   6983   else
   6984     echo "$progname: failed program was:" >&5
   6985     cat conftest.$ac_ext >&5
   6986   fi
   6987   rm -rf conftest* conftst*
   6988 
   6989   # Do not use the global_symbol_pipe unless it works.
   6990   if test yes = "$pipe_works"; then
   6991     break
   6992   else
   6993     lt_cv_sys_global_symbol_pipe=
   6994   fi
   6995 done
   6996 
   6997 fi
   6998 
   6999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7000   lt_cv_sys_global_symbol_to_cdecl=
   7001 fi
   7002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7003   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7004 printf "%s\n" "failed" >&6; }
   7005 else
   7006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7007 printf "%s\n" "ok" >&6; }
   7008 fi
   7009 
   7010 # Response file support.
   7011 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7012   nm_file_list_spec='@'
   7013 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7014   nm_file_list_spec='@'
   7015 fi
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   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 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7054 printf %s "checking for sysroot... " >&6; }
   7055 
   7056 # Check whether --with-sysroot was given.
   7057 if test ${with_sysroot+y}
   7058 then :
   7059   withval=$with_sysroot;
   7060 else $as_nop
   7061   with_sysroot=no
   7062 fi
   7063 
   7064 
   7065 lt_sysroot=
   7066 case $with_sysroot in #(
   7067  yes)
   7068    if test yes = "$GCC"; then
   7069      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7070    fi
   7071    ;; #(
   7072  /*)
   7073    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7074    ;; #(
   7075  no|'')
   7076    ;; #(
   7077  *)
   7078    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7079 printf "%s\n" "$with_sysroot" >&6; }
   7080    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7081    ;;
   7082 esac
   7083 
   7084  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7085 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7092 printf %s "checking for a working dd... " >&6; }
   7093 if test ${ac_cv_path_lt_DD+y}
   7094 then :
   7095   printf %s "(cached) " >&6
   7096 else $as_nop
   7097   printf 0123456789abcdef0123456789abcdef >conftest.i
   7098 cat conftest.i conftest.i >conftest2.i
   7099 : ${lt_DD:=$DD}
   7100 if test -z "$lt_DD"; then
   7101   ac_path_lt_DD_found=false
   7102   # Loop through the user's path and test for each of PROGNAME-LIST
   7103   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7104 for as_dir in $PATH
   7105 do
   7106   IFS=$as_save_IFS
   7107   case $as_dir in #(((
   7108     '') as_dir=./ ;;
   7109     */) ;;
   7110     *) as_dir=$as_dir/ ;;
   7111   esac
   7112     for ac_prog in dd
   7113    do
   7114     for ac_exec_ext in '' $ac_executable_extensions; do
   7115       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7116       as_fn_executable_p "$ac_path_lt_DD" || continue
   7117 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7118   cmp -s conftest.i conftest.out \
   7119   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7120 fi
   7121       $ac_path_lt_DD_found && break 3
   7122     done
   7123   done
   7124   done
   7125 IFS=$as_save_IFS
   7126   if test -z "$ac_cv_path_lt_DD"; then
   7127     :
   7128   fi
   7129 else
   7130   ac_cv_path_lt_DD=$lt_DD
   7131 fi
   7132 
   7133 rm -f conftest.i conftest2.i conftest.out
   7134 fi
   7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7136 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7137 
   7138 
   7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7140 printf %s "checking how to truncate binary pipes... " >&6; }
   7141 if test ${lt_cv_truncate_bin+y}
   7142 then :
   7143   printf %s "(cached) " >&6
   7144 else $as_nop
   7145   printf 0123456789abcdef0123456789abcdef >conftest.i
   7146 cat conftest.i conftest.i >conftest2.i
   7147 lt_cv_truncate_bin=
   7148 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7149   cmp -s conftest.i conftest.out \
   7150   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7151 fi
   7152 rm -f conftest.i conftest2.i conftest.out
   7153 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7154 fi
   7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7156 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7165 func_cc_basename ()
   7166 {
   7167     for cc_temp in $*""; do
   7168       case $cc_temp in
   7169         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7170         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7171         \-*) ;;
   7172         *) break;;
   7173       esac
   7174     done
   7175     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7176 }
   7177 
   7178 # Check whether --enable-libtool-lock was given.
   7179 if test ${enable_libtool_lock+y}
   7180 then :
   7181   enableval=$enable_libtool_lock;
   7182 fi
   7183 
   7184 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7185 
   7186 # Some flags need to be propagated to the compiler or linker for good
   7187 # libtool support.
   7188 case $host in
   7189 ia64-*-hpux*)
   7190   # Find out what ABI is being produced by ac_compile, and set mode
   7191   # options accordingly.
   7192   echo 'int i;' > conftest.$ac_ext
   7193   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7194   (eval $ac_compile) 2>&5
   7195   ac_status=$?
   7196   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7197   test $ac_status = 0; }; then
   7198     case `$FILECMD conftest.$ac_objext` in
   7199       *ELF-32*)
   7200 	HPUX_IA64_MODE=32
   7201 	;;
   7202       *ELF-64*)
   7203 	HPUX_IA64_MODE=64
   7204 	;;
   7205     esac
   7206   fi
   7207   rm -rf conftest*
   7208   ;;
   7209 *-*-irix6*)
   7210   # Find out what ABI is being produced by ac_compile, and set linker
   7211   # options accordingly.
   7212   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7213   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7214   (eval $ac_compile) 2>&5
   7215   ac_status=$?
   7216   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7217   test $ac_status = 0; }; then
   7218     if test yes = "$lt_cv_prog_gnu_ld"; then
   7219       case `$FILECMD conftest.$ac_objext` in
   7220 	*32-bit*)
   7221 	  LD="${LD-ld} -melf32bsmip"
   7222 	  ;;
   7223 	*N32*)
   7224 	  LD="${LD-ld} -melf32bmipn32"
   7225 	  ;;
   7226 	*64-bit*)
   7227 	  LD="${LD-ld} -melf64bmip"
   7228 	;;
   7229       esac
   7230     else
   7231       case `$FILECMD conftest.$ac_objext` in
   7232 	*32-bit*)
   7233 	  LD="${LD-ld} -32"
   7234 	  ;;
   7235 	*N32*)
   7236 	  LD="${LD-ld} -n32"
   7237 	  ;;
   7238 	*64-bit*)
   7239 	  LD="${LD-ld} -64"
   7240 	  ;;
   7241       esac
   7242     fi
   7243   fi
   7244   rm -rf conftest*
   7245   ;;
   7246 
   7247 mips64*-*linux*)
   7248   # Find out what ABI is being produced by ac_compile, and set linker
   7249   # options accordingly.
   7250   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7251   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7252   (eval $ac_compile) 2>&5
   7253   ac_status=$?
   7254   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7255   test $ac_status = 0; }; then
   7256     emul=elf
   7257     case `$FILECMD conftest.$ac_objext` in
   7258       *32-bit*)
   7259 	emul="${emul}32"
   7260 	;;
   7261       *64-bit*)
   7262 	emul="${emul}64"
   7263 	;;
   7264     esac
   7265     case `$FILECMD conftest.$ac_objext` in
   7266       *MSB*)
   7267 	emul="${emul}btsmip"
   7268 	;;
   7269       *LSB*)
   7270 	emul="${emul}ltsmip"
   7271 	;;
   7272     esac
   7273     case `$FILECMD conftest.$ac_objext` in
   7274       *N32*)
   7275 	emul="${emul}n32"
   7276 	;;
   7277     esac
   7278     LD="${LD-ld} -m $emul"
   7279   fi
   7280   rm -rf conftest*
   7281   ;;
   7282 
   7283 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7284 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7285   # Find out what ABI is being produced by ac_compile, and set linker
   7286   # options accordingly.  Note that the listed cases only cover the
   7287   # situations where additional linker options are needed (such as when
   7288   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7289   # vice versa); the common cases where no linker options are needed do
   7290   # not appear in the list.
   7291   echo 'int i;' > conftest.$ac_ext
   7292   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7293   (eval $ac_compile) 2>&5
   7294   ac_status=$?
   7295   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7296   test $ac_status = 0; }; then
   7297     case `$FILECMD conftest.o` in
   7298       *32-bit*)
   7299 	case $host in
   7300 	  x86_64-*kfreebsd*-gnu)
   7301 	    LD="${LD-ld} -m elf_i386_fbsd"
   7302 	    ;;
   7303 	  x86_64-*linux*)
   7304 	    case `$FILECMD conftest.o` in
   7305 	      *x86-64*)
   7306 		LD="${LD-ld} -m elf32_x86_64"
   7307 		;;
   7308 	      *)
   7309 		LD="${LD-ld} -m elf_i386"
   7310 		;;
   7311 	    esac
   7312 	    ;;
   7313 	  powerpc64le-*linux*)
   7314 	    LD="${LD-ld} -m elf32lppclinux"
   7315 	    ;;
   7316 	  powerpc64-*linux*)
   7317 	    LD="${LD-ld} -m elf32ppclinux"
   7318 	    ;;
   7319 	  s390x-*linux*)
   7320 	    LD="${LD-ld} -m elf_s390"
   7321 	    ;;
   7322 	  sparc64-*linux*)
   7323 	    LD="${LD-ld} -m elf32_sparc"
   7324 	    ;;
   7325 	esac
   7326 	;;
   7327       *64-bit*)
   7328 	case $host in
   7329 	  x86_64-*kfreebsd*-gnu)
   7330 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7331 	    ;;
   7332 	  x86_64-*linux*)
   7333 	    LD="${LD-ld} -m elf_x86_64"
   7334 	    ;;
   7335 	  powerpcle-*linux*)
   7336 	    LD="${LD-ld} -m elf64lppc"
   7337 	    ;;
   7338 	  powerpc-*linux*)
   7339 	    LD="${LD-ld} -m elf64ppc"
   7340 	    ;;
   7341 	  s390*-*linux*|s390*-*tpf*)
   7342 	    LD="${LD-ld} -m elf64_s390"
   7343 	    ;;
   7344 	  sparc*-*linux*)
   7345 	    LD="${LD-ld} -m elf64_sparc"
   7346 	    ;;
   7347 	esac
   7348 	;;
   7349     esac
   7350   fi
   7351   rm -rf conftest*
   7352   ;;
   7353 
   7354 *-*-sco3.2v5*)
   7355   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7356   SAVE_CFLAGS=$CFLAGS
   7357   CFLAGS="$CFLAGS -belf"
   7358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7359 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7360 if test ${lt_cv_cc_needs_belf+y}
   7361 then :
   7362   printf %s "(cached) " >&6
   7363 else $as_nop
   7364   ac_ext=c
   7365 ac_cpp='$CPP $CPPFLAGS'
   7366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7369 
   7370      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7371 /* end confdefs.h.  */
   7372 
   7373 int
   7374 main (void)
   7375 {
   7376 
   7377   ;
   7378   return 0;
   7379 }
   7380 _ACEOF
   7381 if ac_fn_c_try_link "$LINENO"
   7382 then :
   7383   lt_cv_cc_needs_belf=yes
   7384 else $as_nop
   7385   lt_cv_cc_needs_belf=no
   7386 fi
   7387 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7388     conftest$ac_exeext conftest.$ac_ext
   7389      ac_ext=c
   7390 ac_cpp='$CPP $CPPFLAGS'
   7391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7394 
   7395 fi
   7396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7397 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7398   if test yes != "$lt_cv_cc_needs_belf"; then
   7399     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7400     CFLAGS=$SAVE_CFLAGS
   7401   fi
   7402   ;;
   7403 *-*solaris*)
   7404   # Find out what ABI is being produced by ac_compile, and set linker
   7405   # options accordingly.
   7406   echo 'int i;' > conftest.$ac_ext
   7407   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7408   (eval $ac_compile) 2>&5
   7409   ac_status=$?
   7410   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7411   test $ac_status = 0; }; then
   7412     case `$FILECMD conftest.o` in
   7413     *64-bit*)
   7414       case $lt_cv_prog_gnu_ld in
   7415       yes*)
   7416         case $host in
   7417         i?86-*-solaris*|x86_64-*-solaris*)
   7418           LD="${LD-ld} -m elf_x86_64"
   7419           ;;
   7420         sparc*-*-solaris*)
   7421           LD="${LD-ld} -m elf64_sparc"
   7422           ;;
   7423         esac
   7424         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7425         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7426           LD=${LD-ld}_sol2
   7427         fi
   7428         ;;
   7429       *)
   7430 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7431 	  LD="${LD-ld} -64"
   7432 	fi
   7433 	;;
   7434       esac
   7435       ;;
   7436     esac
   7437   fi
   7438   rm -rf conftest*
   7439   ;;
   7440 esac
   7441 
   7442 need_locks=$enable_libtool_lock
   7443 
   7444 if test -n "$ac_tool_prefix"; then
   7445   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7446 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7448 printf %s "checking for $ac_word... " >&6; }
   7449 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7450 then :
   7451   printf %s "(cached) " >&6
   7452 else $as_nop
   7453   if test -n "$MANIFEST_TOOL"; then
   7454   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7455 else
   7456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7457 for as_dir in $PATH
   7458 do
   7459   IFS=$as_save_IFS
   7460   case $as_dir in #(((
   7461     '') as_dir=./ ;;
   7462     */) ;;
   7463     *) as_dir=$as_dir/ ;;
   7464   esac
   7465     for ac_exec_ext in '' $ac_executable_extensions; do
   7466   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7467     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7468     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7469     break 2
   7470   fi
   7471 done
   7472   done
   7473 IFS=$as_save_IFS
   7474 
   7475 fi
   7476 fi
   7477 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7478 if test -n "$MANIFEST_TOOL"; then
   7479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7480 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7481 else
   7482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7483 printf "%s\n" "no" >&6; }
   7484 fi
   7485 
   7486 
   7487 fi
   7488 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7489   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7490   # Extract the first word of "mt", so it can be a program name with args.
   7491 set dummy mt; ac_word=$2
   7492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7493 printf %s "checking for $ac_word... " >&6; }
   7494 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7495 then :
   7496   printf %s "(cached) " >&6
   7497 else $as_nop
   7498   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7499   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7500 else
   7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7502 for as_dir in $PATH
   7503 do
   7504   IFS=$as_save_IFS
   7505   case $as_dir in #(((
   7506     '') as_dir=./ ;;
   7507     */) ;;
   7508     *) as_dir=$as_dir/ ;;
   7509   esac
   7510     for ac_exec_ext in '' $ac_executable_extensions; do
   7511   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7512     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7513     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7514     break 2
   7515   fi
   7516 done
   7517   done
   7518 IFS=$as_save_IFS
   7519 
   7520 fi
   7521 fi
   7522 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7523 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7525 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7526 else
   7527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7528 printf "%s\n" "no" >&6; }
   7529 fi
   7530 
   7531   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7532     MANIFEST_TOOL=":"
   7533   else
   7534     case $cross_compiling:$ac_tool_warned in
   7535 yes:)
   7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7537 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7538 ac_tool_warned=yes ;;
   7539 esac
   7540     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7541   fi
   7542 else
   7543   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7544 fi
   7545 
   7546 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7548 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7549 if test ${lt_cv_path_mainfest_tool+y}
   7550 then :
   7551   printf %s "(cached) " >&6
   7552 else $as_nop
   7553   lt_cv_path_mainfest_tool=no
   7554   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7555   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7556   cat conftest.err >&5
   7557   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7558     lt_cv_path_mainfest_tool=yes
   7559   fi
   7560   rm -f conftest*
   7561 fi
   7562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7563 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7564 if test yes != "$lt_cv_path_mainfest_tool"; then
   7565   MANIFEST_TOOL=:
   7566 fi
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573   case $host_os in
   7574     rhapsody* | darwin*)
   7575     if test -n "$ac_tool_prefix"; then
   7576   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7577 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7579 printf %s "checking for $ac_word... " >&6; }
   7580 if test ${ac_cv_prog_DSYMUTIL+y}
   7581 then :
   7582   printf %s "(cached) " >&6
   7583 else $as_nop
   7584   if test -n "$DSYMUTIL"; then
   7585   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7586 else
   7587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7588 for as_dir in $PATH
   7589 do
   7590   IFS=$as_save_IFS
   7591   case $as_dir in #(((
   7592     '') as_dir=./ ;;
   7593     */) ;;
   7594     *) as_dir=$as_dir/ ;;
   7595   esac
   7596     for ac_exec_ext in '' $ac_executable_extensions; do
   7597   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7598     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7599     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7600     break 2
   7601   fi
   7602 done
   7603   done
   7604 IFS=$as_save_IFS
   7605 
   7606 fi
   7607 fi
   7608 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7609 if test -n "$DSYMUTIL"; then
   7610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7611 printf "%s\n" "$DSYMUTIL" >&6; }
   7612 else
   7613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7614 printf "%s\n" "no" >&6; }
   7615 fi
   7616 
   7617 
   7618 fi
   7619 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7620   ac_ct_DSYMUTIL=$DSYMUTIL
   7621   # Extract the first word of "dsymutil", so it can be a program name with args.
   7622 set dummy dsymutil; ac_word=$2
   7623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7624 printf %s "checking for $ac_word... " >&6; }
   7625 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7626 then :
   7627   printf %s "(cached) " >&6
   7628 else $as_nop
   7629   if test -n "$ac_ct_DSYMUTIL"; then
   7630   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7631 else
   7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7633 for as_dir in $PATH
   7634 do
   7635   IFS=$as_save_IFS
   7636   case $as_dir in #(((
   7637     '') as_dir=./ ;;
   7638     */) ;;
   7639     *) as_dir=$as_dir/ ;;
   7640   esac
   7641     for ac_exec_ext in '' $ac_executable_extensions; do
   7642   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7643     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7644     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7645     break 2
   7646   fi
   7647 done
   7648   done
   7649 IFS=$as_save_IFS
   7650 
   7651 fi
   7652 fi
   7653 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7654 if test -n "$ac_ct_DSYMUTIL"; then
   7655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7656 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7657 else
   7658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7659 printf "%s\n" "no" >&6; }
   7660 fi
   7661 
   7662   if test "x$ac_ct_DSYMUTIL" = x; then
   7663     DSYMUTIL=":"
   7664   else
   7665     case $cross_compiling:$ac_tool_warned in
   7666 yes:)
   7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7668 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7669 ac_tool_warned=yes ;;
   7670 esac
   7671     DSYMUTIL=$ac_ct_DSYMUTIL
   7672   fi
   7673 else
   7674   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7675 fi
   7676 
   7677     if test -n "$ac_tool_prefix"; then
   7678   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7679 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7681 printf %s "checking for $ac_word... " >&6; }
   7682 if test ${ac_cv_prog_NMEDIT+y}
   7683 then :
   7684   printf %s "(cached) " >&6
   7685 else $as_nop
   7686   if test -n "$NMEDIT"; then
   7687   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7688 else
   7689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7690 for as_dir in $PATH
   7691 do
   7692   IFS=$as_save_IFS
   7693   case $as_dir in #(((
   7694     '') as_dir=./ ;;
   7695     */) ;;
   7696     *) as_dir=$as_dir/ ;;
   7697   esac
   7698     for ac_exec_ext in '' $ac_executable_extensions; do
   7699   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7700     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7701     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7702     break 2
   7703   fi
   7704 done
   7705   done
   7706 IFS=$as_save_IFS
   7707 
   7708 fi
   7709 fi
   7710 NMEDIT=$ac_cv_prog_NMEDIT
   7711 if test -n "$NMEDIT"; then
   7712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7713 printf "%s\n" "$NMEDIT" >&6; }
   7714 else
   7715   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7716 printf "%s\n" "no" >&6; }
   7717 fi
   7718 
   7719 
   7720 fi
   7721 if test -z "$ac_cv_prog_NMEDIT"; then
   7722   ac_ct_NMEDIT=$NMEDIT
   7723   # Extract the first word of "nmedit", so it can be a program name with args.
   7724 set dummy nmedit; ac_word=$2
   7725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7726 printf %s "checking for $ac_word... " >&6; }
   7727 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7728 then :
   7729   printf %s "(cached) " >&6
   7730 else $as_nop
   7731   if test -n "$ac_ct_NMEDIT"; then
   7732   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7733 else
   7734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7735 for as_dir in $PATH
   7736 do
   7737   IFS=$as_save_IFS
   7738   case $as_dir in #(((
   7739     '') as_dir=./ ;;
   7740     */) ;;
   7741     *) as_dir=$as_dir/ ;;
   7742   esac
   7743     for ac_exec_ext in '' $ac_executable_extensions; do
   7744   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7745     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7746     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7747     break 2
   7748   fi
   7749 done
   7750   done
   7751 IFS=$as_save_IFS
   7752 
   7753 fi
   7754 fi
   7755 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7756 if test -n "$ac_ct_NMEDIT"; then
   7757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7758 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7759 else
   7760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7761 printf "%s\n" "no" >&6; }
   7762 fi
   7763 
   7764   if test "x$ac_ct_NMEDIT" = x; then
   7765     NMEDIT=":"
   7766   else
   7767     case $cross_compiling:$ac_tool_warned in
   7768 yes:)
   7769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7770 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7771 ac_tool_warned=yes ;;
   7772 esac
   7773     NMEDIT=$ac_ct_NMEDIT
   7774   fi
   7775 else
   7776   NMEDIT="$ac_cv_prog_NMEDIT"
   7777 fi
   7778 
   7779     if test -n "$ac_tool_prefix"; then
   7780   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7781 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7783 printf %s "checking for $ac_word... " >&6; }
   7784 if test ${ac_cv_prog_LIPO+y}
   7785 then :
   7786   printf %s "(cached) " >&6
   7787 else $as_nop
   7788   if test -n "$LIPO"; then
   7789   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7790 else
   7791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7792 for as_dir in $PATH
   7793 do
   7794   IFS=$as_save_IFS
   7795   case $as_dir in #(((
   7796     '') as_dir=./ ;;
   7797     */) ;;
   7798     *) as_dir=$as_dir/ ;;
   7799   esac
   7800     for ac_exec_ext in '' $ac_executable_extensions; do
   7801   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7802     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7803     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7804     break 2
   7805   fi
   7806 done
   7807   done
   7808 IFS=$as_save_IFS
   7809 
   7810 fi
   7811 fi
   7812 LIPO=$ac_cv_prog_LIPO
   7813 if test -n "$LIPO"; then
   7814   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7815 printf "%s\n" "$LIPO" >&6; }
   7816 else
   7817   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7818 printf "%s\n" "no" >&6; }
   7819 fi
   7820 
   7821 
   7822 fi
   7823 if test -z "$ac_cv_prog_LIPO"; then
   7824   ac_ct_LIPO=$LIPO
   7825   # Extract the first word of "lipo", so it can be a program name with args.
   7826 set dummy lipo; ac_word=$2
   7827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7828 printf %s "checking for $ac_word... " >&6; }
   7829 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7830 then :
   7831   printf %s "(cached) " >&6
   7832 else $as_nop
   7833   if test -n "$ac_ct_LIPO"; then
   7834   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7835 else
   7836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7837 for as_dir in $PATH
   7838 do
   7839   IFS=$as_save_IFS
   7840   case $as_dir in #(((
   7841     '') as_dir=./ ;;
   7842     */) ;;
   7843     *) as_dir=$as_dir/ ;;
   7844   esac
   7845     for ac_exec_ext in '' $ac_executable_extensions; do
   7846   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7847     ac_cv_prog_ac_ct_LIPO="lipo"
   7848     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7849     break 2
   7850   fi
   7851 done
   7852   done
   7853 IFS=$as_save_IFS
   7854 
   7855 fi
   7856 fi
   7857 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7858 if test -n "$ac_ct_LIPO"; then
   7859   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7860 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7861 else
   7862   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7863 printf "%s\n" "no" >&6; }
   7864 fi
   7865 
   7866   if test "x$ac_ct_LIPO" = x; then
   7867     LIPO=":"
   7868   else
   7869     case $cross_compiling:$ac_tool_warned in
   7870 yes:)
   7871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7872 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7873 ac_tool_warned=yes ;;
   7874 esac
   7875     LIPO=$ac_ct_LIPO
   7876   fi
   7877 else
   7878   LIPO="$ac_cv_prog_LIPO"
   7879 fi
   7880 
   7881     if test -n "$ac_tool_prefix"; then
   7882   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7883 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7885 printf %s "checking for $ac_word... " >&6; }
   7886 if test ${ac_cv_prog_OTOOL+y}
   7887 then :
   7888   printf %s "(cached) " >&6
   7889 else $as_nop
   7890   if test -n "$OTOOL"; then
   7891   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7892 else
   7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7894 for as_dir in $PATH
   7895 do
   7896   IFS=$as_save_IFS
   7897   case $as_dir in #(((
   7898     '') as_dir=./ ;;
   7899     */) ;;
   7900     *) as_dir=$as_dir/ ;;
   7901   esac
   7902     for ac_exec_ext in '' $ac_executable_extensions; do
   7903   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7904     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7905     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7906     break 2
   7907   fi
   7908 done
   7909   done
   7910 IFS=$as_save_IFS
   7911 
   7912 fi
   7913 fi
   7914 OTOOL=$ac_cv_prog_OTOOL
   7915 if test -n "$OTOOL"; then
   7916   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7917 printf "%s\n" "$OTOOL" >&6; }
   7918 else
   7919   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7920 printf "%s\n" "no" >&6; }
   7921 fi
   7922 
   7923 
   7924 fi
   7925 if test -z "$ac_cv_prog_OTOOL"; then
   7926   ac_ct_OTOOL=$OTOOL
   7927   # Extract the first word of "otool", so it can be a program name with args.
   7928 set dummy otool; ac_word=$2
   7929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7930 printf %s "checking for $ac_word... " >&6; }
   7931 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   7932 then :
   7933   printf %s "(cached) " >&6
   7934 else $as_nop
   7935   if test -n "$ac_ct_OTOOL"; then
   7936   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7937 else
   7938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7939 for as_dir in $PATH
   7940 do
   7941   IFS=$as_save_IFS
   7942   case $as_dir in #(((
   7943     '') as_dir=./ ;;
   7944     */) ;;
   7945     *) as_dir=$as_dir/ ;;
   7946   esac
   7947     for ac_exec_ext in '' $ac_executable_extensions; do
   7948   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7949     ac_cv_prog_ac_ct_OTOOL="otool"
   7950     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7951     break 2
   7952   fi
   7953 done
   7954   done
   7955 IFS=$as_save_IFS
   7956 
   7957 fi
   7958 fi
   7959 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7960 if test -n "$ac_ct_OTOOL"; then
   7961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7962 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   7963 else
   7964   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7965 printf "%s\n" "no" >&6; }
   7966 fi
   7967 
   7968   if test "x$ac_ct_OTOOL" = x; then
   7969     OTOOL=":"
   7970   else
   7971     case $cross_compiling:$ac_tool_warned in
   7972 yes:)
   7973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7974 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7975 ac_tool_warned=yes ;;
   7976 esac
   7977     OTOOL=$ac_ct_OTOOL
   7978   fi
   7979 else
   7980   OTOOL="$ac_cv_prog_OTOOL"
   7981 fi
   7982 
   7983     if test -n "$ac_tool_prefix"; then
   7984   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7985 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7987 printf %s "checking for $ac_word... " >&6; }
   7988 if test ${ac_cv_prog_OTOOL64+y}
   7989 then :
   7990   printf %s "(cached) " >&6
   7991 else $as_nop
   7992   if test -n "$OTOOL64"; then
   7993   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7994 else
   7995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7996 for as_dir in $PATH
   7997 do
   7998   IFS=$as_save_IFS
   7999   case $as_dir in #(((
   8000     '') as_dir=./ ;;
   8001     */) ;;
   8002     *) as_dir=$as_dir/ ;;
   8003   esac
   8004     for ac_exec_ext in '' $ac_executable_extensions; do
   8005   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8006     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8007     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8008     break 2
   8009   fi
   8010 done
   8011   done
   8012 IFS=$as_save_IFS
   8013 
   8014 fi
   8015 fi
   8016 OTOOL64=$ac_cv_prog_OTOOL64
   8017 if test -n "$OTOOL64"; then
   8018   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8019 printf "%s\n" "$OTOOL64" >&6; }
   8020 else
   8021   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8022 printf "%s\n" "no" >&6; }
   8023 fi
   8024 
   8025 
   8026 fi
   8027 if test -z "$ac_cv_prog_OTOOL64"; then
   8028   ac_ct_OTOOL64=$OTOOL64
   8029   # Extract the first word of "otool64", so it can be a program name with args.
   8030 set dummy otool64; ac_word=$2
   8031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8032 printf %s "checking for $ac_word... " >&6; }
   8033 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8034 then :
   8035   printf %s "(cached) " >&6
   8036 else $as_nop
   8037   if test -n "$ac_ct_OTOOL64"; then
   8038   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8039 else
   8040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8041 for as_dir in $PATH
   8042 do
   8043   IFS=$as_save_IFS
   8044   case $as_dir in #(((
   8045     '') as_dir=./ ;;
   8046     */) ;;
   8047     *) as_dir=$as_dir/ ;;
   8048   esac
   8049     for ac_exec_ext in '' $ac_executable_extensions; do
   8050   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8051     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8052     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8053     break 2
   8054   fi
   8055 done
   8056   done
   8057 IFS=$as_save_IFS
   8058 
   8059 fi
   8060 fi
   8061 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8062 if test -n "$ac_ct_OTOOL64"; then
   8063   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8064 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8065 else
   8066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8067 printf "%s\n" "no" >&6; }
   8068 fi
   8069 
   8070   if test "x$ac_ct_OTOOL64" = x; then
   8071     OTOOL64=":"
   8072   else
   8073     case $cross_compiling:$ac_tool_warned in
   8074 yes:)
   8075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8076 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8077 ac_tool_warned=yes ;;
   8078 esac
   8079     OTOOL64=$ac_ct_OTOOL64
   8080   fi
   8081 else
   8082   OTOOL64="$ac_cv_prog_OTOOL64"
   8083 fi
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 
   8111     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8112 printf %s "checking for -single_module linker flag... " >&6; }
   8113 if test ${lt_cv_apple_cc_single_mod+y}
   8114 then :
   8115   printf %s "(cached) " >&6
   8116 else $as_nop
   8117   lt_cv_apple_cc_single_mod=no
   8118       if test -z "$LT_MULTI_MODULE"; then
   8119 	# By default we will add the -single_module flag. You can override
   8120 	# by either setting the environment variable LT_MULTI_MODULE
   8121 	# non-empty at configure time, or by adding -multi_module to the
   8122 	# link flags.
   8123 	rm -rf libconftest.dylib*
   8124 	echo "int foo(void){return 1;}" > conftest.c
   8125 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8126 -dynamiclib -Wl,-single_module conftest.c" >&5
   8127 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8128 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8129         _lt_result=$?
   8130 	# If there is a non-empty error log, and "single_module"
   8131 	# appears in it, assume the flag caused a linker warning
   8132         if test -s conftest.err && $GREP single_module conftest.err; then
   8133 	  cat conftest.err >&5
   8134 	# Otherwise, if the output was created with a 0 exit code from
   8135 	# the compiler, it worked.
   8136 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8137 	  lt_cv_apple_cc_single_mod=yes
   8138 	else
   8139 	  cat conftest.err >&5
   8140 	fi
   8141 	rm -rf libconftest.dylib*
   8142 	rm -f conftest.*
   8143       fi
   8144 fi
   8145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8146 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8147 
   8148     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8149 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8150 if test ${lt_cv_ld_exported_symbols_list+y}
   8151 then :
   8152   printf %s "(cached) " >&6
   8153 else $as_nop
   8154   lt_cv_ld_exported_symbols_list=no
   8155       save_LDFLAGS=$LDFLAGS
   8156       echo "_main" > conftest.sym
   8157       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8159 /* end confdefs.h.  */
   8160 
   8161 int
   8162 main (void)
   8163 {
   8164 
   8165   ;
   8166   return 0;
   8167 }
   8168 _ACEOF
   8169 if ac_fn_c_try_link "$LINENO"
   8170 then :
   8171   lt_cv_ld_exported_symbols_list=yes
   8172 else $as_nop
   8173   lt_cv_ld_exported_symbols_list=no
   8174 fi
   8175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8176     conftest$ac_exeext conftest.$ac_ext
   8177 	LDFLAGS=$save_LDFLAGS
   8178 
   8179 fi
   8180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8181 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8182 
   8183     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8184 printf %s "checking for -force_load linker flag... " >&6; }
   8185 if test ${lt_cv_ld_force_load+y}
   8186 then :
   8187   printf %s "(cached) " >&6
   8188 else $as_nop
   8189   lt_cv_ld_force_load=no
   8190       cat > conftest.c << _LT_EOF
   8191 int forced_loaded() { return 2;}
   8192 _LT_EOF
   8193       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8194       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8195       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8196       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8197       echo "$RANLIB libconftest.a" >&5
   8198       $RANLIB libconftest.a 2>&5
   8199       cat > conftest.c << _LT_EOF
   8200 int main() { return 0;}
   8201 _LT_EOF
   8202       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8203       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8204       _lt_result=$?
   8205       if test -s conftest.err && $GREP force_load conftest.err; then
   8206 	cat conftest.err >&5
   8207       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8208 	lt_cv_ld_force_load=yes
   8209       else
   8210 	cat conftest.err >&5
   8211       fi
   8212         rm -f conftest.err libconftest.a conftest conftest.c
   8213         rm -rf conftest.dSYM
   8214 
   8215 fi
   8216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8217 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8218     case $host_os in
   8219     rhapsody* | darwin1.[012])
   8220       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8221     darwin1.*)
   8222       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8223     darwin*)
   8224       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8225         10.[012],*|,*powerpc*-darwin[5-8]*)
   8226           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8227         *)
   8228           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8229       esac
   8230     ;;
   8231   esac
   8232     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8233       _lt_dar_single_mod='$single_module'
   8234     fi
   8235     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8236       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8237     else
   8238       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8239     fi
   8240     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8241       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8242     else
   8243       _lt_dsymutil=
   8244     fi
   8245     ;;
   8246   esac
   8247 
   8248 # func_munge_path_list VARIABLE PATH
   8249 # -----------------------------------
   8250 # VARIABLE is name of variable containing _space_ separated list of
   8251 # directories to be munged by the contents of PATH, which is string
   8252 # having a format:
   8253 # "DIR[:DIR]:"
   8254 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8255 # ":DIR[:DIR]"
   8256 #       string "DIR[ DIR]" will be appended to VARIABLE
   8257 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8258 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8259 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8260 # "DIR[:DIR]"
   8261 #       VARIABLE will be replaced by "DIR[ DIR]"
   8262 func_munge_path_list ()
   8263 {
   8264     case x$2 in
   8265     x)
   8266         ;;
   8267     *:)
   8268         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8269         ;;
   8270     x:*)
   8271         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8272         ;;
   8273     *::*)
   8274         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8275         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8276         ;;
   8277     *)
   8278         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8279         ;;
   8280     esac
   8281 }
   8282 
   8283 ac_header= ac_cache=
   8284 for ac_item in $ac_header_c_list
   8285 do
   8286   if test $ac_cache; then
   8287     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8288     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8289       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8290     fi
   8291     ac_header= ac_cache=
   8292   elif test $ac_header; then
   8293     ac_cache=$ac_item
   8294   else
   8295     ac_header=$ac_item
   8296   fi
   8297 done
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8307 then :
   8308 
   8309 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8310 
   8311 fi
   8312 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8313 "
   8314 if test "x$ac_cv_header_dlfcn_h" = xyes
   8315 then :
   8316   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8317 
   8318 fi
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 # Set options
   8325 
   8326 
   8327 
   8328         enable_dlopen=no
   8329 
   8330 
   8331   enable_win32_dll=no
   8332 
   8333 
   8334             # Check whether --enable-shared was given.
   8335 if test ${enable_shared+y}
   8336 then :
   8337   enableval=$enable_shared; p=${PACKAGE-default}
   8338     case $enableval in
   8339     yes) enable_shared=yes ;;
   8340     no) enable_shared=no ;;
   8341     *)
   8342       enable_shared=no
   8343       # Look at the argument we got.  We use all the common list separators.
   8344       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8345       for pkg in $enableval; do
   8346 	IFS=$lt_save_ifs
   8347 	if test "X$pkg" = "X$p"; then
   8348 	  enable_shared=yes
   8349 	fi
   8350       done
   8351       IFS=$lt_save_ifs
   8352       ;;
   8353     esac
   8354 else $as_nop
   8355   enable_shared=yes
   8356 fi
   8357 
   8358 
   8359 
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 
   8366   # Check whether --enable-static was given.
   8367 if test ${enable_static+y}
   8368 then :
   8369   enableval=$enable_static; p=${PACKAGE-default}
   8370     case $enableval in
   8371     yes) enable_static=yes ;;
   8372     no) enable_static=no ;;
   8373     *)
   8374      enable_static=no
   8375       # Look at the argument we got.  We use all the common list separators.
   8376       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8377       for pkg in $enableval; do
   8378 	IFS=$lt_save_ifs
   8379 	if test "X$pkg" = "X$p"; then
   8380 	  enable_static=yes
   8381 	fi
   8382       done
   8383       IFS=$lt_save_ifs
   8384       ;;
   8385     esac
   8386 else $as_nop
   8387   enable_static=yes
   8388 fi
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 # Check whether --with-pic was given.
   8400 if test ${with_pic+y}
   8401 then :
   8402   withval=$with_pic; lt_p=${PACKAGE-default}
   8403     case $withval in
   8404     yes|no) pic_mode=$withval ;;
   8405     *)
   8406       pic_mode=default
   8407       # Look at the argument we got.  We use all the common list separators.
   8408       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8409       for lt_pkg in $withval; do
   8410 	IFS=$lt_save_ifs
   8411 	if test "X$lt_pkg" = "X$lt_p"; then
   8412 	  pic_mode=yes
   8413 	fi
   8414       done
   8415       IFS=$lt_save_ifs
   8416       ;;
   8417     esac
   8418 else $as_nop
   8419   pic_mode=default
   8420 fi
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429   # Check whether --enable-fast-install was given.
   8430 if test ${enable_fast_install+y}
   8431 then :
   8432   enableval=$enable_fast_install; p=${PACKAGE-default}
   8433     case $enableval in
   8434     yes) enable_fast_install=yes ;;
   8435     no) enable_fast_install=no ;;
   8436     *)
   8437       enable_fast_install=no
   8438       # Look at the argument we got.  We use all the common list separators.
   8439       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8440       for pkg in $enableval; do
   8441 	IFS=$lt_save_ifs
   8442 	if test "X$pkg" = "X$p"; then
   8443 	  enable_fast_install=yes
   8444 	fi
   8445       done
   8446       IFS=$lt_save_ifs
   8447       ;;
   8448     esac
   8449 else $as_nop
   8450   enable_fast_install=yes
   8451 fi
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460   shared_archive_member_spec=
   8461 case $host,$enable_shared in
   8462 power*-*-aix[5-9]*,yes)
   8463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8464 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8465 
   8466 # Check whether --with-aix-soname was given.
   8467 if test ${with_aix_soname+y}
   8468 then :
   8469   withval=$with_aix_soname; case $withval in
   8470     aix|svr4|both)
   8471       ;;
   8472     *)
   8473       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8474       ;;
   8475     esac
   8476     lt_cv_with_aix_soname=$with_aix_soname
   8477 else $as_nop
   8478   if test ${lt_cv_with_aix_soname+y}
   8479 then :
   8480   printf %s "(cached) " >&6
   8481 else $as_nop
   8482   lt_cv_with_aix_soname=aix
   8483 fi
   8484 
   8485     with_aix_soname=$lt_cv_with_aix_soname
   8486 fi
   8487 
   8488   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8489 printf "%s\n" "$with_aix_soname" >&6; }
   8490   if test aix != "$with_aix_soname"; then
   8491     # For the AIX way of multilib, we name the shared archive member
   8492     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8493     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8494     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8495     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8496     if test 64 = "${OBJECT_MODE-32}"; then
   8497       shared_archive_member_spec=shr_64
   8498     else
   8499       shared_archive_member_spec=shr
   8500     fi
   8501   fi
   8502   ;;
   8503 *)
   8504   with_aix_soname=aix
   8505   ;;
   8506 esac
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 # This can be used to rebuild libtool when needed
   8518 LIBTOOL_DEPS=$ltmain
   8519 
   8520 # Always use our own libtool.
   8521 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 test -z "$LN_S" && LN_S="ln -s"
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 if test -n "${ZSH_VERSION+set}"; then
   8568    setopt NO_GLOB_SUBST
   8569 fi
   8570 
   8571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8572 printf %s "checking for objdir... " >&6; }
   8573 if test ${lt_cv_objdir+y}
   8574 then :
   8575   printf %s "(cached) " >&6
   8576 else $as_nop
   8577   rm -f .libs 2>/dev/null
   8578 mkdir .libs 2>/dev/null
   8579 if test -d .libs; then
   8580   lt_cv_objdir=.libs
   8581 else
   8582   # MS-DOS does not allow filenames that begin with a dot.
   8583   lt_cv_objdir=_libs
   8584 fi
   8585 rmdir .libs 2>/dev/null
   8586 fi
   8587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8588 printf "%s\n" "$lt_cv_objdir" >&6; }
   8589 objdir=$lt_cv_objdir
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8596 
   8597 
   8598 
   8599 
   8600 case $host_os in
   8601 aix3*)
   8602   # AIX sometimes has problems with the GCC collect2 program.  For some
   8603   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8604   # vanish in a puff of smoke.
   8605   if test set != "${COLLECT_NAMES+set}"; then
   8606     COLLECT_NAMES=
   8607     export COLLECT_NAMES
   8608   fi
   8609   ;;
   8610 esac
   8611 
   8612 # Global variables:
   8613 ofile=libtool
   8614 can_build_shared=yes
   8615 
   8616 # All known linkers require a '.a' archive for static linking (except MSVC and
   8617 # ICC, which need '.lib').
   8618 libext=a
   8619 
   8620 with_gnu_ld=$lt_cv_prog_gnu_ld
   8621 
   8622 old_CC=$CC
   8623 old_CFLAGS=$CFLAGS
   8624 
   8625 # Set sane defaults for various variables
   8626 test -z "$CC" && CC=cc
   8627 test -z "$LTCC" && LTCC=$CC
   8628 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8629 test -z "$LD" && LD=ld
   8630 test -z "$ac_objext" && ac_objext=o
   8631 
   8632 func_cc_basename $compiler
   8633 cc_basename=$func_cc_basename_result
   8634 
   8635 
   8636 # Only perform the check for file, if the check method requires it
   8637 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8638 case $deplibs_check_method in
   8639 file_magic*)
   8640   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8641     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8642 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8643 if test ${lt_cv_path_MAGIC_CMD+y}
   8644 then :
   8645   printf %s "(cached) " >&6
   8646 else $as_nop
   8647   case $MAGIC_CMD in
   8648 [\\/*] |  ?:[\\/]*)
   8649   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8650   ;;
   8651 *)
   8652   lt_save_MAGIC_CMD=$MAGIC_CMD
   8653   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8654   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8655   for ac_dir in $ac_dummy; do
   8656     IFS=$lt_save_ifs
   8657     test -z "$ac_dir" && ac_dir=.
   8658     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8659       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8660       if test -n "$file_magic_test_file"; then
   8661 	case $deplibs_check_method in
   8662 	"file_magic "*)
   8663 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8664 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8665 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8666 	    $EGREP "$file_magic_regex" > /dev/null; then
   8667 	    :
   8668 	  else
   8669 	    cat <<_LT_EOF 1>&2
   8670 
   8671 *** Warning: the command libtool uses to detect shared libraries,
   8672 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8673 *** The result is that libtool may fail to recognize shared libraries
   8674 *** as such.  This will affect the creation of libtool libraries that
   8675 *** depend on shared libraries, but programs linked with such libtool
   8676 *** libraries will work regardless of this problem.  Nevertheless, you
   8677 *** may want to report the problem to your system manager and/or to
   8678 *** bug-libtool@gnu.org
   8679 
   8680 _LT_EOF
   8681 	  fi ;;
   8682 	esac
   8683       fi
   8684       break
   8685     fi
   8686   done
   8687   IFS=$lt_save_ifs
   8688   MAGIC_CMD=$lt_save_MAGIC_CMD
   8689   ;;
   8690 esac
   8691 fi
   8692 
   8693 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8694 if test -n "$MAGIC_CMD"; then
   8695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8696 printf "%s\n" "$MAGIC_CMD" >&6; }
   8697 else
   8698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8699 printf "%s\n" "no" >&6; }
   8700 fi
   8701 
   8702 
   8703 
   8704 
   8705 
   8706 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8707   if test -n "$ac_tool_prefix"; then
   8708     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8709 printf %s "checking for file... " >&6; }
   8710 if test ${lt_cv_path_MAGIC_CMD+y}
   8711 then :
   8712   printf %s "(cached) " >&6
   8713 else $as_nop
   8714   case $MAGIC_CMD in
   8715 [\\/*] |  ?:[\\/]*)
   8716   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8717   ;;
   8718 *)
   8719   lt_save_MAGIC_CMD=$MAGIC_CMD
   8720   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8721   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8722   for ac_dir in $ac_dummy; do
   8723     IFS=$lt_save_ifs
   8724     test -z "$ac_dir" && ac_dir=.
   8725     if test -f "$ac_dir/file"; then
   8726       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8727       if test -n "$file_magic_test_file"; then
   8728 	case $deplibs_check_method in
   8729 	"file_magic "*)
   8730 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8731 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8732 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8733 	    $EGREP "$file_magic_regex" > /dev/null; then
   8734 	    :
   8735 	  else
   8736 	    cat <<_LT_EOF 1>&2
   8737 
   8738 *** Warning: the command libtool uses to detect shared libraries,
   8739 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8740 *** The result is that libtool may fail to recognize shared libraries
   8741 *** as such.  This will affect the creation of libtool libraries that
   8742 *** depend on shared libraries, but programs linked with such libtool
   8743 *** libraries will work regardless of this problem.  Nevertheless, you
   8744 *** may want to report the problem to your system manager and/or to
   8745 *** bug-libtool@gnu.org
   8746 
   8747 _LT_EOF
   8748 	  fi ;;
   8749 	esac
   8750       fi
   8751       break
   8752     fi
   8753   done
   8754   IFS=$lt_save_ifs
   8755   MAGIC_CMD=$lt_save_MAGIC_CMD
   8756   ;;
   8757 esac
   8758 fi
   8759 
   8760 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8761 if test -n "$MAGIC_CMD"; then
   8762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8763 printf "%s\n" "$MAGIC_CMD" >&6; }
   8764 else
   8765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8766 printf "%s\n" "no" >&6; }
   8767 fi
   8768 
   8769 
   8770   else
   8771     MAGIC_CMD=:
   8772   fi
   8773 fi
   8774 
   8775   fi
   8776   ;;
   8777 esac
   8778 
   8779 # Use C for the default configuration in the libtool script
   8780 
   8781 lt_save_CC=$CC
   8782 ac_ext=c
   8783 ac_cpp='$CPP $CPPFLAGS'
   8784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8787 
   8788 
   8789 # Source file extension for C test sources.
   8790 ac_ext=c
   8791 
   8792 # Object file extension for compiled C test sources.
   8793 objext=o
   8794 objext=$objext
   8795 
   8796 # Code to be used in simple compile tests
   8797 lt_simple_compile_test_code="int some_variable = 0;"
   8798 
   8799 # Code to be used in simple link tests
   8800 lt_simple_link_test_code='int main(){return(0);}'
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 # If no C compiler was specified, use CC.
   8809 LTCC=${LTCC-"$CC"}
   8810 
   8811 # If no C compiler flags were specified, use CFLAGS.
   8812 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8813 
   8814 # Allow CC to be a program name with arguments.
   8815 compiler=$CC
   8816 
   8817 # Save the default compiler, since it gets overwritten when the other
   8818 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8819 compiler_DEFAULT=$CC
   8820 
   8821 # save warnings/boilerplate of simple test code
   8822 ac_outfile=conftest.$ac_objext
   8823 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8824 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8825 _lt_compiler_boilerplate=`cat conftest.err`
   8826 $RM conftest*
   8827 
   8828 ac_outfile=conftest.$ac_objext
   8829 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8830 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8831 _lt_linker_boilerplate=`cat conftest.err`
   8832 $RM -r conftest*
   8833 
   8834 
   8835 ## CAVEAT EMPTOR:
   8836 ## There is no encapsulation within the following macros, do not change
   8837 ## the running order or otherwise move them around unless you know exactly
   8838 ## what you are doing...
   8839 if test -n "$compiler"; then
   8840 
   8841 lt_prog_compiler_no_builtin_flag=
   8842 
   8843 if test yes = "$GCC"; then
   8844   case $cc_basename in
   8845   nvcc*)
   8846     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8847   *)
   8848     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8849   esac
   8850 
   8851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8852 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8853 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8854 then :
   8855   printf %s "(cached) " >&6
   8856 else $as_nop
   8857   lt_cv_prog_compiler_rtti_exceptions=no
   8858    ac_outfile=conftest.$ac_objext
   8859    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8860    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8861    # Insert the option either (1) after the last *FLAGS variable, or
   8862    # (2) before a word containing "conftest.", or (3) at the end.
   8863    # Note that $ac_compile itself does not contain backslashes and begins
   8864    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8865    # The option is referenced via a variable to avoid confusing sed.
   8866    lt_compile=`echo "$ac_compile" | $SED \
   8867    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8868    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8869    -e 's:$: $lt_compiler_flag:'`
   8870    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8871    (eval "$lt_compile" 2>conftest.err)
   8872    ac_status=$?
   8873    cat conftest.err >&5
   8874    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8875    if (exit $ac_status) && test -s "$ac_outfile"; then
   8876      # The compiler can only warn and ignore the option if not recognized
   8877      # So say no if there are warnings other than the usual output.
   8878      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8879      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8880      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8881        lt_cv_prog_compiler_rtti_exceptions=yes
   8882      fi
   8883    fi
   8884    $RM conftest*
   8885 
   8886 fi
   8887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8888 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8889 
   8890 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8891     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8892 else
   8893     :
   8894 fi
   8895 
   8896 fi
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903   lt_prog_compiler_wl=
   8904 lt_prog_compiler_pic=
   8905 lt_prog_compiler_static=
   8906 
   8907 
   8908   if test yes = "$GCC"; then
   8909     lt_prog_compiler_wl='-Wl,'
   8910     lt_prog_compiler_static='-static'
   8911 
   8912     case $host_os in
   8913       aix*)
   8914       # All AIX code is PIC.
   8915       if test ia64 = "$host_cpu"; then
   8916 	# AIX 5 now supports IA64 processor
   8917 	lt_prog_compiler_static='-Bstatic'
   8918       fi
   8919       lt_prog_compiler_pic='-fPIC'
   8920       ;;
   8921 
   8922     amigaos*)
   8923       case $host_cpu in
   8924       powerpc)
   8925             # see comment about AmigaOS4 .so support
   8926             lt_prog_compiler_pic='-fPIC'
   8927         ;;
   8928       m68k)
   8929             # FIXME: we need at least 68020 code to build shared libraries, but
   8930             # adding the '-m68020' flag to GCC prevents building anything better,
   8931             # like '-m68040'.
   8932             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8933         ;;
   8934       esac
   8935       ;;
   8936 
   8937     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8938       # PIC is the default for these OSes.
   8939       ;;
   8940 
   8941     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8942       # This hack is so that the source file can tell whether it is being
   8943       # built for inclusion in a dll (and should export symbols for example).
   8944       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8945       # (--disable-auto-import) libraries
   8946       lt_prog_compiler_pic='-DDLL_EXPORT'
   8947       case $host_os in
   8948       os2*)
   8949 	lt_prog_compiler_static='$wl-static'
   8950 	;;
   8951       esac
   8952       ;;
   8953 
   8954     darwin* | rhapsody*)
   8955       # PIC is the default on this platform
   8956       # Common symbols not allowed in MH_DYLIB files
   8957       lt_prog_compiler_pic='-fno-common'
   8958       ;;
   8959 
   8960     haiku*)
   8961       # PIC is the default for Haiku.
   8962       # The "-static" flag exists, but is broken.
   8963       lt_prog_compiler_static=
   8964       ;;
   8965 
   8966     hpux*)
   8967       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8968       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8969       # sets the default TLS model and affects inlining.
   8970       case $host_cpu in
   8971       hppa*64*)
   8972 	# +Z the default
   8973 	;;
   8974       *)
   8975 	lt_prog_compiler_pic='-fPIC'
   8976 	;;
   8977       esac
   8978       ;;
   8979 
   8980     interix[3-9]*)
   8981       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8982       # Instead, we relocate shared libraries at runtime.
   8983       ;;
   8984 
   8985     msdosdjgpp*)
   8986       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8987       # on systems that don't support them.
   8988       lt_prog_compiler_can_build_shared=no
   8989       enable_shared=no
   8990       ;;
   8991 
   8992     *nto* | *qnx*)
   8993       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8994       # it will coredump.
   8995       lt_prog_compiler_pic='-fPIC -shared'
   8996       ;;
   8997 
   8998     sysv4*MP*)
   8999       if test -d /usr/nec; then
   9000 	lt_prog_compiler_pic=-Kconform_pic
   9001       fi
   9002       ;;
   9003 
   9004     *)
   9005       lt_prog_compiler_pic='-fPIC'
   9006       ;;
   9007     esac
   9008 
   9009     case $cc_basename in
   9010     nvcc*) # Cuda Compiler Driver 2.2
   9011       lt_prog_compiler_wl='-Xlinker '
   9012       if test -n "$lt_prog_compiler_pic"; then
   9013         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9014       fi
   9015       ;;
   9016     esac
   9017   else
   9018     # PORTME Check for flag to pass linker flags through the system compiler.
   9019     case $host_os in
   9020     aix*)
   9021       lt_prog_compiler_wl='-Wl,'
   9022       if test ia64 = "$host_cpu"; then
   9023 	# AIX 5 now supports IA64 processor
   9024 	lt_prog_compiler_static='-Bstatic'
   9025       else
   9026 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9027       fi
   9028       ;;
   9029 
   9030     darwin* | rhapsody*)
   9031       # PIC is the default on this platform
   9032       # Common symbols not allowed in MH_DYLIB files
   9033       lt_prog_compiler_pic='-fno-common'
   9034       case $cc_basename in
   9035       nagfor*)
   9036         # NAG Fortran compiler
   9037         lt_prog_compiler_wl='-Wl,-Wl,,'
   9038         lt_prog_compiler_pic='-PIC'
   9039         lt_prog_compiler_static='-Bstatic'
   9040         ;;
   9041       esac
   9042       ;;
   9043 
   9044     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9045       # This hack is so that the source file can tell whether it is being
   9046       # built for inclusion in a dll (and should export symbols for example).
   9047       lt_prog_compiler_pic='-DDLL_EXPORT'
   9048       case $host_os in
   9049       os2*)
   9050 	lt_prog_compiler_static='$wl-static'
   9051 	;;
   9052       esac
   9053       ;;
   9054 
   9055     hpux9* | hpux10* | hpux11*)
   9056       lt_prog_compiler_wl='-Wl,'
   9057       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9058       # not for PA HP-UX.
   9059       case $host_cpu in
   9060       hppa*64*|ia64*)
   9061 	# +Z the default
   9062 	;;
   9063       *)
   9064 	lt_prog_compiler_pic='+Z'
   9065 	;;
   9066       esac
   9067       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9068       lt_prog_compiler_static='$wl-a ${wl}archive'
   9069       ;;
   9070 
   9071     irix5* | irix6* | nonstopux*)
   9072       lt_prog_compiler_wl='-Wl,'
   9073       # PIC (with -KPIC) is the default.
   9074       lt_prog_compiler_static='-non_shared'
   9075       ;;
   9076 
   9077     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9078       case $cc_basename in
   9079       # old Intel for x86_64, which still supported -KPIC.
   9080       ecc*)
   9081 	lt_prog_compiler_wl='-Wl,'
   9082 	lt_prog_compiler_pic='-KPIC'
   9083 	lt_prog_compiler_static='-static'
   9084         ;;
   9085       # icc used to be incompatible with GCC.
   9086       # ICC 10 doesn't accept -KPIC any more.
   9087       icc* | ifort*)
   9088 	lt_prog_compiler_wl='-Wl,'
   9089 	lt_prog_compiler_pic='-fPIC'
   9090 	lt_prog_compiler_static='-static'
   9091         ;;
   9092       # Lahey Fortran 8.1.
   9093       lf95*)
   9094 	lt_prog_compiler_wl='-Wl,'
   9095 	lt_prog_compiler_pic='--shared'
   9096 	lt_prog_compiler_static='--static'
   9097 	;;
   9098       nagfor*)
   9099 	# NAG Fortran compiler
   9100 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9101 	lt_prog_compiler_pic='-PIC'
   9102 	lt_prog_compiler_static='-Bstatic'
   9103 	;;
   9104       tcc*)
   9105 	# Fabrice Bellard et al's Tiny C Compiler
   9106 	lt_prog_compiler_wl='-Wl,'
   9107 	lt_prog_compiler_pic='-fPIC'
   9108 	lt_prog_compiler_static='-static'
   9109 	;;
   9110       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9111         # Portland Group compilers (*not* the Pentium gcc compiler,
   9112 	# which looks to be a dead project)
   9113 	lt_prog_compiler_wl='-Wl,'
   9114 	lt_prog_compiler_pic='-fpic'
   9115 	lt_prog_compiler_static='-Bstatic'
   9116         ;;
   9117       ccc*)
   9118         lt_prog_compiler_wl='-Wl,'
   9119         # All Alpha code is PIC.
   9120         lt_prog_compiler_static='-non_shared'
   9121         ;;
   9122       xl* | bgxl* | bgf* | mpixl*)
   9123 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9124 	lt_prog_compiler_wl='-Wl,'
   9125 	lt_prog_compiler_pic='-qpic'
   9126 	lt_prog_compiler_static='-qstaticlink'
   9127 	;;
   9128       *)
   9129 	case `$CC -V 2>&1 | $SED 5q` in
   9130 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9131 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9132 	  lt_prog_compiler_pic='-KPIC'
   9133 	  lt_prog_compiler_static='-Bstatic'
   9134 	  lt_prog_compiler_wl=''
   9135 	  ;;
   9136 	*Sun\ F* | *Sun*Fortran*)
   9137 	  lt_prog_compiler_pic='-KPIC'
   9138 	  lt_prog_compiler_static='-Bstatic'
   9139 	  lt_prog_compiler_wl='-Qoption ld '
   9140 	  ;;
   9141 	*Sun\ C*)
   9142 	  # Sun C 5.9
   9143 	  lt_prog_compiler_pic='-KPIC'
   9144 	  lt_prog_compiler_static='-Bstatic'
   9145 	  lt_prog_compiler_wl='-Wl,'
   9146 	  ;;
   9147         *Intel*\ [CF]*Compiler*)
   9148 	  lt_prog_compiler_wl='-Wl,'
   9149 	  lt_prog_compiler_pic='-fPIC'
   9150 	  lt_prog_compiler_static='-static'
   9151 	  ;;
   9152 	*Portland\ Group*)
   9153 	  lt_prog_compiler_wl='-Wl,'
   9154 	  lt_prog_compiler_pic='-fpic'
   9155 	  lt_prog_compiler_static='-Bstatic'
   9156 	  ;;
   9157 	esac
   9158 	;;
   9159       esac
   9160       ;;
   9161 
   9162     newsos6)
   9163       lt_prog_compiler_pic='-KPIC'
   9164       lt_prog_compiler_static='-Bstatic'
   9165       ;;
   9166 
   9167     *nto* | *qnx*)
   9168       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9169       # it will coredump.
   9170       lt_prog_compiler_pic='-fPIC -shared'
   9171       ;;
   9172 
   9173     osf3* | osf4* | osf5*)
   9174       lt_prog_compiler_wl='-Wl,'
   9175       # All OSF/1 code is PIC.
   9176       lt_prog_compiler_static='-non_shared'
   9177       ;;
   9178 
   9179     rdos*)
   9180       lt_prog_compiler_static='-non_shared'
   9181       ;;
   9182 
   9183     solaris*)
   9184       lt_prog_compiler_pic='-KPIC'
   9185       lt_prog_compiler_static='-Bstatic'
   9186       case $cc_basename in
   9187       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9188 	lt_prog_compiler_wl='-Qoption ld ';;
   9189       *)
   9190 	lt_prog_compiler_wl='-Wl,';;
   9191       esac
   9192       ;;
   9193 
   9194     sunos4*)
   9195       lt_prog_compiler_wl='-Qoption ld '
   9196       lt_prog_compiler_pic='-PIC'
   9197       lt_prog_compiler_static='-Bstatic'
   9198       ;;
   9199 
   9200     sysv4 | sysv4.2uw2* | sysv4.3*)
   9201       lt_prog_compiler_wl='-Wl,'
   9202       lt_prog_compiler_pic='-KPIC'
   9203       lt_prog_compiler_static='-Bstatic'
   9204       ;;
   9205 
   9206     sysv4*MP*)
   9207       if test -d /usr/nec; then
   9208 	lt_prog_compiler_pic='-Kconform_pic'
   9209 	lt_prog_compiler_static='-Bstatic'
   9210       fi
   9211       ;;
   9212 
   9213     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9214       lt_prog_compiler_wl='-Wl,'
   9215       lt_prog_compiler_pic='-KPIC'
   9216       lt_prog_compiler_static='-Bstatic'
   9217       ;;
   9218 
   9219     unicos*)
   9220       lt_prog_compiler_wl='-Wl,'
   9221       lt_prog_compiler_can_build_shared=no
   9222       ;;
   9223 
   9224     uts4*)
   9225       lt_prog_compiler_pic='-pic'
   9226       lt_prog_compiler_static='-Bstatic'
   9227       ;;
   9228 
   9229     *)
   9230       lt_prog_compiler_can_build_shared=no
   9231       ;;
   9232     esac
   9233   fi
   9234 
   9235 case $host_os in
   9236   # For platforms that do not support PIC, -DPIC is meaningless:
   9237   *djgpp*)
   9238     lt_prog_compiler_pic=
   9239     ;;
   9240   *)
   9241     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9242     ;;
   9243 esac
   9244 
   9245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9246 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9247 if test ${lt_cv_prog_compiler_pic+y}
   9248 then :
   9249   printf %s "(cached) " >&6
   9250 else $as_nop
   9251   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9252 fi
   9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9254 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9255 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9256 
   9257 #
   9258 # Check to make sure the PIC flag actually works.
   9259 #
   9260 if test -n "$lt_prog_compiler_pic"; then
   9261   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9262 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9263 if test ${lt_cv_prog_compiler_pic_works+y}
   9264 then :
   9265   printf %s "(cached) " >&6
   9266 else $as_nop
   9267   lt_cv_prog_compiler_pic_works=no
   9268    ac_outfile=conftest.$ac_objext
   9269    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9270    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9271    # Insert the option either (1) after the last *FLAGS variable, or
   9272    # (2) before a word containing "conftest.", or (3) at the end.
   9273    # Note that $ac_compile itself does not contain backslashes and begins
   9274    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9275    # The option is referenced via a variable to avoid confusing sed.
   9276    lt_compile=`echo "$ac_compile" | $SED \
   9277    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9278    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9279    -e 's:$: $lt_compiler_flag:'`
   9280    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9281    (eval "$lt_compile" 2>conftest.err)
   9282    ac_status=$?
   9283    cat conftest.err >&5
   9284    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9285    if (exit $ac_status) && test -s "$ac_outfile"; then
   9286      # The compiler can only warn and ignore the option if not recognized
   9287      # So say no if there are warnings other than the usual output.
   9288      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9289      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9290      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9291        lt_cv_prog_compiler_pic_works=yes
   9292      fi
   9293    fi
   9294    $RM conftest*
   9295 
   9296 fi
   9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9298 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9299 
   9300 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9301     case $lt_prog_compiler_pic in
   9302      "" | " "*) ;;
   9303      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9304      esac
   9305 else
   9306     lt_prog_compiler_pic=
   9307      lt_prog_compiler_can_build_shared=no
   9308 fi
   9309 
   9310 fi
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 #
   9323 # Check to make sure the static flag actually works.
   9324 #
   9325 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9327 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9328 if test ${lt_cv_prog_compiler_static_works+y}
   9329 then :
   9330   printf %s "(cached) " >&6
   9331 else $as_nop
   9332   lt_cv_prog_compiler_static_works=no
   9333    save_LDFLAGS=$LDFLAGS
   9334    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9335    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9336    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9337      # The linker can only warn and ignore the option if not recognized
   9338      # So say no if there are warnings
   9339      if test -s conftest.err; then
   9340        # Append any errors to the config.log.
   9341        cat conftest.err 1>&5
   9342        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9343        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9344        if diff conftest.exp conftest.er2 >/dev/null; then
   9345          lt_cv_prog_compiler_static_works=yes
   9346        fi
   9347      else
   9348        lt_cv_prog_compiler_static_works=yes
   9349      fi
   9350    fi
   9351    $RM -r conftest*
   9352    LDFLAGS=$save_LDFLAGS
   9353 
   9354 fi
   9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9356 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9357 
   9358 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9359     :
   9360 else
   9361     lt_prog_compiler_static=
   9362 fi
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9371 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9372 if test ${lt_cv_prog_compiler_c_o+y}
   9373 then :
   9374   printf %s "(cached) " >&6
   9375 else $as_nop
   9376   lt_cv_prog_compiler_c_o=no
   9377    $RM -r conftest 2>/dev/null
   9378    mkdir conftest
   9379    cd conftest
   9380    mkdir out
   9381    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9382 
   9383    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9384    # Insert the option either (1) after the last *FLAGS variable, or
   9385    # (2) before a word containing "conftest.", or (3) at the end.
   9386    # Note that $ac_compile itself does not contain backslashes and begins
   9387    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9388    lt_compile=`echo "$ac_compile" | $SED \
   9389    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9390    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9391    -e 's:$: $lt_compiler_flag:'`
   9392    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9393    (eval "$lt_compile" 2>out/conftest.err)
   9394    ac_status=$?
   9395    cat out/conftest.err >&5
   9396    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9397    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9398    then
   9399      # The compiler can only warn and ignore the option if not recognized
   9400      # So say no if there are warnings
   9401      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9402      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9403      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9404        lt_cv_prog_compiler_c_o=yes
   9405      fi
   9406    fi
   9407    chmod u+w . 2>&5
   9408    $RM conftest*
   9409    # SGI C++ compiler will create directory out/ii_files/ for
   9410    # template instantiation
   9411    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9412    $RM out/* && rmdir out
   9413    cd ..
   9414    $RM -r conftest
   9415    $RM conftest*
   9416 
   9417 fi
   9418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9419 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9427 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9428 if test ${lt_cv_prog_compiler_c_o+y}
   9429 then :
   9430   printf %s "(cached) " >&6
   9431 else $as_nop
   9432   lt_cv_prog_compiler_c_o=no
   9433    $RM -r conftest 2>/dev/null
   9434    mkdir conftest
   9435    cd conftest
   9436    mkdir out
   9437    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9438 
   9439    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9440    # Insert the option either (1) after the last *FLAGS variable, or
   9441    # (2) before a word containing "conftest.", or (3) at the end.
   9442    # Note that $ac_compile itself does not contain backslashes and begins
   9443    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9444    lt_compile=`echo "$ac_compile" | $SED \
   9445    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9446    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9447    -e 's:$: $lt_compiler_flag:'`
   9448    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9449    (eval "$lt_compile" 2>out/conftest.err)
   9450    ac_status=$?
   9451    cat out/conftest.err >&5
   9452    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9453    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9454    then
   9455      # The compiler can only warn and ignore the option if not recognized
   9456      # So say no if there are warnings
   9457      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9458      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9459      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9460        lt_cv_prog_compiler_c_o=yes
   9461      fi
   9462    fi
   9463    chmod u+w . 2>&5
   9464    $RM conftest*
   9465    # SGI C++ compiler will create directory out/ii_files/ for
   9466    # template instantiation
   9467    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9468    $RM out/* && rmdir out
   9469    cd ..
   9470    $RM -r conftest
   9471    $RM conftest*
   9472 
   9473 fi
   9474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9475 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9476 
   9477 
   9478 
   9479 
   9480 hard_links=nottested
   9481 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9482   # do not overwrite the value of need_locks provided by the user
   9483   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9484 printf %s "checking if we can lock with hard links... " >&6; }
   9485   hard_links=yes
   9486   $RM conftest*
   9487   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9488   touch conftest.a
   9489   ln conftest.a conftest.b 2>&5 || hard_links=no
   9490   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9492 printf "%s\n" "$hard_links" >&6; }
   9493   if test no = "$hard_links"; then
   9494     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9495 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9496     need_locks=warn
   9497   fi
   9498 else
   9499   need_locks=no
   9500 fi
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9508 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9509 
   9510   runpath_var=
   9511   allow_undefined_flag=
   9512   always_export_symbols=no
   9513   archive_cmds=
   9514   archive_expsym_cmds=
   9515   compiler_needs_object=no
   9516   enable_shared_with_static_runtimes=no
   9517   export_dynamic_flag_spec=
   9518   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9519   hardcode_automatic=no
   9520   hardcode_direct=no
   9521   hardcode_direct_absolute=no
   9522   hardcode_libdir_flag_spec=
   9523   hardcode_libdir_separator=
   9524   hardcode_minus_L=no
   9525   hardcode_shlibpath_var=unsupported
   9526   inherit_rpath=no
   9527   link_all_deplibs=unknown
   9528   module_cmds=
   9529   module_expsym_cmds=
   9530   old_archive_from_new_cmds=
   9531   old_archive_from_expsyms_cmds=
   9532   thread_safe_flag_spec=
   9533   whole_archive_flag_spec=
   9534   # include_expsyms should be a list of space-separated symbols to be *always*
   9535   # included in the symbol list
   9536   include_expsyms=
   9537   # exclude_expsyms can be an extended regexp of symbols to exclude
   9538   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9539   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9540   # as well as any symbol that contains 'd'.
   9541   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9542   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9543   # platforms (ab)use it in PIC code, but their linkers get confused if
   9544   # the symbol is explicitly referenced.  Since portable code cannot
   9545   # rely on this symbol name, it's probably fine to never include it in
   9546   # preloaded symbol tables.
   9547   # Exclude shared library initialization/finalization symbols.
   9548   extract_expsyms_cmds=
   9549 
   9550   case $host_os in
   9551   cygwin* | mingw* | pw32* | cegcc*)
   9552     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9553     # When not using gcc, we currently assume that we are using
   9554     # Microsoft Visual C++ or Intel C++ Compiler.
   9555     if test yes != "$GCC"; then
   9556       with_gnu_ld=no
   9557     fi
   9558     ;;
   9559   interix*)
   9560     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9561     with_gnu_ld=yes
   9562     ;;
   9563   openbsd* | bitrig*)
   9564     with_gnu_ld=no
   9565     ;;
   9566   esac
   9567 
   9568   ld_shlibs=yes
   9569 
   9570   # On some targets, GNU ld is compatible enough with the native linker
   9571   # that we're better off using the native interface for both.
   9572   lt_use_gnu_ld_interface=no
   9573   if test yes = "$with_gnu_ld"; then
   9574     case $host_os in
   9575       aix*)
   9576 	# The AIX port of GNU ld has always aspired to compatibility
   9577 	# with the native linker.  However, as the warning in the GNU ld
   9578 	# block says, versions before 2.19.5* couldn't really create working
   9579 	# shared libraries, regardless of the interface used.
   9580 	case `$LD -v 2>&1` in
   9581 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9582 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9583 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9584 	  *)
   9585 	    lt_use_gnu_ld_interface=yes
   9586 	    ;;
   9587 	esac
   9588 	;;
   9589       *)
   9590 	lt_use_gnu_ld_interface=yes
   9591 	;;
   9592     esac
   9593   fi
   9594 
   9595   if test yes = "$lt_use_gnu_ld_interface"; then
   9596     # If archive_cmds runs LD, not CC, wlarc should be empty
   9597     wlarc='$wl'
   9598 
   9599     # Set some defaults for GNU ld with shared library support. These
   9600     # are reset later if shared libraries are not supported. Putting them
   9601     # here allows them to be overridden if necessary.
   9602     runpath_var=LD_RUN_PATH
   9603     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9604     export_dynamic_flag_spec='$wl--export-dynamic'
   9605     # ancient GNU ld didn't support --whole-archive et. al.
   9606     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9607       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9608     else
   9609       whole_archive_flag_spec=
   9610     fi
   9611     supports_anon_versioning=no
   9612     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9613       *GNU\ gold*) supports_anon_versioning=yes ;;
   9614       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9615       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9616       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9617       *\ 2.11.*) ;; # other 2.11 versions
   9618       *) supports_anon_versioning=yes ;;
   9619     esac
   9620 
   9621     # See if GNU ld supports shared libraries.
   9622     case $host_os in
   9623     aix[3-9]*)
   9624       # On AIX/PPC, the GNU linker is very broken
   9625       if test ia64 != "$host_cpu"; then
   9626 	ld_shlibs=no
   9627 	cat <<_LT_EOF 1>&2
   9628 
   9629 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9630 *** to be unable to reliably create shared libraries on AIX.
   9631 *** Therefore, libtool is disabling shared libraries support.  If you
   9632 *** really care for shared libraries, you may want to install binutils
   9633 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9634 *** You will then need to restart the configuration process.
   9635 
   9636 _LT_EOF
   9637       fi
   9638       ;;
   9639 
   9640     amigaos*)
   9641       case $host_cpu in
   9642       powerpc)
   9643             # see comment about AmigaOS4 .so support
   9644             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9645             archive_expsym_cmds=''
   9646         ;;
   9647       m68k)
   9648             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)'
   9649             hardcode_libdir_flag_spec='-L$libdir'
   9650             hardcode_minus_L=yes
   9651         ;;
   9652       esac
   9653       ;;
   9654 
   9655     beos*)
   9656       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9657 	allow_undefined_flag=unsupported
   9658 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9659 	# support --undefined.  This deserves some investigation.  FIXME
   9660 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9661       else
   9662 	ld_shlibs=no
   9663       fi
   9664       ;;
   9665 
   9666     cygwin* | mingw* | pw32* | cegcc*)
   9667       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9668       # as there is no search path for DLLs.
   9669       hardcode_libdir_flag_spec='-L$libdir'
   9670       export_dynamic_flag_spec='$wl--export-all-symbols'
   9671       allow_undefined_flag=unsupported
   9672       always_export_symbols=no
   9673       enable_shared_with_static_runtimes=yes
   9674       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'
   9675       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9676 
   9677       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9678         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9679 	# If the export-symbols file already is a .def file, use it as
   9680 	# is; otherwise, prepend EXPORTS...
   9681 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9682           cp $export_symbols $output_objdir/$soname.def;
   9683         else
   9684           echo EXPORTS > $output_objdir/$soname.def;
   9685           cat $export_symbols >> $output_objdir/$soname.def;
   9686         fi~
   9687         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9688       else
   9689 	ld_shlibs=no
   9690       fi
   9691       ;;
   9692 
   9693     haiku*)
   9694       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9695       link_all_deplibs=yes
   9696       ;;
   9697 
   9698     os2*)
   9699       hardcode_libdir_flag_spec='-L$libdir'
   9700       hardcode_minus_L=yes
   9701       allow_undefined_flag=unsupported
   9702       shrext_cmds=.dll
   9703       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9704 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9705 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9706 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9707 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9708 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9709 	emximp -o $lib $output_objdir/$libname.def'
   9710       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9711 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9712 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9713 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9714 	prefix_cmds="$SED"~
   9715 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9716 	  prefix_cmds="$prefix_cmds -e 1d";
   9717 	fi~
   9718 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9719 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9720 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9721 	emximp -o $lib $output_objdir/$libname.def'
   9722       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9723       enable_shared_with_static_runtimes=yes
   9724       file_list_spec='@'
   9725       ;;
   9726 
   9727     interix[3-9]*)
   9728       hardcode_direct=no
   9729       hardcode_shlibpath_var=no
   9730       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9731       export_dynamic_flag_spec='$wl-E'
   9732       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9733       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9734       # default) and relocated if they conflict, which is a slow very memory
   9735       # consuming and fragmenting process.  To avoid this, we pick a random,
   9736       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9737       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9738       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9739       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'
   9740       ;;
   9741 
   9742     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9743       tmp_diet=no
   9744       if test linux-dietlibc = "$host_os"; then
   9745 	case $cc_basename in
   9746 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9747 	esac
   9748       fi
   9749       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9750 	 && test no = "$tmp_diet"
   9751       then
   9752 	tmp_addflag=' $pic_flag'
   9753 	tmp_sharedflag='-shared'
   9754 	case $cc_basename,$host_cpu in
   9755         pgcc*)				# Portland Group C compiler
   9756 	  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'
   9757 	  tmp_addflag=' $pic_flag'
   9758 	  ;;
   9759 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9760 					# Portland Group f77 and f90 compilers
   9761 	  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'
   9762 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9763 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9764 	  tmp_addflag=' -i_dynamic' ;;
   9765 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9766 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9767 	ifc* | ifort*)			# Intel Fortran compiler
   9768 	  tmp_addflag=' -nofor_main' ;;
   9769 	lf95*)				# Lahey Fortran 8.1
   9770 	  whole_archive_flag_spec=
   9771 	  tmp_sharedflag='--shared' ;;
   9772         nagfor*)                        # NAGFOR 5.3
   9773           tmp_sharedflag='-Wl,-shared' ;;
   9774 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9775 	  tmp_sharedflag='-qmkshrobj'
   9776 	  tmp_addflag= ;;
   9777 	nvcc*)	# Cuda Compiler Driver 2.2
   9778 	  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'
   9779 	  compiler_needs_object=yes
   9780 	  ;;
   9781 	esac
   9782 	case `$CC -V 2>&1 | $SED 5q` in
   9783 	*Sun\ C*)			# Sun C 5.9
   9784 	  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'
   9785 	  compiler_needs_object=yes
   9786 	  tmp_sharedflag='-G' ;;
   9787 	*Sun\ F*)			# Sun Fortran 8.3
   9788 	  tmp_sharedflag='-G' ;;
   9789 	esac
   9790 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9791 
   9792         if test yes = "$supports_anon_versioning"; then
   9793           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9794             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9795             echo "local: *; };" >> $output_objdir/$libname.ver~
   9796             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9797         fi
   9798 
   9799 	case $cc_basename in
   9800 	tcc*)
   9801 	  export_dynamic_flag_spec='-rdynamic'
   9802 	  ;;
   9803 	xlf* | bgf* | bgxlf* | mpixlf*)
   9804 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9805 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9806 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9807 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9808 	  if test yes = "$supports_anon_versioning"; then
   9809 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9810               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9811               echo "local: *; };" >> $output_objdir/$libname.ver~
   9812               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9813 	  fi
   9814 	  ;;
   9815 	esac
   9816       else
   9817         ld_shlibs=no
   9818       fi
   9819       ;;
   9820 
   9821     netbsd*)
   9822       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9823 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9824 	wlarc=
   9825       else
   9826 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9827 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9828       fi
   9829       ;;
   9830 
   9831     solaris*)
   9832       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9833 	ld_shlibs=no
   9834 	cat <<_LT_EOF 1>&2
   9835 
   9836 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9837 *** create shared libraries on Solaris systems.  Therefore, libtool
   9838 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9839 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9840 *** your PATH or compiler configuration so that the native linker is
   9841 *** used, and then restart.
   9842 
   9843 _LT_EOF
   9844       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9845 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9846 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9847       else
   9848 	ld_shlibs=no
   9849       fi
   9850       ;;
   9851 
   9852     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9853       case `$LD -v 2>&1` in
   9854         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9855 	ld_shlibs=no
   9856 	cat <<_LT_EOF 1>&2
   9857 
   9858 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9859 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9860 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9861 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9862 *** your PATH or compiler configuration so that the native linker is
   9863 *** used, and then restart.
   9864 
   9865 _LT_EOF
   9866 	;;
   9867 	*)
   9868 	  # For security reasons, it is highly recommended that you always
   9869 	  # use absolute paths for naming shared libraries, and exclude the
   9870 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9871 	  # requires that you compile everything twice, which is a pain.
   9872 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9873 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9874 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9875 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9876 	  else
   9877 	    ld_shlibs=no
   9878 	  fi
   9879 	;;
   9880       esac
   9881       ;;
   9882 
   9883     sunos4*)
   9884       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9885       wlarc=
   9886       hardcode_direct=yes
   9887       hardcode_shlibpath_var=no
   9888       ;;
   9889 
   9890     *)
   9891       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9892 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9893 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9894       else
   9895 	ld_shlibs=no
   9896       fi
   9897       ;;
   9898     esac
   9899 
   9900     if test no = "$ld_shlibs"; then
   9901       runpath_var=
   9902       hardcode_libdir_flag_spec=
   9903       export_dynamic_flag_spec=
   9904       whole_archive_flag_spec=
   9905     fi
   9906   else
   9907     # PORTME fill in a description of your system's linker (not GNU ld)
   9908     case $host_os in
   9909     aix3*)
   9910       allow_undefined_flag=unsupported
   9911       always_export_symbols=yes
   9912       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'
   9913       # Note: this linker hardcodes the directories in LIBPATH if there
   9914       # are no directories specified by -L.
   9915       hardcode_minus_L=yes
   9916       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9917 	# Neither direct hardcoding nor static linking is supported with a
   9918 	# broken collect2.
   9919 	hardcode_direct=unsupported
   9920       fi
   9921       ;;
   9922 
   9923     aix[4-9]*)
   9924       if test ia64 = "$host_cpu"; then
   9925 	# On IA64, the linker does run time linking by default, so we don't
   9926 	# have to do anything special.
   9927 	aix_use_runtimelinking=no
   9928 	exp_sym_flag='-Bexport'
   9929 	no_entry_flag=
   9930       else
   9931 	# If we're using GNU nm, then we don't want the "-C" option.
   9932 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9933 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9934 	# weak defined symbols like other global defined symbols, whereas
   9935 	# GNU nm marks them as "W".
   9936 	# While the 'weak' keyword is ignored in the Export File, we need
   9937 	# it in the Import File for the 'aix-soname' feature, so we have
   9938 	# to replace the "-B" option with "-P" for AIX nm.
   9939 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9940 	  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'
   9941 	else
   9942 	  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'
   9943 	fi
   9944 	aix_use_runtimelinking=no
   9945 
   9946 	# Test if we are trying to use run time linking or normal
   9947 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9948 	# have runtime linking enabled, and use it for executables.
   9949 	# For shared libraries, we enable/disable runtime linking
   9950 	# depending on the kind of the shared library created -
   9951 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9952 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9953 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9954 	#            lib.a           static archive
   9955 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9956 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9957 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9958 	#            lib.a(lib.so.V) shared, rtl:no
   9959 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9960 	#            lib.a           static archive
   9961 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9962 	  for ld_flag in $LDFLAGS; do
   9963 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9964 	    aix_use_runtimelinking=yes
   9965 	    break
   9966 	  fi
   9967 	  done
   9968 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9969 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9970 	    # so we don't have lib.a shared libs to link our executables.
   9971 	    # We have to force runtime linking in this case.
   9972 	    aix_use_runtimelinking=yes
   9973 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9974 	  fi
   9975 	  ;;
   9976 	esac
   9977 
   9978 	exp_sym_flag='-bexport'
   9979 	no_entry_flag='-bnoentry'
   9980       fi
   9981 
   9982       # When large executables or shared objects are built, AIX ld can
   9983       # have problems creating the table of contents.  If linking a library
   9984       # or program results in "error TOC overflow" add -mminimal-toc to
   9985       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9986       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9987 
   9988       archive_cmds=''
   9989       hardcode_direct=yes
   9990       hardcode_direct_absolute=yes
   9991       hardcode_libdir_separator=':'
   9992       link_all_deplibs=yes
   9993       file_list_spec='$wl-f,'
   9994       case $with_aix_soname,$aix_use_runtimelinking in
   9995       aix,*) ;; # traditional, no import file
   9996       svr4,* | *,yes) # use import file
   9997 	# The Import File defines what to hardcode.
   9998 	hardcode_direct=no
   9999 	hardcode_direct_absolute=no
   10000 	;;
   10001       esac
   10002 
   10003       if test yes = "$GCC"; then
   10004 	case $host_os in aix4.[012]|aix4.[012].*)
   10005 	# We only want to do this on AIX 4.2 and lower, the check
   10006 	# below for broken collect2 doesn't work under 4.3+
   10007 	  collect2name=`$CC -print-prog-name=collect2`
   10008 	  if test -f "$collect2name" &&
   10009 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10010 	  then
   10011 	  # We have reworked collect2
   10012 	  :
   10013 	  else
   10014 	  # We have old collect2
   10015 	  hardcode_direct=unsupported
   10016 	  # It fails to find uninstalled libraries when the uninstalled
   10017 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10018 	  # to unsupported forces relinking
   10019 	  hardcode_minus_L=yes
   10020 	  hardcode_libdir_flag_spec='-L$libdir'
   10021 	  hardcode_libdir_separator=
   10022 	  fi
   10023 	  ;;
   10024 	esac
   10025 	shared_flag='-shared'
   10026 	if test yes = "$aix_use_runtimelinking"; then
   10027 	  shared_flag="$shared_flag "'$wl-G'
   10028 	fi
   10029 	# Need to ensure runtime linking is disabled for the traditional
   10030 	# shared library, or the linker may eventually find shared libraries
   10031 	# /with/ Import File - we do not want to mix them.
   10032 	shared_flag_aix='-shared'
   10033 	shared_flag_svr4='-shared $wl-G'
   10034       else
   10035 	# not using gcc
   10036 	if test ia64 = "$host_cpu"; then
   10037 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10038 	# chokes on -Wl,-G. The following line is correct:
   10039 	  shared_flag='-G'
   10040 	else
   10041 	  if test yes = "$aix_use_runtimelinking"; then
   10042 	    shared_flag='$wl-G'
   10043 	  else
   10044 	    shared_flag='$wl-bM:SRE'
   10045 	  fi
   10046 	  shared_flag_aix='$wl-bM:SRE'
   10047 	  shared_flag_svr4='$wl-G'
   10048 	fi
   10049       fi
   10050 
   10051       export_dynamic_flag_spec='$wl-bexpall'
   10052       # It seems that -bexpall does not export symbols beginning with
   10053       # underscore (_), so it is better to generate a list of symbols to export.
   10054       always_export_symbols=yes
   10055       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10056 	# Warning - without using the other runtime loading flags (-brtl),
   10057 	# -berok will link without error, but may produce a broken library.
   10058 	allow_undefined_flag='-berok'
   10059         # Determine the default libpath from the value encoded in an
   10060         # empty executable.
   10061         if test set = "${lt_cv_aix_libpath+set}"; then
   10062   aix_libpath=$lt_cv_aix_libpath
   10063 else
   10064   if test ${lt_cv_aix_libpath_+y}
   10065 then :
   10066   printf %s "(cached) " >&6
   10067 else $as_nop
   10068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10069 /* end confdefs.h.  */
   10070 
   10071 int
   10072 main (void)
   10073 {
   10074 
   10075   ;
   10076   return 0;
   10077 }
   10078 _ACEOF
   10079 if ac_fn_c_try_link "$LINENO"
   10080 then :
   10081 
   10082   lt_aix_libpath_sed='
   10083       /Import File Strings/,/^$/ {
   10084 	  /^0/ {
   10085 	      s/^0  *\([^ ]*\) *$/\1/
   10086 	      p
   10087 	  }
   10088       }'
   10089   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10090   # Check for a 64-bit object if we didn't find anything.
   10091   if test -z "$lt_cv_aix_libpath_"; then
   10092     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10093   fi
   10094 fi
   10095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10096     conftest$ac_exeext conftest.$ac_ext
   10097   if test -z "$lt_cv_aix_libpath_"; then
   10098     lt_cv_aix_libpath_=/usr/lib:/lib
   10099   fi
   10100 
   10101 fi
   10102 
   10103   aix_libpath=$lt_cv_aix_libpath_
   10104 fi
   10105 
   10106         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10107         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
   10108       else
   10109 	if test ia64 = "$host_cpu"; then
   10110 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10111 	  allow_undefined_flag="-z nodefs"
   10112 	  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"
   10113 	else
   10114 	 # Determine the default libpath from the value encoded in an
   10115 	 # empty executable.
   10116 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10117   aix_libpath=$lt_cv_aix_libpath
   10118 else
   10119   if test ${lt_cv_aix_libpath_+y}
   10120 then :
   10121   printf %s "(cached) " >&6
   10122 else $as_nop
   10123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10124 /* end confdefs.h.  */
   10125 
   10126 int
   10127 main (void)
   10128 {
   10129 
   10130   ;
   10131   return 0;
   10132 }
   10133 _ACEOF
   10134 if ac_fn_c_try_link "$LINENO"
   10135 then :
   10136 
   10137   lt_aix_libpath_sed='
   10138       /Import File Strings/,/^$/ {
   10139 	  /^0/ {
   10140 	      s/^0  *\([^ ]*\) *$/\1/
   10141 	      p
   10142 	  }
   10143       }'
   10144   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10145   # Check for a 64-bit object if we didn't find anything.
   10146   if test -z "$lt_cv_aix_libpath_"; then
   10147     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10148   fi
   10149 fi
   10150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10151     conftest$ac_exeext conftest.$ac_ext
   10152   if test -z "$lt_cv_aix_libpath_"; then
   10153     lt_cv_aix_libpath_=/usr/lib:/lib
   10154   fi
   10155 
   10156 fi
   10157 
   10158   aix_libpath=$lt_cv_aix_libpath_
   10159 fi
   10160 
   10161 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10162 	  # Warning - without using the other run time loading flags,
   10163 	  # -berok will link without error, but may produce a broken library.
   10164 	  no_undefined_flag=' $wl-bernotok'
   10165 	  allow_undefined_flag=' $wl-berok'
   10166 	  if test yes = "$with_gnu_ld"; then
   10167 	    # We only use this code for GNU lds that support --whole-archive.
   10168 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10169 	  else
   10170 	    # Exported symbols can be pulled into shared objects from archives
   10171 	    whole_archive_flag_spec='$convenience'
   10172 	  fi
   10173 	  archive_cmds_need_lc=yes
   10174 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10175 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10176 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10177 	  if test svr4 != "$with_aix_soname"; then
   10178 	    # This is similar to how AIX traditionally builds its shared libraries.
   10179 	    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'
   10180 	  fi
   10181 	  if test aix != "$with_aix_soname"; then
   10182 	    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'
   10183 	  else
   10184 	    # used by -dlpreopen to get the symbols
   10185 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10186 	  fi
   10187 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10188 	fi
   10189       fi
   10190       ;;
   10191 
   10192     amigaos*)
   10193       case $host_cpu in
   10194       powerpc)
   10195             # see comment about AmigaOS4 .so support
   10196             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10197             archive_expsym_cmds=''
   10198         ;;
   10199       m68k)
   10200             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)'
   10201             hardcode_libdir_flag_spec='-L$libdir'
   10202             hardcode_minus_L=yes
   10203         ;;
   10204       esac
   10205       ;;
   10206 
   10207     bsdi[45]*)
   10208       export_dynamic_flag_spec=-rdynamic
   10209       ;;
   10210 
   10211     cygwin* | mingw* | pw32* | cegcc*)
   10212       # When not using gcc, we currently assume that we are using
   10213       # Microsoft Visual C++ or Intel C++ Compiler.
   10214       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10215       # no search path for DLLs.
   10216       case $cc_basename in
   10217       cl* | icl*)
   10218 	# Native MSVC or ICC
   10219 	hardcode_libdir_flag_spec=' '
   10220 	allow_undefined_flag=unsupported
   10221 	always_export_symbols=yes
   10222 	file_list_spec='@'
   10223 	# Tell ltmain to make .lib files, not .a files.
   10224 	libext=lib
   10225 	# Tell ltmain to make .dll files, not .so files.
   10226 	shrext_cmds=.dll
   10227 	# FIXME: Setting linknames here is a bad hack.
   10228 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10229 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10230             cp "$export_symbols" "$output_objdir/$soname.def";
   10231             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10232           else
   10233             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10234           fi~
   10235           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10236           linknames='
   10237 	# The linker will not automatically build a static lib if we build a DLL.
   10238 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10239 	enable_shared_with_static_runtimes=yes
   10240 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10241 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10242 	# Don't use ranlib
   10243 	old_postinstall_cmds='chmod 644 $oldlib'
   10244 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10245           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10246           case $lt_outputfile in
   10247             *.exe|*.EXE) ;;
   10248             *)
   10249               lt_outputfile=$lt_outputfile.exe
   10250               lt_tool_outputfile=$lt_tool_outputfile.exe
   10251               ;;
   10252           esac~
   10253           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10254             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10255             $RM "$lt_outputfile.manifest";
   10256           fi'
   10257 	;;
   10258       *)
   10259 	# Assume MSVC and ICC wrapper
   10260 	hardcode_libdir_flag_spec=' '
   10261 	allow_undefined_flag=unsupported
   10262 	# Tell ltmain to make .lib files, not .a files.
   10263 	libext=lib
   10264 	# Tell ltmain to make .dll files, not .so files.
   10265 	shrext_cmds=.dll
   10266 	# FIXME: Setting linknames here is a bad hack.
   10267 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10268 	# The linker will automatically build a .lib file if we build a DLL.
   10269 	old_archive_from_new_cmds='true'
   10270 	# FIXME: Should let the user specify the lib program.
   10271 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10272 	enable_shared_with_static_runtimes=yes
   10273 	;;
   10274       esac
   10275       ;;
   10276 
   10277     darwin* | rhapsody*)
   10278 
   10279 
   10280   archive_cmds_need_lc=no
   10281   hardcode_direct=no
   10282   hardcode_automatic=yes
   10283   hardcode_shlibpath_var=unsupported
   10284   if test yes = "$lt_cv_ld_force_load"; then
   10285     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\"`'
   10286 
   10287   else
   10288     whole_archive_flag_spec=''
   10289   fi
   10290   link_all_deplibs=yes
   10291   allow_undefined_flag=$_lt_dar_allow_undefined
   10292   case $cc_basename in
   10293      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10294      *) _lt_dar_can_shared=$GCC ;;
   10295   esac
   10296   if test yes = "$_lt_dar_can_shared"; then
   10297     output_verbose_link_cmd=func_echo_all
   10298     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10299     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10300     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"
   10301     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"
   10302 
   10303   else
   10304   ld_shlibs=no
   10305   fi
   10306 
   10307       ;;
   10308 
   10309     dgux*)
   10310       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10311       hardcode_libdir_flag_spec='-L$libdir'
   10312       hardcode_shlibpath_var=no
   10313       ;;
   10314 
   10315     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10316     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10317     # does not break anything, and helps significantly (at the cost of a little
   10318     # extra space).
   10319     freebsd2.2*)
   10320       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10321       hardcode_libdir_flag_spec='-R$libdir'
   10322       hardcode_direct=yes
   10323       hardcode_shlibpath_var=no
   10324       ;;
   10325 
   10326     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10327     freebsd2.*)
   10328       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10329       hardcode_direct=yes
   10330       hardcode_minus_L=yes
   10331       hardcode_shlibpath_var=no
   10332       ;;
   10333 
   10334     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10335     freebsd* | dragonfly* | midnightbsd*)
   10336       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10337       hardcode_libdir_flag_spec='-R$libdir'
   10338       hardcode_direct=yes
   10339       hardcode_shlibpath_var=no
   10340       ;;
   10341 
   10342     hpux9*)
   10343       if test yes = "$GCC"; then
   10344 	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'
   10345       else
   10346 	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'
   10347       fi
   10348       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10349       hardcode_libdir_separator=:
   10350       hardcode_direct=yes
   10351 
   10352       # hardcode_minus_L: Not really in the search PATH,
   10353       # but as the default location of the library.
   10354       hardcode_minus_L=yes
   10355       export_dynamic_flag_spec='$wl-E'
   10356       ;;
   10357 
   10358     hpux10*)
   10359       if test yes,no = "$GCC,$with_gnu_ld"; then
   10360 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10361       else
   10362 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10363       fi
   10364       if test no = "$with_gnu_ld"; then
   10365 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10366 	hardcode_libdir_separator=:
   10367 	hardcode_direct=yes
   10368 	hardcode_direct_absolute=yes
   10369 	export_dynamic_flag_spec='$wl-E'
   10370 	# hardcode_minus_L: Not really in the search PATH,
   10371 	# but as the default location of the library.
   10372 	hardcode_minus_L=yes
   10373       fi
   10374       ;;
   10375 
   10376     hpux11*)
   10377       if test yes,no = "$GCC,$with_gnu_ld"; then
   10378 	case $host_cpu in
   10379 	hppa*64*)
   10380 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10381 	  ;;
   10382 	ia64*)
   10383 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10384 	  ;;
   10385 	*)
   10386 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10387 	  ;;
   10388 	esac
   10389       else
   10390 	case $host_cpu in
   10391 	hppa*64*)
   10392 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10393 	  ;;
   10394 	ia64*)
   10395 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10396 	  ;;
   10397 	*)
   10398 
   10399 	  # Older versions of the 11.00 compiler do not understand -b yet
   10400 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10401 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10402 printf %s "checking if $CC understands -b... " >&6; }
   10403 if test ${lt_cv_prog_compiler__b+y}
   10404 then :
   10405   printf %s "(cached) " >&6
   10406 else $as_nop
   10407   lt_cv_prog_compiler__b=no
   10408    save_LDFLAGS=$LDFLAGS
   10409    LDFLAGS="$LDFLAGS -b"
   10410    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10411    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10412      # The linker can only warn and ignore the option if not recognized
   10413      # So say no if there are warnings
   10414      if test -s conftest.err; then
   10415        # Append any errors to the config.log.
   10416        cat conftest.err 1>&5
   10417        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10418        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10419        if diff conftest.exp conftest.er2 >/dev/null; then
   10420          lt_cv_prog_compiler__b=yes
   10421        fi
   10422      else
   10423        lt_cv_prog_compiler__b=yes
   10424      fi
   10425    fi
   10426    $RM -r conftest*
   10427    LDFLAGS=$save_LDFLAGS
   10428 
   10429 fi
   10430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10431 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10432 
   10433 if test yes = "$lt_cv_prog_compiler__b"; then
   10434     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10435 else
   10436     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10437 fi
   10438 
   10439 	  ;;
   10440 	esac
   10441       fi
   10442       if test no = "$with_gnu_ld"; then
   10443 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10444 	hardcode_libdir_separator=:
   10445 
   10446 	case $host_cpu in
   10447 	hppa*64*|ia64*)
   10448 	  hardcode_direct=no
   10449 	  hardcode_shlibpath_var=no
   10450 	  ;;
   10451 	*)
   10452 	  hardcode_direct=yes
   10453 	  hardcode_direct_absolute=yes
   10454 	  export_dynamic_flag_spec='$wl-E'
   10455 
   10456 	  # hardcode_minus_L: Not really in the search PATH,
   10457 	  # but as the default location of the library.
   10458 	  hardcode_minus_L=yes
   10459 	  ;;
   10460 	esac
   10461       fi
   10462       ;;
   10463 
   10464     irix5* | irix6* | nonstopux*)
   10465       if test yes = "$GCC"; then
   10466 	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'
   10467 	# Try to use the -exported_symbol ld option, if it does not
   10468 	# work, assume that -exports_file does not work either and
   10469 	# implicitly export all symbols.
   10470 	# This should be the same for all languages, so no per-tag cache variable.
   10471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10472 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10473 if test ${lt_cv_irix_exported_symbol+y}
   10474 then :
   10475   printf %s "(cached) " >&6
   10476 else $as_nop
   10477   save_LDFLAGS=$LDFLAGS
   10478 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10479 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10480 /* end confdefs.h.  */
   10481 int foo (void) { return 0; }
   10482 _ACEOF
   10483 if ac_fn_c_try_link "$LINENO"
   10484 then :
   10485   lt_cv_irix_exported_symbol=yes
   10486 else $as_nop
   10487   lt_cv_irix_exported_symbol=no
   10488 fi
   10489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10490     conftest$ac_exeext conftest.$ac_ext
   10491            LDFLAGS=$save_LDFLAGS
   10492 fi
   10493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10494 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10495 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10496           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'
   10497 	fi
   10498       else
   10499 	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'
   10500 	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'
   10501       fi
   10502       archive_cmds_need_lc='no'
   10503       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10504       hardcode_libdir_separator=:
   10505       inherit_rpath=yes
   10506       link_all_deplibs=yes
   10507       ;;
   10508 
   10509     linux*)
   10510       case $cc_basename in
   10511       tcc*)
   10512 	# Fabrice Bellard et al's Tiny C Compiler
   10513 	ld_shlibs=yes
   10514 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10515 	;;
   10516       esac
   10517       ;;
   10518 
   10519     netbsd*)
   10520       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10521 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10522       else
   10523 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10524       fi
   10525       hardcode_libdir_flag_spec='-R$libdir'
   10526       hardcode_direct=yes
   10527       hardcode_shlibpath_var=no
   10528       ;;
   10529 
   10530     newsos6)
   10531       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10532       hardcode_direct=yes
   10533       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10534       hardcode_libdir_separator=:
   10535       hardcode_shlibpath_var=no
   10536       ;;
   10537 
   10538     *nto* | *qnx*)
   10539       ;;
   10540 
   10541     openbsd* | bitrig*)
   10542       if test -f /usr/libexec/ld.so; then
   10543 	hardcode_direct=yes
   10544 	hardcode_shlibpath_var=no
   10545 	hardcode_direct_absolute=yes
   10546 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10547 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10548 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10549 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10550 	  export_dynamic_flag_spec='$wl-E'
   10551 	else
   10552 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10553 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10554 	fi
   10555       else
   10556 	ld_shlibs=no
   10557       fi
   10558       ;;
   10559 
   10560     os2*)
   10561       hardcode_libdir_flag_spec='-L$libdir'
   10562       hardcode_minus_L=yes
   10563       allow_undefined_flag=unsupported
   10564       shrext_cmds=.dll
   10565       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10566 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10567 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10568 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10569 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10570 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10571 	emximp -o $lib $output_objdir/$libname.def'
   10572       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10573 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10574 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10575 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10576 	prefix_cmds="$SED"~
   10577 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10578 	  prefix_cmds="$prefix_cmds -e 1d";
   10579 	fi~
   10580 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10581 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10582 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10583 	emximp -o $lib $output_objdir/$libname.def'
   10584       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10585       enable_shared_with_static_runtimes=yes
   10586       file_list_spec='@'
   10587       ;;
   10588 
   10589     osf3*)
   10590       if test yes = "$GCC"; then
   10591 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10592 	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'
   10593       else
   10594 	allow_undefined_flag=' -expect_unresolved \*'
   10595 	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'
   10596       fi
   10597       archive_cmds_need_lc='no'
   10598       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10599       hardcode_libdir_separator=:
   10600       ;;
   10601 
   10602     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10603       if test yes = "$GCC"; then
   10604 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10605 	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'
   10606 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10607       else
   10608 	allow_undefined_flag=' -expect_unresolved \*'
   10609 	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'
   10610 	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~
   10611           $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'
   10612 
   10613 	# Both c and cxx compiler support -rpath directly
   10614 	hardcode_libdir_flag_spec='-rpath $libdir'
   10615       fi
   10616       archive_cmds_need_lc='no'
   10617       hardcode_libdir_separator=:
   10618       ;;
   10619 
   10620     solaris*)
   10621       no_undefined_flag=' -z defs'
   10622       if test yes = "$GCC"; then
   10623 	wlarc='$wl'
   10624 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10625 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10626           $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'
   10627       else
   10628 	case `$CC -V 2>&1` in
   10629 	*"Compilers 5.0"*)
   10630 	  wlarc=''
   10631 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10632 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10633             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10634 	  ;;
   10635 	*)
   10636 	  wlarc='$wl'
   10637 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10638 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10639             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10640 	  ;;
   10641 	esac
   10642       fi
   10643       hardcode_libdir_flag_spec='-R$libdir'
   10644       hardcode_shlibpath_var=no
   10645       case $host_os in
   10646       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10647       *)
   10648 	# The compiler driver will combine and reorder linker options,
   10649 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10650 	# but is careful enough not to reorder.
   10651 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10652 	if test yes = "$GCC"; then
   10653 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10654 	else
   10655 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10656 	fi
   10657 	;;
   10658       esac
   10659       link_all_deplibs=yes
   10660       ;;
   10661 
   10662     sunos4*)
   10663       if test sequent = "$host_vendor"; then
   10664 	# Use $CC to link under sequent, because it throws in some extra .o
   10665 	# files that make .init and .fini sections work.
   10666 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10667       else
   10668 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10669       fi
   10670       hardcode_libdir_flag_spec='-L$libdir'
   10671       hardcode_direct=yes
   10672       hardcode_minus_L=yes
   10673       hardcode_shlibpath_var=no
   10674       ;;
   10675 
   10676     sysv4)
   10677       case $host_vendor in
   10678 	sni)
   10679 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10680 	  hardcode_direct=yes # is this really true???
   10681 	;;
   10682 	siemens)
   10683 	  ## LD is ld it makes a PLAMLIB
   10684 	  ## CC just makes a GrossModule.
   10685 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10686 	  reload_cmds='$CC -r -o $output$reload_objs'
   10687 	  hardcode_direct=no
   10688         ;;
   10689 	motorola)
   10690 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10691 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10692 	;;
   10693       esac
   10694       runpath_var='LD_RUN_PATH'
   10695       hardcode_shlibpath_var=no
   10696       ;;
   10697 
   10698     sysv4.3*)
   10699       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10700       hardcode_shlibpath_var=no
   10701       export_dynamic_flag_spec='-Bexport'
   10702       ;;
   10703 
   10704     sysv4*MP*)
   10705       if test -d /usr/nec; then
   10706 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10707 	hardcode_shlibpath_var=no
   10708 	runpath_var=LD_RUN_PATH
   10709 	hardcode_runpath_var=yes
   10710 	ld_shlibs=yes
   10711       fi
   10712       ;;
   10713 
   10714     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10715       no_undefined_flag='$wl-z,text'
   10716       archive_cmds_need_lc=no
   10717       hardcode_shlibpath_var=no
   10718       runpath_var='LD_RUN_PATH'
   10719 
   10720       if test yes = "$GCC"; then
   10721 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10722 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10723       else
   10724 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10725 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10726       fi
   10727       ;;
   10728 
   10729     sysv5* | sco3.2v5* | sco5v6*)
   10730       # Note: We CANNOT use -z defs as we might desire, because we do not
   10731       # link with -lc, and that would cause any symbols used from libc to
   10732       # always be unresolved, which means just about no library would
   10733       # ever link correctly.  If we're not using GNU ld we use -z text
   10734       # though, which does catch some bad symbols but isn't as heavy-handed
   10735       # as -z defs.
   10736       no_undefined_flag='$wl-z,text'
   10737       allow_undefined_flag='$wl-z,nodefs'
   10738       archive_cmds_need_lc=no
   10739       hardcode_shlibpath_var=no
   10740       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10741       hardcode_libdir_separator=':'
   10742       link_all_deplibs=yes
   10743       export_dynamic_flag_spec='$wl-Bexport'
   10744       runpath_var='LD_RUN_PATH'
   10745 
   10746       if test yes = "$GCC"; then
   10747 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10748 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10749       else
   10750 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10751 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10752       fi
   10753       ;;
   10754 
   10755     uts4*)
   10756       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10757       hardcode_libdir_flag_spec='-L$libdir'
   10758       hardcode_shlibpath_var=no
   10759       ;;
   10760 
   10761     *)
   10762       ld_shlibs=no
   10763       ;;
   10764     esac
   10765 
   10766     if test sni = "$host_vendor"; then
   10767       case $host in
   10768       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10769 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10770 	;;
   10771       esac
   10772     fi
   10773   fi
   10774 
   10775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10776 printf "%s\n" "$ld_shlibs" >&6; }
   10777 test no = "$ld_shlibs" && can_build_shared=no
   10778 
   10779 with_gnu_ld=$with_gnu_ld
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 #
   10796 # Do we need to explicitly link libc?
   10797 #
   10798 case "x$archive_cmds_need_lc" in
   10799 x|xyes)
   10800   # Assume -lc should be added
   10801   archive_cmds_need_lc=yes
   10802 
   10803   if test yes,yes = "$GCC,$enable_shared"; then
   10804     case $archive_cmds in
   10805     *'~'*)
   10806       # FIXME: we may have to deal with multi-command sequences.
   10807       ;;
   10808     '$CC '*)
   10809       # Test whether the compiler implicitly links with -lc since on some
   10810       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10811       # to ld, don't add -lc before -lgcc.
   10812       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10813 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10814 if test ${lt_cv_archive_cmds_need_lc+y}
   10815 then :
   10816   printf %s "(cached) " >&6
   10817 else $as_nop
   10818   $RM conftest*
   10819 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10820 
   10821 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10822   (eval $ac_compile) 2>&5
   10823   ac_status=$?
   10824   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10825   test $ac_status = 0; } 2>conftest.err; then
   10826 	  soname=conftest
   10827 	  lib=conftest
   10828 	  libobjs=conftest.$ac_objext
   10829 	  deplibs=
   10830 	  wl=$lt_prog_compiler_wl
   10831 	  pic_flag=$lt_prog_compiler_pic
   10832 	  compiler_flags=-v
   10833 	  linker_flags=-v
   10834 	  verstring=
   10835 	  output_objdir=.
   10836 	  libname=conftest
   10837 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10838 	  allow_undefined_flag=
   10839 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10840   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10841   ac_status=$?
   10842   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10843   test $ac_status = 0; }
   10844 	  then
   10845 	    lt_cv_archive_cmds_need_lc=no
   10846 	  else
   10847 	    lt_cv_archive_cmds_need_lc=yes
   10848 	  fi
   10849 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10850 	else
   10851 	  cat conftest.err 1>&5
   10852 	fi
   10853 	$RM conftest*
   10854 
   10855 fi
   10856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10857 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10858       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10859       ;;
   10860     esac
   10861   fi
   10862   ;;
   10863 esac
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11017 printf %s "checking dynamic linker characteristics... " >&6; }
   11018 
   11019 if test yes = "$GCC"; then
   11020   case $host_os in
   11021     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11022     *) lt_awk_arg='/^libraries:/' ;;
   11023   esac
   11024   case $host_os in
   11025     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11026     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11027   esac
   11028   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11029   case $lt_search_path_spec in
   11030   *\;*)
   11031     # if the path contains ";" then we assume it to be the separator
   11032     # otherwise default to the standard path separator (i.e. ":") - it is
   11033     # assumed that no part of a normal pathname contains ";" but that should
   11034     # okay in the real world where ";" in dirpaths is itself problematic.
   11035     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11036     ;;
   11037   *)
   11038     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11039     ;;
   11040   esac
   11041   # Ok, now we have the path, separated by spaces, we can step through it
   11042   # and add multilib dir if necessary...
   11043   lt_tmp_lt_search_path_spec=
   11044   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11045   # ...but if some path component already ends with the multilib dir we assume
   11046   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11047   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11048   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11049     lt_multi_os_dir=
   11050     ;;
   11051   esac
   11052   for lt_sys_path in $lt_search_path_spec; do
   11053     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11054       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11055     elif test -n "$lt_multi_os_dir"; then
   11056       test -d "$lt_sys_path" && \
   11057 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11058     fi
   11059   done
   11060   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11061 BEGIN {RS = " "; FS = "/|\n";} {
   11062   lt_foo = "";
   11063   lt_count = 0;
   11064   for (lt_i = NF; lt_i > 0; lt_i--) {
   11065     if ($lt_i != "" && $lt_i != ".") {
   11066       if ($lt_i == "..") {
   11067         lt_count++;
   11068       } else {
   11069         if (lt_count == 0) {
   11070           lt_foo = "/" $lt_i lt_foo;
   11071         } else {
   11072           lt_count--;
   11073         }
   11074       }
   11075     }
   11076   }
   11077   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11078   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11079 }'`
   11080   # AWK program above erroneously prepends '/' to C:/dos/paths
   11081   # for these hosts.
   11082   case $host_os in
   11083     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11084       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11085   esac
   11086   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11087 else
   11088   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11089 fi
   11090 library_names_spec=
   11091 libname_spec='lib$name'
   11092 soname_spec=
   11093 shrext_cmds=.so
   11094 postinstall_cmds=
   11095 postuninstall_cmds=
   11096 finish_cmds=
   11097 finish_eval=
   11098 shlibpath_var=
   11099 shlibpath_overrides_runpath=unknown
   11100 version_type=none
   11101 dynamic_linker="$host_os ld.so"
   11102 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11103 need_lib_prefix=unknown
   11104 hardcode_into_libs=no
   11105 
   11106 # when you set need_version to no, make sure it does not cause -set_version
   11107 # flags to be left without arguments
   11108 need_version=unknown
   11109 
   11110 
   11111 
   11112 case $host_os in
   11113 aix3*)
   11114   version_type=linux # correct to gnu/linux during the next big refactor
   11115   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11116   shlibpath_var=LIBPATH
   11117 
   11118   # AIX 3 has no versioning support, so we append a major version to the name.
   11119   soname_spec='$libname$release$shared_ext$major'
   11120   ;;
   11121 
   11122 aix[4-9]*)
   11123   version_type=linux # correct to gnu/linux during the next big refactor
   11124   need_lib_prefix=no
   11125   need_version=no
   11126   hardcode_into_libs=yes
   11127   if test ia64 = "$host_cpu"; then
   11128     # AIX 5 supports IA64
   11129     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11130     shlibpath_var=LD_LIBRARY_PATH
   11131   else
   11132     # With GCC up to 2.95.x, collect2 would create an import file
   11133     # for dependence libraries.  The import file would start with
   11134     # the line '#! .'.  This would cause the generated library to
   11135     # depend on '.', always an invalid library.  This was fixed in
   11136     # development snapshots of GCC prior to 3.0.
   11137     case $host_os in
   11138       aix4 | aix4.[01] | aix4.[01].*)
   11139       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11140 	   echo ' yes '
   11141 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11142 	:
   11143       else
   11144 	can_build_shared=no
   11145       fi
   11146       ;;
   11147     esac
   11148     # Using Import Files as archive members, it is possible to support
   11149     # filename-based versioning of shared library archives on AIX. While
   11150     # this would work for both with and without runtime linking, it will
   11151     # prevent static linking of such archives. So we do filename-based
   11152     # shared library versioning with .so extension only, which is used
   11153     # when both runtime linking and shared linking is enabled.
   11154     # Unfortunately, runtime linking may impact performance, so we do
   11155     # not want this to be the default eventually. Also, we use the
   11156     # versioned .so libs for executables only if there is the -brtl
   11157     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11158     # To allow for filename-based versioning support, we need to create
   11159     # libNAME.so.V as an archive file, containing:
   11160     # *) an Import File, referring to the versioned filename of the
   11161     #    archive as well as the shared archive member, telling the
   11162     #    bitwidth (32 or 64) of that shared object, and providing the
   11163     #    list of exported symbols of that shared object, eventually
   11164     #    decorated with the 'weak' keyword
   11165     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11166     #    it being seen by the linker.
   11167     # At run time we better use the real file rather than another symlink,
   11168     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11169 
   11170     case $with_aix_soname,$aix_use_runtimelinking in
   11171     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11172     # soname into executable. Probably we can add versioning support to
   11173     # collect2, so additional links can be useful in future.
   11174     aix,yes) # traditional libtool
   11175       dynamic_linker='AIX unversionable lib.so'
   11176       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11177       # instead of lib<name>.a to let people know that these are not
   11178       # typical AIX shared libraries.
   11179       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11180       ;;
   11181     aix,no) # traditional AIX only
   11182       dynamic_linker='AIX lib.a(lib.so.V)'
   11183       # We preserve .a as extension for shared libraries through AIX4.2
   11184       # and later when we are not doing run time linking.
   11185       library_names_spec='$libname$release.a $libname.a'
   11186       soname_spec='$libname$release$shared_ext$major'
   11187       ;;
   11188     svr4,*) # full svr4 only
   11189       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11190       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11191       # We do not specify a path in Import Files, so LIBPATH fires.
   11192       shlibpath_overrides_runpath=yes
   11193       ;;
   11194     *,yes) # both, prefer svr4
   11195       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11196       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11197       # unpreferred sharedlib libNAME.a needs extra handling
   11198       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"'
   11199       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"'
   11200       # We do not specify a path in Import Files, so LIBPATH fires.
   11201       shlibpath_overrides_runpath=yes
   11202       ;;
   11203     *,no) # both, prefer aix
   11204       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11205       library_names_spec='$libname$release.a $libname.a'
   11206       soname_spec='$libname$release$shared_ext$major'
   11207       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11208       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)'
   11209       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"'
   11210       ;;
   11211     esac
   11212     shlibpath_var=LIBPATH
   11213   fi
   11214   ;;
   11215 
   11216 amigaos*)
   11217   case $host_cpu in
   11218   powerpc)
   11219     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11220     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11221     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11222     ;;
   11223   m68k)
   11224     library_names_spec='$libname.ixlibrary $libname.a'
   11225     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11226     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'
   11227     ;;
   11228   esac
   11229   ;;
   11230 
   11231 beos*)
   11232   library_names_spec='$libname$shared_ext'
   11233   dynamic_linker="$host_os ld.so"
   11234   shlibpath_var=LIBRARY_PATH
   11235   ;;
   11236 
   11237 bsdi[45]*)
   11238   version_type=linux # correct to gnu/linux during the next big refactor
   11239   need_version=no
   11240   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11241   soname_spec='$libname$release$shared_ext$major'
   11242   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11243   shlibpath_var=LD_LIBRARY_PATH
   11244   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11245   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11246   # the default ld.so.conf also contains /usr/contrib/lib and
   11247   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11248   # libtool to hard-code these into programs
   11249   ;;
   11250 
   11251 cygwin* | mingw* | pw32* | cegcc*)
   11252   version_type=windows
   11253   shrext_cmds=.dll
   11254   need_version=no
   11255   need_lib_prefix=no
   11256 
   11257   case $GCC,$cc_basename in
   11258   yes,*)
   11259     # gcc
   11260     library_names_spec='$libname.dll.a'
   11261     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11262     postinstall_cmds='base_file=`basename \$file`~
   11263       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11264       dldir=$destdir/`dirname \$dlpath`~
   11265       test -d \$dldir || mkdir -p \$dldir~
   11266       $install_prog $dir/$dlname \$dldir/$dlname~
   11267       chmod a+x \$dldir/$dlname~
   11268       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11269         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11270       fi'
   11271     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11272       dlpath=$dir/\$dldll~
   11273        $RM \$dlpath'
   11274     shlibpath_overrides_runpath=yes
   11275 
   11276     case $host_os in
   11277     cygwin*)
   11278       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11279       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11280 
   11281       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11282       ;;
   11283     mingw* | cegcc*)
   11284       # MinGW DLLs use traditional 'lib' prefix
   11285       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11286       ;;
   11287     pw32*)
   11288       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11289       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11290       ;;
   11291     esac
   11292     dynamic_linker='Win32 ld.exe'
   11293     ;;
   11294 
   11295   *,cl* | *,icl*)
   11296     # Native MSVC or ICC
   11297     libname_spec='$name'
   11298     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11299     library_names_spec='$libname.dll.lib'
   11300 
   11301     case $build_os in
   11302     mingw*)
   11303       sys_lib_search_path_spec=
   11304       lt_save_ifs=$IFS
   11305       IFS=';'
   11306       for lt_path in $LIB
   11307       do
   11308         IFS=$lt_save_ifs
   11309         # Let DOS variable expansion print the short 8.3 style file name.
   11310         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11311         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11312       done
   11313       IFS=$lt_save_ifs
   11314       # Convert to MSYS style.
   11315       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11316       ;;
   11317     cygwin*)
   11318       # Convert to unix form, then to dos form, then back to unix form
   11319       # but this time dos style (no spaces!) so that the unix form looks
   11320       # like /cygdrive/c/PROGRA~1:/cygdr...
   11321       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11322       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11323       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11324       ;;
   11325     *)
   11326       sys_lib_search_path_spec=$LIB
   11327       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11328         # It is most probably a Windows format PATH.
   11329         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11330       else
   11331         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11332       fi
   11333       # FIXME: find the short name or the path components, as spaces are
   11334       # common. (e.g. "Program Files" -> "PROGRA~1")
   11335       ;;
   11336     esac
   11337 
   11338     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11339     postinstall_cmds='base_file=`basename \$file`~
   11340       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11341       dldir=$destdir/`dirname \$dlpath`~
   11342       test -d \$dldir || mkdir -p \$dldir~
   11343       $install_prog $dir/$dlname \$dldir/$dlname'
   11344     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11345       dlpath=$dir/\$dldll~
   11346        $RM \$dlpath'
   11347     shlibpath_overrides_runpath=yes
   11348     dynamic_linker='Win32 link.exe'
   11349     ;;
   11350 
   11351   *)
   11352     # Assume MSVC and ICC wrapper
   11353     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11354     dynamic_linker='Win32 ld.exe'
   11355     ;;
   11356   esac
   11357   # FIXME: first we should search . and the directory the executable is in
   11358   shlibpath_var=PATH
   11359   ;;
   11360 
   11361 darwin* | rhapsody*)
   11362   dynamic_linker="$host_os dyld"
   11363   version_type=darwin
   11364   need_lib_prefix=no
   11365   need_version=no
   11366   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11367   soname_spec='$libname$release$major$shared_ext'
   11368   shlibpath_overrides_runpath=yes
   11369   shlibpath_var=DYLD_LIBRARY_PATH
   11370   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11371 
   11372   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11373   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11374   ;;
   11375 
   11376 dgux*)
   11377   version_type=linux # correct to gnu/linux during the next big refactor
   11378   need_lib_prefix=no
   11379   need_version=no
   11380   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11381   soname_spec='$libname$release$shared_ext$major'
   11382   shlibpath_var=LD_LIBRARY_PATH
   11383   ;;
   11384 
   11385 freebsd* | dragonfly* | midnightbsd*)
   11386   # DragonFly does not have aout.  When/if they implement a new
   11387   # versioning mechanism, adjust this.
   11388   if test -x /usr/bin/objformat; then
   11389     objformat=`/usr/bin/objformat`
   11390   else
   11391     case $host_os in
   11392     freebsd[23].*) objformat=aout ;;
   11393     *) objformat=elf ;;
   11394     esac
   11395   fi
   11396   version_type=freebsd-$objformat
   11397   case $version_type in
   11398     freebsd-elf*)
   11399       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11400       soname_spec='$libname$release$shared_ext$major'
   11401       need_version=no
   11402       need_lib_prefix=no
   11403       ;;
   11404     freebsd-*)
   11405       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11406       need_version=yes
   11407       ;;
   11408   esac
   11409   shlibpath_var=LD_LIBRARY_PATH
   11410   case $host_os in
   11411   freebsd2.*)
   11412     shlibpath_overrides_runpath=yes
   11413     ;;
   11414   freebsd3.[01]* | freebsdelf3.[01]*)
   11415     shlibpath_overrides_runpath=yes
   11416     hardcode_into_libs=yes
   11417     ;;
   11418   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11419   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11420     shlibpath_overrides_runpath=no
   11421     hardcode_into_libs=yes
   11422     ;;
   11423   *) # from 4.6 on, and DragonFly
   11424     shlibpath_overrides_runpath=yes
   11425     hardcode_into_libs=yes
   11426     ;;
   11427   esac
   11428   ;;
   11429 
   11430 haiku*)
   11431   version_type=linux # correct to gnu/linux during the next big refactor
   11432   need_lib_prefix=no
   11433   need_version=no
   11434   dynamic_linker="$host_os runtime_loader"
   11435   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11436   soname_spec='$libname$release$shared_ext$major'
   11437   shlibpath_var=LIBRARY_PATH
   11438   shlibpath_overrides_runpath=no
   11439   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11440   hardcode_into_libs=yes
   11441   ;;
   11442 
   11443 hpux9* | hpux10* | hpux11*)
   11444   # Give a soname corresponding to the major version so that dld.sl refuses to
   11445   # link against other versions.
   11446   version_type=sunos
   11447   need_lib_prefix=no
   11448   need_version=no
   11449   case $host_cpu in
   11450   ia64*)
   11451     shrext_cmds='.so'
   11452     hardcode_into_libs=yes
   11453     dynamic_linker="$host_os dld.so"
   11454     shlibpath_var=LD_LIBRARY_PATH
   11455     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11456     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11457     soname_spec='$libname$release$shared_ext$major'
   11458     if test 32 = "$HPUX_IA64_MODE"; then
   11459       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11460       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11461     else
   11462       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11463       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11464     fi
   11465     ;;
   11466   hppa*64*)
   11467     shrext_cmds='.sl'
   11468     hardcode_into_libs=yes
   11469     dynamic_linker="$host_os dld.sl"
   11470     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11471     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11472     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11473     soname_spec='$libname$release$shared_ext$major'
   11474     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11475     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11476     ;;
   11477   *)
   11478     shrext_cmds='.sl'
   11479     dynamic_linker="$host_os dld.sl"
   11480     shlibpath_var=SHLIB_PATH
   11481     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11482     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11483     soname_spec='$libname$release$shared_ext$major'
   11484     ;;
   11485   esac
   11486   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11487   postinstall_cmds='chmod 555 $lib'
   11488   # or fails outright, so override atomically:
   11489   install_override_mode=555
   11490   ;;
   11491 
   11492 interix[3-9]*)
   11493   version_type=linux # correct to gnu/linux during the next big refactor
   11494   need_lib_prefix=no
   11495   need_version=no
   11496   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11497   soname_spec='$libname$release$shared_ext$major'
   11498   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11499   shlibpath_var=LD_LIBRARY_PATH
   11500   shlibpath_overrides_runpath=no
   11501   hardcode_into_libs=yes
   11502   ;;
   11503 
   11504 irix5* | irix6* | nonstopux*)
   11505   case $host_os in
   11506     nonstopux*) version_type=nonstopux ;;
   11507     *)
   11508 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11509 		version_type=linux # correct to gnu/linux during the next big refactor
   11510 	else
   11511 		version_type=irix
   11512 	fi ;;
   11513   esac
   11514   need_lib_prefix=no
   11515   need_version=no
   11516   soname_spec='$libname$release$shared_ext$major'
   11517   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11518   case $host_os in
   11519   irix5* | nonstopux*)
   11520     libsuff= shlibsuff=
   11521     ;;
   11522   *)
   11523     case $LD in # libtool.m4 will add one of these switches to LD
   11524     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11525       libsuff= shlibsuff= libmagic=32-bit;;
   11526     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11527       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11528     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11529       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11530     *) libsuff= shlibsuff= libmagic=never-match;;
   11531     esac
   11532     ;;
   11533   esac
   11534   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11535   shlibpath_overrides_runpath=no
   11536   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11537   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11538   hardcode_into_libs=yes
   11539   ;;
   11540 
   11541 # No shared lib support for Linux oldld, aout, or coff.
   11542 linux*oldld* | linux*aout* | linux*coff*)
   11543   dynamic_linker=no
   11544   ;;
   11545 
   11546 linux*android*)
   11547   version_type=none # Android doesn't support versioned libraries.
   11548   need_lib_prefix=no
   11549   need_version=no
   11550   library_names_spec='$libname$release$shared_ext'
   11551   soname_spec='$libname$release$shared_ext'
   11552   finish_cmds=
   11553   shlibpath_var=LD_LIBRARY_PATH
   11554   shlibpath_overrides_runpath=yes
   11555 
   11556   # This implies no fast_install, which is unacceptable.
   11557   # Some rework will be needed to allow for fast_install
   11558   # before this can be enabled.
   11559   hardcode_into_libs=yes
   11560 
   11561   dynamic_linker='Android linker'
   11562   # Don't embed -rpath directories since the linker doesn't support them.
   11563   hardcode_libdir_flag_spec='-L$libdir'
   11564   ;;
   11565 
   11566 # This must be glibc/ELF.
   11567 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11568   version_type=linux # correct to gnu/linux during the next big refactor
   11569   need_lib_prefix=no
   11570   need_version=no
   11571   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11572   soname_spec='$libname$release$shared_ext$major'
   11573   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11574   shlibpath_var=LD_LIBRARY_PATH
   11575   shlibpath_overrides_runpath=no
   11576 
   11577   # Some binutils ld are patched to set DT_RUNPATH
   11578   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11579 then :
   11580   printf %s "(cached) " >&6
   11581 else $as_nop
   11582   lt_cv_shlibpath_overrides_runpath=no
   11583     save_LDFLAGS=$LDFLAGS
   11584     save_libdir=$libdir
   11585     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11586 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11587     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11588 /* end confdefs.h.  */
   11589 
   11590 int
   11591 main (void)
   11592 {
   11593 
   11594   ;
   11595   return 0;
   11596 }
   11597 _ACEOF
   11598 if ac_fn_c_try_link "$LINENO"
   11599 then :
   11600   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11601 then :
   11602   lt_cv_shlibpath_overrides_runpath=yes
   11603 fi
   11604 fi
   11605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11606     conftest$ac_exeext conftest.$ac_ext
   11607     LDFLAGS=$save_LDFLAGS
   11608     libdir=$save_libdir
   11609 
   11610 fi
   11611 
   11612   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11613 
   11614   # This implies no fast_install, which is unacceptable.
   11615   # Some rework will be needed to allow for fast_install
   11616   # before this can be enabled.
   11617   hardcode_into_libs=yes
   11618 
   11619   # Ideally, we could use ldconfig to report *all* directores which are
   11620   # searched for libraries, however this is still not possible.  Aside from not
   11621   # being certain /sbin/ldconfig is available, command
   11622   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11623   # even though it is searched at run-time.  Try to do the best guess by
   11624   # appending ld.so.conf contents (and includes) to the search path.
   11625   if test -f /etc/ld.so.conf; then
   11626     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' ' '`
   11627     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11628   fi
   11629 
   11630   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11631   # powerpc, because MkLinux only supported shared libraries with the
   11632   # GNU dynamic linker.  Since this was broken with cross compilers,
   11633   # most powerpc-linux boxes support dynamic linking these days and
   11634   # people can always --disable-shared, the test was removed, and we
   11635   # assume the GNU/Linux dynamic linker is in use.
   11636   dynamic_linker='GNU/Linux ld.so'
   11637   ;;
   11638 
   11639 netbsd*)
   11640   version_type=sunos
   11641   need_lib_prefix=no
   11642   need_version=no
   11643   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11644     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11645     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11646     dynamic_linker='NetBSD (a.out) ld.so'
   11647   else
   11648     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11649     soname_spec='$libname$release$shared_ext$major'
   11650     dynamic_linker='NetBSD ld.elf_so'
   11651   fi
   11652   shlibpath_var=LD_LIBRARY_PATH
   11653   shlibpath_overrides_runpath=yes
   11654   hardcode_into_libs=yes
   11655   ;;
   11656 
   11657 newsos6)
   11658   version_type=linux # correct to gnu/linux during the next big refactor
   11659   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11660   shlibpath_var=LD_LIBRARY_PATH
   11661   shlibpath_overrides_runpath=yes
   11662   ;;
   11663 
   11664 *nto* | *qnx*)
   11665   version_type=qnx
   11666   need_lib_prefix=no
   11667   need_version=no
   11668   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11669   soname_spec='$libname$release$shared_ext$major'
   11670   shlibpath_var=LD_LIBRARY_PATH
   11671   shlibpath_overrides_runpath=no
   11672   hardcode_into_libs=yes
   11673   dynamic_linker='ldqnx.so'
   11674   ;;
   11675 
   11676 openbsd* | bitrig*)
   11677   version_type=sunos
   11678   sys_lib_dlsearch_path_spec=/usr/lib
   11679   need_lib_prefix=no
   11680   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11681     need_version=no
   11682   else
   11683     need_version=yes
   11684   fi
   11685   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11686   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11687   shlibpath_var=LD_LIBRARY_PATH
   11688   shlibpath_overrides_runpath=yes
   11689   ;;
   11690 
   11691 os2*)
   11692   libname_spec='$name'
   11693   version_type=windows
   11694   shrext_cmds=.dll
   11695   need_version=no
   11696   need_lib_prefix=no
   11697   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11698   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11699     v=$($ECHO $release$versuffix | tr -d .-);
   11700     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11701     $ECHO $n$v`$shared_ext'
   11702   library_names_spec='${libname}_dll.$libext'
   11703   dynamic_linker='OS/2 ld.exe'
   11704   shlibpath_var=BEGINLIBPATH
   11705   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11706   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11707   postinstall_cmds='base_file=`basename \$file`~
   11708     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11709     dldir=$destdir/`dirname \$dlpath`~
   11710     test -d \$dldir || mkdir -p \$dldir~
   11711     $install_prog $dir/$dlname \$dldir/$dlname~
   11712     chmod a+x \$dldir/$dlname~
   11713     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11714       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11715     fi'
   11716   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11717     dlpath=$dir/\$dldll~
   11718     $RM \$dlpath'
   11719   ;;
   11720 
   11721 osf3* | osf4* | osf5*)
   11722   version_type=osf
   11723   need_lib_prefix=no
   11724   need_version=no
   11725   soname_spec='$libname$release$shared_ext$major'
   11726   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11727   shlibpath_var=LD_LIBRARY_PATH
   11728   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11729   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11730   ;;
   11731 
   11732 rdos*)
   11733   dynamic_linker=no
   11734   ;;
   11735 
   11736 solaris*)
   11737   version_type=linux # correct to gnu/linux during the next big refactor
   11738   need_lib_prefix=no
   11739   need_version=no
   11740   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11741   soname_spec='$libname$release$shared_ext$major'
   11742   shlibpath_var=LD_LIBRARY_PATH
   11743   shlibpath_overrides_runpath=yes
   11744   hardcode_into_libs=yes
   11745   # ldd complains unless libraries are executable
   11746   postinstall_cmds='chmod +x $lib'
   11747   ;;
   11748 
   11749 sunos4*)
   11750   version_type=sunos
   11751   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11752   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11753   shlibpath_var=LD_LIBRARY_PATH
   11754   shlibpath_overrides_runpath=yes
   11755   if test yes = "$with_gnu_ld"; then
   11756     need_lib_prefix=no
   11757   fi
   11758   need_version=yes
   11759   ;;
   11760 
   11761 sysv4 | sysv4.3*)
   11762   version_type=linux # correct to gnu/linux during the next big refactor
   11763   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11764   soname_spec='$libname$release$shared_ext$major'
   11765   shlibpath_var=LD_LIBRARY_PATH
   11766   case $host_vendor in
   11767     sni)
   11768       shlibpath_overrides_runpath=no
   11769       need_lib_prefix=no
   11770       runpath_var=LD_RUN_PATH
   11771       ;;
   11772     siemens)
   11773       need_lib_prefix=no
   11774       ;;
   11775     motorola)
   11776       need_lib_prefix=no
   11777       need_version=no
   11778       shlibpath_overrides_runpath=no
   11779       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11780       ;;
   11781   esac
   11782   ;;
   11783 
   11784 sysv4*MP*)
   11785   if test -d /usr/nec; then
   11786     version_type=linux # correct to gnu/linux during the next big refactor
   11787     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11788     soname_spec='$libname$shared_ext.$major'
   11789     shlibpath_var=LD_LIBRARY_PATH
   11790   fi
   11791   ;;
   11792 
   11793 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11794   version_type=sco
   11795   need_lib_prefix=no
   11796   need_version=no
   11797   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11798   soname_spec='$libname$release$shared_ext$major'
   11799   shlibpath_var=LD_LIBRARY_PATH
   11800   shlibpath_overrides_runpath=yes
   11801   hardcode_into_libs=yes
   11802   if test yes = "$with_gnu_ld"; then
   11803     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11804   else
   11805     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11806     case $host_os in
   11807       sco3.2v5*)
   11808         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11809 	;;
   11810     esac
   11811   fi
   11812   sys_lib_dlsearch_path_spec='/usr/lib'
   11813   ;;
   11814 
   11815 tpf*)
   11816   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11817   version_type=linux # correct to gnu/linux during the next big refactor
   11818   need_lib_prefix=no
   11819   need_version=no
   11820   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11821   shlibpath_var=LD_LIBRARY_PATH
   11822   shlibpath_overrides_runpath=no
   11823   hardcode_into_libs=yes
   11824   ;;
   11825 
   11826 uts4*)
   11827   version_type=linux # correct to gnu/linux during the next big refactor
   11828   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11829   soname_spec='$libname$release$shared_ext$major'
   11830   shlibpath_var=LD_LIBRARY_PATH
   11831   ;;
   11832 
   11833 *)
   11834   dynamic_linker=no
   11835   ;;
   11836 esac
   11837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11838 printf "%s\n" "$dynamic_linker" >&6; }
   11839 test no = "$dynamic_linker" && can_build_shared=no
   11840 
   11841 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11842 if test yes = "$GCC"; then
   11843   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11844 fi
   11845 
   11846 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11847   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11848 fi
   11849 
   11850 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11851   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11852 fi
   11853 
   11854 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11855 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11856 
   11857 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11858 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11859 
   11860 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11861 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11960 printf %s "checking how to hardcode library paths into programs... " >&6; }
   11961 hardcode_action=
   11962 if test -n "$hardcode_libdir_flag_spec" ||
   11963    test -n "$runpath_var" ||
   11964    test yes = "$hardcode_automatic"; then
   11965 
   11966   # We can hardcode non-existent directories.
   11967   if test no != "$hardcode_direct" &&
   11968      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11969      # have to relink, otherwise we might link with an installed library
   11970      # when we should be linking with a yet-to-be-installed one
   11971      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11972      test no != "$hardcode_minus_L"; then
   11973     # Linking always hardcodes the temporary library directory.
   11974     hardcode_action=relink
   11975   else
   11976     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11977     hardcode_action=immediate
   11978   fi
   11979 else
   11980   # We cannot hardcode anything, or else we can only hardcode existing
   11981   # directories.
   11982   hardcode_action=unsupported
   11983 fi
   11984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11985 printf "%s\n" "$hardcode_action" >&6; }
   11986 
   11987 if test relink = "$hardcode_action" ||
   11988    test yes = "$inherit_rpath"; then
   11989   # Fast installation is not supported
   11990   enable_fast_install=no
   11991 elif test yes = "$shlibpath_overrides_runpath" ||
   11992      test no = "$enable_shared"; then
   11993   # Fast installation is not necessary
   11994   enable_fast_install=needless
   11995 fi
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002   if test yes != "$enable_dlopen"; then
   12003   enable_dlopen=unknown
   12004   enable_dlopen_self=unknown
   12005   enable_dlopen_self_static=unknown
   12006 else
   12007   lt_cv_dlopen=no
   12008   lt_cv_dlopen_libs=
   12009 
   12010   case $host_os in
   12011   beos*)
   12012     lt_cv_dlopen=load_add_on
   12013     lt_cv_dlopen_libs=
   12014     lt_cv_dlopen_self=yes
   12015     ;;
   12016 
   12017   mingw* | pw32* | cegcc*)
   12018     lt_cv_dlopen=LoadLibrary
   12019     lt_cv_dlopen_libs=
   12020     ;;
   12021 
   12022   cygwin*)
   12023     lt_cv_dlopen=dlopen
   12024     lt_cv_dlopen_libs=
   12025     ;;
   12026 
   12027   darwin*)
   12028     # if libdl is installed we need to link against it
   12029     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12030 printf %s "checking for dlopen in -ldl... " >&6; }
   12031 if test ${ac_cv_lib_dl_dlopen+y}
   12032 then :
   12033   printf %s "(cached) " >&6
   12034 else $as_nop
   12035   ac_check_lib_save_LIBS=$LIBS
   12036 LIBS="-ldl  $LIBS"
   12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12038 /* end confdefs.h.  */
   12039 
   12040 /* Override any GCC internal prototype to avoid an error.
   12041    Use char because int might match the return type of a GCC
   12042    builtin and then its argument prototype would still apply.  */
   12043 char dlopen ();
   12044 int
   12045 main (void)
   12046 {
   12047 return dlopen ();
   12048   ;
   12049   return 0;
   12050 }
   12051 _ACEOF
   12052 if ac_fn_c_try_link "$LINENO"
   12053 then :
   12054   ac_cv_lib_dl_dlopen=yes
   12055 else $as_nop
   12056   ac_cv_lib_dl_dlopen=no
   12057 fi
   12058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12059     conftest$ac_exeext conftest.$ac_ext
   12060 LIBS=$ac_check_lib_save_LIBS
   12061 fi
   12062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12063 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12064 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12065 then :
   12066   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12067 else $as_nop
   12068 
   12069     lt_cv_dlopen=dyld
   12070     lt_cv_dlopen_libs=
   12071     lt_cv_dlopen_self=yes
   12072 
   12073 fi
   12074 
   12075     ;;
   12076 
   12077   tpf*)
   12078     # Don't try to run any link tests for TPF.  We know it's impossible
   12079     # because TPF is a cross-compiler, and we know how we open DSOs.
   12080     lt_cv_dlopen=dlopen
   12081     lt_cv_dlopen_libs=
   12082     lt_cv_dlopen_self=no
   12083     ;;
   12084 
   12085   *)
   12086     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12087 if test "x$ac_cv_func_shl_load" = xyes
   12088 then :
   12089   lt_cv_dlopen=shl_load
   12090 else $as_nop
   12091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12092 printf %s "checking for shl_load in -ldld... " >&6; }
   12093 if test ${ac_cv_lib_dld_shl_load+y}
   12094 then :
   12095   printf %s "(cached) " >&6
   12096 else $as_nop
   12097   ac_check_lib_save_LIBS=$LIBS
   12098 LIBS="-ldld  $LIBS"
   12099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12100 /* end confdefs.h.  */
   12101 
   12102 /* Override any GCC internal prototype to avoid an error.
   12103    Use char because int might match the return type of a GCC
   12104    builtin and then its argument prototype would still apply.  */
   12105 char shl_load ();
   12106 int
   12107 main (void)
   12108 {
   12109 return shl_load ();
   12110   ;
   12111   return 0;
   12112 }
   12113 _ACEOF
   12114 if ac_fn_c_try_link "$LINENO"
   12115 then :
   12116   ac_cv_lib_dld_shl_load=yes
   12117 else $as_nop
   12118   ac_cv_lib_dld_shl_load=no
   12119 fi
   12120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12121     conftest$ac_exeext conftest.$ac_ext
   12122 LIBS=$ac_check_lib_save_LIBS
   12123 fi
   12124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12125 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12126 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12127 then :
   12128   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12129 else $as_nop
   12130   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12131 if test "x$ac_cv_func_dlopen" = xyes
   12132 then :
   12133   lt_cv_dlopen=dlopen
   12134 else $as_nop
   12135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12136 printf %s "checking for dlopen in -ldl... " >&6; }
   12137 if test ${ac_cv_lib_dl_dlopen+y}
   12138 then :
   12139   printf %s "(cached) " >&6
   12140 else $as_nop
   12141   ac_check_lib_save_LIBS=$LIBS
   12142 LIBS="-ldl  $LIBS"
   12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12144 /* end confdefs.h.  */
   12145 
   12146 /* Override any GCC internal prototype to avoid an error.
   12147    Use char because int might match the return type of a GCC
   12148    builtin and then its argument prototype would still apply.  */
   12149 char dlopen ();
   12150 int
   12151 main (void)
   12152 {
   12153 return dlopen ();
   12154   ;
   12155   return 0;
   12156 }
   12157 _ACEOF
   12158 if ac_fn_c_try_link "$LINENO"
   12159 then :
   12160   ac_cv_lib_dl_dlopen=yes
   12161 else $as_nop
   12162   ac_cv_lib_dl_dlopen=no
   12163 fi
   12164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12165     conftest$ac_exeext conftest.$ac_ext
   12166 LIBS=$ac_check_lib_save_LIBS
   12167 fi
   12168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12169 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12170 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12171 then :
   12172   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12173 else $as_nop
   12174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12175 printf %s "checking for dlopen in -lsvld... " >&6; }
   12176 if test ${ac_cv_lib_svld_dlopen+y}
   12177 then :
   12178   printf %s "(cached) " >&6
   12179 else $as_nop
   12180   ac_check_lib_save_LIBS=$LIBS
   12181 LIBS="-lsvld  $LIBS"
   12182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12183 /* end confdefs.h.  */
   12184 
   12185 /* Override any GCC internal prototype to avoid an error.
   12186    Use char because int might match the return type of a GCC
   12187    builtin and then its argument prototype would still apply.  */
   12188 char dlopen ();
   12189 int
   12190 main (void)
   12191 {
   12192 return dlopen ();
   12193   ;
   12194   return 0;
   12195 }
   12196 _ACEOF
   12197 if ac_fn_c_try_link "$LINENO"
   12198 then :
   12199   ac_cv_lib_svld_dlopen=yes
   12200 else $as_nop
   12201   ac_cv_lib_svld_dlopen=no
   12202 fi
   12203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12204     conftest$ac_exeext conftest.$ac_ext
   12205 LIBS=$ac_check_lib_save_LIBS
   12206 fi
   12207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12208 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12209 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12210 then :
   12211   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12212 else $as_nop
   12213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12214 printf %s "checking for dld_link in -ldld... " >&6; }
   12215 if test ${ac_cv_lib_dld_dld_link+y}
   12216 then :
   12217   printf %s "(cached) " >&6
   12218 else $as_nop
   12219   ac_check_lib_save_LIBS=$LIBS
   12220 LIBS="-ldld  $LIBS"
   12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12222 /* end confdefs.h.  */
   12223 
   12224 /* Override any GCC internal prototype to avoid an error.
   12225    Use char because int might match the return type of a GCC
   12226    builtin and then its argument prototype would still apply.  */
   12227 char dld_link ();
   12228 int
   12229 main (void)
   12230 {
   12231 return dld_link ();
   12232   ;
   12233   return 0;
   12234 }
   12235 _ACEOF
   12236 if ac_fn_c_try_link "$LINENO"
   12237 then :
   12238   ac_cv_lib_dld_dld_link=yes
   12239 else $as_nop
   12240   ac_cv_lib_dld_dld_link=no
   12241 fi
   12242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12243     conftest$ac_exeext conftest.$ac_ext
   12244 LIBS=$ac_check_lib_save_LIBS
   12245 fi
   12246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12247 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12248 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12249 then :
   12250   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12251 fi
   12252 
   12253 
   12254 fi
   12255 
   12256 
   12257 fi
   12258 
   12259 
   12260 fi
   12261 
   12262 
   12263 fi
   12264 
   12265 
   12266 fi
   12267 
   12268     ;;
   12269   esac
   12270 
   12271   if test no = "$lt_cv_dlopen"; then
   12272     enable_dlopen=no
   12273   else
   12274     enable_dlopen=yes
   12275   fi
   12276 
   12277   case $lt_cv_dlopen in
   12278   dlopen)
   12279     save_CPPFLAGS=$CPPFLAGS
   12280     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12281 
   12282     save_LDFLAGS=$LDFLAGS
   12283     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12284 
   12285     save_LIBS=$LIBS
   12286     LIBS="$lt_cv_dlopen_libs $LIBS"
   12287 
   12288     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12289 printf %s "checking whether a program can dlopen itself... " >&6; }
   12290 if test ${lt_cv_dlopen_self+y}
   12291 then :
   12292   printf %s "(cached) " >&6
   12293 else $as_nop
   12294   	  if test yes = "$cross_compiling"; then :
   12295   lt_cv_dlopen_self=cross
   12296 else
   12297   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12298   lt_status=$lt_dlunknown
   12299   cat > conftest.$ac_ext <<_LT_EOF
   12300 #line $LINENO "configure"
   12301 #include "confdefs.h"
   12302 
   12303 #if HAVE_DLFCN_H
   12304 #include <dlfcn.h>
   12305 #endif
   12306 
   12307 #include <stdio.h>
   12308 
   12309 #ifdef RTLD_GLOBAL
   12310 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12311 #else
   12312 #  ifdef DL_GLOBAL
   12313 #    define LT_DLGLOBAL		DL_GLOBAL
   12314 #  else
   12315 #    define LT_DLGLOBAL		0
   12316 #  endif
   12317 #endif
   12318 
   12319 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12320    find out it does not work in some platform. */
   12321 #ifndef LT_DLLAZY_OR_NOW
   12322 #  ifdef RTLD_LAZY
   12323 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12324 #  else
   12325 #    ifdef DL_LAZY
   12326 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12327 #    else
   12328 #      ifdef RTLD_NOW
   12329 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12330 #      else
   12331 #        ifdef DL_NOW
   12332 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12333 #        else
   12334 #          define LT_DLLAZY_OR_NOW	0
   12335 #        endif
   12336 #      endif
   12337 #    endif
   12338 #  endif
   12339 #endif
   12340 
   12341 /* When -fvisibility=hidden is used, assume the code has been annotated
   12342    correspondingly for the symbols needed.  */
   12343 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12344 int fnord () __attribute__((visibility("default")));
   12345 #endif
   12346 
   12347 int fnord () { return 42; }
   12348 int main ()
   12349 {
   12350   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12351   int status = $lt_dlunknown;
   12352 
   12353   if (self)
   12354     {
   12355       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12356       else
   12357         {
   12358 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12359           else puts (dlerror ());
   12360 	}
   12361       /* dlclose (self); */
   12362     }
   12363   else
   12364     puts (dlerror ());
   12365 
   12366   return status;
   12367 }
   12368 _LT_EOF
   12369   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12370   (eval $ac_link) 2>&5
   12371   ac_status=$?
   12372   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12373   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12374     (./conftest; exit; ) >&5 2>/dev/null
   12375     lt_status=$?
   12376     case x$lt_status in
   12377       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12378       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12379       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12380     esac
   12381   else :
   12382     # compilation failed
   12383     lt_cv_dlopen_self=no
   12384   fi
   12385 fi
   12386 rm -fr conftest*
   12387 
   12388 
   12389 fi
   12390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12391 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12392 
   12393     if test yes = "$lt_cv_dlopen_self"; then
   12394       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12395       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12396 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12397 if test ${lt_cv_dlopen_self_static+y}
   12398 then :
   12399   printf %s "(cached) " >&6
   12400 else $as_nop
   12401   	  if test yes = "$cross_compiling"; then :
   12402   lt_cv_dlopen_self_static=cross
   12403 else
   12404   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12405   lt_status=$lt_dlunknown
   12406   cat > conftest.$ac_ext <<_LT_EOF
   12407 #line $LINENO "configure"
   12408 #include "confdefs.h"
   12409 
   12410 #if HAVE_DLFCN_H
   12411 #include <dlfcn.h>
   12412 #endif
   12413 
   12414 #include <stdio.h>
   12415 
   12416 #ifdef RTLD_GLOBAL
   12417 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12418 #else
   12419 #  ifdef DL_GLOBAL
   12420 #    define LT_DLGLOBAL		DL_GLOBAL
   12421 #  else
   12422 #    define LT_DLGLOBAL		0
   12423 #  endif
   12424 #endif
   12425 
   12426 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12427    find out it does not work in some platform. */
   12428 #ifndef LT_DLLAZY_OR_NOW
   12429 #  ifdef RTLD_LAZY
   12430 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12431 #  else
   12432 #    ifdef DL_LAZY
   12433 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12434 #    else
   12435 #      ifdef RTLD_NOW
   12436 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12437 #      else
   12438 #        ifdef DL_NOW
   12439 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12440 #        else
   12441 #          define LT_DLLAZY_OR_NOW	0
   12442 #        endif
   12443 #      endif
   12444 #    endif
   12445 #  endif
   12446 #endif
   12447 
   12448 /* When -fvisibility=hidden is used, assume the code has been annotated
   12449    correspondingly for the symbols needed.  */
   12450 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12451 int fnord () __attribute__((visibility("default")));
   12452 #endif
   12453 
   12454 int fnord () { return 42; }
   12455 int main ()
   12456 {
   12457   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12458   int status = $lt_dlunknown;
   12459 
   12460   if (self)
   12461     {
   12462       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12463       else
   12464         {
   12465 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12466           else puts (dlerror ());
   12467 	}
   12468       /* dlclose (self); */
   12469     }
   12470   else
   12471     puts (dlerror ());
   12472 
   12473   return status;
   12474 }
   12475 _LT_EOF
   12476   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12477   (eval $ac_link) 2>&5
   12478   ac_status=$?
   12479   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12480   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12481     (./conftest; exit; ) >&5 2>/dev/null
   12482     lt_status=$?
   12483     case x$lt_status in
   12484       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12485       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12486       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12487     esac
   12488   else :
   12489     # compilation failed
   12490     lt_cv_dlopen_self_static=no
   12491   fi
   12492 fi
   12493 rm -fr conftest*
   12494 
   12495 
   12496 fi
   12497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12498 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12499     fi
   12500 
   12501     CPPFLAGS=$save_CPPFLAGS
   12502     LDFLAGS=$save_LDFLAGS
   12503     LIBS=$save_LIBS
   12504     ;;
   12505   esac
   12506 
   12507   case $lt_cv_dlopen_self in
   12508   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12509   *) enable_dlopen_self=unknown ;;
   12510   esac
   12511 
   12512   case $lt_cv_dlopen_self_static in
   12513   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12514   *) enable_dlopen_self_static=unknown ;;
   12515   esac
   12516 fi
   12517 
   12518 
   12519 
   12520 
   12521 
   12522 
   12523 
   12524 
   12525 
   12526 
   12527 
   12528 
   12529 
   12530 
   12531 
   12532 
   12533 
   12534 striplib=
   12535 old_striplib=
   12536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12537 printf %s "checking whether stripping libraries is possible... " >&6; }
   12538 if test -z "$STRIP"; then
   12539   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12540 printf "%s\n" "no" >&6; }
   12541 else
   12542   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12543     old_striplib="$STRIP --strip-debug"
   12544     striplib="$STRIP --strip-unneeded"
   12545     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12546 printf "%s\n" "yes" >&6; }
   12547   else
   12548     case $host_os in
   12549     darwin*)
   12550       # FIXME - insert some real tests, host_os isn't really good enough
   12551       striplib="$STRIP -x"
   12552       old_striplib="$STRIP -S"
   12553       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12554 printf "%s\n" "yes" >&6; }
   12555       ;;
   12556     freebsd*)
   12557       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12558         old_striplib="$STRIP --strip-debug"
   12559         striplib="$STRIP --strip-unneeded"
   12560         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12561 printf "%s\n" "yes" >&6; }
   12562       else
   12563         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12564 printf "%s\n" "no" >&6; }
   12565       fi
   12566       ;;
   12567     *)
   12568       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12569 printf "%s\n" "no" >&6; }
   12570       ;;
   12571     esac
   12572   fi
   12573 fi
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586   # Report what library types will actually be built
   12587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12588 printf %s "checking if libtool supports shared libraries... " >&6; }
   12589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12590 printf "%s\n" "$can_build_shared" >&6; }
   12591 
   12592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12593 printf %s "checking whether to build shared libraries... " >&6; }
   12594   test no = "$can_build_shared" && enable_shared=no
   12595 
   12596   # On AIX, shared libraries and static libraries use the same namespace, and
   12597   # are all built from PIC.
   12598   case $host_os in
   12599   aix3*)
   12600     test yes = "$enable_shared" && enable_static=no
   12601     if test -n "$RANLIB"; then
   12602       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12603       postinstall_cmds='$RANLIB $lib'
   12604     fi
   12605     ;;
   12606 
   12607   aix[4-9]*)
   12608     if test ia64 != "$host_cpu"; then
   12609       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12610       yes,aix,yes) ;;			# shared object as lib.so file only
   12611       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12612       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12613       esac
   12614     fi
   12615     ;;
   12616   esac
   12617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12618 printf "%s\n" "$enable_shared" >&6; }
   12619 
   12620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12621 printf %s "checking whether to build static libraries... " >&6; }
   12622   # Make sure either enable_shared or enable_static is yes.
   12623   test yes = "$enable_shared" || enable_static=yes
   12624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12625 printf "%s\n" "$enable_static" >&6; }
   12626 
   12627 
   12628 
   12629 
   12630 fi
   12631 ac_ext=c
   12632 ac_cpp='$CPP $CPPFLAGS'
   12633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12636 
   12637 CC=$lt_save_CC
   12638 
   12639 
   12640 
   12641 
   12642 
   12643 
   12644 
   12645 
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653         ac_config_commands="$ac_config_commands libtool"
   12654 
   12655 
   12656 
   12657 
   12658 # Only expand once:
   12659 
   12660 
   12661 
   12662 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12676 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12677 if test ${ac_cv_c_undeclared_builtin_options+y}
   12678 then :
   12679   printf %s "(cached) " >&6
   12680 else $as_nop
   12681   ac_save_CFLAGS=$CFLAGS
   12682    ac_cv_c_undeclared_builtin_options='cannot detect'
   12683    for ac_arg in '' -fno-builtin; do
   12684      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12685      # This test program should *not* compile successfully.
   12686      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12687 /* end confdefs.h.  */
   12688 
   12689 int
   12690 main (void)
   12691 {
   12692 (void) strchr;
   12693   ;
   12694   return 0;
   12695 }
   12696 _ACEOF
   12697 if ac_fn_c_try_compile "$LINENO"
   12698 then :
   12699 
   12700 else $as_nop
   12701   # This test program should compile successfully.
   12702         # No library function is consistently available on
   12703         # freestanding implementations, so test against a dummy
   12704         # declaration.  Include always-available headers on the
   12705         # off chance that they somehow elicit warnings.
   12706         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12707 /* end confdefs.h.  */
   12708 #include <float.h>
   12709 #include <limits.h>
   12710 #include <stdarg.h>
   12711 #include <stddef.h>
   12712 extern void ac_decl (int, char *);
   12713 
   12714 int
   12715 main (void)
   12716 {
   12717 (void) ac_decl (0, (char *) 0);
   12718   (void) ac_decl;
   12719 
   12720   ;
   12721   return 0;
   12722 }
   12723 _ACEOF
   12724 if ac_fn_c_try_compile "$LINENO"
   12725 then :
   12726   if test x"$ac_arg" = x
   12727 then :
   12728   ac_cv_c_undeclared_builtin_options='none needed'
   12729 else $as_nop
   12730   ac_cv_c_undeclared_builtin_options=$ac_arg
   12731 fi
   12732           break
   12733 fi
   12734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12735 fi
   12736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12737     done
   12738     CFLAGS=$ac_save_CFLAGS
   12739 
   12740 fi
   12741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12742 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12743   case $ac_cv_c_undeclared_builtin_options in #(
   12744   'cannot detect') :
   12745     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12746 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12747 as_fn_error $? "cannot make $CC report undeclared builtins
   12748 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12749   'none needed') :
   12750     ac_c_undeclared_builtin_options='' ;; #(
   12751   *) :
   12752     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12753 esac
   12754 
   12755 
   12756 
   12757 
   12758 
   12759 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12760 if test "x$ac_cv_have_decl___clang__" = xyes
   12761 then :
   12762   CLANGCC="yes"
   12763 else $as_nop
   12764   CLANGCC="no"
   12765 fi
   12766 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12767 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12768 then :
   12769   INTELCC="yes"
   12770 else $as_nop
   12771   INTELCC="no"
   12772 fi
   12773 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12774 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12775 then :
   12776   SUNCC="yes"
   12777 else $as_nop
   12778   SUNCC="no"
   12779 fi
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12789 	if test -n "$ac_tool_prefix"; then
   12790   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12791 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12793 printf %s "checking for $ac_word... " >&6; }
   12794 if test ${ac_cv_path_PKG_CONFIG+y}
   12795 then :
   12796   printf %s "(cached) " >&6
   12797 else $as_nop
   12798   case $PKG_CONFIG in
   12799   [\\/]* | ?:[\\/]*)
   12800   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12801   ;;
   12802   *)
   12803   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12804 for as_dir in $PATH
   12805 do
   12806   IFS=$as_save_IFS
   12807   case $as_dir in #(((
   12808     '') as_dir=./ ;;
   12809     */) ;;
   12810     *) as_dir=$as_dir/ ;;
   12811   esac
   12812     for ac_exec_ext in '' $ac_executable_extensions; do
   12813   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12814     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12815     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12816     break 2
   12817   fi
   12818 done
   12819   done
   12820 IFS=$as_save_IFS
   12821 
   12822   ;;
   12823 esac
   12824 fi
   12825 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12826 if test -n "$PKG_CONFIG"; then
   12827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12828 printf "%s\n" "$PKG_CONFIG" >&6; }
   12829 else
   12830   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12831 printf "%s\n" "no" >&6; }
   12832 fi
   12833 
   12834 
   12835 fi
   12836 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12837   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12838   # Extract the first word of "pkg-config", so it can be a program name with args.
   12839 set dummy pkg-config; ac_word=$2
   12840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12841 printf %s "checking for $ac_word... " >&6; }
   12842 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12843 then :
   12844   printf %s "(cached) " >&6
   12845 else $as_nop
   12846   case $ac_pt_PKG_CONFIG in
   12847   [\\/]* | ?:[\\/]*)
   12848   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12849   ;;
   12850   *)
   12851   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12852 for as_dir in $PATH
   12853 do
   12854   IFS=$as_save_IFS
   12855   case $as_dir in #(((
   12856     '') as_dir=./ ;;
   12857     */) ;;
   12858     *) as_dir=$as_dir/ ;;
   12859   esac
   12860     for ac_exec_ext in '' $ac_executable_extensions; do
   12861   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12862     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12863     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12864     break 2
   12865   fi
   12866 done
   12867   done
   12868 IFS=$as_save_IFS
   12869 
   12870   ;;
   12871 esac
   12872 fi
   12873 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12874 if test -n "$ac_pt_PKG_CONFIG"; then
   12875   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12876 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   12877 else
   12878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12879 printf "%s\n" "no" >&6; }
   12880 fi
   12881 
   12882   if test "x$ac_pt_PKG_CONFIG" = x; then
   12883     PKG_CONFIG=""
   12884   else
   12885     case $cross_compiling:$ac_tool_warned in
   12886 yes:)
   12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12888 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12889 ac_tool_warned=yes ;;
   12890 esac
   12891     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12892   fi
   12893 else
   12894   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12895 fi
   12896 
   12897 fi
   12898 if test -n "$PKG_CONFIG"; then
   12899 	_pkg_min_version=0.9.0
   12900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12901 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12902 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12903 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12904 printf "%s\n" "yes" >&6; }
   12905 	else
   12906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12907 printf "%s\n" "no" >&6; }
   12908 		PKG_CONFIG=""
   12909 	fi
   12910 fi
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 # Check whether --enable-selective-werror was given.
   12917 if test ${enable_selective_werror+y}
   12918 then :
   12919   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12920 else $as_nop
   12921   SELECTIVE_WERROR=yes
   12922 fi
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12929 if test "x$SUNCC" = "xyes"; then
   12930     BASE_CFLAGS="-v"
   12931 else
   12932     BASE_CFLAGS=""
   12933 fi
   12934 
   12935 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 xorg_testset_save_CFLAGS="$CFLAGS"
   12950 
   12951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12953 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12954 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12955 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12956 then :
   12957   printf %s "(cached) " >&6
   12958 else $as_nop
   12959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12960 /* end confdefs.h.  */
   12961 int i;
   12962 _ACEOF
   12963 if ac_fn_c_try_compile "$LINENO"
   12964 then :
   12965   xorg_cv_cc_flag_unknown_warning_option=yes
   12966 else $as_nop
   12967   xorg_cv_cc_flag_unknown_warning_option=no
   12968 fi
   12969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12970 fi
   12971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12972 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12973 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12974 	CFLAGS="$xorg_testset_save_CFLAGS"
   12975 fi
   12976 
   12977 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12978 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12979 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12980 	fi
   12981 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12982 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12983 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12984 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   12985 then :
   12986   printf %s "(cached) " >&6
   12987 else $as_nop
   12988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12989 /* end confdefs.h.  */
   12990 int i;
   12991 _ACEOF
   12992 if ac_fn_c_try_compile "$LINENO"
   12993 then :
   12994   xorg_cv_cc_flag_unused_command_line_argument=yes
   12995 else $as_nop
   12996   xorg_cv_cc_flag_unused_command_line_argument=no
   12997 fi
   12998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12999 fi
   13000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13001 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13003 	CFLAGS="$xorg_testset_save_CFLAGS"
   13004 fi
   13005 
   13006 found="no"
   13007 
   13008 	if test $found = "no" ; then
   13009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13011 		fi
   13012 
   13013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13015 		fi
   13016 
   13017 		CFLAGS="$CFLAGS -Wall"
   13018 
   13019 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13020 printf %s "checking if $CC supports -Wall... " >&6; }
   13021 		cacheid=xorg_cv_cc_flag__Wall
   13022 		if eval test \${$cacheid+y}
   13023 then :
   13024   printf %s "(cached) " >&6
   13025 else $as_nop
   13026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13027 /* end confdefs.h.  */
   13028 int i;
   13029 int
   13030 main (void)
   13031 {
   13032 
   13033   ;
   13034   return 0;
   13035 }
   13036 _ACEOF
   13037 if ac_fn_c_try_link "$LINENO"
   13038 then :
   13039   eval $cacheid=yes
   13040 else $as_nop
   13041   eval $cacheid=no
   13042 fi
   13043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13044     conftest$ac_exeext conftest.$ac_ext
   13045 fi
   13046 
   13047 
   13048 		CFLAGS="$xorg_testset_save_CFLAGS"
   13049 
   13050 		eval supported=\$$cacheid
   13051 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13052 printf "%s\n" "$supported" >&6; }
   13053 		if test "$supported" = "yes" ; then
   13054 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13055 			found="yes"
   13056 		fi
   13057 	fi
   13058 
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 
   13073 xorg_testset_save_CFLAGS="$CFLAGS"
   13074 
   13075 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13076 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13078 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13079 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13080 then :
   13081   printf %s "(cached) " >&6
   13082 else $as_nop
   13083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13084 /* end confdefs.h.  */
   13085 int i;
   13086 _ACEOF
   13087 if ac_fn_c_try_compile "$LINENO"
   13088 then :
   13089   xorg_cv_cc_flag_unknown_warning_option=yes
   13090 else $as_nop
   13091   xorg_cv_cc_flag_unknown_warning_option=no
   13092 fi
   13093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13094 fi
   13095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13096 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13097 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13098 	CFLAGS="$xorg_testset_save_CFLAGS"
   13099 fi
   13100 
   13101 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13102 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13103 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13104 	fi
   13105 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13106 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13107 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13108 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13109 then :
   13110   printf %s "(cached) " >&6
   13111 else $as_nop
   13112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13113 /* end confdefs.h.  */
   13114 int i;
   13115 _ACEOF
   13116 if ac_fn_c_try_compile "$LINENO"
   13117 then :
   13118   xorg_cv_cc_flag_unused_command_line_argument=yes
   13119 else $as_nop
   13120   xorg_cv_cc_flag_unused_command_line_argument=no
   13121 fi
   13122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13123 fi
   13124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13125 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13127 	CFLAGS="$xorg_testset_save_CFLAGS"
   13128 fi
   13129 
   13130 found="no"
   13131 
   13132 	if test $found = "no" ; then
   13133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13135 		fi
   13136 
   13137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13139 		fi
   13140 
   13141 		CFLAGS="$CFLAGS -Wpointer-arith"
   13142 
   13143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13144 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13145 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13146 		if eval test \${$cacheid+y}
   13147 then :
   13148   printf %s "(cached) " >&6
   13149 else $as_nop
   13150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13151 /* end confdefs.h.  */
   13152 int i;
   13153 int
   13154 main (void)
   13155 {
   13156 
   13157   ;
   13158   return 0;
   13159 }
   13160 _ACEOF
   13161 if ac_fn_c_try_link "$LINENO"
   13162 then :
   13163   eval $cacheid=yes
   13164 else $as_nop
   13165   eval $cacheid=no
   13166 fi
   13167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13168     conftest$ac_exeext conftest.$ac_ext
   13169 fi
   13170 
   13171 
   13172 		CFLAGS="$xorg_testset_save_CFLAGS"
   13173 
   13174 		eval supported=\$$cacheid
   13175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13176 printf "%s\n" "$supported" >&6; }
   13177 		if test "$supported" = "yes" ; then
   13178 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13179 			found="yes"
   13180 		fi
   13181 	fi
   13182 
   13183 
   13184 
   13185 
   13186 
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 
   13194 
   13195 
   13196 
   13197 xorg_testset_save_CFLAGS="$CFLAGS"
   13198 
   13199 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13200 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13201 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13202 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13203 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13204 then :
   13205   printf %s "(cached) " >&6
   13206 else $as_nop
   13207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13208 /* end confdefs.h.  */
   13209 int i;
   13210 _ACEOF
   13211 if ac_fn_c_try_compile "$LINENO"
   13212 then :
   13213   xorg_cv_cc_flag_unknown_warning_option=yes
   13214 else $as_nop
   13215   xorg_cv_cc_flag_unknown_warning_option=no
   13216 fi
   13217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13218 fi
   13219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13220 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13222 	CFLAGS="$xorg_testset_save_CFLAGS"
   13223 fi
   13224 
   13225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13228 	fi
   13229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13231 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13232 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13233 then :
   13234   printf %s "(cached) " >&6
   13235 else $as_nop
   13236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13237 /* end confdefs.h.  */
   13238 int i;
   13239 _ACEOF
   13240 if ac_fn_c_try_compile "$LINENO"
   13241 then :
   13242   xorg_cv_cc_flag_unused_command_line_argument=yes
   13243 else $as_nop
   13244   xorg_cv_cc_flag_unused_command_line_argument=no
   13245 fi
   13246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13247 fi
   13248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13249 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13250 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13251 	CFLAGS="$xorg_testset_save_CFLAGS"
   13252 fi
   13253 
   13254 found="no"
   13255 
   13256 	if test $found = "no" ; then
   13257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13259 		fi
   13260 
   13261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13263 		fi
   13264 
   13265 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13266 
   13267 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13268 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13269 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13270 		if eval test \${$cacheid+y}
   13271 then :
   13272   printf %s "(cached) " >&6
   13273 else $as_nop
   13274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13275 /* end confdefs.h.  */
   13276 int i;
   13277 int
   13278 main (void)
   13279 {
   13280 
   13281   ;
   13282   return 0;
   13283 }
   13284 _ACEOF
   13285 if ac_fn_c_try_link "$LINENO"
   13286 then :
   13287   eval $cacheid=yes
   13288 else $as_nop
   13289   eval $cacheid=no
   13290 fi
   13291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13292     conftest$ac_exeext conftest.$ac_ext
   13293 fi
   13294 
   13295 
   13296 		CFLAGS="$xorg_testset_save_CFLAGS"
   13297 
   13298 		eval supported=\$$cacheid
   13299 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13300 printf "%s\n" "$supported" >&6; }
   13301 		if test "$supported" = "yes" ; then
   13302 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13303 			found="yes"
   13304 		fi
   13305 	fi
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 
   13320 
   13321 xorg_testset_save_CFLAGS="$CFLAGS"
   13322 
   13323 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13324 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13325 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13326 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13327 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13328 then :
   13329   printf %s "(cached) " >&6
   13330 else $as_nop
   13331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13332 /* end confdefs.h.  */
   13333 int i;
   13334 _ACEOF
   13335 if ac_fn_c_try_compile "$LINENO"
   13336 then :
   13337   xorg_cv_cc_flag_unknown_warning_option=yes
   13338 else $as_nop
   13339   xorg_cv_cc_flag_unknown_warning_option=no
   13340 fi
   13341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13342 fi
   13343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13344 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13345 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13346 	CFLAGS="$xorg_testset_save_CFLAGS"
   13347 fi
   13348 
   13349 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13350 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13351 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13352 	fi
   13353 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13354 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13355 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13356 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13357 then :
   13358   printf %s "(cached) " >&6
   13359 else $as_nop
   13360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13361 /* end confdefs.h.  */
   13362 int i;
   13363 _ACEOF
   13364 if ac_fn_c_try_compile "$LINENO"
   13365 then :
   13366   xorg_cv_cc_flag_unused_command_line_argument=yes
   13367 else $as_nop
   13368   xorg_cv_cc_flag_unused_command_line_argument=no
   13369 fi
   13370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13371 fi
   13372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13373 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13374 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13375 	CFLAGS="$xorg_testset_save_CFLAGS"
   13376 fi
   13377 
   13378 found="no"
   13379 
   13380 	if test $found = "no" ; then
   13381 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13382 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13383 		fi
   13384 
   13385 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13386 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13387 		fi
   13388 
   13389 		CFLAGS="$CFLAGS -Wformat=2"
   13390 
   13391 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13392 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13393 		cacheid=xorg_cv_cc_flag__Wformat_2
   13394 		if eval test \${$cacheid+y}
   13395 then :
   13396   printf %s "(cached) " >&6
   13397 else $as_nop
   13398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13399 /* end confdefs.h.  */
   13400 int i;
   13401 int
   13402 main (void)
   13403 {
   13404 
   13405   ;
   13406   return 0;
   13407 }
   13408 _ACEOF
   13409 if ac_fn_c_try_link "$LINENO"
   13410 then :
   13411   eval $cacheid=yes
   13412 else $as_nop
   13413   eval $cacheid=no
   13414 fi
   13415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13416     conftest$ac_exeext conftest.$ac_ext
   13417 fi
   13418 
   13419 
   13420 		CFLAGS="$xorg_testset_save_CFLAGS"
   13421 
   13422 		eval supported=\$$cacheid
   13423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13424 printf "%s\n" "$supported" >&6; }
   13425 		if test "$supported" = "yes" ; then
   13426 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13427 			found="yes"
   13428 		fi
   13429 	fi
   13430 
   13431 	if test $found = "no" ; then
   13432 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13433 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13434 		fi
   13435 
   13436 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13437 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13438 		fi
   13439 
   13440 		CFLAGS="$CFLAGS -Wformat"
   13441 
   13442 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13443 printf %s "checking if $CC supports -Wformat... " >&6; }
   13444 		cacheid=xorg_cv_cc_flag__Wformat
   13445 		if eval test \${$cacheid+y}
   13446 then :
   13447   printf %s "(cached) " >&6
   13448 else $as_nop
   13449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13450 /* end confdefs.h.  */
   13451 int i;
   13452 int
   13453 main (void)
   13454 {
   13455 
   13456   ;
   13457   return 0;
   13458 }
   13459 _ACEOF
   13460 if ac_fn_c_try_link "$LINENO"
   13461 then :
   13462   eval $cacheid=yes
   13463 else $as_nop
   13464   eval $cacheid=no
   13465 fi
   13466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13467     conftest$ac_exeext conftest.$ac_ext
   13468 fi
   13469 
   13470 
   13471 		CFLAGS="$xorg_testset_save_CFLAGS"
   13472 
   13473 		eval supported=\$$cacheid
   13474 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13475 printf "%s\n" "$supported" >&6; }
   13476 		if test "$supported" = "yes" ; then
   13477 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13478 			found="yes"
   13479 		fi
   13480 	fi
   13481 
   13482 
   13483 
   13484 
   13485 
   13486 
   13487 
   13488 
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 xorg_testset_save_CFLAGS="$CFLAGS"
   13499 
   13500 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13501 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13502 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13503 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13504 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13505 then :
   13506   printf %s "(cached) " >&6
   13507 else $as_nop
   13508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13509 /* end confdefs.h.  */
   13510 int i;
   13511 _ACEOF
   13512 if ac_fn_c_try_compile "$LINENO"
   13513 then :
   13514   xorg_cv_cc_flag_unknown_warning_option=yes
   13515 else $as_nop
   13516   xorg_cv_cc_flag_unknown_warning_option=no
   13517 fi
   13518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13519 fi
   13520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13521 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13523 	CFLAGS="$xorg_testset_save_CFLAGS"
   13524 fi
   13525 
   13526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13529 	fi
   13530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13531 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13532 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13533 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13534 then :
   13535   printf %s "(cached) " >&6
   13536 else $as_nop
   13537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13538 /* end confdefs.h.  */
   13539 int i;
   13540 _ACEOF
   13541 if ac_fn_c_try_compile "$LINENO"
   13542 then :
   13543   xorg_cv_cc_flag_unused_command_line_argument=yes
   13544 else $as_nop
   13545   xorg_cv_cc_flag_unused_command_line_argument=no
   13546 fi
   13547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13548 fi
   13549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13550 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13551 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13552 	CFLAGS="$xorg_testset_save_CFLAGS"
   13553 fi
   13554 
   13555 found="no"
   13556 
   13557 	if test $found = "no" ; then
   13558 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13559 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13560 		fi
   13561 
   13562 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13563 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13564 		fi
   13565 
   13566 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13567 
   13568 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13569 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13570 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13571 		if eval test \${$cacheid+y}
   13572 then :
   13573   printf %s "(cached) " >&6
   13574 else $as_nop
   13575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13576 /* end confdefs.h.  */
   13577 int i;
   13578 int
   13579 main (void)
   13580 {
   13581 
   13582   ;
   13583   return 0;
   13584 }
   13585 _ACEOF
   13586 if ac_fn_c_try_link "$LINENO"
   13587 then :
   13588   eval $cacheid=yes
   13589 else $as_nop
   13590   eval $cacheid=no
   13591 fi
   13592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13593     conftest$ac_exeext conftest.$ac_ext
   13594 fi
   13595 
   13596 
   13597 		CFLAGS="$xorg_testset_save_CFLAGS"
   13598 
   13599 		eval supported=\$$cacheid
   13600 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13601 printf "%s\n" "$supported" >&6; }
   13602 		if test "$supported" = "yes" ; then
   13603 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13604 			found="yes"
   13605 		fi
   13606 	fi
   13607 
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 xorg_testset_save_CFLAGS="$CFLAGS"
   13623 
   13624 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13626 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13627 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13628 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13629 then :
   13630   printf %s "(cached) " >&6
   13631 else $as_nop
   13632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13633 /* end confdefs.h.  */
   13634 int i;
   13635 _ACEOF
   13636 if ac_fn_c_try_compile "$LINENO"
   13637 then :
   13638   xorg_cv_cc_flag_unknown_warning_option=yes
   13639 else $as_nop
   13640   xorg_cv_cc_flag_unknown_warning_option=no
   13641 fi
   13642 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13643 fi
   13644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13645 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13647 	CFLAGS="$xorg_testset_save_CFLAGS"
   13648 fi
   13649 
   13650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13653 	fi
   13654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13655 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13656 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13657 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13658 then :
   13659   printf %s "(cached) " >&6
   13660 else $as_nop
   13661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13662 /* end confdefs.h.  */
   13663 int i;
   13664 _ACEOF
   13665 if ac_fn_c_try_compile "$LINENO"
   13666 then :
   13667   xorg_cv_cc_flag_unused_command_line_argument=yes
   13668 else $as_nop
   13669   xorg_cv_cc_flag_unused_command_line_argument=no
   13670 fi
   13671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13672 fi
   13673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13674 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13675 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13676 	CFLAGS="$xorg_testset_save_CFLAGS"
   13677 fi
   13678 
   13679 found="no"
   13680 
   13681 	if test $found = "no" ; then
   13682 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13683 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13684 		fi
   13685 
   13686 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13687 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13688 		fi
   13689 
   13690 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13691 
   13692 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13693 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13694 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13695 		if eval test \${$cacheid+y}
   13696 then :
   13697   printf %s "(cached) " >&6
   13698 else $as_nop
   13699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13700 /* end confdefs.h.  */
   13701 int i;
   13702 int
   13703 main (void)
   13704 {
   13705 
   13706   ;
   13707   return 0;
   13708 }
   13709 _ACEOF
   13710 if ac_fn_c_try_link "$LINENO"
   13711 then :
   13712   eval $cacheid=yes
   13713 else $as_nop
   13714   eval $cacheid=no
   13715 fi
   13716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13717     conftest$ac_exeext conftest.$ac_ext
   13718 fi
   13719 
   13720 
   13721 		CFLAGS="$xorg_testset_save_CFLAGS"
   13722 
   13723 		eval supported=\$$cacheid
   13724 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13725 printf "%s\n" "$supported" >&6; }
   13726 		if test "$supported" = "yes" ; then
   13727 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13728 			found="yes"
   13729 		fi
   13730 	fi
   13731 
   13732 
   13733 
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 xorg_testset_save_CFLAGS="$CFLAGS"
   13747 
   13748 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13749 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13750 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13751 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13752 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13753 then :
   13754   printf %s "(cached) " >&6
   13755 else $as_nop
   13756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13757 /* end confdefs.h.  */
   13758 int i;
   13759 _ACEOF
   13760 if ac_fn_c_try_compile "$LINENO"
   13761 then :
   13762   xorg_cv_cc_flag_unknown_warning_option=yes
   13763 else $as_nop
   13764   xorg_cv_cc_flag_unknown_warning_option=no
   13765 fi
   13766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13767 fi
   13768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13769 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13770 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13771 	CFLAGS="$xorg_testset_save_CFLAGS"
   13772 fi
   13773 
   13774 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13775 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13776 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13777 	fi
   13778 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13779 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13780 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13781 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13782 then :
   13783   printf %s "(cached) " >&6
   13784 else $as_nop
   13785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13786 /* end confdefs.h.  */
   13787 int i;
   13788 _ACEOF
   13789 if ac_fn_c_try_compile "$LINENO"
   13790 then :
   13791   xorg_cv_cc_flag_unused_command_line_argument=yes
   13792 else $as_nop
   13793   xorg_cv_cc_flag_unused_command_line_argument=no
   13794 fi
   13795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13796 fi
   13797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13798 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13799 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13800 	CFLAGS="$xorg_testset_save_CFLAGS"
   13801 fi
   13802 
   13803 found="no"
   13804 
   13805 	if test $found = "no" ; then
   13806 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13807 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13808 		fi
   13809 
   13810 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13811 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13812 		fi
   13813 
   13814 		CFLAGS="$CFLAGS -Wnested-externs"
   13815 
   13816 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13817 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13818 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13819 		if eval test \${$cacheid+y}
   13820 then :
   13821   printf %s "(cached) " >&6
   13822 else $as_nop
   13823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13824 /* end confdefs.h.  */
   13825 int i;
   13826 int
   13827 main (void)
   13828 {
   13829 
   13830   ;
   13831   return 0;
   13832 }
   13833 _ACEOF
   13834 if ac_fn_c_try_link "$LINENO"
   13835 then :
   13836   eval $cacheid=yes
   13837 else $as_nop
   13838   eval $cacheid=no
   13839 fi
   13840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13841     conftest$ac_exeext conftest.$ac_ext
   13842 fi
   13843 
   13844 
   13845 		CFLAGS="$xorg_testset_save_CFLAGS"
   13846 
   13847 		eval supported=\$$cacheid
   13848 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13849 printf "%s\n" "$supported" >&6; }
   13850 		if test "$supported" = "yes" ; then
   13851 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13852 			found="yes"
   13853 		fi
   13854 	fi
   13855 
   13856 
   13857 
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869 
   13870 xorg_testset_save_CFLAGS="$CFLAGS"
   13871 
   13872 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13873 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13875 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13876 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13877 then :
   13878   printf %s "(cached) " >&6
   13879 else $as_nop
   13880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13881 /* end confdefs.h.  */
   13882 int i;
   13883 _ACEOF
   13884 if ac_fn_c_try_compile "$LINENO"
   13885 then :
   13886   xorg_cv_cc_flag_unknown_warning_option=yes
   13887 else $as_nop
   13888   xorg_cv_cc_flag_unknown_warning_option=no
   13889 fi
   13890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13891 fi
   13892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13893 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13895 	CFLAGS="$xorg_testset_save_CFLAGS"
   13896 fi
   13897 
   13898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13901 	fi
   13902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13903 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13904 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13905 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13906 then :
   13907   printf %s "(cached) " >&6
   13908 else $as_nop
   13909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13910 /* end confdefs.h.  */
   13911 int i;
   13912 _ACEOF
   13913 if ac_fn_c_try_compile "$LINENO"
   13914 then :
   13915   xorg_cv_cc_flag_unused_command_line_argument=yes
   13916 else $as_nop
   13917   xorg_cv_cc_flag_unused_command_line_argument=no
   13918 fi
   13919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13920 fi
   13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13922 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13923 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13924 	CFLAGS="$xorg_testset_save_CFLAGS"
   13925 fi
   13926 
   13927 found="no"
   13928 
   13929 	if test $found = "no" ; then
   13930 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13931 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13932 		fi
   13933 
   13934 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13935 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13936 		fi
   13937 
   13938 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13939 
   13940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13941 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   13942 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13943 		if eval test \${$cacheid+y}
   13944 then :
   13945   printf %s "(cached) " >&6
   13946 else $as_nop
   13947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13948 /* end confdefs.h.  */
   13949 int i;
   13950 int
   13951 main (void)
   13952 {
   13953 
   13954   ;
   13955   return 0;
   13956 }
   13957 _ACEOF
   13958 if ac_fn_c_try_link "$LINENO"
   13959 then :
   13960   eval $cacheid=yes
   13961 else $as_nop
   13962   eval $cacheid=no
   13963 fi
   13964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13965     conftest$ac_exeext conftest.$ac_ext
   13966 fi
   13967 
   13968 
   13969 		CFLAGS="$xorg_testset_save_CFLAGS"
   13970 
   13971 		eval supported=\$$cacheid
   13972 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13973 printf "%s\n" "$supported" >&6; }
   13974 		if test "$supported" = "yes" ; then
   13975 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13976 			found="yes"
   13977 		fi
   13978 	fi
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 
   13994 xorg_testset_save_CFLAGS="$CFLAGS"
   13995 
   13996 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13997 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13998 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13999 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14000 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14001 then :
   14002   printf %s "(cached) " >&6
   14003 else $as_nop
   14004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14005 /* end confdefs.h.  */
   14006 int i;
   14007 _ACEOF
   14008 if ac_fn_c_try_compile "$LINENO"
   14009 then :
   14010   xorg_cv_cc_flag_unknown_warning_option=yes
   14011 else $as_nop
   14012   xorg_cv_cc_flag_unknown_warning_option=no
   14013 fi
   14014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14015 fi
   14016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14017 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14019 	CFLAGS="$xorg_testset_save_CFLAGS"
   14020 fi
   14021 
   14022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14025 	fi
   14026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14027 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14028 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14029 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14030 then :
   14031   printf %s "(cached) " >&6
   14032 else $as_nop
   14033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14034 /* end confdefs.h.  */
   14035 int i;
   14036 _ACEOF
   14037 if ac_fn_c_try_compile "$LINENO"
   14038 then :
   14039   xorg_cv_cc_flag_unused_command_line_argument=yes
   14040 else $as_nop
   14041   xorg_cv_cc_flag_unused_command_line_argument=no
   14042 fi
   14043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14044 fi
   14045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14046 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14047 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14048 	CFLAGS="$xorg_testset_save_CFLAGS"
   14049 fi
   14050 
   14051 found="no"
   14052 
   14053 	if test $found = "no" ; then
   14054 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14056 		fi
   14057 
   14058 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14060 		fi
   14061 
   14062 		CFLAGS="$CFLAGS -Wold-style-definition"
   14063 
   14064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14065 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14066 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14067 		if eval test \${$cacheid+y}
   14068 then :
   14069   printf %s "(cached) " >&6
   14070 else $as_nop
   14071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14072 /* end confdefs.h.  */
   14073 int i;
   14074 int
   14075 main (void)
   14076 {
   14077 
   14078   ;
   14079   return 0;
   14080 }
   14081 _ACEOF
   14082 if ac_fn_c_try_link "$LINENO"
   14083 then :
   14084   eval $cacheid=yes
   14085 else $as_nop
   14086   eval $cacheid=no
   14087 fi
   14088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14089     conftest$ac_exeext conftest.$ac_ext
   14090 fi
   14091 
   14092 
   14093 		CFLAGS="$xorg_testset_save_CFLAGS"
   14094 
   14095 		eval supported=\$$cacheid
   14096 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14097 printf "%s\n" "$supported" >&6; }
   14098 		if test "$supported" = "yes" ; then
   14099 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14100 			found="yes"
   14101 		fi
   14102 	fi
   14103 
   14104 	if test $found = "no" ; then
   14105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14107 		fi
   14108 
   14109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14111 		fi
   14112 
   14113 		CFLAGS="$CFLAGS -fd"
   14114 
   14115 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14116 printf %s "checking if $CC supports -fd... " >&6; }
   14117 		cacheid=xorg_cv_cc_flag__fd
   14118 		if eval test \${$cacheid+y}
   14119 then :
   14120   printf %s "(cached) " >&6
   14121 else $as_nop
   14122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14123 /* end confdefs.h.  */
   14124 int i;
   14125 int
   14126 main (void)
   14127 {
   14128 
   14129   ;
   14130   return 0;
   14131 }
   14132 _ACEOF
   14133 if ac_fn_c_try_link "$LINENO"
   14134 then :
   14135   eval $cacheid=yes
   14136 else $as_nop
   14137   eval $cacheid=no
   14138 fi
   14139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14140     conftest$ac_exeext conftest.$ac_ext
   14141 fi
   14142 
   14143 
   14144 		CFLAGS="$xorg_testset_save_CFLAGS"
   14145 
   14146 		eval supported=\$$cacheid
   14147 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14148 printf "%s\n" "$supported" >&6; }
   14149 		if test "$supported" = "yes" ; then
   14150 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14151 			found="yes"
   14152 		fi
   14153 	fi
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 
   14161 
   14162 
   14163 
   14164 
   14165 
   14166 
   14167 
   14168 
   14169 xorg_testset_save_CFLAGS="$CFLAGS"
   14170 
   14171 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14172 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14173 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14174 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14175 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14176 then :
   14177   printf %s "(cached) " >&6
   14178 else $as_nop
   14179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14180 /* end confdefs.h.  */
   14181 int i;
   14182 _ACEOF
   14183 if ac_fn_c_try_compile "$LINENO"
   14184 then :
   14185   xorg_cv_cc_flag_unknown_warning_option=yes
   14186 else $as_nop
   14187   xorg_cv_cc_flag_unknown_warning_option=no
   14188 fi
   14189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14190 fi
   14191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14192 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14193 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14194 	CFLAGS="$xorg_testset_save_CFLAGS"
   14195 fi
   14196 
   14197 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14198 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14199 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14200 	fi
   14201 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14202 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14203 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14204 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14205 then :
   14206   printf %s "(cached) " >&6
   14207 else $as_nop
   14208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14209 /* end confdefs.h.  */
   14210 int i;
   14211 _ACEOF
   14212 if ac_fn_c_try_compile "$LINENO"
   14213 then :
   14214   xorg_cv_cc_flag_unused_command_line_argument=yes
   14215 else $as_nop
   14216   xorg_cv_cc_flag_unused_command_line_argument=no
   14217 fi
   14218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14219 fi
   14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14221 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14222 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14223 	CFLAGS="$xorg_testset_save_CFLAGS"
   14224 fi
   14225 
   14226 found="no"
   14227 
   14228 	if test $found = "no" ; then
   14229 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14231 		fi
   14232 
   14233 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14235 		fi
   14236 
   14237 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14238 
   14239 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14240 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14241 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14242 		if eval test \${$cacheid+y}
   14243 then :
   14244   printf %s "(cached) " >&6
   14245 else $as_nop
   14246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14247 /* end confdefs.h.  */
   14248 int i;
   14249 int
   14250 main (void)
   14251 {
   14252 
   14253   ;
   14254   return 0;
   14255 }
   14256 _ACEOF
   14257 if ac_fn_c_try_link "$LINENO"
   14258 then :
   14259   eval $cacheid=yes
   14260 else $as_nop
   14261   eval $cacheid=no
   14262 fi
   14263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14264     conftest$ac_exeext conftest.$ac_ext
   14265 fi
   14266 
   14267 
   14268 		CFLAGS="$xorg_testset_save_CFLAGS"
   14269 
   14270 		eval supported=\$$cacheid
   14271 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14272 printf "%s\n" "$supported" >&6; }
   14273 		if test "$supported" = "yes" ; then
   14274 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14275 			found="yes"
   14276 		fi
   14277 	fi
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 # This chunk adds additional warnings that could catch undesired effects.
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294 
   14295 
   14296 
   14297 xorg_testset_save_CFLAGS="$CFLAGS"
   14298 
   14299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14301 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14302 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14303 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14304 then :
   14305   printf %s "(cached) " >&6
   14306 else $as_nop
   14307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14308 /* end confdefs.h.  */
   14309 int i;
   14310 _ACEOF
   14311 if ac_fn_c_try_compile "$LINENO"
   14312 then :
   14313   xorg_cv_cc_flag_unknown_warning_option=yes
   14314 else $as_nop
   14315   xorg_cv_cc_flag_unknown_warning_option=no
   14316 fi
   14317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14318 fi
   14319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14320 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14322 	CFLAGS="$xorg_testset_save_CFLAGS"
   14323 fi
   14324 
   14325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14328 	fi
   14329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14330 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14331 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14332 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14333 then :
   14334   printf %s "(cached) " >&6
   14335 else $as_nop
   14336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14337 /* end confdefs.h.  */
   14338 int i;
   14339 _ACEOF
   14340 if ac_fn_c_try_compile "$LINENO"
   14341 then :
   14342   xorg_cv_cc_flag_unused_command_line_argument=yes
   14343 else $as_nop
   14344   xorg_cv_cc_flag_unused_command_line_argument=no
   14345 fi
   14346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14347 fi
   14348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14349 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14350 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14351 	CFLAGS="$xorg_testset_save_CFLAGS"
   14352 fi
   14353 
   14354 found="no"
   14355 
   14356 	if test $found = "no" ; then
   14357 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14358 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14359 		fi
   14360 
   14361 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14362 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14363 		fi
   14364 
   14365 		CFLAGS="$CFLAGS -Wunused"
   14366 
   14367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14368 printf %s "checking if $CC supports -Wunused... " >&6; }
   14369 		cacheid=xorg_cv_cc_flag__Wunused
   14370 		if eval test \${$cacheid+y}
   14371 then :
   14372   printf %s "(cached) " >&6
   14373 else $as_nop
   14374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14375 /* end confdefs.h.  */
   14376 int i;
   14377 int
   14378 main (void)
   14379 {
   14380 
   14381   ;
   14382   return 0;
   14383 }
   14384 _ACEOF
   14385 if ac_fn_c_try_link "$LINENO"
   14386 then :
   14387   eval $cacheid=yes
   14388 else $as_nop
   14389   eval $cacheid=no
   14390 fi
   14391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14392     conftest$ac_exeext conftest.$ac_ext
   14393 fi
   14394 
   14395 
   14396 		CFLAGS="$xorg_testset_save_CFLAGS"
   14397 
   14398 		eval supported=\$$cacheid
   14399 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14400 printf "%s\n" "$supported" >&6; }
   14401 		if test "$supported" = "yes" ; then
   14402 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14403 			found="yes"
   14404 		fi
   14405 	fi
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 xorg_testset_save_CFLAGS="$CFLAGS"
   14422 
   14423 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14424 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14425 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14426 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14427 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14428 then :
   14429   printf %s "(cached) " >&6
   14430 else $as_nop
   14431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14432 /* end confdefs.h.  */
   14433 int i;
   14434 _ACEOF
   14435 if ac_fn_c_try_compile "$LINENO"
   14436 then :
   14437   xorg_cv_cc_flag_unknown_warning_option=yes
   14438 else $as_nop
   14439   xorg_cv_cc_flag_unknown_warning_option=no
   14440 fi
   14441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14442 fi
   14443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14444 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14446 	CFLAGS="$xorg_testset_save_CFLAGS"
   14447 fi
   14448 
   14449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14452 	fi
   14453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14455 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14456 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14457 then :
   14458   printf %s "(cached) " >&6
   14459 else $as_nop
   14460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14461 /* end confdefs.h.  */
   14462 int i;
   14463 _ACEOF
   14464 if ac_fn_c_try_compile "$LINENO"
   14465 then :
   14466   xorg_cv_cc_flag_unused_command_line_argument=yes
   14467 else $as_nop
   14468   xorg_cv_cc_flag_unused_command_line_argument=no
   14469 fi
   14470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14471 fi
   14472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14473 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14475 	CFLAGS="$xorg_testset_save_CFLAGS"
   14476 fi
   14477 
   14478 found="no"
   14479 
   14480 	if test $found = "no" ; then
   14481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14483 		fi
   14484 
   14485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14487 		fi
   14488 
   14489 		CFLAGS="$CFLAGS -Wuninitialized"
   14490 
   14491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14492 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14493 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14494 		if eval test \${$cacheid+y}
   14495 then :
   14496   printf %s "(cached) " >&6
   14497 else $as_nop
   14498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14499 /* end confdefs.h.  */
   14500 int i;
   14501 int
   14502 main (void)
   14503 {
   14504 
   14505   ;
   14506   return 0;
   14507 }
   14508 _ACEOF
   14509 if ac_fn_c_try_link "$LINENO"
   14510 then :
   14511   eval $cacheid=yes
   14512 else $as_nop
   14513   eval $cacheid=no
   14514 fi
   14515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14516     conftest$ac_exeext conftest.$ac_ext
   14517 fi
   14518 
   14519 
   14520 		CFLAGS="$xorg_testset_save_CFLAGS"
   14521 
   14522 		eval supported=\$$cacheid
   14523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14524 printf "%s\n" "$supported" >&6; }
   14525 		if test "$supported" = "yes" ; then
   14526 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14527 			found="yes"
   14528 		fi
   14529 	fi
   14530 
   14531 
   14532 
   14533 
   14534 
   14535 
   14536 
   14537 
   14538 
   14539 
   14540 
   14541 
   14542 
   14543 
   14544 
   14545 xorg_testset_save_CFLAGS="$CFLAGS"
   14546 
   14547 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14548 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14550 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14551 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14552 then :
   14553   printf %s "(cached) " >&6
   14554 else $as_nop
   14555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14556 /* end confdefs.h.  */
   14557 int i;
   14558 _ACEOF
   14559 if ac_fn_c_try_compile "$LINENO"
   14560 then :
   14561   xorg_cv_cc_flag_unknown_warning_option=yes
   14562 else $as_nop
   14563   xorg_cv_cc_flag_unknown_warning_option=no
   14564 fi
   14565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14566 fi
   14567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14568 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14570 	CFLAGS="$xorg_testset_save_CFLAGS"
   14571 fi
   14572 
   14573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14576 	fi
   14577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14578 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14579 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14580 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14581 then :
   14582   printf %s "(cached) " >&6
   14583 else $as_nop
   14584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14585 /* end confdefs.h.  */
   14586 int i;
   14587 _ACEOF
   14588 if ac_fn_c_try_compile "$LINENO"
   14589 then :
   14590   xorg_cv_cc_flag_unused_command_line_argument=yes
   14591 else $as_nop
   14592   xorg_cv_cc_flag_unused_command_line_argument=no
   14593 fi
   14594 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14595 fi
   14596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14597 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14599 	CFLAGS="$xorg_testset_save_CFLAGS"
   14600 fi
   14601 
   14602 found="no"
   14603 
   14604 	if test $found = "no" ; then
   14605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14607 		fi
   14608 
   14609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14611 		fi
   14612 
   14613 		CFLAGS="$CFLAGS -Wshadow"
   14614 
   14615 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14616 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14617 		cacheid=xorg_cv_cc_flag__Wshadow
   14618 		if eval test \${$cacheid+y}
   14619 then :
   14620   printf %s "(cached) " >&6
   14621 else $as_nop
   14622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14623 /* end confdefs.h.  */
   14624 int i;
   14625 int
   14626 main (void)
   14627 {
   14628 
   14629   ;
   14630   return 0;
   14631 }
   14632 _ACEOF
   14633 if ac_fn_c_try_link "$LINENO"
   14634 then :
   14635   eval $cacheid=yes
   14636 else $as_nop
   14637   eval $cacheid=no
   14638 fi
   14639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14640     conftest$ac_exeext conftest.$ac_ext
   14641 fi
   14642 
   14643 
   14644 		CFLAGS="$xorg_testset_save_CFLAGS"
   14645 
   14646 		eval supported=\$$cacheid
   14647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14648 printf "%s\n" "$supported" >&6; }
   14649 		if test "$supported" = "yes" ; then
   14650 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14651 			found="yes"
   14652 		fi
   14653 	fi
   14654 
   14655 
   14656 
   14657 
   14658 
   14659 
   14660 
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 xorg_testset_save_CFLAGS="$CFLAGS"
   14670 
   14671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14674 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14675 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14676 then :
   14677   printf %s "(cached) " >&6
   14678 else $as_nop
   14679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14680 /* end confdefs.h.  */
   14681 int i;
   14682 _ACEOF
   14683 if ac_fn_c_try_compile "$LINENO"
   14684 then :
   14685   xorg_cv_cc_flag_unknown_warning_option=yes
   14686 else $as_nop
   14687   xorg_cv_cc_flag_unknown_warning_option=no
   14688 fi
   14689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14690 fi
   14691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14692 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14694 	CFLAGS="$xorg_testset_save_CFLAGS"
   14695 fi
   14696 
   14697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14700 	fi
   14701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14702 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14703 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14704 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14705 then :
   14706   printf %s "(cached) " >&6
   14707 else $as_nop
   14708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14709 /* end confdefs.h.  */
   14710 int i;
   14711 _ACEOF
   14712 if ac_fn_c_try_compile "$LINENO"
   14713 then :
   14714   xorg_cv_cc_flag_unused_command_line_argument=yes
   14715 else $as_nop
   14716   xorg_cv_cc_flag_unused_command_line_argument=no
   14717 fi
   14718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14719 fi
   14720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14721 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14723 	CFLAGS="$xorg_testset_save_CFLAGS"
   14724 fi
   14725 
   14726 found="no"
   14727 
   14728 	if test $found = "no" ; then
   14729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14731 		fi
   14732 
   14733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14735 		fi
   14736 
   14737 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14738 
   14739 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14740 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14741 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14742 		if eval test \${$cacheid+y}
   14743 then :
   14744   printf %s "(cached) " >&6
   14745 else $as_nop
   14746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14747 /* end confdefs.h.  */
   14748 int i;
   14749 int
   14750 main (void)
   14751 {
   14752 
   14753   ;
   14754   return 0;
   14755 }
   14756 _ACEOF
   14757 if ac_fn_c_try_link "$LINENO"
   14758 then :
   14759   eval $cacheid=yes
   14760 else $as_nop
   14761   eval $cacheid=no
   14762 fi
   14763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14764     conftest$ac_exeext conftest.$ac_ext
   14765 fi
   14766 
   14767 
   14768 		CFLAGS="$xorg_testset_save_CFLAGS"
   14769 
   14770 		eval supported=\$$cacheid
   14771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14772 printf "%s\n" "$supported" >&6; }
   14773 		if test "$supported" = "yes" ; then
   14774 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14775 			found="yes"
   14776 		fi
   14777 	fi
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 xorg_testset_save_CFLAGS="$CFLAGS"
   14794 
   14795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14797 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14798 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14799 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14800 then :
   14801   printf %s "(cached) " >&6
   14802 else $as_nop
   14803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14804 /* end confdefs.h.  */
   14805 int i;
   14806 _ACEOF
   14807 if ac_fn_c_try_compile "$LINENO"
   14808 then :
   14809   xorg_cv_cc_flag_unknown_warning_option=yes
   14810 else $as_nop
   14811   xorg_cv_cc_flag_unknown_warning_option=no
   14812 fi
   14813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14814 fi
   14815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14816 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14818 	CFLAGS="$xorg_testset_save_CFLAGS"
   14819 fi
   14820 
   14821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14824 	fi
   14825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14826 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14827 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14828 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14829 then :
   14830   printf %s "(cached) " >&6
   14831 else $as_nop
   14832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14833 /* end confdefs.h.  */
   14834 int i;
   14835 _ACEOF
   14836 if ac_fn_c_try_compile "$LINENO"
   14837 then :
   14838   xorg_cv_cc_flag_unused_command_line_argument=yes
   14839 else $as_nop
   14840   xorg_cv_cc_flag_unused_command_line_argument=no
   14841 fi
   14842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14843 fi
   14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14845 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14846 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14847 	CFLAGS="$xorg_testset_save_CFLAGS"
   14848 fi
   14849 
   14850 found="no"
   14851 
   14852 	if test $found = "no" ; then
   14853 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14854 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14855 		fi
   14856 
   14857 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14858 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14859 		fi
   14860 
   14861 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14862 
   14863 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14864 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14865 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14866 		if eval test \${$cacheid+y}
   14867 then :
   14868   printf %s "(cached) " >&6
   14869 else $as_nop
   14870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14871 /* end confdefs.h.  */
   14872 int i;
   14873 int
   14874 main (void)
   14875 {
   14876 
   14877   ;
   14878   return 0;
   14879 }
   14880 _ACEOF
   14881 if ac_fn_c_try_link "$LINENO"
   14882 then :
   14883   eval $cacheid=yes
   14884 else $as_nop
   14885   eval $cacheid=no
   14886 fi
   14887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14888     conftest$ac_exeext conftest.$ac_ext
   14889 fi
   14890 
   14891 
   14892 		CFLAGS="$xorg_testset_save_CFLAGS"
   14893 
   14894 		eval supported=\$$cacheid
   14895 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14896 printf "%s\n" "$supported" >&6; }
   14897 		if test "$supported" = "yes" ; then
   14898 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14899 			found="yes"
   14900 		fi
   14901 	fi
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 xorg_testset_save_CFLAGS="$CFLAGS"
   14918 
   14919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14921 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14922 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14923 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14924 then :
   14925   printf %s "(cached) " >&6
   14926 else $as_nop
   14927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14928 /* end confdefs.h.  */
   14929 int i;
   14930 _ACEOF
   14931 if ac_fn_c_try_compile "$LINENO"
   14932 then :
   14933   xorg_cv_cc_flag_unknown_warning_option=yes
   14934 else $as_nop
   14935   xorg_cv_cc_flag_unknown_warning_option=no
   14936 fi
   14937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14938 fi
   14939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14940 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14942 	CFLAGS="$xorg_testset_save_CFLAGS"
   14943 fi
   14944 
   14945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14948 	fi
   14949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14950 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14951 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14952 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14953 then :
   14954   printf %s "(cached) " >&6
   14955 else $as_nop
   14956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14957 /* end confdefs.h.  */
   14958 int i;
   14959 _ACEOF
   14960 if ac_fn_c_try_compile "$LINENO"
   14961 then :
   14962   xorg_cv_cc_flag_unused_command_line_argument=yes
   14963 else $as_nop
   14964   xorg_cv_cc_flag_unused_command_line_argument=no
   14965 fi
   14966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   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 -Wredundant-decls"
   14986 
   14987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14988 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   14989 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14990 		if eval test \${$cacheid+y}
   14991 then :
   14992   printf %s "(cached) " >&6
   14993 else $as_nop
   14994   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 $as_nop
   15009   eval $cacheid=no
   15010 fi
   15011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15012     conftest$ac_exeext conftest.$ac_ext
   15013 fi
   15014 
   15015 
   15016 		CFLAGS="$xorg_testset_save_CFLAGS"
   15017 
   15018 		eval supported=\$$cacheid
   15019 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15020 printf "%s\n" "$supported" >&6; }
   15021 		if test "$supported" = "yes" ; then
   15022 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15023 			found="yes"
   15024 		fi
   15025 	fi
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 xorg_testset_save_CFLAGS="$CFLAGS"
   15042 
   15043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15045 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15046 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15047 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15048 then :
   15049   printf %s "(cached) " >&6
   15050 else $as_nop
   15051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15052 /* end confdefs.h.  */
   15053 int i;
   15054 _ACEOF
   15055 if ac_fn_c_try_compile "$LINENO"
   15056 then :
   15057   xorg_cv_cc_flag_unknown_warning_option=yes
   15058 else $as_nop
   15059   xorg_cv_cc_flag_unknown_warning_option=no
   15060 fi
   15061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15062 fi
   15063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15064 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15066 	CFLAGS="$xorg_testset_save_CFLAGS"
   15067 fi
   15068 
   15069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15072 	fi
   15073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15074 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15075 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15076 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15077 then :
   15078   printf %s "(cached) " >&6
   15079 else $as_nop
   15080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15081 /* end confdefs.h.  */
   15082 int i;
   15083 _ACEOF
   15084 if ac_fn_c_try_compile "$LINENO"
   15085 then :
   15086   xorg_cv_cc_flag_unused_command_line_argument=yes
   15087 else $as_nop
   15088   xorg_cv_cc_flag_unused_command_line_argument=no
   15089 fi
   15090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15091 fi
   15092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15093 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15094 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15095 	CFLAGS="$xorg_testset_save_CFLAGS"
   15096 fi
   15097 
   15098 found="no"
   15099 
   15100 	if test $found = "no" ; then
   15101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15103 		fi
   15104 
   15105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15107 		fi
   15108 
   15109 		CFLAGS="$CFLAGS -Wlogical-op"
   15110 
   15111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15112 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15113 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15114 		if eval test \${$cacheid+y}
   15115 then :
   15116   printf %s "(cached) " >&6
   15117 else $as_nop
   15118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15119 /* end confdefs.h.  */
   15120 int i;
   15121 int
   15122 main (void)
   15123 {
   15124 
   15125   ;
   15126   return 0;
   15127 }
   15128 _ACEOF
   15129 if ac_fn_c_try_link "$LINENO"
   15130 then :
   15131   eval $cacheid=yes
   15132 else $as_nop
   15133   eval $cacheid=no
   15134 fi
   15135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15136     conftest$ac_exeext conftest.$ac_ext
   15137 fi
   15138 
   15139 
   15140 		CFLAGS="$xorg_testset_save_CFLAGS"
   15141 
   15142 		eval supported=\$$cacheid
   15143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15144 printf "%s\n" "$supported" >&6; }
   15145 		if test "$supported" = "yes" ; then
   15146 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15147 			found="yes"
   15148 		fi
   15149 	fi
   15150 
   15151 
   15152 
   15153 # These are currently disabled because they are noisy.  They will be enabled
   15154 # in the future once the codebase is sufficiently modernized to silence
   15155 # them.  For now, I don't want them to drown out the other warnings.
   15156 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15157 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15158 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15159 
   15160 # Turn some warnings into errors, so we don't accidently get successful builds
   15161 # when there are problems that should be fixed.
   15162 
   15163 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15164 
   15165 
   15166 
   15167 
   15168 
   15169 
   15170 
   15171 
   15172 
   15173 
   15174 
   15175 
   15176 
   15177 xorg_testset_save_CFLAGS="$CFLAGS"
   15178 
   15179 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15180 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15181 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15182 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15183 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15184 then :
   15185   printf %s "(cached) " >&6
   15186 else $as_nop
   15187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15188 /* end confdefs.h.  */
   15189 int i;
   15190 _ACEOF
   15191 if ac_fn_c_try_compile "$LINENO"
   15192 then :
   15193   xorg_cv_cc_flag_unknown_warning_option=yes
   15194 else $as_nop
   15195   xorg_cv_cc_flag_unknown_warning_option=no
   15196 fi
   15197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15198 fi
   15199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15200 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15201 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15202 	CFLAGS="$xorg_testset_save_CFLAGS"
   15203 fi
   15204 
   15205 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15206 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15207 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15208 	fi
   15209 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15210 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15211 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15212 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15213 then :
   15214   printf %s "(cached) " >&6
   15215 else $as_nop
   15216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15217 /* end confdefs.h.  */
   15218 int i;
   15219 _ACEOF
   15220 if ac_fn_c_try_compile "$LINENO"
   15221 then :
   15222   xorg_cv_cc_flag_unused_command_line_argument=yes
   15223 else $as_nop
   15224   xorg_cv_cc_flag_unused_command_line_argument=no
   15225 fi
   15226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   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 -Werror=implicit"
   15246 
   15247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15248 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15249 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15250 		if eval test \${$cacheid+y}
   15251 then :
   15252   printf %s "(cached) " >&6
   15253 else $as_nop
   15254   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 $as_nop
   15269   eval $cacheid=no
   15270 fi
   15271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15272     conftest$ac_exeext conftest.$ac_ext
   15273 fi
   15274 
   15275 
   15276 		CFLAGS="$xorg_testset_save_CFLAGS"
   15277 
   15278 		eval supported=\$$cacheid
   15279 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15280 printf "%s\n" "$supported" >&6; }
   15281 		if test "$supported" = "yes" ; then
   15282 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15283 			found="yes"
   15284 		fi
   15285 	fi
   15286 
   15287 	if test $found = "no" ; then
   15288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15290 		fi
   15291 
   15292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15294 		fi
   15295 
   15296 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15297 
   15298 		{ 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
   15299 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15300 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15301 		if eval test \${$cacheid+y}
   15302 then :
   15303   printf %s "(cached) " >&6
   15304 else $as_nop
   15305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15306 /* end confdefs.h.  */
   15307 int i;
   15308 int
   15309 main (void)
   15310 {
   15311 
   15312   ;
   15313   return 0;
   15314 }
   15315 _ACEOF
   15316 if ac_fn_c_try_link "$LINENO"
   15317 then :
   15318   eval $cacheid=yes
   15319 else $as_nop
   15320   eval $cacheid=no
   15321 fi
   15322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15323     conftest$ac_exeext conftest.$ac_ext
   15324 fi
   15325 
   15326 
   15327 		CFLAGS="$xorg_testset_save_CFLAGS"
   15328 
   15329 		eval supported=\$$cacheid
   15330 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15331 printf "%s\n" "$supported" >&6; }
   15332 		if test "$supported" = "yes" ; then
   15333 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15334 			found="yes"
   15335 		fi
   15336 	fi
   15337 
   15338 
   15339 
   15340 
   15341 
   15342 
   15343 
   15344 
   15345 
   15346 
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 xorg_testset_save_CFLAGS="$CFLAGS"
   15353 
   15354 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15356 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15357 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15358 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15359 then :
   15360   printf %s "(cached) " >&6
   15361 else $as_nop
   15362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15363 /* end confdefs.h.  */
   15364 int i;
   15365 _ACEOF
   15366 if ac_fn_c_try_compile "$LINENO"
   15367 then :
   15368   xorg_cv_cc_flag_unknown_warning_option=yes
   15369 else $as_nop
   15370   xorg_cv_cc_flag_unknown_warning_option=no
   15371 fi
   15372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15373 fi
   15374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15375 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15376 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15377 	CFLAGS="$xorg_testset_save_CFLAGS"
   15378 fi
   15379 
   15380 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15381 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15382 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15383 	fi
   15384 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15385 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15386 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15387 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15388 then :
   15389   printf %s "(cached) " >&6
   15390 else $as_nop
   15391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15392 /* end confdefs.h.  */
   15393 int i;
   15394 _ACEOF
   15395 if ac_fn_c_try_compile "$LINENO"
   15396 then :
   15397   xorg_cv_cc_flag_unused_command_line_argument=yes
   15398 else $as_nop
   15399   xorg_cv_cc_flag_unused_command_line_argument=no
   15400 fi
   15401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15402 fi
   15403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15404 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15406 	CFLAGS="$xorg_testset_save_CFLAGS"
   15407 fi
   15408 
   15409 found="no"
   15410 
   15411 	if test $found = "no" ; then
   15412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15414 		fi
   15415 
   15416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15418 		fi
   15419 
   15420 		CFLAGS="$CFLAGS -Werror=nonnull"
   15421 
   15422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15423 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15424 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15425 		if eval test \${$cacheid+y}
   15426 then :
   15427   printf %s "(cached) " >&6
   15428 else $as_nop
   15429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15430 /* end confdefs.h.  */
   15431 int i;
   15432 int
   15433 main (void)
   15434 {
   15435 
   15436   ;
   15437   return 0;
   15438 }
   15439 _ACEOF
   15440 if ac_fn_c_try_link "$LINENO"
   15441 then :
   15442   eval $cacheid=yes
   15443 else $as_nop
   15444   eval $cacheid=no
   15445 fi
   15446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15447     conftest$ac_exeext conftest.$ac_ext
   15448 fi
   15449 
   15450 
   15451 		CFLAGS="$xorg_testset_save_CFLAGS"
   15452 
   15453 		eval supported=\$$cacheid
   15454 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15455 printf "%s\n" "$supported" >&6; }
   15456 		if test "$supported" = "yes" ; then
   15457 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15458 			found="yes"
   15459 		fi
   15460 	fi
   15461 
   15462 
   15463 
   15464 
   15465 
   15466 
   15467 
   15468 
   15469 
   15470 
   15471 
   15472 
   15473 
   15474 
   15475 
   15476 xorg_testset_save_CFLAGS="$CFLAGS"
   15477 
   15478 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15479 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15480 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15481 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15482 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15483 then :
   15484   printf %s "(cached) " >&6
   15485 else $as_nop
   15486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15487 /* end confdefs.h.  */
   15488 int i;
   15489 _ACEOF
   15490 if ac_fn_c_try_compile "$LINENO"
   15491 then :
   15492   xorg_cv_cc_flag_unknown_warning_option=yes
   15493 else $as_nop
   15494   xorg_cv_cc_flag_unknown_warning_option=no
   15495 fi
   15496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15497 fi
   15498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15499 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15501 	CFLAGS="$xorg_testset_save_CFLAGS"
   15502 fi
   15503 
   15504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15507 	fi
   15508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15509 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15510 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15511 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15512 then :
   15513   printf %s "(cached) " >&6
   15514 else $as_nop
   15515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15516 /* end confdefs.h.  */
   15517 int i;
   15518 _ACEOF
   15519 if ac_fn_c_try_compile "$LINENO"
   15520 then :
   15521   xorg_cv_cc_flag_unused_command_line_argument=yes
   15522 else $as_nop
   15523   xorg_cv_cc_flag_unused_command_line_argument=no
   15524 fi
   15525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15526 fi
   15527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15528 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15530 	CFLAGS="$xorg_testset_save_CFLAGS"
   15531 fi
   15532 
   15533 found="no"
   15534 
   15535 	if test $found = "no" ; then
   15536 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15538 		fi
   15539 
   15540 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15542 		fi
   15543 
   15544 		CFLAGS="$CFLAGS -Werror=init-self"
   15545 
   15546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15547 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15548 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15549 		if eval test \${$cacheid+y}
   15550 then :
   15551   printf %s "(cached) " >&6
   15552 else $as_nop
   15553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15554 /* end confdefs.h.  */
   15555 int i;
   15556 int
   15557 main (void)
   15558 {
   15559 
   15560   ;
   15561   return 0;
   15562 }
   15563 _ACEOF
   15564 if ac_fn_c_try_link "$LINENO"
   15565 then :
   15566   eval $cacheid=yes
   15567 else $as_nop
   15568   eval $cacheid=no
   15569 fi
   15570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15571     conftest$ac_exeext conftest.$ac_ext
   15572 fi
   15573 
   15574 
   15575 		CFLAGS="$xorg_testset_save_CFLAGS"
   15576 
   15577 		eval supported=\$$cacheid
   15578 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15579 printf "%s\n" "$supported" >&6; }
   15580 		if test "$supported" = "yes" ; then
   15581 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15582 			found="yes"
   15583 		fi
   15584 	fi
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 xorg_testset_save_CFLAGS="$CFLAGS"
   15601 
   15602 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15603 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15604 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15605 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15606 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15607 then :
   15608   printf %s "(cached) " >&6
   15609 else $as_nop
   15610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15611 /* end confdefs.h.  */
   15612 int i;
   15613 _ACEOF
   15614 if ac_fn_c_try_compile "$LINENO"
   15615 then :
   15616   xorg_cv_cc_flag_unknown_warning_option=yes
   15617 else $as_nop
   15618   xorg_cv_cc_flag_unknown_warning_option=no
   15619 fi
   15620 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15621 fi
   15622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15623 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15624 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15625 	CFLAGS="$xorg_testset_save_CFLAGS"
   15626 fi
   15627 
   15628 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15629 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15630 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15631 	fi
   15632 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15633 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15634 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15635 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15636 then :
   15637   printf %s "(cached) " >&6
   15638 else $as_nop
   15639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15640 /* end confdefs.h.  */
   15641 int i;
   15642 _ACEOF
   15643 if ac_fn_c_try_compile "$LINENO"
   15644 then :
   15645   xorg_cv_cc_flag_unused_command_line_argument=yes
   15646 else $as_nop
   15647   xorg_cv_cc_flag_unused_command_line_argument=no
   15648 fi
   15649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15650 fi
   15651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15652 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15653 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15654 	CFLAGS="$xorg_testset_save_CFLAGS"
   15655 fi
   15656 
   15657 found="no"
   15658 
   15659 	if test $found = "no" ; then
   15660 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15661 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15662 		fi
   15663 
   15664 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15665 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15666 		fi
   15667 
   15668 		CFLAGS="$CFLAGS -Werror=main"
   15669 
   15670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15671 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15672 		cacheid=xorg_cv_cc_flag__Werror_main
   15673 		if eval test \${$cacheid+y}
   15674 then :
   15675   printf %s "(cached) " >&6
   15676 else $as_nop
   15677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15678 /* end confdefs.h.  */
   15679 int i;
   15680 int
   15681 main (void)
   15682 {
   15683 
   15684   ;
   15685   return 0;
   15686 }
   15687 _ACEOF
   15688 if ac_fn_c_try_link "$LINENO"
   15689 then :
   15690   eval $cacheid=yes
   15691 else $as_nop
   15692   eval $cacheid=no
   15693 fi
   15694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15695     conftest$ac_exeext conftest.$ac_ext
   15696 fi
   15697 
   15698 
   15699 		CFLAGS="$xorg_testset_save_CFLAGS"
   15700 
   15701 		eval supported=\$$cacheid
   15702 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15703 printf "%s\n" "$supported" >&6; }
   15704 		if test "$supported" = "yes" ; then
   15705 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15706 			found="yes"
   15707 		fi
   15708 	fi
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 
   15722 
   15723 
   15724 xorg_testset_save_CFLAGS="$CFLAGS"
   15725 
   15726 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15727 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15728 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15729 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15730 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15731 then :
   15732   printf %s "(cached) " >&6
   15733 else $as_nop
   15734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15735 /* end confdefs.h.  */
   15736 int i;
   15737 _ACEOF
   15738 if ac_fn_c_try_compile "$LINENO"
   15739 then :
   15740   xorg_cv_cc_flag_unknown_warning_option=yes
   15741 else $as_nop
   15742   xorg_cv_cc_flag_unknown_warning_option=no
   15743 fi
   15744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15745 fi
   15746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15747 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15748 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15749 	CFLAGS="$xorg_testset_save_CFLAGS"
   15750 fi
   15751 
   15752 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15753 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15754 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15755 	fi
   15756 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15757 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15758 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15759 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15760 then :
   15761   printf %s "(cached) " >&6
   15762 else $as_nop
   15763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15764 /* end confdefs.h.  */
   15765 int i;
   15766 _ACEOF
   15767 if ac_fn_c_try_compile "$LINENO"
   15768 then :
   15769   xorg_cv_cc_flag_unused_command_line_argument=yes
   15770 else $as_nop
   15771   xorg_cv_cc_flag_unused_command_line_argument=no
   15772 fi
   15773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15774 fi
   15775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15776 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15777 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15778 	CFLAGS="$xorg_testset_save_CFLAGS"
   15779 fi
   15780 
   15781 found="no"
   15782 
   15783 	if test $found = "no" ; then
   15784 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15786 		fi
   15787 
   15788 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15790 		fi
   15791 
   15792 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15793 
   15794 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15795 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15796 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15797 		if eval test \${$cacheid+y}
   15798 then :
   15799   printf %s "(cached) " >&6
   15800 else $as_nop
   15801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15802 /* end confdefs.h.  */
   15803 int i;
   15804 int
   15805 main (void)
   15806 {
   15807 
   15808   ;
   15809   return 0;
   15810 }
   15811 _ACEOF
   15812 if ac_fn_c_try_link "$LINENO"
   15813 then :
   15814   eval $cacheid=yes
   15815 else $as_nop
   15816   eval $cacheid=no
   15817 fi
   15818 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15819     conftest$ac_exeext conftest.$ac_ext
   15820 fi
   15821 
   15822 
   15823 		CFLAGS="$xorg_testset_save_CFLAGS"
   15824 
   15825 		eval supported=\$$cacheid
   15826 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15827 printf "%s\n" "$supported" >&6; }
   15828 		if test "$supported" = "yes" ; then
   15829 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15830 			found="yes"
   15831 		fi
   15832 	fi
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 
   15844 
   15845 
   15846 
   15847 
   15848 xorg_testset_save_CFLAGS="$CFLAGS"
   15849 
   15850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15852 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15853 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15854 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15855 then :
   15856   printf %s "(cached) " >&6
   15857 else $as_nop
   15858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15859 /* end confdefs.h.  */
   15860 int i;
   15861 _ACEOF
   15862 if ac_fn_c_try_compile "$LINENO"
   15863 then :
   15864   xorg_cv_cc_flag_unknown_warning_option=yes
   15865 else $as_nop
   15866   xorg_cv_cc_flag_unknown_warning_option=no
   15867 fi
   15868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15869 fi
   15870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15871 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15872 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15873 	CFLAGS="$xorg_testset_save_CFLAGS"
   15874 fi
   15875 
   15876 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15877 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15879 	fi
   15880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15881 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15882 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15883 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15884 then :
   15885   printf %s "(cached) " >&6
   15886 else $as_nop
   15887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15888 /* end confdefs.h.  */
   15889 int i;
   15890 _ACEOF
   15891 if ac_fn_c_try_compile "$LINENO"
   15892 then :
   15893   xorg_cv_cc_flag_unused_command_line_argument=yes
   15894 else $as_nop
   15895   xorg_cv_cc_flag_unused_command_line_argument=no
   15896 fi
   15897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15898 fi
   15899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15900 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15902 	CFLAGS="$xorg_testset_save_CFLAGS"
   15903 fi
   15904 
   15905 found="no"
   15906 
   15907 	if test $found = "no" ; then
   15908 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15910 		fi
   15911 
   15912 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15914 		fi
   15915 
   15916 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15917 
   15918 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15919 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   15920 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15921 		if eval test \${$cacheid+y}
   15922 then :
   15923   printf %s "(cached) " >&6
   15924 else $as_nop
   15925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15926 /* end confdefs.h.  */
   15927 int i;
   15928 int
   15929 main (void)
   15930 {
   15931 
   15932   ;
   15933   return 0;
   15934 }
   15935 _ACEOF
   15936 if ac_fn_c_try_link "$LINENO"
   15937 then :
   15938   eval $cacheid=yes
   15939 else $as_nop
   15940   eval $cacheid=no
   15941 fi
   15942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15943     conftest$ac_exeext conftest.$ac_ext
   15944 fi
   15945 
   15946 
   15947 		CFLAGS="$xorg_testset_save_CFLAGS"
   15948 
   15949 		eval supported=\$$cacheid
   15950 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15951 printf "%s\n" "$supported" >&6; }
   15952 		if test "$supported" = "yes" ; then
   15953 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15954 			found="yes"
   15955 		fi
   15956 	fi
   15957 
   15958 
   15959 
   15960 
   15961 
   15962 
   15963 
   15964 
   15965 
   15966 
   15967 
   15968 
   15969 
   15970 
   15971 
   15972 xorg_testset_save_CFLAGS="$CFLAGS"
   15973 
   15974 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15975 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15976 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15977 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15978 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15979 then :
   15980   printf %s "(cached) " >&6
   15981 else $as_nop
   15982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15983 /* end confdefs.h.  */
   15984 int i;
   15985 _ACEOF
   15986 if ac_fn_c_try_compile "$LINENO"
   15987 then :
   15988   xorg_cv_cc_flag_unknown_warning_option=yes
   15989 else $as_nop
   15990   xorg_cv_cc_flag_unknown_warning_option=no
   15991 fi
   15992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15993 fi
   15994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15995 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15997 	CFLAGS="$xorg_testset_save_CFLAGS"
   15998 fi
   15999 
   16000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16003 	fi
   16004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16005 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16006 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16007 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16008 then :
   16009   printf %s "(cached) " >&6
   16010 else $as_nop
   16011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16012 /* end confdefs.h.  */
   16013 int i;
   16014 _ACEOF
   16015 if ac_fn_c_try_compile "$LINENO"
   16016 then :
   16017   xorg_cv_cc_flag_unused_command_line_argument=yes
   16018 else $as_nop
   16019   xorg_cv_cc_flag_unused_command_line_argument=no
   16020 fi
   16021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16022 fi
   16023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16024 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16026 	CFLAGS="$xorg_testset_save_CFLAGS"
   16027 fi
   16028 
   16029 found="no"
   16030 
   16031 	if test $found = "no" ; then
   16032 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16034 		fi
   16035 
   16036 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16038 		fi
   16039 
   16040 		CFLAGS="$CFLAGS -Werror=return-type"
   16041 
   16042 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16043 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16044 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16045 		if eval test \${$cacheid+y}
   16046 then :
   16047   printf %s "(cached) " >&6
   16048 else $as_nop
   16049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16050 /* end confdefs.h.  */
   16051 int i;
   16052 int
   16053 main (void)
   16054 {
   16055 
   16056   ;
   16057   return 0;
   16058 }
   16059 _ACEOF
   16060 if ac_fn_c_try_link "$LINENO"
   16061 then :
   16062   eval $cacheid=yes
   16063 else $as_nop
   16064   eval $cacheid=no
   16065 fi
   16066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16067     conftest$ac_exeext conftest.$ac_ext
   16068 fi
   16069 
   16070 
   16071 		CFLAGS="$xorg_testset_save_CFLAGS"
   16072 
   16073 		eval supported=\$$cacheid
   16074 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16075 printf "%s\n" "$supported" >&6; }
   16076 		if test "$supported" = "yes" ; then
   16077 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16078 			found="yes"
   16079 		fi
   16080 	fi
   16081 
   16082 	if test $found = "no" ; then
   16083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16085 		fi
   16086 
   16087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16089 		fi
   16090 
   16091 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16092 
   16093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16094 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16095 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16096 		if eval test \${$cacheid+y}
   16097 then :
   16098   printf %s "(cached) " >&6
   16099 else $as_nop
   16100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16101 /* end confdefs.h.  */
   16102 int i;
   16103 int
   16104 main (void)
   16105 {
   16106 
   16107   ;
   16108   return 0;
   16109 }
   16110 _ACEOF
   16111 if ac_fn_c_try_link "$LINENO"
   16112 then :
   16113   eval $cacheid=yes
   16114 else $as_nop
   16115   eval $cacheid=no
   16116 fi
   16117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16118     conftest$ac_exeext conftest.$ac_ext
   16119 fi
   16120 
   16121 
   16122 		CFLAGS="$xorg_testset_save_CFLAGS"
   16123 
   16124 		eval supported=\$$cacheid
   16125 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16126 printf "%s\n" "$supported" >&6; }
   16127 		if test "$supported" = "yes" ; then
   16128 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16129 			found="yes"
   16130 		fi
   16131 	fi
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 
   16147 xorg_testset_save_CFLAGS="$CFLAGS"
   16148 
   16149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16151 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16152 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16153 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16154 then :
   16155   printf %s "(cached) " >&6
   16156 else $as_nop
   16157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16158 /* end confdefs.h.  */
   16159 int i;
   16160 _ACEOF
   16161 if ac_fn_c_try_compile "$LINENO"
   16162 then :
   16163   xorg_cv_cc_flag_unknown_warning_option=yes
   16164 else $as_nop
   16165   xorg_cv_cc_flag_unknown_warning_option=no
   16166 fi
   16167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16168 fi
   16169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16170 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16171 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16172 	CFLAGS="$xorg_testset_save_CFLAGS"
   16173 fi
   16174 
   16175 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16176 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16177 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16178 	fi
   16179 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16180 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16181 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16182 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16183 then :
   16184   printf %s "(cached) " >&6
   16185 else $as_nop
   16186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16187 /* end confdefs.h.  */
   16188 int i;
   16189 _ACEOF
   16190 if ac_fn_c_try_compile "$LINENO"
   16191 then :
   16192   xorg_cv_cc_flag_unused_command_line_argument=yes
   16193 else $as_nop
   16194   xorg_cv_cc_flag_unused_command_line_argument=no
   16195 fi
   16196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16197 fi
   16198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16199 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16201 	CFLAGS="$xorg_testset_save_CFLAGS"
   16202 fi
   16203 
   16204 found="no"
   16205 
   16206 	if test $found = "no" ; then
   16207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16209 		fi
   16210 
   16211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16213 		fi
   16214 
   16215 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16216 
   16217 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16218 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16219 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16220 		if eval test \${$cacheid+y}
   16221 then :
   16222   printf %s "(cached) " >&6
   16223 else $as_nop
   16224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16225 /* end confdefs.h.  */
   16226 int i;
   16227 int
   16228 main (void)
   16229 {
   16230 
   16231   ;
   16232   return 0;
   16233 }
   16234 _ACEOF
   16235 if ac_fn_c_try_link "$LINENO"
   16236 then :
   16237   eval $cacheid=yes
   16238 else $as_nop
   16239   eval $cacheid=no
   16240 fi
   16241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16242     conftest$ac_exeext conftest.$ac_ext
   16243 fi
   16244 
   16245 
   16246 		CFLAGS="$xorg_testset_save_CFLAGS"
   16247 
   16248 		eval supported=\$$cacheid
   16249 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16250 printf "%s\n" "$supported" >&6; }
   16251 		if test "$supported" = "yes" ; then
   16252 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16253 			found="yes"
   16254 		fi
   16255 	fi
   16256 
   16257 
   16258 
   16259 
   16260 
   16261 
   16262 
   16263 
   16264 
   16265 
   16266 
   16267 
   16268 
   16269 
   16270 
   16271 xorg_testset_save_CFLAGS="$CFLAGS"
   16272 
   16273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16275 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16276 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16277 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16278 then :
   16279   printf %s "(cached) " >&6
   16280 else $as_nop
   16281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16282 /* end confdefs.h.  */
   16283 int i;
   16284 _ACEOF
   16285 if ac_fn_c_try_compile "$LINENO"
   16286 then :
   16287   xorg_cv_cc_flag_unknown_warning_option=yes
   16288 else $as_nop
   16289   xorg_cv_cc_flag_unknown_warning_option=no
   16290 fi
   16291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16292 fi
   16293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16294 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16296 	CFLAGS="$xorg_testset_save_CFLAGS"
   16297 fi
   16298 
   16299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16302 	fi
   16303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16304 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16305 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16306 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16307 then :
   16308   printf %s "(cached) " >&6
   16309 else $as_nop
   16310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16311 /* end confdefs.h.  */
   16312 int i;
   16313 _ACEOF
   16314 if ac_fn_c_try_compile "$LINENO"
   16315 then :
   16316   xorg_cv_cc_flag_unused_command_line_argument=yes
   16317 else $as_nop
   16318   xorg_cv_cc_flag_unused_command_line_argument=no
   16319 fi
   16320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16321 fi
   16322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16323 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16325 	CFLAGS="$xorg_testset_save_CFLAGS"
   16326 fi
   16327 
   16328 found="no"
   16329 
   16330 	if test $found = "no" ; then
   16331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16333 		fi
   16334 
   16335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16337 		fi
   16338 
   16339 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16340 
   16341 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16342 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16343 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16344 		if eval test \${$cacheid+y}
   16345 then :
   16346   printf %s "(cached) " >&6
   16347 else $as_nop
   16348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16349 /* end confdefs.h.  */
   16350 int i;
   16351 int
   16352 main (void)
   16353 {
   16354 
   16355   ;
   16356   return 0;
   16357 }
   16358 _ACEOF
   16359 if ac_fn_c_try_link "$LINENO"
   16360 then :
   16361   eval $cacheid=yes
   16362 else $as_nop
   16363   eval $cacheid=no
   16364 fi
   16365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16366     conftest$ac_exeext conftest.$ac_ext
   16367 fi
   16368 
   16369 
   16370 		CFLAGS="$xorg_testset_save_CFLAGS"
   16371 
   16372 		eval supported=\$$cacheid
   16373 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16374 printf "%s\n" "$supported" >&6; }
   16375 		if test "$supported" = "yes" ; then
   16376 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16377 			found="yes"
   16378 		fi
   16379 	fi
   16380 
   16381 
   16382 
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 
   16392 
   16393 
   16394 
   16395 xorg_testset_save_CFLAGS="$CFLAGS"
   16396 
   16397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16399 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16400 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16401 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16402 then :
   16403   printf %s "(cached) " >&6
   16404 else $as_nop
   16405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16406 /* end confdefs.h.  */
   16407 int i;
   16408 _ACEOF
   16409 if ac_fn_c_try_compile "$LINENO"
   16410 then :
   16411   xorg_cv_cc_flag_unknown_warning_option=yes
   16412 else $as_nop
   16413   xorg_cv_cc_flag_unknown_warning_option=no
   16414 fi
   16415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16416 fi
   16417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16418 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16420 	CFLAGS="$xorg_testset_save_CFLAGS"
   16421 fi
   16422 
   16423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16426 	fi
   16427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16431 then :
   16432   printf %s "(cached) " >&6
   16433 else $as_nop
   16434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16435 /* end confdefs.h.  */
   16436 int i;
   16437 _ACEOF
   16438 if ac_fn_c_try_compile "$LINENO"
   16439 then :
   16440   xorg_cv_cc_flag_unused_command_line_argument=yes
   16441 else $as_nop
   16442   xorg_cv_cc_flag_unused_command_line_argument=no
   16443 fi
   16444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16445 fi
   16446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16447 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16448 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16449 	CFLAGS="$xorg_testset_save_CFLAGS"
   16450 fi
   16451 
   16452 found="no"
   16453 
   16454 	if test $found = "no" ; then
   16455 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16457 		fi
   16458 
   16459 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16461 		fi
   16462 
   16463 		CFLAGS="$CFLAGS -Werror=write-strings"
   16464 
   16465 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16466 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16467 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16468 		if eval test \${$cacheid+y}
   16469 then :
   16470   printf %s "(cached) " >&6
   16471 else $as_nop
   16472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16473 /* end confdefs.h.  */
   16474 int i;
   16475 int
   16476 main (void)
   16477 {
   16478 
   16479   ;
   16480   return 0;
   16481 }
   16482 _ACEOF
   16483 if ac_fn_c_try_link "$LINENO"
   16484 then :
   16485   eval $cacheid=yes
   16486 else $as_nop
   16487   eval $cacheid=no
   16488 fi
   16489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16490     conftest$ac_exeext conftest.$ac_ext
   16491 fi
   16492 
   16493 
   16494 		CFLAGS="$xorg_testset_save_CFLAGS"
   16495 
   16496 		eval supported=\$$cacheid
   16497 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16498 printf "%s\n" "$supported" >&6; }
   16499 		if test "$supported" = "yes" ; then
   16500 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16501 			found="yes"
   16502 		fi
   16503 	fi
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 
   16510 
   16511 
   16512 
   16513 
   16514 
   16515 
   16516 
   16517 
   16518 
   16519 xorg_testset_save_CFLAGS="$CFLAGS"
   16520 
   16521 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16522 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16523 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16524 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16525 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16526 then :
   16527   printf %s "(cached) " >&6
   16528 else $as_nop
   16529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16530 /* end confdefs.h.  */
   16531 int i;
   16532 _ACEOF
   16533 if ac_fn_c_try_compile "$LINENO"
   16534 then :
   16535   xorg_cv_cc_flag_unknown_warning_option=yes
   16536 else $as_nop
   16537   xorg_cv_cc_flag_unknown_warning_option=no
   16538 fi
   16539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16540 fi
   16541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16542 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16544 	CFLAGS="$xorg_testset_save_CFLAGS"
   16545 fi
   16546 
   16547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16550 	fi
   16551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16553 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16554 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16555 then :
   16556   printf %s "(cached) " >&6
   16557 else $as_nop
   16558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16559 /* end confdefs.h.  */
   16560 int i;
   16561 _ACEOF
   16562 if ac_fn_c_try_compile "$LINENO"
   16563 then :
   16564   xorg_cv_cc_flag_unused_command_line_argument=yes
   16565 else $as_nop
   16566   xorg_cv_cc_flag_unused_command_line_argument=no
   16567 fi
   16568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16569 fi
   16570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16571 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16572 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16573 	CFLAGS="$xorg_testset_save_CFLAGS"
   16574 fi
   16575 
   16576 found="no"
   16577 
   16578 	if test $found = "no" ; then
   16579 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16580 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16581 		fi
   16582 
   16583 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16584 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16585 		fi
   16586 
   16587 		CFLAGS="$CFLAGS -Werror=address"
   16588 
   16589 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16590 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16591 		cacheid=xorg_cv_cc_flag__Werror_address
   16592 		if eval test \${$cacheid+y}
   16593 then :
   16594   printf %s "(cached) " >&6
   16595 else $as_nop
   16596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16597 /* end confdefs.h.  */
   16598 int i;
   16599 int
   16600 main (void)
   16601 {
   16602 
   16603   ;
   16604   return 0;
   16605 }
   16606 _ACEOF
   16607 if ac_fn_c_try_link "$LINENO"
   16608 then :
   16609   eval $cacheid=yes
   16610 else $as_nop
   16611   eval $cacheid=no
   16612 fi
   16613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16614     conftest$ac_exeext conftest.$ac_ext
   16615 fi
   16616 
   16617 
   16618 		CFLAGS="$xorg_testset_save_CFLAGS"
   16619 
   16620 		eval supported=\$$cacheid
   16621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16622 printf "%s\n" "$supported" >&6; }
   16623 		if test "$supported" = "yes" ; then
   16624 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16625 			found="yes"
   16626 		fi
   16627 	fi
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 xorg_testset_save_CFLAGS="$CFLAGS"
   16644 
   16645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16648 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16649 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16650 then :
   16651   printf %s "(cached) " >&6
   16652 else $as_nop
   16653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16654 /* end confdefs.h.  */
   16655 int i;
   16656 _ACEOF
   16657 if ac_fn_c_try_compile "$LINENO"
   16658 then :
   16659   xorg_cv_cc_flag_unknown_warning_option=yes
   16660 else $as_nop
   16661   xorg_cv_cc_flag_unknown_warning_option=no
   16662 fi
   16663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16664 fi
   16665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16666 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16668 	CFLAGS="$xorg_testset_save_CFLAGS"
   16669 fi
   16670 
   16671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16674 	fi
   16675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16677 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16678 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16679 then :
   16680   printf %s "(cached) " >&6
   16681 else $as_nop
   16682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16683 /* end confdefs.h.  */
   16684 int i;
   16685 _ACEOF
   16686 if ac_fn_c_try_compile "$LINENO"
   16687 then :
   16688   xorg_cv_cc_flag_unused_command_line_argument=yes
   16689 else $as_nop
   16690   xorg_cv_cc_flag_unused_command_line_argument=no
   16691 fi
   16692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16693 fi
   16694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16695 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16697 	CFLAGS="$xorg_testset_save_CFLAGS"
   16698 fi
   16699 
   16700 found="no"
   16701 
   16702 	if test $found = "no" ; then
   16703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16705 		fi
   16706 
   16707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16709 		fi
   16710 
   16711 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16712 
   16713 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16714 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16715 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16716 		if eval test \${$cacheid+y}
   16717 then :
   16718   printf %s "(cached) " >&6
   16719 else $as_nop
   16720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16721 /* end confdefs.h.  */
   16722 int i;
   16723 int
   16724 main (void)
   16725 {
   16726 
   16727   ;
   16728   return 0;
   16729 }
   16730 _ACEOF
   16731 if ac_fn_c_try_link "$LINENO"
   16732 then :
   16733   eval $cacheid=yes
   16734 else $as_nop
   16735   eval $cacheid=no
   16736 fi
   16737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16738     conftest$ac_exeext conftest.$ac_ext
   16739 fi
   16740 
   16741 
   16742 		CFLAGS="$xorg_testset_save_CFLAGS"
   16743 
   16744 		eval supported=\$$cacheid
   16745 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16746 printf "%s\n" "$supported" >&6; }
   16747 		if test "$supported" = "yes" ; then
   16748 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16749 			found="yes"
   16750 		fi
   16751 	fi
   16752 
   16753 	if test $found = "no" ; then
   16754 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16755 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16756 		fi
   16757 
   16758 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16759 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16760 		fi
   16761 
   16762 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16763 
   16764 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16765 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16766 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16767 		if eval test \${$cacheid+y}
   16768 then :
   16769   printf %s "(cached) " >&6
   16770 else $as_nop
   16771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16772 /* end confdefs.h.  */
   16773 int i;
   16774 int
   16775 main (void)
   16776 {
   16777 
   16778   ;
   16779   return 0;
   16780 }
   16781 _ACEOF
   16782 if ac_fn_c_try_link "$LINENO"
   16783 then :
   16784   eval $cacheid=yes
   16785 else $as_nop
   16786   eval $cacheid=no
   16787 fi
   16788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16789     conftest$ac_exeext conftest.$ac_ext
   16790 fi
   16791 
   16792 
   16793 		CFLAGS="$xorg_testset_save_CFLAGS"
   16794 
   16795 		eval supported=\$$cacheid
   16796 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16797 printf "%s\n" "$supported" >&6; }
   16798 		if test "$supported" = "yes" ; then
   16799 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16800 			found="yes"
   16801 		fi
   16802 	fi
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 xorg_testset_save_CFLAGS="$CFLAGS"
   16819 
   16820 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16821 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16822 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16823 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16824 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16825 then :
   16826   printf %s "(cached) " >&6
   16827 else $as_nop
   16828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16829 /* end confdefs.h.  */
   16830 int i;
   16831 _ACEOF
   16832 if ac_fn_c_try_compile "$LINENO"
   16833 then :
   16834   xorg_cv_cc_flag_unknown_warning_option=yes
   16835 else $as_nop
   16836   xorg_cv_cc_flag_unknown_warning_option=no
   16837 fi
   16838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16839 fi
   16840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16841 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16842 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16843 	CFLAGS="$xorg_testset_save_CFLAGS"
   16844 fi
   16845 
   16846 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16847 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16848 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16849 	fi
   16850 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16851 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16852 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16853 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16854 then :
   16855   printf %s "(cached) " >&6
   16856 else $as_nop
   16857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16858 /* end confdefs.h.  */
   16859 int i;
   16860 _ACEOF
   16861 if ac_fn_c_try_compile "$LINENO"
   16862 then :
   16863   xorg_cv_cc_flag_unused_command_line_argument=yes
   16864 else $as_nop
   16865   xorg_cv_cc_flag_unused_command_line_argument=no
   16866 fi
   16867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16868 fi
   16869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16870 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16872 	CFLAGS="$xorg_testset_save_CFLAGS"
   16873 fi
   16874 
   16875 found="no"
   16876 
   16877 	if test $found = "no" ; then
   16878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16880 		fi
   16881 
   16882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16884 		fi
   16885 
   16886 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16887 
   16888 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16889 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16890 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16891 		if eval test \${$cacheid+y}
   16892 then :
   16893   printf %s "(cached) " >&6
   16894 else $as_nop
   16895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16896 /* end confdefs.h.  */
   16897 int i;
   16898 int
   16899 main (void)
   16900 {
   16901 
   16902   ;
   16903   return 0;
   16904 }
   16905 _ACEOF
   16906 if ac_fn_c_try_link "$LINENO"
   16907 then :
   16908   eval $cacheid=yes
   16909 else $as_nop
   16910   eval $cacheid=no
   16911 fi
   16912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16913     conftest$ac_exeext conftest.$ac_ext
   16914 fi
   16915 
   16916 
   16917 		CFLAGS="$xorg_testset_save_CFLAGS"
   16918 
   16919 		eval supported=\$$cacheid
   16920 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16921 printf "%s\n" "$supported" >&6; }
   16922 		if test "$supported" = "yes" ; then
   16923 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16924 			found="yes"
   16925 		fi
   16926 	fi
   16927 
   16928  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16929 else
   16930 { 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
   16931 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;}
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 
   16940 
   16941 
   16942 
   16943 
   16944 
   16945 xorg_testset_save_CFLAGS="$CFLAGS"
   16946 
   16947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16950 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16951 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16952 then :
   16953   printf %s "(cached) " >&6
   16954 else $as_nop
   16955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16956 /* end confdefs.h.  */
   16957 int i;
   16958 _ACEOF
   16959 if ac_fn_c_try_compile "$LINENO"
   16960 then :
   16961   xorg_cv_cc_flag_unknown_warning_option=yes
   16962 else $as_nop
   16963   xorg_cv_cc_flag_unknown_warning_option=no
   16964 fi
   16965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16966 fi
   16967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16968 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16970 	CFLAGS="$xorg_testset_save_CFLAGS"
   16971 fi
   16972 
   16973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16976 	fi
   16977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16979 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16980 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16981 then :
   16982   printf %s "(cached) " >&6
   16983 else $as_nop
   16984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16985 /* end confdefs.h.  */
   16986 int i;
   16987 _ACEOF
   16988 if ac_fn_c_try_compile "$LINENO"
   16989 then :
   16990   xorg_cv_cc_flag_unused_command_line_argument=yes
   16991 else $as_nop
   16992   xorg_cv_cc_flag_unused_command_line_argument=no
   16993 fi
   16994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16995 fi
   16996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16997 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16999 	CFLAGS="$xorg_testset_save_CFLAGS"
   17000 fi
   17001 
   17002 found="no"
   17003 
   17004 	if test $found = "no" ; then
   17005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17007 		fi
   17008 
   17009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17011 		fi
   17012 
   17013 		CFLAGS="$CFLAGS -Wimplicit"
   17014 
   17015 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17016 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17017 		cacheid=xorg_cv_cc_flag__Wimplicit
   17018 		if eval test \${$cacheid+y}
   17019 then :
   17020   printf %s "(cached) " >&6
   17021 else $as_nop
   17022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17023 /* end confdefs.h.  */
   17024 int i;
   17025 int
   17026 main (void)
   17027 {
   17028 
   17029   ;
   17030   return 0;
   17031 }
   17032 _ACEOF
   17033 if ac_fn_c_try_link "$LINENO"
   17034 then :
   17035   eval $cacheid=yes
   17036 else $as_nop
   17037   eval $cacheid=no
   17038 fi
   17039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17040     conftest$ac_exeext conftest.$ac_ext
   17041 fi
   17042 
   17043 
   17044 		CFLAGS="$xorg_testset_save_CFLAGS"
   17045 
   17046 		eval supported=\$$cacheid
   17047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17048 printf "%s\n" "$supported" >&6; }
   17049 		if test "$supported" = "yes" ; then
   17050 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17051 			found="yes"
   17052 		fi
   17053 	fi
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 xorg_testset_save_CFLAGS="$CFLAGS"
   17070 
   17071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17073 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17074 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17075 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17076 then :
   17077   printf %s "(cached) " >&6
   17078 else $as_nop
   17079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17080 /* end confdefs.h.  */
   17081 int i;
   17082 _ACEOF
   17083 if ac_fn_c_try_compile "$LINENO"
   17084 then :
   17085   xorg_cv_cc_flag_unknown_warning_option=yes
   17086 else $as_nop
   17087   xorg_cv_cc_flag_unknown_warning_option=no
   17088 fi
   17089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17090 fi
   17091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17092 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17094 	CFLAGS="$xorg_testset_save_CFLAGS"
   17095 fi
   17096 
   17097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17100 	fi
   17101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17103 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17104 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17105 then :
   17106   printf %s "(cached) " >&6
   17107 else $as_nop
   17108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17109 /* end confdefs.h.  */
   17110 int i;
   17111 _ACEOF
   17112 if ac_fn_c_try_compile "$LINENO"
   17113 then :
   17114   xorg_cv_cc_flag_unused_command_line_argument=yes
   17115 else $as_nop
   17116   xorg_cv_cc_flag_unused_command_line_argument=no
   17117 fi
   17118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17119 fi
   17120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17121 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17123 	CFLAGS="$xorg_testset_save_CFLAGS"
   17124 fi
   17125 
   17126 found="no"
   17127 
   17128 	if test $found = "no" ; then
   17129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17131 		fi
   17132 
   17133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17135 		fi
   17136 
   17137 		CFLAGS="$CFLAGS -Wnonnull"
   17138 
   17139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17140 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17141 		cacheid=xorg_cv_cc_flag__Wnonnull
   17142 		if eval test \${$cacheid+y}
   17143 then :
   17144   printf %s "(cached) " >&6
   17145 else $as_nop
   17146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17147 /* end confdefs.h.  */
   17148 int i;
   17149 int
   17150 main (void)
   17151 {
   17152 
   17153   ;
   17154   return 0;
   17155 }
   17156 _ACEOF
   17157 if ac_fn_c_try_link "$LINENO"
   17158 then :
   17159   eval $cacheid=yes
   17160 else $as_nop
   17161   eval $cacheid=no
   17162 fi
   17163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17164     conftest$ac_exeext conftest.$ac_ext
   17165 fi
   17166 
   17167 
   17168 		CFLAGS="$xorg_testset_save_CFLAGS"
   17169 
   17170 		eval supported=\$$cacheid
   17171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17172 printf "%s\n" "$supported" >&6; }
   17173 		if test "$supported" = "yes" ; then
   17174 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17175 			found="yes"
   17176 		fi
   17177 	fi
   17178 
   17179 
   17180 
   17181 
   17182 
   17183 
   17184 
   17185 
   17186 
   17187 
   17188 
   17189 
   17190 
   17191 
   17192 
   17193 xorg_testset_save_CFLAGS="$CFLAGS"
   17194 
   17195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17197 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17198 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17199 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17200 then :
   17201   printf %s "(cached) " >&6
   17202 else $as_nop
   17203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17204 /* end confdefs.h.  */
   17205 int i;
   17206 _ACEOF
   17207 if ac_fn_c_try_compile "$LINENO"
   17208 then :
   17209   xorg_cv_cc_flag_unknown_warning_option=yes
   17210 else $as_nop
   17211   xorg_cv_cc_flag_unknown_warning_option=no
   17212 fi
   17213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17214 fi
   17215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17216 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17218 	CFLAGS="$xorg_testset_save_CFLAGS"
   17219 fi
   17220 
   17221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17224 	fi
   17225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17226 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17227 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17228 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17229 then :
   17230   printf %s "(cached) " >&6
   17231 else $as_nop
   17232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17233 /* end confdefs.h.  */
   17234 int i;
   17235 _ACEOF
   17236 if ac_fn_c_try_compile "$LINENO"
   17237 then :
   17238   xorg_cv_cc_flag_unused_command_line_argument=yes
   17239 else $as_nop
   17240   xorg_cv_cc_flag_unused_command_line_argument=no
   17241 fi
   17242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17243 fi
   17244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17245 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17247 	CFLAGS="$xorg_testset_save_CFLAGS"
   17248 fi
   17249 
   17250 found="no"
   17251 
   17252 	if test $found = "no" ; then
   17253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17255 		fi
   17256 
   17257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17259 		fi
   17260 
   17261 		CFLAGS="$CFLAGS -Winit-self"
   17262 
   17263 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17264 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17265 		cacheid=xorg_cv_cc_flag__Winit_self
   17266 		if eval test \${$cacheid+y}
   17267 then :
   17268   printf %s "(cached) " >&6
   17269 else $as_nop
   17270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17271 /* end confdefs.h.  */
   17272 int i;
   17273 int
   17274 main (void)
   17275 {
   17276 
   17277   ;
   17278   return 0;
   17279 }
   17280 _ACEOF
   17281 if ac_fn_c_try_link "$LINENO"
   17282 then :
   17283   eval $cacheid=yes
   17284 else $as_nop
   17285   eval $cacheid=no
   17286 fi
   17287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17288     conftest$ac_exeext conftest.$ac_ext
   17289 fi
   17290 
   17291 
   17292 		CFLAGS="$xorg_testset_save_CFLAGS"
   17293 
   17294 		eval supported=\$$cacheid
   17295 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17296 printf "%s\n" "$supported" >&6; }
   17297 		if test "$supported" = "yes" ; then
   17298 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17299 			found="yes"
   17300 		fi
   17301 	fi
   17302 
   17303 
   17304 
   17305 
   17306 
   17307 
   17308 
   17309 
   17310 
   17311 
   17312 
   17313 
   17314 
   17315 
   17316 
   17317 xorg_testset_save_CFLAGS="$CFLAGS"
   17318 
   17319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17321 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17322 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17323 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17324 then :
   17325   printf %s "(cached) " >&6
   17326 else $as_nop
   17327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17328 /* end confdefs.h.  */
   17329 int i;
   17330 _ACEOF
   17331 if ac_fn_c_try_compile "$LINENO"
   17332 then :
   17333   xorg_cv_cc_flag_unknown_warning_option=yes
   17334 else $as_nop
   17335   xorg_cv_cc_flag_unknown_warning_option=no
   17336 fi
   17337 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17338 fi
   17339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17340 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17342 	CFLAGS="$xorg_testset_save_CFLAGS"
   17343 fi
   17344 
   17345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17348 	fi
   17349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17351 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17352 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17353 then :
   17354   printf %s "(cached) " >&6
   17355 else $as_nop
   17356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17357 /* end confdefs.h.  */
   17358 int i;
   17359 _ACEOF
   17360 if ac_fn_c_try_compile "$LINENO"
   17361 then :
   17362   xorg_cv_cc_flag_unused_command_line_argument=yes
   17363 else $as_nop
   17364   xorg_cv_cc_flag_unused_command_line_argument=no
   17365 fi
   17366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17367 fi
   17368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17369 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17371 	CFLAGS="$xorg_testset_save_CFLAGS"
   17372 fi
   17373 
   17374 found="no"
   17375 
   17376 	if test $found = "no" ; then
   17377 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17379 		fi
   17380 
   17381 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17383 		fi
   17384 
   17385 		CFLAGS="$CFLAGS -Wmain"
   17386 
   17387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17388 printf %s "checking if $CC supports -Wmain... " >&6; }
   17389 		cacheid=xorg_cv_cc_flag__Wmain
   17390 		if eval test \${$cacheid+y}
   17391 then :
   17392   printf %s "(cached) " >&6
   17393 else $as_nop
   17394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17395 /* end confdefs.h.  */
   17396 int i;
   17397 int
   17398 main (void)
   17399 {
   17400 
   17401   ;
   17402   return 0;
   17403 }
   17404 _ACEOF
   17405 if ac_fn_c_try_link "$LINENO"
   17406 then :
   17407   eval $cacheid=yes
   17408 else $as_nop
   17409   eval $cacheid=no
   17410 fi
   17411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17412     conftest$ac_exeext conftest.$ac_ext
   17413 fi
   17414 
   17415 
   17416 		CFLAGS="$xorg_testset_save_CFLAGS"
   17417 
   17418 		eval supported=\$$cacheid
   17419 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17420 printf "%s\n" "$supported" >&6; }
   17421 		if test "$supported" = "yes" ; then
   17422 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17423 			found="yes"
   17424 		fi
   17425 	fi
   17426 
   17427 
   17428 
   17429 
   17430 
   17431 
   17432 
   17433 
   17434 
   17435 
   17436 
   17437 
   17438 
   17439 
   17440 
   17441 xorg_testset_save_CFLAGS="$CFLAGS"
   17442 
   17443 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17444 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17445 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17446 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17447 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17448 then :
   17449   printf %s "(cached) " >&6
   17450 else $as_nop
   17451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17452 /* end confdefs.h.  */
   17453 int i;
   17454 _ACEOF
   17455 if ac_fn_c_try_compile "$LINENO"
   17456 then :
   17457   xorg_cv_cc_flag_unknown_warning_option=yes
   17458 else $as_nop
   17459   xorg_cv_cc_flag_unknown_warning_option=no
   17460 fi
   17461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17462 fi
   17463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17464 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17465 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17466 	CFLAGS="$xorg_testset_save_CFLAGS"
   17467 fi
   17468 
   17469 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17470 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17471 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17472 	fi
   17473 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17474 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17475 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17476 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17477 then :
   17478   printf %s "(cached) " >&6
   17479 else $as_nop
   17480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17481 /* end confdefs.h.  */
   17482 int i;
   17483 _ACEOF
   17484 if ac_fn_c_try_compile "$LINENO"
   17485 then :
   17486   xorg_cv_cc_flag_unused_command_line_argument=yes
   17487 else $as_nop
   17488   xorg_cv_cc_flag_unused_command_line_argument=no
   17489 fi
   17490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17491 fi
   17492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17493 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17495 	CFLAGS="$xorg_testset_save_CFLAGS"
   17496 fi
   17497 
   17498 found="no"
   17499 
   17500 	if test $found = "no" ; then
   17501 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17503 		fi
   17504 
   17505 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17507 		fi
   17508 
   17509 		CFLAGS="$CFLAGS -Wmissing-braces"
   17510 
   17511 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17512 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17513 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17514 		if eval test \${$cacheid+y}
   17515 then :
   17516   printf %s "(cached) " >&6
   17517 else $as_nop
   17518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17519 /* end confdefs.h.  */
   17520 int i;
   17521 int
   17522 main (void)
   17523 {
   17524 
   17525   ;
   17526   return 0;
   17527 }
   17528 _ACEOF
   17529 if ac_fn_c_try_link "$LINENO"
   17530 then :
   17531   eval $cacheid=yes
   17532 else $as_nop
   17533   eval $cacheid=no
   17534 fi
   17535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17536     conftest$ac_exeext conftest.$ac_ext
   17537 fi
   17538 
   17539 
   17540 		CFLAGS="$xorg_testset_save_CFLAGS"
   17541 
   17542 		eval supported=\$$cacheid
   17543 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17544 printf "%s\n" "$supported" >&6; }
   17545 		if test "$supported" = "yes" ; then
   17546 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17547 			found="yes"
   17548 		fi
   17549 	fi
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 xorg_testset_save_CFLAGS="$CFLAGS"
   17566 
   17567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17569 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17570 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17571 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17572 then :
   17573   printf %s "(cached) " >&6
   17574 else $as_nop
   17575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17576 /* end confdefs.h.  */
   17577 int i;
   17578 _ACEOF
   17579 if ac_fn_c_try_compile "$LINENO"
   17580 then :
   17581   xorg_cv_cc_flag_unknown_warning_option=yes
   17582 else $as_nop
   17583   xorg_cv_cc_flag_unknown_warning_option=no
   17584 fi
   17585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17586 fi
   17587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17588 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17589 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17590 	CFLAGS="$xorg_testset_save_CFLAGS"
   17591 fi
   17592 
   17593 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17594 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17595 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17596 	fi
   17597 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17598 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17599 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17600 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17601 then :
   17602   printf %s "(cached) " >&6
   17603 else $as_nop
   17604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17605 /* end confdefs.h.  */
   17606 int i;
   17607 _ACEOF
   17608 if ac_fn_c_try_compile "$LINENO"
   17609 then :
   17610   xorg_cv_cc_flag_unused_command_line_argument=yes
   17611 else $as_nop
   17612   xorg_cv_cc_flag_unused_command_line_argument=no
   17613 fi
   17614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17615 fi
   17616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17617 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17619 	CFLAGS="$xorg_testset_save_CFLAGS"
   17620 fi
   17621 
   17622 found="no"
   17623 
   17624 	if test $found = "no" ; then
   17625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17627 		fi
   17628 
   17629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17631 		fi
   17632 
   17633 		CFLAGS="$CFLAGS -Wsequence-point"
   17634 
   17635 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17636 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17637 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17638 		if eval test \${$cacheid+y}
   17639 then :
   17640   printf %s "(cached) " >&6
   17641 else $as_nop
   17642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17643 /* end confdefs.h.  */
   17644 int i;
   17645 int
   17646 main (void)
   17647 {
   17648 
   17649   ;
   17650   return 0;
   17651 }
   17652 _ACEOF
   17653 if ac_fn_c_try_link "$LINENO"
   17654 then :
   17655   eval $cacheid=yes
   17656 else $as_nop
   17657   eval $cacheid=no
   17658 fi
   17659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17660     conftest$ac_exeext conftest.$ac_ext
   17661 fi
   17662 
   17663 
   17664 		CFLAGS="$xorg_testset_save_CFLAGS"
   17665 
   17666 		eval supported=\$$cacheid
   17667 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17668 printf "%s\n" "$supported" >&6; }
   17669 		if test "$supported" = "yes" ; then
   17670 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17671 			found="yes"
   17672 		fi
   17673 	fi
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 xorg_testset_save_CFLAGS="$CFLAGS"
   17690 
   17691 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17692 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17693 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17694 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17695 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17696 then :
   17697   printf %s "(cached) " >&6
   17698 else $as_nop
   17699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17700 /* end confdefs.h.  */
   17701 int i;
   17702 _ACEOF
   17703 if ac_fn_c_try_compile "$LINENO"
   17704 then :
   17705   xorg_cv_cc_flag_unknown_warning_option=yes
   17706 else $as_nop
   17707   xorg_cv_cc_flag_unknown_warning_option=no
   17708 fi
   17709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17710 fi
   17711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17712 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17713 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17714 	CFLAGS="$xorg_testset_save_CFLAGS"
   17715 fi
   17716 
   17717 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17718 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17719 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17720 	fi
   17721 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17722 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17723 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17724 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17725 then :
   17726   printf %s "(cached) " >&6
   17727 else $as_nop
   17728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17729 /* end confdefs.h.  */
   17730 int i;
   17731 _ACEOF
   17732 if ac_fn_c_try_compile "$LINENO"
   17733 then :
   17734   xorg_cv_cc_flag_unused_command_line_argument=yes
   17735 else $as_nop
   17736   xorg_cv_cc_flag_unused_command_line_argument=no
   17737 fi
   17738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17739 fi
   17740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17741 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17742 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17743 	CFLAGS="$xorg_testset_save_CFLAGS"
   17744 fi
   17745 
   17746 found="no"
   17747 
   17748 	if test $found = "no" ; then
   17749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17751 		fi
   17752 
   17753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17755 		fi
   17756 
   17757 		CFLAGS="$CFLAGS -Wreturn-type"
   17758 
   17759 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17760 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17761 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17762 		if eval test \${$cacheid+y}
   17763 then :
   17764   printf %s "(cached) " >&6
   17765 else $as_nop
   17766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17767 /* end confdefs.h.  */
   17768 int i;
   17769 int
   17770 main (void)
   17771 {
   17772 
   17773   ;
   17774   return 0;
   17775 }
   17776 _ACEOF
   17777 if ac_fn_c_try_link "$LINENO"
   17778 then :
   17779   eval $cacheid=yes
   17780 else $as_nop
   17781   eval $cacheid=no
   17782 fi
   17783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17784     conftest$ac_exeext conftest.$ac_ext
   17785 fi
   17786 
   17787 
   17788 		CFLAGS="$xorg_testset_save_CFLAGS"
   17789 
   17790 		eval supported=\$$cacheid
   17791 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17792 printf "%s\n" "$supported" >&6; }
   17793 		if test "$supported" = "yes" ; then
   17794 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17795 			found="yes"
   17796 		fi
   17797 	fi
   17798 
   17799 
   17800 
   17801 
   17802 
   17803 
   17804 
   17805 
   17806 
   17807 
   17808 
   17809 
   17810 
   17811 
   17812 
   17813 xorg_testset_save_CFLAGS="$CFLAGS"
   17814 
   17815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17817 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17818 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17819 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17820 then :
   17821   printf %s "(cached) " >&6
   17822 else $as_nop
   17823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17824 /* end confdefs.h.  */
   17825 int i;
   17826 _ACEOF
   17827 if ac_fn_c_try_compile "$LINENO"
   17828 then :
   17829   xorg_cv_cc_flag_unknown_warning_option=yes
   17830 else $as_nop
   17831   xorg_cv_cc_flag_unknown_warning_option=no
   17832 fi
   17833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17834 fi
   17835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17836 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17837 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17838 	CFLAGS="$xorg_testset_save_CFLAGS"
   17839 fi
   17840 
   17841 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17842 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17843 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17844 	fi
   17845 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17847 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17848 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17849 then :
   17850   printf %s "(cached) " >&6
   17851 else $as_nop
   17852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17853 /* end confdefs.h.  */
   17854 int i;
   17855 _ACEOF
   17856 if ac_fn_c_try_compile "$LINENO"
   17857 then :
   17858   xorg_cv_cc_flag_unused_command_line_argument=yes
   17859 else $as_nop
   17860   xorg_cv_cc_flag_unused_command_line_argument=no
   17861 fi
   17862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17863 fi
   17864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17865 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17867 	CFLAGS="$xorg_testset_save_CFLAGS"
   17868 fi
   17869 
   17870 found="no"
   17871 
   17872 	if test $found = "no" ; then
   17873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17875 		fi
   17876 
   17877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17879 		fi
   17880 
   17881 		CFLAGS="$CFLAGS -Wtrigraphs"
   17882 
   17883 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17884 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   17885 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17886 		if eval test \${$cacheid+y}
   17887 then :
   17888   printf %s "(cached) " >&6
   17889 else $as_nop
   17890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17891 /* end confdefs.h.  */
   17892 int i;
   17893 int
   17894 main (void)
   17895 {
   17896 
   17897   ;
   17898   return 0;
   17899 }
   17900 _ACEOF
   17901 if ac_fn_c_try_link "$LINENO"
   17902 then :
   17903   eval $cacheid=yes
   17904 else $as_nop
   17905   eval $cacheid=no
   17906 fi
   17907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17908     conftest$ac_exeext conftest.$ac_ext
   17909 fi
   17910 
   17911 
   17912 		CFLAGS="$xorg_testset_save_CFLAGS"
   17913 
   17914 		eval supported=\$$cacheid
   17915 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17916 printf "%s\n" "$supported" >&6; }
   17917 		if test "$supported" = "yes" ; then
   17918 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17919 			found="yes"
   17920 		fi
   17921 	fi
   17922 
   17923 
   17924 
   17925 
   17926 
   17927 
   17928 
   17929 
   17930 
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 xorg_testset_save_CFLAGS="$CFLAGS"
   17938 
   17939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17941 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17942 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17943 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17944 then :
   17945   printf %s "(cached) " >&6
   17946 else $as_nop
   17947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17948 /* end confdefs.h.  */
   17949 int i;
   17950 _ACEOF
   17951 if ac_fn_c_try_compile "$LINENO"
   17952 then :
   17953   xorg_cv_cc_flag_unknown_warning_option=yes
   17954 else $as_nop
   17955   xorg_cv_cc_flag_unknown_warning_option=no
   17956 fi
   17957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17958 fi
   17959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17960 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17961 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17962 	CFLAGS="$xorg_testset_save_CFLAGS"
   17963 fi
   17964 
   17965 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17966 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17967 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17968 	fi
   17969 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17970 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17971 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17972 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17973 then :
   17974   printf %s "(cached) " >&6
   17975 else $as_nop
   17976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17977 /* end confdefs.h.  */
   17978 int i;
   17979 _ACEOF
   17980 if ac_fn_c_try_compile "$LINENO"
   17981 then :
   17982   xorg_cv_cc_flag_unused_command_line_argument=yes
   17983 else $as_nop
   17984   xorg_cv_cc_flag_unused_command_line_argument=no
   17985 fi
   17986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17987 fi
   17988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17989 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17990 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17991 	CFLAGS="$xorg_testset_save_CFLAGS"
   17992 fi
   17993 
   17994 found="no"
   17995 
   17996 	if test $found = "no" ; then
   17997 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17999 		fi
   18000 
   18001 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18003 		fi
   18004 
   18005 		CFLAGS="$CFLAGS -Warray-bounds"
   18006 
   18007 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18008 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18009 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18010 		if eval test \${$cacheid+y}
   18011 then :
   18012   printf %s "(cached) " >&6
   18013 else $as_nop
   18014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18015 /* end confdefs.h.  */
   18016 int i;
   18017 int
   18018 main (void)
   18019 {
   18020 
   18021   ;
   18022   return 0;
   18023 }
   18024 _ACEOF
   18025 if ac_fn_c_try_link "$LINENO"
   18026 then :
   18027   eval $cacheid=yes
   18028 else $as_nop
   18029   eval $cacheid=no
   18030 fi
   18031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18032     conftest$ac_exeext conftest.$ac_ext
   18033 fi
   18034 
   18035 
   18036 		CFLAGS="$xorg_testset_save_CFLAGS"
   18037 
   18038 		eval supported=\$$cacheid
   18039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18040 printf "%s\n" "$supported" >&6; }
   18041 		if test "$supported" = "yes" ; then
   18042 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18043 			found="yes"
   18044 		fi
   18045 	fi
   18046 
   18047 
   18048 
   18049 
   18050 
   18051 
   18052 
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 
   18061 xorg_testset_save_CFLAGS="$CFLAGS"
   18062 
   18063 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18064 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18065 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18066 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18067 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18068 then :
   18069   printf %s "(cached) " >&6
   18070 else $as_nop
   18071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18072 /* end confdefs.h.  */
   18073 int i;
   18074 _ACEOF
   18075 if ac_fn_c_try_compile "$LINENO"
   18076 then :
   18077   xorg_cv_cc_flag_unknown_warning_option=yes
   18078 else $as_nop
   18079   xorg_cv_cc_flag_unknown_warning_option=no
   18080 fi
   18081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18082 fi
   18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18084 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18086 	CFLAGS="$xorg_testset_save_CFLAGS"
   18087 fi
   18088 
   18089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18092 	fi
   18093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18095 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18096 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18097 then :
   18098   printf %s "(cached) " >&6
   18099 else $as_nop
   18100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18101 /* end confdefs.h.  */
   18102 int i;
   18103 _ACEOF
   18104 if ac_fn_c_try_compile "$LINENO"
   18105 then :
   18106   xorg_cv_cc_flag_unused_command_line_argument=yes
   18107 else $as_nop
   18108   xorg_cv_cc_flag_unused_command_line_argument=no
   18109 fi
   18110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18111 fi
   18112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18113 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18115 	CFLAGS="$xorg_testset_save_CFLAGS"
   18116 fi
   18117 
   18118 found="no"
   18119 
   18120 	if test $found = "no" ; then
   18121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18123 		fi
   18124 
   18125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18127 		fi
   18128 
   18129 		CFLAGS="$CFLAGS -Wwrite-strings"
   18130 
   18131 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18132 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18133 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18134 		if eval test \${$cacheid+y}
   18135 then :
   18136   printf %s "(cached) " >&6
   18137 else $as_nop
   18138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18139 /* end confdefs.h.  */
   18140 int i;
   18141 int
   18142 main (void)
   18143 {
   18144 
   18145   ;
   18146   return 0;
   18147 }
   18148 _ACEOF
   18149 if ac_fn_c_try_link "$LINENO"
   18150 then :
   18151   eval $cacheid=yes
   18152 else $as_nop
   18153   eval $cacheid=no
   18154 fi
   18155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18156     conftest$ac_exeext conftest.$ac_ext
   18157 fi
   18158 
   18159 
   18160 		CFLAGS="$xorg_testset_save_CFLAGS"
   18161 
   18162 		eval supported=\$$cacheid
   18163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18164 printf "%s\n" "$supported" >&6; }
   18165 		if test "$supported" = "yes" ; then
   18166 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18167 			found="yes"
   18168 		fi
   18169 	fi
   18170 
   18171 
   18172 
   18173 
   18174 
   18175 
   18176 
   18177 
   18178 
   18179 
   18180 
   18181 
   18182 
   18183 
   18184 
   18185 xorg_testset_save_CFLAGS="$CFLAGS"
   18186 
   18187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18189 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18190 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18191 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18192 then :
   18193   printf %s "(cached) " >&6
   18194 else $as_nop
   18195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18196 /* end confdefs.h.  */
   18197 int i;
   18198 _ACEOF
   18199 if ac_fn_c_try_compile "$LINENO"
   18200 then :
   18201   xorg_cv_cc_flag_unknown_warning_option=yes
   18202 else $as_nop
   18203   xorg_cv_cc_flag_unknown_warning_option=no
   18204 fi
   18205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18206 fi
   18207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18208 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18210 	CFLAGS="$xorg_testset_save_CFLAGS"
   18211 fi
   18212 
   18213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18216 	fi
   18217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18219 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18220 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18221 then :
   18222   printf %s "(cached) " >&6
   18223 else $as_nop
   18224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18225 /* end confdefs.h.  */
   18226 int i;
   18227 _ACEOF
   18228 if ac_fn_c_try_compile "$LINENO"
   18229 then :
   18230   xorg_cv_cc_flag_unused_command_line_argument=yes
   18231 else $as_nop
   18232   xorg_cv_cc_flag_unused_command_line_argument=no
   18233 fi
   18234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18235 fi
   18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18237 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18239 	CFLAGS="$xorg_testset_save_CFLAGS"
   18240 fi
   18241 
   18242 found="no"
   18243 
   18244 	if test $found = "no" ; then
   18245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18247 		fi
   18248 
   18249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18251 		fi
   18252 
   18253 		CFLAGS="$CFLAGS -Waddress"
   18254 
   18255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18256 printf %s "checking if $CC supports -Waddress... " >&6; }
   18257 		cacheid=xorg_cv_cc_flag__Waddress
   18258 		if eval test \${$cacheid+y}
   18259 then :
   18260   printf %s "(cached) " >&6
   18261 else $as_nop
   18262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18263 /* end confdefs.h.  */
   18264 int i;
   18265 int
   18266 main (void)
   18267 {
   18268 
   18269   ;
   18270   return 0;
   18271 }
   18272 _ACEOF
   18273 if ac_fn_c_try_link "$LINENO"
   18274 then :
   18275   eval $cacheid=yes
   18276 else $as_nop
   18277   eval $cacheid=no
   18278 fi
   18279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18280     conftest$ac_exeext conftest.$ac_ext
   18281 fi
   18282 
   18283 
   18284 		CFLAGS="$xorg_testset_save_CFLAGS"
   18285 
   18286 		eval supported=\$$cacheid
   18287 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18288 printf "%s\n" "$supported" >&6; }
   18289 		if test "$supported" = "yes" ; then
   18290 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18291 			found="yes"
   18292 		fi
   18293 	fi
   18294 
   18295 
   18296 
   18297 
   18298 
   18299 
   18300 
   18301 
   18302 
   18303 
   18304 
   18305 
   18306 
   18307 
   18308 
   18309 xorg_testset_save_CFLAGS="$CFLAGS"
   18310 
   18311 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18312 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18313 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18314 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18315 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18316 then :
   18317   printf %s "(cached) " >&6
   18318 else $as_nop
   18319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18320 /* end confdefs.h.  */
   18321 int i;
   18322 _ACEOF
   18323 if ac_fn_c_try_compile "$LINENO"
   18324 then :
   18325   xorg_cv_cc_flag_unknown_warning_option=yes
   18326 else $as_nop
   18327   xorg_cv_cc_flag_unknown_warning_option=no
   18328 fi
   18329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18330 fi
   18331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18332 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18334 	CFLAGS="$xorg_testset_save_CFLAGS"
   18335 fi
   18336 
   18337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18340 	fi
   18341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18342 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18343 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18344 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18345 then :
   18346   printf %s "(cached) " >&6
   18347 else $as_nop
   18348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18349 /* end confdefs.h.  */
   18350 int i;
   18351 _ACEOF
   18352 if ac_fn_c_try_compile "$LINENO"
   18353 then :
   18354   xorg_cv_cc_flag_unused_command_line_argument=yes
   18355 else $as_nop
   18356   xorg_cv_cc_flag_unused_command_line_argument=no
   18357 fi
   18358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18359 fi
   18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18361 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18362 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18363 	CFLAGS="$xorg_testset_save_CFLAGS"
   18364 fi
   18365 
   18366 found="no"
   18367 
   18368 	if test $found = "no" ; then
   18369 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18371 		fi
   18372 
   18373 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18375 		fi
   18376 
   18377 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18378 
   18379 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18380 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18381 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18382 		if eval test \${$cacheid+y}
   18383 then :
   18384   printf %s "(cached) " >&6
   18385 else $as_nop
   18386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18387 /* end confdefs.h.  */
   18388 int i;
   18389 int
   18390 main (void)
   18391 {
   18392 
   18393   ;
   18394   return 0;
   18395 }
   18396 _ACEOF
   18397 if ac_fn_c_try_link "$LINENO"
   18398 then :
   18399   eval $cacheid=yes
   18400 else $as_nop
   18401   eval $cacheid=no
   18402 fi
   18403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18404     conftest$ac_exeext conftest.$ac_ext
   18405 fi
   18406 
   18407 
   18408 		CFLAGS="$xorg_testset_save_CFLAGS"
   18409 
   18410 		eval supported=\$$cacheid
   18411 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18412 printf "%s\n" "$supported" >&6; }
   18413 		if test "$supported" = "yes" ; then
   18414 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18415 			found="yes"
   18416 		fi
   18417 	fi
   18418 
   18419 
   18420 
   18421 
   18422 
   18423 
   18424 
   18425 
   18426 
   18427 
   18428 
   18429 
   18430 
   18431 
   18432 
   18433 xorg_testset_save_CFLAGS="$CFLAGS"
   18434 
   18435 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18436 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18437 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18438 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18439 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18440 then :
   18441   printf %s "(cached) " >&6
   18442 else $as_nop
   18443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18444 /* end confdefs.h.  */
   18445 int i;
   18446 _ACEOF
   18447 if ac_fn_c_try_compile "$LINENO"
   18448 then :
   18449   xorg_cv_cc_flag_unknown_warning_option=yes
   18450 else $as_nop
   18451   xorg_cv_cc_flag_unknown_warning_option=no
   18452 fi
   18453 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18454 fi
   18455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18456 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18457 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18458 	CFLAGS="$xorg_testset_save_CFLAGS"
   18459 fi
   18460 
   18461 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18462 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18463 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18464 	fi
   18465 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18466 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18467 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18468 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18469 then :
   18470   printf %s "(cached) " >&6
   18471 else $as_nop
   18472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18473 /* end confdefs.h.  */
   18474 int i;
   18475 _ACEOF
   18476 if ac_fn_c_try_compile "$LINENO"
   18477 then :
   18478   xorg_cv_cc_flag_unused_command_line_argument=yes
   18479 else $as_nop
   18480   xorg_cv_cc_flag_unused_command_line_argument=no
   18481 fi
   18482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18483 fi
   18484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18485 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18486 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18487 	CFLAGS="$xorg_testset_save_CFLAGS"
   18488 fi
   18489 
   18490 found="no"
   18491 
   18492 	if test $found = "no" ; then
   18493 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18495 		fi
   18496 
   18497 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18499 		fi
   18500 
   18501 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18502 
   18503 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18504 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18505 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18506 		if eval test \${$cacheid+y}
   18507 then :
   18508   printf %s "(cached) " >&6
   18509 else $as_nop
   18510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18511 /* end confdefs.h.  */
   18512 int i;
   18513 int
   18514 main (void)
   18515 {
   18516 
   18517   ;
   18518   return 0;
   18519 }
   18520 _ACEOF
   18521 if ac_fn_c_try_link "$LINENO"
   18522 then :
   18523   eval $cacheid=yes
   18524 else $as_nop
   18525   eval $cacheid=no
   18526 fi
   18527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18528     conftest$ac_exeext conftest.$ac_ext
   18529 fi
   18530 
   18531 
   18532 		CFLAGS="$xorg_testset_save_CFLAGS"
   18533 
   18534 		eval supported=\$$cacheid
   18535 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18536 printf "%s\n" "$supported" >&6; }
   18537 		if test "$supported" = "yes" ; then
   18538 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18539 			found="yes"
   18540 		fi
   18541 	fi
   18542 
   18543 
   18544 fi
   18545 
   18546 
   18547 
   18548 
   18549 
   18550 
   18551 
   18552 		CWARNFLAGS="$BASE_CFLAGS"
   18553 		if  test "x$GCC" = xyes ; then
   18554 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18555 		fi
   18556 
   18557 
   18558 
   18559 
   18560 
   18561 
   18562 
   18563 
   18564 # Check whether --enable-strict-compilation was given.
   18565 if test ${enable_strict_compilation+y}
   18566 then :
   18567   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18568 else $as_nop
   18569   STRICT_COMPILE=no
   18570 fi
   18571 
   18572 
   18573 
   18574 
   18575 
   18576 
   18577 STRICT_CFLAGS=""
   18578 
   18579 
   18580 
   18581 
   18582 
   18583 
   18584 
   18585 
   18586 
   18587 
   18588 
   18589 
   18590 
   18591 xorg_testset_save_CFLAGS="$CFLAGS"
   18592 
   18593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18595 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18596 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18597 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18598 then :
   18599   printf %s "(cached) " >&6
   18600 else $as_nop
   18601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18602 /* end confdefs.h.  */
   18603 int i;
   18604 _ACEOF
   18605 if ac_fn_c_try_compile "$LINENO"
   18606 then :
   18607   xorg_cv_cc_flag_unknown_warning_option=yes
   18608 else $as_nop
   18609   xorg_cv_cc_flag_unknown_warning_option=no
   18610 fi
   18611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18612 fi
   18613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18614 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18616 	CFLAGS="$xorg_testset_save_CFLAGS"
   18617 fi
   18618 
   18619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18622 	fi
   18623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18624 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18625 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18626 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18627 then :
   18628   printf %s "(cached) " >&6
   18629 else $as_nop
   18630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18631 /* end confdefs.h.  */
   18632 int i;
   18633 _ACEOF
   18634 if ac_fn_c_try_compile "$LINENO"
   18635 then :
   18636   xorg_cv_cc_flag_unused_command_line_argument=yes
   18637 else $as_nop
   18638   xorg_cv_cc_flag_unused_command_line_argument=no
   18639 fi
   18640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18641 fi
   18642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18643 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18644 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18645 	CFLAGS="$xorg_testset_save_CFLAGS"
   18646 fi
   18647 
   18648 found="no"
   18649 
   18650 	if test $found = "no" ; then
   18651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18653 		fi
   18654 
   18655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18657 		fi
   18658 
   18659 		CFLAGS="$CFLAGS -pedantic"
   18660 
   18661 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18662 printf %s "checking if $CC supports -pedantic... " >&6; }
   18663 		cacheid=xorg_cv_cc_flag__pedantic
   18664 		if eval test \${$cacheid+y}
   18665 then :
   18666   printf %s "(cached) " >&6
   18667 else $as_nop
   18668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18669 /* end confdefs.h.  */
   18670 int i;
   18671 int
   18672 main (void)
   18673 {
   18674 
   18675   ;
   18676   return 0;
   18677 }
   18678 _ACEOF
   18679 if ac_fn_c_try_link "$LINENO"
   18680 then :
   18681   eval $cacheid=yes
   18682 else $as_nop
   18683   eval $cacheid=no
   18684 fi
   18685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18686     conftest$ac_exeext conftest.$ac_ext
   18687 fi
   18688 
   18689 
   18690 		CFLAGS="$xorg_testset_save_CFLAGS"
   18691 
   18692 		eval supported=\$$cacheid
   18693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18694 printf "%s\n" "$supported" >&6; }
   18695 		if test "$supported" = "yes" ; then
   18696 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18697 			found="yes"
   18698 		fi
   18699 	fi
   18700 
   18701 
   18702 
   18703 
   18704 
   18705 
   18706 
   18707 
   18708 
   18709 
   18710 
   18711 
   18712 
   18713 
   18714 
   18715 xorg_testset_save_CFLAGS="$CFLAGS"
   18716 
   18717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18720 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18721 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18722 then :
   18723   printf %s "(cached) " >&6
   18724 else $as_nop
   18725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18726 /* end confdefs.h.  */
   18727 int i;
   18728 _ACEOF
   18729 if ac_fn_c_try_compile "$LINENO"
   18730 then :
   18731   xorg_cv_cc_flag_unknown_warning_option=yes
   18732 else $as_nop
   18733   xorg_cv_cc_flag_unknown_warning_option=no
   18734 fi
   18735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18736 fi
   18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18738 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18740 	CFLAGS="$xorg_testset_save_CFLAGS"
   18741 fi
   18742 
   18743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18746 	fi
   18747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18748 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18749 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18750 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18751 then :
   18752   printf %s "(cached) " >&6
   18753 else $as_nop
   18754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18755 /* end confdefs.h.  */
   18756 int i;
   18757 _ACEOF
   18758 if ac_fn_c_try_compile "$LINENO"
   18759 then :
   18760   xorg_cv_cc_flag_unused_command_line_argument=yes
   18761 else $as_nop
   18762   xorg_cv_cc_flag_unused_command_line_argument=no
   18763 fi
   18764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18765 fi
   18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18767 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18769 	CFLAGS="$xorg_testset_save_CFLAGS"
   18770 fi
   18771 
   18772 found="no"
   18773 
   18774 	if test $found = "no" ; then
   18775 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18777 		fi
   18778 
   18779 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18781 		fi
   18782 
   18783 		CFLAGS="$CFLAGS -Werror"
   18784 
   18785 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18786 printf %s "checking if $CC supports -Werror... " >&6; }
   18787 		cacheid=xorg_cv_cc_flag__Werror
   18788 		if eval test \${$cacheid+y}
   18789 then :
   18790   printf %s "(cached) " >&6
   18791 else $as_nop
   18792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18793 /* end confdefs.h.  */
   18794 int i;
   18795 int
   18796 main (void)
   18797 {
   18798 
   18799   ;
   18800   return 0;
   18801 }
   18802 _ACEOF
   18803 if ac_fn_c_try_link "$LINENO"
   18804 then :
   18805   eval $cacheid=yes
   18806 else $as_nop
   18807   eval $cacheid=no
   18808 fi
   18809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18810     conftest$ac_exeext conftest.$ac_ext
   18811 fi
   18812 
   18813 
   18814 		CFLAGS="$xorg_testset_save_CFLAGS"
   18815 
   18816 		eval supported=\$$cacheid
   18817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18818 printf "%s\n" "$supported" >&6; }
   18819 		if test "$supported" = "yes" ; then
   18820 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18821 			found="yes"
   18822 		fi
   18823 	fi
   18824 
   18825 	if test $found = "no" ; then
   18826 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18828 		fi
   18829 
   18830 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18832 		fi
   18833 
   18834 		CFLAGS="$CFLAGS -errwarn"
   18835 
   18836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18837 printf %s "checking if $CC supports -errwarn... " >&6; }
   18838 		cacheid=xorg_cv_cc_flag__errwarn
   18839 		if eval test \${$cacheid+y}
   18840 then :
   18841   printf %s "(cached) " >&6
   18842 else $as_nop
   18843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18844 /* end confdefs.h.  */
   18845 int i;
   18846 int
   18847 main (void)
   18848 {
   18849 
   18850   ;
   18851   return 0;
   18852 }
   18853 _ACEOF
   18854 if ac_fn_c_try_link "$LINENO"
   18855 then :
   18856   eval $cacheid=yes
   18857 else $as_nop
   18858   eval $cacheid=no
   18859 fi
   18860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18861     conftest$ac_exeext conftest.$ac_ext
   18862 fi
   18863 
   18864 
   18865 		CFLAGS="$xorg_testset_save_CFLAGS"
   18866 
   18867 		eval supported=\$$cacheid
   18868 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18869 printf "%s\n" "$supported" >&6; }
   18870 		if test "$supported" = "yes" ; then
   18871 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18872 			found="yes"
   18873 		fi
   18874 	fi
   18875 
   18876 
   18877 
   18878 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18879 # activate it with -Werror, so we add it here explicitly.
   18880 
   18881 
   18882 
   18883 
   18884 
   18885 
   18886 
   18887 
   18888 
   18889 
   18890 
   18891 
   18892 
   18893 xorg_testset_save_CFLAGS="$CFLAGS"
   18894 
   18895 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18896 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18897 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18898 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18899 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18900 then :
   18901   printf %s "(cached) " >&6
   18902 else $as_nop
   18903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18904 /* end confdefs.h.  */
   18905 int i;
   18906 _ACEOF
   18907 if ac_fn_c_try_compile "$LINENO"
   18908 then :
   18909   xorg_cv_cc_flag_unknown_warning_option=yes
   18910 else $as_nop
   18911   xorg_cv_cc_flag_unknown_warning_option=no
   18912 fi
   18913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18914 fi
   18915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18916 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18917 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18918 	CFLAGS="$xorg_testset_save_CFLAGS"
   18919 fi
   18920 
   18921 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18922 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18923 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18924 	fi
   18925 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18926 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18927 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18928 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18929 then :
   18930   printf %s "(cached) " >&6
   18931 else $as_nop
   18932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18933 /* end confdefs.h.  */
   18934 int i;
   18935 _ACEOF
   18936 if ac_fn_c_try_compile "$LINENO"
   18937 then :
   18938   xorg_cv_cc_flag_unused_command_line_argument=yes
   18939 else $as_nop
   18940   xorg_cv_cc_flag_unused_command_line_argument=no
   18941 fi
   18942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18943 fi
   18944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18945 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18946 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18947 	CFLAGS="$xorg_testset_save_CFLAGS"
   18948 fi
   18949 
   18950 found="no"
   18951 
   18952 	if test $found = "no" ; then
   18953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18955 		fi
   18956 
   18957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18959 		fi
   18960 
   18961 		CFLAGS="$CFLAGS -Werror=attributes"
   18962 
   18963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18964 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   18965 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18966 		if eval test \${$cacheid+y}
   18967 then :
   18968   printf %s "(cached) " >&6
   18969 else $as_nop
   18970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18971 /* end confdefs.h.  */
   18972 int i;
   18973 int
   18974 main (void)
   18975 {
   18976 
   18977   ;
   18978   return 0;
   18979 }
   18980 _ACEOF
   18981 if ac_fn_c_try_link "$LINENO"
   18982 then :
   18983   eval $cacheid=yes
   18984 else $as_nop
   18985   eval $cacheid=no
   18986 fi
   18987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18988     conftest$ac_exeext conftest.$ac_ext
   18989 fi
   18990 
   18991 
   18992 		CFLAGS="$xorg_testset_save_CFLAGS"
   18993 
   18994 		eval supported=\$$cacheid
   18995 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18996 printf "%s\n" "$supported" >&6; }
   18997 		if test "$supported" = "yes" ; then
   18998 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18999 			found="yes"
   19000 		fi
   19001 	fi
   19002 
   19003 
   19004 
   19005 if test "x$STRICT_COMPILE" = "xyes"; then
   19006     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19007     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19008 fi
   19009 
   19010 
   19011 
   19012 
   19013 
   19014 
   19015 cat >>confdefs.h <<_ACEOF
   19016 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19017 _ACEOF
   19018 
   19019 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19020 	if test "x$PVM" = "x"; then
   19021 		PVM="0"
   19022 	fi
   19023 
   19024 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19025 
   19026 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19027 	if test "x$PVP" = "x"; then
   19028 		PVP="0"
   19029 	fi
   19030 
   19031 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19032 
   19033 
   19034 
   19035 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19036 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19037 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19038 touch \$(top_srcdir)/ChangeLog; \
   19039 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19040 
   19041 
   19042 
   19043 
   19044 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19045 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19046 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19047 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19048 touch \$(top_srcdir)/INSTALL; \
   19049 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19050 
   19051 
   19052 
   19053 
   19054 
   19055 
   19056 case $host_os in
   19057     solaris*)
   19058         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19059         # check for a man page file found in later versions that use
   19060         # traditional section numbers instead
   19061         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19062 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19063 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19064 then :
   19065   printf %s "(cached) " >&6
   19066 else $as_nop
   19067   test "$cross_compiling" = yes &&
   19068   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19069 if test -r "/usr/share/man/man7/attributes.7"; then
   19070   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19071 else
   19072   ac_cv_file__usr_share_man_man7_attributes_7=no
   19073 fi
   19074 fi
   19075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19076 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19077 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19078 then :
   19079   SYSV_MAN_SECTIONS=false
   19080 else $as_nop
   19081   SYSV_MAN_SECTIONS=true
   19082 fi
   19083 
   19084         ;;
   19085     *) SYSV_MAN_SECTIONS=false ;;
   19086 esac
   19087 
   19088 if test x$APP_MAN_SUFFIX = x    ; then
   19089     APP_MAN_SUFFIX=1
   19090 fi
   19091 if test x$APP_MAN_DIR = x    ; then
   19092     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19093 fi
   19094 
   19095 if test x$LIB_MAN_SUFFIX = x    ; then
   19096     LIB_MAN_SUFFIX=3
   19097 fi
   19098 if test x$LIB_MAN_DIR = x    ; then
   19099     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19100 fi
   19101 
   19102 if test x$FILE_MAN_SUFFIX = x    ; then
   19103     case $SYSV_MAN_SECTIONS in
   19104 	true)				FILE_MAN_SUFFIX=4  ;;
   19105 	*)				FILE_MAN_SUFFIX=5  ;;
   19106     esac
   19107 fi
   19108 if test x$FILE_MAN_DIR = x    ; then
   19109     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19110 fi
   19111 
   19112 if test x$MISC_MAN_SUFFIX = x    ; then
   19113     case $SYSV_MAN_SECTIONS in
   19114 	true)				MISC_MAN_SUFFIX=5  ;;
   19115 	*)				MISC_MAN_SUFFIX=7  ;;
   19116     esac
   19117 fi
   19118 if test x$MISC_MAN_DIR = x    ; then
   19119     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19120 fi
   19121 
   19122 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19123     case $SYSV_MAN_SECTIONS in
   19124 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19125 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19126     esac
   19127 fi
   19128 if test x$DRIVER_MAN_DIR = x    ; then
   19129     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19130 fi
   19131 
   19132 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19133     case $SYSV_MAN_SECTIONS in
   19134 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19135 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19136     esac
   19137 fi
   19138 if test x$ADMIN_MAN_DIR = x    ; then
   19139     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19140 fi
   19141 
   19142 
   19143 
   19144 
   19145 
   19146 
   19147 
   19148 
   19149 
   19150 
   19151 
   19152 
   19153 
   19154 
   19155 
   19156 XORG_MAN_PAGE="X Version 11"
   19157 
   19158 MAN_SUBSTS="\
   19159 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19160 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19161 	-e 's|__xservername__|Xorg|g' \
   19162 	-e 's|__xconfigfile__|xorg.conf|g' \
   19163 	-e 's|__projectroot__|\$(prefix)|g' \
   19164 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19165 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19166 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19167 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19168 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19169 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19170 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19171 
   19172 
   19173 
   19174 # Check whether --enable-silent-rules was given.
   19175 if test ${enable_silent_rules+y}
   19176 then :
   19177   enableval=$enable_silent_rules;
   19178 fi
   19179 
   19180 case $enable_silent_rules in # (((
   19181   yes) AM_DEFAULT_VERBOSITY=0;;
   19182    no) AM_DEFAULT_VERBOSITY=1;;
   19183     *) AM_DEFAULT_VERBOSITY=0;;
   19184 esac
   19185 am_make=${MAKE-make}
   19186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19187 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19188 if test ${am_cv_make_support_nested_variables+y}
   19189 then :
   19190   printf %s "(cached) " >&6
   19191 else $as_nop
   19192   if printf "%s\n" 'TRUE=$(BAR$(V))
   19193 BAR0=false
   19194 BAR1=true
   19195 V=1
   19196 am__doit:
   19197 	@$(TRUE)
   19198 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19199   am_cv_make_support_nested_variables=yes
   19200 else
   19201   am_cv_make_support_nested_variables=no
   19202 fi
   19203 fi
   19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19205 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19206 if test $am_cv_make_support_nested_variables = yes; then
   19207     AM_V='$(V)'
   19208   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19209 else
   19210   AM_V=$AM_DEFAULT_VERBOSITY
   19211   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19212 fi
   19213 AM_BACKSLASH='\'
   19214 
   19215 
   19216 
   19217 # Checks for library functions
   19218 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   19219 if test "x$ac_cv_func_strlcat" = xyes
   19220 then :
   19221   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   19222 
   19223 fi
   19224 
   19225 ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
   19226 if test "x$ac_cv_func_fork" = xyes
   19227 then :
   19228 
   19229 else $as_nop
   19230   printf "%s\n" "#define NO_ZPIPE 1" >>confdefs.h
   19231 
   19232 fi
   19233 
   19234 
   19235 # Obtain compiler/linker options for dependencies
   19236 
   19237 pkg_failed=no
   19238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XPM" >&5
   19239 printf %s "checking for XPM... " >&6; }
   19240 
   19241 if test -n "$XPM_CFLAGS"; then
   19242     pkg_cv_XPM_CFLAGS="$XPM_CFLAGS"
   19243  elif test -n "$PKG_CONFIG"; then
   19244     if test -n "$PKG_CONFIG" && \
   19245     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   19246   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   19247   ac_status=$?
   19248   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19249   test $ac_status = 0; }; then
   19250   pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11" 2>/dev/null`
   19251 		      test "x$?" != "x0" && pkg_failed=yes
   19252 else
   19253   pkg_failed=yes
   19254 fi
   19255  else
   19256     pkg_failed=untried
   19257 fi
   19258 if test -n "$XPM_LIBS"; then
   19259     pkg_cv_XPM_LIBS="$XPM_LIBS"
   19260  elif test -n "$PKG_CONFIG"; then
   19261     if test -n "$PKG_CONFIG" && \
   19262     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   19263   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   19264   ac_status=$?
   19265   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19266   test $ac_status = 0; }; then
   19267   pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xproto x11" 2>/dev/null`
   19268 		      test "x$?" != "x0" && pkg_failed=yes
   19269 else
   19270   pkg_failed=yes
   19271 fi
   19272  else
   19273     pkg_failed=untried
   19274 fi
   19275 
   19276 
   19277 
   19278 if test $pkg_failed = yes; then
   19279    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19280 printf "%s\n" "no" >&6; }
   19281 
   19282 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19283         _pkg_short_errors_supported=yes
   19284 else
   19285         _pkg_short_errors_supported=no
   19286 fi
   19287         if test $_pkg_short_errors_supported = yes; then
   19288 	        XPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto x11" 2>&1`
   19289         else
   19290 	        XPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto x11" 2>&1`
   19291         fi
   19292 	# Put the nasty error message in config.log where it belongs
   19293 	echo "$XPM_PKG_ERRORS" >&5
   19294 
   19295 	as_fn_error $? "Package requirements (xproto x11) were not met:
   19296 
   19297 $XPM_PKG_ERRORS
   19298 
   19299 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19300 installed software in a non-standard prefix.
   19301 
   19302 Alternatively, you may set the environment variables XPM_CFLAGS
   19303 and XPM_LIBS to avoid the need to call pkg-config.
   19304 See the pkg-config man page for more details." "$LINENO" 5
   19305 elif test $pkg_failed = untried; then
   19306      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19307 printf "%s\n" "no" >&6; }
   19308 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19309 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19310 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19311 is in your PATH or set the PKG_CONFIG environment variable to the full
   19312 path to pkg-config.
   19313 
   19314 Alternatively, you may set the environment variables XPM_CFLAGS
   19315 and XPM_LIBS to avoid the need to call pkg-config.
   19316 See the pkg-config man page for more details.
   19317 
   19318 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19319 See \`config.log' for more details" "$LINENO" 5; }
   19320 else
   19321 	XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
   19322 	XPM_LIBS=$pkg_cv_XPM_LIBS
   19323         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19324 printf "%s\n" "yes" >&6; }
   19325 
   19326 fi
   19327 
   19328 pkg_failed=no
   19329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SXPM" >&5
   19330 printf %s "checking for SXPM... " >&6; }
   19331 
   19332 if test -n "$SXPM_CFLAGS"; then
   19333     pkg_cv_SXPM_CFLAGS="$SXPM_CFLAGS"
   19334  elif test -n "$PKG_CONFIG"; then
   19335     if test -n "$PKG_CONFIG" && \
   19336     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   19337   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   19338   ac_status=$?
   19339   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19340   test $ac_status = 0; }; then
   19341   pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   19342 		      test "x$?" != "x0" && pkg_failed=yes
   19343 else
   19344   pkg_failed=yes
   19345 fi
   19346  else
   19347     pkg_failed=untried
   19348 fi
   19349 if test -n "$SXPM_LIBS"; then
   19350     pkg_cv_SXPM_LIBS="$SXPM_LIBS"
   19351  elif test -n "$PKG_CONFIG"; then
   19352     if test -n "$PKG_CONFIG" && \
   19353     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   19354   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   19355   ac_status=$?
   19356   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19357   test $ac_status = 0; }; then
   19358   pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   19359 		      test "x$?" != "x0" && pkg_failed=yes
   19360 else
   19361   pkg_failed=yes
   19362 fi
   19363  else
   19364     pkg_failed=untried
   19365 fi
   19366 
   19367 
   19368 
   19369 if test $pkg_failed = yes; then
   19370    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19371 printf "%s\n" "no" >&6; }
   19372 
   19373 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19374         _pkg_short_errors_supported=yes
   19375 else
   19376         _pkg_short_errors_supported=no
   19377 fi
   19378         if test $_pkg_short_errors_supported = yes; then
   19379 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   19380         else
   19381 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   19382         fi
   19383 	# Put the nasty error message in config.log where it belongs
   19384 	echo "$SXPM_PKG_ERRORS" >&5
   19385 
   19386 	build_sxpm=false
   19387 elif test $pkg_failed = untried; then
   19388      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19389 printf "%s\n" "no" >&6; }
   19390 	build_sxpm=false
   19391 else
   19392 	SXPM_CFLAGS=$pkg_cv_SXPM_CFLAGS
   19393 	SXPM_LIBS=$pkg_cv_SXPM_LIBS
   19394         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19395 printf "%s\n" "yes" >&6; }
   19396 	build_sxpm=true
   19397 fi
   19398  if test x$build_sxpm = xtrue; then
   19399   BUILD_SXPM_TRUE=
   19400   BUILD_SXPM_FALSE='#'
   19401 else
   19402   BUILD_SXPM_TRUE='#'
   19403   BUILD_SXPM_FALSE=
   19404 fi
   19405 
   19406 
   19407 # Internationalization & localization support
   19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
   19409 printf %s "checking for library containing gettext... " >&6; }
   19410 if test ${ac_cv_search_gettext+y}
   19411 then :
   19412   printf %s "(cached) " >&6
   19413 else $as_nop
   19414   ac_func_search_save_LIBS=$LIBS
   19415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19416 /* end confdefs.h.  */
   19417 
   19418 /* Override any GCC internal prototype to avoid an error.
   19419    Use char because int might match the return type of a GCC
   19420    builtin and then its argument prototype would still apply.  */
   19421 char gettext ();
   19422 int
   19423 main (void)
   19424 {
   19425 return gettext ();
   19426   ;
   19427   return 0;
   19428 }
   19429 _ACEOF
   19430 for ac_lib in '' intl
   19431 do
   19432   if test -z "$ac_lib"; then
   19433     ac_res="none required"
   19434   else
   19435     ac_res=-l$ac_lib
   19436     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19437   fi
   19438   if ac_fn_c_try_link "$LINENO"
   19439 then :
   19440   ac_cv_search_gettext=$ac_res
   19441 fi
   19442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19443     conftest$ac_exeext
   19444   if test ${ac_cv_search_gettext+y}
   19445 then :
   19446   break
   19447 fi
   19448 done
   19449 if test ${ac_cv_search_gettext+y}
   19450 then :
   19451 
   19452 else $as_nop
   19453   ac_cv_search_gettext=no
   19454 fi
   19455 rm conftest.$ac_ext
   19456 LIBS=$ac_func_search_save_LIBS
   19457 fi
   19458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
   19459 printf "%s\n" "$ac_cv_search_gettext" >&6; }
   19460 ac_res=$ac_cv_search_gettext
   19461 if test "$ac_res" != no
   19462 then :
   19463   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19464   USE_GETTEXT="yes"
   19465 else $as_nop
   19466   USE_GETTEXT="no"
   19467 fi
   19468 
   19469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5
   19470 printf %s "checking where to install localized messages... " >&6; }
   19471 
   19472 # Check whether --with-localedir was given.
   19473 if test ${with_localedir+y}
   19474 then :
   19475   withval=$with_localedir; LOCALEDIR=${withval}
   19476 else $as_nop
   19477   LOCALEDIR=${datadir}/locale
   19478 fi
   19479 
   19480 
   19481   prefix_NONE=
   19482   exec_prefix_NONE=
   19483   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   19484   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   19485   eval ax_define_dir="\"$LOCALEDIR\""
   19486   eval ax_define_dir="\"$ax_define_dir\""
   19487   LOCALEDIR="$ax_define_dir"
   19488 
   19489 
   19490 printf "%s\n" "#define LOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   19491 
   19492   test "$prefix_NONE" && prefix=NONE
   19493   test "$exec_prefix_NONE" && exec_prefix=NONE
   19494 
   19495 if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
   19496 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
   19497 printf "%s\n" "nowhere" >&6; }
   19498 	USE_GETTEXT="no"
   19499 else
   19500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5
   19501 printf "%s\n" "$LOCALEDIR" >&6; }
   19502 fi
   19503 
   19504 if test "x$USE_GETTEXT" = "xyes" ; then
   19505 
   19506 printf "%s\n" "#define USE_GETTEXT 1" >>confdefs.h
   19507 
   19508 fi
   19509  if test "x$USE_GETTEXT" = "xyes"; then
   19510   USE_GETTEXT_TRUE=
   19511   USE_GETTEXT_FALSE='#'
   19512 else
   19513   USE_GETTEXT_TRUE='#'
   19514   USE_GETTEXT_FALSE=
   19515 fi
   19516 
   19517 
   19518 # Optional feature: When ___.xpm is requested, also look for ___.xpm.Z & .gz
   19519 # Replaces ZFILEDEF = -DSTAT_ZFILE in old Imakefile
   19520 # Check whether --enable-stat-zfile was given.
   19521 if test ${enable_stat_zfile+y}
   19522 then :
   19523   enableval=$enable_stat_zfile; STAT_ZFILE=$enableval
   19524 else $as_nop
   19525   STAT_ZFILE=yes
   19526 fi
   19527 
   19528 if test x$STAT_ZFILE = xyes ; then
   19529 
   19530 printf "%s\n" "#define STAT_ZFILE 1" >>confdefs.h
   19531 
   19532 fi
   19533 
   19534 
   19535 case $host_os in
   19536 	*mingw*)
   19537 
   19538 printf "%s\n" "#define NO_ZPIPE 1" >>confdefs.h
   19539 
   19540 	;;
   19541 	*)
   19542 	;;
   19543 esac
   19544 
   19545 ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile man/Makefile src/Makefile sxpm/Makefile cxpm/Makefile xpm.pc"
   19546 
   19547 cat >confcache <<\_ACEOF
   19548 # This file is a shell script that caches the results of configure
   19549 # tests run on this system so they can be shared between configure
   19550 # scripts and configure runs, see configure's option --config-cache.
   19551 # It is not useful on other systems.  If it contains results you don't
   19552 # want to keep, you may remove or edit it.
   19553 #
   19554 # config.status only pays attention to the cache file if you give it
   19555 # the --recheck option to rerun configure.
   19556 #
   19557 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19558 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19559 # following values.
   19560 
   19561 _ACEOF
   19562 
   19563 # The following way of writing the cache mishandles newlines in values,
   19564 # but we know of no workaround that is simple, portable, and efficient.
   19565 # So, we kill variables containing newlines.
   19566 # Ultrix sh set writes to stderr and can't be redirected directly,
   19567 # and sets the high bit in the cache file unless we assign to the vars.
   19568 (
   19569   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19570     eval ac_val=\$$ac_var
   19571     case $ac_val in #(
   19572     *${as_nl}*)
   19573       case $ac_var in #(
   19574       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19575 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19576       esac
   19577       case $ac_var in #(
   19578       _ | IFS | as_nl) ;; #(
   19579       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19580       *) { eval $ac_var=; unset $ac_var;} ;;
   19581       esac ;;
   19582     esac
   19583   done
   19584 
   19585   (set) 2>&1 |
   19586     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19587     *${as_nl}ac_space=\ *)
   19588       # `set' does not quote correctly, so add quotes: double-quote
   19589       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19590       sed -n \
   19591 	"s/'/'\\\\''/g;
   19592 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19593       ;; #(
   19594     *)
   19595       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19596       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19597       ;;
   19598     esac |
   19599     sort
   19600 ) |
   19601   sed '
   19602      /^ac_cv_env_/b end
   19603      t clear
   19604      :clear
   19605      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19606      t end
   19607      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19608      :end' >>confcache
   19609 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19610   if test -w "$cache_file"; then
   19611     if test "x$cache_file" != "x/dev/null"; then
   19612       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19613 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19614       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19615 	cat confcache >"$cache_file"
   19616       else
   19617         case $cache_file in #(
   19618         */* | ?:*)
   19619 	  mv -f confcache "$cache_file"$$ &&
   19620 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19621         *)
   19622 	  mv -f confcache "$cache_file" ;;
   19623 	esac
   19624       fi
   19625     fi
   19626   else
   19627     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19628 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19629   fi
   19630 fi
   19631 rm -f confcache
   19632 
   19633 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19634 # Let make expand exec_prefix.
   19635 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19636 
   19637 DEFS=-DHAVE_CONFIG_H
   19638 
   19639 ac_libobjs=
   19640 ac_ltlibobjs=
   19641 U=
   19642 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19643   # 1. Remove the extension, and $U if already installed.
   19644   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19645   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19646   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19647   #    will be set to the directory where LIBOBJS objects are built.
   19648   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19649   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19650 done
   19651 LIBOBJS=$ac_libobjs
   19652 
   19653 LTLIBOBJS=$ac_ltlibobjs
   19654 
   19655 
   19656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19657 printf %s "checking that generated files are newer than configure... " >&6; }
   19658    if test -n "$am_sleep_pid"; then
   19659      # Hide warnings about reused PIDs.
   19660      wait $am_sleep_pid 2>/dev/null
   19661    fi
   19662    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19663 printf "%s\n" "done" >&6; }
   19664  if test -n "$EXEEXT"; then
   19665   am__EXEEXT_TRUE=
   19666   am__EXEEXT_FALSE='#'
   19667 else
   19668   am__EXEEXT_TRUE='#'
   19669   am__EXEEXT_FALSE=
   19670 fi
   19671 
   19672 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19673   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19675 fi
   19676 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19677   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19679 fi
   19680 if test -z "${BUILD_SXPM_TRUE}" && test -z "${BUILD_SXPM_FALSE}"; then
   19681   as_fn_error $? "conditional \"BUILD_SXPM\" was never defined.
   19682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19683 fi
   19684 if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
   19685   as_fn_error $? "conditional \"USE_GETTEXT\" was never defined.
   19686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19687 fi
   19688 
   19689 : "${CONFIG_STATUS=./config.status}"
   19690 ac_write_fail=0
   19691 ac_clean_files_save=$ac_clean_files
   19692 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19694 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19695 as_write_fail=0
   19696 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19697 #! $SHELL
   19698 # Generated by $as_me.
   19699 # Run this file to recreate the current configuration.
   19700 # Compiler output produced by configure, useful for debugging
   19701 # configure, is in config.log if it exists.
   19702 
   19703 debug=false
   19704 ac_cs_recheck=false
   19705 ac_cs_silent=false
   19706 
   19707 SHELL=\${CONFIG_SHELL-$SHELL}
   19708 export SHELL
   19709 _ASEOF
   19710 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19711 ## -------------------- ##
   19712 ## M4sh Initialization. ##
   19713 ## -------------------- ##
   19714 
   19715 # Be more Bourne compatible
   19716 DUALCASE=1; export DUALCASE # for MKS sh
   19717 as_nop=:
   19718 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   19719 then :
   19720   emulate sh
   19721   NULLCMD=:
   19722   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19723   # is contrary to our usage.  Disable this feature.
   19724   alias -g '${1+"$@"}'='"$@"'
   19725   setopt NO_GLOB_SUBST
   19726 else $as_nop
   19727   case `(set -o) 2>/dev/null` in #(
   19728   *posix*) :
   19729     set -o posix ;; #(
   19730   *) :
   19731      ;;
   19732 esac
   19733 fi
   19734 
   19735 
   19736 
   19737 # Reset variables that may have inherited troublesome values from
   19738 # the environment.
   19739 
   19740 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   19741 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   19742 # side effect of setting IFS to empty, thus disabling word splitting.)
   19743 # Quoting is to prevent editors from complaining about space-tab.
   19744 as_nl='
   19745 '
   19746 export as_nl
   19747 IFS=" ""	$as_nl"
   19748 
   19749 PS1='$ '
   19750 PS2='> '
   19751 PS4='+ '
   19752 
   19753 # Ensure predictable behavior from utilities with locale-dependent output.
   19754 LC_ALL=C
   19755 export LC_ALL
   19756 LANGUAGE=C
   19757 export LANGUAGE
   19758 
   19759 # We cannot yet rely on "unset" to work, but we need these variables
   19760 # to be unset--not just set to an empty or harmless value--now, to
   19761 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   19762 # also avoids known problems related to "unset" and subshell syntax
   19763 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   19764 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   19765 do eval test \${$as_var+y} \
   19766   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19767 done
   19768 
   19769 # Ensure that fds 0, 1, and 2 are open.
   19770 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   19771 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   19772 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   19773 
   19774 # The user is always right.
   19775 if ${PATH_SEPARATOR+false} :; then
   19776   PATH_SEPARATOR=:
   19777   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19778     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19779       PATH_SEPARATOR=';'
   19780   }
   19781 fi
   19782 
   19783 
   19784 # Find who we are.  Look in the path if we contain no directory separator.
   19785 as_myself=
   19786 case $0 in #((
   19787   *[\\/]* ) as_myself=$0 ;;
   19788   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19789 for as_dir in $PATH
   19790 do
   19791   IFS=$as_save_IFS
   19792   case $as_dir in #(((
   19793     '') as_dir=./ ;;
   19794     */) ;;
   19795     *) as_dir=$as_dir/ ;;
   19796   esac
   19797     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   19798   done
   19799 IFS=$as_save_IFS
   19800 
   19801      ;;
   19802 esac
   19803 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19804 # in which case we are not to be found in the path.
   19805 if test "x$as_myself" = x; then
   19806   as_myself=$0
   19807 fi
   19808 if test ! -f "$as_myself"; then
   19809   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19810   exit 1
   19811 fi
   19812 
   19813 
   19814 
   19815 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19816 # ----------------------------------------
   19817 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19818 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19819 # script with STATUS, using 1 if that was 0.
   19820 as_fn_error ()
   19821 {
   19822   as_status=$1; test $as_status -eq 0 && as_status=1
   19823   if test "$4"; then
   19824     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19825     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19826   fi
   19827   printf "%s\n" "$as_me: error: $2" >&2
   19828   as_fn_exit $as_status
   19829 } # as_fn_error
   19830 
   19831 
   19832 
   19833 # as_fn_set_status STATUS
   19834 # -----------------------
   19835 # Set $? to STATUS, without forking.
   19836 as_fn_set_status ()
   19837 {
   19838   return $1
   19839 } # as_fn_set_status
   19840 
   19841 # as_fn_exit STATUS
   19842 # -----------------
   19843 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19844 as_fn_exit ()
   19845 {
   19846   set +e
   19847   as_fn_set_status $1
   19848   exit $1
   19849 } # as_fn_exit
   19850 
   19851 # as_fn_unset VAR
   19852 # ---------------
   19853 # Portably unset VAR.
   19854 as_fn_unset ()
   19855 {
   19856   { eval $1=; unset $1;}
   19857 }
   19858 as_unset=as_fn_unset
   19859 
   19860 # as_fn_append VAR VALUE
   19861 # ----------------------
   19862 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19863 # advantage of any shell optimizations that allow amortized linear growth over
   19864 # repeated appends, instead of the typical quadratic growth present in naive
   19865 # implementations.
   19866 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   19867 then :
   19868   eval 'as_fn_append ()
   19869   {
   19870     eval $1+=\$2
   19871   }'
   19872 else $as_nop
   19873   as_fn_append ()
   19874   {
   19875     eval $1=\$$1\$2
   19876   }
   19877 fi # as_fn_append
   19878 
   19879 # as_fn_arith ARG...
   19880 # ------------------
   19881 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19882 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19883 # must be portable across $(()) and expr.
   19884 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   19885 then :
   19886   eval 'as_fn_arith ()
   19887   {
   19888     as_val=$(( $* ))
   19889   }'
   19890 else $as_nop
   19891   as_fn_arith ()
   19892   {
   19893     as_val=`expr "$@" || test $? -eq 1`
   19894   }
   19895 fi # as_fn_arith
   19896 
   19897 
   19898 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19899    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19900   as_expr=expr
   19901 else
   19902   as_expr=false
   19903 fi
   19904 
   19905 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19906   as_basename=basename
   19907 else
   19908   as_basename=false
   19909 fi
   19910 
   19911 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19912   as_dirname=dirname
   19913 else
   19914   as_dirname=false
   19915 fi
   19916 
   19917 as_me=`$as_basename -- "$0" ||
   19918 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19919 	 X"$0" : 'X\(//\)$' \| \
   19920 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19921 printf "%s\n" X/"$0" |
   19922     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19923 	    s//\1/
   19924 	    q
   19925 	  }
   19926 	  /^X\/\(\/\/\)$/{
   19927 	    s//\1/
   19928 	    q
   19929 	  }
   19930 	  /^X\/\(\/\).*/{
   19931 	    s//\1/
   19932 	    q
   19933 	  }
   19934 	  s/.*/./; q'`
   19935 
   19936 # Avoid depending upon Character Ranges.
   19937 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19938 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19939 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19940 as_cr_digits='0123456789'
   19941 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19942 
   19943 
   19944 # Determine whether it's possible to make 'echo' print without a newline.
   19945 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   19946 # for compatibility with existing Makefiles.
   19947 ECHO_C= ECHO_N= ECHO_T=
   19948 case `echo -n x` in #(((((
   19949 -n*)
   19950   case `echo 'xy\c'` in
   19951   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19952   xy)  ECHO_C='\c';;
   19953   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19954        ECHO_T='	';;
   19955   esac;;
   19956 *)
   19957   ECHO_N='-n';;
   19958 esac
   19959 
   19960 # For backward compatibility with old third-party macros, we provide
   19961 # the shell variables $as_echo and $as_echo_n.  New code should use
   19962 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   19963 as_echo='printf %s\n'
   19964 as_echo_n='printf %s'
   19965 
   19966 rm -f conf$$ conf$$.exe conf$$.file
   19967 if test -d conf$$.dir; then
   19968   rm -f conf$$.dir/conf$$.file
   19969 else
   19970   rm -f conf$$.dir
   19971   mkdir conf$$.dir 2>/dev/null
   19972 fi
   19973 if (echo >conf$$.file) 2>/dev/null; then
   19974   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19975     as_ln_s='ln -s'
   19976     # ... but there are two gotchas:
   19977     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19978     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19979     # In both cases, we have to default to `cp -pR'.
   19980     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19981       as_ln_s='cp -pR'
   19982   elif ln conf$$.file conf$$ 2>/dev/null; then
   19983     as_ln_s=ln
   19984   else
   19985     as_ln_s='cp -pR'
   19986   fi
   19987 else
   19988   as_ln_s='cp -pR'
   19989 fi
   19990 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19991 rmdir conf$$.dir 2>/dev/null
   19992 
   19993 
   19994 # as_fn_mkdir_p
   19995 # -------------
   19996 # Create "$as_dir" as a directory, including parents if necessary.
   19997 as_fn_mkdir_p ()
   19998 {
   19999 
   20000   case $as_dir in #(
   20001   -*) as_dir=./$as_dir;;
   20002   esac
   20003   test -d "$as_dir" || eval $as_mkdir_p || {
   20004     as_dirs=
   20005     while :; do
   20006       case $as_dir in #(
   20007       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20008       *) as_qdir=$as_dir;;
   20009       esac
   20010       as_dirs="'$as_qdir' $as_dirs"
   20011       as_dir=`$as_dirname -- "$as_dir" ||
   20012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20013 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20014 	 X"$as_dir" : 'X\(//\)$' \| \
   20015 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20016 printf "%s\n" X"$as_dir" |
   20017     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20018 	    s//\1/
   20019 	    q
   20020 	  }
   20021 	  /^X\(\/\/\)[^/].*/{
   20022 	    s//\1/
   20023 	    q
   20024 	  }
   20025 	  /^X\(\/\/\)$/{
   20026 	    s//\1/
   20027 	    q
   20028 	  }
   20029 	  /^X\(\/\).*/{
   20030 	    s//\1/
   20031 	    q
   20032 	  }
   20033 	  s/.*/./; q'`
   20034       test -d "$as_dir" && break
   20035     done
   20036     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20037   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20038 
   20039 
   20040 } # as_fn_mkdir_p
   20041 if mkdir -p . 2>/dev/null; then
   20042   as_mkdir_p='mkdir -p "$as_dir"'
   20043 else
   20044   test -d ./-p && rmdir ./-p
   20045   as_mkdir_p=false
   20046 fi
   20047 
   20048 
   20049 # as_fn_executable_p FILE
   20050 # -----------------------
   20051 # Test if FILE is an executable regular file.
   20052 as_fn_executable_p ()
   20053 {
   20054   test -f "$1" && test -x "$1"
   20055 } # as_fn_executable_p
   20056 as_test_x='test -x'
   20057 as_executable_p=as_fn_executable_p
   20058 
   20059 # Sed expression to map a string onto a valid CPP name.
   20060 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20061 
   20062 # Sed expression to map a string onto a valid variable name.
   20063 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20064 
   20065 
   20066 exec 6>&1
   20067 ## ----------------------------------- ##
   20068 ## Main body of $CONFIG_STATUS script. ##
   20069 ## ----------------------------------- ##
   20070 _ASEOF
   20071 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20072 
   20073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20074 # Save the log message, to keep $0 and so on meaningful, and to
   20075 # report actual input values of CONFIG_FILES etc. instead of their
   20076 # values after options handling.
   20077 ac_log="
   20078 This file was extended by libXpm $as_me 3.5.14, which was
   20079 generated by GNU Autoconf 2.71.  Invocation command line was
   20080 
   20081   CONFIG_FILES    = $CONFIG_FILES
   20082   CONFIG_HEADERS  = $CONFIG_HEADERS
   20083   CONFIG_LINKS    = $CONFIG_LINKS
   20084   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20085   $ $0 $@
   20086 
   20087 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20088 "
   20089 
   20090 _ACEOF
   20091 
   20092 case $ac_config_files in *"
   20093 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20094 esac
   20095 
   20096 case $ac_config_headers in *"
   20097 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20098 esac
   20099 
   20100 
   20101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20102 # Files that config.status was made for.
   20103 config_files="$ac_config_files"
   20104 config_headers="$ac_config_headers"
   20105 config_commands="$ac_config_commands"
   20106 
   20107 _ACEOF
   20108 
   20109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20110 ac_cs_usage="\
   20111 \`$as_me' instantiates files and other configuration actions
   20112 from templates according to the current configuration.  Unless the files
   20113 and actions are specified as TAGs, all are instantiated by default.
   20114 
   20115 Usage: $0 [OPTION]... [TAG]...
   20116 
   20117   -h, --help       print this help, then exit
   20118   -V, --version    print version number and configuration settings, then exit
   20119       --config     print configuration, then exit
   20120   -q, --quiet, --silent
   20121                    do not print progress messages
   20122   -d, --debug      don't remove temporary files
   20123       --recheck    update $as_me by reconfiguring in the same conditions
   20124       --file=FILE[:TEMPLATE]
   20125                    instantiate the configuration file FILE
   20126       --header=FILE[:TEMPLATE]
   20127                    instantiate the configuration header FILE
   20128 
   20129 Configuration files:
   20130 $config_files
   20131 
   20132 Configuration headers:
   20133 $config_headers
   20134 
   20135 Configuration commands:
   20136 $config_commands
   20137 
   20138 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues>."
   20139 
   20140 _ACEOF
   20141 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20142 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20144 ac_cs_config='$ac_cs_config_escaped'
   20145 ac_cs_version="\\
   20146 libXpm config.status 3.5.14
   20147 configured by $0, generated by GNU Autoconf 2.71,
   20148   with options \\"\$ac_cs_config\\"
   20149 
   20150 Copyright (C) 2021 Free Software Foundation, Inc.
   20151 This config.status script is free software; the Free Software Foundation
   20152 gives unlimited permission to copy, distribute and modify it."
   20153 
   20154 ac_pwd='$ac_pwd'
   20155 srcdir='$srcdir'
   20156 INSTALL='$INSTALL'
   20157 MKDIR_P='$MKDIR_P'
   20158 AWK='$AWK'
   20159 test -n "\$AWK" || AWK=awk
   20160 _ACEOF
   20161 
   20162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20163 # The default lists apply if the user does not specify any file.
   20164 ac_need_defaults=:
   20165 while test $# != 0
   20166 do
   20167   case $1 in
   20168   --*=?*)
   20169     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20170     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20171     ac_shift=:
   20172     ;;
   20173   --*=)
   20174     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20175     ac_optarg=
   20176     ac_shift=:
   20177     ;;
   20178   *)
   20179     ac_option=$1
   20180     ac_optarg=$2
   20181     ac_shift=shift
   20182     ;;
   20183   esac
   20184 
   20185   case $ac_option in
   20186   # Handling of the options.
   20187   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20188     ac_cs_recheck=: ;;
   20189   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20190     printf "%s\n" "$ac_cs_version"; exit ;;
   20191   --config | --confi | --conf | --con | --co | --c )
   20192     printf "%s\n" "$ac_cs_config"; exit ;;
   20193   --debug | --debu | --deb | --de | --d | -d )
   20194     debug=: ;;
   20195   --file | --fil | --fi | --f )
   20196     $ac_shift
   20197     case $ac_optarg in
   20198     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20199     '') as_fn_error $? "missing file argument" ;;
   20200     esac
   20201     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20202     ac_need_defaults=false;;
   20203   --header | --heade | --head | --hea )
   20204     $ac_shift
   20205     case $ac_optarg in
   20206     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20207     esac
   20208     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20209     ac_need_defaults=false;;
   20210   --he | --h)
   20211     # Conflict between --help and --header
   20212     as_fn_error $? "ambiguous option: \`$1'
   20213 Try \`$0 --help' for more information.";;
   20214   --help | --hel | -h )
   20215     printf "%s\n" "$ac_cs_usage"; exit ;;
   20216   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20217   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20218     ac_cs_silent=: ;;
   20219 
   20220   # This is an error.
   20221   -*) as_fn_error $? "unrecognized option: \`$1'
   20222 Try \`$0 --help' for more information." ;;
   20223 
   20224   *) as_fn_append ac_config_targets " $1"
   20225      ac_need_defaults=false ;;
   20226 
   20227   esac
   20228   shift
   20229 done
   20230 
   20231 ac_configure_extra_args=
   20232 
   20233 if $ac_cs_silent; then
   20234   exec 6>/dev/null
   20235   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20236 fi
   20237 
   20238 _ACEOF
   20239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20240 if \$ac_cs_recheck; then
   20241   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20242   shift
   20243   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20244   CONFIG_SHELL='$SHELL'
   20245   export CONFIG_SHELL
   20246   exec "\$@"
   20247 fi
   20248 
   20249 _ACEOF
   20250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20251 exec 5>>config.log
   20252 {
   20253   echo
   20254   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20255 ## Running $as_me. ##
   20256 _ASBOX
   20257   printf "%s\n" "$ac_log"
   20258 } >&5
   20259 
   20260 _ACEOF
   20261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20262 #
   20263 # INIT-COMMANDS
   20264 #
   20265 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20266 
   20267 
   20268 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20269 # if CDPATH is set.
   20270 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20271 
   20272 sed_quote_subst='$sed_quote_subst'
   20273 double_quote_subst='$double_quote_subst'
   20274 delay_variable_subst='$delay_variable_subst'
   20275 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20276 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20277 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20278 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20279 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20280 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20281 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20282 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20283 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20284 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20285 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20286 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20287 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20288 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20289 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20290 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20291 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20292 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20293 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20294 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20295 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20296 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20297 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20298 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20299 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20300 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20301 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20302 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20303 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20304 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20305 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20306 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20307 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20308 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20309 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20310 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20311 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20312 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20313 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20314 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20315 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20316 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20317 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20318 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20319 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20320 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20321 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20322 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20323 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20324 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20325 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20326 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20327 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20328 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20329 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20330 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20331 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20332 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20333 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20334 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20335 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"`'
   20336 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20337 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20338 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20339 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20340 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20341 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20342 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20343 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20344 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20345 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20346 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20347 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20348 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20349 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20350 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20351 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20352 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20353 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20354 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20355 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20356 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20357 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20358 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20359 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20360 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20361 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20362 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20363 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20364 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20365 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20366 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20367 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20368 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20369 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20370 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20371 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20372 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20373 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20374 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20375 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20376 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20377 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20378 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20379 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20380 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20381 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20382 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20383 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20384 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20385 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20386 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20387 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20388 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20389 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20390 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20391 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20392 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20393 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20394 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20395 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20396 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20397 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20398 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20399 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20400 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20401 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20402 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20403 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20404 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20405 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20406 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20407 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20408 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20409 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20410 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20411 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20412 
   20413 LTCC='$LTCC'
   20414 LTCFLAGS='$LTCFLAGS'
   20415 compiler='$compiler_DEFAULT'
   20416 
   20417 # A function that is used when there is no print builtin or printf.
   20418 func_fallback_echo ()
   20419 {
   20420   eval 'cat <<_LTECHO_EOF
   20421 \$1
   20422 _LTECHO_EOF'
   20423 }
   20424 
   20425 # Quote evaled strings.
   20426 for var in SHELL \
   20427 ECHO \
   20428 PATH_SEPARATOR \
   20429 SED \
   20430 GREP \
   20431 EGREP \
   20432 FGREP \
   20433 LD \
   20434 NM \
   20435 LN_S \
   20436 lt_SP2NL \
   20437 lt_NL2SP \
   20438 reload_flag \
   20439 FILECMD \
   20440 OBJDUMP \
   20441 deplibs_check_method \
   20442 file_magic_cmd \
   20443 file_magic_glob \
   20444 want_nocaseglob \
   20445 DLLTOOL \
   20446 sharedlib_from_linklib_cmd \
   20447 AR \
   20448 archiver_list_spec \
   20449 STRIP \
   20450 RANLIB \
   20451 CC \
   20452 CFLAGS \
   20453 compiler \
   20454 lt_cv_sys_global_symbol_pipe \
   20455 lt_cv_sys_global_symbol_to_cdecl \
   20456 lt_cv_sys_global_symbol_to_import \
   20457 lt_cv_sys_global_symbol_to_c_name_address \
   20458 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20459 lt_cv_nm_interface \
   20460 nm_file_list_spec \
   20461 lt_cv_truncate_bin \
   20462 lt_prog_compiler_no_builtin_flag \
   20463 lt_prog_compiler_pic \
   20464 lt_prog_compiler_wl \
   20465 lt_prog_compiler_static \
   20466 lt_cv_prog_compiler_c_o \
   20467 need_locks \
   20468 MANIFEST_TOOL \
   20469 DSYMUTIL \
   20470 NMEDIT \
   20471 LIPO \
   20472 OTOOL \
   20473 OTOOL64 \
   20474 shrext_cmds \
   20475 export_dynamic_flag_spec \
   20476 whole_archive_flag_spec \
   20477 compiler_needs_object \
   20478 with_gnu_ld \
   20479 allow_undefined_flag \
   20480 no_undefined_flag \
   20481 hardcode_libdir_flag_spec \
   20482 hardcode_libdir_separator \
   20483 exclude_expsyms \
   20484 include_expsyms \
   20485 file_list_spec \
   20486 variables_saved_for_relink \
   20487 libname_spec \
   20488 library_names_spec \
   20489 soname_spec \
   20490 install_override_mode \
   20491 finish_eval \
   20492 old_striplib \
   20493 striplib; do
   20494     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20495     *[\\\\\\\`\\"\\\$]*)
   20496       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20497       ;;
   20498     *)
   20499       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20500       ;;
   20501     esac
   20502 done
   20503 
   20504 # Double-quote double-evaled strings.
   20505 for var in reload_cmds \
   20506 old_postinstall_cmds \
   20507 old_postuninstall_cmds \
   20508 old_archive_cmds \
   20509 extract_expsyms_cmds \
   20510 old_archive_from_new_cmds \
   20511 old_archive_from_expsyms_cmds \
   20512 archive_cmds \
   20513 archive_expsym_cmds \
   20514 module_cmds \
   20515 module_expsym_cmds \
   20516 export_symbols_cmds \
   20517 prelink_cmds \
   20518 postlink_cmds \
   20519 postinstall_cmds \
   20520 postuninstall_cmds \
   20521 finish_cmds \
   20522 sys_lib_search_path_spec \
   20523 configure_time_dlsearch_path \
   20524 configure_time_lt_sys_library_path; do
   20525     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20526     *[\\\\\\\`\\"\\\$]*)
   20527       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20528       ;;
   20529     *)
   20530       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20531       ;;
   20532     esac
   20533 done
   20534 
   20535 ac_aux_dir='$ac_aux_dir'
   20536 
   20537 # See if we are running on zsh, and set the options that allow our
   20538 # commands through without removal of \ escapes INIT.
   20539 if test -n "\${ZSH_VERSION+set}"; then
   20540    setopt NO_GLOB_SUBST
   20541 fi
   20542 
   20543 
   20544     PACKAGE='$PACKAGE'
   20545     VERSION='$VERSION'
   20546     RM='$RM'
   20547     ofile='$ofile'
   20548 
   20549 
   20550 
   20551 
   20552 _ACEOF
   20553 
   20554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20555 
   20556 # Handling of arguments.
   20557 for ac_config_target in $ac_config_targets
   20558 do
   20559   case $ac_config_target in
   20560     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20561     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20562     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20563     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20564     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   20565     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   20566     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20567     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20568     "sxpm/Makefile") CONFIG_FILES="$CONFIG_FILES sxpm/Makefile" ;;
   20569     "cxpm/Makefile") CONFIG_FILES="$CONFIG_FILES cxpm/Makefile" ;;
   20570     "xpm.pc") CONFIG_FILES="$CONFIG_FILES xpm.pc" ;;
   20571 
   20572   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20573   esac
   20574 done
   20575 
   20576 
   20577 # If the user did not use the arguments to specify the items to instantiate,
   20578 # then the envvar interface is used.  Set only those that are not.
   20579 # We use the long form for the default assignment because of an extremely
   20580 # bizarre bug on SunOS 4.1.3.
   20581 if $ac_need_defaults; then
   20582   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20583   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20584   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20585 fi
   20586 
   20587 # Have a temporary directory for convenience.  Make it in the build tree
   20588 # simply because there is no reason against having it here, and in addition,
   20589 # creating and moving files from /tmp can sometimes cause problems.
   20590 # Hook for its removal unless debugging.
   20591 # Note that there is a small window in which the directory will not be cleaned:
   20592 # after its creation but before its name has been assigned to `$tmp'.
   20593 $debug ||
   20594 {
   20595   tmp= ac_tmp=
   20596   trap 'exit_status=$?
   20597   : "${ac_tmp:=$tmp}"
   20598   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20599 ' 0
   20600   trap 'as_fn_exit 1' 1 2 13 15
   20601 }
   20602 # Create a (secure) tmp directory for tmp files.
   20603 
   20604 {
   20605   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20606   test -d "$tmp"
   20607 }  ||
   20608 {
   20609   tmp=./conf$$-$RANDOM
   20610   (umask 077 && mkdir "$tmp")
   20611 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20612 ac_tmp=$tmp
   20613 
   20614 # Set up the scripts for CONFIG_FILES section.
   20615 # No need to generate them if there are no CONFIG_FILES.
   20616 # This happens for instance with `./config.status config.h'.
   20617 if test -n "$CONFIG_FILES"; then
   20618 
   20619 
   20620 ac_cr=`echo X | tr X '\015'`
   20621 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20622 # But we know of no other shell where ac_cr would be empty at this
   20623 # point, so we can use a bashism as a fallback.
   20624 if test "x$ac_cr" = x; then
   20625   eval ac_cr=\$\'\\r\'
   20626 fi
   20627 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20628 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20629   ac_cs_awk_cr='\\r'
   20630 else
   20631   ac_cs_awk_cr=$ac_cr
   20632 fi
   20633 
   20634 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20635 _ACEOF
   20636 
   20637 
   20638 {
   20639   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20640   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20641   echo "_ACEOF"
   20642 } >conf$$subs.sh ||
   20643   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20644 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20645 ac_delim='%!_!# '
   20646 for ac_last_try in false false false false false :; do
   20647   . ./conf$$subs.sh ||
   20648     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20649 
   20650   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20651   if test $ac_delim_n = $ac_delim_num; then
   20652     break
   20653   elif $ac_last_try; then
   20654     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20655   else
   20656     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20657   fi
   20658 done
   20659 rm -f conf$$subs.sh
   20660 
   20661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20662 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20663 _ACEOF
   20664 sed -n '
   20665 h
   20666 s/^/S["/; s/!.*/"]=/
   20667 p
   20668 g
   20669 s/^[^!]*!//
   20670 :repl
   20671 t repl
   20672 s/'"$ac_delim"'$//
   20673 t delim
   20674 :nl
   20675 h
   20676 s/\(.\{148\}\)..*/\1/
   20677 t more1
   20678 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20679 p
   20680 n
   20681 b repl
   20682 :more1
   20683 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20684 p
   20685 g
   20686 s/.\{148\}//
   20687 t nl
   20688 :delim
   20689 h
   20690 s/\(.\{148\}\)..*/\1/
   20691 t more2
   20692 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20693 p
   20694 b
   20695 :more2
   20696 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20697 p
   20698 g
   20699 s/.\{148\}//
   20700 t delim
   20701 ' <conf$$subs.awk | sed '
   20702 /^[^""]/{
   20703   N
   20704   s/\n//
   20705 }
   20706 ' >>$CONFIG_STATUS || ac_write_fail=1
   20707 rm -f conf$$subs.awk
   20708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20709 _ACAWK
   20710 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20711   for (key in S) S_is_set[key] = 1
   20712   FS = ""
   20713 
   20714 }
   20715 {
   20716   line = $ 0
   20717   nfields = split(line, field, "@")
   20718   substed = 0
   20719   len = length(field[1])
   20720   for (i = 2; i < nfields; i++) {
   20721     key = field[i]
   20722     keylen = length(key)
   20723     if (S_is_set[key]) {
   20724       value = S[key]
   20725       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20726       len += length(value) + length(field[++i])
   20727       substed = 1
   20728     } else
   20729       len += 1 + keylen
   20730   }
   20731 
   20732   print line
   20733 }
   20734 
   20735 _ACAWK
   20736 _ACEOF
   20737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20738 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20739   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20740 else
   20741   cat
   20742 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20743   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20744 _ACEOF
   20745 
   20746 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20747 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20748 # trailing colons and then remove the whole line if VPATH becomes empty
   20749 # (actually we leave an empty line to preserve line numbers).
   20750 if test "x$srcdir" = x.; then
   20751   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20752 h
   20753 s///
   20754 s/^/:/
   20755 s/[	 ]*$/:/
   20756 s/:\$(srcdir):/:/g
   20757 s/:\${srcdir}:/:/g
   20758 s/:@srcdir@:/:/g
   20759 s/^:*//
   20760 s/:*$//
   20761 x
   20762 s/\(=[	 ]*\).*/\1/
   20763 G
   20764 s/\n//
   20765 s/^[^=]*=[	 ]*$//
   20766 }'
   20767 fi
   20768 
   20769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20770 fi # test -n "$CONFIG_FILES"
   20771 
   20772 # Set up the scripts for CONFIG_HEADERS section.
   20773 # No need to generate them if there are no CONFIG_HEADERS.
   20774 # This happens for instance with `./config.status Makefile'.
   20775 if test -n "$CONFIG_HEADERS"; then
   20776 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20777 BEGIN {
   20778 _ACEOF
   20779 
   20780 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20781 # here-document in config.status, that substitutes the proper values into
   20782 # config.h.in to produce config.h.
   20783 
   20784 # Create a delimiter string that does not exist in confdefs.h, to ease
   20785 # handling of long lines.
   20786 ac_delim='%!_!# '
   20787 for ac_last_try in false false :; do
   20788   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20789   if test -z "$ac_tt"; then
   20790     break
   20791   elif $ac_last_try; then
   20792     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20793   else
   20794     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20795   fi
   20796 done
   20797 
   20798 # For the awk script, D is an array of macro values keyed by name,
   20799 # likewise P contains macro parameters if any.  Preserve backslash
   20800 # newline sequences.
   20801 
   20802 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20803 sed -n '
   20804 s/.\{148\}/&'"$ac_delim"'/g
   20805 t rset
   20806 :rset
   20807 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20808 t def
   20809 d
   20810 :def
   20811 s/\\$//
   20812 t bsnl
   20813 s/["\\]/\\&/g
   20814 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20815 D["\1"]=" \3"/p
   20816 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20817 d
   20818 :bsnl
   20819 s/["\\]/\\&/g
   20820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20821 D["\1"]=" \3\\\\\\n"\\/p
   20822 t cont
   20823 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20824 t cont
   20825 d
   20826 :cont
   20827 n
   20828 s/.\{148\}/&'"$ac_delim"'/g
   20829 t clear
   20830 :clear
   20831 s/\\$//
   20832 t bsnlc
   20833 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20834 d
   20835 :bsnlc
   20836 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20837 b cont
   20838 ' <confdefs.h | sed '
   20839 s/'"$ac_delim"'/"\\\
   20840 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20841 
   20842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20843   for (key in D) D_is_set[key] = 1
   20844   FS = ""
   20845 }
   20846 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20847   line = \$ 0
   20848   split(line, arg, " ")
   20849   if (arg[1] == "#") {
   20850     defundef = arg[2]
   20851     mac1 = arg[3]
   20852   } else {
   20853     defundef = substr(arg[1], 2)
   20854     mac1 = arg[2]
   20855   }
   20856   split(mac1, mac2, "(") #)
   20857   macro = mac2[1]
   20858   prefix = substr(line, 1, index(line, defundef) - 1)
   20859   if (D_is_set[macro]) {
   20860     # Preserve the white space surrounding the "#".
   20861     print prefix "define", macro P[macro] D[macro]
   20862     next
   20863   } else {
   20864     # Replace #undef with comments.  This is necessary, for example,
   20865     # in the case of _POSIX_SOURCE, which is predefined and required
   20866     # on some systems where configure will not decide to define it.
   20867     if (defundef == "undef") {
   20868       print "/*", prefix defundef, macro, "*/"
   20869       next
   20870     }
   20871   }
   20872 }
   20873 { print }
   20874 _ACAWK
   20875 _ACEOF
   20876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20877   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20878 fi # test -n "$CONFIG_HEADERS"
   20879 
   20880 
   20881 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20882 shift
   20883 for ac_tag
   20884 do
   20885   case $ac_tag in
   20886   :[FHLC]) ac_mode=$ac_tag; continue;;
   20887   esac
   20888   case $ac_mode$ac_tag in
   20889   :[FHL]*:*);;
   20890   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20891   :[FH]-) ac_tag=-:-;;
   20892   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20893   esac
   20894   ac_save_IFS=$IFS
   20895   IFS=:
   20896   set x $ac_tag
   20897   IFS=$ac_save_IFS
   20898   shift
   20899   ac_file=$1
   20900   shift
   20901 
   20902   case $ac_mode in
   20903   :L) ac_source=$1;;
   20904   :[FH])
   20905     ac_file_inputs=
   20906     for ac_f
   20907     do
   20908       case $ac_f in
   20909       -) ac_f="$ac_tmp/stdin";;
   20910       *) # Look for the file first in the build tree, then in the source tree
   20911 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20912 	 # because $ac_f cannot contain `:'.
   20913 	 test -f "$ac_f" ||
   20914 	   case $ac_f in
   20915 	   [\\/$]*) false;;
   20916 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20917 	   esac ||
   20918 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20919       esac
   20920       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20921       as_fn_append ac_file_inputs " '$ac_f'"
   20922     done
   20923 
   20924     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20925     # use $as_me), people would be surprised to read:
   20926     #    /* config.h.  Generated by config.status.  */
   20927     configure_input='Generated from '`
   20928 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20929 	`' by configure.'
   20930     if test x"$ac_file" != x-; then
   20931       configure_input="$ac_file.  $configure_input"
   20932       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20933 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   20934     fi
   20935     # Neutralize special characters interpreted by sed in replacement strings.
   20936     case $configure_input in #(
   20937     *\&* | *\|* | *\\* )
   20938        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   20939        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20940     *) ac_sed_conf_input=$configure_input;;
   20941     esac
   20942 
   20943     case $ac_tag in
   20944     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20945       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20946     esac
   20947     ;;
   20948   esac
   20949 
   20950   ac_dir=`$as_dirname -- "$ac_file" ||
   20951 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20952 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20953 	 X"$ac_file" : 'X\(//\)$' \| \
   20954 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20955 printf "%s\n" X"$ac_file" |
   20956     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20957 	    s//\1/
   20958 	    q
   20959 	  }
   20960 	  /^X\(\/\/\)[^/].*/{
   20961 	    s//\1/
   20962 	    q
   20963 	  }
   20964 	  /^X\(\/\/\)$/{
   20965 	    s//\1/
   20966 	    q
   20967 	  }
   20968 	  /^X\(\/\).*/{
   20969 	    s//\1/
   20970 	    q
   20971 	  }
   20972 	  s/.*/./; q'`
   20973   as_dir="$ac_dir"; as_fn_mkdir_p
   20974   ac_builddir=.
   20975 
   20976 case "$ac_dir" in
   20977 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20978 *)
   20979   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   20980   # A ".." for each directory in $ac_dir_suffix.
   20981   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20982   case $ac_top_builddir_sub in
   20983   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20984   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20985   esac ;;
   20986 esac
   20987 ac_abs_top_builddir=$ac_pwd
   20988 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20989 # for backward compatibility:
   20990 ac_top_builddir=$ac_top_build_prefix
   20991 
   20992 case $srcdir in
   20993   .)  # We are building in place.
   20994     ac_srcdir=.
   20995     ac_top_srcdir=$ac_top_builddir_sub
   20996     ac_abs_top_srcdir=$ac_pwd ;;
   20997   [\\/]* | ?:[\\/]* )  # Absolute name.
   20998     ac_srcdir=$srcdir$ac_dir_suffix;
   20999     ac_top_srcdir=$srcdir
   21000     ac_abs_top_srcdir=$srcdir ;;
   21001   *) # Relative name.
   21002     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21003     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21004     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21005 esac
   21006 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21007 
   21008 
   21009   case $ac_mode in
   21010   :F)
   21011   #
   21012   # CONFIG_FILE
   21013   #
   21014 
   21015   case $INSTALL in
   21016   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21017   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21018   esac
   21019   ac_MKDIR_P=$MKDIR_P
   21020   case $MKDIR_P in
   21021   [\\/$]* | ?:[\\/]* ) ;;
   21022   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21023   esac
   21024 _ACEOF
   21025 
   21026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21027 # If the template does not know about datarootdir, expand it.
   21028 # FIXME: This hack should be removed a few years after 2.60.
   21029 ac_datarootdir_hack=; ac_datarootdir_seen=
   21030 ac_sed_dataroot='
   21031 /datarootdir/ {
   21032   p
   21033   q
   21034 }
   21035 /@datadir@/p
   21036 /@docdir@/p
   21037 /@infodir@/p
   21038 /@localedir@/p
   21039 /@mandir@/p'
   21040 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21041 *datarootdir*) ac_datarootdir_seen=yes;;
   21042 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21043   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21044 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21045 _ACEOF
   21046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21047   ac_datarootdir_hack='
   21048   s&@datadir@&$datadir&g
   21049   s&@docdir@&$docdir&g
   21050   s&@infodir@&$infodir&g
   21051   s&@localedir@&$localedir&g
   21052   s&@mandir@&$mandir&g
   21053   s&\\\${datarootdir}&$datarootdir&g' ;;
   21054 esac
   21055 _ACEOF
   21056 
   21057 # Neutralize VPATH when `$srcdir' = `.'.
   21058 # Shell code in configure.ac might set extrasub.
   21059 # FIXME: do we really want to maintain this feature?
   21060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21061 ac_sed_extra="$ac_vpsub
   21062 $extrasub
   21063 _ACEOF
   21064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21065 :t
   21066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21067 s|@configure_input@|$ac_sed_conf_input|;t t
   21068 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21069 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21070 s&@srcdir@&$ac_srcdir&;t t
   21071 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21072 s&@top_srcdir@&$ac_top_srcdir&;t t
   21073 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21074 s&@builddir@&$ac_builddir&;t t
   21075 s&@abs_builddir@&$ac_abs_builddir&;t t
   21076 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21077 s&@INSTALL@&$ac_INSTALL&;t t
   21078 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21079 $ac_datarootdir_hack
   21080 "
   21081 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21082   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21083 
   21084 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21085   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21086   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21087       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21089 which seems to be undefined.  Please make sure it is defined" >&5
   21090 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21091 which seems to be undefined.  Please make sure it is defined" >&2;}
   21092 
   21093   rm -f "$ac_tmp/stdin"
   21094   case $ac_file in
   21095   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21096   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21097   esac \
   21098   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21099  ;;
   21100   :H)
   21101   #
   21102   # CONFIG_HEADER
   21103   #
   21104   if test x"$ac_file" != x-; then
   21105     {
   21106       printf "%s\n" "/* $configure_input  */" >&1 \
   21107       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21108     } >"$ac_tmp/config.h" \
   21109       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21110     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21111       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21112 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21113     else
   21114       rm -f "$ac_file"
   21115       mv "$ac_tmp/config.h" "$ac_file" \
   21116 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21117     fi
   21118   else
   21119     printf "%s\n" "/* $configure_input  */" >&1 \
   21120       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21121       || as_fn_error $? "could not create -" "$LINENO" 5
   21122   fi
   21123 # Compute "$ac_file"'s index in $config_headers.
   21124 _am_arg="$ac_file"
   21125 _am_stamp_count=1
   21126 for _am_header in $config_headers :; do
   21127   case $_am_header in
   21128     $_am_arg | $_am_arg:* )
   21129       break ;;
   21130     * )
   21131       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21132   esac
   21133 done
   21134 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21135 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21136 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21137 	 X"$_am_arg" : 'X\(//\)$' \| \
   21138 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21139 printf "%s\n" X"$_am_arg" |
   21140     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21141 	    s//\1/
   21142 	    q
   21143 	  }
   21144 	  /^X\(\/\/\)[^/].*/{
   21145 	    s//\1/
   21146 	    q
   21147 	  }
   21148 	  /^X\(\/\/\)$/{
   21149 	    s//\1/
   21150 	    q
   21151 	  }
   21152 	  /^X\(\/\).*/{
   21153 	    s//\1/
   21154 	    q
   21155 	  }
   21156 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21157  ;;
   21158 
   21159   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21160 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21161  ;;
   21162   esac
   21163 
   21164 
   21165   case $ac_file$ac_mode in
   21166     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21167   # Older Autoconf quotes --file arguments for eval, but not when files
   21168   # are listed without --file.  Let's play safe and only enable the eval
   21169   # if we detect the quoting.
   21170   # TODO: see whether this extra hack can be removed once we start
   21171   # requiring Autoconf 2.70 or later.
   21172   case $CONFIG_FILES in #(
   21173   *\'*) :
   21174     eval set x "$CONFIG_FILES" ;; #(
   21175   *) :
   21176     set x $CONFIG_FILES ;; #(
   21177   *) :
   21178      ;;
   21179 esac
   21180   shift
   21181   # Used to flag and report bootstrapping failures.
   21182   am_rc=0
   21183   for am_mf
   21184   do
   21185     # Strip MF so we end up with the name of the file.
   21186     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21187     # Check whether this is an Automake generated Makefile which includes
   21188     # dependency-tracking related rules and includes.
   21189     # Grep'ing the whole file directly is not great: AIX grep has a line
   21190     # limit of 2048, but all sed's we know have understand at least 4000.
   21191     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21192       || continue
   21193     am_dirpart=`$as_dirname -- "$am_mf" ||
   21194 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21195 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21196 	 X"$am_mf" : 'X\(//\)$' \| \
   21197 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21198 printf "%s\n" X"$am_mf" |
   21199     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21200 	    s//\1/
   21201 	    q
   21202 	  }
   21203 	  /^X\(\/\/\)[^/].*/{
   21204 	    s//\1/
   21205 	    q
   21206 	  }
   21207 	  /^X\(\/\/\)$/{
   21208 	    s//\1/
   21209 	    q
   21210 	  }
   21211 	  /^X\(\/\).*/{
   21212 	    s//\1/
   21213 	    q
   21214 	  }
   21215 	  s/.*/./; q'`
   21216     am_filepart=`$as_basename -- "$am_mf" ||
   21217 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21218 	 X"$am_mf" : 'X\(//\)$' \| \
   21219 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21220 printf "%s\n" X/"$am_mf" |
   21221     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21222 	    s//\1/
   21223 	    q
   21224 	  }
   21225 	  /^X\/\(\/\/\)$/{
   21226 	    s//\1/
   21227 	    q
   21228 	  }
   21229 	  /^X\/\(\/\).*/{
   21230 	    s//\1/
   21231 	    q
   21232 	  }
   21233 	  s/.*/./; q'`
   21234     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21235       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21236         | $MAKE -f - am--depfiles" >&5
   21237    (cd "$am_dirpart" \
   21238       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21239         | $MAKE -f - am--depfiles) >&5 2>&5
   21240    ac_status=$?
   21241    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21242    (exit $ac_status); } || am_rc=$?
   21243   done
   21244   if test $am_rc -ne 0; then
   21245     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21246 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21247 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21248     for automatic dependency tracking.  If GNU make was not used, consider
   21249     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21250     necessary).  You can also try re-running configure with the
   21251     '--disable-dependency-tracking' option to at least be able to build
   21252     the package (albeit without support for automatic dependency tracking).
   21253 See \`config.log' for more details" "$LINENO" 5; }
   21254   fi
   21255   { am_dirpart=; unset am_dirpart;}
   21256   { am_filepart=; unset am_filepart;}
   21257   { am_mf=; unset am_mf;}
   21258   { am_rc=; unset am_rc;}
   21259   rm -f conftest-deps.mk
   21260 }
   21261  ;;
   21262     "libtool":C)
   21263 
   21264     # See if we are running on zsh, and set the options that allow our
   21265     # commands through without removal of \ escapes.
   21266     if test -n "${ZSH_VERSION+set}"; then
   21267       setopt NO_GLOB_SUBST
   21268     fi
   21269 
   21270     cfgfile=${ofile}T
   21271     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21272     $RM "$cfgfile"
   21273 
   21274     cat <<_LT_EOF >> "$cfgfile"
   21275 #! $SHELL
   21276 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21277 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21278 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21279 
   21280 # Provide generalized library-building support services.
   21281 # Written by Gordon Matzigkeit, 1996
   21282 
   21283 # Copyright (C) 2014 Free Software Foundation, Inc.
   21284 # This is free software; see the source for copying conditions.  There is NO
   21285 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21286 
   21287 # GNU Libtool is free software; you can redistribute it and/or modify
   21288 # it under the terms of the GNU General Public License as published by
   21289 # the Free Software Foundation; either version 2 of of the License, or
   21290 # (at your option) any later version.
   21291 #
   21292 # As a special exception to the GNU General Public License, if you
   21293 # distribute this file as part of a program or library that is built
   21294 # using GNU Libtool, you may include this file under the  same
   21295 # distribution terms that you use for the rest of that program.
   21296 #
   21297 # GNU Libtool is distributed in the hope that it will be useful, but
   21298 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21299 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21300 # GNU General Public License for more details.
   21301 #
   21302 # You should have received a copy of the GNU General Public License
   21303 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21304 
   21305 
   21306 # The names of the tagged configurations supported by this script.
   21307 available_tags=''
   21308 
   21309 # Configured defaults for sys_lib_dlsearch_path munging.
   21310 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21311 
   21312 # ### BEGIN LIBTOOL CONFIG
   21313 
   21314 # Which release of libtool.m4 was used?
   21315 macro_version=$macro_version
   21316 macro_revision=$macro_revision
   21317 
   21318 # Whether or not to build shared libraries.
   21319 build_libtool_libs=$enable_shared
   21320 
   21321 # Whether or not to build static libraries.
   21322 build_old_libs=$enable_static
   21323 
   21324 # What type of objects to build.
   21325 pic_mode=$pic_mode
   21326 
   21327 # Whether or not to optimize for fast installation.
   21328 fast_install=$enable_fast_install
   21329 
   21330 # Shared archive member basename,for filename based shared library versioning on AIX.
   21331 shared_archive_member_spec=$shared_archive_member_spec
   21332 
   21333 # Shell to use when invoking shell scripts.
   21334 SHELL=$lt_SHELL
   21335 
   21336 # An echo program that protects backslashes.
   21337 ECHO=$lt_ECHO
   21338 
   21339 # The PATH separator for the build system.
   21340 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21341 
   21342 # The host system.
   21343 host_alias=$host_alias
   21344 host=$host
   21345 host_os=$host_os
   21346 
   21347 # The build system.
   21348 build_alias=$build_alias
   21349 build=$build
   21350 build_os=$build_os
   21351 
   21352 # A sed program that does not truncate output.
   21353 SED=$lt_SED
   21354 
   21355 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21356 Xsed="\$SED -e 1s/^X//"
   21357 
   21358 # A grep program that handles long lines.
   21359 GREP=$lt_GREP
   21360 
   21361 # An ERE matcher.
   21362 EGREP=$lt_EGREP
   21363 
   21364 # A literal string matcher.
   21365 FGREP=$lt_FGREP
   21366 
   21367 # A BSD- or MS-compatible name lister.
   21368 NM=$lt_NM
   21369 
   21370 # Whether we need soft or hard links.
   21371 LN_S=$lt_LN_S
   21372 
   21373 # What is the maximum length of a command?
   21374 max_cmd_len=$max_cmd_len
   21375 
   21376 # Object file suffix (normally "o").
   21377 objext=$ac_objext
   21378 
   21379 # Executable file suffix (normally "").
   21380 exeext=$exeext
   21381 
   21382 # whether the shell understands "unset".
   21383 lt_unset=$lt_unset
   21384 
   21385 # turn spaces into newlines.
   21386 SP2NL=$lt_lt_SP2NL
   21387 
   21388 # turn newlines into spaces.
   21389 NL2SP=$lt_lt_NL2SP
   21390 
   21391 # convert \$build file names to \$host format.
   21392 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21393 
   21394 # convert \$build files to toolchain format.
   21395 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21396 
   21397 # A file(cmd) program that detects file types.
   21398 FILECMD=$lt_FILECMD
   21399 
   21400 # An object symbol dumper.
   21401 OBJDUMP=$lt_OBJDUMP
   21402 
   21403 # Method to check whether dependent libraries are shared objects.
   21404 deplibs_check_method=$lt_deplibs_check_method
   21405 
   21406 # Command to use when deplibs_check_method = "file_magic".
   21407 file_magic_cmd=$lt_file_magic_cmd
   21408 
   21409 # How to find potential files when deplibs_check_method = "file_magic".
   21410 file_magic_glob=$lt_file_magic_glob
   21411 
   21412 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21413 want_nocaseglob=$lt_want_nocaseglob
   21414 
   21415 # DLL creation program.
   21416 DLLTOOL=$lt_DLLTOOL
   21417 
   21418 # Command to associate shared and link libraries.
   21419 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21420 
   21421 # The archiver.
   21422 AR=$lt_AR
   21423 
   21424 # Flags to create an archive (by configure).
   21425 lt_ar_flags=$lt_ar_flags
   21426 
   21427 # Flags to create an archive.
   21428 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21429 
   21430 # How to feed a file listing to the archiver.
   21431 archiver_list_spec=$lt_archiver_list_spec
   21432 
   21433 # A symbol stripping program.
   21434 STRIP=$lt_STRIP
   21435 
   21436 # Commands used to install an old-style archive.
   21437 RANLIB=$lt_RANLIB
   21438 old_postinstall_cmds=$lt_old_postinstall_cmds
   21439 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21440 
   21441 # Whether to use a lock for old archive extraction.
   21442 lock_old_archive_extraction=$lock_old_archive_extraction
   21443 
   21444 # A C compiler.
   21445 LTCC=$lt_CC
   21446 
   21447 # LTCC compiler flags.
   21448 LTCFLAGS=$lt_CFLAGS
   21449 
   21450 # Take the output of nm and produce a listing of raw symbols and C names.
   21451 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21452 
   21453 # Transform the output of nm in a proper C declaration.
   21454 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21455 
   21456 # Transform the output of nm into a list of symbols to manually relocate.
   21457 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21458 
   21459 # Transform the output of nm in a C name address pair.
   21460 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21461 
   21462 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21463 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21464 
   21465 # The name lister interface.
   21466 nm_interface=$lt_lt_cv_nm_interface
   21467 
   21468 # Specify filename containing input files for \$NM.
   21469 nm_file_list_spec=$lt_nm_file_list_spec
   21470 
   21471 # The root where to search for dependent libraries,and where our libraries should be installed.
   21472 lt_sysroot=$lt_sysroot
   21473 
   21474 # Command to truncate a binary pipe.
   21475 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21476 
   21477 # The name of the directory that contains temporary libtool files.
   21478 objdir=$objdir
   21479 
   21480 # Used to examine libraries when file_magic_cmd begins with "file".
   21481 MAGIC_CMD=$MAGIC_CMD
   21482 
   21483 # Must we lock files when doing compilation?
   21484 need_locks=$lt_need_locks
   21485 
   21486 # Manifest tool.
   21487 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21488 
   21489 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21490 DSYMUTIL=$lt_DSYMUTIL
   21491 
   21492 # Tool to change global to local symbols on Mac OS X.
   21493 NMEDIT=$lt_NMEDIT
   21494 
   21495 # Tool to manipulate fat objects and archives on Mac OS X.
   21496 LIPO=$lt_LIPO
   21497 
   21498 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21499 OTOOL=$lt_OTOOL
   21500 
   21501 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21502 OTOOL64=$lt_OTOOL64
   21503 
   21504 # Old archive suffix (normally "a").
   21505 libext=$libext
   21506 
   21507 # Shared library suffix (normally ".so").
   21508 shrext_cmds=$lt_shrext_cmds
   21509 
   21510 # The commands to extract the exported symbol list from a shared archive.
   21511 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21512 
   21513 # Variables whose values should be saved in libtool wrapper scripts and
   21514 # restored at link time.
   21515 variables_saved_for_relink=$lt_variables_saved_for_relink
   21516 
   21517 # Do we need the "lib" prefix for modules?
   21518 need_lib_prefix=$need_lib_prefix
   21519 
   21520 # Do we need a version for libraries?
   21521 need_version=$need_version
   21522 
   21523 # Library versioning type.
   21524 version_type=$version_type
   21525 
   21526 # Shared library runtime path variable.
   21527 runpath_var=$runpath_var
   21528 
   21529 # Shared library path variable.
   21530 shlibpath_var=$shlibpath_var
   21531 
   21532 # Is shlibpath searched before the hard-coded library search path?
   21533 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21534 
   21535 # Format of library name prefix.
   21536 libname_spec=$lt_libname_spec
   21537 
   21538 # List of archive names.  First name is the real one, the rest are links.
   21539 # The last name is the one that the linker finds with -lNAME
   21540 library_names_spec=$lt_library_names_spec
   21541 
   21542 # The coded name of the library, if different from the real name.
   21543 soname_spec=$lt_soname_spec
   21544 
   21545 # Permission mode override for installation of shared libraries.
   21546 install_override_mode=$lt_install_override_mode
   21547 
   21548 # Command to use after installation of a shared archive.
   21549 postinstall_cmds=$lt_postinstall_cmds
   21550 
   21551 # Command to use after uninstallation of a shared archive.
   21552 postuninstall_cmds=$lt_postuninstall_cmds
   21553 
   21554 # Commands used to finish a libtool library installation in a directory.
   21555 finish_cmds=$lt_finish_cmds
   21556 
   21557 # As "finish_cmds", except a single script fragment to be evaled but
   21558 # not shown.
   21559 finish_eval=$lt_finish_eval
   21560 
   21561 # Whether we should hardcode library paths into libraries.
   21562 hardcode_into_libs=$hardcode_into_libs
   21563 
   21564 # Compile-time system search path for libraries.
   21565 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21566 
   21567 # Detected run-time system search path for libraries.
   21568 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21569 
   21570 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21571 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21572 
   21573 # Whether dlopen is supported.
   21574 dlopen_support=$enable_dlopen
   21575 
   21576 # Whether dlopen of programs is supported.
   21577 dlopen_self=$enable_dlopen_self
   21578 
   21579 # Whether dlopen of statically linked programs is supported.
   21580 dlopen_self_static=$enable_dlopen_self_static
   21581 
   21582 # Commands to strip libraries.
   21583 old_striplib=$lt_old_striplib
   21584 striplib=$lt_striplib
   21585 
   21586 
   21587 # The linker used to build libraries.
   21588 LD=$lt_LD
   21589 
   21590 # How to create reloadable object files.
   21591 reload_flag=$lt_reload_flag
   21592 reload_cmds=$lt_reload_cmds
   21593 
   21594 # Commands used to build an old-style archive.
   21595 old_archive_cmds=$lt_old_archive_cmds
   21596 
   21597 # A language specific compiler.
   21598 CC=$lt_compiler
   21599 
   21600 # Is the compiler the GNU compiler?
   21601 with_gcc=$GCC
   21602 
   21603 # Compiler flag to turn off builtin functions.
   21604 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21605 
   21606 # Additional compiler flags for building library objects.
   21607 pic_flag=$lt_lt_prog_compiler_pic
   21608 
   21609 # How to pass a linker flag through the compiler.
   21610 wl=$lt_lt_prog_compiler_wl
   21611 
   21612 # Compiler flag to prevent dynamic linking.
   21613 link_static_flag=$lt_lt_prog_compiler_static
   21614 
   21615 # Does compiler simultaneously support -c and -o options?
   21616 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21617 
   21618 # Whether or not to add -lc for building shared libraries.
   21619 build_libtool_need_lc=$archive_cmds_need_lc
   21620 
   21621 # Whether or not to disallow shared libs when runtime libs are static.
   21622 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21623 
   21624 # Compiler flag to allow reflexive dlopens.
   21625 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21626 
   21627 # Compiler flag to generate shared objects directly from archives.
   21628 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21629 
   21630 # Whether the compiler copes with passing no objects directly.
   21631 compiler_needs_object=$lt_compiler_needs_object
   21632 
   21633 # Create an old-style archive from a shared archive.
   21634 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21635 
   21636 # Create a temporary old-style archive to link instead of a shared archive.
   21637 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21638 
   21639 # Commands used to build a shared archive.
   21640 archive_cmds=$lt_archive_cmds
   21641 archive_expsym_cmds=$lt_archive_expsym_cmds
   21642 
   21643 # Commands used to build a loadable module if different from building
   21644 # a shared archive.
   21645 module_cmds=$lt_module_cmds
   21646 module_expsym_cmds=$lt_module_expsym_cmds
   21647 
   21648 # Whether we are building with GNU ld or not.
   21649 with_gnu_ld=$lt_with_gnu_ld
   21650 
   21651 # Flag that allows shared libraries with undefined symbols to be built.
   21652 allow_undefined_flag=$lt_allow_undefined_flag
   21653 
   21654 # Flag that enforces no undefined symbols.
   21655 no_undefined_flag=$lt_no_undefined_flag
   21656 
   21657 # Flag to hardcode \$libdir into a binary during linking.
   21658 # This must work even if \$libdir does not exist
   21659 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21660 
   21661 # Whether we need a single "-rpath" flag with a separated argument.
   21662 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21663 
   21664 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21665 # DIR into the resulting binary.
   21666 hardcode_direct=$hardcode_direct
   21667 
   21668 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21669 # DIR into the resulting binary and the resulting library dependency is
   21670 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21671 # library is relocated.
   21672 hardcode_direct_absolute=$hardcode_direct_absolute
   21673 
   21674 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21675 # into the resulting binary.
   21676 hardcode_minus_L=$hardcode_minus_L
   21677 
   21678 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21679 # into the resulting binary.
   21680 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21681 
   21682 # Set to "yes" if building a shared library automatically hardcodes DIR
   21683 # into the library and all subsequent libraries and executables linked
   21684 # against it.
   21685 hardcode_automatic=$hardcode_automatic
   21686 
   21687 # Set to yes if linker adds runtime paths of dependent libraries
   21688 # to runtime path list.
   21689 inherit_rpath=$inherit_rpath
   21690 
   21691 # Whether libtool must link a program against all its dependency libraries.
   21692 link_all_deplibs=$link_all_deplibs
   21693 
   21694 # Set to "yes" if exported symbols are required.
   21695 always_export_symbols=$always_export_symbols
   21696 
   21697 # The commands to list exported symbols.
   21698 export_symbols_cmds=$lt_export_symbols_cmds
   21699 
   21700 # Symbols that should not be listed in the preloaded symbols.
   21701 exclude_expsyms=$lt_exclude_expsyms
   21702 
   21703 # Symbols that must always be exported.
   21704 include_expsyms=$lt_include_expsyms
   21705 
   21706 # Commands necessary for linking programs (against libraries) with templates.
   21707 prelink_cmds=$lt_prelink_cmds
   21708 
   21709 # Commands necessary for finishing linking programs.
   21710 postlink_cmds=$lt_postlink_cmds
   21711 
   21712 # Specify filename containing input files.
   21713 file_list_spec=$lt_file_list_spec
   21714 
   21715 # How to hardcode a shared library path into an executable.
   21716 hardcode_action=$hardcode_action
   21717 
   21718 # ### END LIBTOOL CONFIG
   21719 
   21720 _LT_EOF
   21721 
   21722     cat <<'_LT_EOF' >> "$cfgfile"
   21723 
   21724 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21725 
   21726 # func_munge_path_list VARIABLE PATH
   21727 # -----------------------------------
   21728 # VARIABLE is name of variable containing _space_ separated list of
   21729 # directories to be munged by the contents of PATH, which is string
   21730 # having a format:
   21731 # "DIR[:DIR]:"
   21732 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21733 # ":DIR[:DIR]"
   21734 #       string "DIR[ DIR]" will be appended to VARIABLE
   21735 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21736 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21737 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21738 # "DIR[:DIR]"
   21739 #       VARIABLE will be replaced by "DIR[ DIR]"
   21740 func_munge_path_list ()
   21741 {
   21742     case x$2 in
   21743     x)
   21744         ;;
   21745     *:)
   21746         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21747         ;;
   21748     x:*)
   21749         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21750         ;;
   21751     *::*)
   21752         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21753         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21754         ;;
   21755     *)
   21756         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21757         ;;
   21758     esac
   21759 }
   21760 
   21761 
   21762 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21763 func_cc_basename ()
   21764 {
   21765     for cc_temp in $*""; do
   21766       case $cc_temp in
   21767         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21768         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21769         \-*) ;;
   21770         *) break;;
   21771       esac
   21772     done
   21773     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21774 }
   21775 
   21776 
   21777 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21778 
   21779 _LT_EOF
   21780 
   21781   case $host_os in
   21782   aix3*)
   21783     cat <<\_LT_EOF >> "$cfgfile"
   21784 # AIX sometimes has problems with the GCC collect2 program.  For some
   21785 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21786 # vanish in a puff of smoke.
   21787 if test set != "${COLLECT_NAMES+set}"; then
   21788   COLLECT_NAMES=
   21789   export COLLECT_NAMES
   21790 fi
   21791 _LT_EOF
   21792     ;;
   21793   esac
   21794 
   21795 
   21796 
   21797 ltmain=$ac_aux_dir/ltmain.sh
   21798 
   21799 
   21800   # We use sed instead of cat because bash on DJGPP gets confused if
   21801   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21802   # text mode, it properly converts lines to CR/LF.  This bash problem
   21803   # is reportedly fixed, but why not run on old versions too?
   21804   $SED '$q' "$ltmain" >> "$cfgfile" \
   21805      || (rm -f "$cfgfile"; exit 1)
   21806 
   21807    mv -f "$cfgfile" "$ofile" ||
   21808     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21809   chmod +x "$ofile"
   21810 
   21811  ;;
   21812 
   21813   esac
   21814 done # for ac_tag
   21815 
   21816 
   21817 as_fn_exit 0
   21818 _ACEOF
   21819 ac_clean_files=$ac_clean_files_save
   21820 
   21821 test $ac_write_fail = 0 ||
   21822   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21823 
   21824 
   21825 # configure is writing to config.log, and then calls config.status.
   21826 # config.status does its own redirection, appending to config.log.
   21827 # Unfortunately, on DOS this fails, as config.log is still kept open
   21828 # by configure, so config.status won't be able to write to it; its
   21829 # output is simply discarded.  So we exec the FD to /dev/null,
   21830 # effectively closing config.log, so it can be properly (re)opened and
   21831 # appended to by config.status.  When coming back to configure, we
   21832 # need to make the FD available again.
   21833 if test "$no_create" != yes; then
   21834   ac_cs_success=:
   21835   ac_config_status_args=
   21836   test "$silent" = yes &&
   21837     ac_config_status_args="$ac_config_status_args --quiet"
   21838   exec 5>/dev/null
   21839   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21840   exec 5>>config.log
   21841   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21842   # would make configure fail if this is the last instruction.
   21843   $ac_cs_success || as_fn_exit 1
   21844 fi
   21845 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21846   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21847 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21848 fi
   21849 
   21850 
   21851