Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXfont2 2.0.5.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXfont/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/libXfont/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 as_awk_strverscmp='
    602   # Use only awk features that work with 7th edition Unix awk (1978).
    603   # My, what an old awk you have, Mr. Solaris!
    604   END {
    605     while (length(v1) && length(v2)) {
    606       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    607       # Normally this is a single character, but if v1 and v2 contain digits,
    608       # compare them as integers and fractions as strverscmp does.
    609       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    610 	# Split v1 and v2 into their leading digit string components d1 and d2,
    611 	# and advance v1 and v2 past the leading digit strings.
    612 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    613 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    614 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    615 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    616 	if (d1 ~ /^0/) {
    617 	  if (d2 ~ /^0/) {
    618 	    # Compare two fractions.
    619 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    620 	      d1 = substr(d1, 2); len1--
    621 	      d2 = substr(d2, 2); len2--
    622 	    }
    623 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    624 	      # The two components differ in length, and the common prefix
    625 	      # contains only leading zeros.  Consider the longer to be less.
    626 	      d1 = -len1
    627 	      d2 = -len2
    628 	    } else {
    629 	      # Otherwise, compare as strings.
    630 	      d1 = "x" d1
    631 	      d2 = "x" d2
    632 	    }
    633 	  } else {
    634 	    # A fraction is less than an integer.
    635 	    exit 1
    636 	  }
    637 	} else {
    638 	  if (d2 ~ /^0/) {
    639 	    # An integer is greater than a fraction.
    640 	    exit 2
    641 	  } else {
    642 	    # Compare two integers.
    643 	    d1 += 0
    644 	    d2 += 0
    645 	  }
    646 	}
    647       } else {
    648 	# The normal case, without worrying about digits.
    649 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    650 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    651       }
    652       if (d1 < d2) exit 1
    653       if (d1 > d2) exit 2
    654     }
    655     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    656     # which mishandles some comparisons of empty strings to integers.
    657     if (length(v2)) exit 1
    658     if (length(v1)) exit 2
    659   }
    660 '
    661 
    662 test -n "$DJDIR" || exec 7<&0 </dev/null
    663 exec 6>&1
    664 
    665 # Name of the host.
    666 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    667 # so uname gets run too.
    668 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    669 
    670 #
    671 # Initializations.
    672 #
    673 ac_default_prefix=/usr/local
    674 ac_clean_files=
    675 ac_config_libobj_dir=.
    676 LIBOBJS=
    677 cross_compiling=no
    678 subdirs=
    679 MFLAGS=
    680 MAKEFLAGS=
    681 
    682 # Identity of this package.
    683 PACKAGE_NAME='libXfont2'
    684 PACKAGE_TARNAME='libXfont2'
    685 PACKAGE_VERSION='2.0.5'
    686 PACKAGE_STRING='libXfont2 2.0.5'
    687 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXfont/issues'
    688 PACKAGE_URL=''
    689 
    690 ac_unique_file="Makefile.am"
    691 # Factoring default headers for most tests.
    692 ac_includes_default="\
    693 #include <stddef.h>
    694 #ifdef HAVE_STDIO_H
    695 # include <stdio.h>
    696 #endif
    697 #ifdef HAVE_STDLIB_H
    698 # include <stdlib.h>
    699 #endif
    700 #ifdef HAVE_STRING_H
    701 # include <string.h>
    702 #endif
    703 #ifdef HAVE_INTTYPES_H
    704 # include <inttypes.h>
    705 #endif
    706 #ifdef HAVE_STDINT_H
    707 # include <stdint.h>
    708 #endif
    709 #ifdef HAVE_STRINGS_H
    710 # include <strings.h>
    711 #endif
    712 #ifdef HAVE_SYS_TYPES_H
    713 # include <sys/types.h>
    714 #endif
    715 #ifdef HAVE_SYS_STAT_H
    716 # include <sys/stat.h>
    717 #endif
    718 #ifdef HAVE_UNISTD_H
    719 # include <unistd.h>
    720 #endif"
    721 
    722 ac_header_c_list=
    723 ac_config_libobj_dir=src/util
    724 ac_subst_vars='am__EXEEXT_FALSE
    725 am__EXEEXT_TRUE
    726 LTLIBOBJS
    727 OS_CFLAGS
    728 XFONT_LIBS
    729 XFONT_CFLAGS
    730 MATH_LIBS
    731 XFONT_FC_FALSE
    732 XFONT_FC_TRUE
    733 XFONT_FONTFILE_FALSE
    734 XFONT_FONTFILE_TRUE
    735 XFONT_BITMAP_FALSE
    736 XFONT_BITMAP_TRUE
    737 XFONT_SNFFORMAT_FALSE
    738 XFONT_SNFFORMAT_TRUE
    739 XFONT_BDFFORMAT_FALSE
    740 XFONT_BDFFORMAT_TRUE
    741 XFONT_PCF_OR_BUILTIN_FALSE
    742 XFONT_PCF_OR_BUILTIN_TRUE
    743 XFONT_PCFFORMAT_FALSE
    744 XFONT_PCFFORMAT_TRUE
    745 XFONT_BUILTINS_FALSE
    746 XFONT_BUILTINS_TRUE
    747 Z_LIBS
    748 X_BZIP2_FONT_COMPRESSION_FALSE
    749 X_BZIP2_FONT_COMPRESSION_TRUE
    750 X_GZIP_FONT_COMPRESSION
    751 FREETYPE_REQUIRES
    752 ft_config
    753 FREETYPE_LIBS
    754 FREETYPE_CFLAGS
    755 XFONT_FREETYPE_FALSE
    756 XFONT_FREETYPE_TRUE
    757 LIBOBJS
    758 HAVE_STYLESHEETS_FALSE
    759 HAVE_STYLESHEETS_TRUE
    760 XSL_STYLESHEET
    761 STYLESHEET_SRCDIR
    762 XORG_SGML_PATH
    763 HAVE_FOP_FALSE
    764 HAVE_FOP_TRUE
    765 FOP
    766 HAVE_XMLTO_FALSE
    767 HAVE_XMLTO_TRUE
    768 HAVE_XMLTO_TEXT_FALSE
    769 HAVE_XMLTO_TEXT_TRUE
    770 XMLTO
    771 ENABLE_DEVEL_DOCS_FALSE
    772 ENABLE_DEVEL_DOCS_TRUE
    773 MAN_SUBSTS
    774 XORG_MAN_PAGE
    775 ADMIN_MAN_DIR
    776 DRIVER_MAN_DIR
    777 MISC_MAN_DIR
    778 FILE_MAN_DIR
    779 LIB_MAN_DIR
    780 APP_MAN_DIR
    781 ADMIN_MAN_SUFFIX
    782 DRIVER_MAN_SUFFIX
    783 MISC_MAN_SUFFIX
    784 FILE_MAN_SUFFIX
    785 LIB_MAN_SUFFIX
    786 APP_MAN_SUFFIX
    787 INSTALL_CMD
    788 PKG_CONFIG_LIBDIR
    789 PKG_CONFIG_PATH
    790 PKG_CONFIG
    791 CHANGELOG_CMD
    792 STRICT_CFLAGS
    793 CWARNFLAGS
    794 BASE_CFLAGS
    795 LT_SYS_LIBRARY_PATH
    796 OTOOL64
    797 OTOOL
    798 LIPO
    799 NMEDIT
    800 DSYMUTIL
    801 MANIFEST_TOOL
    802 RANLIB
    803 ac_ct_AR
    804 AR
    805 DLLTOOL
    806 OBJDUMP
    807 LN_S
    808 NM
    809 ac_ct_DUMPBIN
    810 DUMPBIN
    811 LD
    812 FGREP
    813 EGREP
    814 GREP
    815 SED
    816 host_os
    817 host_vendor
    818 host_cpu
    819 host
    820 build_os
    821 build_vendor
    822 build_cpu
    823 build
    824 LIBTOOL
    825 am__fastdepCC_FALSE
    826 am__fastdepCC_TRUE
    827 CCDEPMODE
    828 am__nodep
    829 AMDEPBACKSLASH
    830 AMDEP_FALSE
    831 AMDEP_TRUE
    832 am__include
    833 DEPDIR
    834 OBJEXT
    835 EXEEXT
    836 ac_ct_CC
    837 CPPFLAGS
    838 LDFLAGS
    839 CFLAGS
    840 CC
    841 AM_BACKSLASH
    842 AM_DEFAULT_VERBOSITY
    843 AM_DEFAULT_V
    844 AM_V
    845 CSCOPE
    846 ETAGS
    847 CTAGS
    848 am__untar
    849 am__tar
    850 AMTAR
    851 am__leading_dot
    852 SET_MAKE
    853 AWK
    854 mkdir_p
    855 MKDIR_P
    856 INSTALL_STRIP_PROGRAM
    857 STRIP
    858 install_sh
    859 MAKEINFO
    860 AUTOHEADER
    861 AUTOMAKE
    862 AUTOCONF
    863 ACLOCAL
    864 VERSION
    865 PACKAGE
    866 CYGPATH_W
    867 am__isrc
    868 INSTALL_DATA
    869 INSTALL_SCRIPT
    870 INSTALL_PROGRAM
    871 target_alias
    872 host_alias
    873 build_alias
    874 LIBS
    875 ECHO_T
    876 ECHO_N
    877 ECHO_C
    878 DEFS
    879 mandir
    880 localedir
    881 libdir
    882 psdir
    883 pdfdir
    884 dvidir
    885 htmldir
    886 infodir
    887 docdir
    888 oldincludedir
    889 includedir
    890 runstatedir
    891 localstatedir
    892 sharedstatedir
    893 sysconfdir
    894 datadir
    895 datarootdir
    896 libexecdir
    897 sbindir
    898 bindir
    899 program_transform_name
    900 prefix
    901 exec_prefix
    902 PACKAGE_URL
    903 PACKAGE_BUGREPORT
    904 PACKAGE_STRING
    905 PACKAGE_VERSION
    906 PACKAGE_TARNAME
    907 PACKAGE_NAME
    908 PATH_SEPARATOR
    909 SHELL
    910 am__quote'
    911 ac_subst_files=''
    912 ac_user_opts='
    913 enable_option_checking
    914 enable_silent_rules
    915 enable_dependency_tracking
    916 enable_shared
    917 enable_static
    918 with_pic
    919 enable_fast_install
    920 with_aix_soname
    921 with_gnu_ld
    922 with_sysroot
    923 enable_libtool_lock
    924 enable_selective_werror
    925 enable_strict_compilation
    926 enable_devel_docs
    927 with_xmlto
    928 with_fop
    929 enable_freetype
    930 with_freetype_config
    931 with_bzip2
    932 enable_builtins
    933 enable_pcfformat
    934 enable_bdfformat
    935 enable_snfformat
    936 enable_fc
    937 enable_unix_transport
    938 enable_tcp_transport
    939 enable_ipv6
    940 enable_local_transport
    941 '
    942       ac_precious_vars='build_alias
    943 host_alias
    944 target_alias
    945 CC
    946 CFLAGS
    947 LDFLAGS
    948 LIBS
    949 CPPFLAGS
    950 LT_SYS_LIBRARY_PATH
    951 PKG_CONFIG
    952 PKG_CONFIG_PATH
    953 PKG_CONFIG_LIBDIR
    954 XMLTO
    955 FOP
    956 FREETYPE_CFLAGS
    957 FREETYPE_LIBS
    958 XFONT_CFLAGS
    959 XFONT_LIBS'
    960 
    961 
    962 # Initialize some variables set by options.
    963 ac_init_help=
    964 ac_init_version=false
    965 ac_unrecognized_opts=
    966 ac_unrecognized_sep=
    967 # The variables have the same names as the options, with
    968 # dashes changed to underlines.
    969 cache_file=/dev/null
    970 exec_prefix=NONE
    971 no_create=
    972 no_recursion=
    973 prefix=NONE
    974 program_prefix=NONE
    975 program_suffix=NONE
    976 program_transform_name=s,x,x,
    977 silent=
    978 site=
    979 srcdir=
    980 verbose=
    981 x_includes=NONE
    982 x_libraries=NONE
    983 
    984 # Installation directory options.
    985 # These are left unexpanded so users can "make install exec_prefix=/foo"
    986 # and all the variables that are supposed to be based on exec_prefix
    987 # by default will actually change.
    988 # Use braces instead of parens because sh, perl, etc. also accept them.
    989 # (The list follows the same order as the GNU Coding Standards.)
    990 bindir='${exec_prefix}/bin'
    991 sbindir='${exec_prefix}/sbin'
    992 libexecdir='${exec_prefix}/libexec'
    993 datarootdir='${prefix}/share'
    994 datadir='${datarootdir}'
    995 sysconfdir='${prefix}/etc'
    996 sharedstatedir='${prefix}/com'
    997 localstatedir='${prefix}/var'
    998 runstatedir='${localstatedir}/run'
    999 includedir='${prefix}/include'
   1000 oldincludedir='/usr/include'
   1001 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1002 infodir='${datarootdir}/info'
   1003 htmldir='${docdir}'
   1004 dvidir='${docdir}'
   1005 pdfdir='${docdir}'
   1006 psdir='${docdir}'
   1007 libdir='${exec_prefix}/lib'
   1008 localedir='${datarootdir}/locale'
   1009 mandir='${datarootdir}/man'
   1010 
   1011 ac_prev=
   1012 ac_dashdash=
   1013 for ac_option
   1014 do
   1015   # If the previous option needs an argument, assign it.
   1016   if test -n "$ac_prev"; then
   1017     eval $ac_prev=\$ac_option
   1018     ac_prev=
   1019     continue
   1020   fi
   1021 
   1022   case $ac_option in
   1023   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1024   *=)   ac_optarg= ;;
   1025   *)    ac_optarg=yes ;;
   1026   esac
   1027 
   1028   case $ac_dashdash$ac_option in
   1029   --)
   1030     ac_dashdash=yes ;;
   1031 
   1032   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1033     ac_prev=bindir ;;
   1034   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1035     bindir=$ac_optarg ;;
   1036 
   1037   -build | --build | --buil | --bui | --bu)
   1038     ac_prev=build_alias ;;
   1039   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1040     build_alias=$ac_optarg ;;
   1041 
   1042   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1043   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1044     ac_prev=cache_file ;;
   1045   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1046   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1047     cache_file=$ac_optarg ;;
   1048 
   1049   --config-cache | -C)
   1050     cache_file=config.cache ;;
   1051 
   1052   -datadir | --datadir | --datadi | --datad)
   1053     ac_prev=datadir ;;
   1054   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1055     datadir=$ac_optarg ;;
   1056 
   1057   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1058   | --dataroo | --dataro | --datar)
   1059     ac_prev=datarootdir ;;
   1060   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1061   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1062     datarootdir=$ac_optarg ;;
   1063 
   1064   -disable-* | --disable-*)
   1065     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1066     # Reject names that are not valid shell variable names.
   1067     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1068       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1069     ac_useropt_orig=$ac_useropt
   1070     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1071     case $ac_user_opts in
   1072       *"
   1073 "enable_$ac_useropt"
   1074 "*) ;;
   1075       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1076 	 ac_unrecognized_sep=', ';;
   1077     esac
   1078     eval enable_$ac_useropt=no ;;
   1079 
   1080   -docdir | --docdir | --docdi | --doc | --do)
   1081     ac_prev=docdir ;;
   1082   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1083     docdir=$ac_optarg ;;
   1084 
   1085   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1086     ac_prev=dvidir ;;
   1087   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1088     dvidir=$ac_optarg ;;
   1089 
   1090   -enable-* | --enable-*)
   1091     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1092     # Reject names that are not valid shell variable names.
   1093     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1094       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1095     ac_useropt_orig=$ac_useropt
   1096     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1097     case $ac_user_opts in
   1098       *"
   1099 "enable_$ac_useropt"
   1100 "*) ;;
   1101       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1102 	 ac_unrecognized_sep=', ';;
   1103     esac
   1104     eval enable_$ac_useropt=\$ac_optarg ;;
   1105 
   1106   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1107   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1108   | --exec | --exe | --ex)
   1109     ac_prev=exec_prefix ;;
   1110   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1111   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1112   | --exec=* | --exe=* | --ex=*)
   1113     exec_prefix=$ac_optarg ;;
   1114 
   1115   -gas | --gas | --ga | --g)
   1116     # Obsolete; use --with-gas.
   1117     with_gas=yes ;;
   1118 
   1119   -help | --help | --hel | --he | -h)
   1120     ac_init_help=long ;;
   1121   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1122     ac_init_help=recursive ;;
   1123   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1124     ac_init_help=short ;;
   1125 
   1126   -host | --host | --hos | --ho)
   1127     ac_prev=host_alias ;;
   1128   -host=* | --host=* | --hos=* | --ho=*)
   1129     host_alias=$ac_optarg ;;
   1130 
   1131   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1132     ac_prev=htmldir ;;
   1133   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1134   | --ht=*)
   1135     htmldir=$ac_optarg ;;
   1136 
   1137   -includedir | --includedir | --includedi | --included | --include \
   1138   | --includ | --inclu | --incl | --inc)
   1139     ac_prev=includedir ;;
   1140   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1141   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1142     includedir=$ac_optarg ;;
   1143 
   1144   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1145     ac_prev=infodir ;;
   1146   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1147     infodir=$ac_optarg ;;
   1148 
   1149   -libdir | --libdir | --libdi | --libd)
   1150     ac_prev=libdir ;;
   1151   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1152     libdir=$ac_optarg ;;
   1153 
   1154   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1155   | --libexe | --libex | --libe)
   1156     ac_prev=libexecdir ;;
   1157   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1158   | --libexe=* | --libex=* | --libe=*)
   1159     libexecdir=$ac_optarg ;;
   1160 
   1161   -localedir | --localedir | --localedi | --localed | --locale)
   1162     ac_prev=localedir ;;
   1163   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1164     localedir=$ac_optarg ;;
   1165 
   1166   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1167   | --localstate | --localstat | --localsta | --localst | --locals)
   1168     ac_prev=localstatedir ;;
   1169   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1170   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1171     localstatedir=$ac_optarg ;;
   1172 
   1173   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1174     ac_prev=mandir ;;
   1175   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1176     mandir=$ac_optarg ;;
   1177 
   1178   -nfp | --nfp | --nf)
   1179     # Obsolete; use --without-fp.
   1180     with_fp=no ;;
   1181 
   1182   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1183   | --no-cr | --no-c | -n)
   1184     no_create=yes ;;
   1185 
   1186   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1187   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1188     no_recursion=yes ;;
   1189 
   1190   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1191   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1192   | --oldin | --oldi | --old | --ol | --o)
   1193     ac_prev=oldincludedir ;;
   1194   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1195   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1196   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1197     oldincludedir=$ac_optarg ;;
   1198 
   1199   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1200     ac_prev=prefix ;;
   1201   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1202     prefix=$ac_optarg ;;
   1203 
   1204   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1205   | --program-pre | --program-pr | --program-p)
   1206     ac_prev=program_prefix ;;
   1207   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1208   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1209     program_prefix=$ac_optarg ;;
   1210 
   1211   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1212   | --program-suf | --program-su | --program-s)
   1213     ac_prev=program_suffix ;;
   1214   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1215   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1216     program_suffix=$ac_optarg ;;
   1217 
   1218   -program-transform-name | --program-transform-name \
   1219   | --program-transform-nam | --program-transform-na \
   1220   | --program-transform-n | --program-transform- \
   1221   | --program-transform | --program-transfor \
   1222   | --program-transfo | --program-transf \
   1223   | --program-trans | --program-tran \
   1224   | --progr-tra | --program-tr | --program-t)
   1225     ac_prev=program_transform_name ;;
   1226   -program-transform-name=* | --program-transform-name=* \
   1227   | --program-transform-nam=* | --program-transform-na=* \
   1228   | --program-transform-n=* | --program-transform-=* \
   1229   | --program-transform=* | --program-transfor=* \
   1230   | --program-transfo=* | --program-transf=* \
   1231   | --program-trans=* | --program-tran=* \
   1232   | --progr-tra=* | --program-tr=* | --program-t=*)
   1233     program_transform_name=$ac_optarg ;;
   1234 
   1235   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1236     ac_prev=pdfdir ;;
   1237   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1238     pdfdir=$ac_optarg ;;
   1239 
   1240   -psdir | --psdir | --psdi | --psd | --ps)
   1241     ac_prev=psdir ;;
   1242   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1243     psdir=$ac_optarg ;;
   1244 
   1245   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1246   | -silent | --silent | --silen | --sile | --sil)
   1247     silent=yes ;;
   1248 
   1249   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1250   | --runstate | --runstat | --runsta | --runst | --runs \
   1251   | --run | --ru | --r)
   1252     ac_prev=runstatedir ;;
   1253   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1254   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1255   | --run=* | --ru=* | --r=*)
   1256     runstatedir=$ac_optarg ;;
   1257 
   1258   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1259     ac_prev=sbindir ;;
   1260   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1261   | --sbi=* | --sb=*)
   1262     sbindir=$ac_optarg ;;
   1263 
   1264   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1265   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1266   | --sharedst | --shareds | --shared | --share | --shar \
   1267   | --sha | --sh)
   1268     ac_prev=sharedstatedir ;;
   1269   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1270   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1271   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1272   | --sha=* | --sh=*)
   1273     sharedstatedir=$ac_optarg ;;
   1274 
   1275   -site | --site | --sit)
   1276     ac_prev=site ;;
   1277   -site=* | --site=* | --sit=*)
   1278     site=$ac_optarg ;;
   1279 
   1280   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1281     ac_prev=srcdir ;;
   1282   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1283     srcdir=$ac_optarg ;;
   1284 
   1285   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1286   | --syscon | --sysco | --sysc | --sys | --sy)
   1287     ac_prev=sysconfdir ;;
   1288   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1289   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1290     sysconfdir=$ac_optarg ;;
   1291 
   1292   -target | --target | --targe | --targ | --tar | --ta | --t)
   1293     ac_prev=target_alias ;;
   1294   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1295     target_alias=$ac_optarg ;;
   1296 
   1297   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1298     verbose=yes ;;
   1299 
   1300   -version | --version | --versio | --versi | --vers | -V)
   1301     ac_init_version=: ;;
   1302 
   1303   -with-* | --with-*)
   1304     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1305     # Reject names that are not valid shell variable names.
   1306     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1307       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1308     ac_useropt_orig=$ac_useropt
   1309     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1310     case $ac_user_opts in
   1311       *"
   1312 "with_$ac_useropt"
   1313 "*) ;;
   1314       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1315 	 ac_unrecognized_sep=', ';;
   1316     esac
   1317     eval with_$ac_useropt=\$ac_optarg ;;
   1318 
   1319   -without-* | --without-*)
   1320     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1321     # Reject names that are not valid shell variable names.
   1322     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1323       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1324     ac_useropt_orig=$ac_useropt
   1325     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1326     case $ac_user_opts in
   1327       *"
   1328 "with_$ac_useropt"
   1329 "*) ;;
   1330       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1331 	 ac_unrecognized_sep=', ';;
   1332     esac
   1333     eval with_$ac_useropt=no ;;
   1334 
   1335   --x)
   1336     # Obsolete; use --with-x.
   1337     with_x=yes ;;
   1338 
   1339   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1340   | --x-incl | --x-inc | --x-in | --x-i)
   1341     ac_prev=x_includes ;;
   1342   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1343   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1344     x_includes=$ac_optarg ;;
   1345 
   1346   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1347   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1348     ac_prev=x_libraries ;;
   1349   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1350   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1351     x_libraries=$ac_optarg ;;
   1352 
   1353   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1354 Try \`$0 --help' for more information"
   1355     ;;
   1356 
   1357   *=*)
   1358     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1359     # Reject names that are not valid shell variable names.
   1360     case $ac_envvar in #(
   1361       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1362       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1363     esac
   1364     eval $ac_envvar=\$ac_optarg
   1365     export $ac_envvar ;;
   1366 
   1367   *)
   1368     # FIXME: should be removed in autoconf 3.0.
   1369     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1370     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1371       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1372     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1373     ;;
   1374 
   1375   esac
   1376 done
   1377 
   1378 if test -n "$ac_prev"; then
   1379   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1380   as_fn_error $? "missing argument to $ac_option"
   1381 fi
   1382 
   1383 if test -n "$ac_unrecognized_opts"; then
   1384   case $enable_option_checking in
   1385     no) ;;
   1386     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1387     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1388   esac
   1389 fi
   1390 
   1391 # Check all directory arguments for consistency.
   1392 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1393 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1394 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1395 		libdir localedir mandir runstatedir
   1396 do
   1397   eval ac_val=\$$ac_var
   1398   # Remove trailing slashes.
   1399   case $ac_val in
   1400     */ )
   1401       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1402       eval $ac_var=\$ac_val;;
   1403   esac
   1404   # Be sure to have absolute directory names.
   1405   case $ac_val in
   1406     [\\/$]* | ?:[\\/]* )  continue;;
   1407     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1408   esac
   1409   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1410 done
   1411 
   1412 # There might be people who depend on the old broken behavior: `$host'
   1413 # used to hold the argument of --host etc.
   1414 # FIXME: To remove some day.
   1415 build=$build_alias
   1416 host=$host_alias
   1417 target=$target_alias
   1418 
   1419 # FIXME: To remove some day.
   1420 if test "x$host_alias" != x; then
   1421   if test "x$build_alias" = x; then
   1422     cross_compiling=maybe
   1423   elif test "x$build_alias" != "x$host_alias"; then
   1424     cross_compiling=yes
   1425   fi
   1426 fi
   1427 
   1428 ac_tool_prefix=
   1429 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1430 
   1431 test "$silent" = yes && exec 6>/dev/null
   1432 
   1433 
   1434 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1435 ac_ls_di=`ls -di .` &&
   1436 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1437   as_fn_error $? "working directory cannot be determined"
   1438 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1439   as_fn_error $? "pwd does not report name of working directory"
   1440 
   1441 
   1442 # Find the source files, if location was not specified.
   1443 if test -z "$srcdir"; then
   1444   ac_srcdir_defaulted=yes
   1445   # Try the directory containing this script, then the parent directory.
   1446   ac_confdir=`$as_dirname -- "$as_myself" ||
   1447 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1448 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1449 	 X"$as_myself" : 'X\(//\)$' \| \
   1450 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1451 printf "%s\n" X"$as_myself" |
   1452     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1453 	    s//\1/
   1454 	    q
   1455 	  }
   1456 	  /^X\(\/\/\)[^/].*/{
   1457 	    s//\1/
   1458 	    q
   1459 	  }
   1460 	  /^X\(\/\/\)$/{
   1461 	    s//\1/
   1462 	    q
   1463 	  }
   1464 	  /^X\(\/\).*/{
   1465 	    s//\1/
   1466 	    q
   1467 	  }
   1468 	  s/.*/./; q'`
   1469   srcdir=$ac_confdir
   1470   if test ! -r "$srcdir/$ac_unique_file"; then
   1471     srcdir=..
   1472   fi
   1473 else
   1474   ac_srcdir_defaulted=no
   1475 fi
   1476 if test ! -r "$srcdir/$ac_unique_file"; then
   1477   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1478   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1479 fi
   1480 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1481 ac_abs_confdir=`(
   1482 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1483 	pwd)`
   1484 # When building in place, set srcdir=.
   1485 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1486   srcdir=.
   1487 fi
   1488 # Remove unnecessary trailing slashes from srcdir.
   1489 # Double slashes in file names in object file debugging info
   1490 # mess up M-x gdb in Emacs.
   1491 case $srcdir in
   1492 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1493 esac
   1494 for ac_var in $ac_precious_vars; do
   1495   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1496   eval ac_env_${ac_var}_value=\$${ac_var}
   1497   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1498   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1499 done
   1500 
   1501 #
   1502 # Report the --help message.
   1503 #
   1504 if test "$ac_init_help" = "long"; then
   1505   # Omit some internal or obsolete options to make the list less imposing.
   1506   # This message is too long to be a string in the A/UX 3.1 sh.
   1507   cat <<_ACEOF
   1508 \`configure' configures libXfont2 2.0.5 to adapt to many kinds of systems.
   1509 
   1510 Usage: $0 [OPTION]... [VAR=VALUE]...
   1511 
   1512 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1513 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1514 
   1515 Defaults for the options are specified in brackets.
   1516 
   1517 Configuration:
   1518   -h, --help              display this help and exit
   1519       --help=short        display options specific to this package
   1520       --help=recursive    display the short help of all the included packages
   1521   -V, --version           display version information and exit
   1522   -q, --quiet, --silent   do not print \`checking ...' messages
   1523       --cache-file=FILE   cache test results in FILE [disabled]
   1524   -C, --config-cache      alias for \`--cache-file=config.cache'
   1525   -n, --no-create         do not create output files
   1526       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1527 
   1528 Installation directories:
   1529   --prefix=PREFIX         install architecture-independent files in PREFIX
   1530                           [$ac_default_prefix]
   1531   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1532                           [PREFIX]
   1533 
   1534 By default, \`make install' will install all the files in
   1535 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1536 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1537 for instance \`--prefix=\$HOME'.
   1538 
   1539 For better control, use the options below.
   1540 
   1541 Fine tuning of the installation directories:
   1542   --bindir=DIR            user executables [EPREFIX/bin]
   1543   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1544   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1545   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1546   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1547   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1548   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1549   --libdir=DIR            object code libraries [EPREFIX/lib]
   1550   --includedir=DIR        C header files [PREFIX/include]
   1551   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1552   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1553   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1554   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1555   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1556   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1557   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXfont2]
   1558   --htmldir=DIR           html documentation [DOCDIR]
   1559   --dvidir=DIR            dvi documentation [DOCDIR]
   1560   --pdfdir=DIR            pdf documentation [DOCDIR]
   1561   --psdir=DIR             ps documentation [DOCDIR]
   1562 _ACEOF
   1563 
   1564   cat <<\_ACEOF
   1565 
   1566 Program names:
   1567   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1568   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1569   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1570 
   1571 System types:
   1572   --build=BUILD     configure for building on BUILD [guessed]
   1573   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1574 _ACEOF
   1575 fi
   1576 
   1577 if test -n "$ac_init_help"; then
   1578   case $ac_init_help in
   1579      short | recursive ) echo "Configuration of libXfont2 2.0.5:";;
   1580    esac
   1581   cat <<\_ACEOF
   1582 
   1583 Optional Features:
   1584   --disable-option-checking  ignore unrecognized --enable/--with options
   1585   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1586   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1587   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1588   --disable-silent-rules  verbose build output (undo: "make V=0")
   1589   --enable-dependency-tracking
   1590                           do not reject slow dependency extractors
   1591   --disable-dependency-tracking
   1592                           speeds up one-time build
   1593   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1594   --enable-static[=PKGS]  build static libraries [default=yes]
   1595   --enable-fast-install[=PKGS]
   1596                           optimize for fast installation [default=yes]
   1597   --disable-libtool-lock  avoid locking (might break parallel builds)
   1598   --disable-selective-werror
   1599                           Turn off selective compiler errors. (default:
   1600                           enabled)
   1601   --enable-strict-compilation
   1602                           Enable all warnings from compiler and make them
   1603                           errors (default: disabled)
   1604   --enable-devel-docs     Enable building the developer documentation
   1605                           (default: yes)
   1606   --disable-freetype      Build freetype backend (default: enabled)
   1607   --disable-builtins      Support builtin fonts (default: enabled)
   1608   --disable-pcfformat     Support PCF format bitmap fonts (default: enabled)
   1609   --disable-bdfformat     Support BDF format bitmap fonts (default: enabled)
   1610   --enable-snfformat      Support SNF format bitmap fonts (default: disabled)
   1611   --disable-fc            Support connections to xfs servers (default:
   1612                           enabled)
   1613   --enable-unix-transport Enable UNIX domain socket transport
   1614   --enable-tcp-transport  Enable TCP socket transport
   1615   --enable-ipv6           Enable IPv6 support
   1616   --enable-local-transport
   1617                           Enable os-specific local transport
   1618 
   1619 Optional Packages:
   1620   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1621   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1622   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1623                           both]
   1624   --with-aix-soname=aix|svr4|both
   1625                           shared library versioning (aka "SONAME") variant to
   1626                           provide on AIX, [default=aix].
   1627   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1628   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1629                           compiler's sysroot if not specified).
   1630   --with-xmlto            Use xmlto to regenerate documentation (default:
   1631                           auto)
   1632   --with-fop              Use fop to regenerate documentation (default: auto)
   1633   --with-freetype-config=PROG
   1634                           Use FreeType configuration program PROG
   1635   --with-bzip2            Use libbz2 to support bzip2 compressed bitmap fonts
   1636                           (default: no)
   1637 
   1638 Some influential environment variables:
   1639   CC          C compiler command
   1640   CFLAGS      C compiler flags
   1641   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1642               nonstandard directory <lib dir>
   1643   LIBS        libraries to pass to the linker, e.g. -l<library>
   1644   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1645               you have headers in a nonstandard directory <include dir>
   1646   LT_SYS_LIBRARY_PATH
   1647               User-defined run-time library search path.
   1648   PKG_CONFIG  path to pkg-config utility
   1649   PKG_CONFIG_PATH
   1650               directories to add to pkg-config's search path
   1651   PKG_CONFIG_LIBDIR
   1652               path overriding pkg-config's built-in search path
   1653   XMLTO       Path to xmlto command
   1654   FOP         Path to fop command
   1655   FREETYPE_CFLAGS
   1656               C compiler flags for FREETYPE, overriding pkg-config
   1657   FREETYPE_LIBS
   1658               linker flags for FREETYPE, overriding pkg-config
   1659   XFONT_CFLAGS
   1660               C compiler flags for XFONT, overriding pkg-config
   1661   XFONT_LIBS  linker flags for XFONT, overriding pkg-config
   1662 
   1663 Use these variables to override the choices made by `configure' or to help
   1664 it to find libraries and programs with nonstandard names/locations.
   1665 
   1666 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXfont/issues>.
   1667 _ACEOF
   1668 ac_status=$?
   1669 fi
   1670 
   1671 if test "$ac_init_help" = "recursive"; then
   1672   # If there are subdirs, report their specific --help.
   1673   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1674     test -d "$ac_dir" ||
   1675       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1676       continue
   1677     ac_builddir=.
   1678 
   1679 case "$ac_dir" in
   1680 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1681 *)
   1682   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1683   # A ".." for each directory in $ac_dir_suffix.
   1684   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1685   case $ac_top_builddir_sub in
   1686   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1687   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1688   esac ;;
   1689 esac
   1690 ac_abs_top_builddir=$ac_pwd
   1691 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1692 # for backward compatibility:
   1693 ac_top_builddir=$ac_top_build_prefix
   1694 
   1695 case $srcdir in
   1696   .)  # We are building in place.
   1697     ac_srcdir=.
   1698     ac_top_srcdir=$ac_top_builddir_sub
   1699     ac_abs_top_srcdir=$ac_pwd ;;
   1700   [\\/]* | ?:[\\/]* )  # Absolute name.
   1701     ac_srcdir=$srcdir$ac_dir_suffix;
   1702     ac_top_srcdir=$srcdir
   1703     ac_abs_top_srcdir=$srcdir ;;
   1704   *) # Relative name.
   1705     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1706     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1707     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1708 esac
   1709 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1710 
   1711     cd "$ac_dir" || { ac_status=$?; continue; }
   1712     # Check for configure.gnu first; this name is used for a wrapper for
   1713     # Metaconfig's "Configure" on case-insensitive file systems.
   1714     if test -f "$ac_srcdir/configure.gnu"; then
   1715       echo &&
   1716       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1717     elif test -f "$ac_srcdir/configure"; then
   1718       echo &&
   1719       $SHELL "$ac_srcdir/configure" --help=recursive
   1720     else
   1721       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1722     fi || ac_status=$?
   1723     cd "$ac_pwd" || { ac_status=$?; break; }
   1724   done
   1725 fi
   1726 
   1727 test -n "$ac_init_help" && exit $ac_status
   1728 if $ac_init_version; then
   1729   cat <<\_ACEOF
   1730 libXfont2 configure 2.0.5
   1731 generated by GNU Autoconf 2.71
   1732 
   1733 Copyright (C) 2021 Free Software Foundation, Inc.
   1734 This configure script is free software; the Free Software Foundation
   1735 gives unlimited permission to copy, distribute and modify it.
   1736 _ACEOF
   1737   exit
   1738 fi
   1739 
   1740 ## ------------------------ ##
   1741 ## Autoconf initialization. ##
   1742 ## ------------------------ ##
   1743 
   1744 # ac_fn_c_try_compile LINENO
   1745 # --------------------------
   1746 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1747 ac_fn_c_try_compile ()
   1748 {
   1749   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1750   rm -f conftest.$ac_objext conftest.beam
   1751   if { { ac_try="$ac_compile"
   1752 case "(($ac_try" in
   1753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1754   *) ac_try_echo=$ac_try;;
   1755 esac
   1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1757 printf "%s\n" "$ac_try_echo"; } >&5
   1758   (eval "$ac_compile") 2>conftest.err
   1759   ac_status=$?
   1760   if test -s conftest.err; then
   1761     grep -v '^ *+' conftest.err >conftest.er1
   1762     cat conftest.er1 >&5
   1763     mv -f conftest.er1 conftest.err
   1764   fi
   1765   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1766   test $ac_status = 0; } && {
   1767 	 test -z "$ac_c_werror_flag" ||
   1768 	 test ! -s conftest.err
   1769        } && test -s conftest.$ac_objext
   1770 then :
   1771   ac_retval=0
   1772 else $as_nop
   1773   printf "%s\n" "$as_me: failed program was:" >&5
   1774 sed 's/^/| /' conftest.$ac_ext >&5
   1775 
   1776 	ac_retval=1
   1777 fi
   1778   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1779   as_fn_set_status $ac_retval
   1780 
   1781 } # ac_fn_c_try_compile
   1782 
   1783 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1784 # -------------------------------------------------------
   1785 # Tests whether HEADER exists and can be compiled using the include files in
   1786 # INCLUDES, setting the cache variable VAR accordingly.
   1787 ac_fn_c_check_header_compile ()
   1788 {
   1789   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1790   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1791 printf %s "checking for $2... " >&6; }
   1792 if eval test \${$3+y}
   1793 then :
   1794   printf %s "(cached) " >&6
   1795 else $as_nop
   1796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1797 /* end confdefs.h.  */
   1798 $4
   1799 #include <$2>
   1800 _ACEOF
   1801 if ac_fn_c_try_compile "$LINENO"
   1802 then :
   1803   eval "$3=yes"
   1804 else $as_nop
   1805   eval "$3=no"
   1806 fi
   1807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1808 fi
   1809 eval ac_res=\$$3
   1810 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1811 printf "%s\n" "$ac_res" >&6; }
   1812   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1813 
   1814 } # ac_fn_c_check_header_compile
   1815 
   1816 # ac_fn_c_try_link LINENO
   1817 # -----------------------
   1818 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1819 ac_fn_c_try_link ()
   1820 {
   1821   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1822   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1823   if { { ac_try="$ac_link"
   1824 case "(($ac_try" in
   1825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1826   *) ac_try_echo=$ac_try;;
   1827 esac
   1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1829 printf "%s\n" "$ac_try_echo"; } >&5
   1830   (eval "$ac_link") 2>conftest.err
   1831   ac_status=$?
   1832   if test -s conftest.err; then
   1833     grep -v '^ *+' conftest.err >conftest.er1
   1834     cat conftest.er1 >&5
   1835     mv -f conftest.er1 conftest.err
   1836   fi
   1837   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1838   test $ac_status = 0; } && {
   1839 	 test -z "$ac_c_werror_flag" ||
   1840 	 test ! -s conftest.err
   1841        } && test -s conftest$ac_exeext && {
   1842 	 test "$cross_compiling" = yes ||
   1843 	 test -x conftest$ac_exeext
   1844        }
   1845 then :
   1846   ac_retval=0
   1847 else $as_nop
   1848   printf "%s\n" "$as_me: failed program was:" >&5
   1849 sed 's/^/| /' conftest.$ac_ext >&5
   1850 
   1851 	ac_retval=1
   1852 fi
   1853   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1854   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1855   # interfere with the next link command; also delete a directory that is
   1856   # left behind by Apple's compiler.  We do this before executing the actions.
   1857   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1858   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1859   as_fn_set_status $ac_retval
   1860 
   1861 } # ac_fn_c_try_link
   1862 
   1863 # ac_fn_c_check_func LINENO FUNC VAR
   1864 # ----------------------------------
   1865 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1866 ac_fn_c_check_func ()
   1867 {
   1868   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1869   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1870 printf %s "checking for $2... " >&6; }
   1871 if eval test \${$3+y}
   1872 then :
   1873   printf %s "(cached) " >&6
   1874 else $as_nop
   1875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1876 /* end confdefs.h.  */
   1877 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1879 #define $2 innocuous_$2
   1880 
   1881 /* System header to define __stub macros and hopefully few prototypes,
   1882    which can conflict with char $2 (); below.  */
   1883 
   1884 #include <limits.h>
   1885 #undef $2
   1886 
   1887 /* Override any GCC internal prototype to avoid an error.
   1888    Use char because int might match the return type of a GCC
   1889    builtin and then its argument prototype would still apply.  */
   1890 #ifdef __cplusplus
   1891 extern "C"
   1892 #endif
   1893 char $2 ();
   1894 /* The GNU C library defines this for functions which it implements
   1895     to always fail with ENOSYS.  Some functions are actually named
   1896     something starting with __ and the normal name is an alias.  */
   1897 #if defined __stub_$2 || defined __stub___$2
   1898 choke me
   1899 #endif
   1900 
   1901 int
   1902 main (void)
   1903 {
   1904 return $2 ();
   1905   ;
   1906   return 0;
   1907 }
   1908 _ACEOF
   1909 if ac_fn_c_try_link "$LINENO"
   1910 then :
   1911   eval "$3=yes"
   1912 else $as_nop
   1913   eval "$3=no"
   1914 fi
   1915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1916     conftest$ac_exeext conftest.$ac_ext
   1917 fi
   1918 eval ac_res=\$$3
   1919 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1920 printf "%s\n" "$ac_res" >&6; }
   1921   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1922 
   1923 } # ac_fn_c_check_func
   1924 
   1925 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1926 # ------------------------------------------------------------------
   1927 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1928 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1929 ac_fn_check_decl ()
   1930 {
   1931   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1932   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1933   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1934 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1935 if eval test \${$3+y}
   1936 then :
   1937   printf %s "(cached) " >&6
   1938 else $as_nop
   1939   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1940   eval ac_save_FLAGS=\$$6
   1941   as_fn_append $6 " $5"
   1942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1943 /* end confdefs.h.  */
   1944 $4
   1945 int
   1946 main (void)
   1947 {
   1948 #ifndef $as_decl_name
   1949 #ifdef __cplusplus
   1950   (void) $as_decl_use;
   1951 #else
   1952   (void) $as_decl_name;
   1953 #endif
   1954 #endif
   1955 
   1956   ;
   1957   return 0;
   1958 }
   1959 _ACEOF
   1960 if ac_fn_c_try_compile "$LINENO"
   1961 then :
   1962   eval "$3=yes"
   1963 else $as_nop
   1964   eval "$3=no"
   1965 fi
   1966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1967   eval $6=\$ac_save_FLAGS
   1968 
   1969 fi
   1970 eval ac_res=\$$3
   1971 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1972 printf "%s\n" "$ac_res" >&6; }
   1973   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1974 
   1975 } # ac_fn_check_decl
   1976 
   1977 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1978 # ----------------------------------------------------
   1979 # Tries to find if the field MEMBER exists in type AGGR, after including
   1980 # INCLUDES, setting cache variable VAR accordingly.
   1981 ac_fn_c_check_member ()
   1982 {
   1983   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1985 printf %s "checking for $2.$3... " >&6; }
   1986 if eval test \${$4+y}
   1987 then :
   1988   printf %s "(cached) " >&6
   1989 else $as_nop
   1990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1991 /* end confdefs.h.  */
   1992 $5
   1993 int
   1994 main (void)
   1995 {
   1996 static $2 ac_aggr;
   1997 if (ac_aggr.$3)
   1998 return 0;
   1999   ;
   2000   return 0;
   2001 }
   2002 _ACEOF
   2003 if ac_fn_c_try_compile "$LINENO"
   2004 then :
   2005   eval "$4=yes"
   2006 else $as_nop
   2007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2008 /* end confdefs.h.  */
   2009 $5
   2010 int
   2011 main (void)
   2012 {
   2013 static $2 ac_aggr;
   2014 if (sizeof ac_aggr.$3)
   2015 return 0;
   2016   ;
   2017   return 0;
   2018 }
   2019 _ACEOF
   2020 if ac_fn_c_try_compile "$LINENO"
   2021 then :
   2022   eval "$4=yes"
   2023 else $as_nop
   2024   eval "$4=no"
   2025 fi
   2026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2027 fi
   2028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2029 fi
   2030 eval ac_res=\$$4
   2031 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2032 printf "%s\n" "$ac_res" >&6; }
   2033   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2034 
   2035 } # ac_fn_c_check_member
   2036 
   2037 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2038 # -------------------------------------------
   2039 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2040 # variable VAR accordingly.
   2041 ac_fn_c_check_type ()
   2042 {
   2043   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2045 printf %s "checking for $2... " >&6; }
   2046 if eval test \${$3+y}
   2047 then :
   2048   printf %s "(cached) " >&6
   2049 else $as_nop
   2050   eval "$3=no"
   2051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2052 /* end confdefs.h.  */
   2053 $4
   2054 int
   2055 main (void)
   2056 {
   2057 if (sizeof ($2))
   2058 	 return 0;
   2059   ;
   2060   return 0;
   2061 }
   2062 _ACEOF
   2063 if ac_fn_c_try_compile "$LINENO"
   2064 then :
   2065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2066 /* end confdefs.h.  */
   2067 $4
   2068 int
   2069 main (void)
   2070 {
   2071 if (sizeof (($2)))
   2072 	    return 0;
   2073   ;
   2074   return 0;
   2075 }
   2076 _ACEOF
   2077 if ac_fn_c_try_compile "$LINENO"
   2078 then :
   2079 
   2080 else $as_nop
   2081   eval "$3=yes"
   2082 fi
   2083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2084 fi
   2085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2086 fi
   2087 eval ac_res=\$$3
   2088 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2089 printf "%s\n" "$ac_res" >&6; }
   2090   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2091 
   2092 } # ac_fn_c_check_type
   2093 ac_configure_args_raw=
   2094 for ac_arg
   2095 do
   2096   case $ac_arg in
   2097   *\'*)
   2098     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2099   esac
   2100   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2101 done
   2102 
   2103 case $ac_configure_args_raw in
   2104   *$as_nl*)
   2105     ac_safe_unquote= ;;
   2106   *)
   2107     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2108     ac_unsafe_a="$ac_unsafe_z#~"
   2109     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2110     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2111 esac
   2112 
   2113 cat >config.log <<_ACEOF
   2114 This file contains any messages produced by compilers while
   2115 running configure, to aid debugging if configure makes a mistake.
   2116 
   2117 It was created by libXfont2 $as_me 2.0.5, which was
   2118 generated by GNU Autoconf 2.71.  Invocation command line was
   2119 
   2120   $ $0$ac_configure_args_raw
   2121 
   2122 _ACEOF
   2123 exec 5>>config.log
   2124 {
   2125 cat <<_ASUNAME
   2126 ## --------- ##
   2127 ## Platform. ##
   2128 ## --------- ##
   2129 
   2130 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2131 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2132 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2133 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2134 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2135 
   2136 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2137 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2138 
   2139 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2140 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2141 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2142 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2143 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2144 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2145 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2146 
   2147 _ASUNAME
   2148 
   2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2150 for as_dir in $PATH
   2151 do
   2152   IFS=$as_save_IFS
   2153   case $as_dir in #(((
   2154     '') as_dir=./ ;;
   2155     */) ;;
   2156     *) as_dir=$as_dir/ ;;
   2157   esac
   2158     printf "%s\n" "PATH: $as_dir"
   2159   done
   2160 IFS=$as_save_IFS
   2161 
   2162 } >&5
   2163 
   2164 cat >&5 <<_ACEOF
   2165 
   2166 
   2167 ## ----------- ##
   2168 ## Core tests. ##
   2169 ## ----------- ##
   2170 
   2171 _ACEOF
   2172 
   2173 
   2174 # Keep a trace of the command line.
   2175 # Strip out --no-create and --no-recursion so they do not pile up.
   2176 # Strip out --silent because we don't want to record it for future runs.
   2177 # Also quote any args containing shell meta-characters.
   2178 # Make two passes to allow for proper duplicate-argument suppression.
   2179 ac_configure_args=
   2180 ac_configure_args0=
   2181 ac_configure_args1=
   2182 ac_must_keep_next=false
   2183 for ac_pass in 1 2
   2184 do
   2185   for ac_arg
   2186   do
   2187     case $ac_arg in
   2188     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2189     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2190     | -silent | --silent | --silen | --sile | --sil)
   2191       continue ;;
   2192     *\'*)
   2193       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2194     esac
   2195     case $ac_pass in
   2196     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2197     2)
   2198       as_fn_append ac_configure_args1 " '$ac_arg'"
   2199       if test $ac_must_keep_next = true; then
   2200 	ac_must_keep_next=false # Got value, back to normal.
   2201       else
   2202 	case $ac_arg in
   2203 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2204 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2205 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2206 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2207 	    case "$ac_configure_args0 " in
   2208 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2209 	    esac
   2210 	    ;;
   2211 	  -* ) ac_must_keep_next=true ;;
   2212 	esac
   2213       fi
   2214       as_fn_append ac_configure_args " '$ac_arg'"
   2215       ;;
   2216     esac
   2217   done
   2218 done
   2219 { ac_configure_args0=; unset ac_configure_args0;}
   2220 { ac_configure_args1=; unset ac_configure_args1;}
   2221 
   2222 # When interrupted or exit'd, cleanup temporary files, and complete
   2223 # config.log.  We remove comments because anyway the quotes in there
   2224 # would cause problems or look ugly.
   2225 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2226 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2227 trap 'exit_status=$?
   2228   # Sanitize IFS.
   2229   IFS=" ""	$as_nl"
   2230   # Save into config.log some information that might help in debugging.
   2231   {
   2232     echo
   2233 
   2234     printf "%s\n" "## ---------------- ##
   2235 ## Cache variables. ##
   2236 ## ---------------- ##"
   2237     echo
   2238     # The following way of writing the cache mishandles newlines in values,
   2239 (
   2240   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2241     eval ac_val=\$$ac_var
   2242     case $ac_val in #(
   2243     *${as_nl}*)
   2244       case $ac_var in #(
   2245       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2246 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2247       esac
   2248       case $ac_var in #(
   2249       _ | IFS | as_nl) ;; #(
   2250       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2251       *) { eval $ac_var=; unset $ac_var;} ;;
   2252       esac ;;
   2253     esac
   2254   done
   2255   (set) 2>&1 |
   2256     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2257     *${as_nl}ac_space=\ *)
   2258       sed -n \
   2259 	"s/'\''/'\''\\\\'\'''\''/g;
   2260 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2261       ;; #(
   2262     *)
   2263       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2264       ;;
   2265     esac |
   2266     sort
   2267 )
   2268     echo
   2269 
   2270     printf "%s\n" "## ----------------- ##
   2271 ## Output variables. ##
   2272 ## ----------------- ##"
   2273     echo
   2274     for ac_var in $ac_subst_vars
   2275     do
   2276       eval ac_val=\$$ac_var
   2277       case $ac_val in
   2278       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2279       esac
   2280       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2281     done | sort
   2282     echo
   2283 
   2284     if test -n "$ac_subst_files"; then
   2285       printf "%s\n" "## ------------------- ##
   2286 ## File substitutions. ##
   2287 ## ------------------- ##"
   2288       echo
   2289       for ac_var in $ac_subst_files
   2290       do
   2291 	eval ac_val=\$$ac_var
   2292 	case $ac_val in
   2293 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2294 	esac
   2295 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2296       done | sort
   2297       echo
   2298     fi
   2299 
   2300     if test -s confdefs.h; then
   2301       printf "%s\n" "## ----------- ##
   2302 ## confdefs.h. ##
   2303 ## ----------- ##"
   2304       echo
   2305       cat confdefs.h
   2306       echo
   2307     fi
   2308     test "$ac_signal" != 0 &&
   2309       printf "%s\n" "$as_me: caught signal $ac_signal"
   2310     printf "%s\n" "$as_me: exit $exit_status"
   2311   } >&5
   2312   rm -f core *.core core.conftest.* &&
   2313     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2314     exit $exit_status
   2315 ' 0
   2316 for ac_signal in 1 2 13 15; do
   2317   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2318 done
   2319 ac_signal=0
   2320 
   2321 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2322 rm -f -r conftest* confdefs.h
   2323 
   2324 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2325 
   2326 # Predefined preprocessor variables.
   2327 
   2328 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2329 
   2330 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2331 
   2332 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2333 
   2334 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2335 
   2336 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2337 
   2338 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2339 
   2340 
   2341 # Let the site file select an alternate cache file if it wants to.
   2342 # Prefer an explicitly selected file to automatically selected ones.
   2343 if test -n "$CONFIG_SITE"; then
   2344   ac_site_files="$CONFIG_SITE"
   2345 elif test "x$prefix" != xNONE; then
   2346   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2347 else
   2348   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2349 fi
   2350 
   2351 for ac_site_file in $ac_site_files
   2352 do
   2353   case $ac_site_file in #(
   2354   */*) :
   2355      ;; #(
   2356   *) :
   2357     ac_site_file=./$ac_site_file ;;
   2358 esac
   2359   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2360     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2361 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2362     sed 's/^/| /' "$ac_site_file" >&5
   2363     . "$ac_site_file" \
   2364       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2365 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2366 as_fn_error $? "failed to load site script $ac_site_file
   2367 See \`config.log' for more details" "$LINENO" 5; }
   2368   fi
   2369 done
   2370 
   2371 if test -r "$cache_file"; then
   2372   # Some versions of bash will fail to source /dev/null (special files
   2373   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2374   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2375     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2376 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2377     case $cache_file in
   2378       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2379       *)                      . "./$cache_file";;
   2380     esac
   2381   fi
   2382 else
   2383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2384 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2385   >$cache_file
   2386 fi
   2387 
   2388 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2389 # Test code for whether the C compiler supports C89 (global declarations)
   2390 ac_c_conftest_c89_globals='
   2391 /* Does the compiler advertise C89 conformance?
   2392    Do not test the value of __STDC__, because some compilers set it to 0
   2393    while being otherwise adequately conformant. */
   2394 #if !defined __STDC__
   2395 # error "Compiler does not advertise C89 conformance"
   2396 #endif
   2397 
   2398 #include <stddef.h>
   2399 #include <stdarg.h>
   2400 struct stat;
   2401 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2402 struct buf { int x; };
   2403 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2404 static char *e (p, i)
   2405      char **p;
   2406      int i;
   2407 {
   2408   return p[i];
   2409 }
   2410 static char *f (char * (*g) (char **, int), char **p, ...)
   2411 {
   2412   char *s;
   2413   va_list v;
   2414   va_start (v,p);
   2415   s = g (p, va_arg (v,int));
   2416   va_end (v);
   2417   return s;
   2418 }
   2419 
   2420 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2421    function prototypes and stuff, but not \xHH hex character constants.
   2422    These do not provoke an error unfortunately, instead are silently treated
   2423    as an "x".  The following induces an error, until -std is added to get
   2424    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2425    array size at least.  It is necessary to write \x00 == 0 to get something
   2426    that is true only with -std.  */
   2427 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2428 
   2429 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2430    inside strings and character constants.  */
   2431 #define FOO(x) '\''x'\''
   2432 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2433 
   2434 int test (int i, double x);
   2435 struct s1 {int (*f) (int a);};
   2436 struct s2 {int (*f) (double a);};
   2437 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2438                int, int);'
   2439 
   2440 # Test code for whether the C compiler supports C89 (body of main).
   2441 ac_c_conftest_c89_main='
   2442 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2443 '
   2444 
   2445 # Test code for whether the C compiler supports C99 (global declarations)
   2446 ac_c_conftest_c99_globals='
   2447 // Does the compiler advertise C99 conformance?
   2448 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2449 # error "Compiler does not advertise C99 conformance"
   2450 #endif
   2451 
   2452 #include <stdbool.h>
   2453 extern int puts (const char *);
   2454 extern int printf (const char *, ...);
   2455 extern int dprintf (int, const char *, ...);
   2456 extern void *malloc (size_t);
   2457 
   2458 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2459 // dprintf is used instead of fprintf to avoid needing to declare
   2460 // FILE and stderr.
   2461 #define debug(...) dprintf (2, __VA_ARGS__)
   2462 #define showlist(...) puts (#__VA_ARGS__)
   2463 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2464 static void
   2465 test_varargs_macros (void)
   2466 {
   2467   int x = 1234;
   2468   int y = 5678;
   2469   debug ("Flag");
   2470   debug ("X = %d\n", x);
   2471   showlist (The first, second, and third items.);
   2472   report (x>y, "x is %d but y is %d", x, y);
   2473 }
   2474 
   2475 // Check long long types.
   2476 #define BIG64 18446744073709551615ull
   2477 #define BIG32 4294967295ul
   2478 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2479 #if !BIG_OK
   2480   #error "your preprocessor is broken"
   2481 #endif
   2482 #if BIG_OK
   2483 #else
   2484   #error "your preprocessor is broken"
   2485 #endif
   2486 static long long int bignum = -9223372036854775807LL;
   2487 static unsigned long long int ubignum = BIG64;
   2488 
   2489 struct incomplete_array
   2490 {
   2491   int datasize;
   2492   double data[];
   2493 };
   2494 
   2495 struct named_init {
   2496   int number;
   2497   const wchar_t *name;
   2498   double average;
   2499 };
   2500 
   2501 typedef const char *ccp;
   2502 
   2503 static inline int
   2504 test_restrict (ccp restrict text)
   2505 {
   2506   // See if C++-style comments work.
   2507   // Iterate through items via the restricted pointer.
   2508   // Also check for declarations in for loops.
   2509   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2510     continue;
   2511   return 0;
   2512 }
   2513 
   2514 // Check varargs and va_copy.
   2515 static bool
   2516 test_varargs (const char *format, ...)
   2517 {
   2518   va_list args;
   2519   va_start (args, format);
   2520   va_list args_copy;
   2521   va_copy (args_copy, args);
   2522 
   2523   const char *str = "";
   2524   int number = 0;
   2525   float fnumber = 0;
   2526 
   2527   while (*format)
   2528     {
   2529       switch (*format++)
   2530 	{
   2531 	case '\''s'\'': // string
   2532 	  str = va_arg (args_copy, const char *);
   2533 	  break;
   2534 	case '\''d'\'': // int
   2535 	  number = va_arg (args_copy, int);
   2536 	  break;
   2537 	case '\''f'\'': // float
   2538 	  fnumber = va_arg (args_copy, double);
   2539 	  break;
   2540 	default:
   2541 	  break;
   2542 	}
   2543     }
   2544   va_end (args_copy);
   2545   va_end (args);
   2546 
   2547   return *str && number && fnumber;
   2548 }
   2549 '
   2550 
   2551 # Test code for whether the C compiler supports C99 (body of main).
   2552 ac_c_conftest_c99_main='
   2553   // Check bool.
   2554   _Bool success = false;
   2555   success |= (argc != 0);
   2556 
   2557   // Check restrict.
   2558   if (test_restrict ("String literal") == 0)
   2559     success = true;
   2560   char *restrict newvar = "Another string";
   2561 
   2562   // Check varargs.
   2563   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2564   test_varargs_macros ();
   2565 
   2566   // Check flexible array members.
   2567   struct incomplete_array *ia =
   2568     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2569   ia->datasize = 10;
   2570   for (int i = 0; i < ia->datasize; ++i)
   2571     ia->data[i] = i * 1.234;
   2572 
   2573   // Check named initializers.
   2574   struct named_init ni = {
   2575     .number = 34,
   2576     .name = L"Test wide string",
   2577     .average = 543.34343,
   2578   };
   2579 
   2580   ni.number = 58;
   2581 
   2582   int dynamic_array[ni.number];
   2583   dynamic_array[0] = argv[0][0];
   2584   dynamic_array[ni.number - 1] = 543;
   2585 
   2586   // work around unused variable warnings
   2587   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2588 	 || dynamic_array[ni.number - 1] != 543);
   2589 '
   2590 
   2591 # Test code for whether the C compiler supports C11 (global declarations)
   2592 ac_c_conftest_c11_globals='
   2593 // Does the compiler advertise C11 conformance?
   2594 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2595 # error "Compiler does not advertise C11 conformance"
   2596 #endif
   2597 
   2598 // Check _Alignas.
   2599 char _Alignas (double) aligned_as_double;
   2600 char _Alignas (0) no_special_alignment;
   2601 extern char aligned_as_int;
   2602 char _Alignas (0) _Alignas (int) aligned_as_int;
   2603 
   2604 // Check _Alignof.
   2605 enum
   2606 {
   2607   int_alignment = _Alignof (int),
   2608   int_array_alignment = _Alignof (int[100]),
   2609   char_alignment = _Alignof (char)
   2610 };
   2611 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2612 
   2613 // Check _Noreturn.
   2614 int _Noreturn does_not_return (void) { for (;;) continue; }
   2615 
   2616 // Check _Static_assert.
   2617 struct test_static_assert
   2618 {
   2619   int x;
   2620   _Static_assert (sizeof (int) <= sizeof (long int),
   2621                   "_Static_assert does not work in struct");
   2622   long int y;
   2623 };
   2624 
   2625 // Check UTF-8 literals.
   2626 #define u8 syntax error!
   2627 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2628 
   2629 // Check duplicate typedefs.
   2630 typedef long *long_ptr;
   2631 typedef long int *long_ptr;
   2632 typedef long_ptr long_ptr;
   2633 
   2634 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2635 struct anonymous
   2636 {
   2637   union {
   2638     struct { int i; int j; };
   2639     struct { int k; long int l; } w;
   2640   };
   2641   int m;
   2642 } v1;
   2643 '
   2644 
   2645 # Test code for whether the C compiler supports C11 (body of main).
   2646 ac_c_conftest_c11_main='
   2647   _Static_assert ((offsetof (struct anonymous, i)
   2648 		   == offsetof (struct anonymous, w.k)),
   2649 		  "Anonymous union alignment botch");
   2650   v1.i = 2;
   2651   v1.w.k = 5;
   2652   ok |= v1.i != 5;
   2653 '
   2654 
   2655 # Test code for whether the C compiler supports C11 (complete).
   2656 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2657 ${ac_c_conftest_c99_globals}
   2658 ${ac_c_conftest_c11_globals}
   2659 
   2660 int
   2661 main (int argc, char **argv)
   2662 {
   2663   int ok = 0;
   2664   ${ac_c_conftest_c89_main}
   2665   ${ac_c_conftest_c99_main}
   2666   ${ac_c_conftest_c11_main}
   2667   return ok;
   2668 }
   2669 "
   2670 
   2671 # Test code for whether the C compiler supports C99 (complete).
   2672 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2673 ${ac_c_conftest_c99_globals}
   2674 
   2675 int
   2676 main (int argc, char **argv)
   2677 {
   2678   int ok = 0;
   2679   ${ac_c_conftest_c89_main}
   2680   ${ac_c_conftest_c99_main}
   2681   return ok;
   2682 }
   2683 "
   2684 
   2685 # Test code for whether the C compiler supports C89 (complete).
   2686 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2687 
   2688 int
   2689 main (int argc, char **argv)
   2690 {
   2691   int ok = 0;
   2692   ${ac_c_conftest_c89_main}
   2693   return ok;
   2694 }
   2695 "
   2696 
   2697 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2698 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2699 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2700 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2701 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2702 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2703 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2704 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2705 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2706 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2707 
   2708 # Auxiliary files required by this configure script.
   2709 ac_aux_files="config.guess config.sub ltmain.sh compile missing install-sh"
   2710 
   2711 # Locations in which to look for auxiliary files.
   2712 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2713 
   2714 # Search for a directory containing all of the required auxiliary files,
   2715 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2716 # If we don't find one directory that contains all the files we need,
   2717 # we report the set of missing files from the *first* directory in
   2718 # $ac_aux_dir_candidates and give up.
   2719 ac_missing_aux_files=""
   2720 ac_first_candidate=:
   2721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2723 as_found=false
   2724 for as_dir in $ac_aux_dir_candidates
   2725 do
   2726   IFS=$as_save_IFS
   2727   case $as_dir in #(((
   2728     '') as_dir=./ ;;
   2729     */) ;;
   2730     *) as_dir=$as_dir/ ;;
   2731   esac
   2732   as_found=:
   2733 
   2734   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2735   ac_aux_dir_found=yes
   2736   ac_install_sh=
   2737   for ac_aux in $ac_aux_files
   2738   do
   2739     # As a special case, if "install-sh" is required, that requirement
   2740     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2741     # and $ac_install_sh is set appropriately for whichever one is found.
   2742     if test x"$ac_aux" = x"install-sh"
   2743     then
   2744       if test -f "${as_dir}install-sh"; then
   2745         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2746         ac_install_sh="${as_dir}install-sh -c"
   2747       elif test -f "${as_dir}install.sh"; then
   2748         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2749         ac_install_sh="${as_dir}install.sh -c"
   2750       elif test -f "${as_dir}shtool"; then
   2751         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2752         ac_install_sh="${as_dir}shtool install -c"
   2753       else
   2754         ac_aux_dir_found=no
   2755         if $ac_first_candidate; then
   2756           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2757         else
   2758           break
   2759         fi
   2760       fi
   2761     else
   2762       if test -f "${as_dir}${ac_aux}"; then
   2763         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2764       else
   2765         ac_aux_dir_found=no
   2766         if $ac_first_candidate; then
   2767           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2768         else
   2769           break
   2770         fi
   2771       fi
   2772     fi
   2773   done
   2774   if test "$ac_aux_dir_found" = yes; then
   2775     ac_aux_dir="$as_dir"
   2776     break
   2777   fi
   2778   ac_first_candidate=false
   2779 
   2780   as_found=false
   2781 done
   2782 IFS=$as_save_IFS
   2783 if $as_found
   2784 then :
   2785 
   2786 else $as_nop
   2787   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2788 fi
   2789 
   2790 
   2791 # These three variables are undocumented and unsupported,
   2792 # and are intended to be withdrawn in a future Autoconf release.
   2793 # They can cause serious problems if a builder's source tree is in a directory
   2794 # whose full name contains unusual characters.
   2795 if test -f "${ac_aux_dir}config.guess"; then
   2796   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2797 fi
   2798 if test -f "${ac_aux_dir}config.sub"; then
   2799   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2800 fi
   2801 if test -f "$ac_aux_dir/configure"; then
   2802   ac_configure="$SHELL ${ac_aux_dir}configure"
   2803 fi
   2804 
   2805 # Check that the precious variables saved in the cache have kept the same
   2806 # value.
   2807 ac_cache_corrupted=false
   2808 for ac_var in $ac_precious_vars; do
   2809   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2810   eval ac_new_set=\$ac_env_${ac_var}_set
   2811   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2812   eval ac_new_val=\$ac_env_${ac_var}_value
   2813   case $ac_old_set,$ac_new_set in
   2814     set,)
   2815       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2816 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2817       ac_cache_corrupted=: ;;
   2818     ,set)
   2819       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2820 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2821       ac_cache_corrupted=: ;;
   2822     ,);;
   2823     *)
   2824       if test "x$ac_old_val" != "x$ac_new_val"; then
   2825 	# differences in whitespace do not lead to failure.
   2826 	ac_old_val_w=`echo x $ac_old_val`
   2827 	ac_new_val_w=`echo x $ac_new_val`
   2828 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2829 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2830 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2831 	  ac_cache_corrupted=:
   2832 	else
   2833 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2834 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2835 	  eval $ac_var=\$ac_old_val
   2836 	fi
   2837 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2838 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2839 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2840 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2841       fi;;
   2842   esac
   2843   # Pass precious variables to config.status.
   2844   if test "$ac_new_set" = set; then
   2845     case $ac_new_val in
   2846     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2847     *) ac_arg=$ac_var=$ac_new_val ;;
   2848     esac
   2849     case " $ac_configure_args " in
   2850       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2851       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2852     esac
   2853   fi
   2854 done
   2855 if $ac_cache_corrupted; then
   2856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2857 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2859 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2860   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2861 	    and start over" "$LINENO" 5
   2862 fi
   2863 ## -------------------- ##
   2864 ## Main body of script. ##
   2865 ## -------------------- ##
   2866 
   2867 ac_ext=c
   2868 ac_cpp='$CPP $CPPFLAGS'
   2869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2872 
   2873 
   2874 
   2875 ac_config_headers="$ac_config_headers config.h"
   2876 
   2877 
   2878 # Initialize Automake
   2879 am__api_version='1.16'
   2880 
   2881 
   2882 
   2883   # Find a good install program.  We prefer a C program (faster),
   2884 # so one script is as good as another.  But avoid the broken or
   2885 # incompatible versions:
   2886 # SysV /etc/install, /usr/sbin/install
   2887 # SunOS /usr/etc/install
   2888 # IRIX /sbin/install
   2889 # AIX /bin/install
   2890 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2891 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2892 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2893 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2894 # OS/2's system install, which has a completely different semantic
   2895 # ./install, which can be erroneously created by make from ./install.sh.
   2896 # Reject install programs that cannot install multiple files.
   2897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2898 printf %s "checking for a BSD-compatible install... " >&6; }
   2899 if test -z "$INSTALL"; then
   2900 if test ${ac_cv_path_install+y}
   2901 then :
   2902   printf %s "(cached) " >&6
   2903 else $as_nop
   2904   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2905 for as_dir in $PATH
   2906 do
   2907   IFS=$as_save_IFS
   2908   case $as_dir in #(((
   2909     '') as_dir=./ ;;
   2910     */) ;;
   2911     *) as_dir=$as_dir/ ;;
   2912   esac
   2913     # Account for fact that we put trailing slashes in our PATH walk.
   2914 case $as_dir in #((
   2915   ./ | /[cC]/* | \
   2916   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2917   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2918   /usr/ucb/* ) ;;
   2919   *)
   2920     # OSF1 and SCO ODT 3.0 have their own names for install.
   2921     # Don't use installbsd from OSF since it installs stuff as root
   2922     # by default.
   2923     for ac_prog in ginstall scoinst install; do
   2924       for ac_exec_ext in '' $ac_executable_extensions; do
   2925 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2926 	  if test $ac_prog = install &&
   2927 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2928 	    # AIX install.  It has an incompatible calling convention.
   2929 	    :
   2930 	  elif test $ac_prog = install &&
   2931 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2932 	    # program-specific install script used by HP pwplus--don't use.
   2933 	    :
   2934 	  else
   2935 	    rm -rf conftest.one conftest.two conftest.dir
   2936 	    echo one > conftest.one
   2937 	    echo two > conftest.two
   2938 	    mkdir conftest.dir
   2939 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2940 	      test -s conftest.one && test -s conftest.two &&
   2941 	      test -s conftest.dir/conftest.one &&
   2942 	      test -s conftest.dir/conftest.two
   2943 	    then
   2944 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2945 	      break 3
   2946 	    fi
   2947 	  fi
   2948 	fi
   2949       done
   2950     done
   2951     ;;
   2952 esac
   2953 
   2954   done
   2955 IFS=$as_save_IFS
   2956 
   2957 rm -rf conftest.one conftest.two conftest.dir
   2958 
   2959 fi
   2960   if test ${ac_cv_path_install+y}; then
   2961     INSTALL=$ac_cv_path_install
   2962   else
   2963     # As a last resort, use the slow shell script.  Don't cache a
   2964     # value for INSTALL within a source directory, because that will
   2965     # break other packages using the cache if that directory is
   2966     # removed, or if the value is a relative name.
   2967     INSTALL=$ac_install_sh
   2968   fi
   2969 fi
   2970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2971 printf "%s\n" "$INSTALL" >&6; }
   2972 
   2973 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2974 # It thinks the first close brace ends the variable substitution.
   2975 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2976 
   2977 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2978 
   2979 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2980 
   2981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2982 printf %s "checking whether build environment is sane... " >&6; }
   2983 # Reject unsafe characters in $srcdir or the absolute working directory
   2984 # name.  Accept space and tab only in the latter.
   2985 am_lf='
   2986 '
   2987 case `pwd` in
   2988   *[\\\"\#\$\&\'\`$am_lf]*)
   2989     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2990 esac
   2991 case $srcdir in
   2992   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2993     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2994 esac
   2995 
   2996 # Do 'set' in a subshell so we don't clobber the current shell's
   2997 # arguments.  Must try -L first in case configure is actually a
   2998 # symlink; some systems play weird games with the mod time of symlinks
   2999 # (eg FreeBSD returns the mod time of the symlink's containing
   3000 # directory).
   3001 if (
   3002    am_has_slept=no
   3003    for am_try in 1 2; do
   3004      echo "timestamp, slept: $am_has_slept" > conftest.file
   3005      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3006      if test "$*" = "X"; then
   3007 	# -L didn't work.
   3008 	set X `ls -t "$srcdir/configure" conftest.file`
   3009      fi
   3010      if test "$*" != "X $srcdir/configure conftest.file" \
   3011 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3012 
   3013 	# If neither matched, then we have a broken ls.  This can happen
   3014 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3015 	# broken ls alias from the environment.  This has actually
   3016 	# happened.  Such a system could not be considered "sane".
   3017 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3018   alias in your environment" "$LINENO" 5
   3019      fi
   3020      if test "$2" = conftest.file || test $am_try -eq 2; then
   3021        break
   3022      fi
   3023      # Just in case.
   3024      sleep 1
   3025      am_has_slept=yes
   3026    done
   3027    test "$2" = conftest.file
   3028    )
   3029 then
   3030    # Ok.
   3031    :
   3032 else
   3033    as_fn_error $? "newly created file is older than distributed files!
   3034 Check your system clock" "$LINENO" 5
   3035 fi
   3036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3037 printf "%s\n" "yes" >&6; }
   3038 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3039 # generated files are strictly newer.
   3040 am_sleep_pid=
   3041 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3042   ( sleep 1 ) &
   3043   am_sleep_pid=$!
   3044 fi
   3045 
   3046 rm -f conftest.file
   3047 
   3048 test "$program_prefix" != NONE &&
   3049   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3050 # Use a double $ so make ignores it.
   3051 test "$program_suffix" != NONE &&
   3052   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3053 # Double any \ or $.
   3054 # By default was `s,x,x', remove it if useless.
   3055 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3056 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3057 
   3058 
   3059 # Expand $ac_aux_dir to an absolute path.
   3060 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3061 
   3062 
   3063   if test x"${MISSING+set}" != xset; then
   3064   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3065 fi
   3066 # Use eval to expand $SHELL
   3067 if eval "$MISSING --is-lightweight"; then
   3068   am_missing_run="$MISSING "
   3069 else
   3070   am_missing_run=
   3071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3072 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3073 fi
   3074 
   3075 if test x"${install_sh+set}" != xset; then
   3076   case $am_aux_dir in
   3077   *\ * | *\	*)
   3078     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3079   *)
   3080     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3081   esac
   3082 fi
   3083 
   3084 # Installed binaries are usually stripped using 'strip' when the user
   3085 # run "make install-strip".  However 'strip' might not be the right
   3086 # tool to use in cross-compilation environments, therefore Automake
   3087 # will honor the 'STRIP' environment variable to overrule this program.
   3088 if test "$cross_compiling" != no; then
   3089   if test -n "$ac_tool_prefix"; then
   3090   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3091 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3093 printf %s "checking for $ac_word... " >&6; }
   3094 if test ${ac_cv_prog_STRIP+y}
   3095 then :
   3096   printf %s "(cached) " >&6
   3097 else $as_nop
   3098   if test -n "$STRIP"; then
   3099   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3100 else
   3101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3102 for as_dir in $PATH
   3103 do
   3104   IFS=$as_save_IFS
   3105   case $as_dir in #(((
   3106     '') as_dir=./ ;;
   3107     */) ;;
   3108     *) as_dir=$as_dir/ ;;
   3109   esac
   3110     for ac_exec_ext in '' $ac_executable_extensions; do
   3111   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3112     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3113     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3114     break 2
   3115   fi
   3116 done
   3117   done
   3118 IFS=$as_save_IFS
   3119 
   3120 fi
   3121 fi
   3122 STRIP=$ac_cv_prog_STRIP
   3123 if test -n "$STRIP"; then
   3124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3125 printf "%s\n" "$STRIP" >&6; }
   3126 else
   3127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3128 printf "%s\n" "no" >&6; }
   3129 fi
   3130 
   3131 
   3132 fi
   3133 if test -z "$ac_cv_prog_STRIP"; then
   3134   ac_ct_STRIP=$STRIP
   3135   # Extract the first word of "strip", so it can be a program name with args.
   3136 set dummy strip; ac_word=$2
   3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3138 printf %s "checking for $ac_word... " >&6; }
   3139 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3140 then :
   3141   printf %s "(cached) " >&6
   3142 else $as_nop
   3143   if test -n "$ac_ct_STRIP"; then
   3144   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3145 else
   3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3147 for as_dir in $PATH
   3148 do
   3149   IFS=$as_save_IFS
   3150   case $as_dir in #(((
   3151     '') as_dir=./ ;;
   3152     */) ;;
   3153     *) as_dir=$as_dir/ ;;
   3154   esac
   3155     for ac_exec_ext in '' $ac_executable_extensions; do
   3156   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3157     ac_cv_prog_ac_ct_STRIP="strip"
   3158     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3159     break 2
   3160   fi
   3161 done
   3162   done
   3163 IFS=$as_save_IFS
   3164 
   3165 fi
   3166 fi
   3167 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3168 if test -n "$ac_ct_STRIP"; then
   3169   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3170 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3171 else
   3172   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3173 printf "%s\n" "no" >&6; }
   3174 fi
   3175 
   3176   if test "x$ac_ct_STRIP" = x; then
   3177     STRIP=":"
   3178   else
   3179     case $cross_compiling:$ac_tool_warned in
   3180 yes:)
   3181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3182 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3183 ac_tool_warned=yes ;;
   3184 esac
   3185     STRIP=$ac_ct_STRIP
   3186   fi
   3187 else
   3188   STRIP="$ac_cv_prog_STRIP"
   3189 fi
   3190 
   3191 fi
   3192 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3193 
   3194 
   3195   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3196 printf %s "checking for a race-free mkdir -p... " >&6; }
   3197 if test -z "$MKDIR_P"; then
   3198   if test ${ac_cv_path_mkdir+y}
   3199 then :
   3200   printf %s "(cached) " >&6
   3201 else $as_nop
   3202   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3203 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3204 do
   3205   IFS=$as_save_IFS
   3206   case $as_dir in #(((
   3207     '') as_dir=./ ;;
   3208     */) ;;
   3209     *) as_dir=$as_dir/ ;;
   3210   esac
   3211     for ac_prog in mkdir gmkdir; do
   3212 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3213 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3214 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3215 	     'mkdir ('*'coreutils) '* | \
   3216 	     'BusyBox '* | \
   3217 	     'mkdir (fileutils) '4.1*)
   3218 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3219 	       break 3;;
   3220 	   esac
   3221 	 done
   3222        done
   3223   done
   3224 IFS=$as_save_IFS
   3225 
   3226 fi
   3227 
   3228   test -d ./--version && rmdir ./--version
   3229   if test ${ac_cv_path_mkdir+y}; then
   3230     MKDIR_P="$ac_cv_path_mkdir -p"
   3231   else
   3232     # As a last resort, use the slow shell script.  Don't cache a
   3233     # value for MKDIR_P within a source directory, because that will
   3234     # break other packages using the cache if that directory is
   3235     # removed, or if the value is a relative name.
   3236     MKDIR_P="$ac_install_sh -d"
   3237   fi
   3238 fi
   3239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3240 printf "%s\n" "$MKDIR_P" >&6; }
   3241 
   3242 for ac_prog in gawk mawk nawk awk
   3243 do
   3244   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3245 set dummy $ac_prog; ac_word=$2
   3246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3247 printf %s "checking for $ac_word... " >&6; }
   3248 if test ${ac_cv_prog_AWK+y}
   3249 then :
   3250   printf %s "(cached) " >&6
   3251 else $as_nop
   3252   if test -n "$AWK"; then
   3253   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3254 else
   3255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3256 for as_dir in $PATH
   3257 do
   3258   IFS=$as_save_IFS
   3259   case $as_dir in #(((
   3260     '') as_dir=./ ;;
   3261     */) ;;
   3262     *) as_dir=$as_dir/ ;;
   3263   esac
   3264     for ac_exec_ext in '' $ac_executable_extensions; do
   3265   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3266     ac_cv_prog_AWK="$ac_prog"
   3267     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3268     break 2
   3269   fi
   3270 done
   3271   done
   3272 IFS=$as_save_IFS
   3273 
   3274 fi
   3275 fi
   3276 AWK=$ac_cv_prog_AWK
   3277 if test -n "$AWK"; then
   3278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3279 printf "%s\n" "$AWK" >&6; }
   3280 else
   3281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3282 printf "%s\n" "no" >&6; }
   3283 fi
   3284 
   3285 
   3286   test -n "$AWK" && break
   3287 done
   3288 
   3289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3290 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3291 set x ${MAKE-make}
   3292 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3293 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3294 then :
   3295   printf %s "(cached) " >&6
   3296 else $as_nop
   3297   cat >conftest.make <<\_ACEOF
   3298 SHELL = /bin/sh
   3299 all:
   3300 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3301 _ACEOF
   3302 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3303 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3304   *@@@%%%=?*=@@@%%%*)
   3305     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3306   *)
   3307     eval ac_cv_prog_make_${ac_make}_set=no;;
   3308 esac
   3309 rm -f conftest.make
   3310 fi
   3311 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3312   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3313 printf "%s\n" "yes" >&6; }
   3314   SET_MAKE=
   3315 else
   3316   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3317 printf "%s\n" "no" >&6; }
   3318   SET_MAKE="MAKE=${MAKE-make}"
   3319 fi
   3320 
   3321 rm -rf .tst 2>/dev/null
   3322 mkdir .tst 2>/dev/null
   3323 if test -d .tst; then
   3324   am__leading_dot=.
   3325 else
   3326   am__leading_dot=_
   3327 fi
   3328 rmdir .tst 2>/dev/null
   3329 
   3330 # Check whether --enable-silent-rules was given.
   3331 if test ${enable_silent_rules+y}
   3332 then :
   3333   enableval=$enable_silent_rules;
   3334 fi
   3335 
   3336 case $enable_silent_rules in # (((
   3337   yes) AM_DEFAULT_VERBOSITY=0;;
   3338    no) AM_DEFAULT_VERBOSITY=1;;
   3339     *) AM_DEFAULT_VERBOSITY=1;;
   3340 esac
   3341 am_make=${MAKE-make}
   3342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3343 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3344 if test ${am_cv_make_support_nested_variables+y}
   3345 then :
   3346   printf %s "(cached) " >&6
   3347 else $as_nop
   3348   if printf "%s\n" 'TRUE=$(BAR$(V))
   3349 BAR0=false
   3350 BAR1=true
   3351 V=1
   3352 am__doit:
   3353 	@$(TRUE)
   3354 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3355   am_cv_make_support_nested_variables=yes
   3356 else
   3357   am_cv_make_support_nested_variables=no
   3358 fi
   3359 fi
   3360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3361 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3362 if test $am_cv_make_support_nested_variables = yes; then
   3363     AM_V='$(V)'
   3364   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3365 else
   3366   AM_V=$AM_DEFAULT_VERBOSITY
   3367   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3368 fi
   3369 AM_BACKSLASH='\'
   3370 
   3371 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3372   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3373   # is not polluted with repeated "-I."
   3374   am__isrc=' -I$(srcdir)'
   3375   # test to see if srcdir already configured
   3376   if test -f $srcdir/config.status; then
   3377     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3378   fi
   3379 fi
   3380 
   3381 # test whether we have cygpath
   3382 if test -z "$CYGPATH_W"; then
   3383   if (cygpath --version) >/dev/null 2>/dev/null; then
   3384     CYGPATH_W='cygpath -w'
   3385   else
   3386     CYGPATH_W=echo
   3387   fi
   3388 fi
   3389 
   3390 
   3391 # Define the identity of the package.
   3392  PACKAGE='libXfont2'
   3393  VERSION='2.0.5'
   3394 
   3395 
   3396 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3397 
   3398 
   3399 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3400 
   3401 # Some tools Automake needs.
   3402 
   3403 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3404 
   3405 
   3406 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3407 
   3408 
   3409 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3410 
   3411 
   3412 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3413 
   3414 
   3415 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3416 
   3417 # For better backward compatibility.  To be removed once Automake 1.9.x
   3418 # dies out for good.  For more background, see:
   3419 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3420 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3421 mkdir_p='$(MKDIR_P)'
   3422 
   3423 # We need awk for the "check" target (and possibly the TAP driver).  The
   3424 # system "awk" is bad on some platforms.
   3425 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3426 # in the wild :-(  We should find a proper way to deprecate it ...
   3427 AMTAR='$${TAR-tar}'
   3428 
   3429 
   3430 # We'll loop over all known methods to create a tar archive until one works.
   3431 _am_tools='gnutar  pax cpio none'
   3432 
   3433 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3434 
   3435 
   3436 
   3437 
   3438 
   3439 # Variables for tags utilities; see am/tags.am
   3440 if test -z "$CTAGS"; then
   3441   CTAGS=ctags
   3442 fi
   3443 
   3444 if test -z "$ETAGS"; then
   3445   ETAGS=etags
   3446 fi
   3447 
   3448 if test -z "$CSCOPE"; then
   3449   CSCOPE=cscope
   3450 fi
   3451 
   3452 
   3453 
   3454 # POSIX will say in a future version that running "rm -f" with no argument
   3455 # is OK; and we want to be able to make that assumption in our Makefile
   3456 # recipes.  So use an aggressive probe to check that the usage we want is
   3457 # actually supported "in the wild" to an acceptable degree.
   3458 # See automake bug#10828.
   3459 # To make any issue more visible, cause the running configure to be aborted
   3460 # by default if the 'rm' program in use doesn't match our expectations; the
   3461 # user can still override this though.
   3462 if rm -f && rm -fr && rm -rf; then : OK; else
   3463   cat >&2 <<'END'
   3464 Oops!
   3465 
   3466 Your 'rm' program seems unable to run without file operands specified
   3467 on the command line, even when the '-f' option is present.  This is contrary
   3468 to the behaviour of most rm programs out there, and not conforming with
   3469 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3470 
   3471 Please tell bug-automake@gnu.org about your system, including the value
   3472 of your $PATH and any error possibly output before this message.  This
   3473 can help us improve future automake versions.
   3474 
   3475 END
   3476   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3477     echo 'Configuration will proceed anyway, since you have set the' >&2
   3478     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3479     echo >&2
   3480   else
   3481     cat >&2 <<'END'
   3482 Aborting the configuration process, to ensure you take notice of the issue.
   3483 
   3484 You can download and install GNU coreutils to get an 'rm' implementation
   3485 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3486 
   3487 If you want to complete the configuration process using your problematic
   3488 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3489 to "yes", and re-run configure.
   3490 
   3491 END
   3492     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3493   fi
   3494 fi
   3495 
   3496 
   3497 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3498 # Must be called before any macros that run the compiler (like
   3499 # AC_PROG_LIBTOOL) to avoid autoconf errors.
   3500 
   3501 
   3502 
   3503 
   3504 
   3505 
   3506 
   3507 
   3508 
   3509 DEPDIR="${am__leading_dot}deps"
   3510 
   3511 ac_config_commands="$ac_config_commands depfiles"
   3512 
   3513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3514 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3515 cat > confinc.mk << 'END'
   3516 am__doit:
   3517 	@echo this is the am__doit target >confinc.out
   3518 .PHONY: am__doit
   3519 END
   3520 am__include="#"
   3521 am__quote=
   3522 # BSD make does it like this.
   3523 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3524 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3525 echo 'include confinc.mk # ignored' > confmf.GNU
   3526 _am_result=no
   3527 for s in GNU BSD; do
   3528   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3529    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3530    ac_status=$?
   3531    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3532    (exit $ac_status); }
   3533   case $?:`cat confinc.out 2>/dev/null` in #(
   3534   '0:this is the am__doit target') :
   3535     case $s in #(
   3536   BSD) :
   3537     am__include='.include' am__quote='"' ;; #(
   3538   *) :
   3539     am__include='include' am__quote='' ;;
   3540 esac ;; #(
   3541   *) :
   3542      ;;
   3543 esac
   3544   if test "$am__include" != "#"; then
   3545     _am_result="yes ($s style)"
   3546     break
   3547   fi
   3548 done
   3549 rm -f confinc.* confmf.*
   3550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3551 printf "%s\n" "${_am_result}" >&6; }
   3552 
   3553 # Check whether --enable-dependency-tracking was given.
   3554 if test ${enable_dependency_tracking+y}
   3555 then :
   3556   enableval=$enable_dependency_tracking;
   3557 fi
   3558 
   3559 if test "x$enable_dependency_tracking" != xno; then
   3560   am_depcomp="$ac_aux_dir/depcomp"
   3561   AMDEPBACKSLASH='\'
   3562   am__nodep='_no'
   3563 fi
   3564  if test "x$enable_dependency_tracking" != xno; then
   3565   AMDEP_TRUE=
   3566   AMDEP_FALSE='#'
   3567 else
   3568   AMDEP_TRUE='#'
   3569   AMDEP_FALSE=
   3570 fi
   3571 
   3572 
   3573 ac_ext=c
   3574 ac_cpp='$CPP $CPPFLAGS'
   3575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3578 if test -n "$ac_tool_prefix"; then
   3579   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3580 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3582 printf %s "checking for $ac_word... " >&6; }
   3583 if test ${ac_cv_prog_CC+y}
   3584 then :
   3585   printf %s "(cached) " >&6
   3586 else $as_nop
   3587   if test -n "$CC"; then
   3588   ac_cv_prog_CC="$CC" # Let the user override the test.
   3589 else
   3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3591 for as_dir in $PATH
   3592 do
   3593   IFS=$as_save_IFS
   3594   case $as_dir in #(((
   3595     '') as_dir=./ ;;
   3596     */) ;;
   3597     *) as_dir=$as_dir/ ;;
   3598   esac
   3599     for ac_exec_ext in '' $ac_executable_extensions; do
   3600   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3601     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3602     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3603     break 2
   3604   fi
   3605 done
   3606   done
   3607 IFS=$as_save_IFS
   3608 
   3609 fi
   3610 fi
   3611 CC=$ac_cv_prog_CC
   3612 if test -n "$CC"; then
   3613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3614 printf "%s\n" "$CC" >&6; }
   3615 else
   3616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3617 printf "%s\n" "no" >&6; }
   3618 fi
   3619 
   3620 
   3621 fi
   3622 if test -z "$ac_cv_prog_CC"; then
   3623   ac_ct_CC=$CC
   3624   # Extract the first word of "gcc", so it can be a program name with args.
   3625 set dummy gcc; ac_word=$2
   3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3627 printf %s "checking for $ac_word... " >&6; }
   3628 if test ${ac_cv_prog_ac_ct_CC+y}
   3629 then :
   3630   printf %s "(cached) " >&6
   3631 else $as_nop
   3632   if test -n "$ac_ct_CC"; then
   3633   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3634 else
   3635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3636 for as_dir in $PATH
   3637 do
   3638   IFS=$as_save_IFS
   3639   case $as_dir in #(((
   3640     '') as_dir=./ ;;
   3641     */) ;;
   3642     *) as_dir=$as_dir/ ;;
   3643   esac
   3644     for ac_exec_ext in '' $ac_executable_extensions; do
   3645   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3646     ac_cv_prog_ac_ct_CC="gcc"
   3647     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3648     break 2
   3649   fi
   3650 done
   3651   done
   3652 IFS=$as_save_IFS
   3653 
   3654 fi
   3655 fi
   3656 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3657 if test -n "$ac_ct_CC"; then
   3658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3659 printf "%s\n" "$ac_ct_CC" >&6; }
   3660 else
   3661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3662 printf "%s\n" "no" >&6; }
   3663 fi
   3664 
   3665   if test "x$ac_ct_CC" = x; then
   3666     CC=""
   3667   else
   3668     case $cross_compiling:$ac_tool_warned in
   3669 yes:)
   3670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3671 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3672 ac_tool_warned=yes ;;
   3673 esac
   3674     CC=$ac_ct_CC
   3675   fi
   3676 else
   3677   CC="$ac_cv_prog_CC"
   3678 fi
   3679 
   3680 if test -z "$CC"; then
   3681           if test -n "$ac_tool_prefix"; then
   3682     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3683 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3685 printf %s "checking for $ac_word... " >&6; }
   3686 if test ${ac_cv_prog_CC+y}
   3687 then :
   3688   printf %s "(cached) " >&6
   3689 else $as_nop
   3690   if test -n "$CC"; then
   3691   ac_cv_prog_CC="$CC" # Let the user override the test.
   3692 else
   3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3694 for as_dir in $PATH
   3695 do
   3696   IFS=$as_save_IFS
   3697   case $as_dir in #(((
   3698     '') as_dir=./ ;;
   3699     */) ;;
   3700     *) as_dir=$as_dir/ ;;
   3701   esac
   3702     for ac_exec_ext in '' $ac_executable_extensions; do
   3703   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3704     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3705     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3706     break 2
   3707   fi
   3708 done
   3709   done
   3710 IFS=$as_save_IFS
   3711 
   3712 fi
   3713 fi
   3714 CC=$ac_cv_prog_CC
   3715 if test -n "$CC"; then
   3716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3717 printf "%s\n" "$CC" >&6; }
   3718 else
   3719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3720 printf "%s\n" "no" >&6; }
   3721 fi
   3722 
   3723 
   3724   fi
   3725 fi
   3726 if test -z "$CC"; then
   3727   # Extract the first word of "cc", so it can be a program name with args.
   3728 set dummy cc; ac_word=$2
   3729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3730 printf %s "checking for $ac_word... " >&6; }
   3731 if test ${ac_cv_prog_CC+y}
   3732 then :
   3733   printf %s "(cached) " >&6
   3734 else $as_nop
   3735   if test -n "$CC"; then
   3736   ac_cv_prog_CC="$CC" # Let the user override the test.
   3737 else
   3738   ac_prog_rejected=no
   3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3740 for as_dir in $PATH
   3741 do
   3742   IFS=$as_save_IFS
   3743   case $as_dir in #(((
   3744     '') as_dir=./ ;;
   3745     */) ;;
   3746     *) as_dir=$as_dir/ ;;
   3747   esac
   3748     for ac_exec_ext in '' $ac_executable_extensions; do
   3749   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3750     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3751        ac_prog_rejected=yes
   3752        continue
   3753      fi
   3754     ac_cv_prog_CC="cc"
   3755     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3756     break 2
   3757   fi
   3758 done
   3759   done
   3760 IFS=$as_save_IFS
   3761 
   3762 if test $ac_prog_rejected = yes; then
   3763   # We found a bogon in the path, so make sure we never use it.
   3764   set dummy $ac_cv_prog_CC
   3765   shift
   3766   if test $# != 0; then
   3767     # We chose a different compiler from the bogus one.
   3768     # However, it has the same basename, so the bogon will be chosen
   3769     # first if we set CC to just the basename; use the full file name.
   3770     shift
   3771     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3772   fi
   3773 fi
   3774 fi
   3775 fi
   3776 CC=$ac_cv_prog_CC
   3777 if test -n "$CC"; then
   3778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3779 printf "%s\n" "$CC" >&6; }
   3780 else
   3781   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3782 printf "%s\n" "no" >&6; }
   3783 fi
   3784 
   3785 
   3786 fi
   3787 if test -z "$CC"; then
   3788   if test -n "$ac_tool_prefix"; then
   3789   for ac_prog in cl.exe
   3790   do
   3791     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3792 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3794 printf %s "checking for $ac_word... " >&6; }
   3795 if test ${ac_cv_prog_CC+y}
   3796 then :
   3797   printf %s "(cached) " >&6
   3798 else $as_nop
   3799   if test -n "$CC"; then
   3800   ac_cv_prog_CC="$CC" # Let the user override the test.
   3801 else
   3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3803 for as_dir in $PATH
   3804 do
   3805   IFS=$as_save_IFS
   3806   case $as_dir in #(((
   3807     '') as_dir=./ ;;
   3808     */) ;;
   3809     *) as_dir=$as_dir/ ;;
   3810   esac
   3811     for ac_exec_ext in '' $ac_executable_extensions; do
   3812   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3813     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3814     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3815     break 2
   3816   fi
   3817 done
   3818   done
   3819 IFS=$as_save_IFS
   3820 
   3821 fi
   3822 fi
   3823 CC=$ac_cv_prog_CC
   3824 if test -n "$CC"; then
   3825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3826 printf "%s\n" "$CC" >&6; }
   3827 else
   3828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3829 printf "%s\n" "no" >&6; }
   3830 fi
   3831 
   3832 
   3833     test -n "$CC" && break
   3834   done
   3835 fi
   3836 if test -z "$CC"; then
   3837   ac_ct_CC=$CC
   3838   for ac_prog in cl.exe
   3839 do
   3840   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3841 set dummy $ac_prog; ac_word=$2
   3842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3843 printf %s "checking for $ac_word... " >&6; }
   3844 if test ${ac_cv_prog_ac_ct_CC+y}
   3845 then :
   3846   printf %s "(cached) " >&6
   3847 else $as_nop
   3848   if test -n "$ac_ct_CC"; then
   3849   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3850 else
   3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3852 for as_dir in $PATH
   3853 do
   3854   IFS=$as_save_IFS
   3855   case $as_dir in #(((
   3856     '') as_dir=./ ;;
   3857     */) ;;
   3858     *) as_dir=$as_dir/ ;;
   3859   esac
   3860     for ac_exec_ext in '' $ac_executable_extensions; do
   3861   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3862     ac_cv_prog_ac_ct_CC="$ac_prog"
   3863     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3864     break 2
   3865   fi
   3866 done
   3867   done
   3868 IFS=$as_save_IFS
   3869 
   3870 fi
   3871 fi
   3872 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3873 if test -n "$ac_ct_CC"; then
   3874   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3875 printf "%s\n" "$ac_ct_CC" >&6; }
   3876 else
   3877   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3878 printf "%s\n" "no" >&6; }
   3879 fi
   3880 
   3881 
   3882   test -n "$ac_ct_CC" && break
   3883 done
   3884 
   3885   if test "x$ac_ct_CC" = x; then
   3886     CC=""
   3887   else
   3888     case $cross_compiling:$ac_tool_warned in
   3889 yes:)
   3890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3891 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3892 ac_tool_warned=yes ;;
   3893 esac
   3894     CC=$ac_ct_CC
   3895   fi
   3896 fi
   3897 
   3898 fi
   3899 if test -z "$CC"; then
   3900   if test -n "$ac_tool_prefix"; then
   3901   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3902 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3904 printf %s "checking for $ac_word... " >&6; }
   3905 if test ${ac_cv_prog_CC+y}
   3906 then :
   3907   printf %s "(cached) " >&6
   3908 else $as_nop
   3909   if test -n "$CC"; then
   3910   ac_cv_prog_CC="$CC" # Let the user override the test.
   3911 else
   3912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3913 for as_dir in $PATH
   3914 do
   3915   IFS=$as_save_IFS
   3916   case $as_dir in #(((
   3917     '') as_dir=./ ;;
   3918     */) ;;
   3919     *) as_dir=$as_dir/ ;;
   3920   esac
   3921     for ac_exec_ext in '' $ac_executable_extensions; do
   3922   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3923     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3924     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3925     break 2
   3926   fi
   3927 done
   3928   done
   3929 IFS=$as_save_IFS
   3930 
   3931 fi
   3932 fi
   3933 CC=$ac_cv_prog_CC
   3934 if test -n "$CC"; then
   3935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3936 printf "%s\n" "$CC" >&6; }
   3937 else
   3938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3939 printf "%s\n" "no" >&6; }
   3940 fi
   3941 
   3942 
   3943 fi
   3944 if test -z "$ac_cv_prog_CC"; then
   3945   ac_ct_CC=$CC
   3946   # Extract the first word of "clang", so it can be a program name with args.
   3947 set dummy clang; ac_word=$2
   3948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3949 printf %s "checking for $ac_word... " >&6; }
   3950 if test ${ac_cv_prog_ac_ct_CC+y}
   3951 then :
   3952   printf %s "(cached) " >&6
   3953 else $as_nop
   3954   if test -n "$ac_ct_CC"; then
   3955   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3956 else
   3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3958 for as_dir in $PATH
   3959 do
   3960   IFS=$as_save_IFS
   3961   case $as_dir in #(((
   3962     '') as_dir=./ ;;
   3963     */) ;;
   3964     *) as_dir=$as_dir/ ;;
   3965   esac
   3966     for ac_exec_ext in '' $ac_executable_extensions; do
   3967   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3968     ac_cv_prog_ac_ct_CC="clang"
   3969     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3970     break 2
   3971   fi
   3972 done
   3973   done
   3974 IFS=$as_save_IFS
   3975 
   3976 fi
   3977 fi
   3978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3979 if test -n "$ac_ct_CC"; then
   3980   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3981 printf "%s\n" "$ac_ct_CC" >&6; }
   3982 else
   3983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3984 printf "%s\n" "no" >&6; }
   3985 fi
   3986 
   3987   if test "x$ac_ct_CC" = x; then
   3988     CC=""
   3989   else
   3990     case $cross_compiling:$ac_tool_warned in
   3991 yes:)
   3992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3993 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3994 ac_tool_warned=yes ;;
   3995 esac
   3996     CC=$ac_ct_CC
   3997   fi
   3998 else
   3999   CC="$ac_cv_prog_CC"
   4000 fi
   4001 
   4002 fi
   4003 
   4004 
   4005 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4006 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4007 as_fn_error $? "no acceptable C compiler found in \$PATH
   4008 See \`config.log' for more details" "$LINENO" 5; }
   4009 
   4010 # Provide some information about the compiler.
   4011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4012 set X $ac_compile
   4013 ac_compiler=$2
   4014 for ac_option in --version -v -V -qversion -version; do
   4015   { { ac_try="$ac_compiler $ac_option >&5"
   4016 case "(($ac_try" in
   4017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4018   *) ac_try_echo=$ac_try;;
   4019 esac
   4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4021 printf "%s\n" "$ac_try_echo"; } >&5
   4022   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4023   ac_status=$?
   4024   if test -s conftest.err; then
   4025     sed '10a\
   4026 ... rest of stderr output deleted ...
   4027          10q' conftest.err >conftest.er1
   4028     cat conftest.er1 >&5
   4029   fi
   4030   rm -f conftest.er1 conftest.err
   4031   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4032   test $ac_status = 0; }
   4033 done
   4034 
   4035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4036 /* end confdefs.h.  */
   4037 
   4038 int
   4039 main (void)
   4040 {
   4041 
   4042   ;
   4043   return 0;
   4044 }
   4045 _ACEOF
   4046 ac_clean_files_save=$ac_clean_files
   4047 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4048 # Try to create an executable without -o first, disregard a.out.
   4049 # It will help us diagnose broken compilers, and finding out an intuition
   4050 # of exeext.
   4051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4052 printf %s "checking whether the C compiler works... " >&6; }
   4053 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4054 
   4055 # The possible output files:
   4056 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4057 
   4058 ac_rmfiles=
   4059 for ac_file in $ac_files
   4060 do
   4061   case $ac_file in
   4062     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4063     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4064   esac
   4065 done
   4066 rm -f $ac_rmfiles
   4067 
   4068 if { { ac_try="$ac_link_default"
   4069 case "(($ac_try" in
   4070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4071   *) ac_try_echo=$ac_try;;
   4072 esac
   4073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4074 printf "%s\n" "$ac_try_echo"; } >&5
   4075   (eval "$ac_link_default") 2>&5
   4076   ac_status=$?
   4077   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4078   test $ac_status = 0; }
   4079 then :
   4080   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4081 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4082 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4083 # so that the user can short-circuit this test for compilers unknown to
   4084 # Autoconf.
   4085 for ac_file in $ac_files ''
   4086 do
   4087   test -f "$ac_file" || continue
   4088   case $ac_file in
   4089     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4090 	;;
   4091     [ab].out )
   4092 	# We found the default executable, but exeext='' is most
   4093 	# certainly right.
   4094 	break;;
   4095     *.* )
   4096 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4097 	then :; else
   4098 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4099 	fi
   4100 	# We set ac_cv_exeext here because the later test for it is not
   4101 	# safe: cross compilers may not add the suffix if given an `-o'
   4102 	# argument, so we may need to know it at that point already.
   4103 	# Even if this section looks crufty: it has the advantage of
   4104 	# actually working.
   4105 	break;;
   4106     * )
   4107 	break;;
   4108   esac
   4109 done
   4110 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4111 
   4112 else $as_nop
   4113   ac_file=''
   4114 fi
   4115 if test -z "$ac_file"
   4116 then :
   4117   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4118 printf "%s\n" "no" >&6; }
   4119 printf "%s\n" "$as_me: failed program was:" >&5
   4120 sed 's/^/| /' conftest.$ac_ext >&5
   4121 
   4122 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4123 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4124 as_fn_error 77 "C compiler cannot create executables
   4125 See \`config.log' for more details" "$LINENO" 5; }
   4126 else $as_nop
   4127   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4128 printf "%s\n" "yes" >&6; }
   4129 fi
   4130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4131 printf %s "checking for C compiler default output file name... " >&6; }
   4132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4133 printf "%s\n" "$ac_file" >&6; }
   4134 ac_exeext=$ac_cv_exeext
   4135 
   4136 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4137 ac_clean_files=$ac_clean_files_save
   4138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4139 printf %s "checking for suffix of executables... " >&6; }
   4140 if { { ac_try="$ac_link"
   4141 case "(($ac_try" in
   4142   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4143   *) ac_try_echo=$ac_try;;
   4144 esac
   4145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4146 printf "%s\n" "$ac_try_echo"; } >&5
   4147   (eval "$ac_link") 2>&5
   4148   ac_status=$?
   4149   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4150   test $ac_status = 0; }
   4151 then :
   4152   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4153 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4154 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4155 # `rm'.
   4156 for ac_file in conftest.exe conftest conftest.*; do
   4157   test -f "$ac_file" || continue
   4158   case $ac_file in
   4159     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4160     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4161 	  break;;
   4162     * ) break;;
   4163   esac
   4164 done
   4165 else $as_nop
   4166   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4167 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4168 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4169 See \`config.log' for more details" "$LINENO" 5; }
   4170 fi
   4171 rm -f conftest conftest$ac_cv_exeext
   4172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4173 printf "%s\n" "$ac_cv_exeext" >&6; }
   4174 
   4175 rm -f conftest.$ac_ext
   4176 EXEEXT=$ac_cv_exeext
   4177 ac_exeext=$EXEEXT
   4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4179 /* end confdefs.h.  */
   4180 #include <stdio.h>
   4181 int
   4182 main (void)
   4183 {
   4184 FILE *f = fopen ("conftest.out", "w");
   4185  return ferror (f) || fclose (f) != 0;
   4186 
   4187   ;
   4188   return 0;
   4189 }
   4190 _ACEOF
   4191 ac_clean_files="$ac_clean_files conftest.out"
   4192 # Check that the compiler produces executables we can run.  If not, either
   4193 # the compiler is broken, or we cross compile.
   4194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4195 printf %s "checking whether we are cross compiling... " >&6; }
   4196 if test "$cross_compiling" != yes; then
   4197   { { ac_try="$ac_link"
   4198 case "(($ac_try" in
   4199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4200   *) ac_try_echo=$ac_try;;
   4201 esac
   4202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4203 printf "%s\n" "$ac_try_echo"; } >&5
   4204   (eval "$ac_link") 2>&5
   4205   ac_status=$?
   4206   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4207   test $ac_status = 0; }
   4208   if { ac_try='./conftest$ac_cv_exeext'
   4209   { { case "(($ac_try" in
   4210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4211   *) ac_try_echo=$ac_try;;
   4212 esac
   4213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4214 printf "%s\n" "$ac_try_echo"; } >&5
   4215   (eval "$ac_try") 2>&5
   4216   ac_status=$?
   4217   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4218   test $ac_status = 0; }; }; then
   4219     cross_compiling=no
   4220   else
   4221     if test "$cross_compiling" = maybe; then
   4222 	cross_compiling=yes
   4223     else
   4224 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4225 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4226 as_fn_error 77 "cannot run C compiled programs.
   4227 If you meant to cross compile, use \`--host'.
   4228 See \`config.log' for more details" "$LINENO" 5; }
   4229     fi
   4230   fi
   4231 fi
   4232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4233 printf "%s\n" "$cross_compiling" >&6; }
   4234 
   4235 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4236 ac_clean_files=$ac_clean_files_save
   4237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4238 printf %s "checking for suffix of object files... " >&6; }
   4239 if test ${ac_cv_objext+y}
   4240 then :
   4241   printf %s "(cached) " >&6
   4242 else $as_nop
   4243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4244 /* end confdefs.h.  */
   4245 
   4246 int
   4247 main (void)
   4248 {
   4249 
   4250   ;
   4251   return 0;
   4252 }
   4253 _ACEOF
   4254 rm -f conftest.o conftest.obj
   4255 if { { ac_try="$ac_compile"
   4256 case "(($ac_try" in
   4257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4258   *) ac_try_echo=$ac_try;;
   4259 esac
   4260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4261 printf "%s\n" "$ac_try_echo"; } >&5
   4262   (eval "$ac_compile") 2>&5
   4263   ac_status=$?
   4264   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4265   test $ac_status = 0; }
   4266 then :
   4267   for ac_file in conftest.o conftest.obj conftest.*; do
   4268   test -f "$ac_file" || continue;
   4269   case $ac_file in
   4270     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4271     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4272        break;;
   4273   esac
   4274 done
   4275 else $as_nop
   4276   printf "%s\n" "$as_me: failed program was:" >&5
   4277 sed 's/^/| /' conftest.$ac_ext >&5
   4278 
   4279 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4280 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4281 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4282 See \`config.log' for more details" "$LINENO" 5; }
   4283 fi
   4284 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4285 fi
   4286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4287 printf "%s\n" "$ac_cv_objext" >&6; }
   4288 OBJEXT=$ac_cv_objext
   4289 ac_objext=$OBJEXT
   4290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4291 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4292 if test ${ac_cv_c_compiler_gnu+y}
   4293 then :
   4294   printf %s "(cached) " >&6
   4295 else $as_nop
   4296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4297 /* end confdefs.h.  */
   4298 
   4299 int
   4300 main (void)
   4301 {
   4302 #ifndef __GNUC__
   4303        choke me
   4304 #endif
   4305 
   4306   ;
   4307   return 0;
   4308 }
   4309 _ACEOF
   4310 if ac_fn_c_try_compile "$LINENO"
   4311 then :
   4312   ac_compiler_gnu=yes
   4313 else $as_nop
   4314   ac_compiler_gnu=no
   4315 fi
   4316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4317 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4318 
   4319 fi
   4320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4321 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4323 
   4324 if test $ac_compiler_gnu = yes; then
   4325   GCC=yes
   4326 else
   4327   GCC=
   4328 fi
   4329 ac_test_CFLAGS=${CFLAGS+y}
   4330 ac_save_CFLAGS=$CFLAGS
   4331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4332 printf %s "checking whether $CC accepts -g... " >&6; }
   4333 if test ${ac_cv_prog_cc_g+y}
   4334 then :
   4335   printf %s "(cached) " >&6
   4336 else $as_nop
   4337   ac_save_c_werror_flag=$ac_c_werror_flag
   4338    ac_c_werror_flag=yes
   4339    ac_cv_prog_cc_g=no
   4340    CFLAGS="-g"
   4341    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4342 /* end confdefs.h.  */
   4343 
   4344 int
   4345 main (void)
   4346 {
   4347 
   4348   ;
   4349   return 0;
   4350 }
   4351 _ACEOF
   4352 if ac_fn_c_try_compile "$LINENO"
   4353 then :
   4354   ac_cv_prog_cc_g=yes
   4355 else $as_nop
   4356   CFLAGS=""
   4357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4358 /* end confdefs.h.  */
   4359 
   4360 int
   4361 main (void)
   4362 {
   4363 
   4364   ;
   4365   return 0;
   4366 }
   4367 _ACEOF
   4368 if ac_fn_c_try_compile "$LINENO"
   4369 then :
   4370 
   4371 else $as_nop
   4372   ac_c_werror_flag=$ac_save_c_werror_flag
   4373 	 CFLAGS="-g"
   4374 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4375 /* end confdefs.h.  */
   4376 
   4377 int
   4378 main (void)
   4379 {
   4380 
   4381   ;
   4382   return 0;
   4383 }
   4384 _ACEOF
   4385 if ac_fn_c_try_compile "$LINENO"
   4386 then :
   4387   ac_cv_prog_cc_g=yes
   4388 fi
   4389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4390 fi
   4391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4392 fi
   4393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4394    ac_c_werror_flag=$ac_save_c_werror_flag
   4395 fi
   4396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4397 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4398 if test $ac_test_CFLAGS; then
   4399   CFLAGS=$ac_save_CFLAGS
   4400 elif test $ac_cv_prog_cc_g = yes; then
   4401   if test "$GCC" = yes; then
   4402     CFLAGS="-g -O2"
   4403   else
   4404     CFLAGS="-g"
   4405   fi
   4406 else
   4407   if test "$GCC" = yes; then
   4408     CFLAGS="-O2"
   4409   else
   4410     CFLAGS=
   4411   fi
   4412 fi
   4413 ac_prog_cc_stdc=no
   4414 if test x$ac_prog_cc_stdc = xno
   4415 then :
   4416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4417 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4418 if test ${ac_cv_prog_cc_c11+y}
   4419 then :
   4420   printf %s "(cached) " >&6
   4421 else $as_nop
   4422   ac_cv_prog_cc_c11=no
   4423 ac_save_CC=$CC
   4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4425 /* end confdefs.h.  */
   4426 $ac_c_conftest_c11_program
   4427 _ACEOF
   4428 for ac_arg in '' -std=gnu11
   4429 do
   4430   CC="$ac_save_CC $ac_arg"
   4431   if ac_fn_c_try_compile "$LINENO"
   4432 then :
   4433   ac_cv_prog_cc_c11=$ac_arg
   4434 fi
   4435 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4436   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4437 done
   4438 rm -f conftest.$ac_ext
   4439 CC=$ac_save_CC
   4440 fi
   4441 
   4442 if test "x$ac_cv_prog_cc_c11" = xno
   4443 then :
   4444   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4445 printf "%s\n" "unsupported" >&6; }
   4446 else $as_nop
   4447   if test "x$ac_cv_prog_cc_c11" = x
   4448 then :
   4449   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4450 printf "%s\n" "none needed" >&6; }
   4451 else $as_nop
   4452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4453 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4454      CC="$CC $ac_cv_prog_cc_c11"
   4455 fi
   4456   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4457   ac_prog_cc_stdc=c11
   4458 fi
   4459 fi
   4460 if test x$ac_prog_cc_stdc = xno
   4461 then :
   4462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4463 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4464 if test ${ac_cv_prog_cc_c99+y}
   4465 then :
   4466   printf %s "(cached) " >&6
   4467 else $as_nop
   4468   ac_cv_prog_cc_c99=no
   4469 ac_save_CC=$CC
   4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4471 /* end confdefs.h.  */
   4472 $ac_c_conftest_c99_program
   4473 _ACEOF
   4474 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4475 do
   4476   CC="$ac_save_CC $ac_arg"
   4477   if ac_fn_c_try_compile "$LINENO"
   4478 then :
   4479   ac_cv_prog_cc_c99=$ac_arg
   4480 fi
   4481 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4482   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4483 done
   4484 rm -f conftest.$ac_ext
   4485 CC=$ac_save_CC
   4486 fi
   4487 
   4488 if test "x$ac_cv_prog_cc_c99" = xno
   4489 then :
   4490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4491 printf "%s\n" "unsupported" >&6; }
   4492 else $as_nop
   4493   if test "x$ac_cv_prog_cc_c99" = x
   4494 then :
   4495   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4496 printf "%s\n" "none needed" >&6; }
   4497 else $as_nop
   4498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4499 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4500      CC="$CC $ac_cv_prog_cc_c99"
   4501 fi
   4502   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4503   ac_prog_cc_stdc=c99
   4504 fi
   4505 fi
   4506 if test x$ac_prog_cc_stdc = xno
   4507 then :
   4508   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4509 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4510 if test ${ac_cv_prog_cc_c89+y}
   4511 then :
   4512   printf %s "(cached) " >&6
   4513 else $as_nop
   4514   ac_cv_prog_cc_c89=no
   4515 ac_save_CC=$CC
   4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4517 /* end confdefs.h.  */
   4518 $ac_c_conftest_c89_program
   4519 _ACEOF
   4520 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4521 do
   4522   CC="$ac_save_CC $ac_arg"
   4523   if ac_fn_c_try_compile "$LINENO"
   4524 then :
   4525   ac_cv_prog_cc_c89=$ac_arg
   4526 fi
   4527 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4528   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4529 done
   4530 rm -f conftest.$ac_ext
   4531 CC=$ac_save_CC
   4532 fi
   4533 
   4534 if test "x$ac_cv_prog_cc_c89" = xno
   4535 then :
   4536   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4537 printf "%s\n" "unsupported" >&6; }
   4538 else $as_nop
   4539   if test "x$ac_cv_prog_cc_c89" = x
   4540 then :
   4541   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4542 printf "%s\n" "none needed" >&6; }
   4543 else $as_nop
   4544   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4545 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4546      CC="$CC $ac_cv_prog_cc_c89"
   4547 fi
   4548   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4549   ac_prog_cc_stdc=c89
   4550 fi
   4551 fi
   4552 
   4553 ac_ext=c
   4554 ac_cpp='$CPP $CPPFLAGS'
   4555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4558 
   4559 
   4560   ac_ext=c
   4561 ac_cpp='$CPP $CPPFLAGS'
   4562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4566 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4567 if test ${am_cv_prog_cc_c_o+y}
   4568 then :
   4569   printf %s "(cached) " >&6
   4570 else $as_nop
   4571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4572 /* end confdefs.h.  */
   4573 
   4574 int
   4575 main (void)
   4576 {
   4577 
   4578   ;
   4579   return 0;
   4580 }
   4581 _ACEOF
   4582   # Make sure it works both with $CC and with simple cc.
   4583   # Following AC_PROG_CC_C_O, we do the test twice because some
   4584   # compilers refuse to overwrite an existing .o file with -o,
   4585   # though they will create one.
   4586   am_cv_prog_cc_c_o=yes
   4587   for am_i in 1 2; do
   4588     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4589    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4590    ac_status=$?
   4591    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4592    (exit $ac_status); } \
   4593          && test -f conftest2.$ac_objext; then
   4594       : OK
   4595     else
   4596       am_cv_prog_cc_c_o=no
   4597       break
   4598     fi
   4599   done
   4600   rm -f core conftest*
   4601   unset am_i
   4602 fi
   4603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4604 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4605 if test "$am_cv_prog_cc_c_o" != yes; then
   4606    # Losing compiler, so override with the script.
   4607    # FIXME: It is wrong to rewrite CC.
   4608    # But if we don't then we get into trouble of one sort or another.
   4609    # A longer-term fix would be to have automake use am__CC in this case,
   4610    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4611    CC="$am_aux_dir/compile $CC"
   4612 fi
   4613 ac_ext=c
   4614 ac_cpp='$CPP $CPPFLAGS'
   4615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4618 
   4619 
   4620 depcc="$CC"   am_compiler_list=
   4621 
   4622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4623 printf %s "checking dependency style of $depcc... " >&6; }
   4624 if test ${am_cv_CC_dependencies_compiler_type+y}
   4625 then :
   4626   printf %s "(cached) " >&6
   4627 else $as_nop
   4628   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4629   # We make a subdir and do the tests there.  Otherwise we can end up
   4630   # making bogus files that we don't know about and never remove.  For
   4631   # instance it was reported that on HP-UX the gcc test will end up
   4632   # making a dummy file named 'D' -- because '-MD' means "put the output
   4633   # in D".
   4634   rm -rf conftest.dir
   4635   mkdir conftest.dir
   4636   # Copy depcomp to subdir because otherwise we won't find it if we're
   4637   # using a relative directory.
   4638   cp "$am_depcomp" conftest.dir
   4639   cd conftest.dir
   4640   # We will build objects and dependencies in a subdirectory because
   4641   # it helps to detect inapplicable dependency modes.  For instance
   4642   # both Tru64's cc and ICC support -MD to output dependencies as a
   4643   # side effect of compilation, but ICC will put the dependencies in
   4644   # the current directory while Tru64 will put them in the object
   4645   # directory.
   4646   mkdir sub
   4647 
   4648   am_cv_CC_dependencies_compiler_type=none
   4649   if test "$am_compiler_list" = ""; then
   4650      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4651   fi
   4652   am__universal=false
   4653   case " $depcc " in #(
   4654      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4655      esac
   4656 
   4657   for depmode in $am_compiler_list; do
   4658     # Setup a source with many dependencies, because some compilers
   4659     # like to wrap large dependency lists on column 80 (with \), and
   4660     # we should not choose a depcomp mode which is confused by this.
   4661     #
   4662     # We need to recreate these files for each test, as the compiler may
   4663     # overwrite some of them when testing with obscure command lines.
   4664     # This happens at least with the AIX C compiler.
   4665     : > sub/conftest.c
   4666     for i in 1 2 3 4 5 6; do
   4667       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4668       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4669       # Solaris 10 /bin/sh.
   4670       echo '/* dummy */' > sub/conftst$i.h
   4671     done
   4672     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4673 
   4674     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4675     # mode.  It turns out that the SunPro C++ compiler does not properly
   4676     # handle '-M -o', and we need to detect this.  Also, some Intel
   4677     # versions had trouble with output in subdirs.
   4678     am__obj=sub/conftest.${OBJEXT-o}
   4679     am__minus_obj="-o $am__obj"
   4680     case $depmode in
   4681     gcc)
   4682       # This depmode causes a compiler race in universal mode.
   4683       test "$am__universal" = false || continue
   4684       ;;
   4685     nosideeffect)
   4686       # After this tag, mechanisms are not by side-effect, so they'll
   4687       # only be used when explicitly requested.
   4688       if test "x$enable_dependency_tracking" = xyes; then
   4689 	continue
   4690       else
   4691 	break
   4692       fi
   4693       ;;
   4694     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4695       # This compiler won't grok '-c -o', but also, the minuso test has
   4696       # not run yet.  These depmodes are late enough in the game, and
   4697       # so weak that their functioning should not be impacted.
   4698       am__obj=conftest.${OBJEXT-o}
   4699       am__minus_obj=
   4700       ;;
   4701     none) break ;;
   4702     esac
   4703     if depmode=$depmode \
   4704        source=sub/conftest.c object=$am__obj \
   4705        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4706        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4707          >/dev/null 2>conftest.err &&
   4708        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4709        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4710        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4711        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4712       # icc doesn't choke on unknown options, it will just issue warnings
   4713       # or remarks (even with -Werror).  So we grep stderr for any message
   4714       # that says an option was ignored or not supported.
   4715       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4716       #   icc: Command line warning: ignoring option '-M'; no argument required
   4717       # The diagnosis changed in icc 8.0:
   4718       #   icc: Command line remark: option '-MP' not supported
   4719       if (grep 'ignoring option' conftest.err ||
   4720           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4721         am_cv_CC_dependencies_compiler_type=$depmode
   4722         break
   4723       fi
   4724     fi
   4725   done
   4726 
   4727   cd ..
   4728   rm -rf conftest.dir
   4729 else
   4730   am_cv_CC_dependencies_compiler_type=none
   4731 fi
   4732 
   4733 fi
   4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4735 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4736 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4737 
   4738  if
   4739   test "x$enable_dependency_tracking" != xno \
   4740   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4741   am__fastdepCC_TRUE=
   4742   am__fastdepCC_FALSE='#'
   4743 else
   4744   am__fastdepCC_TRUE='#'
   4745   am__fastdepCC_FALSE=
   4746 fi
   4747 
   4748 
   4749 
   4750 ac_header= ac_cache=
   4751 for ac_item in $ac_header_c_list
   4752 do
   4753   if test $ac_cache; then
   4754     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4755     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4756       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4757     fi
   4758     ac_header= ac_cache=
   4759   elif test $ac_header; then
   4760     ac_cache=$ac_item
   4761   else
   4762     ac_header=$ac_item
   4763   fi
   4764 done
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4774 then :
   4775 
   4776 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4777 
   4778 fi
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4786 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4787 if test ${ac_cv_safe_to_define___extensions__+y}
   4788 then :
   4789   printf %s "(cached) " >&6
   4790 else $as_nop
   4791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4792 /* end confdefs.h.  */
   4793 
   4794 #         define __EXTENSIONS__ 1
   4795           $ac_includes_default
   4796 int
   4797 main (void)
   4798 {
   4799 
   4800   ;
   4801   return 0;
   4802 }
   4803 _ACEOF
   4804 if ac_fn_c_try_compile "$LINENO"
   4805 then :
   4806   ac_cv_safe_to_define___extensions__=yes
   4807 else $as_nop
   4808   ac_cv_safe_to_define___extensions__=no
   4809 fi
   4810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4811 fi
   4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4813 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   4814 
   4815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4816 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4817 if test ${ac_cv_should_define__xopen_source+y}
   4818 then :
   4819   printf %s "(cached) " >&6
   4820 else $as_nop
   4821   ac_cv_should_define__xopen_source=no
   4822     if test $ac_cv_header_wchar_h = yes
   4823 then :
   4824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4825 /* end confdefs.h.  */
   4826 
   4827           #include <wchar.h>
   4828           mbstate_t x;
   4829 int
   4830 main (void)
   4831 {
   4832 
   4833   ;
   4834   return 0;
   4835 }
   4836 _ACEOF
   4837 if ac_fn_c_try_compile "$LINENO"
   4838 then :
   4839 
   4840 else $as_nop
   4841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4842 /* end confdefs.h.  */
   4843 
   4844             #define _XOPEN_SOURCE 500
   4845             #include <wchar.h>
   4846             mbstate_t x;
   4847 int
   4848 main (void)
   4849 {
   4850 
   4851   ;
   4852   return 0;
   4853 }
   4854 _ACEOF
   4855 if ac_fn_c_try_compile "$LINENO"
   4856 then :
   4857   ac_cv_should_define__xopen_source=yes
   4858 fi
   4859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4860 fi
   4861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4862 fi
   4863 fi
   4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4865 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4866 
   4867   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4868 
   4869   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4870 
   4871   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4872 
   4873   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4874 
   4875   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4876 
   4877   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4878 
   4879   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4880 
   4881   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4882 
   4883   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4884 
   4885   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4886 
   4887   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4888 
   4889   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4890 
   4891   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4892 
   4893   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4894 
   4895   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4896 
   4897   if test $ac_cv_header_minix_config_h = yes
   4898 then :
   4899   MINIX=yes
   4900     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4901 
   4902     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4903 
   4904     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4905 
   4906 else $as_nop
   4907   MINIX=
   4908 fi
   4909   if test $ac_cv_safe_to_define___extensions__ = yes
   4910 then :
   4911   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4912 
   4913 fi
   4914   if test $ac_cv_should_define__xopen_source = yes
   4915 then :
   4916   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4917 
   4918 fi
   4919 
   4920 
   4921 # Initialize libtool
   4922 case `pwd` in
   4923   *\ * | *\	*)
   4924     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4925 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4926 esac
   4927 
   4928 
   4929 
   4930 macro_version='2.4.6'
   4931 macro_revision='2.4.6'
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 ltmain=$ac_aux_dir/ltmain.sh
   4947 
   4948 
   4949 
   4950   # Make sure we can run config.sub.
   4951 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4952   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4953 
   4954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4955 printf %s "checking build system type... " >&6; }
   4956 if test ${ac_cv_build+y}
   4957 then :
   4958   printf %s "(cached) " >&6
   4959 else $as_nop
   4960   ac_build_alias=$build_alias
   4961 test "x$ac_build_alias" = x &&
   4962   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4963 test "x$ac_build_alias" = x &&
   4964   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4965 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4966   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4967 
   4968 fi
   4969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4970 printf "%s\n" "$ac_cv_build" >&6; }
   4971 case $ac_cv_build in
   4972 *-*-*) ;;
   4973 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4974 esac
   4975 build=$ac_cv_build
   4976 ac_save_IFS=$IFS; IFS='-'
   4977 set x $ac_cv_build
   4978 shift
   4979 build_cpu=$1
   4980 build_vendor=$2
   4981 shift; shift
   4982 # Remember, the first character of IFS is used to create $*,
   4983 # except with old shells:
   4984 build_os=$*
   4985 IFS=$ac_save_IFS
   4986 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4987 
   4988 
   4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4990 printf %s "checking host system type... " >&6; }
   4991 if test ${ac_cv_host+y}
   4992 then :
   4993   printf %s "(cached) " >&6
   4994 else $as_nop
   4995   if test "x$host_alias" = x; then
   4996   ac_cv_host=$ac_cv_build
   4997 else
   4998   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4999     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5000 fi
   5001 
   5002 fi
   5003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5004 printf "%s\n" "$ac_cv_host" >&6; }
   5005 case $ac_cv_host in
   5006 *-*-*) ;;
   5007 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5008 esac
   5009 host=$ac_cv_host
   5010 ac_save_IFS=$IFS; IFS='-'
   5011 set x $ac_cv_host
   5012 shift
   5013 host_cpu=$1
   5014 host_vendor=$2
   5015 shift; shift
   5016 # Remember, the first character of IFS is used to create $*,
   5017 # except with old shells:
   5018 host_os=$*
   5019 IFS=$ac_save_IFS
   5020 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5021 
   5022 
   5023 # Backslashify metacharacters that are still active within
   5024 # double-quoted strings.
   5025 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5026 
   5027 # Same as above, but do not quote variable references.
   5028 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5029 
   5030 # Sed substitution to delay expansion of an escaped shell variable in a
   5031 # double_quote_subst'ed string.
   5032 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5033 
   5034 # Sed substitution to delay expansion of an escaped single quote.
   5035 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5036 
   5037 # Sed substitution to avoid accidental globbing in evaled expressions
   5038 no_glob_subst='s/\*/\\\*/g'
   5039 
   5040 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5041 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5042 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5043 
   5044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5045 printf %s "checking how to print strings... " >&6; }
   5046 # Test print first, because it will be a builtin if present.
   5047 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5048    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5049   ECHO='print -r --'
   5050 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5051   ECHO='printf %s\n'
   5052 else
   5053   # Use this function as a fallback that always works.
   5054   func_fallback_echo ()
   5055   {
   5056     eval 'cat <<_LTECHO_EOF
   5057 $1
   5058 _LTECHO_EOF'
   5059   }
   5060   ECHO='func_fallback_echo'
   5061 fi
   5062 
   5063 # func_echo_all arg...
   5064 # Invoke $ECHO with all args, space-separated.
   5065 func_echo_all ()
   5066 {
   5067     $ECHO ""
   5068 }
   5069 
   5070 case $ECHO in
   5071   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5072 printf "%s\n" "printf" >&6; } ;;
   5073   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5074 printf "%s\n" "print -r" >&6; } ;;
   5075   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5076 printf "%s\n" "cat" >&6; } ;;
   5077 esac
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5093 printf %s "checking for a sed that does not truncate output... " >&6; }
   5094 if test ${ac_cv_path_SED+y}
   5095 then :
   5096   printf %s "(cached) " >&6
   5097 else $as_nop
   5098             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5099      for ac_i in 1 2 3 4 5 6 7; do
   5100        ac_script="$ac_script$as_nl$ac_script"
   5101      done
   5102      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5103      { ac_script=; unset ac_script;}
   5104      if test -z "$SED"; then
   5105   ac_path_SED_found=false
   5106   # Loop through the user's path and test for each of PROGNAME-LIST
   5107   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5108 for as_dir in $PATH
   5109 do
   5110   IFS=$as_save_IFS
   5111   case $as_dir in #(((
   5112     '') as_dir=./ ;;
   5113     */) ;;
   5114     *) as_dir=$as_dir/ ;;
   5115   esac
   5116     for ac_prog in sed gsed
   5117    do
   5118     for ac_exec_ext in '' $ac_executable_extensions; do
   5119       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5120       as_fn_executable_p "$ac_path_SED" || continue
   5121 # Check for GNU ac_path_SED and select it if it is found.
   5122   # Check for GNU $ac_path_SED
   5123 case `"$ac_path_SED" --version 2>&1` in
   5124 *GNU*)
   5125   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5126 *)
   5127   ac_count=0
   5128   printf %s 0123456789 >"conftest.in"
   5129   while :
   5130   do
   5131     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5132     mv "conftest.tmp" "conftest.in"
   5133     cp "conftest.in" "conftest.nl"
   5134     printf "%s\n" '' >> "conftest.nl"
   5135     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5136     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5137     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5138     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5139       # Best one so far, save it but keep looking for a better one
   5140       ac_cv_path_SED="$ac_path_SED"
   5141       ac_path_SED_max=$ac_count
   5142     fi
   5143     # 10*(2^10) chars as input seems more than enough
   5144     test $ac_count -gt 10 && break
   5145   done
   5146   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5147 esac
   5148 
   5149       $ac_path_SED_found && break 3
   5150     done
   5151   done
   5152   done
   5153 IFS=$as_save_IFS
   5154   if test -z "$ac_cv_path_SED"; then
   5155     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5156   fi
   5157 else
   5158   ac_cv_path_SED=$SED
   5159 fi
   5160 
   5161 fi
   5162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5163 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5164  SED="$ac_cv_path_SED"
   5165   rm -f conftest.sed
   5166 
   5167 test -z "$SED" && SED=sed
   5168 Xsed="$SED -e 1s/^X//"
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5181 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5182 if test ${ac_cv_path_GREP+y}
   5183 then :
   5184   printf %s "(cached) " >&6
   5185 else $as_nop
   5186   if test -z "$GREP"; then
   5187   ac_path_GREP_found=false
   5188   # Loop through the user's path and test for each of PROGNAME-LIST
   5189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5190 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5191 do
   5192   IFS=$as_save_IFS
   5193   case $as_dir in #(((
   5194     '') as_dir=./ ;;
   5195     */) ;;
   5196     *) as_dir=$as_dir/ ;;
   5197   esac
   5198     for ac_prog in grep ggrep
   5199    do
   5200     for ac_exec_ext in '' $ac_executable_extensions; do
   5201       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5202       as_fn_executable_p "$ac_path_GREP" || continue
   5203 # Check for GNU ac_path_GREP and select it if it is found.
   5204   # Check for GNU $ac_path_GREP
   5205 case `"$ac_path_GREP" --version 2>&1` in
   5206 *GNU*)
   5207   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5208 *)
   5209   ac_count=0
   5210   printf %s 0123456789 >"conftest.in"
   5211   while :
   5212   do
   5213     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5214     mv "conftest.tmp" "conftest.in"
   5215     cp "conftest.in" "conftest.nl"
   5216     printf "%s\n" 'GREP' >> "conftest.nl"
   5217     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5218     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5219     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5220     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5221       # Best one so far, save it but keep looking for a better one
   5222       ac_cv_path_GREP="$ac_path_GREP"
   5223       ac_path_GREP_max=$ac_count
   5224     fi
   5225     # 10*(2^10) chars as input seems more than enough
   5226     test $ac_count -gt 10 && break
   5227   done
   5228   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5229 esac
   5230 
   5231       $ac_path_GREP_found && break 3
   5232     done
   5233   done
   5234   done
   5235 IFS=$as_save_IFS
   5236   if test -z "$ac_cv_path_GREP"; then
   5237     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5238   fi
   5239 else
   5240   ac_cv_path_GREP=$GREP
   5241 fi
   5242 
   5243 fi
   5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5245 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5246  GREP="$ac_cv_path_GREP"
   5247 
   5248 
   5249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5250 printf %s "checking for egrep... " >&6; }
   5251 if test ${ac_cv_path_EGREP+y}
   5252 then :
   5253   printf %s "(cached) " >&6
   5254 else $as_nop
   5255   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5256    then ac_cv_path_EGREP="$GREP -E"
   5257    else
   5258      if test -z "$EGREP"; then
   5259   ac_path_EGREP_found=false
   5260   # Loop through the user's path and test for each of PROGNAME-LIST
   5261   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5262 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5263 do
   5264   IFS=$as_save_IFS
   5265   case $as_dir in #(((
   5266     '') as_dir=./ ;;
   5267     */) ;;
   5268     *) as_dir=$as_dir/ ;;
   5269   esac
   5270     for ac_prog in egrep
   5271    do
   5272     for ac_exec_ext in '' $ac_executable_extensions; do
   5273       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5274       as_fn_executable_p "$ac_path_EGREP" || continue
   5275 # Check for GNU ac_path_EGREP and select it if it is found.
   5276   # Check for GNU $ac_path_EGREP
   5277 case `"$ac_path_EGREP" --version 2>&1` in
   5278 *GNU*)
   5279   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5280 *)
   5281   ac_count=0
   5282   printf %s 0123456789 >"conftest.in"
   5283   while :
   5284   do
   5285     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5286     mv "conftest.tmp" "conftest.in"
   5287     cp "conftest.in" "conftest.nl"
   5288     printf "%s\n" 'EGREP' >> "conftest.nl"
   5289     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5290     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5291     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5292     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5293       # Best one so far, save it but keep looking for a better one
   5294       ac_cv_path_EGREP="$ac_path_EGREP"
   5295       ac_path_EGREP_max=$ac_count
   5296     fi
   5297     # 10*(2^10) chars as input seems more than enough
   5298     test $ac_count -gt 10 && break
   5299   done
   5300   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5301 esac
   5302 
   5303       $ac_path_EGREP_found && break 3
   5304     done
   5305   done
   5306   done
   5307 IFS=$as_save_IFS
   5308   if test -z "$ac_cv_path_EGREP"; then
   5309     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5310   fi
   5311 else
   5312   ac_cv_path_EGREP=$EGREP
   5313 fi
   5314 
   5315    fi
   5316 fi
   5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5318 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5319  EGREP="$ac_cv_path_EGREP"
   5320 
   5321 
   5322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5323 printf %s "checking for fgrep... " >&6; }
   5324 if test ${ac_cv_path_FGREP+y}
   5325 then :
   5326   printf %s "(cached) " >&6
   5327 else $as_nop
   5328   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5329    then ac_cv_path_FGREP="$GREP -F"
   5330    else
   5331      if test -z "$FGREP"; then
   5332   ac_path_FGREP_found=false
   5333   # Loop through the user's path and test for each of PROGNAME-LIST
   5334   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5335 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5336 do
   5337   IFS=$as_save_IFS
   5338   case $as_dir in #(((
   5339     '') as_dir=./ ;;
   5340     */) ;;
   5341     *) as_dir=$as_dir/ ;;
   5342   esac
   5343     for ac_prog in fgrep
   5344    do
   5345     for ac_exec_ext in '' $ac_executable_extensions; do
   5346       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5347       as_fn_executable_p "$ac_path_FGREP" || continue
   5348 # Check for GNU ac_path_FGREP and select it if it is found.
   5349   # Check for GNU $ac_path_FGREP
   5350 case `"$ac_path_FGREP" --version 2>&1` in
   5351 *GNU*)
   5352   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5353 *)
   5354   ac_count=0
   5355   printf %s 0123456789 >"conftest.in"
   5356   while :
   5357   do
   5358     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5359     mv "conftest.tmp" "conftest.in"
   5360     cp "conftest.in" "conftest.nl"
   5361     printf "%s\n" 'FGREP' >> "conftest.nl"
   5362     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5363     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5364     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5365     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5366       # Best one so far, save it but keep looking for a better one
   5367       ac_cv_path_FGREP="$ac_path_FGREP"
   5368       ac_path_FGREP_max=$ac_count
   5369     fi
   5370     # 10*(2^10) chars as input seems more than enough
   5371     test $ac_count -gt 10 && break
   5372   done
   5373   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5374 esac
   5375 
   5376       $ac_path_FGREP_found && break 3
   5377     done
   5378   done
   5379   done
   5380 IFS=$as_save_IFS
   5381   if test -z "$ac_cv_path_FGREP"; then
   5382     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5383   fi
   5384 else
   5385   ac_cv_path_FGREP=$FGREP
   5386 fi
   5387 
   5388    fi
   5389 fi
   5390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5391 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5392  FGREP="$ac_cv_path_FGREP"
   5393 
   5394 
   5395 test -z "$GREP" && GREP=grep
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 # Check whether --with-gnu-ld was given.
   5416 if test ${with_gnu_ld+y}
   5417 then :
   5418   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5419 else $as_nop
   5420   with_gnu_ld=no
   5421 fi
   5422 
   5423 ac_prog=ld
   5424 if test yes = "$GCC"; then
   5425   # Check if gcc -print-prog-name=ld gives a path.
   5426   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5427 printf %s "checking for ld used by $CC... " >&6; }
   5428   case $host in
   5429   *-*-mingw*)
   5430     # gcc leaves a trailing carriage return, which upsets mingw
   5431     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5432   *)
   5433     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5434   esac
   5435   case $ac_prog in
   5436     # Accept absolute paths.
   5437     [\\/]* | ?:[\\/]*)
   5438       re_direlt='/[^/][^/]*/\.\./'
   5439       # Canonicalize the pathname of ld
   5440       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5441       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5442 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5443       done
   5444       test -z "$LD" && LD=$ac_prog
   5445       ;;
   5446   "")
   5447     # If it fails, then pretend we aren't using GCC.
   5448     ac_prog=ld
   5449     ;;
   5450   *)
   5451     # If it is relative, then search for the first ld in PATH.
   5452     with_gnu_ld=unknown
   5453     ;;
   5454   esac
   5455 elif test yes = "$with_gnu_ld"; then
   5456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5457 printf %s "checking for GNU ld... " >&6; }
   5458 else
   5459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5460 printf %s "checking for non-GNU ld... " >&6; }
   5461 fi
   5462 if test ${lt_cv_path_LD+y}
   5463 then :
   5464   printf %s "(cached) " >&6
   5465 else $as_nop
   5466   if test -z "$LD"; then
   5467   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5468   for ac_dir in $PATH; do
   5469     IFS=$lt_save_ifs
   5470     test -z "$ac_dir" && ac_dir=.
   5471     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5472       lt_cv_path_LD=$ac_dir/$ac_prog
   5473       # Check to see if the program is GNU ld.  I'd rather use --version,
   5474       # but apparently some variants of GNU ld only accept -v.
   5475       # Break only if it was the GNU/non-GNU ld that we prefer.
   5476       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5477       *GNU* | *'with BFD'*)
   5478 	test no != "$with_gnu_ld" && break
   5479 	;;
   5480       *)
   5481 	test yes != "$with_gnu_ld" && break
   5482 	;;
   5483       esac
   5484     fi
   5485   done
   5486   IFS=$lt_save_ifs
   5487 else
   5488   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5489 fi
   5490 fi
   5491 
   5492 LD=$lt_cv_path_LD
   5493 if test -n "$LD"; then
   5494   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5495 printf "%s\n" "$LD" >&6; }
   5496 else
   5497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5498 printf "%s\n" "no" >&6; }
   5499 fi
   5500 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5502 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5503 if test ${lt_cv_prog_gnu_ld+y}
   5504 then :
   5505   printf %s "(cached) " >&6
   5506 else $as_nop
   5507   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5508 case `$LD -v 2>&1 </dev/null` in
   5509 *GNU* | *'with BFD'*)
   5510   lt_cv_prog_gnu_ld=yes
   5511   ;;
   5512 *)
   5513   lt_cv_prog_gnu_ld=no
   5514   ;;
   5515 esac
   5516 fi
   5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5518 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5519 with_gnu_ld=$lt_cv_prog_gnu_ld
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5530 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5531 if test ${lt_cv_path_NM+y}
   5532 then :
   5533   printf %s "(cached) " >&6
   5534 else $as_nop
   5535   if test -n "$NM"; then
   5536   # Let the user override the test.
   5537   lt_cv_path_NM=$NM
   5538 else
   5539   lt_nm_to_check=${ac_tool_prefix}nm
   5540   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5541     lt_nm_to_check="$lt_nm_to_check nm"
   5542   fi
   5543   for lt_tmp_nm in $lt_nm_to_check; do
   5544     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5545     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5546       IFS=$lt_save_ifs
   5547       test -z "$ac_dir" && ac_dir=.
   5548       tmp_nm=$ac_dir/$lt_tmp_nm
   5549       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5550 	# Check to see if the nm accepts a BSD-compat flag.
   5551 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5552 	#   nm: unknown option "B" ignored
   5553 	# Tru64's nm complains that /dev/null is an invalid object file
   5554 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5555 	case $build_os in
   5556 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5557 	*) lt_bad_file=/dev/null ;;
   5558 	esac
   5559 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5560 	*$lt_bad_file* | *'Invalid file or object type'*)
   5561 	  lt_cv_path_NM="$tmp_nm -B"
   5562 	  break 2
   5563 	  ;;
   5564 	*)
   5565 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5566 	  */dev/null*)
   5567 	    lt_cv_path_NM="$tmp_nm -p"
   5568 	    break 2
   5569 	    ;;
   5570 	  *)
   5571 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5572 	    continue # so that we can try to find one that supports BSD flags
   5573 	    ;;
   5574 	  esac
   5575 	  ;;
   5576 	esac
   5577       fi
   5578     done
   5579     IFS=$lt_save_ifs
   5580   done
   5581   : ${lt_cv_path_NM=no}
   5582 fi
   5583 fi
   5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5585 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5586 if test no != "$lt_cv_path_NM"; then
   5587   NM=$lt_cv_path_NM
   5588 else
   5589   # Didn't find any BSD compatible name lister, look for dumpbin.
   5590   if test -n "$DUMPBIN"; then :
   5591     # Let the user override the test.
   5592   else
   5593     if test -n "$ac_tool_prefix"; then
   5594   for ac_prog in dumpbin "link -dump"
   5595   do
   5596     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5597 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5599 printf %s "checking for $ac_word... " >&6; }
   5600 if test ${ac_cv_prog_DUMPBIN+y}
   5601 then :
   5602   printf %s "(cached) " >&6
   5603 else $as_nop
   5604   if test -n "$DUMPBIN"; then
   5605   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5606 else
   5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5608 for as_dir in $PATH
   5609 do
   5610   IFS=$as_save_IFS
   5611   case $as_dir in #(((
   5612     '') as_dir=./ ;;
   5613     */) ;;
   5614     *) as_dir=$as_dir/ ;;
   5615   esac
   5616     for ac_exec_ext in '' $ac_executable_extensions; do
   5617   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5618     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5619     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5620     break 2
   5621   fi
   5622 done
   5623   done
   5624 IFS=$as_save_IFS
   5625 
   5626 fi
   5627 fi
   5628 DUMPBIN=$ac_cv_prog_DUMPBIN
   5629 if test -n "$DUMPBIN"; then
   5630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5631 printf "%s\n" "$DUMPBIN" >&6; }
   5632 else
   5633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5634 printf "%s\n" "no" >&6; }
   5635 fi
   5636 
   5637 
   5638     test -n "$DUMPBIN" && break
   5639   done
   5640 fi
   5641 if test -z "$DUMPBIN"; then
   5642   ac_ct_DUMPBIN=$DUMPBIN
   5643   for ac_prog in dumpbin "link -dump"
   5644 do
   5645   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5646 set dummy $ac_prog; ac_word=$2
   5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5648 printf %s "checking for $ac_word... " >&6; }
   5649 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5650 then :
   5651   printf %s "(cached) " >&6
   5652 else $as_nop
   5653   if test -n "$ac_ct_DUMPBIN"; then
   5654   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5655 else
   5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5657 for as_dir in $PATH
   5658 do
   5659   IFS=$as_save_IFS
   5660   case $as_dir in #(((
   5661     '') as_dir=./ ;;
   5662     */) ;;
   5663     *) as_dir=$as_dir/ ;;
   5664   esac
   5665     for ac_exec_ext in '' $ac_executable_extensions; do
   5666   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5667     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5668     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5669     break 2
   5670   fi
   5671 done
   5672   done
   5673 IFS=$as_save_IFS
   5674 
   5675 fi
   5676 fi
   5677 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5678 if test -n "$ac_ct_DUMPBIN"; then
   5679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5680 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5681 else
   5682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5683 printf "%s\n" "no" >&6; }
   5684 fi
   5685 
   5686 
   5687   test -n "$ac_ct_DUMPBIN" && break
   5688 done
   5689 
   5690   if test "x$ac_ct_DUMPBIN" = x; then
   5691     DUMPBIN=":"
   5692   else
   5693     case $cross_compiling:$ac_tool_warned in
   5694 yes:)
   5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5696 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5697 ac_tool_warned=yes ;;
   5698 esac
   5699     DUMPBIN=$ac_ct_DUMPBIN
   5700   fi
   5701 fi
   5702 
   5703     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5704     *COFF*)
   5705       DUMPBIN="$DUMPBIN -symbols -headers"
   5706       ;;
   5707     *)
   5708       DUMPBIN=:
   5709       ;;
   5710     esac
   5711   fi
   5712 
   5713   if test : != "$DUMPBIN"; then
   5714     NM=$DUMPBIN
   5715   fi
   5716 fi
   5717 test -z "$NM" && NM=nm
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5725 printf %s "checking the name lister ($NM) interface... " >&6; }
   5726 if test ${lt_cv_nm_interface+y}
   5727 then :
   5728   printf %s "(cached) " >&6
   5729 else $as_nop
   5730   lt_cv_nm_interface="BSD nm"
   5731   echo "int some_variable = 0;" > conftest.$ac_ext
   5732   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5733   (eval "$ac_compile" 2>conftest.err)
   5734   cat conftest.err >&5
   5735   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5736   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5737   cat conftest.err >&5
   5738   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5739   cat conftest.out >&5
   5740   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5741     lt_cv_nm_interface="MS dumpbin"
   5742   fi
   5743   rm -f conftest*
   5744 fi
   5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5746 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5747 
   5748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5749 printf %s "checking whether ln -s works... " >&6; }
   5750 LN_S=$as_ln_s
   5751 if test "$LN_S" = "ln -s"; then
   5752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5753 printf "%s\n" "yes" >&6; }
   5754 else
   5755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5756 printf "%s\n" "no, using $LN_S" >&6; }
   5757 fi
   5758 
   5759 # find the maximum length of command line arguments
   5760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5761 printf %s "checking the maximum length of command line arguments... " >&6; }
   5762 if test ${lt_cv_sys_max_cmd_len+y}
   5763 then :
   5764   printf %s "(cached) " >&6
   5765 else $as_nop
   5766     i=0
   5767   teststring=ABCD
   5768 
   5769   case $build_os in
   5770   msdosdjgpp*)
   5771     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5772     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5773     # during glob expansion).  Even if it were fixed, the result of this
   5774     # check would be larger than it should be.
   5775     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5776     ;;
   5777 
   5778   gnu*)
   5779     # Under GNU Hurd, this test is not required because there is
   5780     # no limit to the length of command line arguments.
   5781     # Libtool will interpret -1 as no limit whatsoever
   5782     lt_cv_sys_max_cmd_len=-1;
   5783     ;;
   5784 
   5785   cygwin* | mingw* | cegcc*)
   5786     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5787     # about 5 minutes as the teststring grows exponentially.
   5788     # Worse, since 9x/ME are not pre-emptively multitasking,
   5789     # you end up with a "frozen" computer, even though with patience
   5790     # the test eventually succeeds (with a max line length of 256k).
   5791     # Instead, let's just punt: use the minimum linelength reported by
   5792     # all of the supported platforms: 8192 (on NT/2K/XP).
   5793     lt_cv_sys_max_cmd_len=8192;
   5794     ;;
   5795 
   5796   mint*)
   5797     # On MiNT this can take a long time and run out of memory.
   5798     lt_cv_sys_max_cmd_len=8192;
   5799     ;;
   5800 
   5801   amigaos*)
   5802     # On AmigaOS with pdksh, this test takes hours, literally.
   5803     # So we just punt and use a minimum line length of 8192.
   5804     lt_cv_sys_max_cmd_len=8192;
   5805     ;;
   5806 
   5807   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5808     # This has been around since 386BSD, at least.  Likely further.
   5809     if test -x /sbin/sysctl; then
   5810       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5811     elif test -x /usr/sbin/sysctl; then
   5812       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5813     else
   5814       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5815     fi
   5816     # And add a safety zone
   5817     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5818     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5819     ;;
   5820 
   5821   interix*)
   5822     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5823     lt_cv_sys_max_cmd_len=196608
   5824     ;;
   5825 
   5826   os2*)
   5827     # The test takes a long time on OS/2.
   5828     lt_cv_sys_max_cmd_len=8192
   5829     ;;
   5830 
   5831   osf*)
   5832     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5833     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5834     # nice to cause kernel panics so lets avoid the loop below.
   5835     # First set a reasonable default.
   5836     lt_cv_sys_max_cmd_len=16384
   5837     #
   5838     if test -x /sbin/sysconfig; then
   5839       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5840         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5841       esac
   5842     fi
   5843     ;;
   5844   sco3.2v5*)
   5845     lt_cv_sys_max_cmd_len=102400
   5846     ;;
   5847   sysv5* | sco5v6* | sysv4.2uw2*)
   5848     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5849     if test -n "$kargmax"; then
   5850       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5851     else
   5852       lt_cv_sys_max_cmd_len=32768
   5853     fi
   5854     ;;
   5855   *)
   5856     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5857     if test -n "$lt_cv_sys_max_cmd_len" && \
   5858        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5859       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5860       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5861     else
   5862       # Make teststring a little bigger before we do anything with it.
   5863       # a 1K string should be a reasonable start.
   5864       for i in 1 2 3 4 5 6 7 8; do
   5865         teststring=$teststring$teststring
   5866       done
   5867       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5868       # If test is not a shell built-in, we'll probably end up computing a
   5869       # maximum length that is only half of the actual maximum length, but
   5870       # we can't tell.
   5871       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5872 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5873 	      test 17 != "$i" # 1/2 MB should be enough
   5874       do
   5875         i=`expr $i + 1`
   5876         teststring=$teststring$teststring
   5877       done
   5878       # Only check the string length outside the loop.
   5879       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5880       teststring=
   5881       # Add a significant safety factor because C++ compilers can tack on
   5882       # massive amounts of additional arguments before passing them to the
   5883       # linker.  It appears as though 1/2 is a usable value.
   5884       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5885     fi
   5886     ;;
   5887   esac
   5888 
   5889 fi
   5890 
   5891 if test -n "$lt_cv_sys_max_cmd_len"; then
   5892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5893 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5894 else
   5895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5896 printf "%s\n" "none" >&6; }
   5897 fi
   5898 max_cmd_len=$lt_cv_sys_max_cmd_len
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 : ${CP="cp -f"}
   5906 : ${MV="mv -f"}
   5907 : ${RM="rm -f"}
   5908 
   5909 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5910   lt_unset=unset
   5911 else
   5912   lt_unset=false
   5913 fi
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 # test EBCDIC or ASCII
   5920 case `echo X|tr X '\101'` in
   5921  A) # ASCII based system
   5922     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5923   lt_SP2NL='tr \040 \012'
   5924   lt_NL2SP='tr \015\012 \040\040'
   5925   ;;
   5926  *) # EBCDIC based system
   5927   lt_SP2NL='tr \100 \n'
   5928   lt_NL2SP='tr \r\n \100\100'
   5929   ;;
   5930 esac
   5931 
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 
   5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5941 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5942 if test ${lt_cv_to_host_file_cmd+y}
   5943 then :
   5944   printf %s "(cached) " >&6
   5945 else $as_nop
   5946   case $host in
   5947   *-*-mingw* )
   5948     case $build in
   5949       *-*-mingw* ) # actually msys
   5950         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5951         ;;
   5952       *-*-cygwin* )
   5953         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5954         ;;
   5955       * ) # otherwise, assume *nix
   5956         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5957         ;;
   5958     esac
   5959     ;;
   5960   *-*-cygwin* )
   5961     case $build in
   5962       *-*-mingw* ) # actually msys
   5963         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5964         ;;
   5965       *-*-cygwin* )
   5966         lt_cv_to_host_file_cmd=func_convert_file_noop
   5967         ;;
   5968       * ) # otherwise, assume *nix
   5969         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5970         ;;
   5971     esac
   5972     ;;
   5973   * ) # unhandled hosts (and "normal" native builds)
   5974     lt_cv_to_host_file_cmd=func_convert_file_noop
   5975     ;;
   5976 esac
   5977 
   5978 fi
   5979 
   5980 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5982 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5989 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5990 if test ${lt_cv_to_tool_file_cmd+y}
   5991 then :
   5992   printf %s "(cached) " >&6
   5993 else $as_nop
   5994   #assume ordinary cross tools, or native build.
   5995 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5996 case $host in
   5997   *-*-mingw* )
   5998     case $build in
   5999       *-*-mingw* ) # actually msys
   6000         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6001         ;;
   6002     esac
   6003     ;;
   6004 esac
   6005 
   6006 fi
   6007 
   6008 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6010 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6017 printf %s "checking for $LD option to reload object files... " >&6; }
   6018 if test ${lt_cv_ld_reload_flag+y}
   6019 then :
   6020   printf %s "(cached) " >&6
   6021 else $as_nop
   6022   lt_cv_ld_reload_flag='-r'
   6023 fi
   6024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6025 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6026 reload_flag=$lt_cv_ld_reload_flag
   6027 case $reload_flag in
   6028 "" | " "*) ;;
   6029 *) reload_flag=" $reload_flag" ;;
   6030 esac
   6031 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6032 case $host_os in
   6033   cygwin* | mingw* | pw32* | cegcc*)
   6034     if test yes != "$GCC"; then
   6035       reload_cmds=false
   6036     fi
   6037     ;;
   6038   darwin*)
   6039     if test yes = "$GCC"; then
   6040       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6041     else
   6042       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6043     fi
   6044     ;;
   6045 esac
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 if test -n "$ac_tool_prefix"; then
   6056   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6057 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6059 printf %s "checking for $ac_word... " >&6; }
   6060 if test ${ac_cv_prog_OBJDUMP+y}
   6061 then :
   6062   printf %s "(cached) " >&6
   6063 else $as_nop
   6064   if test -n "$OBJDUMP"; then
   6065   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6066 else
   6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6068 for as_dir in $PATH
   6069 do
   6070   IFS=$as_save_IFS
   6071   case $as_dir in #(((
   6072     '') as_dir=./ ;;
   6073     */) ;;
   6074     *) as_dir=$as_dir/ ;;
   6075   esac
   6076     for ac_exec_ext in '' $ac_executable_extensions; do
   6077   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6078     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6079     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6080     break 2
   6081   fi
   6082 done
   6083   done
   6084 IFS=$as_save_IFS
   6085 
   6086 fi
   6087 fi
   6088 OBJDUMP=$ac_cv_prog_OBJDUMP
   6089 if test -n "$OBJDUMP"; then
   6090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6091 printf "%s\n" "$OBJDUMP" >&6; }
   6092 else
   6093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6094 printf "%s\n" "no" >&6; }
   6095 fi
   6096 
   6097 
   6098 fi
   6099 if test -z "$ac_cv_prog_OBJDUMP"; then
   6100   ac_ct_OBJDUMP=$OBJDUMP
   6101   # Extract the first word of "objdump", so it can be a program name with args.
   6102 set dummy objdump; ac_word=$2
   6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6104 printf %s "checking for $ac_word... " >&6; }
   6105 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6106 then :
   6107   printf %s "(cached) " >&6
   6108 else $as_nop
   6109   if test -n "$ac_ct_OBJDUMP"; then
   6110   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6111 else
   6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6113 for as_dir in $PATH
   6114 do
   6115   IFS=$as_save_IFS
   6116   case $as_dir in #(((
   6117     '') as_dir=./ ;;
   6118     */) ;;
   6119     *) as_dir=$as_dir/ ;;
   6120   esac
   6121     for ac_exec_ext in '' $ac_executable_extensions; do
   6122   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6123     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6124     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6125     break 2
   6126   fi
   6127 done
   6128   done
   6129 IFS=$as_save_IFS
   6130 
   6131 fi
   6132 fi
   6133 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6134 if test -n "$ac_ct_OBJDUMP"; then
   6135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6136 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6137 else
   6138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6139 printf "%s\n" "no" >&6; }
   6140 fi
   6141 
   6142   if test "x$ac_ct_OBJDUMP" = x; then
   6143     OBJDUMP="false"
   6144   else
   6145     case $cross_compiling:$ac_tool_warned in
   6146 yes:)
   6147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6148 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6149 ac_tool_warned=yes ;;
   6150 esac
   6151     OBJDUMP=$ac_ct_OBJDUMP
   6152   fi
   6153 else
   6154   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6155 fi
   6156 
   6157 test -z "$OBJDUMP" && OBJDUMP=objdump
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6168 printf %s "checking how to recognize dependent libraries... " >&6; }
   6169 if test ${lt_cv_deplibs_check_method+y}
   6170 then :
   6171   printf %s "(cached) " >&6
   6172 else $as_nop
   6173   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6174 lt_cv_file_magic_test_file=
   6175 lt_cv_deplibs_check_method='unknown'
   6176 # Need to set the preceding variable on all platforms that support
   6177 # interlibrary dependencies.
   6178 # 'none' -- dependencies not supported.
   6179 # 'unknown' -- same as none, but documents that we really don't know.
   6180 # 'pass_all' -- all dependencies passed with no checks.
   6181 # 'test_compile' -- check by making test program.
   6182 # 'file_magic [[regex]]' -- check by looking for files in library path
   6183 # that responds to the $file_magic_cmd with a given extended regex.
   6184 # If you have 'file' or equivalent on your system and you're not sure
   6185 # whether 'pass_all' will *always* work, you probably want this one.
   6186 
   6187 case $host_os in
   6188 aix[4-9]*)
   6189   lt_cv_deplibs_check_method=pass_all
   6190   ;;
   6191 
   6192 beos*)
   6193   lt_cv_deplibs_check_method=pass_all
   6194   ;;
   6195 
   6196 bsdi[45]*)
   6197   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6198   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6199   lt_cv_file_magic_test_file=/shlib/libc.so
   6200   ;;
   6201 
   6202 cygwin*)
   6203   # func_win32_libid is a shell function defined in ltmain.sh
   6204   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6205   lt_cv_file_magic_cmd='func_win32_libid'
   6206   ;;
   6207 
   6208 mingw* | pw32*)
   6209   # Base MSYS/MinGW do not provide the 'file' command needed by
   6210   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6211   # unless we find 'file', for example because we are cross-compiling.
   6212   if ( file / ) >/dev/null 2>&1; then
   6213     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6214     lt_cv_file_magic_cmd='func_win32_libid'
   6215   else
   6216     # Keep this pattern in sync with the one in func_win32_libid.
   6217     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6218     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6219   fi
   6220   ;;
   6221 
   6222 cegcc*)
   6223   # use the weaker test based on 'objdump'. See mingw*.
   6224   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6225   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6226   ;;
   6227 
   6228 darwin* | rhapsody*)
   6229   lt_cv_deplibs_check_method=pass_all
   6230   ;;
   6231 
   6232 freebsd* | dragonfly*)
   6233   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6234     case $host_cpu in
   6235     i*86 )
   6236       # Not sure whether the presence of OpenBSD here was a mistake.
   6237       # Let's accept both of them until this is cleared up.
   6238       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6239       lt_cv_file_magic_cmd=/usr/bin/file
   6240       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6241       ;;
   6242     esac
   6243   else
   6244     lt_cv_deplibs_check_method=pass_all
   6245   fi
   6246   ;;
   6247 
   6248 haiku*)
   6249   lt_cv_deplibs_check_method=pass_all
   6250   ;;
   6251 
   6252 hpux10.20* | hpux11*)
   6253   lt_cv_file_magic_cmd=/usr/bin/file
   6254   case $host_cpu in
   6255   ia64*)
   6256     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6257     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6258     ;;
   6259   hppa*64*)
   6260     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]'
   6261     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6262     ;;
   6263   *)
   6264     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6265     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6266     ;;
   6267   esac
   6268   ;;
   6269 
   6270 interix[3-9]*)
   6271   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6272   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6273   ;;
   6274 
   6275 irix5* | irix6* | nonstopux*)
   6276   case $LD in
   6277   *-32|*"-32 ") libmagic=32-bit;;
   6278   *-n32|*"-n32 ") libmagic=N32;;
   6279   *-64|*"-64 ") libmagic=64-bit;;
   6280   *) libmagic=never-match;;
   6281   esac
   6282   lt_cv_deplibs_check_method=pass_all
   6283   ;;
   6284 
   6285 # This must be glibc/ELF.
   6286 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6287   lt_cv_deplibs_check_method=pass_all
   6288   ;;
   6289 
   6290 netbsd*)
   6291   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6292     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6293   else
   6294     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6295   fi
   6296   ;;
   6297 
   6298 newos6*)
   6299   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6300   lt_cv_file_magic_cmd=/usr/bin/file
   6301   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6302   ;;
   6303 
   6304 *nto* | *qnx*)
   6305   lt_cv_deplibs_check_method=pass_all
   6306   ;;
   6307 
   6308 openbsd* | bitrig*)
   6309   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6310     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6311   else
   6312     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6313   fi
   6314   ;;
   6315 
   6316 osf3* | osf4* | osf5*)
   6317   lt_cv_deplibs_check_method=pass_all
   6318   ;;
   6319 
   6320 rdos*)
   6321   lt_cv_deplibs_check_method=pass_all
   6322   ;;
   6323 
   6324 solaris*)
   6325   lt_cv_deplibs_check_method=pass_all
   6326   ;;
   6327 
   6328 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6329   lt_cv_deplibs_check_method=pass_all
   6330   ;;
   6331 
   6332 sysv4 | sysv4.3*)
   6333   case $host_vendor in
   6334   motorola)
   6335     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]'
   6336     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6337     ;;
   6338   ncr)
   6339     lt_cv_deplibs_check_method=pass_all
   6340     ;;
   6341   sequent)
   6342     lt_cv_file_magic_cmd='/bin/file'
   6343     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6344     ;;
   6345   sni)
   6346     lt_cv_file_magic_cmd='/bin/file'
   6347     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6348     lt_cv_file_magic_test_file=/lib/libc.so
   6349     ;;
   6350   siemens)
   6351     lt_cv_deplibs_check_method=pass_all
   6352     ;;
   6353   pc)
   6354     lt_cv_deplibs_check_method=pass_all
   6355     ;;
   6356   esac
   6357   ;;
   6358 
   6359 tpf*)
   6360   lt_cv_deplibs_check_method=pass_all
   6361   ;;
   6362 os2*)
   6363   lt_cv_deplibs_check_method=pass_all
   6364   ;;
   6365 esac
   6366 
   6367 fi
   6368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6369 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6370 
   6371 file_magic_glob=
   6372 want_nocaseglob=no
   6373 if test "$build" = "$host"; then
   6374   case $host_os in
   6375   mingw* | pw32*)
   6376     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6377       want_nocaseglob=yes
   6378     else
   6379       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6380     fi
   6381     ;;
   6382   esac
   6383 fi
   6384 
   6385 file_magic_cmd=$lt_cv_file_magic_cmd
   6386 deplibs_check_method=$lt_cv_deplibs_check_method
   6387 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6388 
   6389 
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 if test -n "$ac_tool_prefix"; then
   6411   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6412 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6414 printf %s "checking for $ac_word... " >&6; }
   6415 if test ${ac_cv_prog_DLLTOOL+y}
   6416 then :
   6417   printf %s "(cached) " >&6
   6418 else $as_nop
   6419   if test -n "$DLLTOOL"; then
   6420   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6421 else
   6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6423 for as_dir in $PATH
   6424 do
   6425   IFS=$as_save_IFS
   6426   case $as_dir in #(((
   6427     '') as_dir=./ ;;
   6428     */) ;;
   6429     *) as_dir=$as_dir/ ;;
   6430   esac
   6431     for ac_exec_ext in '' $ac_executable_extensions; do
   6432   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6433     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6434     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6435     break 2
   6436   fi
   6437 done
   6438   done
   6439 IFS=$as_save_IFS
   6440 
   6441 fi
   6442 fi
   6443 DLLTOOL=$ac_cv_prog_DLLTOOL
   6444 if test -n "$DLLTOOL"; then
   6445   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6446 printf "%s\n" "$DLLTOOL" >&6; }
   6447 else
   6448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6449 printf "%s\n" "no" >&6; }
   6450 fi
   6451 
   6452 
   6453 fi
   6454 if test -z "$ac_cv_prog_DLLTOOL"; then
   6455   ac_ct_DLLTOOL=$DLLTOOL
   6456   # Extract the first word of "dlltool", so it can be a program name with args.
   6457 set dummy dlltool; ac_word=$2
   6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6459 printf %s "checking for $ac_word... " >&6; }
   6460 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6461 then :
   6462   printf %s "(cached) " >&6
   6463 else $as_nop
   6464   if test -n "$ac_ct_DLLTOOL"; then
   6465   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6466 else
   6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6468 for as_dir in $PATH
   6469 do
   6470   IFS=$as_save_IFS
   6471   case $as_dir in #(((
   6472     '') as_dir=./ ;;
   6473     */) ;;
   6474     *) as_dir=$as_dir/ ;;
   6475   esac
   6476     for ac_exec_ext in '' $ac_executable_extensions; do
   6477   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6478     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6479     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6480     break 2
   6481   fi
   6482 done
   6483   done
   6484 IFS=$as_save_IFS
   6485 
   6486 fi
   6487 fi
   6488 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6489 if test -n "$ac_ct_DLLTOOL"; then
   6490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6491 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6492 else
   6493   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6494 printf "%s\n" "no" >&6; }
   6495 fi
   6496 
   6497   if test "x$ac_ct_DLLTOOL" = x; then
   6498     DLLTOOL="false"
   6499   else
   6500     case $cross_compiling:$ac_tool_warned in
   6501 yes:)
   6502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6503 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6504 ac_tool_warned=yes ;;
   6505 esac
   6506     DLLTOOL=$ac_ct_DLLTOOL
   6507   fi
   6508 else
   6509   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6510 fi
   6511 
   6512 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6524 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6525 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6526 then :
   6527   printf %s "(cached) " >&6
   6528 else $as_nop
   6529   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6530 
   6531 case $host_os in
   6532 cygwin* | mingw* | pw32* | cegcc*)
   6533   # two different shell functions defined in ltmain.sh;
   6534   # decide which one to use based on capabilities of $DLLTOOL
   6535   case `$DLLTOOL --help 2>&1` in
   6536   *--identify-strict*)
   6537     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6538     ;;
   6539   *)
   6540     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6541     ;;
   6542   esac
   6543   ;;
   6544 *)
   6545   # fallback: assume linklib IS sharedlib
   6546   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6547   ;;
   6548 esac
   6549 
   6550 fi
   6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6552 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6553 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6554 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 if test -n "$ac_tool_prefix"; then
   6563   for ac_prog in ar
   6564   do
   6565     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6566 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6568 printf %s "checking for $ac_word... " >&6; }
   6569 if test ${ac_cv_prog_AR+y}
   6570 then :
   6571   printf %s "(cached) " >&6
   6572 else $as_nop
   6573   if test -n "$AR"; then
   6574   ac_cv_prog_AR="$AR" # Let the user override the test.
   6575 else
   6576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6577 for as_dir in $PATH
   6578 do
   6579   IFS=$as_save_IFS
   6580   case $as_dir in #(((
   6581     '') as_dir=./ ;;
   6582     */) ;;
   6583     *) as_dir=$as_dir/ ;;
   6584   esac
   6585     for ac_exec_ext in '' $ac_executable_extensions; do
   6586   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6587     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6588     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6589     break 2
   6590   fi
   6591 done
   6592   done
   6593 IFS=$as_save_IFS
   6594 
   6595 fi
   6596 fi
   6597 AR=$ac_cv_prog_AR
   6598 if test -n "$AR"; then
   6599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6600 printf "%s\n" "$AR" >&6; }
   6601 else
   6602   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6603 printf "%s\n" "no" >&6; }
   6604 fi
   6605 
   6606 
   6607     test -n "$AR" && break
   6608   done
   6609 fi
   6610 if test -z "$AR"; then
   6611   ac_ct_AR=$AR
   6612   for ac_prog in ar
   6613 do
   6614   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6615 set dummy $ac_prog; ac_word=$2
   6616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6617 printf %s "checking for $ac_word... " >&6; }
   6618 if test ${ac_cv_prog_ac_ct_AR+y}
   6619 then :
   6620   printf %s "(cached) " >&6
   6621 else $as_nop
   6622   if test -n "$ac_ct_AR"; then
   6623   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6624 else
   6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6626 for as_dir in $PATH
   6627 do
   6628   IFS=$as_save_IFS
   6629   case $as_dir in #(((
   6630     '') as_dir=./ ;;
   6631     */) ;;
   6632     *) as_dir=$as_dir/ ;;
   6633   esac
   6634     for ac_exec_ext in '' $ac_executable_extensions; do
   6635   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6636     ac_cv_prog_ac_ct_AR="$ac_prog"
   6637     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6638     break 2
   6639   fi
   6640 done
   6641   done
   6642 IFS=$as_save_IFS
   6643 
   6644 fi
   6645 fi
   6646 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6647 if test -n "$ac_ct_AR"; then
   6648   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6649 printf "%s\n" "$ac_ct_AR" >&6; }
   6650 else
   6651   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6652 printf "%s\n" "no" >&6; }
   6653 fi
   6654 
   6655 
   6656   test -n "$ac_ct_AR" && break
   6657 done
   6658 
   6659   if test "x$ac_ct_AR" = x; then
   6660     AR="false"
   6661   else
   6662     case $cross_compiling:$ac_tool_warned in
   6663 yes:)
   6664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6665 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6666 ac_tool_warned=yes ;;
   6667 esac
   6668     AR=$ac_ct_AR
   6669   fi
   6670 fi
   6671 
   6672 : ${AR=ar}
   6673 : ${AR_FLAGS=cru}
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6686 printf %s "checking for archiver @FILE support... " >&6; }
   6687 if test ${lt_cv_ar_at_file+y}
   6688 then :
   6689   printf %s "(cached) " >&6
   6690 else $as_nop
   6691   lt_cv_ar_at_file=no
   6692    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6693 /* end confdefs.h.  */
   6694 
   6695 int
   6696 main (void)
   6697 {
   6698 
   6699   ;
   6700   return 0;
   6701 }
   6702 _ACEOF
   6703 if ac_fn_c_try_compile "$LINENO"
   6704 then :
   6705   echo conftest.$ac_objext > conftest.lst
   6706       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6707       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6708   (eval $lt_ar_try) 2>&5
   6709   ac_status=$?
   6710   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6711   test $ac_status = 0; }
   6712       if test 0 -eq "$ac_status"; then
   6713 	# Ensure the archiver fails upon bogus file names.
   6714 	rm -f conftest.$ac_objext libconftest.a
   6715 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6716   (eval $lt_ar_try) 2>&5
   6717   ac_status=$?
   6718   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6719   test $ac_status = 0; }
   6720 	if test 0 -ne "$ac_status"; then
   6721           lt_cv_ar_at_file=@
   6722         fi
   6723       fi
   6724       rm -f conftest.* libconftest.a
   6725 
   6726 fi
   6727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6728 
   6729 fi
   6730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6731 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6732 
   6733 if test no = "$lt_cv_ar_at_file"; then
   6734   archiver_list_spec=
   6735 else
   6736   archiver_list_spec=$lt_cv_ar_at_file
   6737 fi
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 if test -n "$ac_tool_prefix"; then
   6746   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6747 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6749 printf %s "checking for $ac_word... " >&6; }
   6750 if test ${ac_cv_prog_STRIP+y}
   6751 then :
   6752   printf %s "(cached) " >&6
   6753 else $as_nop
   6754   if test -n "$STRIP"; then
   6755   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6756 else
   6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6758 for as_dir in $PATH
   6759 do
   6760   IFS=$as_save_IFS
   6761   case $as_dir in #(((
   6762     '') as_dir=./ ;;
   6763     */) ;;
   6764     *) as_dir=$as_dir/ ;;
   6765   esac
   6766     for ac_exec_ext in '' $ac_executable_extensions; do
   6767   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6768     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6769     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6770     break 2
   6771   fi
   6772 done
   6773   done
   6774 IFS=$as_save_IFS
   6775 
   6776 fi
   6777 fi
   6778 STRIP=$ac_cv_prog_STRIP
   6779 if test -n "$STRIP"; then
   6780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6781 printf "%s\n" "$STRIP" >&6; }
   6782 else
   6783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6784 printf "%s\n" "no" >&6; }
   6785 fi
   6786 
   6787 
   6788 fi
   6789 if test -z "$ac_cv_prog_STRIP"; then
   6790   ac_ct_STRIP=$STRIP
   6791   # Extract the first word of "strip", so it can be a program name with args.
   6792 set dummy strip; ac_word=$2
   6793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6794 printf %s "checking for $ac_word... " >&6; }
   6795 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6796 then :
   6797   printf %s "(cached) " >&6
   6798 else $as_nop
   6799   if test -n "$ac_ct_STRIP"; then
   6800   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6801 else
   6802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6803 for as_dir in $PATH
   6804 do
   6805   IFS=$as_save_IFS
   6806   case $as_dir in #(((
   6807     '') as_dir=./ ;;
   6808     */) ;;
   6809     *) as_dir=$as_dir/ ;;
   6810   esac
   6811     for ac_exec_ext in '' $ac_executable_extensions; do
   6812   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6813     ac_cv_prog_ac_ct_STRIP="strip"
   6814     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6815     break 2
   6816   fi
   6817 done
   6818   done
   6819 IFS=$as_save_IFS
   6820 
   6821 fi
   6822 fi
   6823 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6824 if test -n "$ac_ct_STRIP"; then
   6825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6826 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6827 else
   6828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6829 printf "%s\n" "no" >&6; }
   6830 fi
   6831 
   6832   if test "x$ac_ct_STRIP" = x; then
   6833     STRIP=":"
   6834   else
   6835     case $cross_compiling:$ac_tool_warned in
   6836 yes:)
   6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6838 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6839 ac_tool_warned=yes ;;
   6840 esac
   6841     STRIP=$ac_ct_STRIP
   6842   fi
   6843 else
   6844   STRIP="$ac_cv_prog_STRIP"
   6845 fi
   6846 
   6847 test -z "$STRIP" && STRIP=:
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 if test -n "$ac_tool_prefix"; then
   6855   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6856 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6858 printf %s "checking for $ac_word... " >&6; }
   6859 if test ${ac_cv_prog_RANLIB+y}
   6860 then :
   6861   printf %s "(cached) " >&6
   6862 else $as_nop
   6863   if test -n "$RANLIB"; then
   6864   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6865 else
   6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6867 for as_dir in $PATH
   6868 do
   6869   IFS=$as_save_IFS
   6870   case $as_dir in #(((
   6871     '') as_dir=./ ;;
   6872     */) ;;
   6873     *) as_dir=$as_dir/ ;;
   6874   esac
   6875     for ac_exec_ext in '' $ac_executable_extensions; do
   6876   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6877     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6878     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6879     break 2
   6880   fi
   6881 done
   6882   done
   6883 IFS=$as_save_IFS
   6884 
   6885 fi
   6886 fi
   6887 RANLIB=$ac_cv_prog_RANLIB
   6888 if test -n "$RANLIB"; then
   6889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6890 printf "%s\n" "$RANLIB" >&6; }
   6891 else
   6892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6893 printf "%s\n" "no" >&6; }
   6894 fi
   6895 
   6896 
   6897 fi
   6898 if test -z "$ac_cv_prog_RANLIB"; then
   6899   ac_ct_RANLIB=$RANLIB
   6900   # Extract the first word of "ranlib", so it can be a program name with args.
   6901 set dummy ranlib; ac_word=$2
   6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6903 printf %s "checking for $ac_word... " >&6; }
   6904 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6905 then :
   6906   printf %s "(cached) " >&6
   6907 else $as_nop
   6908   if test -n "$ac_ct_RANLIB"; then
   6909   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6910 else
   6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6912 for as_dir in $PATH
   6913 do
   6914   IFS=$as_save_IFS
   6915   case $as_dir in #(((
   6916     '') as_dir=./ ;;
   6917     */) ;;
   6918     *) as_dir=$as_dir/ ;;
   6919   esac
   6920     for ac_exec_ext in '' $ac_executable_extensions; do
   6921   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6922     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6923     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6924     break 2
   6925   fi
   6926 done
   6927   done
   6928 IFS=$as_save_IFS
   6929 
   6930 fi
   6931 fi
   6932 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6933 if test -n "$ac_ct_RANLIB"; then
   6934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6935 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6936 else
   6937   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6938 printf "%s\n" "no" >&6; }
   6939 fi
   6940 
   6941   if test "x$ac_ct_RANLIB" = x; then
   6942     RANLIB=":"
   6943   else
   6944     case $cross_compiling:$ac_tool_warned in
   6945 yes:)
   6946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6947 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6948 ac_tool_warned=yes ;;
   6949 esac
   6950     RANLIB=$ac_ct_RANLIB
   6951   fi
   6952 else
   6953   RANLIB="$ac_cv_prog_RANLIB"
   6954 fi
   6955 
   6956 test -z "$RANLIB" && RANLIB=:
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 # Determine commands to create old-style static archives.
   6964 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6965 old_postinstall_cmds='chmod 644 $oldlib'
   6966 old_postuninstall_cmds=
   6967 
   6968 if test -n "$RANLIB"; then
   6969   case $host_os in
   6970   bitrig* | openbsd*)
   6971     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6972     ;;
   6973   *)
   6974     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6975     ;;
   6976   esac
   6977   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6978 fi
   6979 
   6980 case $host_os in
   6981   darwin*)
   6982     lock_old_archive_extraction=yes ;;
   6983   *)
   6984     lock_old_archive_extraction=no ;;
   6985 esac
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 # If no C compiler was specified, use CC.
   7026 LTCC=${LTCC-"$CC"}
   7027 
   7028 # If no C compiler flags were specified, use CFLAGS.
   7029 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7030 
   7031 # Allow CC to be a program name with arguments.
   7032 compiler=$CC
   7033 
   7034 
   7035 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7037 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7038 if test ${lt_cv_sys_global_symbol_pipe+y}
   7039 then :
   7040   printf %s "(cached) " >&6
   7041 else $as_nop
   7042 
   7043 # These are sane defaults that work on at least a few old systems.
   7044 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7045 
   7046 # Character class describing NM global symbol codes.
   7047 symcode='[BCDEGRST]'
   7048 
   7049 # Regexp to match symbols that can be accessed directly from C.
   7050 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7051 
   7052 # Define system-specific variables.
   7053 case $host_os in
   7054 aix*)
   7055   symcode='[BCDT]'
   7056   ;;
   7057 cygwin* | mingw* | pw32* | cegcc*)
   7058   symcode='[ABCDGISTW]'
   7059   ;;
   7060 hpux*)
   7061   if test ia64 = "$host_cpu"; then
   7062     symcode='[ABCDEGRST]'
   7063   fi
   7064   ;;
   7065 irix* | nonstopux*)
   7066   symcode='[BCDEGRST]'
   7067   ;;
   7068 osf*)
   7069   symcode='[BCDEGQRST]'
   7070   ;;
   7071 solaris*)
   7072   symcode='[BDRT]'
   7073   ;;
   7074 sco3.2v5*)
   7075   symcode='[DT]'
   7076   ;;
   7077 sysv4.2uw2*)
   7078   symcode='[DT]'
   7079   ;;
   7080 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7081   symcode='[ABDT]'
   7082   ;;
   7083 sysv4)
   7084   symcode='[DFNSTU]'
   7085   ;;
   7086 esac
   7087 
   7088 # If we're using GNU nm, then use its standard symbol codes.
   7089 case `$NM -V 2>&1` in
   7090 *GNU* | *'with BFD'*)
   7091   symcode='[ABCDGIRSTW]' ;;
   7092 esac
   7093 
   7094 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7095   # Gets list of data symbols to import.
   7096   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   7097   # Adjust the below global symbol transforms to fixup imported variables.
   7098   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7099   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7100   lt_c_name_lib_hook="\
   7101   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7102   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7103 else
   7104   # Disable hooks by default.
   7105   lt_cv_sys_global_symbol_to_import=
   7106   lt_cdecl_hook=
   7107   lt_c_name_hook=
   7108   lt_c_name_lib_hook=
   7109 fi
   7110 
   7111 # Transform an extracted symbol line into a proper C declaration.
   7112 # Some systems (esp. on ia64) link data and code symbols differently,
   7113 # so use this general approach.
   7114 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   7115 $lt_cdecl_hook\
   7116 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7117 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7118 
   7119 # Transform an extracted symbol line into symbol name and symbol address
   7120 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   7121 $lt_c_name_hook\
   7122 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7123 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7124 
   7125 # Transform an extracted symbol line into symbol name with lib prefix and
   7126 # symbol address.
   7127 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   7128 $lt_c_name_lib_hook\
   7129 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7130 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7131 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7132 
   7133 # Handle CRLF in mingw tool chain
   7134 opt_cr=
   7135 case $build_os in
   7136 mingw*)
   7137   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7138   ;;
   7139 esac
   7140 
   7141 # Try without a prefix underscore, then with it.
   7142 for ac_symprfx in "" "_"; do
   7143 
   7144   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7145   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7146 
   7147   # Write the raw and C identifiers.
   7148   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7149     # Fake it for dumpbin and say T for any non-static function,
   7150     # D for any global variable and I for any imported variable.
   7151     # Also find C++ and __fastcall symbols from MSVC++,
   7152     # which start with @ or ?.
   7153     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7154 "     {last_section=section; section=\$ 3};"\
   7155 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7156 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7157 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7158 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7159 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7160 "     \$ 0!~/External *\|/{next};"\
   7161 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7162 "     {if(hide[section]) next};"\
   7163 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7164 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7165 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7166 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7167 "     ' prfx=^$ac_symprfx"
   7168   else
   7169     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7170   fi
   7171   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   7172 
   7173   # Check to see that the pipe works correctly.
   7174   pipe_works=no
   7175 
   7176   rm -f conftest*
   7177   cat > conftest.$ac_ext <<_LT_EOF
   7178 #ifdef __cplusplus
   7179 extern "C" {
   7180 #endif
   7181 char nm_test_var;
   7182 void nm_test_func(void);
   7183 void nm_test_func(void){}
   7184 #ifdef __cplusplus
   7185 }
   7186 #endif
   7187 int main(){nm_test_var='a';nm_test_func();return(0);}
   7188 _LT_EOF
   7189 
   7190   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7191   (eval $ac_compile) 2>&5
   7192   ac_status=$?
   7193   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7194   test $ac_status = 0; }; then
   7195     # Now try to grab the symbols.
   7196     nlist=conftest.nm
   7197     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7198   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7199   ac_status=$?
   7200   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7201   test $ac_status = 0; } && test -s "$nlist"; then
   7202       # Try sorting and uniquifying the output.
   7203       if sort "$nlist" | uniq > "$nlist"T; then
   7204 	mv -f "$nlist"T "$nlist"
   7205       else
   7206 	rm -f "$nlist"T
   7207       fi
   7208 
   7209       # Make sure that we snagged all the symbols we need.
   7210       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7211 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7212 	  cat <<_LT_EOF > conftest.$ac_ext
   7213 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7214 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7215 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7216    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7217 # define LT_DLSYM_CONST
   7218 #elif defined __osf__
   7219 /* This system does not cope well with relocations in const data.  */
   7220 # define LT_DLSYM_CONST
   7221 #else
   7222 # define LT_DLSYM_CONST const
   7223 #endif
   7224 
   7225 #ifdef __cplusplus
   7226 extern "C" {
   7227 #endif
   7228 
   7229 _LT_EOF
   7230 	  # Now generate the symbol file.
   7231 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7232 
   7233 	  cat <<_LT_EOF >> conftest.$ac_ext
   7234 
   7235 /* The mapping between symbol names and symbols.  */
   7236 LT_DLSYM_CONST struct {
   7237   const char *name;
   7238   void       *address;
   7239 }
   7240 lt__PROGRAM__LTX_preloaded_symbols[] =
   7241 {
   7242   { "@PROGRAM@", (void *) 0 },
   7243 _LT_EOF
   7244 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7245 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7246   {0, (void *) 0}
   7247 };
   7248 
   7249 /* This works around a problem in FreeBSD linker */
   7250 #ifdef FREEBSD_WORKAROUND
   7251 static const void *lt_preloaded_setup() {
   7252   return lt__PROGRAM__LTX_preloaded_symbols;
   7253 }
   7254 #endif
   7255 
   7256 #ifdef __cplusplus
   7257 }
   7258 #endif
   7259 _LT_EOF
   7260 	  # Now try linking the two files.
   7261 	  mv conftest.$ac_objext conftstm.$ac_objext
   7262 	  lt_globsym_save_LIBS=$LIBS
   7263 	  lt_globsym_save_CFLAGS=$CFLAGS
   7264 	  LIBS=conftstm.$ac_objext
   7265 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7266 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7267   (eval $ac_link) 2>&5
   7268   ac_status=$?
   7269   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7270   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7271 	    pipe_works=yes
   7272 	  fi
   7273 	  LIBS=$lt_globsym_save_LIBS
   7274 	  CFLAGS=$lt_globsym_save_CFLAGS
   7275 	else
   7276 	  echo "cannot find nm_test_func in $nlist" >&5
   7277 	fi
   7278       else
   7279 	echo "cannot find nm_test_var in $nlist" >&5
   7280       fi
   7281     else
   7282       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7283     fi
   7284   else
   7285     echo "$progname: failed program was:" >&5
   7286     cat conftest.$ac_ext >&5
   7287   fi
   7288   rm -rf conftest* conftst*
   7289 
   7290   # Do not use the global_symbol_pipe unless it works.
   7291   if test yes = "$pipe_works"; then
   7292     break
   7293   else
   7294     lt_cv_sys_global_symbol_pipe=
   7295   fi
   7296 done
   7297 
   7298 fi
   7299 
   7300 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7301   lt_cv_sys_global_symbol_to_cdecl=
   7302 fi
   7303 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7305 printf "%s\n" "failed" >&6; }
   7306 else
   7307   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7308 printf "%s\n" "ok" >&6; }
   7309 fi
   7310 
   7311 # Response file support.
   7312 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7313   nm_file_list_spec='@'
   7314 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7315   nm_file_list_spec='@'
   7316 fi
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7355 printf %s "checking for sysroot... " >&6; }
   7356 
   7357 # Check whether --with-sysroot was given.
   7358 if test ${with_sysroot+y}
   7359 then :
   7360   withval=$with_sysroot;
   7361 else $as_nop
   7362   with_sysroot=no
   7363 fi
   7364 
   7365 
   7366 lt_sysroot=
   7367 case $with_sysroot in #(
   7368  yes)
   7369    if test yes = "$GCC"; then
   7370      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7371    fi
   7372    ;; #(
   7373  /*)
   7374    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7375    ;; #(
   7376  no|'')
   7377    ;; #(
   7378  *)
   7379    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7380 printf "%s\n" "$with_sysroot" >&6; }
   7381    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7382    ;;
   7383 esac
   7384 
   7385  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7386 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7393 printf %s "checking for a working dd... " >&6; }
   7394 if test ${ac_cv_path_lt_DD+y}
   7395 then :
   7396   printf %s "(cached) " >&6
   7397 else $as_nop
   7398   printf 0123456789abcdef0123456789abcdef >conftest.i
   7399 cat conftest.i conftest.i >conftest2.i
   7400 : ${lt_DD:=$DD}
   7401 if test -z "$lt_DD"; then
   7402   ac_path_lt_DD_found=false
   7403   # Loop through the user's path and test for each of PROGNAME-LIST
   7404   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7405 for as_dir in $PATH
   7406 do
   7407   IFS=$as_save_IFS
   7408   case $as_dir in #(((
   7409     '') as_dir=./ ;;
   7410     */) ;;
   7411     *) as_dir=$as_dir/ ;;
   7412   esac
   7413     for ac_prog in dd
   7414    do
   7415     for ac_exec_ext in '' $ac_executable_extensions; do
   7416       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7417       as_fn_executable_p "$ac_path_lt_DD" || continue
   7418 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7419   cmp -s conftest.i conftest.out \
   7420   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7421 fi
   7422       $ac_path_lt_DD_found && break 3
   7423     done
   7424   done
   7425   done
   7426 IFS=$as_save_IFS
   7427   if test -z "$ac_cv_path_lt_DD"; then
   7428     :
   7429   fi
   7430 else
   7431   ac_cv_path_lt_DD=$lt_DD
   7432 fi
   7433 
   7434 rm -f conftest.i conftest2.i conftest.out
   7435 fi
   7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7437 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7438 
   7439 
   7440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7441 printf %s "checking how to truncate binary pipes... " >&6; }
   7442 if test ${lt_cv_truncate_bin+y}
   7443 then :
   7444   printf %s "(cached) " >&6
   7445 else $as_nop
   7446   printf 0123456789abcdef0123456789abcdef >conftest.i
   7447 cat conftest.i conftest.i >conftest2.i
   7448 lt_cv_truncate_bin=
   7449 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7450   cmp -s conftest.i conftest.out \
   7451   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7452 fi
   7453 rm -f conftest.i conftest2.i conftest.out
   7454 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7455 fi
   7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7457 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7466 func_cc_basename ()
   7467 {
   7468     for cc_temp in $*""; do
   7469       case $cc_temp in
   7470         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7471         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7472         \-*) ;;
   7473         *) break;;
   7474       esac
   7475     done
   7476     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7477 }
   7478 
   7479 # Check whether --enable-libtool-lock was given.
   7480 if test ${enable_libtool_lock+y}
   7481 then :
   7482   enableval=$enable_libtool_lock;
   7483 fi
   7484 
   7485 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7486 
   7487 # Some flags need to be propagated to the compiler or linker for good
   7488 # libtool support.
   7489 case $host in
   7490 ia64-*-hpux*)
   7491   # Find out what ABI is being produced by ac_compile, and set mode
   7492   # options accordingly.
   7493   echo 'int i;' > conftest.$ac_ext
   7494   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7495   (eval $ac_compile) 2>&5
   7496   ac_status=$?
   7497   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7498   test $ac_status = 0; }; then
   7499     case `/usr/bin/file conftest.$ac_objext` in
   7500       *ELF-32*)
   7501 	HPUX_IA64_MODE=32
   7502 	;;
   7503       *ELF-64*)
   7504 	HPUX_IA64_MODE=64
   7505 	;;
   7506     esac
   7507   fi
   7508   rm -rf conftest*
   7509   ;;
   7510 *-*-irix6*)
   7511   # Find out what ABI is being produced by ac_compile, and set linker
   7512   # options accordingly.
   7513   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7514   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7515   (eval $ac_compile) 2>&5
   7516   ac_status=$?
   7517   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7518   test $ac_status = 0; }; then
   7519     if test yes = "$lt_cv_prog_gnu_ld"; then
   7520       case `/usr/bin/file conftest.$ac_objext` in
   7521 	*32-bit*)
   7522 	  LD="${LD-ld} -melf32bsmip"
   7523 	  ;;
   7524 	*N32*)
   7525 	  LD="${LD-ld} -melf32bmipn32"
   7526 	  ;;
   7527 	*64-bit*)
   7528 	  LD="${LD-ld} -melf64bmip"
   7529 	;;
   7530       esac
   7531     else
   7532       case `/usr/bin/file conftest.$ac_objext` in
   7533 	*32-bit*)
   7534 	  LD="${LD-ld} -32"
   7535 	  ;;
   7536 	*N32*)
   7537 	  LD="${LD-ld} -n32"
   7538 	  ;;
   7539 	*64-bit*)
   7540 	  LD="${LD-ld} -64"
   7541 	  ;;
   7542       esac
   7543     fi
   7544   fi
   7545   rm -rf conftest*
   7546   ;;
   7547 
   7548 mips64*-*linux*)
   7549   # Find out what ABI is being produced by ac_compile, and set linker
   7550   # options accordingly.
   7551   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7552   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7553   (eval $ac_compile) 2>&5
   7554   ac_status=$?
   7555   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7556   test $ac_status = 0; }; then
   7557     emul=elf
   7558     case `/usr/bin/file conftest.$ac_objext` in
   7559       *32-bit*)
   7560 	emul="${emul}32"
   7561 	;;
   7562       *64-bit*)
   7563 	emul="${emul}64"
   7564 	;;
   7565     esac
   7566     case `/usr/bin/file conftest.$ac_objext` in
   7567       *MSB*)
   7568 	emul="${emul}btsmip"
   7569 	;;
   7570       *LSB*)
   7571 	emul="${emul}ltsmip"
   7572 	;;
   7573     esac
   7574     case `/usr/bin/file conftest.$ac_objext` in
   7575       *N32*)
   7576 	emul="${emul}n32"
   7577 	;;
   7578     esac
   7579     LD="${LD-ld} -m $emul"
   7580   fi
   7581   rm -rf conftest*
   7582   ;;
   7583 
   7584 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7585 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7586   # Find out what ABI is being produced by ac_compile, and set linker
   7587   # options accordingly.  Note that the listed cases only cover the
   7588   # situations where additional linker options are needed (such as when
   7589   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7590   # vice versa); the common cases where no linker options are needed do
   7591   # not appear in the list.
   7592   echo 'int i;' > conftest.$ac_ext
   7593   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7594   (eval $ac_compile) 2>&5
   7595   ac_status=$?
   7596   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7597   test $ac_status = 0; }; then
   7598     case `/usr/bin/file conftest.o` in
   7599       *32-bit*)
   7600 	case $host in
   7601 	  x86_64-*kfreebsd*-gnu)
   7602 	    LD="${LD-ld} -m elf_i386_fbsd"
   7603 	    ;;
   7604 	  x86_64-*linux*)
   7605 	    case `/usr/bin/file conftest.o` in
   7606 	      *x86-64*)
   7607 		LD="${LD-ld} -m elf32_x86_64"
   7608 		;;
   7609 	      *)
   7610 		LD="${LD-ld} -m elf_i386"
   7611 		;;
   7612 	    esac
   7613 	    ;;
   7614 	  powerpc64le-*linux*)
   7615 	    LD="${LD-ld} -m elf32lppclinux"
   7616 	    ;;
   7617 	  powerpc64-*linux*)
   7618 	    LD="${LD-ld} -m elf32ppclinux"
   7619 	    ;;
   7620 	  s390x-*linux*)
   7621 	    LD="${LD-ld} -m elf_s390"
   7622 	    ;;
   7623 	  sparc64-*linux*)
   7624 	    LD="${LD-ld} -m elf32_sparc"
   7625 	    ;;
   7626 	esac
   7627 	;;
   7628       *64-bit*)
   7629 	case $host in
   7630 	  x86_64-*kfreebsd*-gnu)
   7631 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7632 	    ;;
   7633 	  x86_64-*linux*)
   7634 	    LD="${LD-ld} -m elf_x86_64"
   7635 	    ;;
   7636 	  powerpcle-*linux*)
   7637 	    LD="${LD-ld} -m elf64lppc"
   7638 	    ;;
   7639 	  powerpc-*linux*)
   7640 	    LD="${LD-ld} -m elf64ppc"
   7641 	    ;;
   7642 	  s390*-*linux*|s390*-*tpf*)
   7643 	    LD="${LD-ld} -m elf64_s390"
   7644 	    ;;
   7645 	  sparc*-*linux*)
   7646 	    LD="${LD-ld} -m elf64_sparc"
   7647 	    ;;
   7648 	esac
   7649 	;;
   7650     esac
   7651   fi
   7652   rm -rf conftest*
   7653   ;;
   7654 
   7655 *-*-sco3.2v5*)
   7656   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7657   SAVE_CFLAGS=$CFLAGS
   7658   CFLAGS="$CFLAGS -belf"
   7659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7660 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7661 if test ${lt_cv_cc_needs_belf+y}
   7662 then :
   7663   printf %s "(cached) " >&6
   7664 else $as_nop
   7665   ac_ext=c
   7666 ac_cpp='$CPP $CPPFLAGS'
   7667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7670 
   7671      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7672 /* end confdefs.h.  */
   7673 
   7674 int
   7675 main (void)
   7676 {
   7677 
   7678   ;
   7679   return 0;
   7680 }
   7681 _ACEOF
   7682 if ac_fn_c_try_link "$LINENO"
   7683 then :
   7684   lt_cv_cc_needs_belf=yes
   7685 else $as_nop
   7686   lt_cv_cc_needs_belf=no
   7687 fi
   7688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7689     conftest$ac_exeext conftest.$ac_ext
   7690      ac_ext=c
   7691 ac_cpp='$CPP $CPPFLAGS'
   7692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7695 
   7696 fi
   7697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7698 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7699   if test yes != "$lt_cv_cc_needs_belf"; then
   7700     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7701     CFLAGS=$SAVE_CFLAGS
   7702   fi
   7703   ;;
   7704 *-*solaris*)
   7705   # Find out what ABI is being produced by ac_compile, and set linker
   7706   # options accordingly.
   7707   echo 'int i;' > conftest.$ac_ext
   7708   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7709   (eval $ac_compile) 2>&5
   7710   ac_status=$?
   7711   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7712   test $ac_status = 0; }; then
   7713     case `/usr/bin/file conftest.o` in
   7714     *64-bit*)
   7715       case $lt_cv_prog_gnu_ld in
   7716       yes*)
   7717         case $host in
   7718         i?86-*-solaris*|x86_64-*-solaris*)
   7719           LD="${LD-ld} -m elf_x86_64"
   7720           ;;
   7721         sparc*-*-solaris*)
   7722           LD="${LD-ld} -m elf64_sparc"
   7723           ;;
   7724         esac
   7725         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7726         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7727           LD=${LD-ld}_sol2
   7728         fi
   7729         ;;
   7730       *)
   7731 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7732 	  LD="${LD-ld} -64"
   7733 	fi
   7734 	;;
   7735       esac
   7736       ;;
   7737     esac
   7738   fi
   7739   rm -rf conftest*
   7740   ;;
   7741 esac
   7742 
   7743 need_locks=$enable_libtool_lock
   7744 
   7745 if test -n "$ac_tool_prefix"; then
   7746   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7747 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7749 printf %s "checking for $ac_word... " >&6; }
   7750 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7751 then :
   7752   printf %s "(cached) " >&6
   7753 else $as_nop
   7754   if test -n "$MANIFEST_TOOL"; then
   7755   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7756 else
   7757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7758 for as_dir in $PATH
   7759 do
   7760   IFS=$as_save_IFS
   7761   case $as_dir in #(((
   7762     '') as_dir=./ ;;
   7763     */) ;;
   7764     *) as_dir=$as_dir/ ;;
   7765   esac
   7766     for ac_exec_ext in '' $ac_executable_extensions; do
   7767   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7768     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7769     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7770     break 2
   7771   fi
   7772 done
   7773   done
   7774 IFS=$as_save_IFS
   7775 
   7776 fi
   7777 fi
   7778 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7779 if test -n "$MANIFEST_TOOL"; then
   7780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7781 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7782 else
   7783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7784 printf "%s\n" "no" >&6; }
   7785 fi
   7786 
   7787 
   7788 fi
   7789 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7790   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7791   # Extract the first word of "mt", so it can be a program name with args.
   7792 set dummy mt; ac_word=$2
   7793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7794 printf %s "checking for $ac_word... " >&6; }
   7795 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7796 then :
   7797   printf %s "(cached) " >&6
   7798 else $as_nop
   7799   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7800   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7801 else
   7802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7803 for as_dir in $PATH
   7804 do
   7805   IFS=$as_save_IFS
   7806   case $as_dir in #(((
   7807     '') as_dir=./ ;;
   7808     */) ;;
   7809     *) as_dir=$as_dir/ ;;
   7810   esac
   7811     for ac_exec_ext in '' $ac_executable_extensions; do
   7812   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7813     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7814     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7815     break 2
   7816   fi
   7817 done
   7818   done
   7819 IFS=$as_save_IFS
   7820 
   7821 fi
   7822 fi
   7823 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7824 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7826 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7827 else
   7828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7829 printf "%s\n" "no" >&6; }
   7830 fi
   7831 
   7832   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7833     MANIFEST_TOOL=":"
   7834   else
   7835     case $cross_compiling:$ac_tool_warned in
   7836 yes:)
   7837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7838 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7839 ac_tool_warned=yes ;;
   7840 esac
   7841     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7842   fi
   7843 else
   7844   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7845 fi
   7846 
   7847 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7849 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7850 if test ${lt_cv_path_mainfest_tool+y}
   7851 then :
   7852   printf %s "(cached) " >&6
   7853 else $as_nop
   7854   lt_cv_path_mainfest_tool=no
   7855   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7856   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7857   cat conftest.err >&5
   7858   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7859     lt_cv_path_mainfest_tool=yes
   7860   fi
   7861   rm -f conftest*
   7862 fi
   7863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7864 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7865 if test yes != "$lt_cv_path_mainfest_tool"; then
   7866   MANIFEST_TOOL=:
   7867 fi
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874   case $host_os in
   7875     rhapsody* | darwin*)
   7876     if test -n "$ac_tool_prefix"; then
   7877   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7878 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7880 printf %s "checking for $ac_word... " >&6; }
   7881 if test ${ac_cv_prog_DSYMUTIL+y}
   7882 then :
   7883   printf %s "(cached) " >&6
   7884 else $as_nop
   7885   if test -n "$DSYMUTIL"; then
   7886   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7887 else
   7888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7889 for as_dir in $PATH
   7890 do
   7891   IFS=$as_save_IFS
   7892   case $as_dir in #(((
   7893     '') as_dir=./ ;;
   7894     */) ;;
   7895     *) as_dir=$as_dir/ ;;
   7896   esac
   7897     for ac_exec_ext in '' $ac_executable_extensions; do
   7898   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7899     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7900     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7901     break 2
   7902   fi
   7903 done
   7904   done
   7905 IFS=$as_save_IFS
   7906 
   7907 fi
   7908 fi
   7909 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7910 if test -n "$DSYMUTIL"; then
   7911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7912 printf "%s\n" "$DSYMUTIL" >&6; }
   7913 else
   7914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7915 printf "%s\n" "no" >&6; }
   7916 fi
   7917 
   7918 
   7919 fi
   7920 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7921   ac_ct_DSYMUTIL=$DSYMUTIL
   7922   # Extract the first word of "dsymutil", so it can be a program name with args.
   7923 set dummy dsymutil; ac_word=$2
   7924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7925 printf %s "checking for $ac_word... " >&6; }
   7926 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7927 then :
   7928   printf %s "(cached) " >&6
   7929 else $as_nop
   7930   if test -n "$ac_ct_DSYMUTIL"; then
   7931   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7932 else
   7933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7934 for as_dir in $PATH
   7935 do
   7936   IFS=$as_save_IFS
   7937   case $as_dir in #(((
   7938     '') as_dir=./ ;;
   7939     */) ;;
   7940     *) as_dir=$as_dir/ ;;
   7941   esac
   7942     for ac_exec_ext in '' $ac_executable_extensions; do
   7943   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7944     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7945     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7946     break 2
   7947   fi
   7948 done
   7949   done
   7950 IFS=$as_save_IFS
   7951 
   7952 fi
   7953 fi
   7954 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7955 if test -n "$ac_ct_DSYMUTIL"; then
   7956   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7957 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7958 else
   7959   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7960 printf "%s\n" "no" >&6; }
   7961 fi
   7962 
   7963   if test "x$ac_ct_DSYMUTIL" = x; then
   7964     DSYMUTIL=":"
   7965   else
   7966     case $cross_compiling:$ac_tool_warned in
   7967 yes:)
   7968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7969 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7970 ac_tool_warned=yes ;;
   7971 esac
   7972     DSYMUTIL=$ac_ct_DSYMUTIL
   7973   fi
   7974 else
   7975   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7976 fi
   7977 
   7978     if test -n "$ac_tool_prefix"; then
   7979   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7980 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7982 printf %s "checking for $ac_word... " >&6; }
   7983 if test ${ac_cv_prog_NMEDIT+y}
   7984 then :
   7985   printf %s "(cached) " >&6
   7986 else $as_nop
   7987   if test -n "$NMEDIT"; then
   7988   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7989 else
   7990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7991 for as_dir in $PATH
   7992 do
   7993   IFS=$as_save_IFS
   7994   case $as_dir in #(((
   7995     '') as_dir=./ ;;
   7996     */) ;;
   7997     *) as_dir=$as_dir/ ;;
   7998   esac
   7999     for ac_exec_ext in '' $ac_executable_extensions; do
   8000   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8001     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8002     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8003     break 2
   8004   fi
   8005 done
   8006   done
   8007 IFS=$as_save_IFS
   8008 
   8009 fi
   8010 fi
   8011 NMEDIT=$ac_cv_prog_NMEDIT
   8012 if test -n "$NMEDIT"; then
   8013   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8014 printf "%s\n" "$NMEDIT" >&6; }
   8015 else
   8016   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8017 printf "%s\n" "no" >&6; }
   8018 fi
   8019 
   8020 
   8021 fi
   8022 if test -z "$ac_cv_prog_NMEDIT"; then
   8023   ac_ct_NMEDIT=$NMEDIT
   8024   # Extract the first word of "nmedit", so it can be a program name with args.
   8025 set dummy nmedit; ac_word=$2
   8026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8027 printf %s "checking for $ac_word... " >&6; }
   8028 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8029 then :
   8030   printf %s "(cached) " >&6
   8031 else $as_nop
   8032   if test -n "$ac_ct_NMEDIT"; then
   8033   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8034 else
   8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8036 for as_dir in $PATH
   8037 do
   8038   IFS=$as_save_IFS
   8039   case $as_dir in #(((
   8040     '') as_dir=./ ;;
   8041     */) ;;
   8042     *) as_dir=$as_dir/ ;;
   8043   esac
   8044     for ac_exec_ext in '' $ac_executable_extensions; do
   8045   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8046     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8047     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8048     break 2
   8049   fi
   8050 done
   8051   done
   8052 IFS=$as_save_IFS
   8053 
   8054 fi
   8055 fi
   8056 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8057 if test -n "$ac_ct_NMEDIT"; then
   8058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8059 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8060 else
   8061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8062 printf "%s\n" "no" >&6; }
   8063 fi
   8064 
   8065   if test "x$ac_ct_NMEDIT" = x; then
   8066     NMEDIT=":"
   8067   else
   8068     case $cross_compiling:$ac_tool_warned in
   8069 yes:)
   8070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8071 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8072 ac_tool_warned=yes ;;
   8073 esac
   8074     NMEDIT=$ac_ct_NMEDIT
   8075   fi
   8076 else
   8077   NMEDIT="$ac_cv_prog_NMEDIT"
   8078 fi
   8079 
   8080     if test -n "$ac_tool_prefix"; then
   8081   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8082 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8084 printf %s "checking for $ac_word... " >&6; }
   8085 if test ${ac_cv_prog_LIPO+y}
   8086 then :
   8087   printf %s "(cached) " >&6
   8088 else $as_nop
   8089   if test -n "$LIPO"; then
   8090   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8091 else
   8092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8093 for as_dir in $PATH
   8094 do
   8095   IFS=$as_save_IFS
   8096   case $as_dir in #(((
   8097     '') as_dir=./ ;;
   8098     */) ;;
   8099     *) as_dir=$as_dir/ ;;
   8100   esac
   8101     for ac_exec_ext in '' $ac_executable_extensions; do
   8102   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8103     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8104     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8105     break 2
   8106   fi
   8107 done
   8108   done
   8109 IFS=$as_save_IFS
   8110 
   8111 fi
   8112 fi
   8113 LIPO=$ac_cv_prog_LIPO
   8114 if test -n "$LIPO"; then
   8115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8116 printf "%s\n" "$LIPO" >&6; }
   8117 else
   8118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8119 printf "%s\n" "no" >&6; }
   8120 fi
   8121 
   8122 
   8123 fi
   8124 if test -z "$ac_cv_prog_LIPO"; then
   8125   ac_ct_LIPO=$LIPO
   8126   # Extract the first word of "lipo", so it can be a program name with args.
   8127 set dummy lipo; ac_word=$2
   8128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8129 printf %s "checking for $ac_word... " >&6; }
   8130 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8131 then :
   8132   printf %s "(cached) " >&6
   8133 else $as_nop
   8134   if test -n "$ac_ct_LIPO"; then
   8135   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8136 else
   8137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8138 for as_dir in $PATH
   8139 do
   8140   IFS=$as_save_IFS
   8141   case $as_dir in #(((
   8142     '') as_dir=./ ;;
   8143     */) ;;
   8144     *) as_dir=$as_dir/ ;;
   8145   esac
   8146     for ac_exec_ext in '' $ac_executable_extensions; do
   8147   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8148     ac_cv_prog_ac_ct_LIPO="lipo"
   8149     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8150     break 2
   8151   fi
   8152 done
   8153   done
   8154 IFS=$as_save_IFS
   8155 
   8156 fi
   8157 fi
   8158 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8159 if test -n "$ac_ct_LIPO"; then
   8160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8161 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8162 else
   8163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8164 printf "%s\n" "no" >&6; }
   8165 fi
   8166 
   8167   if test "x$ac_ct_LIPO" = x; then
   8168     LIPO=":"
   8169   else
   8170     case $cross_compiling:$ac_tool_warned in
   8171 yes:)
   8172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8173 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8174 ac_tool_warned=yes ;;
   8175 esac
   8176     LIPO=$ac_ct_LIPO
   8177   fi
   8178 else
   8179   LIPO="$ac_cv_prog_LIPO"
   8180 fi
   8181 
   8182     if test -n "$ac_tool_prefix"; then
   8183   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8184 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8186 printf %s "checking for $ac_word... " >&6; }
   8187 if test ${ac_cv_prog_OTOOL+y}
   8188 then :
   8189   printf %s "(cached) " >&6
   8190 else $as_nop
   8191   if test -n "$OTOOL"; then
   8192   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8193 else
   8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8195 for as_dir in $PATH
   8196 do
   8197   IFS=$as_save_IFS
   8198   case $as_dir in #(((
   8199     '') as_dir=./ ;;
   8200     */) ;;
   8201     *) as_dir=$as_dir/ ;;
   8202   esac
   8203     for ac_exec_ext in '' $ac_executable_extensions; do
   8204   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8205     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8206     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8207     break 2
   8208   fi
   8209 done
   8210   done
   8211 IFS=$as_save_IFS
   8212 
   8213 fi
   8214 fi
   8215 OTOOL=$ac_cv_prog_OTOOL
   8216 if test -n "$OTOOL"; then
   8217   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8218 printf "%s\n" "$OTOOL" >&6; }
   8219 else
   8220   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8221 printf "%s\n" "no" >&6; }
   8222 fi
   8223 
   8224 
   8225 fi
   8226 if test -z "$ac_cv_prog_OTOOL"; then
   8227   ac_ct_OTOOL=$OTOOL
   8228   # Extract the first word of "otool", so it can be a program name with args.
   8229 set dummy otool; ac_word=$2
   8230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8231 printf %s "checking for $ac_word... " >&6; }
   8232 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8233 then :
   8234   printf %s "(cached) " >&6
   8235 else $as_nop
   8236   if test -n "$ac_ct_OTOOL"; then
   8237   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8238 else
   8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8240 for as_dir in $PATH
   8241 do
   8242   IFS=$as_save_IFS
   8243   case $as_dir in #(((
   8244     '') as_dir=./ ;;
   8245     */) ;;
   8246     *) as_dir=$as_dir/ ;;
   8247   esac
   8248     for ac_exec_ext in '' $ac_executable_extensions; do
   8249   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8250     ac_cv_prog_ac_ct_OTOOL="otool"
   8251     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8252     break 2
   8253   fi
   8254 done
   8255   done
   8256 IFS=$as_save_IFS
   8257 
   8258 fi
   8259 fi
   8260 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8261 if test -n "$ac_ct_OTOOL"; then
   8262   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8263 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8264 else
   8265   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8266 printf "%s\n" "no" >&6; }
   8267 fi
   8268 
   8269   if test "x$ac_ct_OTOOL" = x; then
   8270     OTOOL=":"
   8271   else
   8272     case $cross_compiling:$ac_tool_warned in
   8273 yes:)
   8274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8275 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8276 ac_tool_warned=yes ;;
   8277 esac
   8278     OTOOL=$ac_ct_OTOOL
   8279   fi
   8280 else
   8281   OTOOL="$ac_cv_prog_OTOOL"
   8282 fi
   8283 
   8284     if test -n "$ac_tool_prefix"; then
   8285   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8286 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8288 printf %s "checking for $ac_word... " >&6; }
   8289 if test ${ac_cv_prog_OTOOL64+y}
   8290 then :
   8291   printf %s "(cached) " >&6
   8292 else $as_nop
   8293   if test -n "$OTOOL64"; then
   8294   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8295 else
   8296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8297 for as_dir in $PATH
   8298 do
   8299   IFS=$as_save_IFS
   8300   case $as_dir in #(((
   8301     '') as_dir=./ ;;
   8302     */) ;;
   8303     *) as_dir=$as_dir/ ;;
   8304   esac
   8305     for ac_exec_ext in '' $ac_executable_extensions; do
   8306   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8307     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8308     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8309     break 2
   8310   fi
   8311 done
   8312   done
   8313 IFS=$as_save_IFS
   8314 
   8315 fi
   8316 fi
   8317 OTOOL64=$ac_cv_prog_OTOOL64
   8318 if test -n "$OTOOL64"; then
   8319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8320 printf "%s\n" "$OTOOL64" >&6; }
   8321 else
   8322   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8323 printf "%s\n" "no" >&6; }
   8324 fi
   8325 
   8326 
   8327 fi
   8328 if test -z "$ac_cv_prog_OTOOL64"; then
   8329   ac_ct_OTOOL64=$OTOOL64
   8330   # Extract the first word of "otool64", so it can be a program name with args.
   8331 set dummy otool64; ac_word=$2
   8332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8333 printf %s "checking for $ac_word... " >&6; }
   8334 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8335 then :
   8336   printf %s "(cached) " >&6
   8337 else $as_nop
   8338   if test -n "$ac_ct_OTOOL64"; then
   8339   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8340 else
   8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8342 for as_dir in $PATH
   8343 do
   8344   IFS=$as_save_IFS
   8345   case $as_dir in #(((
   8346     '') as_dir=./ ;;
   8347     */) ;;
   8348     *) as_dir=$as_dir/ ;;
   8349   esac
   8350     for ac_exec_ext in '' $ac_executable_extensions; do
   8351   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8352     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8353     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8354     break 2
   8355   fi
   8356 done
   8357   done
   8358 IFS=$as_save_IFS
   8359 
   8360 fi
   8361 fi
   8362 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8363 if test -n "$ac_ct_OTOOL64"; then
   8364   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8365 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8366 else
   8367   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8368 printf "%s\n" "no" >&6; }
   8369 fi
   8370 
   8371   if test "x$ac_ct_OTOOL64" = x; then
   8372     OTOOL64=":"
   8373   else
   8374     case $cross_compiling:$ac_tool_warned in
   8375 yes:)
   8376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8377 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8378 ac_tool_warned=yes ;;
   8379 esac
   8380     OTOOL64=$ac_ct_OTOOL64
   8381   fi
   8382 else
   8383   OTOOL64="$ac_cv_prog_OTOOL64"
   8384 fi
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8413 printf %s "checking for -single_module linker flag... " >&6; }
   8414 if test ${lt_cv_apple_cc_single_mod+y}
   8415 then :
   8416   printf %s "(cached) " >&6
   8417 else $as_nop
   8418   lt_cv_apple_cc_single_mod=no
   8419       if test -z "$LT_MULTI_MODULE"; then
   8420 	# By default we will add the -single_module flag. You can override
   8421 	# by either setting the environment variable LT_MULTI_MODULE
   8422 	# non-empty at configure time, or by adding -multi_module to the
   8423 	# link flags.
   8424 	rm -rf libconftest.dylib*
   8425 	echo "int foo(void){return 1;}" > conftest.c
   8426 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8427 -dynamiclib -Wl,-single_module conftest.c" >&5
   8428 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8429 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8430         _lt_result=$?
   8431 	# If there is a non-empty error log, and "single_module"
   8432 	# appears in it, assume the flag caused a linker warning
   8433         if test -s conftest.err && $GREP single_module conftest.err; then
   8434 	  cat conftest.err >&5
   8435 	# Otherwise, if the output was created with a 0 exit code from
   8436 	# the compiler, it worked.
   8437 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8438 	  lt_cv_apple_cc_single_mod=yes
   8439 	else
   8440 	  cat conftest.err >&5
   8441 	fi
   8442 	rm -rf libconftest.dylib*
   8443 	rm -f conftest.*
   8444       fi
   8445 fi
   8446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8447 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8448 
   8449     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8450 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8451 if test ${lt_cv_ld_exported_symbols_list+y}
   8452 then :
   8453   printf %s "(cached) " >&6
   8454 else $as_nop
   8455   lt_cv_ld_exported_symbols_list=no
   8456       save_LDFLAGS=$LDFLAGS
   8457       echo "_main" > conftest.sym
   8458       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8460 /* end confdefs.h.  */
   8461 
   8462 int
   8463 main (void)
   8464 {
   8465 
   8466   ;
   8467   return 0;
   8468 }
   8469 _ACEOF
   8470 if ac_fn_c_try_link "$LINENO"
   8471 then :
   8472   lt_cv_ld_exported_symbols_list=yes
   8473 else $as_nop
   8474   lt_cv_ld_exported_symbols_list=no
   8475 fi
   8476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8477     conftest$ac_exeext conftest.$ac_ext
   8478 	LDFLAGS=$save_LDFLAGS
   8479 
   8480 fi
   8481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8482 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8483 
   8484     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8485 printf %s "checking for -force_load linker flag... " >&6; }
   8486 if test ${lt_cv_ld_force_load+y}
   8487 then :
   8488   printf %s "(cached) " >&6
   8489 else $as_nop
   8490   lt_cv_ld_force_load=no
   8491       cat > conftest.c << _LT_EOF
   8492 int forced_loaded() { return 2;}
   8493 _LT_EOF
   8494       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8495       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8496       echo "$AR cru libconftest.a conftest.o" >&5
   8497       $AR cru libconftest.a conftest.o 2>&5
   8498       echo "$RANLIB libconftest.a" >&5
   8499       $RANLIB libconftest.a 2>&5
   8500       cat > conftest.c << _LT_EOF
   8501 int main() { return 0;}
   8502 _LT_EOF
   8503       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8504       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8505       _lt_result=$?
   8506       if test -s conftest.err && $GREP force_load conftest.err; then
   8507 	cat conftest.err >&5
   8508       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8509 	lt_cv_ld_force_load=yes
   8510       else
   8511 	cat conftest.err >&5
   8512       fi
   8513         rm -f conftest.err libconftest.a conftest conftest.c
   8514         rm -rf conftest.dSYM
   8515 
   8516 fi
   8517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8518 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8519     case $host_os in
   8520     rhapsody* | darwin1.[012])
   8521       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8522     darwin1.*)
   8523       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8524     darwin*) # darwin 5.x on
   8525       # if running on 10.5 or later, the deployment target defaults
   8526       # to the OS version, if on x86, and 10.4, the deployment
   8527       # target defaults to 10.4. Don't you love it?
   8528       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8529 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8530 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8531 	10.[012][,.]*)
   8532 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8533 	10.*)
   8534 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8535       esac
   8536     ;;
   8537   esac
   8538     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8539       _lt_dar_single_mod='$single_module'
   8540     fi
   8541     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8542       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8543     else
   8544       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8545     fi
   8546     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8547       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8548     else
   8549       _lt_dsymutil=
   8550     fi
   8551     ;;
   8552   esac
   8553 
   8554 # func_munge_path_list VARIABLE PATH
   8555 # -----------------------------------
   8556 # VARIABLE is name of variable containing _space_ separated list of
   8557 # directories to be munged by the contents of PATH, which is string
   8558 # having a format:
   8559 # "DIR[:DIR]:"
   8560 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8561 # ":DIR[:DIR]"
   8562 #       string "DIR[ DIR]" will be appended to VARIABLE
   8563 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8564 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8565 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8566 # "DIR[:DIR]"
   8567 #       VARIABLE will be replaced by "DIR[ DIR]"
   8568 func_munge_path_list ()
   8569 {
   8570     case x$2 in
   8571     x)
   8572         ;;
   8573     *:)
   8574         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8575         ;;
   8576     x:*)
   8577         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8578         ;;
   8579     *::*)
   8580         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8581         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8582         ;;
   8583     *)
   8584         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8585         ;;
   8586     esac
   8587 }
   8588 
   8589 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8590 "
   8591 if test "x$ac_cv_header_dlfcn_h" = xyes
   8592 then :
   8593   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8594 
   8595 fi
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 # Set options
   8602 
   8603 
   8604 
   8605         enable_dlopen=no
   8606 
   8607 
   8608   enable_win32_dll=no
   8609 
   8610 
   8611             # Check whether --enable-shared was given.
   8612 if test ${enable_shared+y}
   8613 then :
   8614   enableval=$enable_shared; p=${PACKAGE-default}
   8615     case $enableval in
   8616     yes) enable_shared=yes ;;
   8617     no) enable_shared=no ;;
   8618     *)
   8619       enable_shared=no
   8620       # Look at the argument we got.  We use all the common list separators.
   8621       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8622       for pkg in $enableval; do
   8623 	IFS=$lt_save_ifs
   8624 	if test "X$pkg" = "X$p"; then
   8625 	  enable_shared=yes
   8626 	fi
   8627       done
   8628       IFS=$lt_save_ifs
   8629       ;;
   8630     esac
   8631 else $as_nop
   8632   enable_shared=yes
   8633 fi
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643   # Check whether --enable-static was given.
   8644 if test ${enable_static+y}
   8645 then :
   8646   enableval=$enable_static; p=${PACKAGE-default}
   8647     case $enableval in
   8648     yes) enable_static=yes ;;
   8649     no) enable_static=no ;;
   8650     *)
   8651      enable_static=no
   8652       # Look at the argument we got.  We use all the common list separators.
   8653       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8654       for pkg in $enableval; do
   8655 	IFS=$lt_save_ifs
   8656 	if test "X$pkg" = "X$p"; then
   8657 	  enable_static=yes
   8658 	fi
   8659       done
   8660       IFS=$lt_save_ifs
   8661       ;;
   8662     esac
   8663 else $as_nop
   8664   enable_static=yes
   8665 fi
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 # Check whether --with-pic was given.
   8677 if test ${with_pic+y}
   8678 then :
   8679   withval=$with_pic; lt_p=${PACKAGE-default}
   8680     case $withval in
   8681     yes|no) pic_mode=$withval ;;
   8682     *)
   8683       pic_mode=default
   8684       # Look at the argument we got.  We use all the common list separators.
   8685       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8686       for lt_pkg in $withval; do
   8687 	IFS=$lt_save_ifs
   8688 	if test "X$lt_pkg" = "X$lt_p"; then
   8689 	  pic_mode=yes
   8690 	fi
   8691       done
   8692       IFS=$lt_save_ifs
   8693       ;;
   8694     esac
   8695 else $as_nop
   8696   pic_mode=default
   8697 fi
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 
   8705 
   8706   # Check whether --enable-fast-install was given.
   8707 if test ${enable_fast_install+y}
   8708 then :
   8709   enableval=$enable_fast_install; p=${PACKAGE-default}
   8710     case $enableval in
   8711     yes) enable_fast_install=yes ;;
   8712     no) enable_fast_install=no ;;
   8713     *)
   8714       enable_fast_install=no
   8715       # Look at the argument we got.  We use all the common list separators.
   8716       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8717       for pkg in $enableval; do
   8718 	IFS=$lt_save_ifs
   8719 	if test "X$pkg" = "X$p"; then
   8720 	  enable_fast_install=yes
   8721 	fi
   8722       done
   8723       IFS=$lt_save_ifs
   8724       ;;
   8725     esac
   8726 else $as_nop
   8727   enable_fast_install=yes
   8728 fi
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737   shared_archive_member_spec=
   8738 case $host,$enable_shared in
   8739 power*-*-aix[5-9]*,yes)
   8740   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8741 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8742 
   8743 # Check whether --with-aix-soname was given.
   8744 if test ${with_aix_soname+y}
   8745 then :
   8746   withval=$with_aix_soname; case $withval in
   8747     aix|svr4|both)
   8748       ;;
   8749     *)
   8750       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8751       ;;
   8752     esac
   8753     lt_cv_with_aix_soname=$with_aix_soname
   8754 else $as_nop
   8755   if test ${lt_cv_with_aix_soname+y}
   8756 then :
   8757   printf %s "(cached) " >&6
   8758 else $as_nop
   8759   lt_cv_with_aix_soname=aix
   8760 fi
   8761 
   8762     with_aix_soname=$lt_cv_with_aix_soname
   8763 fi
   8764 
   8765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8766 printf "%s\n" "$with_aix_soname" >&6; }
   8767   if test aix != "$with_aix_soname"; then
   8768     # For the AIX way of multilib, we name the shared archive member
   8769     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8770     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8771     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8772     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8773     if test 64 = "${OBJECT_MODE-32}"; then
   8774       shared_archive_member_spec=shr_64
   8775     else
   8776       shared_archive_member_spec=shr
   8777     fi
   8778   fi
   8779   ;;
   8780 *)
   8781   with_aix_soname=aix
   8782   ;;
   8783 esac
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 # This can be used to rebuild libtool when needed
   8795 LIBTOOL_DEPS=$ltmain
   8796 
   8797 # Always use our own libtool.
   8798 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 test -z "$LN_S" && LN_S="ln -s"
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 if test -n "${ZSH_VERSION+set}"; then
   8845    setopt NO_GLOB_SUBST
   8846 fi
   8847 
   8848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8849 printf %s "checking for objdir... " >&6; }
   8850 if test ${lt_cv_objdir+y}
   8851 then :
   8852   printf %s "(cached) " >&6
   8853 else $as_nop
   8854   rm -f .libs 2>/dev/null
   8855 mkdir .libs 2>/dev/null
   8856 if test -d .libs; then
   8857   lt_cv_objdir=.libs
   8858 else
   8859   # MS-DOS does not allow filenames that begin with a dot.
   8860   lt_cv_objdir=_libs
   8861 fi
   8862 rmdir .libs 2>/dev/null
   8863 fi
   8864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8865 printf "%s\n" "$lt_cv_objdir" >&6; }
   8866 objdir=$lt_cv_objdir
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8873 
   8874 
   8875 
   8876 
   8877 case $host_os in
   8878 aix3*)
   8879   # AIX sometimes has problems with the GCC collect2 program.  For some
   8880   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8881   # vanish in a puff of smoke.
   8882   if test set != "${COLLECT_NAMES+set}"; then
   8883     COLLECT_NAMES=
   8884     export COLLECT_NAMES
   8885   fi
   8886   ;;
   8887 esac
   8888 
   8889 # Global variables:
   8890 ofile=libtool
   8891 can_build_shared=yes
   8892 
   8893 # All known linkers require a '.a' archive for static linking (except MSVC,
   8894 # which needs '.lib').
   8895 libext=a
   8896 
   8897 with_gnu_ld=$lt_cv_prog_gnu_ld
   8898 
   8899 old_CC=$CC
   8900 old_CFLAGS=$CFLAGS
   8901 
   8902 # Set sane defaults for various variables
   8903 test -z "$CC" && CC=cc
   8904 test -z "$LTCC" && LTCC=$CC
   8905 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8906 test -z "$LD" && LD=ld
   8907 test -z "$ac_objext" && ac_objext=o
   8908 
   8909 func_cc_basename $compiler
   8910 cc_basename=$func_cc_basename_result
   8911 
   8912 
   8913 # Only perform the check for file, if the check method requires it
   8914 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8915 case $deplibs_check_method in
   8916 file_magic*)
   8917   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8918     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8919 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8920 if test ${lt_cv_path_MAGIC_CMD+y}
   8921 then :
   8922   printf %s "(cached) " >&6
   8923 else $as_nop
   8924   case $MAGIC_CMD in
   8925 [\\/*] |  ?:[\\/]*)
   8926   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8927   ;;
   8928 *)
   8929   lt_save_MAGIC_CMD=$MAGIC_CMD
   8930   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8931   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8932   for ac_dir in $ac_dummy; do
   8933     IFS=$lt_save_ifs
   8934     test -z "$ac_dir" && ac_dir=.
   8935     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8936       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8937       if test -n "$file_magic_test_file"; then
   8938 	case $deplibs_check_method in
   8939 	"file_magic "*)
   8940 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8941 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8942 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8943 	    $EGREP "$file_magic_regex" > /dev/null; then
   8944 	    :
   8945 	  else
   8946 	    cat <<_LT_EOF 1>&2
   8947 
   8948 *** Warning: the command libtool uses to detect shared libraries,
   8949 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8950 *** The result is that libtool may fail to recognize shared libraries
   8951 *** as such.  This will affect the creation of libtool libraries that
   8952 *** depend on shared libraries, but programs linked with such libtool
   8953 *** libraries will work regardless of this problem.  Nevertheless, you
   8954 *** may want to report the problem to your system manager and/or to
   8955 *** bug-libtool@gnu.org
   8956 
   8957 _LT_EOF
   8958 	  fi ;;
   8959 	esac
   8960       fi
   8961       break
   8962     fi
   8963   done
   8964   IFS=$lt_save_ifs
   8965   MAGIC_CMD=$lt_save_MAGIC_CMD
   8966   ;;
   8967 esac
   8968 fi
   8969 
   8970 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8971 if test -n "$MAGIC_CMD"; then
   8972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8973 printf "%s\n" "$MAGIC_CMD" >&6; }
   8974 else
   8975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8976 printf "%s\n" "no" >&6; }
   8977 fi
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8984   if test -n "$ac_tool_prefix"; then
   8985     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8986 printf %s "checking for file... " >&6; }
   8987 if test ${lt_cv_path_MAGIC_CMD+y}
   8988 then :
   8989   printf %s "(cached) " >&6
   8990 else $as_nop
   8991   case $MAGIC_CMD in
   8992 [\\/*] |  ?:[\\/]*)
   8993   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8994   ;;
   8995 *)
   8996   lt_save_MAGIC_CMD=$MAGIC_CMD
   8997   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8998   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8999   for ac_dir in $ac_dummy; do
   9000     IFS=$lt_save_ifs
   9001     test -z "$ac_dir" && ac_dir=.
   9002     if test -f "$ac_dir/file"; then
   9003       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9004       if test -n "$file_magic_test_file"; then
   9005 	case $deplibs_check_method in
   9006 	"file_magic "*)
   9007 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9008 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9009 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9010 	    $EGREP "$file_magic_regex" > /dev/null; then
   9011 	    :
   9012 	  else
   9013 	    cat <<_LT_EOF 1>&2
   9014 
   9015 *** Warning: the command libtool uses to detect shared libraries,
   9016 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9017 *** The result is that libtool may fail to recognize shared libraries
   9018 *** as such.  This will affect the creation of libtool libraries that
   9019 *** depend on shared libraries, but programs linked with such libtool
   9020 *** libraries will work regardless of this problem.  Nevertheless, you
   9021 *** may want to report the problem to your system manager and/or to
   9022 *** bug-libtool@gnu.org
   9023 
   9024 _LT_EOF
   9025 	  fi ;;
   9026 	esac
   9027       fi
   9028       break
   9029     fi
   9030   done
   9031   IFS=$lt_save_ifs
   9032   MAGIC_CMD=$lt_save_MAGIC_CMD
   9033   ;;
   9034 esac
   9035 fi
   9036 
   9037 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9038 if test -n "$MAGIC_CMD"; then
   9039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9040 printf "%s\n" "$MAGIC_CMD" >&6; }
   9041 else
   9042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9043 printf "%s\n" "no" >&6; }
   9044 fi
   9045 
   9046 
   9047   else
   9048     MAGIC_CMD=:
   9049   fi
   9050 fi
   9051 
   9052   fi
   9053   ;;
   9054 esac
   9055 
   9056 # Use C for the default configuration in the libtool script
   9057 
   9058 lt_save_CC=$CC
   9059 ac_ext=c
   9060 ac_cpp='$CPP $CPPFLAGS'
   9061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9064 
   9065 
   9066 # Source file extension for C test sources.
   9067 ac_ext=c
   9068 
   9069 # Object file extension for compiled C test sources.
   9070 objext=o
   9071 objext=$objext
   9072 
   9073 # Code to be used in simple compile tests
   9074 lt_simple_compile_test_code="int some_variable = 0;"
   9075 
   9076 # Code to be used in simple link tests
   9077 lt_simple_link_test_code='int main(){return(0);}'
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 # If no C compiler was specified, use CC.
   9086 LTCC=${LTCC-"$CC"}
   9087 
   9088 # If no C compiler flags were specified, use CFLAGS.
   9089 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9090 
   9091 # Allow CC to be a program name with arguments.
   9092 compiler=$CC
   9093 
   9094 # Save the default compiler, since it gets overwritten when the other
   9095 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9096 compiler_DEFAULT=$CC
   9097 
   9098 # save warnings/boilerplate of simple test code
   9099 ac_outfile=conftest.$ac_objext
   9100 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9101 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9102 _lt_compiler_boilerplate=`cat conftest.err`
   9103 $RM conftest*
   9104 
   9105 ac_outfile=conftest.$ac_objext
   9106 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9107 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9108 _lt_linker_boilerplate=`cat conftest.err`
   9109 $RM -r conftest*
   9110 
   9111 
   9112 if test -n "$compiler"; then
   9113 
   9114 lt_prog_compiler_no_builtin_flag=
   9115 
   9116 if test yes = "$GCC"; then
   9117   case $cc_basename in
   9118   nvcc*)
   9119     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9120   *)
   9121     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9122   esac
   9123 
   9124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9125 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9126 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9127 then :
   9128   printf %s "(cached) " >&6
   9129 else $as_nop
   9130   lt_cv_prog_compiler_rtti_exceptions=no
   9131    ac_outfile=conftest.$ac_objext
   9132    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9133    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9134    # Insert the option either (1) after the last *FLAGS variable, or
   9135    # (2) before a word containing "conftest.", or (3) at the end.
   9136    # Note that $ac_compile itself does not contain backslashes and begins
   9137    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9138    # The option is referenced via a variable to avoid confusing sed.
   9139    lt_compile=`echo "$ac_compile" | $SED \
   9140    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9141    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9142    -e 's:$: $lt_compiler_flag:'`
   9143    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9144    (eval "$lt_compile" 2>conftest.err)
   9145    ac_status=$?
   9146    cat conftest.err >&5
   9147    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9148    if (exit $ac_status) && test -s "$ac_outfile"; then
   9149      # The compiler can only warn and ignore the option if not recognized
   9150      # So say no if there are warnings other than the usual output.
   9151      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9152      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9153      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9154        lt_cv_prog_compiler_rtti_exceptions=yes
   9155      fi
   9156    fi
   9157    $RM conftest*
   9158 
   9159 fi
   9160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9161 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9162 
   9163 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9164     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9165 else
   9166     :
   9167 fi
   9168 
   9169 fi
   9170 
   9171 
   9172 
   9173 
   9174 
   9175 
   9176   lt_prog_compiler_wl=
   9177 lt_prog_compiler_pic=
   9178 lt_prog_compiler_static=
   9179 
   9180 
   9181   if test yes = "$GCC"; then
   9182     lt_prog_compiler_wl='-Wl,'
   9183     lt_prog_compiler_static='-static'
   9184 
   9185     case $host_os in
   9186       aix*)
   9187       # All AIX code is PIC.
   9188       if test ia64 = "$host_cpu"; then
   9189 	# AIX 5 now supports IA64 processor
   9190 	lt_prog_compiler_static='-Bstatic'
   9191       fi
   9192       lt_prog_compiler_pic='-fPIC'
   9193       ;;
   9194 
   9195     amigaos*)
   9196       case $host_cpu in
   9197       powerpc)
   9198             # see comment about AmigaOS4 .so support
   9199             lt_prog_compiler_pic='-fPIC'
   9200         ;;
   9201       m68k)
   9202             # FIXME: we need at least 68020 code to build shared libraries, but
   9203             # adding the '-m68020' flag to GCC prevents building anything better,
   9204             # like '-m68040'.
   9205             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9206         ;;
   9207       esac
   9208       ;;
   9209 
   9210     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9211       # PIC is the default for these OSes.
   9212       ;;
   9213 
   9214     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9215       # This hack is so that the source file can tell whether it is being
   9216       # built for inclusion in a dll (and should export symbols for example).
   9217       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9218       # (--disable-auto-import) libraries
   9219       lt_prog_compiler_pic='-DDLL_EXPORT'
   9220       case $host_os in
   9221       os2*)
   9222 	lt_prog_compiler_static='$wl-static'
   9223 	;;
   9224       esac
   9225       ;;
   9226 
   9227     darwin* | rhapsody*)
   9228       # PIC is the default on this platform
   9229       # Common symbols not allowed in MH_DYLIB files
   9230       lt_prog_compiler_pic='-fno-common'
   9231       ;;
   9232 
   9233     haiku*)
   9234       # PIC is the default for Haiku.
   9235       # The "-static" flag exists, but is broken.
   9236       lt_prog_compiler_static=
   9237       ;;
   9238 
   9239     hpux*)
   9240       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9241       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9242       # sets the default TLS model and affects inlining.
   9243       case $host_cpu in
   9244       hppa*64*)
   9245 	# +Z the default
   9246 	;;
   9247       *)
   9248 	lt_prog_compiler_pic='-fPIC'
   9249 	;;
   9250       esac
   9251       ;;
   9252 
   9253     interix[3-9]*)
   9254       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9255       # Instead, we relocate shared libraries at runtime.
   9256       ;;
   9257 
   9258     msdosdjgpp*)
   9259       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9260       # on systems that don't support them.
   9261       lt_prog_compiler_can_build_shared=no
   9262       enable_shared=no
   9263       ;;
   9264 
   9265     *nto* | *qnx*)
   9266       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9267       # it will coredump.
   9268       lt_prog_compiler_pic='-fPIC -shared'
   9269       ;;
   9270 
   9271     sysv4*MP*)
   9272       if test -d /usr/nec; then
   9273 	lt_prog_compiler_pic=-Kconform_pic
   9274       fi
   9275       ;;
   9276 
   9277     *)
   9278       lt_prog_compiler_pic='-fPIC'
   9279       ;;
   9280     esac
   9281 
   9282     case $cc_basename in
   9283     nvcc*) # Cuda Compiler Driver 2.2
   9284       lt_prog_compiler_wl='-Xlinker '
   9285       if test -n "$lt_prog_compiler_pic"; then
   9286         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9287       fi
   9288       ;;
   9289     esac
   9290   else
   9291     # PORTME Check for flag to pass linker flags through the system compiler.
   9292     case $host_os in
   9293     aix*)
   9294       lt_prog_compiler_wl='-Wl,'
   9295       if test ia64 = "$host_cpu"; then
   9296 	# AIX 5 now supports IA64 processor
   9297 	lt_prog_compiler_static='-Bstatic'
   9298       else
   9299 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9300       fi
   9301       ;;
   9302 
   9303     darwin* | rhapsody*)
   9304       # PIC is the default on this platform
   9305       # Common symbols not allowed in MH_DYLIB files
   9306       lt_prog_compiler_pic='-fno-common'
   9307       case $cc_basename in
   9308       nagfor*)
   9309         # NAG Fortran compiler
   9310         lt_prog_compiler_wl='-Wl,-Wl,,'
   9311         lt_prog_compiler_pic='-PIC'
   9312         lt_prog_compiler_static='-Bstatic'
   9313         ;;
   9314       esac
   9315       ;;
   9316 
   9317     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9318       # This hack is so that the source file can tell whether it is being
   9319       # built for inclusion in a dll (and should export symbols for example).
   9320       lt_prog_compiler_pic='-DDLL_EXPORT'
   9321       case $host_os in
   9322       os2*)
   9323 	lt_prog_compiler_static='$wl-static'
   9324 	;;
   9325       esac
   9326       ;;
   9327 
   9328     hpux9* | hpux10* | hpux11*)
   9329       lt_prog_compiler_wl='-Wl,'
   9330       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9331       # not for PA HP-UX.
   9332       case $host_cpu in
   9333       hppa*64*|ia64*)
   9334 	# +Z the default
   9335 	;;
   9336       *)
   9337 	lt_prog_compiler_pic='+Z'
   9338 	;;
   9339       esac
   9340       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9341       lt_prog_compiler_static='$wl-a ${wl}archive'
   9342       ;;
   9343 
   9344     irix5* | irix6* | nonstopux*)
   9345       lt_prog_compiler_wl='-Wl,'
   9346       # PIC (with -KPIC) is the default.
   9347       lt_prog_compiler_static='-non_shared'
   9348       ;;
   9349 
   9350     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9351       case $cc_basename in
   9352       # old Intel for x86_64, which still supported -KPIC.
   9353       ecc*)
   9354 	lt_prog_compiler_wl='-Wl,'
   9355 	lt_prog_compiler_pic='-KPIC'
   9356 	lt_prog_compiler_static='-static'
   9357         ;;
   9358       # icc used to be incompatible with GCC.
   9359       # ICC 10 doesn't accept -KPIC any more.
   9360       icc* | ifort*)
   9361 	lt_prog_compiler_wl='-Wl,'
   9362 	lt_prog_compiler_pic='-fPIC'
   9363 	lt_prog_compiler_static='-static'
   9364         ;;
   9365       # Lahey Fortran 8.1.
   9366       lf95*)
   9367 	lt_prog_compiler_wl='-Wl,'
   9368 	lt_prog_compiler_pic='--shared'
   9369 	lt_prog_compiler_static='--static'
   9370 	;;
   9371       nagfor*)
   9372 	# NAG Fortran compiler
   9373 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9374 	lt_prog_compiler_pic='-PIC'
   9375 	lt_prog_compiler_static='-Bstatic'
   9376 	;;
   9377       tcc*)
   9378 	# Fabrice Bellard et al's Tiny C Compiler
   9379 	lt_prog_compiler_wl='-Wl,'
   9380 	lt_prog_compiler_pic='-fPIC'
   9381 	lt_prog_compiler_static='-static'
   9382 	;;
   9383       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9384         # Portland Group compilers (*not* the Pentium gcc compiler,
   9385 	# which looks to be a dead project)
   9386 	lt_prog_compiler_wl='-Wl,'
   9387 	lt_prog_compiler_pic='-fpic'
   9388 	lt_prog_compiler_static='-Bstatic'
   9389         ;;
   9390       ccc*)
   9391         lt_prog_compiler_wl='-Wl,'
   9392         # All Alpha code is PIC.
   9393         lt_prog_compiler_static='-non_shared'
   9394         ;;
   9395       xl* | bgxl* | bgf* | mpixl*)
   9396 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9397 	lt_prog_compiler_wl='-Wl,'
   9398 	lt_prog_compiler_pic='-qpic'
   9399 	lt_prog_compiler_static='-qstaticlink'
   9400 	;;
   9401       *)
   9402 	case `$CC -V 2>&1 | sed 5q` in
   9403 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9404 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9405 	  lt_prog_compiler_pic='-KPIC'
   9406 	  lt_prog_compiler_static='-Bstatic'
   9407 	  lt_prog_compiler_wl=''
   9408 	  ;;
   9409 	*Sun\ F* | *Sun*Fortran*)
   9410 	  lt_prog_compiler_pic='-KPIC'
   9411 	  lt_prog_compiler_static='-Bstatic'
   9412 	  lt_prog_compiler_wl='-Qoption ld '
   9413 	  ;;
   9414 	*Sun\ C*)
   9415 	  # Sun C 5.9
   9416 	  lt_prog_compiler_pic='-KPIC'
   9417 	  lt_prog_compiler_static='-Bstatic'
   9418 	  lt_prog_compiler_wl='-Wl,'
   9419 	  ;;
   9420         *Intel*\ [CF]*Compiler*)
   9421 	  lt_prog_compiler_wl='-Wl,'
   9422 	  lt_prog_compiler_pic='-fPIC'
   9423 	  lt_prog_compiler_static='-static'
   9424 	  ;;
   9425 	*Portland\ Group*)
   9426 	  lt_prog_compiler_wl='-Wl,'
   9427 	  lt_prog_compiler_pic='-fpic'
   9428 	  lt_prog_compiler_static='-Bstatic'
   9429 	  ;;
   9430 	esac
   9431 	;;
   9432       esac
   9433       ;;
   9434 
   9435     newsos6)
   9436       lt_prog_compiler_pic='-KPIC'
   9437       lt_prog_compiler_static='-Bstatic'
   9438       ;;
   9439 
   9440     *nto* | *qnx*)
   9441       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9442       # it will coredump.
   9443       lt_prog_compiler_pic='-fPIC -shared'
   9444       ;;
   9445 
   9446     osf3* | osf4* | osf5*)
   9447       lt_prog_compiler_wl='-Wl,'
   9448       # All OSF/1 code is PIC.
   9449       lt_prog_compiler_static='-non_shared'
   9450       ;;
   9451 
   9452     rdos*)
   9453       lt_prog_compiler_static='-non_shared'
   9454       ;;
   9455 
   9456     solaris*)
   9457       lt_prog_compiler_pic='-KPIC'
   9458       lt_prog_compiler_static='-Bstatic'
   9459       case $cc_basename in
   9460       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9461 	lt_prog_compiler_wl='-Qoption ld ';;
   9462       *)
   9463 	lt_prog_compiler_wl='-Wl,';;
   9464       esac
   9465       ;;
   9466 
   9467     sunos4*)
   9468       lt_prog_compiler_wl='-Qoption ld '
   9469       lt_prog_compiler_pic='-PIC'
   9470       lt_prog_compiler_static='-Bstatic'
   9471       ;;
   9472 
   9473     sysv4 | sysv4.2uw2* | sysv4.3*)
   9474       lt_prog_compiler_wl='-Wl,'
   9475       lt_prog_compiler_pic='-KPIC'
   9476       lt_prog_compiler_static='-Bstatic'
   9477       ;;
   9478 
   9479     sysv4*MP*)
   9480       if test -d /usr/nec; then
   9481 	lt_prog_compiler_pic='-Kconform_pic'
   9482 	lt_prog_compiler_static='-Bstatic'
   9483       fi
   9484       ;;
   9485 
   9486     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9487       lt_prog_compiler_wl='-Wl,'
   9488       lt_prog_compiler_pic='-KPIC'
   9489       lt_prog_compiler_static='-Bstatic'
   9490       ;;
   9491 
   9492     unicos*)
   9493       lt_prog_compiler_wl='-Wl,'
   9494       lt_prog_compiler_can_build_shared=no
   9495       ;;
   9496 
   9497     uts4*)
   9498       lt_prog_compiler_pic='-pic'
   9499       lt_prog_compiler_static='-Bstatic'
   9500       ;;
   9501 
   9502     *)
   9503       lt_prog_compiler_can_build_shared=no
   9504       ;;
   9505     esac
   9506   fi
   9507 
   9508 case $host_os in
   9509   # For platforms that do not support PIC, -DPIC is meaningless:
   9510   *djgpp*)
   9511     lt_prog_compiler_pic=
   9512     ;;
   9513   *)
   9514     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9515     ;;
   9516 esac
   9517 
   9518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9519 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9520 if test ${lt_cv_prog_compiler_pic+y}
   9521 then :
   9522   printf %s "(cached) " >&6
   9523 else $as_nop
   9524   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9525 fi
   9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9527 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9528 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9529 
   9530 #
   9531 # Check to make sure the PIC flag actually works.
   9532 #
   9533 if test -n "$lt_prog_compiler_pic"; then
   9534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9535 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9536 if test ${lt_cv_prog_compiler_pic_works+y}
   9537 then :
   9538   printf %s "(cached) " >&6
   9539 else $as_nop
   9540   lt_cv_prog_compiler_pic_works=no
   9541    ac_outfile=conftest.$ac_objext
   9542    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9543    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9544    # Insert the option either (1) after the last *FLAGS variable, or
   9545    # (2) before a word containing "conftest.", or (3) at the end.
   9546    # Note that $ac_compile itself does not contain backslashes and begins
   9547    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9548    # The option is referenced via a variable to avoid confusing sed.
   9549    lt_compile=`echo "$ac_compile" | $SED \
   9550    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9551    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9552    -e 's:$: $lt_compiler_flag:'`
   9553    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9554    (eval "$lt_compile" 2>conftest.err)
   9555    ac_status=$?
   9556    cat conftest.err >&5
   9557    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9558    if (exit $ac_status) && test -s "$ac_outfile"; then
   9559      # The compiler can only warn and ignore the option if not recognized
   9560      # So say no if there are warnings other than the usual output.
   9561      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9562      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9563      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9564        lt_cv_prog_compiler_pic_works=yes
   9565      fi
   9566    fi
   9567    $RM conftest*
   9568 
   9569 fi
   9570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9571 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9572 
   9573 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9574     case $lt_prog_compiler_pic in
   9575      "" | " "*) ;;
   9576      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9577      esac
   9578 else
   9579     lt_prog_compiler_pic=
   9580      lt_prog_compiler_can_build_shared=no
   9581 fi
   9582 
   9583 fi
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 #
   9596 # Check to make sure the static flag actually works.
   9597 #
   9598 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9600 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9601 if test ${lt_cv_prog_compiler_static_works+y}
   9602 then :
   9603   printf %s "(cached) " >&6
   9604 else $as_nop
   9605   lt_cv_prog_compiler_static_works=no
   9606    save_LDFLAGS=$LDFLAGS
   9607    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9608    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9609    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9610      # The linker can only warn and ignore the option if not recognized
   9611      # So say no if there are warnings
   9612      if test -s conftest.err; then
   9613        # Append any errors to the config.log.
   9614        cat conftest.err 1>&5
   9615        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9616        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9617        if diff conftest.exp conftest.er2 >/dev/null; then
   9618          lt_cv_prog_compiler_static_works=yes
   9619        fi
   9620      else
   9621        lt_cv_prog_compiler_static_works=yes
   9622      fi
   9623    fi
   9624    $RM -r conftest*
   9625    LDFLAGS=$save_LDFLAGS
   9626 
   9627 fi
   9628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9629 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9630 
   9631 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9632     :
   9633 else
   9634     lt_prog_compiler_static=
   9635 fi
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9644 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9645 if test ${lt_cv_prog_compiler_c_o+y}
   9646 then :
   9647   printf %s "(cached) " >&6
   9648 else $as_nop
   9649   lt_cv_prog_compiler_c_o=no
   9650    $RM -r conftest 2>/dev/null
   9651    mkdir conftest
   9652    cd conftest
   9653    mkdir out
   9654    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9655 
   9656    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9657    # Insert the option either (1) after the last *FLAGS variable, or
   9658    # (2) before a word containing "conftest.", or (3) at the end.
   9659    # Note that $ac_compile itself does not contain backslashes and begins
   9660    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9661    lt_compile=`echo "$ac_compile" | $SED \
   9662    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9663    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9664    -e 's:$: $lt_compiler_flag:'`
   9665    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9666    (eval "$lt_compile" 2>out/conftest.err)
   9667    ac_status=$?
   9668    cat out/conftest.err >&5
   9669    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9670    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9671    then
   9672      # The compiler can only warn and ignore the option if not recognized
   9673      # So say no if there are warnings
   9674      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9675      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9676      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9677        lt_cv_prog_compiler_c_o=yes
   9678      fi
   9679    fi
   9680    chmod u+w . 2>&5
   9681    $RM conftest*
   9682    # SGI C++ compiler will create directory out/ii_files/ for
   9683    # template instantiation
   9684    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9685    $RM out/* && rmdir out
   9686    cd ..
   9687    $RM -r conftest
   9688    $RM conftest*
   9689 
   9690 fi
   9691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9692 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9700 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9701 if test ${lt_cv_prog_compiler_c_o+y}
   9702 then :
   9703   printf %s "(cached) " >&6
   9704 else $as_nop
   9705   lt_cv_prog_compiler_c_o=no
   9706    $RM -r conftest 2>/dev/null
   9707    mkdir conftest
   9708    cd conftest
   9709    mkdir out
   9710    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9711 
   9712    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9713    # Insert the option either (1) after the last *FLAGS variable, or
   9714    # (2) before a word containing "conftest.", or (3) at the end.
   9715    # Note that $ac_compile itself does not contain backslashes and begins
   9716    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9717    lt_compile=`echo "$ac_compile" | $SED \
   9718    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9719    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9720    -e 's:$: $lt_compiler_flag:'`
   9721    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9722    (eval "$lt_compile" 2>out/conftest.err)
   9723    ac_status=$?
   9724    cat out/conftest.err >&5
   9725    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9726    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9727    then
   9728      # The compiler can only warn and ignore the option if not recognized
   9729      # So say no if there are warnings
   9730      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9731      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9732      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9733        lt_cv_prog_compiler_c_o=yes
   9734      fi
   9735    fi
   9736    chmod u+w . 2>&5
   9737    $RM conftest*
   9738    # SGI C++ compiler will create directory out/ii_files/ for
   9739    # template instantiation
   9740    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9741    $RM out/* && rmdir out
   9742    cd ..
   9743    $RM -r conftest
   9744    $RM conftest*
   9745 
   9746 fi
   9747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9748 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9749 
   9750 
   9751 
   9752 
   9753 hard_links=nottested
   9754 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9755   # do not overwrite the value of need_locks provided by the user
   9756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9757 printf %s "checking if we can lock with hard links... " >&6; }
   9758   hard_links=yes
   9759   $RM conftest*
   9760   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9761   touch conftest.a
   9762   ln conftest.a conftest.b 2>&5 || hard_links=no
   9763   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9765 printf "%s\n" "$hard_links" >&6; }
   9766   if test no = "$hard_links"; then
   9767     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9768 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9769     need_locks=warn
   9770   fi
   9771 else
   9772   need_locks=no
   9773 fi
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9781 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9782 
   9783   runpath_var=
   9784   allow_undefined_flag=
   9785   always_export_symbols=no
   9786   archive_cmds=
   9787   archive_expsym_cmds=
   9788   compiler_needs_object=no
   9789   enable_shared_with_static_runtimes=no
   9790   export_dynamic_flag_spec=
   9791   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9792   hardcode_automatic=no
   9793   hardcode_direct=no
   9794   hardcode_direct_absolute=no
   9795   hardcode_libdir_flag_spec=
   9796   hardcode_libdir_separator=
   9797   hardcode_minus_L=no
   9798   hardcode_shlibpath_var=unsupported
   9799   inherit_rpath=no
   9800   link_all_deplibs=unknown
   9801   module_cmds=
   9802   module_expsym_cmds=
   9803   old_archive_from_new_cmds=
   9804   old_archive_from_expsyms_cmds=
   9805   thread_safe_flag_spec=
   9806   whole_archive_flag_spec=
   9807   # include_expsyms should be a list of space-separated symbols to be *always*
   9808   # included in the symbol list
   9809   include_expsyms=
   9810   # exclude_expsyms can be an extended regexp of symbols to exclude
   9811   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9812   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9813   # as well as any symbol that contains 'd'.
   9814   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9815   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9816   # platforms (ab)use it in PIC code, but their linkers get confused if
   9817   # the symbol is explicitly referenced.  Since portable code cannot
   9818   # rely on this symbol name, it's probably fine to never include it in
   9819   # preloaded symbol tables.
   9820   # Exclude shared library initialization/finalization symbols.
   9821   extract_expsyms_cmds=
   9822 
   9823   case $host_os in
   9824   cygwin* | mingw* | pw32* | cegcc*)
   9825     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9826     # When not using gcc, we currently assume that we are using
   9827     # Microsoft Visual C++.
   9828     if test yes != "$GCC"; then
   9829       with_gnu_ld=no
   9830     fi
   9831     ;;
   9832   interix*)
   9833     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9834     with_gnu_ld=yes
   9835     ;;
   9836   openbsd* | bitrig*)
   9837     with_gnu_ld=no
   9838     ;;
   9839   esac
   9840 
   9841   ld_shlibs=yes
   9842 
   9843   # On some targets, GNU ld is compatible enough with the native linker
   9844   # that we're better off using the native interface for both.
   9845   lt_use_gnu_ld_interface=no
   9846   if test yes = "$with_gnu_ld"; then
   9847     case $host_os in
   9848       aix*)
   9849 	# The AIX port of GNU ld has always aspired to compatibility
   9850 	# with the native linker.  However, as the warning in the GNU ld
   9851 	# block says, versions before 2.19.5* couldn't really create working
   9852 	# shared libraries, regardless of the interface used.
   9853 	case `$LD -v 2>&1` in
   9854 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9855 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9856 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9857 	  *)
   9858 	    lt_use_gnu_ld_interface=yes
   9859 	    ;;
   9860 	esac
   9861 	;;
   9862       *)
   9863 	lt_use_gnu_ld_interface=yes
   9864 	;;
   9865     esac
   9866   fi
   9867 
   9868   if test yes = "$lt_use_gnu_ld_interface"; then
   9869     # If archive_cmds runs LD, not CC, wlarc should be empty
   9870     wlarc='$wl'
   9871 
   9872     # Set some defaults for GNU ld with shared library support. These
   9873     # are reset later if shared libraries are not supported. Putting them
   9874     # here allows them to be overridden if necessary.
   9875     runpath_var=LD_RUN_PATH
   9876     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9877     export_dynamic_flag_spec='$wl--export-dynamic'
   9878     # ancient GNU ld didn't support --whole-archive et. al.
   9879     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9880       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9881     else
   9882       whole_archive_flag_spec=
   9883     fi
   9884     supports_anon_versioning=no
   9885     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9886       *GNU\ gold*) supports_anon_versioning=yes ;;
   9887       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9888       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9889       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9890       *\ 2.11.*) ;; # other 2.11 versions
   9891       *) supports_anon_versioning=yes ;;
   9892     esac
   9893 
   9894     # See if GNU ld supports shared libraries.
   9895     case $host_os in
   9896     aix[3-9]*)
   9897       # On AIX/PPC, the GNU linker is very broken
   9898       if test ia64 != "$host_cpu"; then
   9899 	ld_shlibs=no
   9900 	cat <<_LT_EOF 1>&2
   9901 
   9902 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9903 *** to be unable to reliably create shared libraries on AIX.
   9904 *** Therefore, libtool is disabling shared libraries support.  If you
   9905 *** really care for shared libraries, you may want to install binutils
   9906 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9907 *** You will then need to restart the configuration process.
   9908 
   9909 _LT_EOF
   9910       fi
   9911       ;;
   9912 
   9913     amigaos*)
   9914       case $host_cpu in
   9915       powerpc)
   9916             # see comment about AmigaOS4 .so support
   9917             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9918             archive_expsym_cmds=''
   9919         ;;
   9920       m68k)
   9921             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)'
   9922             hardcode_libdir_flag_spec='-L$libdir'
   9923             hardcode_minus_L=yes
   9924         ;;
   9925       esac
   9926       ;;
   9927 
   9928     beos*)
   9929       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9930 	allow_undefined_flag=unsupported
   9931 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9932 	# support --undefined.  This deserves some investigation.  FIXME
   9933 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9934       else
   9935 	ld_shlibs=no
   9936       fi
   9937       ;;
   9938 
   9939     cygwin* | mingw* | pw32* | cegcc*)
   9940       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9941       # as there is no search path for DLLs.
   9942       hardcode_libdir_flag_spec='-L$libdir'
   9943       export_dynamic_flag_spec='$wl--export-all-symbols'
   9944       allow_undefined_flag=unsupported
   9945       always_export_symbols=no
   9946       enable_shared_with_static_runtimes=yes
   9947       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'
   9948       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9949 
   9950       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9951         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9952 	# If the export-symbols file already is a .def file, use it as
   9953 	# is; otherwise, prepend EXPORTS...
   9954 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9955           cp $export_symbols $output_objdir/$soname.def;
   9956         else
   9957           echo EXPORTS > $output_objdir/$soname.def;
   9958           cat $export_symbols >> $output_objdir/$soname.def;
   9959         fi~
   9960         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9961       else
   9962 	ld_shlibs=no
   9963       fi
   9964       ;;
   9965 
   9966     haiku*)
   9967       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9968       link_all_deplibs=yes
   9969       ;;
   9970 
   9971     os2*)
   9972       hardcode_libdir_flag_spec='-L$libdir'
   9973       hardcode_minus_L=yes
   9974       allow_undefined_flag=unsupported
   9975       shrext_cmds=.dll
   9976       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9977 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9978 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9979 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9980 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9981 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9982 	emximp -o $lib $output_objdir/$libname.def'
   9983       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9984 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9985 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9986 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9987 	prefix_cmds="$SED"~
   9988 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9989 	  prefix_cmds="$prefix_cmds -e 1d";
   9990 	fi~
   9991 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9992 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9993 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9994 	emximp -o $lib $output_objdir/$libname.def'
   9995       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9996       enable_shared_with_static_runtimes=yes
   9997       ;;
   9998 
   9999     interix[3-9]*)
   10000       hardcode_direct=no
   10001       hardcode_shlibpath_var=no
   10002       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10003       export_dynamic_flag_spec='$wl-E'
   10004       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10005       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10006       # default) and relocated if they conflict, which is a slow very memory
   10007       # consuming and fragmenting process.  To avoid this, we pick a random,
   10008       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10009       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10010       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10011       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'
   10012       ;;
   10013 
   10014     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10015       tmp_diet=no
   10016       if test linux-dietlibc = "$host_os"; then
   10017 	case $cc_basename in
   10018 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10019 	esac
   10020       fi
   10021       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10022 	 && test no = "$tmp_diet"
   10023       then
   10024 	tmp_addflag=' $pic_flag'
   10025 	tmp_sharedflag='-shared'
   10026 	case $cc_basename,$host_cpu in
   10027         pgcc*)				# Portland Group C compiler
   10028 	  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'
   10029 	  tmp_addflag=' $pic_flag'
   10030 	  ;;
   10031 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10032 					# Portland Group f77 and f90 compilers
   10033 	  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'
   10034 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10035 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10036 	  tmp_addflag=' -i_dynamic' ;;
   10037 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10038 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10039 	ifc* | ifort*)			# Intel Fortran compiler
   10040 	  tmp_addflag=' -nofor_main' ;;
   10041 	lf95*)				# Lahey Fortran 8.1
   10042 	  whole_archive_flag_spec=
   10043 	  tmp_sharedflag='--shared' ;;
   10044         nagfor*)                        # NAGFOR 5.3
   10045           tmp_sharedflag='-Wl,-shared' ;;
   10046 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10047 	  tmp_sharedflag='-qmkshrobj'
   10048 	  tmp_addflag= ;;
   10049 	nvcc*)	# Cuda Compiler Driver 2.2
   10050 	  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'
   10051 	  compiler_needs_object=yes
   10052 	  ;;
   10053 	esac
   10054 	case `$CC -V 2>&1 | sed 5q` in
   10055 	*Sun\ C*)			# Sun C 5.9
   10056 	  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'
   10057 	  compiler_needs_object=yes
   10058 	  tmp_sharedflag='-G' ;;
   10059 	*Sun\ F*)			# Sun Fortran 8.3
   10060 	  tmp_sharedflag='-G' ;;
   10061 	esac
   10062 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10063 
   10064         if test yes = "$supports_anon_versioning"; then
   10065           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10066             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10067             echo "local: *; };" >> $output_objdir/$libname.ver~
   10068             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10069         fi
   10070 
   10071 	case $cc_basename in
   10072 	tcc*)
   10073 	  export_dynamic_flag_spec='-rdynamic'
   10074 	  ;;
   10075 	xlf* | bgf* | bgxlf* | mpixlf*)
   10076 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10077 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10078 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10079 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10080 	  if test yes = "$supports_anon_versioning"; then
   10081 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10082               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10083               echo "local: *; };" >> $output_objdir/$libname.ver~
   10084               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10085 	  fi
   10086 	  ;;
   10087 	esac
   10088       else
   10089         ld_shlibs=no
   10090       fi
   10091       ;;
   10092 
   10093     netbsd*)
   10094       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10095 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10096 	wlarc=
   10097       else
   10098 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10099 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10100       fi
   10101       ;;
   10102 
   10103     solaris*)
   10104       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10105 	ld_shlibs=no
   10106 	cat <<_LT_EOF 1>&2
   10107 
   10108 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10109 *** create shared libraries on Solaris systems.  Therefore, libtool
   10110 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10111 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10112 *** your PATH or compiler configuration so that the native linker is
   10113 *** used, and then restart.
   10114 
   10115 _LT_EOF
   10116       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10117 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10118 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10119       else
   10120 	ld_shlibs=no
   10121       fi
   10122       ;;
   10123 
   10124     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10125       case `$LD -v 2>&1` in
   10126         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10127 	ld_shlibs=no
   10128 	cat <<_LT_EOF 1>&2
   10129 
   10130 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10131 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10132 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10133 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10134 *** your PATH or compiler configuration so that the native linker is
   10135 *** used, and then restart.
   10136 
   10137 _LT_EOF
   10138 	;;
   10139 	*)
   10140 	  # For security reasons, it is highly recommended that you always
   10141 	  # use absolute paths for naming shared libraries, and exclude the
   10142 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10143 	  # requires that you compile everything twice, which is a pain.
   10144 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10145 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10146 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10147 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10148 	  else
   10149 	    ld_shlibs=no
   10150 	  fi
   10151 	;;
   10152       esac
   10153       ;;
   10154 
   10155     sunos4*)
   10156       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10157       wlarc=
   10158       hardcode_direct=yes
   10159       hardcode_shlibpath_var=no
   10160       ;;
   10161 
   10162     *)
   10163       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10164 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10165 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10166       else
   10167 	ld_shlibs=no
   10168       fi
   10169       ;;
   10170     esac
   10171 
   10172     if test no = "$ld_shlibs"; then
   10173       runpath_var=
   10174       hardcode_libdir_flag_spec=
   10175       export_dynamic_flag_spec=
   10176       whole_archive_flag_spec=
   10177     fi
   10178   else
   10179     # PORTME fill in a description of your system's linker (not GNU ld)
   10180     case $host_os in
   10181     aix3*)
   10182       allow_undefined_flag=unsupported
   10183       always_export_symbols=yes
   10184       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'
   10185       # Note: this linker hardcodes the directories in LIBPATH if there
   10186       # are no directories specified by -L.
   10187       hardcode_minus_L=yes
   10188       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10189 	# Neither direct hardcoding nor static linking is supported with a
   10190 	# broken collect2.
   10191 	hardcode_direct=unsupported
   10192       fi
   10193       ;;
   10194 
   10195     aix[4-9]*)
   10196       if test ia64 = "$host_cpu"; then
   10197 	# On IA64, the linker does run time linking by default, so we don't
   10198 	# have to do anything special.
   10199 	aix_use_runtimelinking=no
   10200 	exp_sym_flag='-Bexport'
   10201 	no_entry_flag=
   10202       else
   10203 	# If we're using GNU nm, then we don't want the "-C" option.
   10204 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10205 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10206 	# weak defined symbols like other global defined symbols, whereas
   10207 	# GNU nm marks them as "W".
   10208 	# While the 'weak' keyword is ignored in the Export File, we need
   10209 	# it in the Import File for the 'aix-soname' feature, so we have
   10210 	# to replace the "-B" option with "-P" for AIX nm.
   10211 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10212 	  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'
   10213 	else
   10214 	  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 == "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'
   10215 	fi
   10216 	aix_use_runtimelinking=no
   10217 
   10218 	# Test if we are trying to use run time linking or normal
   10219 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10220 	# have runtime linking enabled, and use it for executables.
   10221 	# For shared libraries, we enable/disable runtime linking
   10222 	# depending on the kind of the shared library created -
   10223 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10224 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10225 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10226 	#            lib.a           static archive
   10227 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10228 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10229 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10230 	#            lib.a(lib.so.V) shared, rtl:no
   10231 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10232 	#            lib.a           static archive
   10233 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10234 	  for ld_flag in $LDFLAGS; do
   10235 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10236 	    aix_use_runtimelinking=yes
   10237 	    break
   10238 	  fi
   10239 	  done
   10240 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10241 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10242 	    # so we don't have lib.a shared libs to link our executables.
   10243 	    # We have to force runtime linking in this case.
   10244 	    aix_use_runtimelinking=yes
   10245 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10246 	  fi
   10247 	  ;;
   10248 	esac
   10249 
   10250 	exp_sym_flag='-bexport'
   10251 	no_entry_flag='-bnoentry'
   10252       fi
   10253 
   10254       # When large executables or shared objects are built, AIX ld can
   10255       # have problems creating the table of contents.  If linking a library
   10256       # or program results in "error TOC overflow" add -mminimal-toc to
   10257       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10258       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10259 
   10260       archive_cmds=''
   10261       hardcode_direct=yes
   10262       hardcode_direct_absolute=yes
   10263       hardcode_libdir_separator=':'
   10264       link_all_deplibs=yes
   10265       file_list_spec='$wl-f,'
   10266       case $with_aix_soname,$aix_use_runtimelinking in
   10267       aix,*) ;; # traditional, no import file
   10268       svr4,* | *,yes) # use import file
   10269 	# The Import File defines what to hardcode.
   10270 	hardcode_direct=no
   10271 	hardcode_direct_absolute=no
   10272 	;;
   10273       esac
   10274 
   10275       if test yes = "$GCC"; then
   10276 	case $host_os in aix4.[012]|aix4.[012].*)
   10277 	# We only want to do this on AIX 4.2 and lower, the check
   10278 	# below for broken collect2 doesn't work under 4.3+
   10279 	  collect2name=`$CC -print-prog-name=collect2`
   10280 	  if test -f "$collect2name" &&
   10281 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10282 	  then
   10283 	  # We have reworked collect2
   10284 	  :
   10285 	  else
   10286 	  # We have old collect2
   10287 	  hardcode_direct=unsupported
   10288 	  # It fails to find uninstalled libraries when the uninstalled
   10289 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10290 	  # to unsupported forces relinking
   10291 	  hardcode_minus_L=yes
   10292 	  hardcode_libdir_flag_spec='-L$libdir'
   10293 	  hardcode_libdir_separator=
   10294 	  fi
   10295 	  ;;
   10296 	esac
   10297 	shared_flag='-shared'
   10298 	if test yes = "$aix_use_runtimelinking"; then
   10299 	  shared_flag="$shared_flag "'$wl-G'
   10300 	fi
   10301 	# Need to ensure runtime linking is disabled for the traditional
   10302 	# shared library, or the linker may eventually find shared libraries
   10303 	# /with/ Import File - we do not want to mix them.
   10304 	shared_flag_aix='-shared'
   10305 	shared_flag_svr4='-shared $wl-G'
   10306       else
   10307 	# not using gcc
   10308 	if test ia64 = "$host_cpu"; then
   10309 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10310 	# chokes on -Wl,-G. The following line is correct:
   10311 	  shared_flag='-G'
   10312 	else
   10313 	  if test yes = "$aix_use_runtimelinking"; then
   10314 	    shared_flag='$wl-G'
   10315 	  else
   10316 	    shared_flag='$wl-bM:SRE'
   10317 	  fi
   10318 	  shared_flag_aix='$wl-bM:SRE'
   10319 	  shared_flag_svr4='$wl-G'
   10320 	fi
   10321       fi
   10322 
   10323       export_dynamic_flag_spec='$wl-bexpall'
   10324       # It seems that -bexpall does not export symbols beginning with
   10325       # underscore (_), so it is better to generate a list of symbols to export.
   10326       always_export_symbols=yes
   10327       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10328 	# Warning - without using the other runtime loading flags (-brtl),
   10329 	# -berok will link without error, but may produce a broken library.
   10330 	allow_undefined_flag='-berok'
   10331         # Determine the default libpath from the value encoded in an
   10332         # empty executable.
   10333         if test set = "${lt_cv_aix_libpath+set}"; then
   10334   aix_libpath=$lt_cv_aix_libpath
   10335 else
   10336   if test ${lt_cv_aix_libpath_+y}
   10337 then :
   10338   printf %s "(cached) " >&6
   10339 else $as_nop
   10340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10341 /* end confdefs.h.  */
   10342 
   10343 int
   10344 main (void)
   10345 {
   10346 
   10347   ;
   10348   return 0;
   10349 }
   10350 _ACEOF
   10351 if ac_fn_c_try_link "$LINENO"
   10352 then :
   10353 
   10354   lt_aix_libpath_sed='
   10355       /Import File Strings/,/^$/ {
   10356 	  /^0/ {
   10357 	      s/^0  *\([^ ]*\) *$/\1/
   10358 	      p
   10359 	  }
   10360       }'
   10361   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10362   # Check for a 64-bit object if we didn't find anything.
   10363   if test -z "$lt_cv_aix_libpath_"; then
   10364     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10365   fi
   10366 fi
   10367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10368     conftest$ac_exeext conftest.$ac_ext
   10369   if test -z "$lt_cv_aix_libpath_"; then
   10370     lt_cv_aix_libpath_=/usr/lib:/lib
   10371   fi
   10372 
   10373 fi
   10374 
   10375   aix_libpath=$lt_cv_aix_libpath_
   10376 fi
   10377 
   10378         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10379         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
   10380       else
   10381 	if test ia64 = "$host_cpu"; then
   10382 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10383 	  allow_undefined_flag="-z nodefs"
   10384 	  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"
   10385 	else
   10386 	 # Determine the default libpath from the value encoded in an
   10387 	 # empty executable.
   10388 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10389   aix_libpath=$lt_cv_aix_libpath
   10390 else
   10391   if test ${lt_cv_aix_libpath_+y}
   10392 then :
   10393   printf %s "(cached) " >&6
   10394 else $as_nop
   10395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10396 /* end confdefs.h.  */
   10397 
   10398 int
   10399 main (void)
   10400 {
   10401 
   10402   ;
   10403   return 0;
   10404 }
   10405 _ACEOF
   10406 if ac_fn_c_try_link "$LINENO"
   10407 then :
   10408 
   10409   lt_aix_libpath_sed='
   10410       /Import File Strings/,/^$/ {
   10411 	  /^0/ {
   10412 	      s/^0  *\([^ ]*\) *$/\1/
   10413 	      p
   10414 	  }
   10415       }'
   10416   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10417   # Check for a 64-bit object if we didn't find anything.
   10418   if test -z "$lt_cv_aix_libpath_"; then
   10419     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10420   fi
   10421 fi
   10422 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10423     conftest$ac_exeext conftest.$ac_ext
   10424   if test -z "$lt_cv_aix_libpath_"; then
   10425     lt_cv_aix_libpath_=/usr/lib:/lib
   10426   fi
   10427 
   10428 fi
   10429 
   10430   aix_libpath=$lt_cv_aix_libpath_
   10431 fi
   10432 
   10433 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10434 	  # Warning - without using the other run time loading flags,
   10435 	  # -berok will link without error, but may produce a broken library.
   10436 	  no_undefined_flag=' $wl-bernotok'
   10437 	  allow_undefined_flag=' $wl-berok'
   10438 	  if test yes = "$with_gnu_ld"; then
   10439 	    # We only use this code for GNU lds that support --whole-archive.
   10440 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10441 	  else
   10442 	    # Exported symbols can be pulled into shared objects from archives
   10443 	    whole_archive_flag_spec='$convenience'
   10444 	  fi
   10445 	  archive_cmds_need_lc=yes
   10446 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10447 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10448 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10449 	  if test svr4 != "$with_aix_soname"; then
   10450 	    # This is similar to how AIX traditionally builds its shared libraries.
   10451 	    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'
   10452 	  fi
   10453 	  if test aix != "$with_aix_soname"; then
   10454 	    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'
   10455 	  else
   10456 	    # used by -dlpreopen to get the symbols
   10457 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10458 	  fi
   10459 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10460 	fi
   10461       fi
   10462       ;;
   10463 
   10464     amigaos*)
   10465       case $host_cpu in
   10466       powerpc)
   10467             # see comment about AmigaOS4 .so support
   10468             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10469             archive_expsym_cmds=''
   10470         ;;
   10471       m68k)
   10472             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)'
   10473             hardcode_libdir_flag_spec='-L$libdir'
   10474             hardcode_minus_L=yes
   10475         ;;
   10476       esac
   10477       ;;
   10478 
   10479     bsdi[45]*)
   10480       export_dynamic_flag_spec=-rdynamic
   10481       ;;
   10482 
   10483     cygwin* | mingw* | pw32* | cegcc*)
   10484       # When not using gcc, we currently assume that we are using
   10485       # Microsoft Visual C++.
   10486       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10487       # no search path for DLLs.
   10488       case $cc_basename in
   10489       cl*)
   10490 	# Native MSVC
   10491 	hardcode_libdir_flag_spec=' '
   10492 	allow_undefined_flag=unsupported
   10493 	always_export_symbols=yes
   10494 	file_list_spec='@'
   10495 	# Tell ltmain to make .lib files, not .a files.
   10496 	libext=lib
   10497 	# Tell ltmain to make .dll files, not .so files.
   10498 	shrext_cmds=.dll
   10499 	# FIXME: Setting linknames here is a bad hack.
   10500 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10501 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10502             cp "$export_symbols" "$output_objdir/$soname.def";
   10503             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10504           else
   10505             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10506           fi~
   10507           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10508           linknames='
   10509 	# The linker will not automatically build a static lib if we build a DLL.
   10510 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10511 	enable_shared_with_static_runtimes=yes
   10512 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10513 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10514 	# Don't use ranlib
   10515 	old_postinstall_cmds='chmod 644 $oldlib'
   10516 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10517           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10518           case $lt_outputfile in
   10519             *.exe|*.EXE) ;;
   10520             *)
   10521               lt_outputfile=$lt_outputfile.exe
   10522               lt_tool_outputfile=$lt_tool_outputfile.exe
   10523               ;;
   10524           esac~
   10525           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10526             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10527             $RM "$lt_outputfile.manifest";
   10528           fi'
   10529 	;;
   10530       *)
   10531 	# Assume MSVC wrapper
   10532 	hardcode_libdir_flag_spec=' '
   10533 	allow_undefined_flag=unsupported
   10534 	# Tell ltmain to make .lib files, not .a files.
   10535 	libext=lib
   10536 	# Tell ltmain to make .dll files, not .so files.
   10537 	shrext_cmds=.dll
   10538 	# FIXME: Setting linknames here is a bad hack.
   10539 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10540 	# The linker will automatically build a .lib file if we build a DLL.
   10541 	old_archive_from_new_cmds='true'
   10542 	# FIXME: Should let the user specify the lib program.
   10543 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10544 	enable_shared_with_static_runtimes=yes
   10545 	;;
   10546       esac
   10547       ;;
   10548 
   10549     darwin* | rhapsody*)
   10550 
   10551 
   10552   archive_cmds_need_lc=no
   10553   hardcode_direct=no
   10554   hardcode_automatic=yes
   10555   hardcode_shlibpath_var=unsupported
   10556   if test yes = "$lt_cv_ld_force_load"; then
   10557     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\"`'
   10558 
   10559   else
   10560     whole_archive_flag_spec=''
   10561   fi
   10562   link_all_deplibs=yes
   10563   allow_undefined_flag=$_lt_dar_allow_undefined
   10564   case $cc_basename in
   10565      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10566      *) _lt_dar_can_shared=$GCC ;;
   10567   esac
   10568   if test yes = "$_lt_dar_can_shared"; then
   10569     output_verbose_link_cmd=func_echo_all
   10570     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10571     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10572     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"
   10573     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"
   10574 
   10575   else
   10576   ld_shlibs=no
   10577   fi
   10578 
   10579       ;;
   10580 
   10581     dgux*)
   10582       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10583       hardcode_libdir_flag_spec='-L$libdir'
   10584       hardcode_shlibpath_var=no
   10585       ;;
   10586 
   10587     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10588     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10589     # does not break anything, and helps significantly (at the cost of a little
   10590     # extra space).
   10591     freebsd2.2*)
   10592       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10593       hardcode_libdir_flag_spec='-R$libdir'
   10594       hardcode_direct=yes
   10595       hardcode_shlibpath_var=no
   10596       ;;
   10597 
   10598     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10599     freebsd2.*)
   10600       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10601       hardcode_direct=yes
   10602       hardcode_minus_L=yes
   10603       hardcode_shlibpath_var=no
   10604       ;;
   10605 
   10606     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10607     freebsd* | dragonfly*)
   10608       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10609       hardcode_libdir_flag_spec='-R$libdir'
   10610       hardcode_direct=yes
   10611       hardcode_shlibpath_var=no
   10612       ;;
   10613 
   10614     hpux9*)
   10615       if test yes = "$GCC"; then
   10616 	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'
   10617       else
   10618 	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'
   10619       fi
   10620       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10621       hardcode_libdir_separator=:
   10622       hardcode_direct=yes
   10623 
   10624       # hardcode_minus_L: Not really in the search PATH,
   10625       # but as the default location of the library.
   10626       hardcode_minus_L=yes
   10627       export_dynamic_flag_spec='$wl-E'
   10628       ;;
   10629 
   10630     hpux10*)
   10631       if test yes,no = "$GCC,$with_gnu_ld"; then
   10632 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10633       else
   10634 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10635       fi
   10636       if test no = "$with_gnu_ld"; then
   10637 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10638 	hardcode_libdir_separator=:
   10639 	hardcode_direct=yes
   10640 	hardcode_direct_absolute=yes
   10641 	export_dynamic_flag_spec='$wl-E'
   10642 	# hardcode_minus_L: Not really in the search PATH,
   10643 	# but as the default location of the library.
   10644 	hardcode_minus_L=yes
   10645       fi
   10646       ;;
   10647 
   10648     hpux11*)
   10649       if test yes,no = "$GCC,$with_gnu_ld"; then
   10650 	case $host_cpu in
   10651 	hppa*64*)
   10652 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10653 	  ;;
   10654 	ia64*)
   10655 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10656 	  ;;
   10657 	*)
   10658 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10659 	  ;;
   10660 	esac
   10661       else
   10662 	case $host_cpu in
   10663 	hppa*64*)
   10664 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10665 	  ;;
   10666 	ia64*)
   10667 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10668 	  ;;
   10669 	*)
   10670 
   10671 	  # Older versions of the 11.00 compiler do not understand -b yet
   10672 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10673 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10674 printf %s "checking if $CC understands -b... " >&6; }
   10675 if test ${lt_cv_prog_compiler__b+y}
   10676 then :
   10677   printf %s "(cached) " >&6
   10678 else $as_nop
   10679   lt_cv_prog_compiler__b=no
   10680    save_LDFLAGS=$LDFLAGS
   10681    LDFLAGS="$LDFLAGS -b"
   10682    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10683    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10684      # The linker can only warn and ignore the option if not recognized
   10685      # So say no if there are warnings
   10686      if test -s conftest.err; then
   10687        # Append any errors to the config.log.
   10688        cat conftest.err 1>&5
   10689        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10690        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10691        if diff conftest.exp conftest.er2 >/dev/null; then
   10692          lt_cv_prog_compiler__b=yes
   10693        fi
   10694      else
   10695        lt_cv_prog_compiler__b=yes
   10696      fi
   10697    fi
   10698    $RM -r conftest*
   10699    LDFLAGS=$save_LDFLAGS
   10700 
   10701 fi
   10702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10703 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10704 
   10705 if test yes = "$lt_cv_prog_compiler__b"; then
   10706     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10707 else
   10708     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10709 fi
   10710 
   10711 	  ;;
   10712 	esac
   10713       fi
   10714       if test no = "$with_gnu_ld"; then
   10715 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10716 	hardcode_libdir_separator=:
   10717 
   10718 	case $host_cpu in
   10719 	hppa*64*|ia64*)
   10720 	  hardcode_direct=no
   10721 	  hardcode_shlibpath_var=no
   10722 	  ;;
   10723 	*)
   10724 	  hardcode_direct=yes
   10725 	  hardcode_direct_absolute=yes
   10726 	  export_dynamic_flag_spec='$wl-E'
   10727 
   10728 	  # hardcode_minus_L: Not really in the search PATH,
   10729 	  # but as the default location of the library.
   10730 	  hardcode_minus_L=yes
   10731 	  ;;
   10732 	esac
   10733       fi
   10734       ;;
   10735 
   10736     irix5* | irix6* | nonstopux*)
   10737       if test yes = "$GCC"; then
   10738 	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'
   10739 	# Try to use the -exported_symbol ld option, if it does not
   10740 	# work, assume that -exports_file does not work either and
   10741 	# implicitly export all symbols.
   10742 	# This should be the same for all languages, so no per-tag cache variable.
   10743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10744 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10745 if test ${lt_cv_irix_exported_symbol+y}
   10746 then :
   10747   printf %s "(cached) " >&6
   10748 else $as_nop
   10749   save_LDFLAGS=$LDFLAGS
   10750 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10751 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10752 /* end confdefs.h.  */
   10753 int foo (void) { return 0; }
   10754 _ACEOF
   10755 if ac_fn_c_try_link "$LINENO"
   10756 then :
   10757   lt_cv_irix_exported_symbol=yes
   10758 else $as_nop
   10759   lt_cv_irix_exported_symbol=no
   10760 fi
   10761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10762     conftest$ac_exeext conftest.$ac_ext
   10763            LDFLAGS=$save_LDFLAGS
   10764 fi
   10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10766 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10767 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10768           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'
   10769 	fi
   10770       else
   10771 	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'
   10772 	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'
   10773       fi
   10774       archive_cmds_need_lc='no'
   10775       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10776       hardcode_libdir_separator=:
   10777       inherit_rpath=yes
   10778       link_all_deplibs=yes
   10779       ;;
   10780 
   10781     linux*)
   10782       case $cc_basename in
   10783       tcc*)
   10784 	# Fabrice Bellard et al's Tiny C Compiler
   10785 	ld_shlibs=yes
   10786 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10787 	;;
   10788       esac
   10789       ;;
   10790 
   10791     netbsd*)
   10792       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10793 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10794       else
   10795 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10796       fi
   10797       hardcode_libdir_flag_spec='-R$libdir'
   10798       hardcode_direct=yes
   10799       hardcode_shlibpath_var=no
   10800       ;;
   10801 
   10802     newsos6)
   10803       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10804       hardcode_direct=yes
   10805       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10806       hardcode_libdir_separator=:
   10807       hardcode_shlibpath_var=no
   10808       ;;
   10809 
   10810     *nto* | *qnx*)
   10811       ;;
   10812 
   10813     openbsd* | bitrig*)
   10814       if test -f /usr/libexec/ld.so; then
   10815 	hardcode_direct=yes
   10816 	hardcode_shlibpath_var=no
   10817 	hardcode_direct_absolute=yes
   10818 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10819 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10820 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10821 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10822 	  export_dynamic_flag_spec='$wl-E'
   10823 	else
   10824 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10825 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10826 	fi
   10827       else
   10828 	ld_shlibs=no
   10829       fi
   10830       ;;
   10831 
   10832     os2*)
   10833       hardcode_libdir_flag_spec='-L$libdir'
   10834       hardcode_minus_L=yes
   10835       allow_undefined_flag=unsupported
   10836       shrext_cmds=.dll
   10837       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10838 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10839 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10840 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10841 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10842 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10843 	emximp -o $lib $output_objdir/$libname.def'
   10844       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10845 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10846 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10847 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10848 	prefix_cmds="$SED"~
   10849 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10850 	  prefix_cmds="$prefix_cmds -e 1d";
   10851 	fi~
   10852 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10853 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10854 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10855 	emximp -o $lib $output_objdir/$libname.def'
   10856       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10857       enable_shared_with_static_runtimes=yes
   10858       ;;
   10859 
   10860     osf3*)
   10861       if test yes = "$GCC"; then
   10862 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10863 	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'
   10864       else
   10865 	allow_undefined_flag=' -expect_unresolved \*'
   10866 	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'
   10867       fi
   10868       archive_cmds_need_lc='no'
   10869       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10870       hardcode_libdir_separator=:
   10871       ;;
   10872 
   10873     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10874       if test yes = "$GCC"; then
   10875 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10876 	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'
   10877 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10878       else
   10879 	allow_undefined_flag=' -expect_unresolved \*'
   10880 	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'
   10881 	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~
   10882           $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'
   10883 
   10884 	# Both c and cxx compiler support -rpath directly
   10885 	hardcode_libdir_flag_spec='-rpath $libdir'
   10886       fi
   10887       archive_cmds_need_lc='no'
   10888       hardcode_libdir_separator=:
   10889       ;;
   10890 
   10891     solaris*)
   10892       no_undefined_flag=' -z defs'
   10893       if test yes = "$GCC"; then
   10894 	wlarc='$wl'
   10895 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10896 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10897           $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'
   10898       else
   10899 	case `$CC -V 2>&1` in
   10900 	*"Compilers 5.0"*)
   10901 	  wlarc=''
   10902 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10903 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10904             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10905 	  ;;
   10906 	*)
   10907 	  wlarc='$wl'
   10908 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10909 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10910             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10911 	  ;;
   10912 	esac
   10913       fi
   10914       hardcode_libdir_flag_spec='-R$libdir'
   10915       hardcode_shlibpath_var=no
   10916       case $host_os in
   10917       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10918       *)
   10919 	# The compiler driver will combine and reorder linker options,
   10920 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10921 	# but is careful enough not to reorder.
   10922 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10923 	if test yes = "$GCC"; then
   10924 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10925 	else
   10926 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10927 	fi
   10928 	;;
   10929       esac
   10930       link_all_deplibs=yes
   10931       ;;
   10932 
   10933     sunos4*)
   10934       if test sequent = "$host_vendor"; then
   10935 	# Use $CC to link under sequent, because it throws in some extra .o
   10936 	# files that make .init and .fini sections work.
   10937 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10938       else
   10939 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10940       fi
   10941       hardcode_libdir_flag_spec='-L$libdir'
   10942       hardcode_direct=yes
   10943       hardcode_minus_L=yes
   10944       hardcode_shlibpath_var=no
   10945       ;;
   10946 
   10947     sysv4)
   10948       case $host_vendor in
   10949 	sni)
   10950 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10951 	  hardcode_direct=yes # is this really true???
   10952 	;;
   10953 	siemens)
   10954 	  ## LD is ld it makes a PLAMLIB
   10955 	  ## CC just makes a GrossModule.
   10956 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10957 	  reload_cmds='$CC -r -o $output$reload_objs'
   10958 	  hardcode_direct=no
   10959         ;;
   10960 	motorola)
   10961 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10962 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10963 	;;
   10964       esac
   10965       runpath_var='LD_RUN_PATH'
   10966       hardcode_shlibpath_var=no
   10967       ;;
   10968 
   10969     sysv4.3*)
   10970       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10971       hardcode_shlibpath_var=no
   10972       export_dynamic_flag_spec='-Bexport'
   10973       ;;
   10974 
   10975     sysv4*MP*)
   10976       if test -d /usr/nec; then
   10977 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10978 	hardcode_shlibpath_var=no
   10979 	runpath_var=LD_RUN_PATH
   10980 	hardcode_runpath_var=yes
   10981 	ld_shlibs=yes
   10982       fi
   10983       ;;
   10984 
   10985     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10986       no_undefined_flag='$wl-z,text'
   10987       archive_cmds_need_lc=no
   10988       hardcode_shlibpath_var=no
   10989       runpath_var='LD_RUN_PATH'
   10990 
   10991       if test yes = "$GCC"; then
   10992 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10993 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10994       else
   10995 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10996 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10997       fi
   10998       ;;
   10999 
   11000     sysv5* | sco3.2v5* | sco5v6*)
   11001       # Note: We CANNOT use -z defs as we might desire, because we do not
   11002       # link with -lc, and that would cause any symbols used from libc to
   11003       # always be unresolved, which means just about no library would
   11004       # ever link correctly.  If we're not using GNU ld we use -z text
   11005       # though, which does catch some bad symbols but isn't as heavy-handed
   11006       # as -z defs.
   11007       no_undefined_flag='$wl-z,text'
   11008       allow_undefined_flag='$wl-z,nodefs'
   11009       archive_cmds_need_lc=no
   11010       hardcode_shlibpath_var=no
   11011       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11012       hardcode_libdir_separator=':'
   11013       link_all_deplibs=yes
   11014       export_dynamic_flag_spec='$wl-Bexport'
   11015       runpath_var='LD_RUN_PATH'
   11016 
   11017       if test yes = "$GCC"; then
   11018 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11019 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11020       else
   11021 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11022 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11023       fi
   11024       ;;
   11025 
   11026     uts4*)
   11027       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11028       hardcode_libdir_flag_spec='-L$libdir'
   11029       hardcode_shlibpath_var=no
   11030       ;;
   11031 
   11032     *)
   11033       ld_shlibs=no
   11034       ;;
   11035     esac
   11036 
   11037     if test sni = "$host_vendor"; then
   11038       case $host in
   11039       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11040 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11041 	;;
   11042       esac
   11043     fi
   11044   fi
   11045 
   11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11047 printf "%s\n" "$ld_shlibs" >&6; }
   11048 test no = "$ld_shlibs" && can_build_shared=no
   11049 
   11050 with_gnu_ld=$with_gnu_ld
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 #
   11067 # Do we need to explicitly link libc?
   11068 #
   11069 case "x$archive_cmds_need_lc" in
   11070 x|xyes)
   11071   # Assume -lc should be added
   11072   archive_cmds_need_lc=yes
   11073 
   11074   if test yes,yes = "$GCC,$enable_shared"; then
   11075     case $archive_cmds in
   11076     *'~'*)
   11077       # FIXME: we may have to deal with multi-command sequences.
   11078       ;;
   11079     '$CC '*)
   11080       # Test whether the compiler implicitly links with -lc since on some
   11081       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11082       # to ld, don't add -lc before -lgcc.
   11083       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11084 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11085 if test ${lt_cv_archive_cmds_need_lc+y}
   11086 then :
   11087   printf %s "(cached) " >&6
   11088 else $as_nop
   11089   $RM conftest*
   11090 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11091 
   11092 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11093   (eval $ac_compile) 2>&5
   11094   ac_status=$?
   11095   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11096   test $ac_status = 0; } 2>conftest.err; then
   11097 	  soname=conftest
   11098 	  lib=conftest
   11099 	  libobjs=conftest.$ac_objext
   11100 	  deplibs=
   11101 	  wl=$lt_prog_compiler_wl
   11102 	  pic_flag=$lt_prog_compiler_pic
   11103 	  compiler_flags=-v
   11104 	  linker_flags=-v
   11105 	  verstring=
   11106 	  output_objdir=.
   11107 	  libname=conftest
   11108 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11109 	  allow_undefined_flag=
   11110 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11111   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11112   ac_status=$?
   11113   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11114   test $ac_status = 0; }
   11115 	  then
   11116 	    lt_cv_archive_cmds_need_lc=no
   11117 	  else
   11118 	    lt_cv_archive_cmds_need_lc=yes
   11119 	  fi
   11120 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11121 	else
   11122 	  cat conftest.err 1>&5
   11123 	fi
   11124 	$RM conftest*
   11125 
   11126 fi
   11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11128 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11129       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11130       ;;
   11131     esac
   11132   fi
   11133   ;;
   11134 esac
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11288 printf %s "checking dynamic linker characteristics... " >&6; }
   11289 
   11290 if test yes = "$GCC"; then
   11291   case $host_os in
   11292     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11293     *) lt_awk_arg='/^libraries:/' ;;
   11294   esac
   11295   case $host_os in
   11296     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11297     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11298   esac
   11299   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11300   case $lt_search_path_spec in
   11301   *\;*)
   11302     # if the path contains ";" then we assume it to be the separator
   11303     # otherwise default to the standard path separator (i.e. ":") - it is
   11304     # assumed that no part of a normal pathname contains ";" but that should
   11305     # okay in the real world where ";" in dirpaths is itself problematic.
   11306     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11307     ;;
   11308   *)
   11309     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11310     ;;
   11311   esac
   11312   # Ok, now we have the path, separated by spaces, we can step through it
   11313   # and add multilib dir if necessary...
   11314   lt_tmp_lt_search_path_spec=
   11315   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11316   # ...but if some path component already ends with the multilib dir we assume
   11317   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11318   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11319   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11320     lt_multi_os_dir=
   11321     ;;
   11322   esac
   11323   for lt_sys_path in $lt_search_path_spec; do
   11324     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11325       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11326     elif test -n "$lt_multi_os_dir"; then
   11327       test -d "$lt_sys_path" && \
   11328 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11329     fi
   11330   done
   11331   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11332 BEGIN {RS = " "; FS = "/|\n";} {
   11333   lt_foo = "";
   11334   lt_count = 0;
   11335   for (lt_i = NF; lt_i > 0; lt_i--) {
   11336     if ($lt_i != "" && $lt_i != ".") {
   11337       if ($lt_i == "..") {
   11338         lt_count++;
   11339       } else {
   11340         if (lt_count == 0) {
   11341           lt_foo = "/" $lt_i lt_foo;
   11342         } else {
   11343           lt_count--;
   11344         }
   11345       }
   11346     }
   11347   }
   11348   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11349   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11350 }'`
   11351   # AWK program above erroneously prepends '/' to C:/dos/paths
   11352   # for these hosts.
   11353   case $host_os in
   11354     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11355       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11356   esac
   11357   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11358 else
   11359   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11360 fi
   11361 library_names_spec=
   11362 libname_spec='lib$name'
   11363 soname_spec=
   11364 shrext_cmds=.so
   11365 postinstall_cmds=
   11366 postuninstall_cmds=
   11367 finish_cmds=
   11368 finish_eval=
   11369 shlibpath_var=
   11370 shlibpath_overrides_runpath=unknown
   11371 version_type=none
   11372 dynamic_linker="$host_os ld.so"
   11373 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11374 need_lib_prefix=unknown
   11375 hardcode_into_libs=no
   11376 
   11377 # when you set need_version to no, make sure it does not cause -set_version
   11378 # flags to be left without arguments
   11379 need_version=unknown
   11380 
   11381 
   11382 
   11383 case $host_os in
   11384 aix3*)
   11385   version_type=linux # correct to gnu/linux during the next big refactor
   11386   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11387   shlibpath_var=LIBPATH
   11388 
   11389   # AIX 3 has no versioning support, so we append a major version to the name.
   11390   soname_spec='$libname$release$shared_ext$major'
   11391   ;;
   11392 
   11393 aix[4-9]*)
   11394   version_type=linux # correct to gnu/linux during the next big refactor
   11395   need_lib_prefix=no
   11396   need_version=no
   11397   hardcode_into_libs=yes
   11398   if test ia64 = "$host_cpu"; then
   11399     # AIX 5 supports IA64
   11400     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11401     shlibpath_var=LD_LIBRARY_PATH
   11402   else
   11403     # With GCC up to 2.95.x, collect2 would create an import file
   11404     # for dependence libraries.  The import file would start with
   11405     # the line '#! .'.  This would cause the generated library to
   11406     # depend on '.', always an invalid library.  This was fixed in
   11407     # development snapshots of GCC prior to 3.0.
   11408     case $host_os in
   11409       aix4 | aix4.[01] | aix4.[01].*)
   11410       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11411 	   echo ' yes '
   11412 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11413 	:
   11414       else
   11415 	can_build_shared=no
   11416       fi
   11417       ;;
   11418     esac
   11419     # Using Import Files as archive members, it is possible to support
   11420     # filename-based versioning of shared library archives on AIX. While
   11421     # this would work for both with and without runtime linking, it will
   11422     # prevent static linking of such archives. So we do filename-based
   11423     # shared library versioning with .so extension only, which is used
   11424     # when both runtime linking and shared linking is enabled.
   11425     # Unfortunately, runtime linking may impact performance, so we do
   11426     # not want this to be the default eventually. Also, we use the
   11427     # versioned .so libs for executables only if there is the -brtl
   11428     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11429     # To allow for filename-based versioning support, we need to create
   11430     # libNAME.so.V as an archive file, containing:
   11431     # *) an Import File, referring to the versioned filename of the
   11432     #    archive as well as the shared archive member, telling the
   11433     #    bitwidth (32 or 64) of that shared object, and providing the
   11434     #    list of exported symbols of that shared object, eventually
   11435     #    decorated with the 'weak' keyword
   11436     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11437     #    it being seen by the linker.
   11438     # At run time we better use the real file rather than another symlink,
   11439     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11440 
   11441     case $with_aix_soname,$aix_use_runtimelinking in
   11442     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11443     # soname into executable. Probably we can add versioning support to
   11444     # collect2, so additional links can be useful in future.
   11445     aix,yes) # traditional libtool
   11446       dynamic_linker='AIX unversionable lib.so'
   11447       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11448       # instead of lib<name>.a to let people know that these are not
   11449       # typical AIX shared libraries.
   11450       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11451       ;;
   11452     aix,no) # traditional AIX only
   11453       dynamic_linker='AIX lib.a(lib.so.V)'
   11454       # We preserve .a as extension for shared libraries through AIX4.2
   11455       # and later when we are not doing run time linking.
   11456       library_names_spec='$libname$release.a $libname.a'
   11457       soname_spec='$libname$release$shared_ext$major'
   11458       ;;
   11459     svr4,*) # full svr4 only
   11460       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11461       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11462       # We do not specify a path in Import Files, so LIBPATH fires.
   11463       shlibpath_overrides_runpath=yes
   11464       ;;
   11465     *,yes) # both, prefer svr4
   11466       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11467       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11468       # unpreferred sharedlib libNAME.a needs extra handling
   11469       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"'
   11470       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"'
   11471       # We do not specify a path in Import Files, so LIBPATH fires.
   11472       shlibpath_overrides_runpath=yes
   11473       ;;
   11474     *,no) # both, prefer aix
   11475       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11476       library_names_spec='$libname$release.a $libname.a'
   11477       soname_spec='$libname$release$shared_ext$major'
   11478       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11479       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)'
   11480       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"'
   11481       ;;
   11482     esac
   11483     shlibpath_var=LIBPATH
   11484   fi
   11485   ;;
   11486 
   11487 amigaos*)
   11488   case $host_cpu in
   11489   powerpc)
   11490     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11491     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11492     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11493     ;;
   11494   m68k)
   11495     library_names_spec='$libname.ixlibrary $libname.a'
   11496     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11497     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'
   11498     ;;
   11499   esac
   11500   ;;
   11501 
   11502 beos*)
   11503   library_names_spec='$libname$shared_ext'
   11504   dynamic_linker="$host_os ld.so"
   11505   shlibpath_var=LIBRARY_PATH
   11506   ;;
   11507 
   11508 bsdi[45]*)
   11509   version_type=linux # correct to gnu/linux during the next big refactor
   11510   need_version=no
   11511   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11512   soname_spec='$libname$release$shared_ext$major'
   11513   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11514   shlibpath_var=LD_LIBRARY_PATH
   11515   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11516   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11517   # the default ld.so.conf also contains /usr/contrib/lib and
   11518   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11519   # libtool to hard-code these into programs
   11520   ;;
   11521 
   11522 cygwin* | mingw* | pw32* | cegcc*)
   11523   version_type=windows
   11524   shrext_cmds=.dll
   11525   need_version=no
   11526   need_lib_prefix=no
   11527 
   11528   case $GCC,$cc_basename in
   11529   yes,*)
   11530     # gcc
   11531     library_names_spec='$libname.dll.a'
   11532     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11533     postinstall_cmds='base_file=`basename \$file`~
   11534       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11535       dldir=$destdir/`dirname \$dlpath`~
   11536       test -d \$dldir || mkdir -p \$dldir~
   11537       $install_prog $dir/$dlname \$dldir/$dlname~
   11538       chmod a+x \$dldir/$dlname~
   11539       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11540         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11541       fi'
   11542     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11543       dlpath=$dir/\$dldll~
   11544        $RM \$dlpath'
   11545     shlibpath_overrides_runpath=yes
   11546 
   11547     case $host_os in
   11548     cygwin*)
   11549       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11550       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11551 
   11552       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11553       ;;
   11554     mingw* | cegcc*)
   11555       # MinGW DLLs use traditional 'lib' prefix
   11556       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11557       ;;
   11558     pw32*)
   11559       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11560       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11561       ;;
   11562     esac
   11563     dynamic_linker='Win32 ld.exe'
   11564     ;;
   11565 
   11566   *,cl*)
   11567     # Native MSVC
   11568     libname_spec='$name'
   11569     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11570     library_names_spec='$libname.dll.lib'
   11571 
   11572     case $build_os in
   11573     mingw*)
   11574       sys_lib_search_path_spec=
   11575       lt_save_ifs=$IFS
   11576       IFS=';'
   11577       for lt_path in $LIB
   11578       do
   11579         IFS=$lt_save_ifs
   11580         # Let DOS variable expansion print the short 8.3 style file name.
   11581         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11582         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11583       done
   11584       IFS=$lt_save_ifs
   11585       # Convert to MSYS style.
   11586       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11587       ;;
   11588     cygwin*)
   11589       # Convert to unix form, then to dos form, then back to unix form
   11590       # but this time dos style (no spaces!) so that the unix form looks
   11591       # like /cygdrive/c/PROGRA~1:/cygdr...
   11592       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11593       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11594       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11595       ;;
   11596     *)
   11597       sys_lib_search_path_spec=$LIB
   11598       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11599         # It is most probably a Windows format PATH.
   11600         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11601       else
   11602         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11603       fi
   11604       # FIXME: find the short name or the path components, as spaces are
   11605       # common. (e.g. "Program Files" -> "PROGRA~1")
   11606       ;;
   11607     esac
   11608 
   11609     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11610     postinstall_cmds='base_file=`basename \$file`~
   11611       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11612       dldir=$destdir/`dirname \$dlpath`~
   11613       test -d \$dldir || mkdir -p \$dldir~
   11614       $install_prog $dir/$dlname \$dldir/$dlname'
   11615     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11616       dlpath=$dir/\$dldll~
   11617        $RM \$dlpath'
   11618     shlibpath_overrides_runpath=yes
   11619     dynamic_linker='Win32 link.exe'
   11620     ;;
   11621 
   11622   *)
   11623     # Assume MSVC wrapper
   11624     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11625     dynamic_linker='Win32 ld.exe'
   11626     ;;
   11627   esac
   11628   # FIXME: first we should search . and the directory the executable is in
   11629   shlibpath_var=PATH
   11630   ;;
   11631 
   11632 darwin* | rhapsody*)
   11633   dynamic_linker="$host_os dyld"
   11634   version_type=darwin
   11635   need_lib_prefix=no
   11636   need_version=no
   11637   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11638   soname_spec='$libname$release$major$shared_ext'
   11639   shlibpath_overrides_runpath=yes
   11640   shlibpath_var=DYLD_LIBRARY_PATH
   11641   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11642 
   11643   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11644   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11645   ;;
   11646 
   11647 dgux*)
   11648   version_type=linux # correct to gnu/linux during the next big refactor
   11649   need_lib_prefix=no
   11650   need_version=no
   11651   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11652   soname_spec='$libname$release$shared_ext$major'
   11653   shlibpath_var=LD_LIBRARY_PATH
   11654   ;;
   11655 
   11656 freebsd* | dragonfly*)
   11657   # DragonFly does not have aout.  When/if they implement a new
   11658   # versioning mechanism, adjust this.
   11659   if test -x /usr/bin/objformat; then
   11660     objformat=`/usr/bin/objformat`
   11661   else
   11662     case $host_os in
   11663     freebsd[23].*) objformat=aout ;;
   11664     *) objformat=elf ;;
   11665     esac
   11666   fi
   11667   version_type=freebsd-$objformat
   11668   case $version_type in
   11669     freebsd-elf*)
   11670       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11671       soname_spec='$libname$release$shared_ext$major'
   11672       need_version=no
   11673       need_lib_prefix=no
   11674       ;;
   11675     freebsd-*)
   11676       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11677       need_version=yes
   11678       ;;
   11679   esac
   11680   shlibpath_var=LD_LIBRARY_PATH
   11681   case $host_os in
   11682   freebsd2.*)
   11683     shlibpath_overrides_runpath=yes
   11684     ;;
   11685   freebsd3.[01]* | freebsdelf3.[01]*)
   11686     shlibpath_overrides_runpath=yes
   11687     hardcode_into_libs=yes
   11688     ;;
   11689   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11690   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11691     shlibpath_overrides_runpath=no
   11692     hardcode_into_libs=yes
   11693     ;;
   11694   *) # from 4.6 on, and DragonFly
   11695     shlibpath_overrides_runpath=yes
   11696     hardcode_into_libs=yes
   11697     ;;
   11698   esac
   11699   ;;
   11700 
   11701 haiku*)
   11702   version_type=linux # correct to gnu/linux during the next big refactor
   11703   need_lib_prefix=no
   11704   need_version=no
   11705   dynamic_linker="$host_os runtime_loader"
   11706   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11707   soname_spec='$libname$release$shared_ext$major'
   11708   shlibpath_var=LIBRARY_PATH
   11709   shlibpath_overrides_runpath=no
   11710   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11711   hardcode_into_libs=yes
   11712   ;;
   11713 
   11714 hpux9* | hpux10* | hpux11*)
   11715   # Give a soname corresponding to the major version so that dld.sl refuses to
   11716   # link against other versions.
   11717   version_type=sunos
   11718   need_lib_prefix=no
   11719   need_version=no
   11720   case $host_cpu in
   11721   ia64*)
   11722     shrext_cmds='.so'
   11723     hardcode_into_libs=yes
   11724     dynamic_linker="$host_os dld.so"
   11725     shlibpath_var=LD_LIBRARY_PATH
   11726     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11727     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11728     soname_spec='$libname$release$shared_ext$major'
   11729     if test 32 = "$HPUX_IA64_MODE"; then
   11730       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11731       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11732     else
   11733       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11734       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11735     fi
   11736     ;;
   11737   hppa*64*)
   11738     shrext_cmds='.sl'
   11739     hardcode_into_libs=yes
   11740     dynamic_linker="$host_os dld.sl"
   11741     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11742     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11743     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11744     soname_spec='$libname$release$shared_ext$major'
   11745     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11746     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11747     ;;
   11748   *)
   11749     shrext_cmds='.sl'
   11750     dynamic_linker="$host_os dld.sl"
   11751     shlibpath_var=SHLIB_PATH
   11752     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11753     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11754     soname_spec='$libname$release$shared_ext$major'
   11755     ;;
   11756   esac
   11757   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11758   postinstall_cmds='chmod 555 $lib'
   11759   # or fails outright, so override atomically:
   11760   install_override_mode=555
   11761   ;;
   11762 
   11763 interix[3-9]*)
   11764   version_type=linux # correct to gnu/linux during the next big refactor
   11765   need_lib_prefix=no
   11766   need_version=no
   11767   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11768   soname_spec='$libname$release$shared_ext$major'
   11769   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11770   shlibpath_var=LD_LIBRARY_PATH
   11771   shlibpath_overrides_runpath=no
   11772   hardcode_into_libs=yes
   11773   ;;
   11774 
   11775 irix5* | irix6* | nonstopux*)
   11776   case $host_os in
   11777     nonstopux*) version_type=nonstopux ;;
   11778     *)
   11779 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11780 		version_type=linux # correct to gnu/linux during the next big refactor
   11781 	else
   11782 		version_type=irix
   11783 	fi ;;
   11784   esac
   11785   need_lib_prefix=no
   11786   need_version=no
   11787   soname_spec='$libname$release$shared_ext$major'
   11788   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11789   case $host_os in
   11790   irix5* | nonstopux*)
   11791     libsuff= shlibsuff=
   11792     ;;
   11793   *)
   11794     case $LD in # libtool.m4 will add one of these switches to LD
   11795     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11796       libsuff= shlibsuff= libmagic=32-bit;;
   11797     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11798       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11799     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11800       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11801     *) libsuff= shlibsuff= libmagic=never-match;;
   11802     esac
   11803     ;;
   11804   esac
   11805   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11806   shlibpath_overrides_runpath=no
   11807   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11808   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11809   hardcode_into_libs=yes
   11810   ;;
   11811 
   11812 # No shared lib support for Linux oldld, aout, or coff.
   11813 linux*oldld* | linux*aout* | linux*coff*)
   11814   dynamic_linker=no
   11815   ;;
   11816 
   11817 linux*android*)
   11818   version_type=none # Android doesn't support versioned libraries.
   11819   need_lib_prefix=no
   11820   need_version=no
   11821   library_names_spec='$libname$release$shared_ext'
   11822   soname_spec='$libname$release$shared_ext'
   11823   finish_cmds=
   11824   shlibpath_var=LD_LIBRARY_PATH
   11825   shlibpath_overrides_runpath=yes
   11826 
   11827   # This implies no fast_install, which is unacceptable.
   11828   # Some rework will be needed to allow for fast_install
   11829   # before this can be enabled.
   11830   hardcode_into_libs=yes
   11831 
   11832   dynamic_linker='Android linker'
   11833   # Don't embed -rpath directories since the linker doesn't support them.
   11834   hardcode_libdir_flag_spec='-L$libdir'
   11835   ;;
   11836 
   11837 # This must be glibc/ELF.
   11838 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11839   version_type=linux # correct to gnu/linux during the next big refactor
   11840   need_lib_prefix=no
   11841   need_version=no
   11842   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11843   soname_spec='$libname$release$shared_ext$major'
   11844   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11845   shlibpath_var=LD_LIBRARY_PATH
   11846   shlibpath_overrides_runpath=no
   11847 
   11848   # Some binutils ld are patched to set DT_RUNPATH
   11849   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11850 then :
   11851   printf %s "(cached) " >&6
   11852 else $as_nop
   11853   lt_cv_shlibpath_overrides_runpath=no
   11854     save_LDFLAGS=$LDFLAGS
   11855     save_libdir=$libdir
   11856     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11857 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11858     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11859 /* end confdefs.h.  */
   11860 
   11861 int
   11862 main (void)
   11863 {
   11864 
   11865   ;
   11866   return 0;
   11867 }
   11868 _ACEOF
   11869 if ac_fn_c_try_link "$LINENO"
   11870 then :
   11871   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11872 then :
   11873   lt_cv_shlibpath_overrides_runpath=yes
   11874 fi
   11875 fi
   11876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11877     conftest$ac_exeext conftest.$ac_ext
   11878     LDFLAGS=$save_LDFLAGS
   11879     libdir=$save_libdir
   11880 
   11881 fi
   11882 
   11883   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11884 
   11885   # This implies no fast_install, which is unacceptable.
   11886   # Some rework will be needed to allow for fast_install
   11887   # before this can be enabled.
   11888   hardcode_into_libs=yes
   11889 
   11890   # Ideally, we could use ldconfig to report *all* directores which are
   11891   # searched for libraries, however this is still not possible.  Aside from not
   11892   # being certain /sbin/ldconfig is available, command
   11893   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11894   # even though it is searched at run-time.  Try to do the best guess by
   11895   # appending ld.so.conf contents (and includes) to the search path.
   11896   if test -f /etc/ld.so.conf; then
   11897     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' ' '`
   11898     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11899   fi
   11900 
   11901   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11902   # powerpc, because MkLinux only supported shared libraries with the
   11903   # GNU dynamic linker.  Since this was broken with cross compilers,
   11904   # most powerpc-linux boxes support dynamic linking these days and
   11905   # people can always --disable-shared, the test was removed, and we
   11906   # assume the GNU/Linux dynamic linker is in use.
   11907   dynamic_linker='GNU/Linux ld.so'
   11908   ;;
   11909 
   11910 netbsd*)
   11911   version_type=sunos
   11912   need_lib_prefix=no
   11913   need_version=no
   11914   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11915     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11916     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11917     dynamic_linker='NetBSD (a.out) ld.so'
   11918   else
   11919     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11920     soname_spec='$libname$release$shared_ext$major'
   11921     dynamic_linker='NetBSD ld.elf_so'
   11922   fi
   11923   shlibpath_var=LD_LIBRARY_PATH
   11924   shlibpath_overrides_runpath=yes
   11925   hardcode_into_libs=yes
   11926   ;;
   11927 
   11928 newsos6)
   11929   version_type=linux # correct to gnu/linux during the next big refactor
   11930   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11931   shlibpath_var=LD_LIBRARY_PATH
   11932   shlibpath_overrides_runpath=yes
   11933   ;;
   11934 
   11935 *nto* | *qnx*)
   11936   version_type=qnx
   11937   need_lib_prefix=no
   11938   need_version=no
   11939   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11940   soname_spec='$libname$release$shared_ext$major'
   11941   shlibpath_var=LD_LIBRARY_PATH
   11942   shlibpath_overrides_runpath=no
   11943   hardcode_into_libs=yes
   11944   dynamic_linker='ldqnx.so'
   11945   ;;
   11946 
   11947 openbsd* | bitrig*)
   11948   version_type=sunos
   11949   sys_lib_dlsearch_path_spec=/usr/lib
   11950   need_lib_prefix=no
   11951   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11952     need_version=no
   11953   else
   11954     need_version=yes
   11955   fi
   11956   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11957   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11958   shlibpath_var=LD_LIBRARY_PATH
   11959   shlibpath_overrides_runpath=yes
   11960   ;;
   11961 
   11962 os2*)
   11963   libname_spec='$name'
   11964   version_type=windows
   11965   shrext_cmds=.dll
   11966   need_version=no
   11967   need_lib_prefix=no
   11968   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11969   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11970     v=$($ECHO $release$versuffix | tr -d .-);
   11971     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11972     $ECHO $n$v`$shared_ext'
   11973   library_names_spec='${libname}_dll.$libext'
   11974   dynamic_linker='OS/2 ld.exe'
   11975   shlibpath_var=BEGINLIBPATH
   11976   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11977   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11978   postinstall_cmds='base_file=`basename \$file`~
   11979     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11980     dldir=$destdir/`dirname \$dlpath`~
   11981     test -d \$dldir || mkdir -p \$dldir~
   11982     $install_prog $dir/$dlname \$dldir/$dlname~
   11983     chmod a+x \$dldir/$dlname~
   11984     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11985       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11986     fi'
   11987   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11988     dlpath=$dir/\$dldll~
   11989     $RM \$dlpath'
   11990   ;;
   11991 
   11992 osf3* | osf4* | osf5*)
   11993   version_type=osf
   11994   need_lib_prefix=no
   11995   need_version=no
   11996   soname_spec='$libname$release$shared_ext$major'
   11997   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11998   shlibpath_var=LD_LIBRARY_PATH
   11999   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12000   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12001   ;;
   12002 
   12003 rdos*)
   12004   dynamic_linker=no
   12005   ;;
   12006 
   12007 solaris*)
   12008   version_type=linux # correct to gnu/linux during the next big refactor
   12009   need_lib_prefix=no
   12010   need_version=no
   12011   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12012   soname_spec='$libname$release$shared_ext$major'
   12013   shlibpath_var=LD_LIBRARY_PATH
   12014   shlibpath_overrides_runpath=yes
   12015   hardcode_into_libs=yes
   12016   # ldd complains unless libraries are executable
   12017   postinstall_cmds='chmod +x $lib'
   12018   ;;
   12019 
   12020 sunos4*)
   12021   version_type=sunos
   12022   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12023   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12024   shlibpath_var=LD_LIBRARY_PATH
   12025   shlibpath_overrides_runpath=yes
   12026   if test yes = "$with_gnu_ld"; then
   12027     need_lib_prefix=no
   12028   fi
   12029   need_version=yes
   12030   ;;
   12031 
   12032 sysv4 | sysv4.3*)
   12033   version_type=linux # correct to gnu/linux during the next big refactor
   12034   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12035   soname_spec='$libname$release$shared_ext$major'
   12036   shlibpath_var=LD_LIBRARY_PATH
   12037   case $host_vendor in
   12038     sni)
   12039       shlibpath_overrides_runpath=no
   12040       need_lib_prefix=no
   12041       runpath_var=LD_RUN_PATH
   12042       ;;
   12043     siemens)
   12044       need_lib_prefix=no
   12045       ;;
   12046     motorola)
   12047       need_lib_prefix=no
   12048       need_version=no
   12049       shlibpath_overrides_runpath=no
   12050       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12051       ;;
   12052   esac
   12053   ;;
   12054 
   12055 sysv4*MP*)
   12056   if test -d /usr/nec; then
   12057     version_type=linux # correct to gnu/linux during the next big refactor
   12058     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12059     soname_spec='$libname$shared_ext.$major'
   12060     shlibpath_var=LD_LIBRARY_PATH
   12061   fi
   12062   ;;
   12063 
   12064 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12065   version_type=sco
   12066   need_lib_prefix=no
   12067   need_version=no
   12068   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12069   soname_spec='$libname$release$shared_ext$major'
   12070   shlibpath_var=LD_LIBRARY_PATH
   12071   shlibpath_overrides_runpath=yes
   12072   hardcode_into_libs=yes
   12073   if test yes = "$with_gnu_ld"; then
   12074     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12075   else
   12076     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12077     case $host_os in
   12078       sco3.2v5*)
   12079         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12080 	;;
   12081     esac
   12082   fi
   12083   sys_lib_dlsearch_path_spec='/usr/lib'
   12084   ;;
   12085 
   12086 tpf*)
   12087   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12088   version_type=linux # correct to gnu/linux during the next big refactor
   12089   need_lib_prefix=no
   12090   need_version=no
   12091   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12092   shlibpath_var=LD_LIBRARY_PATH
   12093   shlibpath_overrides_runpath=no
   12094   hardcode_into_libs=yes
   12095   ;;
   12096 
   12097 uts4*)
   12098   version_type=linux # correct to gnu/linux during the next big refactor
   12099   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12100   soname_spec='$libname$release$shared_ext$major'
   12101   shlibpath_var=LD_LIBRARY_PATH
   12102   ;;
   12103 
   12104 *)
   12105   dynamic_linker=no
   12106   ;;
   12107 esac
   12108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12109 printf "%s\n" "$dynamic_linker" >&6; }
   12110 test no = "$dynamic_linker" && can_build_shared=no
   12111 
   12112 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12113 if test yes = "$GCC"; then
   12114   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12115 fi
   12116 
   12117 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12118   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12119 fi
   12120 
   12121 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12122   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12123 fi
   12124 
   12125 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12126 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12127 
   12128 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12129 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12130 
   12131 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12132 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 
   12176 
   12177 
   12178 
   12179 
   12180 
   12181 
   12182 
   12183 
   12184 
   12185 
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 
   12203 
   12204 
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12231 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12232 hardcode_action=
   12233 if test -n "$hardcode_libdir_flag_spec" ||
   12234    test -n "$runpath_var" ||
   12235    test yes = "$hardcode_automatic"; then
   12236 
   12237   # We can hardcode non-existent directories.
   12238   if test no != "$hardcode_direct" &&
   12239      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12240      # have to relink, otherwise we might link with an installed library
   12241      # when we should be linking with a yet-to-be-installed one
   12242      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12243      test no != "$hardcode_minus_L"; then
   12244     # Linking always hardcodes the temporary library directory.
   12245     hardcode_action=relink
   12246   else
   12247     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12248     hardcode_action=immediate
   12249   fi
   12250 else
   12251   # We cannot hardcode anything, or else we can only hardcode existing
   12252   # directories.
   12253   hardcode_action=unsupported
   12254 fi
   12255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12256 printf "%s\n" "$hardcode_action" >&6; }
   12257 
   12258 if test relink = "$hardcode_action" ||
   12259    test yes = "$inherit_rpath"; then
   12260   # Fast installation is not supported
   12261   enable_fast_install=no
   12262 elif test yes = "$shlibpath_overrides_runpath" ||
   12263      test no = "$enable_shared"; then
   12264   # Fast installation is not necessary
   12265   enable_fast_install=needless
   12266 fi
   12267 
   12268 
   12269 
   12270 
   12271 
   12272 
   12273   if test yes != "$enable_dlopen"; then
   12274   enable_dlopen=unknown
   12275   enable_dlopen_self=unknown
   12276   enable_dlopen_self_static=unknown
   12277 else
   12278   lt_cv_dlopen=no
   12279   lt_cv_dlopen_libs=
   12280 
   12281   case $host_os in
   12282   beos*)
   12283     lt_cv_dlopen=load_add_on
   12284     lt_cv_dlopen_libs=
   12285     lt_cv_dlopen_self=yes
   12286     ;;
   12287 
   12288   mingw* | pw32* | cegcc*)
   12289     lt_cv_dlopen=LoadLibrary
   12290     lt_cv_dlopen_libs=
   12291     ;;
   12292 
   12293   cygwin*)
   12294     lt_cv_dlopen=dlopen
   12295     lt_cv_dlopen_libs=
   12296     ;;
   12297 
   12298   darwin*)
   12299     # if libdl is installed we need to link against it
   12300     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12301 printf %s "checking for dlopen in -ldl... " >&6; }
   12302 if test ${ac_cv_lib_dl_dlopen+y}
   12303 then :
   12304   printf %s "(cached) " >&6
   12305 else $as_nop
   12306   ac_check_lib_save_LIBS=$LIBS
   12307 LIBS="-ldl  $LIBS"
   12308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12309 /* end confdefs.h.  */
   12310 
   12311 /* Override any GCC internal prototype to avoid an error.
   12312    Use char because int might match the return type of a GCC
   12313    builtin and then its argument prototype would still apply.  */
   12314 char dlopen ();
   12315 int
   12316 main (void)
   12317 {
   12318 return dlopen ();
   12319   ;
   12320   return 0;
   12321 }
   12322 _ACEOF
   12323 if ac_fn_c_try_link "$LINENO"
   12324 then :
   12325   ac_cv_lib_dl_dlopen=yes
   12326 else $as_nop
   12327   ac_cv_lib_dl_dlopen=no
   12328 fi
   12329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12330     conftest$ac_exeext conftest.$ac_ext
   12331 LIBS=$ac_check_lib_save_LIBS
   12332 fi
   12333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12334 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12335 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12336 then :
   12337   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12338 else $as_nop
   12339 
   12340     lt_cv_dlopen=dyld
   12341     lt_cv_dlopen_libs=
   12342     lt_cv_dlopen_self=yes
   12343 
   12344 fi
   12345 
   12346     ;;
   12347 
   12348   tpf*)
   12349     # Don't try to run any link tests for TPF.  We know it's impossible
   12350     # because TPF is a cross-compiler, and we know how we open DSOs.
   12351     lt_cv_dlopen=dlopen
   12352     lt_cv_dlopen_libs=
   12353     lt_cv_dlopen_self=no
   12354     ;;
   12355 
   12356   *)
   12357     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12358 if test "x$ac_cv_func_shl_load" = xyes
   12359 then :
   12360   lt_cv_dlopen=shl_load
   12361 else $as_nop
   12362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12363 printf %s "checking for shl_load in -ldld... " >&6; }
   12364 if test ${ac_cv_lib_dld_shl_load+y}
   12365 then :
   12366   printf %s "(cached) " >&6
   12367 else $as_nop
   12368   ac_check_lib_save_LIBS=$LIBS
   12369 LIBS="-ldld  $LIBS"
   12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12371 /* end confdefs.h.  */
   12372 
   12373 /* Override any GCC internal prototype to avoid an error.
   12374    Use char because int might match the return type of a GCC
   12375    builtin and then its argument prototype would still apply.  */
   12376 char shl_load ();
   12377 int
   12378 main (void)
   12379 {
   12380 return shl_load ();
   12381   ;
   12382   return 0;
   12383 }
   12384 _ACEOF
   12385 if ac_fn_c_try_link "$LINENO"
   12386 then :
   12387   ac_cv_lib_dld_shl_load=yes
   12388 else $as_nop
   12389   ac_cv_lib_dld_shl_load=no
   12390 fi
   12391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12392     conftest$ac_exeext conftest.$ac_ext
   12393 LIBS=$ac_check_lib_save_LIBS
   12394 fi
   12395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12396 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12397 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12398 then :
   12399   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12400 else $as_nop
   12401   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12402 if test "x$ac_cv_func_dlopen" = xyes
   12403 then :
   12404   lt_cv_dlopen=dlopen
   12405 else $as_nop
   12406   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12407 printf %s "checking for dlopen in -ldl... " >&6; }
   12408 if test ${ac_cv_lib_dl_dlopen+y}
   12409 then :
   12410   printf %s "(cached) " >&6
   12411 else $as_nop
   12412   ac_check_lib_save_LIBS=$LIBS
   12413 LIBS="-ldl  $LIBS"
   12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12415 /* end confdefs.h.  */
   12416 
   12417 /* Override any GCC internal prototype to avoid an error.
   12418    Use char because int might match the return type of a GCC
   12419    builtin and then its argument prototype would still apply.  */
   12420 char dlopen ();
   12421 int
   12422 main (void)
   12423 {
   12424 return dlopen ();
   12425   ;
   12426   return 0;
   12427 }
   12428 _ACEOF
   12429 if ac_fn_c_try_link "$LINENO"
   12430 then :
   12431   ac_cv_lib_dl_dlopen=yes
   12432 else $as_nop
   12433   ac_cv_lib_dl_dlopen=no
   12434 fi
   12435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12436     conftest$ac_exeext conftest.$ac_ext
   12437 LIBS=$ac_check_lib_save_LIBS
   12438 fi
   12439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12440 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12441 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12442 then :
   12443   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12444 else $as_nop
   12445   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12446 printf %s "checking for dlopen in -lsvld... " >&6; }
   12447 if test ${ac_cv_lib_svld_dlopen+y}
   12448 then :
   12449   printf %s "(cached) " >&6
   12450 else $as_nop
   12451   ac_check_lib_save_LIBS=$LIBS
   12452 LIBS="-lsvld  $LIBS"
   12453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12454 /* end confdefs.h.  */
   12455 
   12456 /* Override any GCC internal prototype to avoid an error.
   12457    Use char because int might match the return type of a GCC
   12458    builtin and then its argument prototype would still apply.  */
   12459 char dlopen ();
   12460 int
   12461 main (void)
   12462 {
   12463 return dlopen ();
   12464   ;
   12465   return 0;
   12466 }
   12467 _ACEOF
   12468 if ac_fn_c_try_link "$LINENO"
   12469 then :
   12470   ac_cv_lib_svld_dlopen=yes
   12471 else $as_nop
   12472   ac_cv_lib_svld_dlopen=no
   12473 fi
   12474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12475     conftest$ac_exeext conftest.$ac_ext
   12476 LIBS=$ac_check_lib_save_LIBS
   12477 fi
   12478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12479 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12480 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12481 then :
   12482   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12483 else $as_nop
   12484   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12485 printf %s "checking for dld_link in -ldld... " >&6; }
   12486 if test ${ac_cv_lib_dld_dld_link+y}
   12487 then :
   12488   printf %s "(cached) " >&6
   12489 else $as_nop
   12490   ac_check_lib_save_LIBS=$LIBS
   12491 LIBS="-ldld  $LIBS"
   12492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12493 /* end confdefs.h.  */
   12494 
   12495 /* Override any GCC internal prototype to avoid an error.
   12496    Use char because int might match the return type of a GCC
   12497    builtin and then its argument prototype would still apply.  */
   12498 char dld_link ();
   12499 int
   12500 main (void)
   12501 {
   12502 return dld_link ();
   12503   ;
   12504   return 0;
   12505 }
   12506 _ACEOF
   12507 if ac_fn_c_try_link "$LINENO"
   12508 then :
   12509   ac_cv_lib_dld_dld_link=yes
   12510 else $as_nop
   12511   ac_cv_lib_dld_dld_link=no
   12512 fi
   12513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12514     conftest$ac_exeext conftest.$ac_ext
   12515 LIBS=$ac_check_lib_save_LIBS
   12516 fi
   12517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12518 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12519 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12520 then :
   12521   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12522 fi
   12523 
   12524 
   12525 fi
   12526 
   12527 
   12528 fi
   12529 
   12530 
   12531 fi
   12532 
   12533 
   12534 fi
   12535 
   12536 
   12537 fi
   12538 
   12539     ;;
   12540   esac
   12541 
   12542   if test no = "$lt_cv_dlopen"; then
   12543     enable_dlopen=no
   12544   else
   12545     enable_dlopen=yes
   12546   fi
   12547 
   12548   case $lt_cv_dlopen in
   12549   dlopen)
   12550     save_CPPFLAGS=$CPPFLAGS
   12551     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12552 
   12553     save_LDFLAGS=$LDFLAGS
   12554     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12555 
   12556     save_LIBS=$LIBS
   12557     LIBS="$lt_cv_dlopen_libs $LIBS"
   12558 
   12559     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12560 printf %s "checking whether a program can dlopen itself... " >&6; }
   12561 if test ${lt_cv_dlopen_self+y}
   12562 then :
   12563   printf %s "(cached) " >&6
   12564 else $as_nop
   12565   	  if test yes = "$cross_compiling"; then :
   12566   lt_cv_dlopen_self=cross
   12567 else
   12568   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12569   lt_status=$lt_dlunknown
   12570   cat > conftest.$ac_ext <<_LT_EOF
   12571 #line $LINENO "configure"
   12572 #include "confdefs.h"
   12573 
   12574 #if HAVE_DLFCN_H
   12575 #include <dlfcn.h>
   12576 #endif
   12577 
   12578 #include <stdio.h>
   12579 
   12580 #ifdef RTLD_GLOBAL
   12581 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12582 #else
   12583 #  ifdef DL_GLOBAL
   12584 #    define LT_DLGLOBAL		DL_GLOBAL
   12585 #  else
   12586 #    define LT_DLGLOBAL		0
   12587 #  endif
   12588 #endif
   12589 
   12590 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12591    find out it does not work in some platform. */
   12592 #ifndef LT_DLLAZY_OR_NOW
   12593 #  ifdef RTLD_LAZY
   12594 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12595 #  else
   12596 #    ifdef DL_LAZY
   12597 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12598 #    else
   12599 #      ifdef RTLD_NOW
   12600 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12601 #      else
   12602 #        ifdef DL_NOW
   12603 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12604 #        else
   12605 #          define LT_DLLAZY_OR_NOW	0
   12606 #        endif
   12607 #      endif
   12608 #    endif
   12609 #  endif
   12610 #endif
   12611 
   12612 /* When -fvisibility=hidden is used, assume the code has been annotated
   12613    correspondingly for the symbols needed.  */
   12614 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12615 int fnord () __attribute__((visibility("default")));
   12616 #endif
   12617 
   12618 int fnord () { return 42; }
   12619 int main ()
   12620 {
   12621   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12622   int status = $lt_dlunknown;
   12623 
   12624   if (self)
   12625     {
   12626       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12627       else
   12628         {
   12629 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12630           else puts (dlerror ());
   12631 	}
   12632       /* dlclose (self); */
   12633     }
   12634   else
   12635     puts (dlerror ());
   12636 
   12637   return status;
   12638 }
   12639 _LT_EOF
   12640   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12641   (eval $ac_link) 2>&5
   12642   ac_status=$?
   12643   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12644   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12645     (./conftest; exit; ) >&5 2>/dev/null
   12646     lt_status=$?
   12647     case x$lt_status in
   12648       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12649       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12650       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12651     esac
   12652   else :
   12653     # compilation failed
   12654     lt_cv_dlopen_self=no
   12655   fi
   12656 fi
   12657 rm -fr conftest*
   12658 
   12659 
   12660 fi
   12661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12662 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12663 
   12664     if test yes = "$lt_cv_dlopen_self"; then
   12665       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12666       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12667 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12668 if test ${lt_cv_dlopen_self_static+y}
   12669 then :
   12670   printf %s "(cached) " >&6
   12671 else $as_nop
   12672   	  if test yes = "$cross_compiling"; then :
   12673   lt_cv_dlopen_self_static=cross
   12674 else
   12675   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12676   lt_status=$lt_dlunknown
   12677   cat > conftest.$ac_ext <<_LT_EOF
   12678 #line $LINENO "configure"
   12679 #include "confdefs.h"
   12680 
   12681 #if HAVE_DLFCN_H
   12682 #include <dlfcn.h>
   12683 #endif
   12684 
   12685 #include <stdio.h>
   12686 
   12687 #ifdef RTLD_GLOBAL
   12688 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12689 #else
   12690 #  ifdef DL_GLOBAL
   12691 #    define LT_DLGLOBAL		DL_GLOBAL
   12692 #  else
   12693 #    define LT_DLGLOBAL		0
   12694 #  endif
   12695 #endif
   12696 
   12697 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12698    find out it does not work in some platform. */
   12699 #ifndef LT_DLLAZY_OR_NOW
   12700 #  ifdef RTLD_LAZY
   12701 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12702 #  else
   12703 #    ifdef DL_LAZY
   12704 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12705 #    else
   12706 #      ifdef RTLD_NOW
   12707 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12708 #      else
   12709 #        ifdef DL_NOW
   12710 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12711 #        else
   12712 #          define LT_DLLAZY_OR_NOW	0
   12713 #        endif
   12714 #      endif
   12715 #    endif
   12716 #  endif
   12717 #endif
   12718 
   12719 /* When -fvisibility=hidden is used, assume the code has been annotated
   12720    correspondingly for the symbols needed.  */
   12721 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12722 int fnord () __attribute__((visibility("default")));
   12723 #endif
   12724 
   12725 int fnord () { return 42; }
   12726 int main ()
   12727 {
   12728   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12729   int status = $lt_dlunknown;
   12730 
   12731   if (self)
   12732     {
   12733       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12734       else
   12735         {
   12736 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12737           else puts (dlerror ());
   12738 	}
   12739       /* dlclose (self); */
   12740     }
   12741   else
   12742     puts (dlerror ());
   12743 
   12744   return status;
   12745 }
   12746 _LT_EOF
   12747   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12748   (eval $ac_link) 2>&5
   12749   ac_status=$?
   12750   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12751   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12752     (./conftest; exit; ) >&5 2>/dev/null
   12753     lt_status=$?
   12754     case x$lt_status in
   12755       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12756       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12757       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12758     esac
   12759   else :
   12760     # compilation failed
   12761     lt_cv_dlopen_self_static=no
   12762   fi
   12763 fi
   12764 rm -fr conftest*
   12765 
   12766 
   12767 fi
   12768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12769 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12770     fi
   12771 
   12772     CPPFLAGS=$save_CPPFLAGS
   12773     LDFLAGS=$save_LDFLAGS
   12774     LIBS=$save_LIBS
   12775     ;;
   12776   esac
   12777 
   12778   case $lt_cv_dlopen_self in
   12779   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12780   *) enable_dlopen_self=unknown ;;
   12781   esac
   12782 
   12783   case $lt_cv_dlopen_self_static in
   12784   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12785   *) enable_dlopen_self_static=unknown ;;
   12786   esac
   12787 fi
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 striplib=
   12806 old_striplib=
   12807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12808 printf %s "checking whether stripping libraries is possible... " >&6; }
   12809 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12810   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12811   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12813 printf "%s\n" "yes" >&6; }
   12814 else
   12815 # FIXME - insert some real tests, host_os isn't really good enough
   12816   case $host_os in
   12817   darwin*)
   12818     if test -n "$STRIP"; then
   12819       striplib="$STRIP -x"
   12820       old_striplib="$STRIP -S"
   12821       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12822 printf "%s\n" "yes" >&6; }
   12823     else
   12824       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12825 printf "%s\n" "no" >&6; }
   12826     fi
   12827     ;;
   12828   *)
   12829     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12830 printf "%s\n" "no" >&6; }
   12831     ;;
   12832   esac
   12833 fi
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 
   12844 
   12845 
   12846   # Report what library types will actually be built
   12847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12848 printf %s "checking if libtool supports shared libraries... " >&6; }
   12849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12850 printf "%s\n" "$can_build_shared" >&6; }
   12851 
   12852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12853 printf %s "checking whether to build shared libraries... " >&6; }
   12854   test no = "$can_build_shared" && enable_shared=no
   12855 
   12856   # On AIX, shared libraries and static libraries use the same namespace, and
   12857   # are all built from PIC.
   12858   case $host_os in
   12859   aix3*)
   12860     test yes = "$enable_shared" && enable_static=no
   12861     if test -n "$RANLIB"; then
   12862       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12863       postinstall_cmds='$RANLIB $lib'
   12864     fi
   12865     ;;
   12866 
   12867   aix[4-9]*)
   12868     if test ia64 != "$host_cpu"; then
   12869       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12870       yes,aix,yes) ;;			# shared object as lib.so file only
   12871       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12872       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12873       esac
   12874     fi
   12875     ;;
   12876   esac
   12877   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12878 printf "%s\n" "$enable_shared" >&6; }
   12879 
   12880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12881 printf %s "checking whether to build static libraries... " >&6; }
   12882   # Make sure either enable_shared or enable_static is yes.
   12883   test yes = "$enable_shared" || enable_static=yes
   12884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12885 printf "%s\n" "$enable_static" >&6; }
   12886 
   12887 
   12888 
   12889 
   12890 fi
   12891 ac_ext=c
   12892 ac_cpp='$CPP $CPPFLAGS'
   12893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12896 
   12897 CC=$lt_save_CC
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913         ac_config_commands="$ac_config_commands libtool"
   12914 
   12915 
   12916 
   12917 
   12918 # Only expand once:
   12919 
   12920 
   12921 
   12922 # Require xorg-macros minimum of 1.10 for DocBook XML documentation
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 
   12935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12936 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12937 if test ${ac_cv_c_undeclared_builtin_options+y}
   12938 then :
   12939   printf %s "(cached) " >&6
   12940 else $as_nop
   12941   ac_save_CFLAGS=$CFLAGS
   12942    ac_cv_c_undeclared_builtin_options='cannot detect'
   12943    for ac_arg in '' -fno-builtin; do
   12944      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12945      # This test program should *not* compile successfully.
   12946      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12947 /* end confdefs.h.  */
   12948 
   12949 int
   12950 main (void)
   12951 {
   12952 (void) strchr;
   12953   ;
   12954   return 0;
   12955 }
   12956 _ACEOF
   12957 if ac_fn_c_try_compile "$LINENO"
   12958 then :
   12959 
   12960 else $as_nop
   12961   # This test program should compile successfully.
   12962         # No library function is consistently available on
   12963         # freestanding implementations, so test against a dummy
   12964         # declaration.  Include always-available headers on the
   12965         # off chance that they somehow elicit warnings.
   12966         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12967 /* end confdefs.h.  */
   12968 #include <float.h>
   12969 #include <limits.h>
   12970 #include <stdarg.h>
   12971 #include <stddef.h>
   12972 extern void ac_decl (int, char *);
   12973 
   12974 int
   12975 main (void)
   12976 {
   12977 (void) ac_decl (0, (char *) 0);
   12978   (void) ac_decl;
   12979 
   12980   ;
   12981   return 0;
   12982 }
   12983 _ACEOF
   12984 if ac_fn_c_try_compile "$LINENO"
   12985 then :
   12986   if test x"$ac_arg" = x
   12987 then :
   12988   ac_cv_c_undeclared_builtin_options='none needed'
   12989 else $as_nop
   12990   ac_cv_c_undeclared_builtin_options=$ac_arg
   12991 fi
   12992           break
   12993 fi
   12994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12995 fi
   12996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12997     done
   12998     CFLAGS=$ac_save_CFLAGS
   12999 
   13000 fi
   13001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13002 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13003   case $ac_cv_c_undeclared_builtin_options in #(
   13004   'cannot detect') :
   13005     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13006 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   13007 as_fn_error $? "cannot make $CC report undeclared builtins
   13008 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   13009   'none needed') :
   13010     ac_c_undeclared_builtin_options='' ;; #(
   13011   *) :
   13012     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13013 esac
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13020 if test "x$ac_cv_have_decl___clang__" = xyes
   13021 then :
   13022   CLANGCC="yes"
   13023 else $as_nop
   13024   CLANGCC="no"
   13025 fi
   13026 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13027 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13028 then :
   13029   INTELCC="yes"
   13030 else $as_nop
   13031   INTELCC="no"
   13032 fi
   13033 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13034 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13035 then :
   13036   SUNCC="yes"
   13037 else $as_nop
   13038   SUNCC="no"
   13039 fi
   13040 
   13041 
   13042 
   13043 
   13044 
   13045 
   13046 
   13047 
   13048 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13049 	if test -n "$ac_tool_prefix"; then
   13050   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13051 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13053 printf %s "checking for $ac_word... " >&6; }
   13054 if test ${ac_cv_path_PKG_CONFIG+y}
   13055 then :
   13056   printf %s "(cached) " >&6
   13057 else $as_nop
   13058   case $PKG_CONFIG in
   13059   [\\/]* | ?:[\\/]*)
   13060   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13061   ;;
   13062   *)
   13063   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13064 for as_dir in $PATH
   13065 do
   13066   IFS=$as_save_IFS
   13067   case $as_dir in #(((
   13068     '') as_dir=./ ;;
   13069     */) ;;
   13070     *) as_dir=$as_dir/ ;;
   13071   esac
   13072     for ac_exec_ext in '' $ac_executable_extensions; do
   13073   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13074     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13075     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13076     break 2
   13077   fi
   13078 done
   13079   done
   13080 IFS=$as_save_IFS
   13081 
   13082   ;;
   13083 esac
   13084 fi
   13085 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13086 if test -n "$PKG_CONFIG"; then
   13087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13088 printf "%s\n" "$PKG_CONFIG" >&6; }
   13089 else
   13090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13091 printf "%s\n" "no" >&6; }
   13092 fi
   13093 
   13094 
   13095 fi
   13096 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13097   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13098   # Extract the first word of "pkg-config", so it can be a program name with args.
   13099 set dummy pkg-config; ac_word=$2
   13100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13101 printf %s "checking for $ac_word... " >&6; }
   13102 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13103 then :
   13104   printf %s "(cached) " >&6
   13105 else $as_nop
   13106   case $ac_pt_PKG_CONFIG in
   13107   [\\/]* | ?:[\\/]*)
   13108   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13109   ;;
   13110   *)
   13111   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13112 for as_dir in $PATH
   13113 do
   13114   IFS=$as_save_IFS
   13115   case $as_dir in #(((
   13116     '') as_dir=./ ;;
   13117     */) ;;
   13118     *) as_dir=$as_dir/ ;;
   13119   esac
   13120     for ac_exec_ext in '' $ac_executable_extensions; do
   13121   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13122     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13123     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13124     break 2
   13125   fi
   13126 done
   13127   done
   13128 IFS=$as_save_IFS
   13129 
   13130   ;;
   13131 esac
   13132 fi
   13133 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13134 if test -n "$ac_pt_PKG_CONFIG"; then
   13135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13136 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13137 else
   13138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13139 printf "%s\n" "no" >&6; }
   13140 fi
   13141 
   13142   if test "x$ac_pt_PKG_CONFIG" = x; then
   13143     PKG_CONFIG=""
   13144   else
   13145     case $cross_compiling:$ac_tool_warned in
   13146 yes:)
   13147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13148 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13149 ac_tool_warned=yes ;;
   13150 esac
   13151     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13152   fi
   13153 else
   13154   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13155 fi
   13156 
   13157 fi
   13158 if test -n "$PKG_CONFIG"; then
   13159 	_pkg_min_version=0.9.0
   13160 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13161 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13162 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13164 printf "%s\n" "yes" >&6; }
   13165 	else
   13166 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13167 printf "%s\n" "no" >&6; }
   13168 		PKG_CONFIG=""
   13169 	fi
   13170 fi
   13171 
   13172 
   13173 
   13174 
   13175 
   13176 # Check whether --enable-selective-werror was given.
   13177 if test ${enable_selective_werror+y}
   13178 then :
   13179   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13180 else $as_nop
   13181   SELECTIVE_WERROR=yes
   13182 fi
   13183 
   13184 
   13185 
   13186 
   13187 
   13188 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13189 if test "x$SUNCC" = "xyes"; then
   13190     BASE_CFLAGS="-v"
   13191 else
   13192     BASE_CFLAGS=""
   13193 fi
   13194 
   13195 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13196 
   13197 
   13198 
   13199 
   13200 
   13201 
   13202 
   13203 
   13204 
   13205 
   13206 
   13207 
   13208 
   13209 xorg_testset_save_CFLAGS="$CFLAGS"
   13210 
   13211 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13212 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13213 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13214 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13215 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13216 then :
   13217   printf %s "(cached) " >&6
   13218 else $as_nop
   13219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13220 /* end confdefs.h.  */
   13221 int i;
   13222 _ACEOF
   13223 if ac_fn_c_try_compile "$LINENO"
   13224 then :
   13225   xorg_cv_cc_flag_unknown_warning_option=yes
   13226 else $as_nop
   13227   xorg_cv_cc_flag_unknown_warning_option=no
   13228 fi
   13229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13230 fi
   13231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13232 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13233 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13234 	CFLAGS="$xorg_testset_save_CFLAGS"
   13235 fi
   13236 
   13237 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13238 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13239 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13240 	fi
   13241 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13242 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13243 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13244 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13245 then :
   13246   printf %s "(cached) " >&6
   13247 else $as_nop
   13248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13249 /* end confdefs.h.  */
   13250 int i;
   13251 _ACEOF
   13252 if ac_fn_c_try_compile "$LINENO"
   13253 then :
   13254   xorg_cv_cc_flag_unused_command_line_argument=yes
   13255 else $as_nop
   13256   xorg_cv_cc_flag_unused_command_line_argument=no
   13257 fi
   13258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13259 fi
   13260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13261 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13262 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13263 	CFLAGS="$xorg_testset_save_CFLAGS"
   13264 fi
   13265 
   13266 found="no"
   13267 
   13268 	if test $found = "no" ; then
   13269 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13270 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13271 		fi
   13272 
   13273 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13274 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13275 		fi
   13276 
   13277 		CFLAGS="$CFLAGS -Wall"
   13278 
   13279 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13280 printf %s "checking if $CC supports -Wall... " >&6; }
   13281 		cacheid=xorg_cv_cc_flag__Wall
   13282 		if eval test \${$cacheid+y}
   13283 then :
   13284   printf %s "(cached) " >&6
   13285 else $as_nop
   13286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13287 /* end confdefs.h.  */
   13288 int i;
   13289 int
   13290 main (void)
   13291 {
   13292 
   13293   ;
   13294   return 0;
   13295 }
   13296 _ACEOF
   13297 if ac_fn_c_try_link "$LINENO"
   13298 then :
   13299   eval $cacheid=yes
   13300 else $as_nop
   13301   eval $cacheid=no
   13302 fi
   13303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13304     conftest$ac_exeext conftest.$ac_ext
   13305 fi
   13306 
   13307 
   13308 		CFLAGS="$xorg_testset_save_CFLAGS"
   13309 
   13310 		eval supported=\$$cacheid
   13311 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13312 printf "%s\n" "$supported" >&6; }
   13313 		if test "$supported" = "yes" ; then
   13314 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13315 			found="yes"
   13316 		fi
   13317 	fi
   13318 
   13319 
   13320 
   13321 
   13322 
   13323 
   13324 
   13325 
   13326 
   13327 
   13328 
   13329 
   13330 
   13331 
   13332 
   13333 xorg_testset_save_CFLAGS="$CFLAGS"
   13334 
   13335 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13336 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13337 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13338 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13339 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13340 then :
   13341   printf %s "(cached) " >&6
   13342 else $as_nop
   13343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13344 /* end confdefs.h.  */
   13345 int i;
   13346 _ACEOF
   13347 if ac_fn_c_try_compile "$LINENO"
   13348 then :
   13349   xorg_cv_cc_flag_unknown_warning_option=yes
   13350 else $as_nop
   13351   xorg_cv_cc_flag_unknown_warning_option=no
   13352 fi
   13353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13354 fi
   13355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13356 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13358 	CFLAGS="$xorg_testset_save_CFLAGS"
   13359 fi
   13360 
   13361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13364 	fi
   13365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13366 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13367 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13368 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13369 then :
   13370   printf %s "(cached) " >&6
   13371 else $as_nop
   13372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13373 /* end confdefs.h.  */
   13374 int i;
   13375 _ACEOF
   13376 if ac_fn_c_try_compile "$LINENO"
   13377 then :
   13378   xorg_cv_cc_flag_unused_command_line_argument=yes
   13379 else $as_nop
   13380   xorg_cv_cc_flag_unused_command_line_argument=no
   13381 fi
   13382 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13383 fi
   13384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13385 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13386 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13387 	CFLAGS="$xorg_testset_save_CFLAGS"
   13388 fi
   13389 
   13390 found="no"
   13391 
   13392 	if test $found = "no" ; then
   13393 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13395 		fi
   13396 
   13397 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13399 		fi
   13400 
   13401 		CFLAGS="$CFLAGS -Wpointer-arith"
   13402 
   13403 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13404 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13405 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13406 		if eval test \${$cacheid+y}
   13407 then :
   13408   printf %s "(cached) " >&6
   13409 else $as_nop
   13410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13411 /* end confdefs.h.  */
   13412 int i;
   13413 int
   13414 main (void)
   13415 {
   13416 
   13417   ;
   13418   return 0;
   13419 }
   13420 _ACEOF
   13421 if ac_fn_c_try_link "$LINENO"
   13422 then :
   13423   eval $cacheid=yes
   13424 else $as_nop
   13425   eval $cacheid=no
   13426 fi
   13427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13428     conftest$ac_exeext conftest.$ac_ext
   13429 fi
   13430 
   13431 
   13432 		CFLAGS="$xorg_testset_save_CFLAGS"
   13433 
   13434 		eval supported=\$$cacheid
   13435 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13436 printf "%s\n" "$supported" >&6; }
   13437 		if test "$supported" = "yes" ; then
   13438 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13439 			found="yes"
   13440 		fi
   13441 	fi
   13442 
   13443 
   13444 
   13445 
   13446 
   13447 
   13448 
   13449 
   13450 
   13451 
   13452 
   13453 
   13454 
   13455 
   13456 
   13457 xorg_testset_save_CFLAGS="$CFLAGS"
   13458 
   13459 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13460 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13461 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13462 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13463 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13464 then :
   13465   printf %s "(cached) " >&6
   13466 else $as_nop
   13467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13468 /* end confdefs.h.  */
   13469 int i;
   13470 _ACEOF
   13471 if ac_fn_c_try_compile "$LINENO"
   13472 then :
   13473   xorg_cv_cc_flag_unknown_warning_option=yes
   13474 else $as_nop
   13475   xorg_cv_cc_flag_unknown_warning_option=no
   13476 fi
   13477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13478 fi
   13479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13480 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13481 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13482 	CFLAGS="$xorg_testset_save_CFLAGS"
   13483 fi
   13484 
   13485 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13486 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13487 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13488 	fi
   13489 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13490 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13491 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13492 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13493 then :
   13494   printf %s "(cached) " >&6
   13495 else $as_nop
   13496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13497 /* end confdefs.h.  */
   13498 int i;
   13499 _ACEOF
   13500 if ac_fn_c_try_compile "$LINENO"
   13501 then :
   13502   xorg_cv_cc_flag_unused_command_line_argument=yes
   13503 else $as_nop
   13504   xorg_cv_cc_flag_unused_command_line_argument=no
   13505 fi
   13506 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13507 fi
   13508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13509 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13510 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13511 	CFLAGS="$xorg_testset_save_CFLAGS"
   13512 fi
   13513 
   13514 found="no"
   13515 
   13516 	if test $found = "no" ; then
   13517 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13518 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13519 		fi
   13520 
   13521 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13522 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13523 		fi
   13524 
   13525 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13526 
   13527 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13528 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13529 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13530 		if eval test \${$cacheid+y}
   13531 then :
   13532   printf %s "(cached) " >&6
   13533 else $as_nop
   13534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13535 /* end confdefs.h.  */
   13536 int i;
   13537 int
   13538 main (void)
   13539 {
   13540 
   13541   ;
   13542   return 0;
   13543 }
   13544 _ACEOF
   13545 if ac_fn_c_try_link "$LINENO"
   13546 then :
   13547   eval $cacheid=yes
   13548 else $as_nop
   13549   eval $cacheid=no
   13550 fi
   13551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13552     conftest$ac_exeext conftest.$ac_ext
   13553 fi
   13554 
   13555 
   13556 		CFLAGS="$xorg_testset_save_CFLAGS"
   13557 
   13558 		eval supported=\$$cacheid
   13559 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13560 printf "%s\n" "$supported" >&6; }
   13561 		if test "$supported" = "yes" ; then
   13562 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13563 			found="yes"
   13564 		fi
   13565 	fi
   13566 
   13567 
   13568 
   13569 
   13570 
   13571 
   13572 
   13573 
   13574 
   13575 
   13576 
   13577 
   13578 
   13579 
   13580 
   13581 xorg_testset_save_CFLAGS="$CFLAGS"
   13582 
   13583 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13584 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13585 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13586 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13587 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13588 then :
   13589   printf %s "(cached) " >&6
   13590 else $as_nop
   13591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13592 /* end confdefs.h.  */
   13593 int i;
   13594 _ACEOF
   13595 if ac_fn_c_try_compile "$LINENO"
   13596 then :
   13597   xorg_cv_cc_flag_unknown_warning_option=yes
   13598 else $as_nop
   13599   xorg_cv_cc_flag_unknown_warning_option=no
   13600 fi
   13601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13602 fi
   13603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13604 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13605 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13606 	CFLAGS="$xorg_testset_save_CFLAGS"
   13607 fi
   13608 
   13609 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13610 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13612 	fi
   13613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13615 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13616 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13617 then :
   13618   printf %s "(cached) " >&6
   13619 else $as_nop
   13620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13621 /* end confdefs.h.  */
   13622 int i;
   13623 _ACEOF
   13624 if ac_fn_c_try_compile "$LINENO"
   13625 then :
   13626   xorg_cv_cc_flag_unused_command_line_argument=yes
   13627 else $as_nop
   13628   xorg_cv_cc_flag_unused_command_line_argument=no
   13629 fi
   13630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13631 fi
   13632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13633 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13635 	CFLAGS="$xorg_testset_save_CFLAGS"
   13636 fi
   13637 
   13638 found="no"
   13639 
   13640 	if test $found = "no" ; then
   13641 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13643 		fi
   13644 
   13645 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13647 		fi
   13648 
   13649 		CFLAGS="$CFLAGS -Wformat=2"
   13650 
   13651 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13652 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13653 		cacheid=xorg_cv_cc_flag__Wformat_2
   13654 		if eval test \${$cacheid+y}
   13655 then :
   13656   printf %s "(cached) " >&6
   13657 else $as_nop
   13658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13659 /* end confdefs.h.  */
   13660 int i;
   13661 int
   13662 main (void)
   13663 {
   13664 
   13665   ;
   13666   return 0;
   13667 }
   13668 _ACEOF
   13669 if ac_fn_c_try_link "$LINENO"
   13670 then :
   13671   eval $cacheid=yes
   13672 else $as_nop
   13673   eval $cacheid=no
   13674 fi
   13675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13676     conftest$ac_exeext conftest.$ac_ext
   13677 fi
   13678 
   13679 
   13680 		CFLAGS="$xorg_testset_save_CFLAGS"
   13681 
   13682 		eval supported=\$$cacheid
   13683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13684 printf "%s\n" "$supported" >&6; }
   13685 		if test "$supported" = "yes" ; then
   13686 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13687 			found="yes"
   13688 		fi
   13689 	fi
   13690 
   13691 	if test $found = "no" ; then
   13692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13694 		fi
   13695 
   13696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13698 		fi
   13699 
   13700 		CFLAGS="$CFLAGS -Wformat"
   13701 
   13702 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13703 printf %s "checking if $CC supports -Wformat... " >&6; }
   13704 		cacheid=xorg_cv_cc_flag__Wformat
   13705 		if eval test \${$cacheid+y}
   13706 then :
   13707   printf %s "(cached) " >&6
   13708 else $as_nop
   13709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13710 /* end confdefs.h.  */
   13711 int i;
   13712 int
   13713 main (void)
   13714 {
   13715 
   13716   ;
   13717   return 0;
   13718 }
   13719 _ACEOF
   13720 if ac_fn_c_try_link "$LINENO"
   13721 then :
   13722   eval $cacheid=yes
   13723 else $as_nop
   13724   eval $cacheid=no
   13725 fi
   13726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13727     conftest$ac_exeext conftest.$ac_ext
   13728 fi
   13729 
   13730 
   13731 		CFLAGS="$xorg_testset_save_CFLAGS"
   13732 
   13733 		eval supported=\$$cacheid
   13734 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13735 printf "%s\n" "$supported" >&6; }
   13736 		if test "$supported" = "yes" ; then
   13737 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13738 			found="yes"
   13739 		fi
   13740 	fi
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 xorg_testset_save_CFLAGS="$CFLAGS"
   13759 
   13760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13762 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13763 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13764 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13765 then :
   13766   printf %s "(cached) " >&6
   13767 else $as_nop
   13768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13769 /* end confdefs.h.  */
   13770 int i;
   13771 _ACEOF
   13772 if ac_fn_c_try_compile "$LINENO"
   13773 then :
   13774   xorg_cv_cc_flag_unknown_warning_option=yes
   13775 else $as_nop
   13776   xorg_cv_cc_flag_unknown_warning_option=no
   13777 fi
   13778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13779 fi
   13780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13781 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13782 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13783 	CFLAGS="$xorg_testset_save_CFLAGS"
   13784 fi
   13785 
   13786 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13787 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13788 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13789 	fi
   13790 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13791 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13792 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13793 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13794 then :
   13795   printf %s "(cached) " >&6
   13796 else $as_nop
   13797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13798 /* end confdefs.h.  */
   13799 int i;
   13800 _ACEOF
   13801 if ac_fn_c_try_compile "$LINENO"
   13802 then :
   13803   xorg_cv_cc_flag_unused_command_line_argument=yes
   13804 else $as_nop
   13805   xorg_cv_cc_flag_unused_command_line_argument=no
   13806 fi
   13807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13808 fi
   13809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13810 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13811 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13812 	CFLAGS="$xorg_testset_save_CFLAGS"
   13813 fi
   13814 
   13815 found="no"
   13816 
   13817 	if test $found = "no" ; then
   13818 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13819 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13820 		fi
   13821 
   13822 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13823 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13824 		fi
   13825 
   13826 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13827 
   13828 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13829 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13830 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13831 		if eval test \${$cacheid+y}
   13832 then :
   13833   printf %s "(cached) " >&6
   13834 else $as_nop
   13835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13836 /* end confdefs.h.  */
   13837 int i;
   13838 int
   13839 main (void)
   13840 {
   13841 
   13842   ;
   13843   return 0;
   13844 }
   13845 _ACEOF
   13846 if ac_fn_c_try_link "$LINENO"
   13847 then :
   13848   eval $cacheid=yes
   13849 else $as_nop
   13850   eval $cacheid=no
   13851 fi
   13852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13853     conftest$ac_exeext conftest.$ac_ext
   13854 fi
   13855 
   13856 
   13857 		CFLAGS="$xorg_testset_save_CFLAGS"
   13858 
   13859 		eval supported=\$$cacheid
   13860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13861 printf "%s\n" "$supported" >&6; }
   13862 		if test "$supported" = "yes" ; then
   13863 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13864 			found="yes"
   13865 		fi
   13866 	fi
   13867 
   13868 
   13869 
   13870 
   13871 
   13872 
   13873 
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 xorg_testset_save_CFLAGS="$CFLAGS"
   13883 
   13884 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13885 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13886 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13887 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13888 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13889 then :
   13890   printf %s "(cached) " >&6
   13891 else $as_nop
   13892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13893 /* end confdefs.h.  */
   13894 int i;
   13895 _ACEOF
   13896 if ac_fn_c_try_compile "$LINENO"
   13897 then :
   13898   xorg_cv_cc_flag_unknown_warning_option=yes
   13899 else $as_nop
   13900   xorg_cv_cc_flag_unknown_warning_option=no
   13901 fi
   13902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13903 fi
   13904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13905 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13907 	CFLAGS="$xorg_testset_save_CFLAGS"
   13908 fi
   13909 
   13910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13913 	fi
   13914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13915 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13916 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13917 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13918 then :
   13919   printf %s "(cached) " >&6
   13920 else $as_nop
   13921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13922 /* end confdefs.h.  */
   13923 int i;
   13924 _ACEOF
   13925 if ac_fn_c_try_compile "$LINENO"
   13926 then :
   13927   xorg_cv_cc_flag_unused_command_line_argument=yes
   13928 else $as_nop
   13929   xorg_cv_cc_flag_unused_command_line_argument=no
   13930 fi
   13931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13932 fi
   13933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13934 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13936 	CFLAGS="$xorg_testset_save_CFLAGS"
   13937 fi
   13938 
   13939 found="no"
   13940 
   13941 	if test $found = "no" ; then
   13942 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13944 		fi
   13945 
   13946 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13948 		fi
   13949 
   13950 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13951 
   13952 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13953 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13954 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13955 		if eval test \${$cacheid+y}
   13956 then :
   13957   printf %s "(cached) " >&6
   13958 else $as_nop
   13959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13960 /* end confdefs.h.  */
   13961 int i;
   13962 int
   13963 main (void)
   13964 {
   13965 
   13966   ;
   13967   return 0;
   13968 }
   13969 _ACEOF
   13970 if ac_fn_c_try_link "$LINENO"
   13971 then :
   13972   eval $cacheid=yes
   13973 else $as_nop
   13974   eval $cacheid=no
   13975 fi
   13976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13977     conftest$ac_exeext conftest.$ac_ext
   13978 fi
   13979 
   13980 
   13981 		CFLAGS="$xorg_testset_save_CFLAGS"
   13982 
   13983 		eval supported=\$$cacheid
   13984 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13985 printf "%s\n" "$supported" >&6; }
   13986 		if test "$supported" = "yes" ; then
   13987 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13988 			found="yes"
   13989 		fi
   13990 	fi
   13991 
   13992 
   13993 
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 xorg_testset_save_CFLAGS="$CFLAGS"
   14007 
   14008 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14009 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14010 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14011 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14012 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14013 then :
   14014   printf %s "(cached) " >&6
   14015 else $as_nop
   14016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14017 /* end confdefs.h.  */
   14018 int i;
   14019 _ACEOF
   14020 if ac_fn_c_try_compile "$LINENO"
   14021 then :
   14022   xorg_cv_cc_flag_unknown_warning_option=yes
   14023 else $as_nop
   14024   xorg_cv_cc_flag_unknown_warning_option=no
   14025 fi
   14026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14027 fi
   14028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14029 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14031 	CFLAGS="$xorg_testset_save_CFLAGS"
   14032 fi
   14033 
   14034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14037 	fi
   14038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14039 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14040 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14041 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14042 then :
   14043   printf %s "(cached) " >&6
   14044 else $as_nop
   14045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14046 /* end confdefs.h.  */
   14047 int i;
   14048 _ACEOF
   14049 if ac_fn_c_try_compile "$LINENO"
   14050 then :
   14051   xorg_cv_cc_flag_unused_command_line_argument=yes
   14052 else $as_nop
   14053   xorg_cv_cc_flag_unused_command_line_argument=no
   14054 fi
   14055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14056 fi
   14057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14058 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14059 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14060 	CFLAGS="$xorg_testset_save_CFLAGS"
   14061 fi
   14062 
   14063 found="no"
   14064 
   14065 	if test $found = "no" ; then
   14066 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14068 		fi
   14069 
   14070 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14072 		fi
   14073 
   14074 		CFLAGS="$CFLAGS -Wnested-externs"
   14075 
   14076 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14077 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14078 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14079 		if eval test \${$cacheid+y}
   14080 then :
   14081   printf %s "(cached) " >&6
   14082 else $as_nop
   14083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14084 /* end confdefs.h.  */
   14085 int i;
   14086 int
   14087 main (void)
   14088 {
   14089 
   14090   ;
   14091   return 0;
   14092 }
   14093 _ACEOF
   14094 if ac_fn_c_try_link "$LINENO"
   14095 then :
   14096   eval $cacheid=yes
   14097 else $as_nop
   14098   eval $cacheid=no
   14099 fi
   14100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14101     conftest$ac_exeext conftest.$ac_ext
   14102 fi
   14103 
   14104 
   14105 		CFLAGS="$xorg_testset_save_CFLAGS"
   14106 
   14107 		eval supported=\$$cacheid
   14108 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14109 printf "%s\n" "$supported" >&6; }
   14110 		if test "$supported" = "yes" ; then
   14111 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14112 			found="yes"
   14113 		fi
   14114 	fi
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 
   14128 
   14129 
   14130 xorg_testset_save_CFLAGS="$CFLAGS"
   14131 
   14132 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14133 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14134 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14135 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14136 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14137 then :
   14138   printf %s "(cached) " >&6
   14139 else $as_nop
   14140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14141 /* end confdefs.h.  */
   14142 int i;
   14143 _ACEOF
   14144 if ac_fn_c_try_compile "$LINENO"
   14145 then :
   14146   xorg_cv_cc_flag_unknown_warning_option=yes
   14147 else $as_nop
   14148   xorg_cv_cc_flag_unknown_warning_option=no
   14149 fi
   14150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14151 fi
   14152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14153 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14154 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14155 	CFLAGS="$xorg_testset_save_CFLAGS"
   14156 fi
   14157 
   14158 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14159 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14160 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14161 	fi
   14162 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14163 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14164 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14165 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14166 then :
   14167   printf %s "(cached) " >&6
   14168 else $as_nop
   14169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14170 /* end confdefs.h.  */
   14171 int i;
   14172 _ACEOF
   14173 if ac_fn_c_try_compile "$LINENO"
   14174 then :
   14175   xorg_cv_cc_flag_unused_command_line_argument=yes
   14176 else $as_nop
   14177   xorg_cv_cc_flag_unused_command_line_argument=no
   14178 fi
   14179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14180 fi
   14181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14182 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14183 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14184 	CFLAGS="$xorg_testset_save_CFLAGS"
   14185 fi
   14186 
   14187 found="no"
   14188 
   14189 	if test $found = "no" ; then
   14190 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14191 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14192 		fi
   14193 
   14194 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14195 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14196 		fi
   14197 
   14198 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14199 
   14200 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14201 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14202 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14203 		if eval test \${$cacheid+y}
   14204 then :
   14205   printf %s "(cached) " >&6
   14206 else $as_nop
   14207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14208 /* end confdefs.h.  */
   14209 int i;
   14210 int
   14211 main (void)
   14212 {
   14213 
   14214   ;
   14215   return 0;
   14216 }
   14217 _ACEOF
   14218 if ac_fn_c_try_link "$LINENO"
   14219 then :
   14220   eval $cacheid=yes
   14221 else $as_nop
   14222   eval $cacheid=no
   14223 fi
   14224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14225     conftest$ac_exeext conftest.$ac_ext
   14226 fi
   14227 
   14228 
   14229 		CFLAGS="$xorg_testset_save_CFLAGS"
   14230 
   14231 		eval supported=\$$cacheid
   14232 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14233 printf "%s\n" "$supported" >&6; }
   14234 		if test "$supported" = "yes" ; then
   14235 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14236 			found="yes"
   14237 		fi
   14238 	fi
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 
   14245 
   14246 
   14247 
   14248 
   14249 
   14250 
   14251 
   14252 
   14253 
   14254 xorg_testset_save_CFLAGS="$CFLAGS"
   14255 
   14256 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14257 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14258 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14259 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14260 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14261 then :
   14262   printf %s "(cached) " >&6
   14263 else $as_nop
   14264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14265 /* end confdefs.h.  */
   14266 int i;
   14267 _ACEOF
   14268 if ac_fn_c_try_compile "$LINENO"
   14269 then :
   14270   xorg_cv_cc_flag_unknown_warning_option=yes
   14271 else $as_nop
   14272   xorg_cv_cc_flag_unknown_warning_option=no
   14273 fi
   14274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14275 fi
   14276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14277 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14278 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14279 	CFLAGS="$xorg_testset_save_CFLAGS"
   14280 fi
   14281 
   14282 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14283 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14284 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14285 	fi
   14286 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14288 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14289 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14290 then :
   14291   printf %s "(cached) " >&6
   14292 else $as_nop
   14293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14294 /* end confdefs.h.  */
   14295 int i;
   14296 _ACEOF
   14297 if ac_fn_c_try_compile "$LINENO"
   14298 then :
   14299   xorg_cv_cc_flag_unused_command_line_argument=yes
   14300 else $as_nop
   14301   xorg_cv_cc_flag_unused_command_line_argument=no
   14302 fi
   14303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14304 fi
   14305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14306 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14307 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14308 	CFLAGS="$xorg_testset_save_CFLAGS"
   14309 fi
   14310 
   14311 found="no"
   14312 
   14313 	if test $found = "no" ; then
   14314 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14315 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14316 		fi
   14317 
   14318 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14319 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14320 		fi
   14321 
   14322 		CFLAGS="$CFLAGS -Wold-style-definition"
   14323 
   14324 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14325 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14326 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14327 		if eval test \${$cacheid+y}
   14328 then :
   14329   printf %s "(cached) " >&6
   14330 else $as_nop
   14331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14332 /* end confdefs.h.  */
   14333 int i;
   14334 int
   14335 main (void)
   14336 {
   14337 
   14338   ;
   14339   return 0;
   14340 }
   14341 _ACEOF
   14342 if ac_fn_c_try_link "$LINENO"
   14343 then :
   14344   eval $cacheid=yes
   14345 else $as_nop
   14346   eval $cacheid=no
   14347 fi
   14348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14349     conftest$ac_exeext conftest.$ac_ext
   14350 fi
   14351 
   14352 
   14353 		CFLAGS="$xorg_testset_save_CFLAGS"
   14354 
   14355 		eval supported=\$$cacheid
   14356 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14357 printf "%s\n" "$supported" >&6; }
   14358 		if test "$supported" = "yes" ; then
   14359 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14360 			found="yes"
   14361 		fi
   14362 	fi
   14363 
   14364 	if test $found = "no" ; then
   14365 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14366 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14367 		fi
   14368 
   14369 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14370 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14371 		fi
   14372 
   14373 		CFLAGS="$CFLAGS -fd"
   14374 
   14375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14376 printf %s "checking if $CC supports -fd... " >&6; }
   14377 		cacheid=xorg_cv_cc_flag__fd
   14378 		if eval test \${$cacheid+y}
   14379 then :
   14380   printf %s "(cached) " >&6
   14381 else $as_nop
   14382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14383 /* end confdefs.h.  */
   14384 int i;
   14385 int
   14386 main (void)
   14387 {
   14388 
   14389   ;
   14390   return 0;
   14391 }
   14392 _ACEOF
   14393 if ac_fn_c_try_link "$LINENO"
   14394 then :
   14395   eval $cacheid=yes
   14396 else $as_nop
   14397   eval $cacheid=no
   14398 fi
   14399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14400     conftest$ac_exeext conftest.$ac_ext
   14401 fi
   14402 
   14403 
   14404 		CFLAGS="$xorg_testset_save_CFLAGS"
   14405 
   14406 		eval supported=\$$cacheid
   14407 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14408 printf "%s\n" "$supported" >&6; }
   14409 		if test "$supported" = "yes" ; then
   14410 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14411 			found="yes"
   14412 		fi
   14413 	fi
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 
   14425 
   14426 
   14427 
   14428 
   14429 xorg_testset_save_CFLAGS="$CFLAGS"
   14430 
   14431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14433 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14434 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14435 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14436 then :
   14437   printf %s "(cached) " >&6
   14438 else $as_nop
   14439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14440 /* end confdefs.h.  */
   14441 int i;
   14442 _ACEOF
   14443 if ac_fn_c_try_compile "$LINENO"
   14444 then :
   14445   xorg_cv_cc_flag_unknown_warning_option=yes
   14446 else $as_nop
   14447   xorg_cv_cc_flag_unknown_warning_option=no
   14448 fi
   14449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14450 fi
   14451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14452 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14454 	CFLAGS="$xorg_testset_save_CFLAGS"
   14455 fi
   14456 
   14457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14460 	fi
   14461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14462 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14463 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14464 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14465 then :
   14466   printf %s "(cached) " >&6
   14467 else $as_nop
   14468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14469 /* end confdefs.h.  */
   14470 int i;
   14471 _ACEOF
   14472 if ac_fn_c_try_compile "$LINENO"
   14473 then :
   14474   xorg_cv_cc_flag_unused_command_line_argument=yes
   14475 else $as_nop
   14476   xorg_cv_cc_flag_unused_command_line_argument=no
   14477 fi
   14478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14479 fi
   14480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14481 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14483 	CFLAGS="$xorg_testset_save_CFLAGS"
   14484 fi
   14485 
   14486 found="no"
   14487 
   14488 	if test $found = "no" ; then
   14489 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14491 		fi
   14492 
   14493 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14495 		fi
   14496 
   14497 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14498 
   14499 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14500 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14501 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14502 		if eval test \${$cacheid+y}
   14503 then :
   14504   printf %s "(cached) " >&6
   14505 else $as_nop
   14506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14507 /* end confdefs.h.  */
   14508 int i;
   14509 int
   14510 main (void)
   14511 {
   14512 
   14513   ;
   14514   return 0;
   14515 }
   14516 _ACEOF
   14517 if ac_fn_c_try_link "$LINENO"
   14518 then :
   14519   eval $cacheid=yes
   14520 else $as_nop
   14521   eval $cacheid=no
   14522 fi
   14523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14524     conftest$ac_exeext conftest.$ac_ext
   14525 fi
   14526 
   14527 
   14528 		CFLAGS="$xorg_testset_save_CFLAGS"
   14529 
   14530 		eval supported=\$$cacheid
   14531 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14532 printf "%s\n" "$supported" >&6; }
   14533 		if test "$supported" = "yes" ; then
   14534 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14535 			found="yes"
   14536 		fi
   14537 	fi
   14538 
   14539 
   14540 
   14541 
   14542 
   14543 # This chunk adds additional warnings that could catch undesired effects.
   14544 
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 xorg_testset_save_CFLAGS="$CFLAGS"
   14558 
   14559 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14560 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14561 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14562 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14563 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14564 then :
   14565   printf %s "(cached) " >&6
   14566 else $as_nop
   14567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14568 /* end confdefs.h.  */
   14569 int i;
   14570 _ACEOF
   14571 if ac_fn_c_try_compile "$LINENO"
   14572 then :
   14573   xorg_cv_cc_flag_unknown_warning_option=yes
   14574 else $as_nop
   14575   xorg_cv_cc_flag_unknown_warning_option=no
   14576 fi
   14577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14578 fi
   14579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14580 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14581 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14582 	CFLAGS="$xorg_testset_save_CFLAGS"
   14583 fi
   14584 
   14585 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14586 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14587 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14588 	fi
   14589 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14590 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14591 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14592 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14593 then :
   14594   printf %s "(cached) " >&6
   14595 else $as_nop
   14596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14597 /* end confdefs.h.  */
   14598 int i;
   14599 _ACEOF
   14600 if ac_fn_c_try_compile "$LINENO"
   14601 then :
   14602   xorg_cv_cc_flag_unused_command_line_argument=yes
   14603 else $as_nop
   14604   xorg_cv_cc_flag_unused_command_line_argument=no
   14605 fi
   14606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14607 fi
   14608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14609 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14610 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14611 	CFLAGS="$xorg_testset_save_CFLAGS"
   14612 fi
   14613 
   14614 found="no"
   14615 
   14616 	if test $found = "no" ; then
   14617 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14618 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14619 		fi
   14620 
   14621 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14622 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14623 		fi
   14624 
   14625 		CFLAGS="$CFLAGS -Wunused"
   14626 
   14627 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14628 printf %s "checking if $CC supports -Wunused... " >&6; }
   14629 		cacheid=xorg_cv_cc_flag__Wunused
   14630 		if eval test \${$cacheid+y}
   14631 then :
   14632   printf %s "(cached) " >&6
   14633 else $as_nop
   14634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14635 /* end confdefs.h.  */
   14636 int i;
   14637 int
   14638 main (void)
   14639 {
   14640 
   14641   ;
   14642   return 0;
   14643 }
   14644 _ACEOF
   14645 if ac_fn_c_try_link "$LINENO"
   14646 then :
   14647   eval $cacheid=yes
   14648 else $as_nop
   14649   eval $cacheid=no
   14650 fi
   14651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14652     conftest$ac_exeext conftest.$ac_ext
   14653 fi
   14654 
   14655 
   14656 		CFLAGS="$xorg_testset_save_CFLAGS"
   14657 
   14658 		eval supported=\$$cacheid
   14659 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14660 printf "%s\n" "$supported" >&6; }
   14661 		if test "$supported" = "yes" ; then
   14662 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14663 			found="yes"
   14664 		fi
   14665 	fi
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 xorg_testset_save_CFLAGS="$CFLAGS"
   14682 
   14683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14684 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14685 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14686 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14687 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14688 then :
   14689   printf %s "(cached) " >&6
   14690 else $as_nop
   14691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14692 /* end confdefs.h.  */
   14693 int i;
   14694 _ACEOF
   14695 if ac_fn_c_try_compile "$LINENO"
   14696 then :
   14697   xorg_cv_cc_flag_unknown_warning_option=yes
   14698 else $as_nop
   14699   xorg_cv_cc_flag_unknown_warning_option=no
   14700 fi
   14701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14702 fi
   14703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14704 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14706 	CFLAGS="$xorg_testset_save_CFLAGS"
   14707 fi
   14708 
   14709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14712 	fi
   14713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14714 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14715 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14716 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14717 then :
   14718   printf %s "(cached) " >&6
   14719 else $as_nop
   14720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14721 /* end confdefs.h.  */
   14722 int i;
   14723 _ACEOF
   14724 if ac_fn_c_try_compile "$LINENO"
   14725 then :
   14726   xorg_cv_cc_flag_unused_command_line_argument=yes
   14727 else $as_nop
   14728   xorg_cv_cc_flag_unused_command_line_argument=no
   14729 fi
   14730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14731 fi
   14732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14733 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14734 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14735 	CFLAGS="$xorg_testset_save_CFLAGS"
   14736 fi
   14737 
   14738 found="no"
   14739 
   14740 	if test $found = "no" ; then
   14741 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14742 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14743 		fi
   14744 
   14745 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14746 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14747 		fi
   14748 
   14749 		CFLAGS="$CFLAGS -Wuninitialized"
   14750 
   14751 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14752 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14753 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14754 		if eval test \${$cacheid+y}
   14755 then :
   14756   printf %s "(cached) " >&6
   14757 else $as_nop
   14758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14759 /* end confdefs.h.  */
   14760 int i;
   14761 int
   14762 main (void)
   14763 {
   14764 
   14765   ;
   14766   return 0;
   14767 }
   14768 _ACEOF
   14769 if ac_fn_c_try_link "$LINENO"
   14770 then :
   14771   eval $cacheid=yes
   14772 else $as_nop
   14773   eval $cacheid=no
   14774 fi
   14775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14776     conftest$ac_exeext conftest.$ac_ext
   14777 fi
   14778 
   14779 
   14780 		CFLAGS="$xorg_testset_save_CFLAGS"
   14781 
   14782 		eval supported=\$$cacheid
   14783 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14784 printf "%s\n" "$supported" >&6; }
   14785 		if test "$supported" = "yes" ; then
   14786 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14787 			found="yes"
   14788 		fi
   14789 	fi
   14790 
   14791 
   14792 
   14793 
   14794 
   14795 
   14796 
   14797 
   14798 
   14799 
   14800 
   14801 
   14802 
   14803 
   14804 
   14805 xorg_testset_save_CFLAGS="$CFLAGS"
   14806 
   14807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14809 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14810 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14811 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14812 then :
   14813   printf %s "(cached) " >&6
   14814 else $as_nop
   14815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14816 /* end confdefs.h.  */
   14817 int i;
   14818 _ACEOF
   14819 if ac_fn_c_try_compile "$LINENO"
   14820 then :
   14821   xorg_cv_cc_flag_unknown_warning_option=yes
   14822 else $as_nop
   14823   xorg_cv_cc_flag_unknown_warning_option=no
   14824 fi
   14825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14826 fi
   14827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14828 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14829 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14830 	CFLAGS="$xorg_testset_save_CFLAGS"
   14831 fi
   14832 
   14833 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14834 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14835 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14836 	fi
   14837 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14838 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14839 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14840 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14841 then :
   14842   printf %s "(cached) " >&6
   14843 else $as_nop
   14844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14845 /* end confdefs.h.  */
   14846 int i;
   14847 _ACEOF
   14848 if ac_fn_c_try_compile "$LINENO"
   14849 then :
   14850   xorg_cv_cc_flag_unused_command_line_argument=yes
   14851 else $as_nop
   14852   xorg_cv_cc_flag_unused_command_line_argument=no
   14853 fi
   14854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14855 fi
   14856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14857 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14858 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14859 	CFLAGS="$xorg_testset_save_CFLAGS"
   14860 fi
   14861 
   14862 found="no"
   14863 
   14864 	if test $found = "no" ; then
   14865 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14866 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14867 		fi
   14868 
   14869 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14870 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14871 		fi
   14872 
   14873 		CFLAGS="$CFLAGS -Wshadow"
   14874 
   14875 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14876 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14877 		cacheid=xorg_cv_cc_flag__Wshadow
   14878 		if eval test \${$cacheid+y}
   14879 then :
   14880   printf %s "(cached) " >&6
   14881 else $as_nop
   14882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14883 /* end confdefs.h.  */
   14884 int i;
   14885 int
   14886 main (void)
   14887 {
   14888 
   14889   ;
   14890   return 0;
   14891 }
   14892 _ACEOF
   14893 if ac_fn_c_try_link "$LINENO"
   14894 then :
   14895   eval $cacheid=yes
   14896 else $as_nop
   14897   eval $cacheid=no
   14898 fi
   14899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14900     conftest$ac_exeext conftest.$ac_ext
   14901 fi
   14902 
   14903 
   14904 		CFLAGS="$xorg_testset_save_CFLAGS"
   14905 
   14906 		eval supported=\$$cacheid
   14907 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14908 printf "%s\n" "$supported" >&6; }
   14909 		if test "$supported" = "yes" ; then
   14910 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14911 			found="yes"
   14912 		fi
   14913 	fi
   14914 
   14915 
   14916 
   14917 
   14918 
   14919 
   14920 
   14921 
   14922 
   14923 
   14924 
   14925 
   14926 
   14927 
   14928 
   14929 xorg_testset_save_CFLAGS="$CFLAGS"
   14930 
   14931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14932 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14933 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14934 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14935 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14936 then :
   14937   printf %s "(cached) " >&6
   14938 else $as_nop
   14939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14940 /* end confdefs.h.  */
   14941 int i;
   14942 _ACEOF
   14943 if ac_fn_c_try_compile "$LINENO"
   14944 then :
   14945   xorg_cv_cc_flag_unknown_warning_option=yes
   14946 else $as_nop
   14947   xorg_cv_cc_flag_unknown_warning_option=no
   14948 fi
   14949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14950 fi
   14951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14952 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14953 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14954 	CFLAGS="$xorg_testset_save_CFLAGS"
   14955 fi
   14956 
   14957 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14958 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14960 	fi
   14961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14962 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14963 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14964 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14965 then :
   14966   printf %s "(cached) " >&6
   14967 else $as_nop
   14968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14969 /* end confdefs.h.  */
   14970 int i;
   14971 _ACEOF
   14972 if ac_fn_c_try_compile "$LINENO"
   14973 then :
   14974   xorg_cv_cc_flag_unused_command_line_argument=yes
   14975 else $as_nop
   14976   xorg_cv_cc_flag_unused_command_line_argument=no
   14977 fi
   14978 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14979 fi
   14980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14981 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14982 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14983 	CFLAGS="$xorg_testset_save_CFLAGS"
   14984 fi
   14985 
   14986 found="no"
   14987 
   14988 	if test $found = "no" ; then
   14989 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14990 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14991 		fi
   14992 
   14993 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14994 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14995 		fi
   14996 
   14997 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14998 
   14999 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15000 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15001 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15002 		if eval test \${$cacheid+y}
   15003 then :
   15004   printf %s "(cached) " >&6
   15005 else $as_nop
   15006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15007 /* end confdefs.h.  */
   15008 int i;
   15009 int
   15010 main (void)
   15011 {
   15012 
   15013   ;
   15014   return 0;
   15015 }
   15016 _ACEOF
   15017 if ac_fn_c_try_link "$LINENO"
   15018 then :
   15019   eval $cacheid=yes
   15020 else $as_nop
   15021   eval $cacheid=no
   15022 fi
   15023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15024     conftest$ac_exeext conftest.$ac_ext
   15025 fi
   15026 
   15027 
   15028 		CFLAGS="$xorg_testset_save_CFLAGS"
   15029 
   15030 		eval supported=\$$cacheid
   15031 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15032 printf "%s\n" "$supported" >&6; }
   15033 		if test "$supported" = "yes" ; then
   15034 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15035 			found="yes"
   15036 		fi
   15037 	fi
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 
   15045 
   15046 
   15047 
   15048 
   15049 
   15050 
   15051 
   15052 
   15053 xorg_testset_save_CFLAGS="$CFLAGS"
   15054 
   15055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15057 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15058 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15059 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15060 then :
   15061   printf %s "(cached) " >&6
   15062 else $as_nop
   15063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15064 /* end confdefs.h.  */
   15065 int i;
   15066 _ACEOF
   15067 if ac_fn_c_try_compile "$LINENO"
   15068 then :
   15069   xorg_cv_cc_flag_unknown_warning_option=yes
   15070 else $as_nop
   15071   xorg_cv_cc_flag_unknown_warning_option=no
   15072 fi
   15073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15074 fi
   15075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15076 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15077 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15078 	CFLAGS="$xorg_testset_save_CFLAGS"
   15079 fi
   15080 
   15081 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15082 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15083 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15084 	fi
   15085 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15086 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15087 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15088 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15089 then :
   15090   printf %s "(cached) " >&6
   15091 else $as_nop
   15092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15093 /* end confdefs.h.  */
   15094 int i;
   15095 _ACEOF
   15096 if ac_fn_c_try_compile "$LINENO"
   15097 then :
   15098   xorg_cv_cc_flag_unused_command_line_argument=yes
   15099 else $as_nop
   15100   xorg_cv_cc_flag_unused_command_line_argument=no
   15101 fi
   15102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15103 fi
   15104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15105 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15107 	CFLAGS="$xorg_testset_save_CFLAGS"
   15108 fi
   15109 
   15110 found="no"
   15111 
   15112 	if test $found = "no" ; then
   15113 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15115 		fi
   15116 
   15117 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15119 		fi
   15120 
   15121 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15122 
   15123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15124 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15125 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15126 		if eval test \${$cacheid+y}
   15127 then :
   15128   printf %s "(cached) " >&6
   15129 else $as_nop
   15130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15131 /* end confdefs.h.  */
   15132 int i;
   15133 int
   15134 main (void)
   15135 {
   15136 
   15137   ;
   15138   return 0;
   15139 }
   15140 _ACEOF
   15141 if ac_fn_c_try_link "$LINENO"
   15142 then :
   15143   eval $cacheid=yes
   15144 else $as_nop
   15145   eval $cacheid=no
   15146 fi
   15147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15148     conftest$ac_exeext conftest.$ac_ext
   15149 fi
   15150 
   15151 
   15152 		CFLAGS="$xorg_testset_save_CFLAGS"
   15153 
   15154 		eval supported=\$$cacheid
   15155 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15156 printf "%s\n" "$supported" >&6; }
   15157 		if test "$supported" = "yes" ; then
   15158 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15159 			found="yes"
   15160 		fi
   15161 	fi
   15162 
   15163 
   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 -Wredundant-decls"
   15246 
   15247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15248 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15249 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   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 -Wredundant-decls"
   15283 			found="yes"
   15284 		fi
   15285 	fi
   15286 
   15287 
   15288 
   15289 
   15290 
   15291 
   15292 
   15293 
   15294 
   15295 
   15296 
   15297 
   15298 
   15299 
   15300 
   15301 xorg_testset_save_CFLAGS="$CFLAGS"
   15302 
   15303 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15305 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15306 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15307 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15308 then :
   15309   printf %s "(cached) " >&6
   15310 else $as_nop
   15311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15312 /* end confdefs.h.  */
   15313 int i;
   15314 _ACEOF
   15315 if ac_fn_c_try_compile "$LINENO"
   15316 then :
   15317   xorg_cv_cc_flag_unknown_warning_option=yes
   15318 else $as_nop
   15319   xorg_cv_cc_flag_unknown_warning_option=no
   15320 fi
   15321 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15322 fi
   15323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15324 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15325 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15326 	CFLAGS="$xorg_testset_save_CFLAGS"
   15327 fi
   15328 
   15329 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15330 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15331 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15332 	fi
   15333 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15334 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15335 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15336 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15337 then :
   15338   printf %s "(cached) " >&6
   15339 else $as_nop
   15340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15341 /* end confdefs.h.  */
   15342 int i;
   15343 _ACEOF
   15344 if ac_fn_c_try_compile "$LINENO"
   15345 then :
   15346   xorg_cv_cc_flag_unused_command_line_argument=yes
   15347 else $as_nop
   15348   xorg_cv_cc_flag_unused_command_line_argument=no
   15349 fi
   15350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15351 fi
   15352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15353 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15354 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15355 	CFLAGS="$xorg_testset_save_CFLAGS"
   15356 fi
   15357 
   15358 found="no"
   15359 
   15360 	if test $found = "no" ; then
   15361 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15363 		fi
   15364 
   15365 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15367 		fi
   15368 
   15369 		CFLAGS="$CFLAGS -Wlogical-op"
   15370 
   15371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15372 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15373 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15374 		if eval test \${$cacheid+y}
   15375 then :
   15376   printf %s "(cached) " >&6
   15377 else $as_nop
   15378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15379 /* end confdefs.h.  */
   15380 int i;
   15381 int
   15382 main (void)
   15383 {
   15384 
   15385   ;
   15386   return 0;
   15387 }
   15388 _ACEOF
   15389 if ac_fn_c_try_link "$LINENO"
   15390 then :
   15391   eval $cacheid=yes
   15392 else $as_nop
   15393   eval $cacheid=no
   15394 fi
   15395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15396     conftest$ac_exeext conftest.$ac_ext
   15397 fi
   15398 
   15399 
   15400 		CFLAGS="$xorg_testset_save_CFLAGS"
   15401 
   15402 		eval supported=\$$cacheid
   15403 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15404 printf "%s\n" "$supported" >&6; }
   15405 		if test "$supported" = "yes" ; then
   15406 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15407 			found="yes"
   15408 		fi
   15409 	fi
   15410 
   15411 
   15412 
   15413 # These are currently disabled because they are noisy.  They will be enabled
   15414 # in the future once the codebase is sufficiently modernized to silence
   15415 # them.  For now, I don't want them to drown out the other warnings.
   15416 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15417 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15418 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15419 
   15420 # Turn some warnings into errors, so we don't accidently get successful builds
   15421 # when there are problems that should be fixed.
   15422 
   15423 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15424 
   15425 
   15426 
   15427 
   15428 
   15429 
   15430 
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 xorg_testset_save_CFLAGS="$CFLAGS"
   15438 
   15439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15441 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15442 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15443 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15444 then :
   15445   printf %s "(cached) " >&6
   15446 else $as_nop
   15447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15448 /* end confdefs.h.  */
   15449 int i;
   15450 _ACEOF
   15451 if ac_fn_c_try_compile "$LINENO"
   15452 then :
   15453   xorg_cv_cc_flag_unknown_warning_option=yes
   15454 else $as_nop
   15455   xorg_cv_cc_flag_unknown_warning_option=no
   15456 fi
   15457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15458 fi
   15459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15460 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15462 	CFLAGS="$xorg_testset_save_CFLAGS"
   15463 fi
   15464 
   15465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15468 	fi
   15469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15471 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15472 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15473 then :
   15474   printf %s "(cached) " >&6
   15475 else $as_nop
   15476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15477 /* end confdefs.h.  */
   15478 int i;
   15479 _ACEOF
   15480 if ac_fn_c_try_compile "$LINENO"
   15481 then :
   15482   xorg_cv_cc_flag_unused_command_line_argument=yes
   15483 else $as_nop
   15484   xorg_cv_cc_flag_unused_command_line_argument=no
   15485 fi
   15486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15487 fi
   15488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15489 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15490 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15491 	CFLAGS="$xorg_testset_save_CFLAGS"
   15492 fi
   15493 
   15494 found="no"
   15495 
   15496 	if test $found = "no" ; then
   15497 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15498 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15499 		fi
   15500 
   15501 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15502 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15503 		fi
   15504 
   15505 		CFLAGS="$CFLAGS -Werror=implicit"
   15506 
   15507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15508 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15509 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15510 		if eval test \${$cacheid+y}
   15511 then :
   15512   printf %s "(cached) " >&6
   15513 else $as_nop
   15514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15515 /* end confdefs.h.  */
   15516 int i;
   15517 int
   15518 main (void)
   15519 {
   15520 
   15521   ;
   15522   return 0;
   15523 }
   15524 _ACEOF
   15525 if ac_fn_c_try_link "$LINENO"
   15526 then :
   15527   eval $cacheid=yes
   15528 else $as_nop
   15529   eval $cacheid=no
   15530 fi
   15531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15532     conftest$ac_exeext conftest.$ac_ext
   15533 fi
   15534 
   15535 
   15536 		CFLAGS="$xorg_testset_save_CFLAGS"
   15537 
   15538 		eval supported=\$$cacheid
   15539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15540 printf "%s\n" "$supported" >&6; }
   15541 		if test "$supported" = "yes" ; then
   15542 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15543 			found="yes"
   15544 		fi
   15545 	fi
   15546 
   15547 	if test $found = "no" ; then
   15548 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15549 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15550 		fi
   15551 
   15552 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15553 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15554 		fi
   15555 
   15556 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15557 
   15558 		{ 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
   15559 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15560 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15561 		if eval test \${$cacheid+y}
   15562 then :
   15563   printf %s "(cached) " >&6
   15564 else $as_nop
   15565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15566 /* end confdefs.h.  */
   15567 int i;
   15568 int
   15569 main (void)
   15570 {
   15571 
   15572   ;
   15573   return 0;
   15574 }
   15575 _ACEOF
   15576 if ac_fn_c_try_link "$LINENO"
   15577 then :
   15578   eval $cacheid=yes
   15579 else $as_nop
   15580   eval $cacheid=no
   15581 fi
   15582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15583     conftest$ac_exeext conftest.$ac_ext
   15584 fi
   15585 
   15586 
   15587 		CFLAGS="$xorg_testset_save_CFLAGS"
   15588 
   15589 		eval supported=\$$cacheid
   15590 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15591 printf "%s\n" "$supported" >&6; }
   15592 		if test "$supported" = "yes" ; then
   15593 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15594 			found="yes"
   15595 		fi
   15596 	fi
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 
   15603 
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 xorg_testset_save_CFLAGS="$CFLAGS"
   15613 
   15614 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15615 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15616 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15617 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15618 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15619 then :
   15620   printf %s "(cached) " >&6
   15621 else $as_nop
   15622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15623 /* end confdefs.h.  */
   15624 int i;
   15625 _ACEOF
   15626 if ac_fn_c_try_compile "$LINENO"
   15627 then :
   15628   xorg_cv_cc_flag_unknown_warning_option=yes
   15629 else $as_nop
   15630   xorg_cv_cc_flag_unknown_warning_option=no
   15631 fi
   15632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15633 fi
   15634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15635 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15637 	CFLAGS="$xorg_testset_save_CFLAGS"
   15638 fi
   15639 
   15640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15643 	fi
   15644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15645 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15646 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15647 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15648 then :
   15649   printf %s "(cached) " >&6
   15650 else $as_nop
   15651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15652 /* end confdefs.h.  */
   15653 int i;
   15654 _ACEOF
   15655 if ac_fn_c_try_compile "$LINENO"
   15656 then :
   15657   xorg_cv_cc_flag_unused_command_line_argument=yes
   15658 else $as_nop
   15659   xorg_cv_cc_flag_unused_command_line_argument=no
   15660 fi
   15661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15662 fi
   15663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15664 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15666 	CFLAGS="$xorg_testset_save_CFLAGS"
   15667 fi
   15668 
   15669 found="no"
   15670 
   15671 	if test $found = "no" ; then
   15672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15674 		fi
   15675 
   15676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15678 		fi
   15679 
   15680 		CFLAGS="$CFLAGS -Werror=nonnull"
   15681 
   15682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15683 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15684 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15685 		if eval test \${$cacheid+y}
   15686 then :
   15687   printf %s "(cached) " >&6
   15688 else $as_nop
   15689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15690 /* end confdefs.h.  */
   15691 int i;
   15692 int
   15693 main (void)
   15694 {
   15695 
   15696   ;
   15697   return 0;
   15698 }
   15699 _ACEOF
   15700 if ac_fn_c_try_link "$LINENO"
   15701 then :
   15702   eval $cacheid=yes
   15703 else $as_nop
   15704   eval $cacheid=no
   15705 fi
   15706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15707     conftest$ac_exeext conftest.$ac_ext
   15708 fi
   15709 
   15710 
   15711 		CFLAGS="$xorg_testset_save_CFLAGS"
   15712 
   15713 		eval supported=\$$cacheid
   15714 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15715 printf "%s\n" "$supported" >&6; }
   15716 		if test "$supported" = "yes" ; then
   15717 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15718 			found="yes"
   15719 		fi
   15720 	fi
   15721 
   15722 
   15723 
   15724 
   15725 
   15726 
   15727 
   15728 
   15729 
   15730 
   15731 
   15732 
   15733 
   15734 
   15735 
   15736 xorg_testset_save_CFLAGS="$CFLAGS"
   15737 
   15738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15740 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15741 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15742 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15743 then :
   15744   printf %s "(cached) " >&6
   15745 else $as_nop
   15746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15747 /* end confdefs.h.  */
   15748 int i;
   15749 _ACEOF
   15750 if ac_fn_c_try_compile "$LINENO"
   15751 then :
   15752   xorg_cv_cc_flag_unknown_warning_option=yes
   15753 else $as_nop
   15754   xorg_cv_cc_flag_unknown_warning_option=no
   15755 fi
   15756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15757 fi
   15758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15759 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15760 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15761 	CFLAGS="$xorg_testset_save_CFLAGS"
   15762 fi
   15763 
   15764 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15765 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15767 	fi
   15768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15769 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15770 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15771 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15772 then :
   15773   printf %s "(cached) " >&6
   15774 else $as_nop
   15775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15776 /* end confdefs.h.  */
   15777 int i;
   15778 _ACEOF
   15779 if ac_fn_c_try_compile "$LINENO"
   15780 then :
   15781   xorg_cv_cc_flag_unused_command_line_argument=yes
   15782 else $as_nop
   15783   xorg_cv_cc_flag_unused_command_line_argument=no
   15784 fi
   15785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15786 fi
   15787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15788 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15790 	CFLAGS="$xorg_testset_save_CFLAGS"
   15791 fi
   15792 
   15793 found="no"
   15794 
   15795 	if test $found = "no" ; then
   15796 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15798 		fi
   15799 
   15800 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15802 		fi
   15803 
   15804 		CFLAGS="$CFLAGS -Werror=init-self"
   15805 
   15806 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15807 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15808 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15809 		if eval test \${$cacheid+y}
   15810 then :
   15811   printf %s "(cached) " >&6
   15812 else $as_nop
   15813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15814 /* end confdefs.h.  */
   15815 int i;
   15816 int
   15817 main (void)
   15818 {
   15819 
   15820   ;
   15821   return 0;
   15822 }
   15823 _ACEOF
   15824 if ac_fn_c_try_link "$LINENO"
   15825 then :
   15826   eval $cacheid=yes
   15827 else $as_nop
   15828   eval $cacheid=no
   15829 fi
   15830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15831     conftest$ac_exeext conftest.$ac_ext
   15832 fi
   15833 
   15834 
   15835 		CFLAGS="$xorg_testset_save_CFLAGS"
   15836 
   15837 		eval supported=\$$cacheid
   15838 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15839 printf "%s\n" "$supported" >&6; }
   15840 		if test "$supported" = "yes" ; then
   15841 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15842 			found="yes"
   15843 		fi
   15844 	fi
   15845 
   15846 
   15847 
   15848 
   15849 
   15850 
   15851 
   15852 
   15853 
   15854 
   15855 
   15856 
   15857 
   15858 
   15859 
   15860 xorg_testset_save_CFLAGS="$CFLAGS"
   15861 
   15862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15864 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15865 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15866 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15867 then :
   15868   printf %s "(cached) " >&6
   15869 else $as_nop
   15870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15871 /* end confdefs.h.  */
   15872 int i;
   15873 _ACEOF
   15874 if ac_fn_c_try_compile "$LINENO"
   15875 then :
   15876   xorg_cv_cc_flag_unknown_warning_option=yes
   15877 else $as_nop
   15878   xorg_cv_cc_flag_unknown_warning_option=no
   15879 fi
   15880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15881 fi
   15882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15883 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15885 	CFLAGS="$xorg_testset_save_CFLAGS"
   15886 fi
   15887 
   15888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15891 	fi
   15892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15894 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15895 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15896 then :
   15897   printf %s "(cached) " >&6
   15898 else $as_nop
   15899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15900 /* end confdefs.h.  */
   15901 int i;
   15902 _ACEOF
   15903 if ac_fn_c_try_compile "$LINENO"
   15904 then :
   15905   xorg_cv_cc_flag_unused_command_line_argument=yes
   15906 else $as_nop
   15907   xorg_cv_cc_flag_unused_command_line_argument=no
   15908 fi
   15909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15910 fi
   15911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15912 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15913 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15914 	CFLAGS="$xorg_testset_save_CFLAGS"
   15915 fi
   15916 
   15917 found="no"
   15918 
   15919 	if test $found = "no" ; then
   15920 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15921 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15922 		fi
   15923 
   15924 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15925 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15926 		fi
   15927 
   15928 		CFLAGS="$CFLAGS -Werror=main"
   15929 
   15930 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15931 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15932 		cacheid=xorg_cv_cc_flag__Werror_main
   15933 		if eval test \${$cacheid+y}
   15934 then :
   15935   printf %s "(cached) " >&6
   15936 else $as_nop
   15937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15938 /* end confdefs.h.  */
   15939 int i;
   15940 int
   15941 main (void)
   15942 {
   15943 
   15944   ;
   15945   return 0;
   15946 }
   15947 _ACEOF
   15948 if ac_fn_c_try_link "$LINENO"
   15949 then :
   15950   eval $cacheid=yes
   15951 else $as_nop
   15952   eval $cacheid=no
   15953 fi
   15954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15955     conftest$ac_exeext conftest.$ac_ext
   15956 fi
   15957 
   15958 
   15959 		CFLAGS="$xorg_testset_save_CFLAGS"
   15960 
   15961 		eval supported=\$$cacheid
   15962 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15963 printf "%s\n" "$supported" >&6; }
   15964 		if test "$supported" = "yes" ; then
   15965 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15966 			found="yes"
   15967 		fi
   15968 	fi
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 
   15983 
   15984 xorg_testset_save_CFLAGS="$CFLAGS"
   15985 
   15986 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15987 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15988 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15989 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15990 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15991 then :
   15992   printf %s "(cached) " >&6
   15993 else $as_nop
   15994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15995 /* end confdefs.h.  */
   15996 int i;
   15997 _ACEOF
   15998 if ac_fn_c_try_compile "$LINENO"
   15999 then :
   16000   xorg_cv_cc_flag_unknown_warning_option=yes
   16001 else $as_nop
   16002   xorg_cv_cc_flag_unknown_warning_option=no
   16003 fi
   16004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16005 fi
   16006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16007 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16008 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16009 	CFLAGS="$xorg_testset_save_CFLAGS"
   16010 fi
   16011 
   16012 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16013 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16014 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16015 	fi
   16016 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16018 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16019 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16020 then :
   16021   printf %s "(cached) " >&6
   16022 else $as_nop
   16023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16024 /* end confdefs.h.  */
   16025 int i;
   16026 _ACEOF
   16027 if ac_fn_c_try_compile "$LINENO"
   16028 then :
   16029   xorg_cv_cc_flag_unused_command_line_argument=yes
   16030 else $as_nop
   16031   xorg_cv_cc_flag_unused_command_line_argument=no
   16032 fi
   16033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16034 fi
   16035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16036 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16037 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16038 	CFLAGS="$xorg_testset_save_CFLAGS"
   16039 fi
   16040 
   16041 found="no"
   16042 
   16043 	if test $found = "no" ; then
   16044 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16045 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16046 		fi
   16047 
   16048 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16049 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16050 		fi
   16051 
   16052 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16053 
   16054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16055 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16056 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16057 		if eval test \${$cacheid+y}
   16058 then :
   16059   printf %s "(cached) " >&6
   16060 else $as_nop
   16061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16062 /* end confdefs.h.  */
   16063 int i;
   16064 int
   16065 main (void)
   16066 {
   16067 
   16068   ;
   16069   return 0;
   16070 }
   16071 _ACEOF
   16072 if ac_fn_c_try_link "$LINENO"
   16073 then :
   16074   eval $cacheid=yes
   16075 else $as_nop
   16076   eval $cacheid=no
   16077 fi
   16078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16079     conftest$ac_exeext conftest.$ac_ext
   16080 fi
   16081 
   16082 
   16083 		CFLAGS="$xorg_testset_save_CFLAGS"
   16084 
   16085 		eval supported=\$$cacheid
   16086 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16087 printf "%s\n" "$supported" >&6; }
   16088 		if test "$supported" = "yes" ; then
   16089 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16090 			found="yes"
   16091 		fi
   16092 	fi
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 
   16099 
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 xorg_testset_save_CFLAGS="$CFLAGS"
   16109 
   16110 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16111 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16112 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16113 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16114 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16115 then :
   16116   printf %s "(cached) " >&6
   16117 else $as_nop
   16118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16119 /* end confdefs.h.  */
   16120 int i;
   16121 _ACEOF
   16122 if ac_fn_c_try_compile "$LINENO"
   16123 then :
   16124   xorg_cv_cc_flag_unknown_warning_option=yes
   16125 else $as_nop
   16126   xorg_cv_cc_flag_unknown_warning_option=no
   16127 fi
   16128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16129 fi
   16130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16131 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16133 	CFLAGS="$xorg_testset_save_CFLAGS"
   16134 fi
   16135 
   16136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16139 	fi
   16140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16141 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16142 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16143 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16144 then :
   16145   printf %s "(cached) " >&6
   16146 else $as_nop
   16147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16148 /* end confdefs.h.  */
   16149 int i;
   16150 _ACEOF
   16151 if ac_fn_c_try_compile "$LINENO"
   16152 then :
   16153   xorg_cv_cc_flag_unused_command_line_argument=yes
   16154 else $as_nop
   16155   xorg_cv_cc_flag_unused_command_line_argument=no
   16156 fi
   16157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16158 fi
   16159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16160 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16162 	CFLAGS="$xorg_testset_save_CFLAGS"
   16163 fi
   16164 
   16165 found="no"
   16166 
   16167 	if test $found = "no" ; then
   16168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16170 		fi
   16171 
   16172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16174 		fi
   16175 
   16176 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16177 
   16178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16179 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16180 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16181 		if eval test \${$cacheid+y}
   16182 then :
   16183   printf %s "(cached) " >&6
   16184 else $as_nop
   16185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16186 /* end confdefs.h.  */
   16187 int i;
   16188 int
   16189 main (void)
   16190 {
   16191 
   16192   ;
   16193   return 0;
   16194 }
   16195 _ACEOF
   16196 if ac_fn_c_try_link "$LINENO"
   16197 then :
   16198   eval $cacheid=yes
   16199 else $as_nop
   16200   eval $cacheid=no
   16201 fi
   16202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16203     conftest$ac_exeext conftest.$ac_ext
   16204 fi
   16205 
   16206 
   16207 		CFLAGS="$xorg_testset_save_CFLAGS"
   16208 
   16209 		eval supported=\$$cacheid
   16210 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16211 printf "%s\n" "$supported" >&6; }
   16212 		if test "$supported" = "yes" ; then
   16213 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16214 			found="yes"
   16215 		fi
   16216 	fi
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 xorg_testset_save_CFLAGS="$CFLAGS"
   16233 
   16234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16236 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16237 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16238 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16239 then :
   16240   printf %s "(cached) " >&6
   16241 else $as_nop
   16242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16243 /* end confdefs.h.  */
   16244 int i;
   16245 _ACEOF
   16246 if ac_fn_c_try_compile "$LINENO"
   16247 then :
   16248   xorg_cv_cc_flag_unknown_warning_option=yes
   16249 else $as_nop
   16250   xorg_cv_cc_flag_unknown_warning_option=no
   16251 fi
   16252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16253 fi
   16254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16255 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16256 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16257 	CFLAGS="$xorg_testset_save_CFLAGS"
   16258 fi
   16259 
   16260 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16261 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16262 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16263 	fi
   16264 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16265 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16266 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16267 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16268 then :
   16269   printf %s "(cached) " >&6
   16270 else $as_nop
   16271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16272 /* end confdefs.h.  */
   16273 int i;
   16274 _ACEOF
   16275 if ac_fn_c_try_compile "$LINENO"
   16276 then :
   16277   xorg_cv_cc_flag_unused_command_line_argument=yes
   16278 else $as_nop
   16279   xorg_cv_cc_flag_unused_command_line_argument=no
   16280 fi
   16281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16282 fi
   16283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16284 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16285 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16286 	CFLAGS="$xorg_testset_save_CFLAGS"
   16287 fi
   16288 
   16289 found="no"
   16290 
   16291 	if test $found = "no" ; then
   16292 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16293 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16294 		fi
   16295 
   16296 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16297 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16298 		fi
   16299 
   16300 		CFLAGS="$CFLAGS -Werror=return-type"
   16301 
   16302 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16303 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16304 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16305 		if eval test \${$cacheid+y}
   16306 then :
   16307   printf %s "(cached) " >&6
   16308 else $as_nop
   16309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16310 /* end confdefs.h.  */
   16311 int i;
   16312 int
   16313 main (void)
   16314 {
   16315 
   16316   ;
   16317   return 0;
   16318 }
   16319 _ACEOF
   16320 if ac_fn_c_try_link "$LINENO"
   16321 then :
   16322   eval $cacheid=yes
   16323 else $as_nop
   16324   eval $cacheid=no
   16325 fi
   16326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16327     conftest$ac_exeext conftest.$ac_ext
   16328 fi
   16329 
   16330 
   16331 		CFLAGS="$xorg_testset_save_CFLAGS"
   16332 
   16333 		eval supported=\$$cacheid
   16334 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16335 printf "%s\n" "$supported" >&6; }
   16336 		if test "$supported" = "yes" ; then
   16337 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16338 			found="yes"
   16339 		fi
   16340 	fi
   16341 
   16342 	if test $found = "no" ; then
   16343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16345 		fi
   16346 
   16347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16349 		fi
   16350 
   16351 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16352 
   16353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16354 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16355 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16356 		if eval test \${$cacheid+y}
   16357 then :
   16358   printf %s "(cached) " >&6
   16359 else $as_nop
   16360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16361 /* end confdefs.h.  */
   16362 int i;
   16363 int
   16364 main (void)
   16365 {
   16366 
   16367   ;
   16368   return 0;
   16369 }
   16370 _ACEOF
   16371 if ac_fn_c_try_link "$LINENO"
   16372 then :
   16373   eval $cacheid=yes
   16374 else $as_nop
   16375   eval $cacheid=no
   16376 fi
   16377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16378     conftest$ac_exeext conftest.$ac_ext
   16379 fi
   16380 
   16381 
   16382 		CFLAGS="$xorg_testset_save_CFLAGS"
   16383 
   16384 		eval supported=\$$cacheid
   16385 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16386 printf "%s\n" "$supported" >&6; }
   16387 		if test "$supported" = "yes" ; then
   16388 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16389 			found="yes"
   16390 		fi
   16391 	fi
   16392 
   16393 
   16394 
   16395 
   16396 
   16397 
   16398 
   16399 
   16400 
   16401 
   16402 
   16403 
   16404 
   16405 
   16406 
   16407 xorg_testset_save_CFLAGS="$CFLAGS"
   16408 
   16409 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16410 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16411 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16412 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16413 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16414 then :
   16415   printf %s "(cached) " >&6
   16416 else $as_nop
   16417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16418 /* end confdefs.h.  */
   16419 int i;
   16420 _ACEOF
   16421 if ac_fn_c_try_compile "$LINENO"
   16422 then :
   16423   xorg_cv_cc_flag_unknown_warning_option=yes
   16424 else $as_nop
   16425   xorg_cv_cc_flag_unknown_warning_option=no
   16426 fi
   16427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16428 fi
   16429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16430 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16432 	CFLAGS="$xorg_testset_save_CFLAGS"
   16433 fi
   16434 
   16435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16438 	fi
   16439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16440 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16441 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16442 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16443 then :
   16444   printf %s "(cached) " >&6
   16445 else $as_nop
   16446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16447 /* end confdefs.h.  */
   16448 int i;
   16449 _ACEOF
   16450 if ac_fn_c_try_compile "$LINENO"
   16451 then :
   16452   xorg_cv_cc_flag_unused_command_line_argument=yes
   16453 else $as_nop
   16454   xorg_cv_cc_flag_unused_command_line_argument=no
   16455 fi
   16456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16457 fi
   16458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16459 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16461 	CFLAGS="$xorg_testset_save_CFLAGS"
   16462 fi
   16463 
   16464 found="no"
   16465 
   16466 	if test $found = "no" ; then
   16467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16469 		fi
   16470 
   16471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16473 		fi
   16474 
   16475 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16476 
   16477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16478 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16479 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16480 		if eval test \${$cacheid+y}
   16481 then :
   16482   printf %s "(cached) " >&6
   16483 else $as_nop
   16484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16485 /* end confdefs.h.  */
   16486 int i;
   16487 int
   16488 main (void)
   16489 {
   16490 
   16491   ;
   16492   return 0;
   16493 }
   16494 _ACEOF
   16495 if ac_fn_c_try_link "$LINENO"
   16496 then :
   16497   eval $cacheid=yes
   16498 else $as_nop
   16499   eval $cacheid=no
   16500 fi
   16501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16502     conftest$ac_exeext conftest.$ac_ext
   16503 fi
   16504 
   16505 
   16506 		CFLAGS="$xorg_testset_save_CFLAGS"
   16507 
   16508 		eval supported=\$$cacheid
   16509 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16510 printf "%s\n" "$supported" >&6; }
   16511 		if test "$supported" = "yes" ; then
   16512 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16513 			found="yes"
   16514 		fi
   16515 	fi
   16516 
   16517 
   16518 
   16519 
   16520 
   16521 
   16522 
   16523 
   16524 
   16525 
   16526 
   16527 
   16528 
   16529 
   16530 
   16531 xorg_testset_save_CFLAGS="$CFLAGS"
   16532 
   16533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16535 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16536 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16537 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16538 then :
   16539   printf %s "(cached) " >&6
   16540 else $as_nop
   16541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16542 /* end confdefs.h.  */
   16543 int i;
   16544 _ACEOF
   16545 if ac_fn_c_try_compile "$LINENO"
   16546 then :
   16547   xorg_cv_cc_flag_unknown_warning_option=yes
   16548 else $as_nop
   16549   xorg_cv_cc_flag_unknown_warning_option=no
   16550 fi
   16551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16552 fi
   16553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16554 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16555 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16556 	CFLAGS="$xorg_testset_save_CFLAGS"
   16557 fi
   16558 
   16559 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16560 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16562 	fi
   16563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16564 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16565 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16566 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16567 then :
   16568   printf %s "(cached) " >&6
   16569 else $as_nop
   16570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16571 /* end confdefs.h.  */
   16572 int i;
   16573 _ACEOF
   16574 if ac_fn_c_try_compile "$LINENO"
   16575 then :
   16576   xorg_cv_cc_flag_unused_command_line_argument=yes
   16577 else $as_nop
   16578   xorg_cv_cc_flag_unused_command_line_argument=no
   16579 fi
   16580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16581 fi
   16582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16583 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16585 	CFLAGS="$xorg_testset_save_CFLAGS"
   16586 fi
   16587 
   16588 found="no"
   16589 
   16590 	if test $found = "no" ; then
   16591 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16593 		fi
   16594 
   16595 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16597 		fi
   16598 
   16599 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16600 
   16601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16602 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16603 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16604 		if eval test \${$cacheid+y}
   16605 then :
   16606   printf %s "(cached) " >&6
   16607 else $as_nop
   16608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16609 /* end confdefs.h.  */
   16610 int i;
   16611 int
   16612 main (void)
   16613 {
   16614 
   16615   ;
   16616   return 0;
   16617 }
   16618 _ACEOF
   16619 if ac_fn_c_try_link "$LINENO"
   16620 then :
   16621   eval $cacheid=yes
   16622 else $as_nop
   16623   eval $cacheid=no
   16624 fi
   16625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16626     conftest$ac_exeext conftest.$ac_ext
   16627 fi
   16628 
   16629 
   16630 		CFLAGS="$xorg_testset_save_CFLAGS"
   16631 
   16632 		eval supported=\$$cacheid
   16633 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16634 printf "%s\n" "$supported" >&6; }
   16635 		if test "$supported" = "yes" ; then
   16636 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16637 			found="yes"
   16638 		fi
   16639 	fi
   16640 
   16641 
   16642 
   16643 
   16644 
   16645 
   16646 
   16647 
   16648 
   16649 
   16650 
   16651 
   16652 
   16653 
   16654 
   16655 xorg_testset_save_CFLAGS="$CFLAGS"
   16656 
   16657 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16658 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16659 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16660 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16661 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16662 then :
   16663   printf %s "(cached) " >&6
   16664 else $as_nop
   16665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16666 /* end confdefs.h.  */
   16667 int i;
   16668 _ACEOF
   16669 if ac_fn_c_try_compile "$LINENO"
   16670 then :
   16671   xorg_cv_cc_flag_unknown_warning_option=yes
   16672 else $as_nop
   16673   xorg_cv_cc_flag_unknown_warning_option=no
   16674 fi
   16675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16676 fi
   16677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16678 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16679 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16680 	CFLAGS="$xorg_testset_save_CFLAGS"
   16681 fi
   16682 
   16683 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16684 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16685 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16686 	fi
   16687 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16688 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16689 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16690 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16691 then :
   16692   printf %s "(cached) " >&6
   16693 else $as_nop
   16694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16695 /* end confdefs.h.  */
   16696 int i;
   16697 _ACEOF
   16698 if ac_fn_c_try_compile "$LINENO"
   16699 then :
   16700   xorg_cv_cc_flag_unused_command_line_argument=yes
   16701 else $as_nop
   16702   xorg_cv_cc_flag_unused_command_line_argument=no
   16703 fi
   16704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16705 fi
   16706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16707 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16709 	CFLAGS="$xorg_testset_save_CFLAGS"
   16710 fi
   16711 
   16712 found="no"
   16713 
   16714 	if test $found = "no" ; then
   16715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16717 		fi
   16718 
   16719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16721 		fi
   16722 
   16723 		CFLAGS="$CFLAGS -Werror=write-strings"
   16724 
   16725 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16726 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16727 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16728 		if eval test \${$cacheid+y}
   16729 then :
   16730   printf %s "(cached) " >&6
   16731 else $as_nop
   16732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16733 /* end confdefs.h.  */
   16734 int i;
   16735 int
   16736 main (void)
   16737 {
   16738 
   16739   ;
   16740   return 0;
   16741 }
   16742 _ACEOF
   16743 if ac_fn_c_try_link "$LINENO"
   16744 then :
   16745   eval $cacheid=yes
   16746 else $as_nop
   16747   eval $cacheid=no
   16748 fi
   16749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16750     conftest$ac_exeext conftest.$ac_ext
   16751 fi
   16752 
   16753 
   16754 		CFLAGS="$xorg_testset_save_CFLAGS"
   16755 
   16756 		eval supported=\$$cacheid
   16757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16758 printf "%s\n" "$supported" >&6; }
   16759 		if test "$supported" = "yes" ; then
   16760 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16761 			found="yes"
   16762 		fi
   16763 	fi
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 xorg_testset_save_CFLAGS="$CFLAGS"
   16780 
   16781 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16782 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16783 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16784 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16785 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16786 then :
   16787   printf %s "(cached) " >&6
   16788 else $as_nop
   16789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16790 /* end confdefs.h.  */
   16791 int i;
   16792 _ACEOF
   16793 if ac_fn_c_try_compile "$LINENO"
   16794 then :
   16795   xorg_cv_cc_flag_unknown_warning_option=yes
   16796 else $as_nop
   16797   xorg_cv_cc_flag_unknown_warning_option=no
   16798 fi
   16799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16800 fi
   16801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16802 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16803 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16804 	CFLAGS="$xorg_testset_save_CFLAGS"
   16805 fi
   16806 
   16807 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16808 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16809 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16810 	fi
   16811 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16812 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16813 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16814 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16815 then :
   16816   printf %s "(cached) " >&6
   16817 else $as_nop
   16818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16819 /* end confdefs.h.  */
   16820 int i;
   16821 _ACEOF
   16822 if ac_fn_c_try_compile "$LINENO"
   16823 then :
   16824   xorg_cv_cc_flag_unused_command_line_argument=yes
   16825 else $as_nop
   16826   xorg_cv_cc_flag_unused_command_line_argument=no
   16827 fi
   16828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16829 fi
   16830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16831 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16833 	CFLAGS="$xorg_testset_save_CFLAGS"
   16834 fi
   16835 
   16836 found="no"
   16837 
   16838 	if test $found = "no" ; then
   16839 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16841 		fi
   16842 
   16843 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16845 		fi
   16846 
   16847 		CFLAGS="$CFLAGS -Werror=address"
   16848 
   16849 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16850 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16851 		cacheid=xorg_cv_cc_flag__Werror_address
   16852 		if eval test \${$cacheid+y}
   16853 then :
   16854   printf %s "(cached) " >&6
   16855 else $as_nop
   16856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16857 /* end confdefs.h.  */
   16858 int i;
   16859 int
   16860 main (void)
   16861 {
   16862 
   16863   ;
   16864   return 0;
   16865 }
   16866 _ACEOF
   16867 if ac_fn_c_try_link "$LINENO"
   16868 then :
   16869   eval $cacheid=yes
   16870 else $as_nop
   16871   eval $cacheid=no
   16872 fi
   16873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16874     conftest$ac_exeext conftest.$ac_ext
   16875 fi
   16876 
   16877 
   16878 		CFLAGS="$xorg_testset_save_CFLAGS"
   16879 
   16880 		eval supported=\$$cacheid
   16881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16882 printf "%s\n" "$supported" >&6; }
   16883 		if test "$supported" = "yes" ; then
   16884 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16885 			found="yes"
   16886 		fi
   16887 	fi
   16888 
   16889 
   16890 
   16891 
   16892 
   16893 
   16894 
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 
   16901 
   16902 
   16903 xorg_testset_save_CFLAGS="$CFLAGS"
   16904 
   16905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16907 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16908 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16909 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16910 then :
   16911   printf %s "(cached) " >&6
   16912 else $as_nop
   16913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16914 /* end confdefs.h.  */
   16915 int i;
   16916 _ACEOF
   16917 if ac_fn_c_try_compile "$LINENO"
   16918 then :
   16919   xorg_cv_cc_flag_unknown_warning_option=yes
   16920 else $as_nop
   16921   xorg_cv_cc_flag_unknown_warning_option=no
   16922 fi
   16923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16924 fi
   16925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16926 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16928 	CFLAGS="$xorg_testset_save_CFLAGS"
   16929 fi
   16930 
   16931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16934 	fi
   16935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16936 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16937 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16938 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16939 then :
   16940   printf %s "(cached) " >&6
   16941 else $as_nop
   16942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16943 /* end confdefs.h.  */
   16944 int i;
   16945 _ACEOF
   16946 if ac_fn_c_try_compile "$LINENO"
   16947 then :
   16948   xorg_cv_cc_flag_unused_command_line_argument=yes
   16949 else $as_nop
   16950   xorg_cv_cc_flag_unused_command_line_argument=no
   16951 fi
   16952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16953 fi
   16954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16955 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16956 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16957 	CFLAGS="$xorg_testset_save_CFLAGS"
   16958 fi
   16959 
   16960 found="no"
   16961 
   16962 	if test $found = "no" ; then
   16963 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16964 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16965 		fi
   16966 
   16967 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16968 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16969 		fi
   16970 
   16971 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16972 
   16973 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16974 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16975 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16976 		if eval test \${$cacheid+y}
   16977 then :
   16978   printf %s "(cached) " >&6
   16979 else $as_nop
   16980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16981 /* end confdefs.h.  */
   16982 int i;
   16983 int
   16984 main (void)
   16985 {
   16986 
   16987   ;
   16988   return 0;
   16989 }
   16990 _ACEOF
   16991 if ac_fn_c_try_link "$LINENO"
   16992 then :
   16993   eval $cacheid=yes
   16994 else $as_nop
   16995   eval $cacheid=no
   16996 fi
   16997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16998     conftest$ac_exeext conftest.$ac_ext
   16999 fi
   17000 
   17001 
   17002 		CFLAGS="$xorg_testset_save_CFLAGS"
   17003 
   17004 		eval supported=\$$cacheid
   17005 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17006 printf "%s\n" "$supported" >&6; }
   17007 		if test "$supported" = "yes" ; then
   17008 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17009 			found="yes"
   17010 		fi
   17011 	fi
   17012 
   17013 	if test $found = "no" ; then
   17014 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17015 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17016 		fi
   17017 
   17018 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17019 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17020 		fi
   17021 
   17022 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17023 
   17024 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17025 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17026 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17027 		if eval test \${$cacheid+y}
   17028 then :
   17029   printf %s "(cached) " >&6
   17030 else $as_nop
   17031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17032 /* end confdefs.h.  */
   17033 int i;
   17034 int
   17035 main (void)
   17036 {
   17037 
   17038   ;
   17039   return 0;
   17040 }
   17041 _ACEOF
   17042 if ac_fn_c_try_link "$LINENO"
   17043 then :
   17044   eval $cacheid=yes
   17045 else $as_nop
   17046   eval $cacheid=no
   17047 fi
   17048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17049     conftest$ac_exeext conftest.$ac_ext
   17050 fi
   17051 
   17052 
   17053 		CFLAGS="$xorg_testset_save_CFLAGS"
   17054 
   17055 		eval supported=\$$cacheid
   17056 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17057 printf "%s\n" "$supported" >&6; }
   17058 		if test "$supported" = "yes" ; then
   17059 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17060 			found="yes"
   17061 		fi
   17062 	fi
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 
   17075 
   17076 
   17077 
   17078 xorg_testset_save_CFLAGS="$CFLAGS"
   17079 
   17080 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17081 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17082 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17083 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17084 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17085 then :
   17086   printf %s "(cached) " >&6
   17087 else $as_nop
   17088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17089 /* end confdefs.h.  */
   17090 int i;
   17091 _ACEOF
   17092 if ac_fn_c_try_compile "$LINENO"
   17093 then :
   17094   xorg_cv_cc_flag_unknown_warning_option=yes
   17095 else $as_nop
   17096   xorg_cv_cc_flag_unknown_warning_option=no
   17097 fi
   17098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17099 fi
   17100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17101 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17102 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17103 	CFLAGS="$xorg_testset_save_CFLAGS"
   17104 fi
   17105 
   17106 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17107 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17108 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17109 	fi
   17110 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17111 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17112 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17113 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17114 then :
   17115   printf %s "(cached) " >&6
   17116 else $as_nop
   17117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17118 /* end confdefs.h.  */
   17119 int i;
   17120 _ACEOF
   17121 if ac_fn_c_try_compile "$LINENO"
   17122 then :
   17123   xorg_cv_cc_flag_unused_command_line_argument=yes
   17124 else $as_nop
   17125   xorg_cv_cc_flag_unused_command_line_argument=no
   17126 fi
   17127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17128 fi
   17129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17130 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17131 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17132 	CFLAGS="$xorg_testset_save_CFLAGS"
   17133 fi
   17134 
   17135 found="no"
   17136 
   17137 	if test $found = "no" ; then
   17138 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17140 		fi
   17141 
   17142 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17144 		fi
   17145 
   17146 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17147 
   17148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17149 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17150 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17151 		if eval test \${$cacheid+y}
   17152 then :
   17153   printf %s "(cached) " >&6
   17154 else $as_nop
   17155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17156 /* end confdefs.h.  */
   17157 int i;
   17158 int
   17159 main (void)
   17160 {
   17161 
   17162   ;
   17163   return 0;
   17164 }
   17165 _ACEOF
   17166 if ac_fn_c_try_link "$LINENO"
   17167 then :
   17168   eval $cacheid=yes
   17169 else $as_nop
   17170   eval $cacheid=no
   17171 fi
   17172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17173     conftest$ac_exeext conftest.$ac_ext
   17174 fi
   17175 
   17176 
   17177 		CFLAGS="$xorg_testset_save_CFLAGS"
   17178 
   17179 		eval supported=\$$cacheid
   17180 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17181 printf "%s\n" "$supported" >&6; }
   17182 		if test "$supported" = "yes" ; then
   17183 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17184 			found="yes"
   17185 		fi
   17186 	fi
   17187 
   17188  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17189 else
   17190 { 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
   17191 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;}
   17192 
   17193 
   17194 
   17195 
   17196 
   17197 
   17198 
   17199 
   17200 
   17201 
   17202 
   17203 
   17204 
   17205 xorg_testset_save_CFLAGS="$CFLAGS"
   17206 
   17207 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17208 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17209 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17210 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17211 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17212 then :
   17213   printf %s "(cached) " >&6
   17214 else $as_nop
   17215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17216 /* end confdefs.h.  */
   17217 int i;
   17218 _ACEOF
   17219 if ac_fn_c_try_compile "$LINENO"
   17220 then :
   17221   xorg_cv_cc_flag_unknown_warning_option=yes
   17222 else $as_nop
   17223   xorg_cv_cc_flag_unknown_warning_option=no
   17224 fi
   17225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17226 fi
   17227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17228 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17229 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17230 	CFLAGS="$xorg_testset_save_CFLAGS"
   17231 fi
   17232 
   17233 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17234 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17235 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17236 	fi
   17237 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17238 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17239 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17240 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17241 then :
   17242   printf %s "(cached) " >&6
   17243 else $as_nop
   17244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17245 /* end confdefs.h.  */
   17246 int i;
   17247 _ACEOF
   17248 if ac_fn_c_try_compile "$LINENO"
   17249 then :
   17250   xorg_cv_cc_flag_unused_command_line_argument=yes
   17251 else $as_nop
   17252   xorg_cv_cc_flag_unused_command_line_argument=no
   17253 fi
   17254 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17255 fi
   17256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17257 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17258 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17259 	CFLAGS="$xorg_testset_save_CFLAGS"
   17260 fi
   17261 
   17262 found="no"
   17263 
   17264 	if test $found = "no" ; then
   17265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17267 		fi
   17268 
   17269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17271 		fi
   17272 
   17273 		CFLAGS="$CFLAGS -Wimplicit"
   17274 
   17275 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17276 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17277 		cacheid=xorg_cv_cc_flag__Wimplicit
   17278 		if eval test \${$cacheid+y}
   17279 then :
   17280   printf %s "(cached) " >&6
   17281 else $as_nop
   17282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17283 /* end confdefs.h.  */
   17284 int i;
   17285 int
   17286 main (void)
   17287 {
   17288 
   17289   ;
   17290   return 0;
   17291 }
   17292 _ACEOF
   17293 if ac_fn_c_try_link "$LINENO"
   17294 then :
   17295   eval $cacheid=yes
   17296 else $as_nop
   17297   eval $cacheid=no
   17298 fi
   17299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17300     conftest$ac_exeext conftest.$ac_ext
   17301 fi
   17302 
   17303 
   17304 		CFLAGS="$xorg_testset_save_CFLAGS"
   17305 
   17306 		eval supported=\$$cacheid
   17307 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17308 printf "%s\n" "$supported" >&6; }
   17309 		if test "$supported" = "yes" ; then
   17310 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17311 			found="yes"
   17312 		fi
   17313 	fi
   17314 
   17315 
   17316 
   17317 
   17318 
   17319 
   17320 
   17321 
   17322 
   17323 
   17324 
   17325 
   17326 
   17327 
   17328 
   17329 xorg_testset_save_CFLAGS="$CFLAGS"
   17330 
   17331 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17332 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17334 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17335 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17336 then :
   17337   printf %s "(cached) " >&6
   17338 else $as_nop
   17339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17340 /* end confdefs.h.  */
   17341 int i;
   17342 _ACEOF
   17343 if ac_fn_c_try_compile "$LINENO"
   17344 then :
   17345   xorg_cv_cc_flag_unknown_warning_option=yes
   17346 else $as_nop
   17347   xorg_cv_cc_flag_unknown_warning_option=no
   17348 fi
   17349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17350 fi
   17351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17352 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17353 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17354 	CFLAGS="$xorg_testset_save_CFLAGS"
   17355 fi
   17356 
   17357 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17358 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17359 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17360 	fi
   17361 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17362 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17363 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17364 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17365 then :
   17366   printf %s "(cached) " >&6
   17367 else $as_nop
   17368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17369 /* end confdefs.h.  */
   17370 int i;
   17371 _ACEOF
   17372 if ac_fn_c_try_compile "$LINENO"
   17373 then :
   17374   xorg_cv_cc_flag_unused_command_line_argument=yes
   17375 else $as_nop
   17376   xorg_cv_cc_flag_unused_command_line_argument=no
   17377 fi
   17378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17379 fi
   17380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17381 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17383 	CFLAGS="$xorg_testset_save_CFLAGS"
   17384 fi
   17385 
   17386 found="no"
   17387 
   17388 	if test $found = "no" ; then
   17389 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17391 		fi
   17392 
   17393 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17395 		fi
   17396 
   17397 		CFLAGS="$CFLAGS -Wnonnull"
   17398 
   17399 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17400 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17401 		cacheid=xorg_cv_cc_flag__Wnonnull
   17402 		if eval test \${$cacheid+y}
   17403 then :
   17404   printf %s "(cached) " >&6
   17405 else $as_nop
   17406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17407 /* end confdefs.h.  */
   17408 int i;
   17409 int
   17410 main (void)
   17411 {
   17412 
   17413   ;
   17414   return 0;
   17415 }
   17416 _ACEOF
   17417 if ac_fn_c_try_link "$LINENO"
   17418 then :
   17419   eval $cacheid=yes
   17420 else $as_nop
   17421   eval $cacheid=no
   17422 fi
   17423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17424     conftest$ac_exeext conftest.$ac_ext
   17425 fi
   17426 
   17427 
   17428 		CFLAGS="$xorg_testset_save_CFLAGS"
   17429 
   17430 		eval supported=\$$cacheid
   17431 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17432 printf "%s\n" "$supported" >&6; }
   17433 		if test "$supported" = "yes" ; then
   17434 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17435 			found="yes"
   17436 		fi
   17437 	fi
   17438 
   17439 
   17440 
   17441 
   17442 
   17443 
   17444 
   17445 
   17446 
   17447 
   17448 
   17449 
   17450 
   17451 
   17452 
   17453 xorg_testset_save_CFLAGS="$CFLAGS"
   17454 
   17455 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17456 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17457 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17458 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17459 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17460 then :
   17461   printf %s "(cached) " >&6
   17462 else $as_nop
   17463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17464 /* end confdefs.h.  */
   17465 int i;
   17466 _ACEOF
   17467 if ac_fn_c_try_compile "$LINENO"
   17468 then :
   17469   xorg_cv_cc_flag_unknown_warning_option=yes
   17470 else $as_nop
   17471   xorg_cv_cc_flag_unknown_warning_option=no
   17472 fi
   17473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17474 fi
   17475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17476 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17477 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17478 	CFLAGS="$xorg_testset_save_CFLAGS"
   17479 fi
   17480 
   17481 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17482 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17483 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17484 	fi
   17485 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17486 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17487 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17488 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17489 then :
   17490   printf %s "(cached) " >&6
   17491 else $as_nop
   17492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17493 /* end confdefs.h.  */
   17494 int i;
   17495 _ACEOF
   17496 if ac_fn_c_try_compile "$LINENO"
   17497 then :
   17498   xorg_cv_cc_flag_unused_command_line_argument=yes
   17499 else $as_nop
   17500   xorg_cv_cc_flag_unused_command_line_argument=no
   17501 fi
   17502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17503 fi
   17504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17505 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17507 	CFLAGS="$xorg_testset_save_CFLAGS"
   17508 fi
   17509 
   17510 found="no"
   17511 
   17512 	if test $found = "no" ; then
   17513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17515 		fi
   17516 
   17517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17519 		fi
   17520 
   17521 		CFLAGS="$CFLAGS -Winit-self"
   17522 
   17523 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17524 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17525 		cacheid=xorg_cv_cc_flag__Winit_self
   17526 		if eval test \${$cacheid+y}
   17527 then :
   17528   printf %s "(cached) " >&6
   17529 else $as_nop
   17530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17531 /* end confdefs.h.  */
   17532 int i;
   17533 int
   17534 main (void)
   17535 {
   17536 
   17537   ;
   17538   return 0;
   17539 }
   17540 _ACEOF
   17541 if ac_fn_c_try_link "$LINENO"
   17542 then :
   17543   eval $cacheid=yes
   17544 else $as_nop
   17545   eval $cacheid=no
   17546 fi
   17547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17548     conftest$ac_exeext conftest.$ac_ext
   17549 fi
   17550 
   17551 
   17552 		CFLAGS="$xorg_testset_save_CFLAGS"
   17553 
   17554 		eval supported=\$$cacheid
   17555 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17556 printf "%s\n" "$supported" >&6; }
   17557 		if test "$supported" = "yes" ; then
   17558 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17559 			found="yes"
   17560 		fi
   17561 	fi
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 
   17569 
   17570 
   17571 
   17572 
   17573 
   17574 
   17575 
   17576 
   17577 xorg_testset_save_CFLAGS="$CFLAGS"
   17578 
   17579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17582 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17583 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17584 then :
   17585   printf %s "(cached) " >&6
   17586 else $as_nop
   17587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17588 /* end confdefs.h.  */
   17589 int i;
   17590 _ACEOF
   17591 if ac_fn_c_try_compile "$LINENO"
   17592 then :
   17593   xorg_cv_cc_flag_unknown_warning_option=yes
   17594 else $as_nop
   17595   xorg_cv_cc_flag_unknown_warning_option=no
   17596 fi
   17597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17598 fi
   17599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17600 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17601 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17602 	CFLAGS="$xorg_testset_save_CFLAGS"
   17603 fi
   17604 
   17605 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17606 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17607 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17608 	fi
   17609 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17610 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17611 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17612 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17613 then :
   17614   printf %s "(cached) " >&6
   17615 else $as_nop
   17616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17617 /* end confdefs.h.  */
   17618 int i;
   17619 _ACEOF
   17620 if ac_fn_c_try_compile "$LINENO"
   17621 then :
   17622   xorg_cv_cc_flag_unused_command_line_argument=yes
   17623 else $as_nop
   17624   xorg_cv_cc_flag_unused_command_line_argument=no
   17625 fi
   17626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17627 fi
   17628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17629 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17630 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17631 	CFLAGS="$xorg_testset_save_CFLAGS"
   17632 fi
   17633 
   17634 found="no"
   17635 
   17636 	if test $found = "no" ; then
   17637 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17638 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17639 		fi
   17640 
   17641 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17642 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17643 		fi
   17644 
   17645 		CFLAGS="$CFLAGS -Wmain"
   17646 
   17647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17648 printf %s "checking if $CC supports -Wmain... " >&6; }
   17649 		cacheid=xorg_cv_cc_flag__Wmain
   17650 		if eval test \${$cacheid+y}
   17651 then :
   17652   printf %s "(cached) " >&6
   17653 else $as_nop
   17654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17655 /* end confdefs.h.  */
   17656 int i;
   17657 int
   17658 main (void)
   17659 {
   17660 
   17661   ;
   17662   return 0;
   17663 }
   17664 _ACEOF
   17665 if ac_fn_c_try_link "$LINENO"
   17666 then :
   17667   eval $cacheid=yes
   17668 else $as_nop
   17669   eval $cacheid=no
   17670 fi
   17671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17672     conftest$ac_exeext conftest.$ac_ext
   17673 fi
   17674 
   17675 
   17676 		CFLAGS="$xorg_testset_save_CFLAGS"
   17677 
   17678 		eval supported=\$$cacheid
   17679 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17680 printf "%s\n" "$supported" >&6; }
   17681 		if test "$supported" = "yes" ; then
   17682 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17683 			found="yes"
   17684 		fi
   17685 	fi
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 xorg_testset_save_CFLAGS="$CFLAGS"
   17702 
   17703 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17704 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17706 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17707 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17708 then :
   17709   printf %s "(cached) " >&6
   17710 else $as_nop
   17711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17712 /* end confdefs.h.  */
   17713 int i;
   17714 _ACEOF
   17715 if ac_fn_c_try_compile "$LINENO"
   17716 then :
   17717   xorg_cv_cc_flag_unknown_warning_option=yes
   17718 else $as_nop
   17719   xorg_cv_cc_flag_unknown_warning_option=no
   17720 fi
   17721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17722 fi
   17723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17724 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17726 	CFLAGS="$xorg_testset_save_CFLAGS"
   17727 fi
   17728 
   17729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17732 	fi
   17733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17734 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17735 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17736 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17737 then :
   17738   printf %s "(cached) " >&6
   17739 else $as_nop
   17740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17741 /* end confdefs.h.  */
   17742 int i;
   17743 _ACEOF
   17744 if ac_fn_c_try_compile "$LINENO"
   17745 then :
   17746   xorg_cv_cc_flag_unused_command_line_argument=yes
   17747 else $as_nop
   17748   xorg_cv_cc_flag_unused_command_line_argument=no
   17749 fi
   17750 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17751 fi
   17752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17753 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17755 	CFLAGS="$xorg_testset_save_CFLAGS"
   17756 fi
   17757 
   17758 found="no"
   17759 
   17760 	if test $found = "no" ; then
   17761 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17763 		fi
   17764 
   17765 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17767 		fi
   17768 
   17769 		CFLAGS="$CFLAGS -Wmissing-braces"
   17770 
   17771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17772 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17773 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17774 		if eval test \${$cacheid+y}
   17775 then :
   17776   printf %s "(cached) " >&6
   17777 else $as_nop
   17778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17779 /* end confdefs.h.  */
   17780 int i;
   17781 int
   17782 main (void)
   17783 {
   17784 
   17785   ;
   17786   return 0;
   17787 }
   17788 _ACEOF
   17789 if ac_fn_c_try_link "$LINENO"
   17790 then :
   17791   eval $cacheid=yes
   17792 else $as_nop
   17793   eval $cacheid=no
   17794 fi
   17795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17796     conftest$ac_exeext conftest.$ac_ext
   17797 fi
   17798 
   17799 
   17800 		CFLAGS="$xorg_testset_save_CFLAGS"
   17801 
   17802 		eval supported=\$$cacheid
   17803 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17804 printf "%s\n" "$supported" >&6; }
   17805 		if test "$supported" = "yes" ; then
   17806 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17807 			found="yes"
   17808 		fi
   17809 	fi
   17810 
   17811 
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818 
   17819 
   17820 
   17821 
   17822 
   17823 
   17824 
   17825 xorg_testset_save_CFLAGS="$CFLAGS"
   17826 
   17827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17829 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17830 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17831 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17832 then :
   17833   printf %s "(cached) " >&6
   17834 else $as_nop
   17835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17836 /* end confdefs.h.  */
   17837 int i;
   17838 _ACEOF
   17839 if ac_fn_c_try_compile "$LINENO"
   17840 then :
   17841   xorg_cv_cc_flag_unknown_warning_option=yes
   17842 else $as_nop
   17843   xorg_cv_cc_flag_unknown_warning_option=no
   17844 fi
   17845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17846 fi
   17847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17848 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17850 	CFLAGS="$xorg_testset_save_CFLAGS"
   17851 fi
   17852 
   17853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17856 	fi
   17857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17858 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17859 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17860 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17861 then :
   17862   printf %s "(cached) " >&6
   17863 else $as_nop
   17864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17865 /* end confdefs.h.  */
   17866 int i;
   17867 _ACEOF
   17868 if ac_fn_c_try_compile "$LINENO"
   17869 then :
   17870   xorg_cv_cc_flag_unused_command_line_argument=yes
   17871 else $as_nop
   17872   xorg_cv_cc_flag_unused_command_line_argument=no
   17873 fi
   17874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17875 fi
   17876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17877 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17879 	CFLAGS="$xorg_testset_save_CFLAGS"
   17880 fi
   17881 
   17882 found="no"
   17883 
   17884 	if test $found = "no" ; then
   17885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17887 		fi
   17888 
   17889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17891 		fi
   17892 
   17893 		CFLAGS="$CFLAGS -Wsequence-point"
   17894 
   17895 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17896 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17897 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17898 		if eval test \${$cacheid+y}
   17899 then :
   17900   printf %s "(cached) " >&6
   17901 else $as_nop
   17902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17903 /* end confdefs.h.  */
   17904 int i;
   17905 int
   17906 main (void)
   17907 {
   17908 
   17909   ;
   17910   return 0;
   17911 }
   17912 _ACEOF
   17913 if ac_fn_c_try_link "$LINENO"
   17914 then :
   17915   eval $cacheid=yes
   17916 else $as_nop
   17917   eval $cacheid=no
   17918 fi
   17919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17920     conftest$ac_exeext conftest.$ac_ext
   17921 fi
   17922 
   17923 
   17924 		CFLAGS="$xorg_testset_save_CFLAGS"
   17925 
   17926 		eval supported=\$$cacheid
   17927 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17928 printf "%s\n" "$supported" >&6; }
   17929 		if test "$supported" = "yes" ; then
   17930 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17931 			found="yes"
   17932 		fi
   17933 	fi
   17934 
   17935 
   17936 
   17937 
   17938 
   17939 
   17940 
   17941 
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 
   17948 
   17949 xorg_testset_save_CFLAGS="$CFLAGS"
   17950 
   17951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17953 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17954 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17955 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17956 then :
   17957   printf %s "(cached) " >&6
   17958 else $as_nop
   17959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17960 /* end confdefs.h.  */
   17961 int i;
   17962 _ACEOF
   17963 if ac_fn_c_try_compile "$LINENO"
   17964 then :
   17965   xorg_cv_cc_flag_unknown_warning_option=yes
   17966 else $as_nop
   17967   xorg_cv_cc_flag_unknown_warning_option=no
   17968 fi
   17969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17970 fi
   17971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17972 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17973 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17974 	CFLAGS="$xorg_testset_save_CFLAGS"
   17975 fi
   17976 
   17977 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17978 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17979 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17980 	fi
   17981 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17982 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17983 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17984 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17985 then :
   17986   printf %s "(cached) " >&6
   17987 else $as_nop
   17988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17989 /* end confdefs.h.  */
   17990 int i;
   17991 _ACEOF
   17992 if ac_fn_c_try_compile "$LINENO"
   17993 then :
   17994   xorg_cv_cc_flag_unused_command_line_argument=yes
   17995 else $as_nop
   17996   xorg_cv_cc_flag_unused_command_line_argument=no
   17997 fi
   17998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17999 fi
   18000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18001 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18003 	CFLAGS="$xorg_testset_save_CFLAGS"
   18004 fi
   18005 
   18006 found="no"
   18007 
   18008 	if test $found = "no" ; then
   18009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18011 		fi
   18012 
   18013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18015 		fi
   18016 
   18017 		CFLAGS="$CFLAGS -Wreturn-type"
   18018 
   18019 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18020 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18021 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18022 		if eval test \${$cacheid+y}
   18023 then :
   18024   printf %s "(cached) " >&6
   18025 else $as_nop
   18026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18027 /* end confdefs.h.  */
   18028 int i;
   18029 int
   18030 main (void)
   18031 {
   18032 
   18033   ;
   18034   return 0;
   18035 }
   18036 _ACEOF
   18037 if ac_fn_c_try_link "$LINENO"
   18038 then :
   18039   eval $cacheid=yes
   18040 else $as_nop
   18041   eval $cacheid=no
   18042 fi
   18043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18044     conftest$ac_exeext conftest.$ac_ext
   18045 fi
   18046 
   18047 
   18048 		CFLAGS="$xorg_testset_save_CFLAGS"
   18049 
   18050 		eval supported=\$$cacheid
   18051 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18052 printf "%s\n" "$supported" >&6; }
   18053 		if test "$supported" = "yes" ; then
   18054 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18055 			found="yes"
   18056 		fi
   18057 	fi
   18058 
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 
   18070 
   18071 
   18072 
   18073 xorg_testset_save_CFLAGS="$CFLAGS"
   18074 
   18075 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18076 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18078 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18079 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18080 then :
   18081   printf %s "(cached) " >&6
   18082 else $as_nop
   18083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18084 /* end confdefs.h.  */
   18085 int i;
   18086 _ACEOF
   18087 if ac_fn_c_try_compile "$LINENO"
   18088 then :
   18089   xorg_cv_cc_flag_unknown_warning_option=yes
   18090 else $as_nop
   18091   xorg_cv_cc_flag_unknown_warning_option=no
   18092 fi
   18093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18094 fi
   18095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18096 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18097 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18098 	CFLAGS="$xorg_testset_save_CFLAGS"
   18099 fi
   18100 
   18101 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18102 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18103 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18104 	fi
   18105 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18106 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18107 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18108 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18109 then :
   18110   printf %s "(cached) " >&6
   18111 else $as_nop
   18112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18113 /* end confdefs.h.  */
   18114 int i;
   18115 _ACEOF
   18116 if ac_fn_c_try_compile "$LINENO"
   18117 then :
   18118   xorg_cv_cc_flag_unused_command_line_argument=yes
   18119 else $as_nop
   18120   xorg_cv_cc_flag_unused_command_line_argument=no
   18121 fi
   18122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18123 fi
   18124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18125 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18127 	CFLAGS="$xorg_testset_save_CFLAGS"
   18128 fi
   18129 
   18130 found="no"
   18131 
   18132 	if test $found = "no" ; then
   18133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18135 		fi
   18136 
   18137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18139 		fi
   18140 
   18141 		CFLAGS="$CFLAGS -Wtrigraphs"
   18142 
   18143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18144 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18145 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18146 		if eval test \${$cacheid+y}
   18147 then :
   18148   printf %s "(cached) " >&6
   18149 else $as_nop
   18150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18151 /* end confdefs.h.  */
   18152 int i;
   18153 int
   18154 main (void)
   18155 {
   18156 
   18157   ;
   18158   return 0;
   18159 }
   18160 _ACEOF
   18161 if ac_fn_c_try_link "$LINENO"
   18162 then :
   18163   eval $cacheid=yes
   18164 else $as_nop
   18165   eval $cacheid=no
   18166 fi
   18167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18168     conftest$ac_exeext conftest.$ac_ext
   18169 fi
   18170 
   18171 
   18172 		CFLAGS="$xorg_testset_save_CFLAGS"
   18173 
   18174 		eval supported=\$$cacheid
   18175 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18176 printf "%s\n" "$supported" >&6; }
   18177 		if test "$supported" = "yes" ; then
   18178 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18179 			found="yes"
   18180 		fi
   18181 	fi
   18182 
   18183 
   18184 
   18185 
   18186 
   18187 
   18188 
   18189 
   18190 
   18191 
   18192 
   18193 
   18194 
   18195 
   18196 
   18197 xorg_testset_save_CFLAGS="$CFLAGS"
   18198 
   18199 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18200 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18201 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18202 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18203 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18204 then :
   18205   printf %s "(cached) " >&6
   18206 else $as_nop
   18207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18208 /* end confdefs.h.  */
   18209 int i;
   18210 _ACEOF
   18211 if ac_fn_c_try_compile "$LINENO"
   18212 then :
   18213   xorg_cv_cc_flag_unknown_warning_option=yes
   18214 else $as_nop
   18215   xorg_cv_cc_flag_unknown_warning_option=no
   18216 fi
   18217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18218 fi
   18219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18220 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18222 	CFLAGS="$xorg_testset_save_CFLAGS"
   18223 fi
   18224 
   18225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18228 	fi
   18229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18231 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18232 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18233 then :
   18234   printf %s "(cached) " >&6
   18235 else $as_nop
   18236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18237 /* end confdefs.h.  */
   18238 int i;
   18239 _ACEOF
   18240 if ac_fn_c_try_compile "$LINENO"
   18241 then :
   18242   xorg_cv_cc_flag_unused_command_line_argument=yes
   18243 else $as_nop
   18244   xorg_cv_cc_flag_unused_command_line_argument=no
   18245 fi
   18246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18247 fi
   18248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18249 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18250 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18251 	CFLAGS="$xorg_testset_save_CFLAGS"
   18252 fi
   18253 
   18254 found="no"
   18255 
   18256 	if test $found = "no" ; then
   18257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18259 		fi
   18260 
   18261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18263 		fi
   18264 
   18265 		CFLAGS="$CFLAGS -Warray-bounds"
   18266 
   18267 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18268 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18269 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18270 		if eval test \${$cacheid+y}
   18271 then :
   18272   printf %s "(cached) " >&6
   18273 else $as_nop
   18274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18275 /* end confdefs.h.  */
   18276 int i;
   18277 int
   18278 main (void)
   18279 {
   18280 
   18281   ;
   18282   return 0;
   18283 }
   18284 _ACEOF
   18285 if ac_fn_c_try_link "$LINENO"
   18286 then :
   18287   eval $cacheid=yes
   18288 else $as_nop
   18289   eval $cacheid=no
   18290 fi
   18291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18292     conftest$ac_exeext conftest.$ac_ext
   18293 fi
   18294 
   18295 
   18296 		CFLAGS="$xorg_testset_save_CFLAGS"
   18297 
   18298 		eval supported=\$$cacheid
   18299 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18300 printf "%s\n" "$supported" >&6; }
   18301 		if test "$supported" = "yes" ; then
   18302 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18303 			found="yes"
   18304 		fi
   18305 	fi
   18306 
   18307 
   18308 
   18309 
   18310 
   18311 
   18312 
   18313 
   18314 
   18315 
   18316 
   18317 
   18318 
   18319 
   18320 
   18321 xorg_testset_save_CFLAGS="$CFLAGS"
   18322 
   18323 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18324 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18325 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18326 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18327 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18328 then :
   18329   printf %s "(cached) " >&6
   18330 else $as_nop
   18331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18332 /* end confdefs.h.  */
   18333 int i;
   18334 _ACEOF
   18335 if ac_fn_c_try_compile "$LINENO"
   18336 then :
   18337   xorg_cv_cc_flag_unknown_warning_option=yes
   18338 else $as_nop
   18339   xorg_cv_cc_flag_unknown_warning_option=no
   18340 fi
   18341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18342 fi
   18343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18344 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18345 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18346 	CFLAGS="$xorg_testset_save_CFLAGS"
   18347 fi
   18348 
   18349 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18350 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18351 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18352 	fi
   18353 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18354 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18355 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18356 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18357 then :
   18358   printf %s "(cached) " >&6
   18359 else $as_nop
   18360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18361 /* end confdefs.h.  */
   18362 int i;
   18363 _ACEOF
   18364 if ac_fn_c_try_compile "$LINENO"
   18365 then :
   18366   xorg_cv_cc_flag_unused_command_line_argument=yes
   18367 else $as_nop
   18368   xorg_cv_cc_flag_unused_command_line_argument=no
   18369 fi
   18370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18371 fi
   18372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18373 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18374 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18375 	CFLAGS="$xorg_testset_save_CFLAGS"
   18376 fi
   18377 
   18378 found="no"
   18379 
   18380 	if test $found = "no" ; then
   18381 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18382 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18383 		fi
   18384 
   18385 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18386 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18387 		fi
   18388 
   18389 		CFLAGS="$CFLAGS -Wwrite-strings"
   18390 
   18391 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18392 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18393 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18394 		if eval test \${$cacheid+y}
   18395 then :
   18396   printf %s "(cached) " >&6
   18397 else $as_nop
   18398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18399 /* end confdefs.h.  */
   18400 int i;
   18401 int
   18402 main (void)
   18403 {
   18404 
   18405   ;
   18406   return 0;
   18407 }
   18408 _ACEOF
   18409 if ac_fn_c_try_link "$LINENO"
   18410 then :
   18411   eval $cacheid=yes
   18412 else $as_nop
   18413   eval $cacheid=no
   18414 fi
   18415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18416     conftest$ac_exeext conftest.$ac_ext
   18417 fi
   18418 
   18419 
   18420 		CFLAGS="$xorg_testset_save_CFLAGS"
   18421 
   18422 		eval supported=\$$cacheid
   18423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18424 printf "%s\n" "$supported" >&6; }
   18425 		if test "$supported" = "yes" ; then
   18426 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18427 			found="yes"
   18428 		fi
   18429 	fi
   18430 
   18431 
   18432 
   18433 
   18434 
   18435 
   18436 
   18437 
   18438 
   18439 
   18440 
   18441 
   18442 
   18443 
   18444 
   18445 xorg_testset_save_CFLAGS="$CFLAGS"
   18446 
   18447 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18448 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18449 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18450 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18451 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18452 then :
   18453   printf %s "(cached) " >&6
   18454 else $as_nop
   18455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18456 /* end confdefs.h.  */
   18457 int i;
   18458 _ACEOF
   18459 if ac_fn_c_try_compile "$LINENO"
   18460 then :
   18461   xorg_cv_cc_flag_unknown_warning_option=yes
   18462 else $as_nop
   18463   xorg_cv_cc_flag_unknown_warning_option=no
   18464 fi
   18465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18466 fi
   18467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18468 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18469 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18470 	CFLAGS="$xorg_testset_save_CFLAGS"
   18471 fi
   18472 
   18473 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18474 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18475 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18476 	fi
   18477 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18478 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18479 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18480 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18481 then :
   18482   printf %s "(cached) " >&6
   18483 else $as_nop
   18484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18485 /* end confdefs.h.  */
   18486 int i;
   18487 _ACEOF
   18488 if ac_fn_c_try_compile "$LINENO"
   18489 then :
   18490   xorg_cv_cc_flag_unused_command_line_argument=yes
   18491 else $as_nop
   18492   xorg_cv_cc_flag_unused_command_line_argument=no
   18493 fi
   18494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18495 fi
   18496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18497 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18498 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18499 	CFLAGS="$xorg_testset_save_CFLAGS"
   18500 fi
   18501 
   18502 found="no"
   18503 
   18504 	if test $found = "no" ; then
   18505 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18506 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18507 		fi
   18508 
   18509 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18510 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18511 		fi
   18512 
   18513 		CFLAGS="$CFLAGS -Waddress"
   18514 
   18515 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18516 printf %s "checking if $CC supports -Waddress... " >&6; }
   18517 		cacheid=xorg_cv_cc_flag__Waddress
   18518 		if eval test \${$cacheid+y}
   18519 then :
   18520   printf %s "(cached) " >&6
   18521 else $as_nop
   18522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18523 /* end confdefs.h.  */
   18524 int i;
   18525 int
   18526 main (void)
   18527 {
   18528 
   18529   ;
   18530   return 0;
   18531 }
   18532 _ACEOF
   18533 if ac_fn_c_try_link "$LINENO"
   18534 then :
   18535   eval $cacheid=yes
   18536 else $as_nop
   18537   eval $cacheid=no
   18538 fi
   18539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18540     conftest$ac_exeext conftest.$ac_ext
   18541 fi
   18542 
   18543 
   18544 		CFLAGS="$xorg_testset_save_CFLAGS"
   18545 
   18546 		eval supported=\$$cacheid
   18547 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18548 printf "%s\n" "$supported" >&6; }
   18549 		if test "$supported" = "yes" ; then
   18550 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18551 			found="yes"
   18552 		fi
   18553 	fi
   18554 
   18555 
   18556 
   18557 
   18558 
   18559 
   18560 
   18561 
   18562 
   18563 
   18564 
   18565 
   18566 
   18567 
   18568 
   18569 xorg_testset_save_CFLAGS="$CFLAGS"
   18570 
   18571 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18572 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18573 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18574 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18575 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18576 then :
   18577   printf %s "(cached) " >&6
   18578 else $as_nop
   18579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18580 /* end confdefs.h.  */
   18581 int i;
   18582 _ACEOF
   18583 if ac_fn_c_try_compile "$LINENO"
   18584 then :
   18585   xorg_cv_cc_flag_unknown_warning_option=yes
   18586 else $as_nop
   18587   xorg_cv_cc_flag_unknown_warning_option=no
   18588 fi
   18589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18590 fi
   18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18592 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18593 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18594 	CFLAGS="$xorg_testset_save_CFLAGS"
   18595 fi
   18596 
   18597 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18598 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18599 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18600 	fi
   18601 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18602 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18603 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18604 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18605 then :
   18606   printf %s "(cached) " >&6
   18607 else $as_nop
   18608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18609 /* end confdefs.h.  */
   18610 int i;
   18611 _ACEOF
   18612 if ac_fn_c_try_compile "$LINENO"
   18613 then :
   18614   xorg_cv_cc_flag_unused_command_line_argument=yes
   18615 else $as_nop
   18616   xorg_cv_cc_flag_unused_command_line_argument=no
   18617 fi
   18618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18619 fi
   18620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18621 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18622 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18623 	CFLAGS="$xorg_testset_save_CFLAGS"
   18624 fi
   18625 
   18626 found="no"
   18627 
   18628 	if test $found = "no" ; then
   18629 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18630 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18631 		fi
   18632 
   18633 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18634 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18635 		fi
   18636 
   18637 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18638 
   18639 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18640 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18641 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18642 		if eval test \${$cacheid+y}
   18643 then :
   18644   printf %s "(cached) " >&6
   18645 else $as_nop
   18646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18647 /* end confdefs.h.  */
   18648 int i;
   18649 int
   18650 main (void)
   18651 {
   18652 
   18653   ;
   18654   return 0;
   18655 }
   18656 _ACEOF
   18657 if ac_fn_c_try_link "$LINENO"
   18658 then :
   18659   eval $cacheid=yes
   18660 else $as_nop
   18661   eval $cacheid=no
   18662 fi
   18663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18664     conftest$ac_exeext conftest.$ac_ext
   18665 fi
   18666 
   18667 
   18668 		CFLAGS="$xorg_testset_save_CFLAGS"
   18669 
   18670 		eval supported=\$$cacheid
   18671 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18672 printf "%s\n" "$supported" >&6; }
   18673 		if test "$supported" = "yes" ; then
   18674 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18675 			found="yes"
   18676 		fi
   18677 	fi
   18678 
   18679 
   18680 
   18681 
   18682 
   18683 
   18684 
   18685 
   18686 
   18687 
   18688 
   18689 
   18690 
   18691 
   18692 
   18693 xorg_testset_save_CFLAGS="$CFLAGS"
   18694 
   18695 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18696 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18697 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18698 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18699 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18700 then :
   18701   printf %s "(cached) " >&6
   18702 else $as_nop
   18703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18704 /* end confdefs.h.  */
   18705 int i;
   18706 _ACEOF
   18707 if ac_fn_c_try_compile "$LINENO"
   18708 then :
   18709   xorg_cv_cc_flag_unknown_warning_option=yes
   18710 else $as_nop
   18711   xorg_cv_cc_flag_unknown_warning_option=no
   18712 fi
   18713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18714 fi
   18715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18716 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18717 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18718 	CFLAGS="$xorg_testset_save_CFLAGS"
   18719 fi
   18720 
   18721 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18722 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18723 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18724 	fi
   18725 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18726 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18727 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18728 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18729 then :
   18730   printf %s "(cached) " >&6
   18731 else $as_nop
   18732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18733 /* end confdefs.h.  */
   18734 int i;
   18735 _ACEOF
   18736 if ac_fn_c_try_compile "$LINENO"
   18737 then :
   18738   xorg_cv_cc_flag_unused_command_line_argument=yes
   18739 else $as_nop
   18740   xorg_cv_cc_flag_unused_command_line_argument=no
   18741 fi
   18742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18743 fi
   18744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18745 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18746 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18747 	CFLAGS="$xorg_testset_save_CFLAGS"
   18748 fi
   18749 
   18750 found="no"
   18751 
   18752 	if test $found = "no" ; then
   18753 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18754 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18755 		fi
   18756 
   18757 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18758 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18759 		fi
   18760 
   18761 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18762 
   18763 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18764 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18765 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18766 		if eval test \${$cacheid+y}
   18767 then :
   18768   printf %s "(cached) " >&6
   18769 else $as_nop
   18770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18771 /* end confdefs.h.  */
   18772 int i;
   18773 int
   18774 main (void)
   18775 {
   18776 
   18777   ;
   18778   return 0;
   18779 }
   18780 _ACEOF
   18781 if ac_fn_c_try_link "$LINENO"
   18782 then :
   18783   eval $cacheid=yes
   18784 else $as_nop
   18785   eval $cacheid=no
   18786 fi
   18787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18788     conftest$ac_exeext conftest.$ac_ext
   18789 fi
   18790 
   18791 
   18792 		CFLAGS="$xorg_testset_save_CFLAGS"
   18793 
   18794 		eval supported=\$$cacheid
   18795 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18796 printf "%s\n" "$supported" >&6; }
   18797 		if test "$supported" = "yes" ; then
   18798 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18799 			found="yes"
   18800 		fi
   18801 	fi
   18802 
   18803 
   18804 fi
   18805 
   18806 
   18807 
   18808 
   18809 
   18810 
   18811 
   18812 		CWARNFLAGS="$BASE_CFLAGS"
   18813 		if  test "x$GCC" = xyes ; then
   18814 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18815 		fi
   18816 
   18817 
   18818 
   18819 
   18820 
   18821 
   18822 
   18823 
   18824 # Check whether --enable-strict-compilation was given.
   18825 if test ${enable_strict_compilation+y}
   18826 then :
   18827   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18828 else $as_nop
   18829   STRICT_COMPILE=no
   18830 fi
   18831 
   18832 
   18833 
   18834 
   18835 
   18836 
   18837 STRICT_CFLAGS=""
   18838 
   18839 
   18840 
   18841 
   18842 
   18843 
   18844 
   18845 
   18846 
   18847 
   18848 
   18849 
   18850 
   18851 xorg_testset_save_CFLAGS="$CFLAGS"
   18852 
   18853 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18854 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18856 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18857 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18858 then :
   18859   printf %s "(cached) " >&6
   18860 else $as_nop
   18861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18862 /* end confdefs.h.  */
   18863 int i;
   18864 _ACEOF
   18865 if ac_fn_c_try_compile "$LINENO"
   18866 then :
   18867   xorg_cv_cc_flag_unknown_warning_option=yes
   18868 else $as_nop
   18869   xorg_cv_cc_flag_unknown_warning_option=no
   18870 fi
   18871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18872 fi
   18873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18874 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18876 	CFLAGS="$xorg_testset_save_CFLAGS"
   18877 fi
   18878 
   18879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18882 	fi
   18883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18884 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18885 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18886 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18887 then :
   18888   printf %s "(cached) " >&6
   18889 else $as_nop
   18890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18891 /* end confdefs.h.  */
   18892 int i;
   18893 _ACEOF
   18894 if ac_fn_c_try_compile "$LINENO"
   18895 then :
   18896   xorg_cv_cc_flag_unused_command_line_argument=yes
   18897 else $as_nop
   18898   xorg_cv_cc_flag_unused_command_line_argument=no
   18899 fi
   18900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18901 fi
   18902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18903 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18905 	CFLAGS="$xorg_testset_save_CFLAGS"
   18906 fi
   18907 
   18908 found="no"
   18909 
   18910 	if test $found = "no" ; then
   18911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18913 		fi
   18914 
   18915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18917 		fi
   18918 
   18919 		CFLAGS="$CFLAGS -pedantic"
   18920 
   18921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18922 printf %s "checking if $CC supports -pedantic... " >&6; }
   18923 		cacheid=xorg_cv_cc_flag__pedantic
   18924 		if eval test \${$cacheid+y}
   18925 then :
   18926   printf %s "(cached) " >&6
   18927 else $as_nop
   18928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18929 /* end confdefs.h.  */
   18930 int i;
   18931 int
   18932 main (void)
   18933 {
   18934 
   18935   ;
   18936   return 0;
   18937 }
   18938 _ACEOF
   18939 if ac_fn_c_try_link "$LINENO"
   18940 then :
   18941   eval $cacheid=yes
   18942 else $as_nop
   18943   eval $cacheid=no
   18944 fi
   18945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18946     conftest$ac_exeext conftest.$ac_ext
   18947 fi
   18948 
   18949 
   18950 		CFLAGS="$xorg_testset_save_CFLAGS"
   18951 
   18952 		eval supported=\$$cacheid
   18953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18954 printf "%s\n" "$supported" >&6; }
   18955 		if test "$supported" = "yes" ; then
   18956 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18957 			found="yes"
   18958 		fi
   18959 	fi
   18960 
   18961 
   18962 
   18963 
   18964 
   18965 
   18966 
   18967 
   18968 
   18969 
   18970 
   18971 
   18972 
   18973 
   18974 
   18975 xorg_testset_save_CFLAGS="$CFLAGS"
   18976 
   18977 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18978 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18980 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18981 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18982 then :
   18983   printf %s "(cached) " >&6
   18984 else $as_nop
   18985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18986 /* end confdefs.h.  */
   18987 int i;
   18988 _ACEOF
   18989 if ac_fn_c_try_compile "$LINENO"
   18990 then :
   18991   xorg_cv_cc_flag_unknown_warning_option=yes
   18992 else $as_nop
   18993   xorg_cv_cc_flag_unknown_warning_option=no
   18994 fi
   18995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18996 fi
   18997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18998 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19000 	CFLAGS="$xorg_testset_save_CFLAGS"
   19001 fi
   19002 
   19003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19006 	fi
   19007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19008 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19009 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19010 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19011 then :
   19012   printf %s "(cached) " >&6
   19013 else $as_nop
   19014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19015 /* end confdefs.h.  */
   19016 int i;
   19017 _ACEOF
   19018 if ac_fn_c_try_compile "$LINENO"
   19019 then :
   19020   xorg_cv_cc_flag_unused_command_line_argument=yes
   19021 else $as_nop
   19022   xorg_cv_cc_flag_unused_command_line_argument=no
   19023 fi
   19024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19025 fi
   19026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19027 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19029 	CFLAGS="$xorg_testset_save_CFLAGS"
   19030 fi
   19031 
   19032 found="no"
   19033 
   19034 	if test $found = "no" ; then
   19035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19037 		fi
   19038 
   19039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19041 		fi
   19042 
   19043 		CFLAGS="$CFLAGS -Werror"
   19044 
   19045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   19046 printf %s "checking if $CC supports -Werror... " >&6; }
   19047 		cacheid=xorg_cv_cc_flag__Werror
   19048 		if eval test \${$cacheid+y}
   19049 then :
   19050   printf %s "(cached) " >&6
   19051 else $as_nop
   19052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19053 /* end confdefs.h.  */
   19054 int i;
   19055 int
   19056 main (void)
   19057 {
   19058 
   19059   ;
   19060   return 0;
   19061 }
   19062 _ACEOF
   19063 if ac_fn_c_try_link "$LINENO"
   19064 then :
   19065   eval $cacheid=yes
   19066 else $as_nop
   19067   eval $cacheid=no
   19068 fi
   19069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19070     conftest$ac_exeext conftest.$ac_ext
   19071 fi
   19072 
   19073 
   19074 		CFLAGS="$xorg_testset_save_CFLAGS"
   19075 
   19076 		eval supported=\$$cacheid
   19077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19078 printf "%s\n" "$supported" >&6; }
   19079 		if test "$supported" = "yes" ; then
   19080 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   19081 			found="yes"
   19082 		fi
   19083 	fi
   19084 
   19085 	if test $found = "no" ; then
   19086 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19088 		fi
   19089 
   19090 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19092 		fi
   19093 
   19094 		CFLAGS="$CFLAGS -errwarn"
   19095 
   19096 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   19097 printf %s "checking if $CC supports -errwarn... " >&6; }
   19098 		cacheid=xorg_cv_cc_flag__errwarn
   19099 		if eval test \${$cacheid+y}
   19100 then :
   19101   printf %s "(cached) " >&6
   19102 else $as_nop
   19103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19104 /* end confdefs.h.  */
   19105 int i;
   19106 int
   19107 main (void)
   19108 {
   19109 
   19110   ;
   19111   return 0;
   19112 }
   19113 _ACEOF
   19114 if ac_fn_c_try_link "$LINENO"
   19115 then :
   19116   eval $cacheid=yes
   19117 else $as_nop
   19118   eval $cacheid=no
   19119 fi
   19120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19121     conftest$ac_exeext conftest.$ac_ext
   19122 fi
   19123 
   19124 
   19125 		CFLAGS="$xorg_testset_save_CFLAGS"
   19126 
   19127 		eval supported=\$$cacheid
   19128 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19129 printf "%s\n" "$supported" >&6; }
   19130 		if test "$supported" = "yes" ; then
   19131 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19132 			found="yes"
   19133 		fi
   19134 	fi
   19135 
   19136 
   19137 
   19138 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19139 # activate it with -Werror, so we add it here explicitly.
   19140 
   19141 
   19142 
   19143 
   19144 
   19145 
   19146 
   19147 
   19148 
   19149 
   19150 
   19151 
   19152 
   19153 xorg_testset_save_CFLAGS="$CFLAGS"
   19154 
   19155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19157 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19158 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19159 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19160 then :
   19161   printf %s "(cached) " >&6
   19162 else $as_nop
   19163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19164 /* end confdefs.h.  */
   19165 int i;
   19166 _ACEOF
   19167 if ac_fn_c_try_compile "$LINENO"
   19168 then :
   19169   xorg_cv_cc_flag_unknown_warning_option=yes
   19170 else $as_nop
   19171   xorg_cv_cc_flag_unknown_warning_option=no
   19172 fi
   19173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19174 fi
   19175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19176 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19178 	CFLAGS="$xorg_testset_save_CFLAGS"
   19179 fi
   19180 
   19181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19184 	fi
   19185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19186 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19187 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19188 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19189 then :
   19190   printf %s "(cached) " >&6
   19191 else $as_nop
   19192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19193 /* end confdefs.h.  */
   19194 int i;
   19195 _ACEOF
   19196 if ac_fn_c_try_compile "$LINENO"
   19197 then :
   19198   xorg_cv_cc_flag_unused_command_line_argument=yes
   19199 else $as_nop
   19200   xorg_cv_cc_flag_unused_command_line_argument=no
   19201 fi
   19202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19203 fi
   19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19205 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19207 	CFLAGS="$xorg_testset_save_CFLAGS"
   19208 fi
   19209 
   19210 found="no"
   19211 
   19212 	if test $found = "no" ; then
   19213 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19215 		fi
   19216 
   19217 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19219 		fi
   19220 
   19221 		CFLAGS="$CFLAGS -Werror=attributes"
   19222 
   19223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19224 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19225 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19226 		if eval test \${$cacheid+y}
   19227 then :
   19228   printf %s "(cached) " >&6
   19229 else $as_nop
   19230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19231 /* end confdefs.h.  */
   19232 int i;
   19233 int
   19234 main (void)
   19235 {
   19236 
   19237   ;
   19238   return 0;
   19239 }
   19240 _ACEOF
   19241 if ac_fn_c_try_link "$LINENO"
   19242 then :
   19243   eval $cacheid=yes
   19244 else $as_nop
   19245   eval $cacheid=no
   19246 fi
   19247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19248     conftest$ac_exeext conftest.$ac_ext
   19249 fi
   19250 
   19251 
   19252 		CFLAGS="$xorg_testset_save_CFLAGS"
   19253 
   19254 		eval supported=\$$cacheid
   19255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19256 printf "%s\n" "$supported" >&6; }
   19257 		if test "$supported" = "yes" ; then
   19258 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19259 			found="yes"
   19260 		fi
   19261 	fi
   19262 
   19263 
   19264 
   19265 if test "x$STRICT_COMPILE" = "xyes"; then
   19266     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19267     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19268 fi
   19269 
   19270 
   19271 
   19272 
   19273 
   19274 
   19275 cat >>confdefs.h <<_ACEOF
   19276 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19277 _ACEOF
   19278 
   19279 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19280 	if test "x$PVM" = "x"; then
   19281 		PVM="0"
   19282 	fi
   19283 
   19284 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19285 
   19286 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19287 	if test "x$PVP" = "x"; then
   19288 		PVP="0"
   19289 	fi
   19290 
   19291 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19292 
   19293 
   19294 
   19295 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19296 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19297 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19298 touch \$(top_srcdir)/ChangeLog; \
   19299 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19300 
   19301 
   19302 
   19303 
   19304 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19305 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19306 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19307 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19308 touch \$(top_srcdir)/INSTALL; \
   19309 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19310 
   19311 
   19312 
   19313 
   19314 
   19315 
   19316 case $host_os in
   19317     solaris*)
   19318         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19319         # check for a man page file found in later versions that use
   19320         # traditional section numbers instead
   19321         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19322 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19323 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19324 then :
   19325   printf %s "(cached) " >&6
   19326 else $as_nop
   19327   test "$cross_compiling" = yes &&
   19328   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19329 if test -r "/usr/share/man/man7/attributes.7"; then
   19330   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19331 else
   19332   ac_cv_file__usr_share_man_man7_attributes_7=no
   19333 fi
   19334 fi
   19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19336 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19337 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19338 then :
   19339   SYSV_MAN_SECTIONS=false
   19340 else $as_nop
   19341   SYSV_MAN_SECTIONS=true
   19342 fi
   19343 
   19344         ;;
   19345     *) SYSV_MAN_SECTIONS=false ;;
   19346 esac
   19347 
   19348 if test x$APP_MAN_SUFFIX = x    ; then
   19349     APP_MAN_SUFFIX=1
   19350 fi
   19351 if test x$APP_MAN_DIR = x    ; then
   19352     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19353 fi
   19354 
   19355 if test x$LIB_MAN_SUFFIX = x    ; then
   19356     LIB_MAN_SUFFIX=3
   19357 fi
   19358 if test x$LIB_MAN_DIR = x    ; then
   19359     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19360 fi
   19361 
   19362 if test x$FILE_MAN_SUFFIX = x    ; then
   19363     case $SYSV_MAN_SECTIONS in
   19364 	true)				FILE_MAN_SUFFIX=4  ;;
   19365 	*)				FILE_MAN_SUFFIX=5  ;;
   19366     esac
   19367 fi
   19368 if test x$FILE_MAN_DIR = x    ; then
   19369     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19370 fi
   19371 
   19372 if test x$MISC_MAN_SUFFIX = x    ; then
   19373     case $SYSV_MAN_SECTIONS in
   19374 	true)				MISC_MAN_SUFFIX=5  ;;
   19375 	*)				MISC_MAN_SUFFIX=7  ;;
   19376     esac
   19377 fi
   19378 if test x$MISC_MAN_DIR = x    ; then
   19379     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19380 fi
   19381 
   19382 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19383     case $SYSV_MAN_SECTIONS in
   19384 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19385 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19386     esac
   19387 fi
   19388 if test x$DRIVER_MAN_DIR = x    ; then
   19389     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19390 fi
   19391 
   19392 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19393     case $SYSV_MAN_SECTIONS in
   19394 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19395 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19396     esac
   19397 fi
   19398 if test x$ADMIN_MAN_DIR = x    ; then
   19399     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19400 fi
   19401 
   19402 
   19403 
   19404 
   19405 
   19406 
   19407 
   19408 
   19409 
   19410 
   19411 
   19412 
   19413 
   19414 
   19415 
   19416 XORG_MAN_PAGE="X Version 11"
   19417 
   19418 MAN_SUBSTS="\
   19419 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19420 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19421 	-e 's|__xservername__|Xorg|g' \
   19422 	-e 's|__xconfigfile__|xorg.conf|g' \
   19423 	-e 's|__projectroot__|\$(prefix)|g' \
   19424 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19425 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19426 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19427 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19428 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19429 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19430 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19431 
   19432 
   19433 
   19434 # Check whether --enable-silent-rules was given.
   19435 if test ${enable_silent_rules+y}
   19436 then :
   19437   enableval=$enable_silent_rules;
   19438 fi
   19439 
   19440 case $enable_silent_rules in # (((
   19441   yes) AM_DEFAULT_VERBOSITY=0;;
   19442    no) AM_DEFAULT_VERBOSITY=1;;
   19443     *) AM_DEFAULT_VERBOSITY=0;;
   19444 esac
   19445 am_make=${MAKE-make}
   19446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19447 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19448 if test ${am_cv_make_support_nested_variables+y}
   19449 then :
   19450   printf %s "(cached) " >&6
   19451 else $as_nop
   19452   if printf "%s\n" 'TRUE=$(BAR$(V))
   19453 BAR0=false
   19454 BAR1=true
   19455 V=1
   19456 am__doit:
   19457 	@$(TRUE)
   19458 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19459   am_cv_make_support_nested_variables=yes
   19460 else
   19461   am_cv_make_support_nested_variables=no
   19462 fi
   19463 fi
   19464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19465 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19466 if test $am_cv_make_support_nested_variables = yes; then
   19467     AM_V='$(V)'
   19468   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19469 else
   19470   AM_V=$AM_DEFAULT_VERBOSITY
   19471   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19472 fi
   19473 AM_BACKSLASH='\'
   19474 
   19475 
   19476 
   19477 
   19478 # Check whether --enable-devel-docs was given.
   19479 if test ${enable_devel_docs+y}
   19480 then :
   19481   enableval=$enable_devel_docs; build_devel_docs=$enableval
   19482 else $as_nop
   19483   build_devel_docs=yes
   19484 fi
   19485 
   19486 
   19487  if test x$build_devel_docs = xyes; then
   19488   ENABLE_DEVEL_DOCS_TRUE=
   19489   ENABLE_DEVEL_DOCS_FALSE='#'
   19490 else
   19491   ENABLE_DEVEL_DOCS_TRUE='#'
   19492   ENABLE_DEVEL_DOCS_FALSE=
   19493 fi
   19494 
   19495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   19496 printf %s "checking whether to build developer documentation... " >&6; }
   19497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   19498 printf "%s\n" "$build_devel_docs" >&6; }
   19499 
   19500 
   19501 
   19502 
   19503 
   19504 # Check whether --with-xmlto was given.
   19505 if test ${with_xmlto+y}
   19506 then :
   19507   withval=$with_xmlto; use_xmlto=$withval
   19508 else $as_nop
   19509   use_xmlto=auto
   19510 fi
   19511 
   19512 
   19513 
   19514 if test "x$use_xmlto" = x"auto"; then
   19515    # Extract the first word of "xmlto", so it can be a program name with args.
   19516 set dummy xmlto; ac_word=$2
   19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19518 printf %s "checking for $ac_word... " >&6; }
   19519 if test ${ac_cv_path_XMLTO+y}
   19520 then :
   19521   printf %s "(cached) " >&6
   19522 else $as_nop
   19523   case $XMLTO in
   19524   [\\/]* | ?:[\\/]*)
   19525   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19526   ;;
   19527   *)
   19528   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19529 for as_dir in $PATH
   19530 do
   19531   IFS=$as_save_IFS
   19532   case $as_dir in #(((
   19533     '') as_dir=./ ;;
   19534     */) ;;
   19535     *) as_dir=$as_dir/ ;;
   19536   esac
   19537     for ac_exec_ext in '' $ac_executable_extensions; do
   19538   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19539     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19540     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19541     break 2
   19542   fi
   19543 done
   19544   done
   19545 IFS=$as_save_IFS
   19546 
   19547   ;;
   19548 esac
   19549 fi
   19550 XMLTO=$ac_cv_path_XMLTO
   19551 if test -n "$XMLTO"; then
   19552   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19553 printf "%s\n" "$XMLTO" >&6; }
   19554 else
   19555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19556 printf "%s\n" "no" >&6; }
   19557 fi
   19558 
   19559 
   19560    if test "x$XMLTO" = "x"; then
   19561         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   19562 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   19563 	have_xmlto=no
   19564    else
   19565         have_xmlto=yes
   19566    fi
   19567 elif test "x$use_xmlto" = x"yes" ; then
   19568    # Extract the first word of "xmlto", so it can be a program name with args.
   19569 set dummy xmlto; ac_word=$2
   19570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19571 printf %s "checking for $ac_word... " >&6; }
   19572 if test ${ac_cv_path_XMLTO+y}
   19573 then :
   19574   printf %s "(cached) " >&6
   19575 else $as_nop
   19576   case $XMLTO in
   19577   [\\/]* | ?:[\\/]*)
   19578   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19579   ;;
   19580   *)
   19581   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19582 for as_dir in $PATH
   19583 do
   19584   IFS=$as_save_IFS
   19585   case $as_dir in #(((
   19586     '') as_dir=./ ;;
   19587     */) ;;
   19588     *) as_dir=$as_dir/ ;;
   19589   esac
   19590     for ac_exec_ext in '' $ac_executable_extensions; do
   19591   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19592     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19593     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19594     break 2
   19595   fi
   19596 done
   19597   done
   19598 IFS=$as_save_IFS
   19599 
   19600   ;;
   19601 esac
   19602 fi
   19603 XMLTO=$ac_cv_path_XMLTO
   19604 if test -n "$XMLTO"; then
   19605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19606 printf "%s\n" "$XMLTO" >&6; }
   19607 else
   19608   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19609 printf "%s\n" "no" >&6; }
   19610 fi
   19611 
   19612 
   19613    if test "x$XMLTO" = "x"; then
   19614         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   19615    fi
   19616    have_xmlto=yes
   19617 elif test "x$use_xmlto" = x"no" ; then
   19618    if test "x$XMLTO" != "x"; then
   19619       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   19620 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   19621    fi
   19622    have_xmlto=no
   19623 else
   19624    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   19625 fi
   19626 
   19627 # Test for a minimum version of xmlto, if provided.
   19628 if test "$have_xmlto" = yes; then
   19629     # scrape the xmlto version
   19630     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   19631 printf %s "checking the xmlto version... " >&6; }
   19632     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   19633     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   19634 printf "%s\n" "$xmlto_version" >&6; }
   19635     as_arg_v1=$xmlto_version
   19636 as_arg_v2=0.0.22
   19637 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   19638 case $? in #(
   19639   1) :
   19640     if test "x$use_xmlto" = xauto; then
   19641             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   19642 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   19643             have_xmlto=no
   19644         else
   19645             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   19646         fi ;; #(
   19647   0) :
   19648      ;; #(
   19649   2) :
   19650      ;; #(
   19651   *) :
   19652      ;;
   19653 esac
   19654 fi
   19655 
   19656 # Test for the ability of xmlto to generate a text target
   19657 #
   19658 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   19659 # following test for empty XML docbook files.
   19660 # For compatibility reasons use the following empty XML docbook file and if
   19661 # it fails try it again with a non-empty XML file.
   19662 have_xmlto_text=no
   19663 cat > conftest.xml << "EOF"
   19664 EOF
   19665 if test "$have_xmlto" = yes
   19666 then :
   19667   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19668 then :
   19669   have_xmlto_text=yes
   19670 else $as_nop
   19671   # Try it again with a non-empty XML file.
   19672               cat > conftest.xml << "EOF"
   19673 <x></x>
   19674 EOF
   19675               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19676 then :
   19677   have_xmlto_text=yes
   19678 else $as_nop
   19679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   19680 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   19681 fi
   19682 fi
   19683 fi
   19684 rm -f conftest.xml
   19685  if test $have_xmlto_text = yes; then
   19686   HAVE_XMLTO_TEXT_TRUE=
   19687   HAVE_XMLTO_TEXT_FALSE='#'
   19688 else
   19689   HAVE_XMLTO_TEXT_TRUE='#'
   19690   HAVE_XMLTO_TEXT_FALSE=
   19691 fi
   19692 
   19693  if test "$have_xmlto" = yes; then
   19694   HAVE_XMLTO_TRUE=
   19695   HAVE_XMLTO_FALSE='#'
   19696 else
   19697   HAVE_XMLTO_TRUE='#'
   19698   HAVE_XMLTO_FALSE=
   19699 fi
   19700 
   19701 
   19702 
   19703 
   19704 
   19705 
   19706 # Check whether --with-fop was given.
   19707 if test ${with_fop+y}
   19708 then :
   19709   withval=$with_fop; use_fop=$withval
   19710 else $as_nop
   19711   use_fop=auto
   19712 fi
   19713 
   19714 
   19715 
   19716 if test "x$use_fop" = x"auto"; then
   19717    # Extract the first word of "fop", so it can be a program name with args.
   19718 set dummy fop; ac_word=$2
   19719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19720 printf %s "checking for $ac_word... " >&6; }
   19721 if test ${ac_cv_path_FOP+y}
   19722 then :
   19723   printf %s "(cached) " >&6
   19724 else $as_nop
   19725   case $FOP in
   19726   [\\/]* | ?:[\\/]*)
   19727   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19728   ;;
   19729   *)
   19730   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19731 for as_dir in $PATH
   19732 do
   19733   IFS=$as_save_IFS
   19734   case $as_dir in #(((
   19735     '') as_dir=./ ;;
   19736     */) ;;
   19737     *) as_dir=$as_dir/ ;;
   19738   esac
   19739     for ac_exec_ext in '' $ac_executable_extensions; do
   19740   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19741     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19742     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19743     break 2
   19744   fi
   19745 done
   19746   done
   19747 IFS=$as_save_IFS
   19748 
   19749   ;;
   19750 esac
   19751 fi
   19752 FOP=$ac_cv_path_FOP
   19753 if test -n "$FOP"; then
   19754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19755 printf "%s\n" "$FOP" >&6; }
   19756 else
   19757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19758 printf "%s\n" "no" >&6; }
   19759 fi
   19760 
   19761 
   19762    if test "x$FOP" = "x"; then
   19763         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   19764 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   19765 	have_fop=no
   19766    else
   19767         have_fop=yes
   19768    fi
   19769 elif test "x$use_fop" = x"yes" ; then
   19770    # Extract the first word of "fop", so it can be a program name with args.
   19771 set dummy fop; ac_word=$2
   19772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19773 printf %s "checking for $ac_word... " >&6; }
   19774 if test ${ac_cv_path_FOP+y}
   19775 then :
   19776   printf %s "(cached) " >&6
   19777 else $as_nop
   19778   case $FOP in
   19779   [\\/]* | ?:[\\/]*)
   19780   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19781   ;;
   19782   *)
   19783   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19784 for as_dir in $PATH
   19785 do
   19786   IFS=$as_save_IFS
   19787   case $as_dir in #(((
   19788     '') as_dir=./ ;;
   19789     */) ;;
   19790     *) as_dir=$as_dir/ ;;
   19791   esac
   19792     for ac_exec_ext in '' $ac_executable_extensions; do
   19793   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19794     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19795     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19796     break 2
   19797   fi
   19798 done
   19799   done
   19800 IFS=$as_save_IFS
   19801 
   19802   ;;
   19803 esac
   19804 fi
   19805 FOP=$ac_cv_path_FOP
   19806 if test -n "$FOP"; then
   19807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19808 printf "%s\n" "$FOP" >&6; }
   19809 else
   19810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19811 printf "%s\n" "no" >&6; }
   19812 fi
   19813 
   19814 
   19815    if test "x$FOP" = "x"; then
   19816         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   19817    fi
   19818    have_fop=yes
   19819 elif test "x$use_fop" = x"no" ; then
   19820    if test "x$FOP" != "x"; then
   19821       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   19822 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   19823    fi
   19824    have_fop=no
   19825 else
   19826    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   19827 fi
   19828 
   19829 # Test for a minimum version of fop, if provided.
   19830 
   19831  if test "$have_fop" = yes; then
   19832   HAVE_FOP_TRUE=
   19833   HAVE_FOP_FALSE='#'
   19834 else
   19835   HAVE_FOP_TRUE='#'
   19836   HAVE_FOP_FALSE=
   19837 fi
   19838 
   19839 
   19840 
   19841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.7" >&5
   19842 printf %s "checking for X.Org SGML entities >= 1.7... " >&6; }
   19843 XORG_SGML_PATH=
   19844 if test -n "$PKG_CONFIG" && \
   19845     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.7\""; } >&5
   19846   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.7") 2>&5
   19847   ac_status=$?
   19848   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19849   test $ac_status = 0; }; then
   19850   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   19851 else
   19852   :
   19853 
   19854 fi
   19855 
   19856 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   19857 # the path and the name of the doc stylesheet
   19858 if test "x$XORG_SGML_PATH" != "x" ; then
   19859    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   19860 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   19861    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   19862    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   19863 else
   19864    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19865 printf "%s\n" "no" >&6; }
   19866 fi
   19867 
   19868 
   19869 
   19870 
   19871  if test "x$XSL_STYLESHEET" != "x"; then
   19872   HAVE_STYLESHEETS_TRUE=
   19873   HAVE_STYLESHEETS_FALSE='#'
   19874 else
   19875   HAVE_STYLESHEETS_TRUE='#'
   19876   HAVE_STYLESHEETS_FALSE=
   19877 fi
   19878 
   19879 
   19880 
   19881 # Checks for header files.
   19882 ac_fn_c_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default"
   19883 if test "x$ac_cv_header_endian_h" = xyes
   19884 then :
   19885   printf "%s\n" "#define HAVE_ENDIAN_H 1" >>confdefs.h
   19886 
   19887 fi
   19888 ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
   19889 if test "x$ac_cv_header_poll_h" = xyes
   19890 then :
   19891   printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h
   19892 
   19893 fi
   19894 ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
   19895 if test "x$ac_cv_header_sys_poll_h" = xyes
   19896 then :
   19897   printf "%s\n" "#define HAVE_SYS_POLL_H 1" >>confdefs.h
   19898 
   19899 fi
   19900 
   19901 
   19902 # Checks for library functions.
   19903 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   19904 if test "x$ac_cv_func_poll" = xyes
   19905 then :
   19906   printf "%s\n" "#define HAVE_POLL 1" >>confdefs.h
   19907 
   19908 fi
   19909 ac_fn_c_check_func "$LINENO" "readlink" "ac_cv_func_readlink"
   19910 if test "x$ac_cv_func_readlink" = xyes
   19911 then :
   19912   printf "%s\n" "#define HAVE_READLINK 1" >>confdefs.h
   19913 
   19914 fi
   19915 
   19916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing strlcat" >&5
   19917 printf %s "checking for library containing strlcat... " >&6; }
   19918 if test ${ac_cv_search_strlcat+y}
   19919 then :
   19920   printf %s "(cached) " >&6
   19921 else $as_nop
   19922   ac_func_search_save_LIBS=$LIBS
   19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19924 /* end confdefs.h.  */
   19925 
   19926 /* Override any GCC internal prototype to avoid an error.
   19927    Use char because int might match the return type of a GCC
   19928    builtin and then its argument prototype would still apply.  */
   19929 char strlcat ();
   19930 int
   19931 main (void)
   19932 {
   19933 return strlcat ();
   19934   ;
   19935   return 0;
   19936 }
   19937 _ACEOF
   19938 for ac_lib in '' bsd
   19939 do
   19940   if test -z "$ac_lib"; then
   19941     ac_res="none required"
   19942   else
   19943     ac_res=-l$ac_lib
   19944     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19945   fi
   19946   if ac_fn_c_try_link "$LINENO"
   19947 then :
   19948   ac_cv_search_strlcat=$ac_res
   19949 fi
   19950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19951     conftest$ac_exeext
   19952   if test ${ac_cv_search_strlcat+y}
   19953 then :
   19954   break
   19955 fi
   19956 done
   19957 if test ${ac_cv_search_strlcat+y}
   19958 then :
   19959 
   19960 else $as_nop
   19961   ac_cv_search_strlcat=no
   19962 fi
   19963 rm conftest.$ac_ext
   19964 LIBS=$ac_func_search_save_LIBS
   19965 fi
   19966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strlcat" >&5
   19967 printf "%s\n" "$ac_cv_search_strlcat" >&6; }
   19968 ac_res=$ac_cv_search_strlcat
   19969 if test "$ac_res" != no
   19970 then :
   19971   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19972 
   19973 fi
   19974 
   19975 if test "$ac_cv_search_strlcat" = "-lbsd"; then
   19976 
   19977 printf "%s\n" "#define HAVE_LIBBSD 1" >>confdefs.h
   19978 
   19979 fi
   19980 
   19981 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   19982 if test "x$ac_cv_func_reallocarray" = xyes
   19983 then :
   19984   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   19985 
   19986 else $as_nop
   19987   case " $LIBOBJS " in
   19988   *" reallocarray.$ac_objext "* ) ;;
   19989   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
   19990  ;;
   19991 esac
   19992 
   19993 fi
   19994 ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath"
   19995 if test "x$ac_cv_func_realpath" = xyes
   19996 then :
   19997   printf "%s\n" "#define HAVE_REALPATH 1" >>confdefs.h
   19998 
   19999 else $as_nop
   20000   case " $LIBOBJS " in
   20001   *" realpath.$ac_objext "* ) ;;
   20002   *) LIBOBJS="$LIBOBJS realpath.$ac_objext"
   20003  ;;
   20004 esac
   20005 
   20006 fi
   20007 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   20008 if test "x$ac_cv_func_strlcat" = xyes
   20009 then :
   20010   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   20011 
   20012 else $as_nop
   20013   case " $LIBOBJS " in
   20014   *" strlcat.$ac_objext "* ) ;;
   20015   *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
   20016  ;;
   20017 esac
   20018 
   20019 fi
   20020 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   20021 if test "x$ac_cv_func_strlcpy" = xyes
   20022 then :
   20023   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   20024 
   20025 else $as_nop
   20026   case " $LIBOBJS " in
   20027   *" strlcpy.$ac_objext "* ) ;;
   20028   *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
   20029  ;;
   20030 esac
   20031 
   20032 fi
   20033 
   20034 
   20035 # Check for BSDish err.h
   20036 ac_fn_c_check_header_compile "$LINENO" "err.h" "ac_cv_header_err_h" "$ac_includes_default"
   20037 if test "x$ac_cv_header_err_h" = xyes
   20038 then :
   20039   printf "%s\n" "#define HAVE_ERR_H 1" >>confdefs.h
   20040 
   20041 fi
   20042 
   20043 
   20044 # If the first PKG_CHECK_MODULES appears inside a conditional, pkg-config
   20045 # must first be located explicitly.
   20046 
   20047 
   20048 
   20049 
   20050 
   20051 
   20052 
   20053 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20054 	if test -n "$ac_tool_prefix"; then
   20055   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20056 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20058 printf %s "checking for $ac_word... " >&6; }
   20059 if test ${ac_cv_path_PKG_CONFIG+y}
   20060 then :
   20061   printf %s "(cached) " >&6
   20062 else $as_nop
   20063   case $PKG_CONFIG in
   20064   [\\/]* | ?:[\\/]*)
   20065   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20066   ;;
   20067   *)
   20068   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20069 for as_dir in $PATH
   20070 do
   20071   IFS=$as_save_IFS
   20072   case $as_dir in #(((
   20073     '') as_dir=./ ;;
   20074     */) ;;
   20075     *) as_dir=$as_dir/ ;;
   20076   esac
   20077     for ac_exec_ext in '' $ac_executable_extensions; do
   20078   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20079     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   20080     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20081     break 2
   20082   fi
   20083 done
   20084   done
   20085 IFS=$as_save_IFS
   20086 
   20087   ;;
   20088 esac
   20089 fi
   20090 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20091 if test -n "$PKG_CONFIG"; then
   20092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   20093 printf "%s\n" "$PKG_CONFIG" >&6; }
   20094 else
   20095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20096 printf "%s\n" "no" >&6; }
   20097 fi
   20098 
   20099 
   20100 fi
   20101 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20102   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20103   # Extract the first word of "pkg-config", so it can be a program name with args.
   20104 set dummy pkg-config; ac_word=$2
   20105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20106 printf %s "checking for $ac_word... " >&6; }
   20107 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   20108 then :
   20109   printf %s "(cached) " >&6
   20110 else $as_nop
   20111   case $ac_pt_PKG_CONFIG in
   20112   [\\/]* | ?:[\\/]*)
   20113   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20114   ;;
   20115   *)
   20116   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20117 for as_dir in $PATH
   20118 do
   20119   IFS=$as_save_IFS
   20120   case $as_dir in #(((
   20121     '') as_dir=./ ;;
   20122     */) ;;
   20123     *) as_dir=$as_dir/ ;;
   20124   esac
   20125     for ac_exec_ext in '' $ac_executable_extensions; do
   20126   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20127     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   20128     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20129     break 2
   20130   fi
   20131 done
   20132   done
   20133 IFS=$as_save_IFS
   20134 
   20135   ;;
   20136 esac
   20137 fi
   20138 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20139 if test -n "$ac_pt_PKG_CONFIG"; then
   20140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   20141 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   20142 else
   20143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20144 printf "%s\n" "no" >&6; }
   20145 fi
   20146 
   20147   if test "x$ac_pt_PKG_CONFIG" = x; then
   20148     PKG_CONFIG=""
   20149   else
   20150     case $cross_compiling:$ac_tool_warned in
   20151 yes:)
   20152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   20153 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20154 ac_tool_warned=yes ;;
   20155 esac
   20156     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20157   fi
   20158 else
   20159   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20160 fi
   20161 
   20162 fi
   20163 if test -n "$PKG_CONFIG"; then
   20164 	_pkg_min_version=0.9.0
   20165 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   20166 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20167 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20169 printf "%s\n" "yes" >&6; }
   20170 	else
   20171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20172 printf "%s\n" "no" >&6; }
   20173 		PKG_CONFIG=""
   20174 	fi
   20175 fi
   20176 
   20177 #
   20178 # select libraries to include
   20179 #
   20180 
   20181 XFONT_FONTFILE=no
   20182 
   20183 #
   20184 # FreeType for all scalable (OpenType, TrueType, PostScript) and
   20185 # some bitmap formats (BDF & PCF)
   20186 #
   20187 # Check whether --enable-freetype was given.
   20188 if test ${enable_freetype+y}
   20189 then :
   20190   enableval=$enable_freetype; XFONT_FREETYPE=$enableval
   20191 else $as_nop
   20192   XFONT_FREETYPE=yes
   20193 fi
   20194 
   20195  if test x$XFONT_FREETYPE = xyes; then
   20196   XFONT_FREETYPE_TRUE=
   20197   XFONT_FREETYPE_FALSE='#'
   20198 else
   20199   XFONT_FREETYPE_TRUE='#'
   20200   XFONT_FREETYPE_FALSE=
   20201 fi
   20202 
   20203 if test x$XFONT_FREETYPE = xyes; then
   20204 
   20205 printf "%s\n" "#define XFONT_FREETYPE 1" >>confdefs.h
   20206 
   20207 
   20208 # Check whether --with-freetype-config was given.
   20209 if test ${with_freetype_config+y}
   20210 then :
   20211   withval=$with_freetype_config; freetype_config=$withval
   20212 else $as_nop
   20213   freetype_config=auto
   20214 fi
   20215 
   20216 
   20217 	if test "$freetype_config" = "auto" ; then
   20218 
   20219 pkg_failed=no
   20220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
   20221 printf %s "checking for FREETYPE... " >&6; }
   20222 
   20223 if test -n "$FREETYPE_CFLAGS"; then
   20224     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   20225  elif test -n "$PKG_CONFIG"; then
   20226     if test -n "$PKG_CONFIG" && \
   20227     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   20228   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   20229   ac_status=$?
   20230   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20231   test $ac_status = 0; }; then
   20232   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
   20233 		      test "x$?" != "x0" && pkg_failed=yes
   20234 else
   20235   pkg_failed=yes
   20236 fi
   20237  else
   20238     pkg_failed=untried
   20239 fi
   20240 if test -n "$FREETYPE_LIBS"; then
   20241     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   20242  elif test -n "$PKG_CONFIG"; then
   20243     if test -n "$PKG_CONFIG" && \
   20244     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
   20245   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   20246   ac_status=$?
   20247   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20248   test $ac_status = 0; }; then
   20249   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
   20250 		      test "x$?" != "x0" && pkg_failed=yes
   20251 else
   20252   pkg_failed=yes
   20253 fi
   20254  else
   20255     pkg_failed=untried
   20256 fi
   20257 
   20258 
   20259 
   20260 if test $pkg_failed = yes; then
   20261    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20262 printf "%s\n" "no" >&6; }
   20263 
   20264 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20265         _pkg_short_errors_supported=yes
   20266 else
   20267         _pkg_short_errors_supported=no
   20268 fi
   20269         if test $_pkg_short_errors_supported = yes; then
   20270 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
   20271         else
   20272 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
   20273         fi
   20274 	# Put the nasty error message in config.log where it belongs
   20275 	echo "$FREETYPE_PKG_ERRORS" >&5
   20276 
   20277 	freetype_config=yes
   20278 elif test $pkg_failed = untried; then
   20279      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20280 printf "%s\n" "no" >&6; }
   20281 	freetype_config=yes
   20282 else
   20283 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   20284 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   20285         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20286 printf "%s\n" "yes" >&6; }
   20287 	freetype_config=no
   20288 fi
   20289 	fi
   20290 
   20291 	if test "$freetype_config" = "yes"; then
   20292 		# Extract the first word of "freetype-config", so it can be a program name with args.
   20293 set dummy freetype-config; ac_word=$2
   20294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20295 printf %s "checking for $ac_word... " >&6; }
   20296 if test ${ac_cv_path_ft_config+y}
   20297 then :
   20298   printf %s "(cached) " >&6
   20299 else $as_nop
   20300   case $ft_config in
   20301   [\\/]* | ?:[\\/]*)
   20302   ac_cv_path_ft_config="$ft_config" # Let the user override the test with a path.
   20303   ;;
   20304   *)
   20305   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20306 for as_dir in $PATH
   20307 do
   20308   IFS=$as_save_IFS
   20309   case $as_dir in #(((
   20310     '') as_dir=./ ;;
   20311     */) ;;
   20312     *) as_dir=$as_dir/ ;;
   20313   esac
   20314     for ac_exec_ext in '' $ac_executable_extensions; do
   20315   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20316     ac_cv_path_ft_config="$as_dir$ac_word$ac_exec_ext"
   20317     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20318     break 2
   20319   fi
   20320 done
   20321   done
   20322 IFS=$as_save_IFS
   20323 
   20324   test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config="no"
   20325   ;;
   20326 esac
   20327 fi
   20328 ft_config=$ac_cv_path_ft_config
   20329 if test -n "$ft_config"; then
   20330   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ft_config" >&5
   20331 printf "%s\n" "$ft_config" >&6; }
   20332 else
   20333   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20334 printf "%s\n" "no" >&6; }
   20335 fi
   20336 
   20337 
   20338 		if test "$ft_config" = "no"; then
   20339 			as_fn_error $? "You must have freetype installed; see http://www.freetype.org/" "$LINENO" 5
   20340 		fi
   20341 	else
   20342 		ft_config="$freetype_config"
   20343 	fi
   20344 
   20345 	if test "$freetype_config" != "no"; then
   20346 		FREETYPE_CFLAGS="`$ft_config --cflags`"
   20347 		FREETYPE_LIBS="`$ft_config --libs`"
   20348 	fi
   20349 	FREETYPE_REQUIRES="freetype2"
   20350 	XFONT_FONTFILE=yes
   20351 else
   20352 	FREETYPE_CFLAGS=""
   20353 	FREETYPE_LIBS=""
   20354 	FREETYPE_REQUIRES=""
   20355 fi
   20356 
   20357 
   20358 
   20359 
   20360 #
   20361 # Bitmap fonts in files:
   20362 #	Builtins (gzipped pcf format in .text segment)
   20363 #	PCF
   20364 #	BDF
   20365 #	SNF
   20366 #
   20367 
   20368 
   20369 printf "%s\n" "#define X_GZIP_FONT_COMPRESSION 1" >>confdefs.h
   20370 
   20371 X_GZIP_FONT_COMPRESSION=1
   20372 
   20373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
   20374 printf %s "checking for gzopen in -lz... " >&6; }
   20375 if test ${ac_cv_lib_z_gzopen+y}
   20376 then :
   20377   printf %s "(cached) " >&6
   20378 else $as_nop
   20379   ac_check_lib_save_LIBS=$LIBS
   20380 LIBS="-lz  $LIBS"
   20381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20382 /* end confdefs.h.  */
   20383 
   20384 /* Override any GCC internal prototype to avoid an error.
   20385    Use char because int might match the return type of a GCC
   20386    builtin and then its argument prototype would still apply.  */
   20387 char gzopen ();
   20388 int
   20389 main (void)
   20390 {
   20391 return gzopen ();
   20392   ;
   20393   return 0;
   20394 }
   20395 _ACEOF
   20396 if ac_fn_c_try_link "$LINENO"
   20397 then :
   20398   ac_cv_lib_z_gzopen=yes
   20399 else $as_nop
   20400   ac_cv_lib_z_gzopen=no
   20401 fi
   20402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20403     conftest$ac_exeext conftest.$ac_ext
   20404 LIBS=$ac_check_lib_save_LIBS
   20405 fi
   20406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
   20407 printf "%s\n" "$ac_cv_lib_z_gzopen" >&6; }
   20408 if test "x$ac_cv_lib_z_gzopen" = xyes
   20409 then :
   20410   Z_LIBS=-lz
   20411 else $as_nop
   20412   as_fn_error $? "*** zlib is required" "$LINENO" 5
   20413 fi
   20414 
   20415 
   20416 
   20417 # Check whether --with-bzip2 was given.
   20418 if test ${with_bzip2+y}
   20419 then :
   20420   withval=$with_bzip2;
   20421 else $as_nop
   20422   with_bzip2=no
   20423 fi
   20424 
   20425 if test "x$with_bzip2" = xyes; then
   20426 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzopen in -lbz2" >&5
   20427 printf %s "checking for BZ2_bzopen in -lbz2... " >&6; }
   20428 if test ${ac_cv_lib_bz2_BZ2_bzopen+y}
   20429 then :
   20430   printf %s "(cached) " >&6
   20431 else $as_nop
   20432   ac_check_lib_save_LIBS=$LIBS
   20433 LIBS="-lbz2  $LIBS"
   20434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20435 /* end confdefs.h.  */
   20436 
   20437 /* Override any GCC internal prototype to avoid an error.
   20438    Use char because int might match the return type of a GCC
   20439    builtin and then its argument prototype would still apply.  */
   20440 char BZ2_bzopen ();
   20441 int
   20442 main (void)
   20443 {
   20444 return BZ2_bzopen ();
   20445   ;
   20446   return 0;
   20447 }
   20448 _ACEOF
   20449 if ac_fn_c_try_link "$LINENO"
   20450 then :
   20451   ac_cv_lib_bz2_BZ2_bzopen=yes
   20452 else $as_nop
   20453   ac_cv_lib_bz2_BZ2_bzopen=no
   20454 fi
   20455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20456     conftest$ac_exeext conftest.$ac_ext
   20457 LIBS=$ac_check_lib_save_LIBS
   20458 fi
   20459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
   20460 printf "%s\n" "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
   20461 if test "x$ac_cv_lib_bz2_BZ2_bzopen" = xyes
   20462 then :
   20463   Z_LIBS="$Z_LIBS -lbz2"
   20464 else $as_nop
   20465   as_fn_error $? "*** libbz2 is required for bzip2 support" "$LINENO" 5
   20466 fi
   20467 
   20468 
   20469 printf "%s\n" "#define X_BZIP2_FONT_COMPRESSION 1" >>confdefs.h
   20470 
   20471 fi
   20472  if test "x$with_bzip2" = xyes ; then
   20473   X_BZIP2_FONT_COMPRESSION_TRUE=
   20474   X_BZIP2_FONT_COMPRESSION_FALSE='#'
   20475 else
   20476   X_BZIP2_FONT_COMPRESSION_TRUE='#'
   20477   X_BZIP2_FONT_COMPRESSION_FALSE=
   20478 fi
   20479 
   20480 
   20481 
   20482 # Check whether --enable-builtins was given.
   20483 if test ${enable_builtins+y}
   20484 then :
   20485   enableval=$enable_builtins; XFONT_BUILTINS=$enableval
   20486 else $as_nop
   20487   XFONT_BUILTINS=yes
   20488 fi
   20489 
   20490  if test "x$XFONT_BUILTINS" = xyes ; then
   20491   XFONT_BUILTINS_TRUE=
   20492   XFONT_BUILTINS_FALSE='#'
   20493 else
   20494   XFONT_BUILTINS_TRUE='#'
   20495   XFONT_BUILTINS_FALSE=
   20496 fi
   20497 
   20498 if test "x$XFONT_BUILTINS" = xyes; then
   20499 
   20500 printf "%s\n" "#define XFONT_BUILTINS 1" >>confdefs.h
   20501 
   20502 	XFONT_BITMAP=yes
   20503 fi
   20504 
   20505 # Check whether --enable-pcfformat was given.
   20506 if test ${enable_pcfformat+y}
   20507 then :
   20508   enableval=$enable_pcfformat; XFONT_PCFFORMAT=$enableval
   20509 else $as_nop
   20510   XFONT_PCFFORMAT=yes
   20511 fi
   20512 
   20513  if test "x$XFONT_PCFFORMAT" = xyes; then
   20514   XFONT_PCFFORMAT_TRUE=
   20515   XFONT_PCFFORMAT_FALSE='#'
   20516 else
   20517   XFONT_PCFFORMAT_TRUE='#'
   20518   XFONT_PCFFORMAT_FALSE=
   20519 fi
   20520 
   20521 if test "x$XFONT_PCFFORMAT" = xyes; then
   20522 
   20523 printf "%s\n" "#define XFONT_PCFFORMAT 1" >>confdefs.h
   20524 
   20525 	XFONT_BITMAP=yes
   20526 fi
   20527 
   20528  if test "x$XFONT_PCFFORMAT" = xyes -o "x$XFONT_BUILTINS" = xyes; then
   20529   XFONT_PCF_OR_BUILTIN_TRUE=
   20530   XFONT_PCF_OR_BUILTIN_FALSE='#'
   20531 else
   20532   XFONT_PCF_OR_BUILTIN_TRUE='#'
   20533   XFONT_PCF_OR_BUILTIN_FALSE=
   20534 fi
   20535 
   20536 
   20537 # Check whether --enable-bdfformat was given.
   20538 if test ${enable_bdfformat+y}
   20539 then :
   20540   enableval=$enable_bdfformat; XFONT_BDFFORMAT=$enableval
   20541 else $as_nop
   20542   XFONT_BDFFORMAT=yes
   20543 fi
   20544 
   20545  if test "x$XFONT_BDFFORMAT" = xyes; then
   20546   XFONT_BDFFORMAT_TRUE=
   20547   XFONT_BDFFORMAT_FALSE='#'
   20548 else
   20549   XFONT_BDFFORMAT_TRUE='#'
   20550   XFONT_BDFFORMAT_FALSE=
   20551 fi
   20552 
   20553 if test "x$XFONT_BDFFORMAT" = xyes; then
   20554 
   20555 printf "%s\n" "#define XFONT_BDFFORMAT 1" >>confdefs.h
   20556 
   20557 	XFONT_BITMAP=yes
   20558 fi
   20559 
   20560 # Check whether --enable-snfformat was given.
   20561 if test ${enable_snfformat+y}
   20562 then :
   20563   enableval=$enable_snfformat; XFONT_SNFFORMAT=$enableval
   20564 else $as_nop
   20565   XFONT_SNFFORMAT=no
   20566 fi
   20567 
   20568  if test "x$XFONT_SNFFORMAT" = xyes; then
   20569   XFONT_SNFFORMAT_TRUE=
   20570   XFONT_SNFFORMAT_FALSE='#'
   20571 else
   20572   XFONT_SNFFORMAT_TRUE='#'
   20573   XFONT_SNFFORMAT_FALSE=
   20574 fi
   20575 
   20576 if test "x$XFONT_SNFFORMAT" = xyes; then
   20577 
   20578 printf "%s\n" "#define XFONT_SNFFORMAT 1" >>confdefs.h
   20579 
   20580 	XFONT_BITMAP=yes
   20581 fi
   20582 
   20583  if test "x$XFONT_BITMAP" = xyes ; then
   20584   XFONT_BITMAP_TRUE=
   20585   XFONT_BITMAP_FALSE='#'
   20586 else
   20587   XFONT_BITMAP_TRUE='#'
   20588   XFONT_BITMAP_FALSE=
   20589 fi
   20590 
   20591 if test "x$XFONT_BITMAP" = xyes; then
   20592 
   20593 printf "%s\n" "#define XFONT_BITMAP 1" >>confdefs.h
   20594 
   20595 	XFONT_FONTFILE=yes
   20596 fi
   20597 
   20598  if test "x$XFONT_FONTFILE" = xyes; then
   20599   XFONT_FONTFILE_TRUE=
   20600   XFONT_FONTFILE_FALSE='#'
   20601 else
   20602   XFONT_FONTFILE_TRUE='#'
   20603   XFONT_FONTFILE_FALSE=
   20604 fi
   20605 
   20606 if test "x$XFONT_FONTFILE" = xyes; then
   20607 
   20608 printf "%s\n" "#define XFONT_FONTFILE 1" >>confdefs.h
   20609 
   20610 fi
   20611 
   20612 #
   20613 # Support connection to font servers?
   20614 #
   20615 
   20616 # Check whether --enable-fc was given.
   20617 if test ${enable_fc+y}
   20618 then :
   20619   enableval=$enable_fc; XFONT_FC=$enableval
   20620 else $as_nop
   20621   XFONT_FC=yes
   20622 fi
   20623 
   20624  if test "x$XFONT_FC" = xyes; then
   20625   XFONT_FC_TRUE=
   20626   XFONT_FC_FALSE='#'
   20627 else
   20628   XFONT_FC_TRUE='#'
   20629   XFONT_FC_FALSE=
   20630 fi
   20631 
   20632 if test "x$XFONT_FC" = xyes; then
   20633 
   20634 printf "%s\n" "#define XFONT_FC 1" >>confdefs.h
   20635 
   20636 fi
   20637 
   20638 
   20639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
   20640 printf %s "checking for hypot in -lm... " >&6; }
   20641 if test ${ac_cv_lib_m_hypot+y}
   20642 then :
   20643   printf %s "(cached) " >&6
   20644 else $as_nop
   20645   ac_check_lib_save_LIBS=$LIBS
   20646 LIBS="-lm  $LIBS"
   20647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20648 /* end confdefs.h.  */
   20649 
   20650 /* Override any GCC internal prototype to avoid an error.
   20651    Use char because int might match the return type of a GCC
   20652    builtin and then its argument prototype would still apply.  */
   20653 char hypot ();
   20654 int
   20655 main (void)
   20656 {
   20657 return hypot ();
   20658   ;
   20659   return 0;
   20660 }
   20661 _ACEOF
   20662 if ac_fn_c_try_link "$LINENO"
   20663 then :
   20664   ac_cv_lib_m_hypot=yes
   20665 else $as_nop
   20666   ac_cv_lib_m_hypot=no
   20667 fi
   20668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20669     conftest$ac_exeext conftest.$ac_ext
   20670 LIBS=$ac_check_lib_save_LIBS
   20671 fi
   20672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
   20673 printf "%s\n" "$ac_cv_lib_m_hypot" >&6; }
   20674 if test "x$ac_cv_lib_m_hypot" = xyes
   20675 then :
   20676   MATH_LIBS=-lm
   20677 
   20678 else $as_nop
   20679   as_fn_error $? "*** libm is required" "$LINENO" 5
   20680 fi
   20681 
   20682 
   20683 
   20684 pkg_failed=no
   20685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XFONT" >&5
   20686 printf %s "checking for XFONT... " >&6; }
   20687 
   20688 if test -n "$XFONT_CFLAGS"; then
   20689     pkg_cv_XFONT_CFLAGS="$XFONT_CFLAGS"
   20690  elif test -n "$PKG_CONFIG"; then
   20691     if test -n "$PKG_CONFIG" && \
   20692     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto >= 2.1.3 fontenc\""; } >&5
   20693   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto >= 2.1.3 fontenc") 2>&5
   20694   ac_status=$?
   20695   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20696   test $ac_status = 0; }; then
   20697   pkg_cv_XFONT_CFLAGS=`$PKG_CONFIG --cflags "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>/dev/null`
   20698 		      test "x$?" != "x0" && pkg_failed=yes
   20699 else
   20700   pkg_failed=yes
   20701 fi
   20702  else
   20703     pkg_failed=untried
   20704 fi
   20705 if test -n "$XFONT_LIBS"; then
   20706     pkg_cv_XFONT_LIBS="$XFONT_LIBS"
   20707  elif test -n "$PKG_CONFIG"; then
   20708     if test -n "$PKG_CONFIG" && \
   20709     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto >= 2.1.3 fontenc\""; } >&5
   20710   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto >= 2.1.3 fontenc") 2>&5
   20711   ac_status=$?
   20712   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20713   test $ac_status = 0; }; then
   20714   pkg_cv_XFONT_LIBS=`$PKG_CONFIG --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>/dev/null`
   20715 		      test "x$?" != "x0" && pkg_failed=yes
   20716 else
   20717   pkg_failed=yes
   20718 fi
   20719  else
   20720     pkg_failed=untried
   20721 fi
   20722 
   20723 
   20724 
   20725 if test $pkg_failed = yes; then
   20726    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20727 printf "%s\n" "no" >&6; }
   20728 
   20729 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20730         _pkg_short_errors_supported=yes
   20731 else
   20732         _pkg_short_errors_supported=no
   20733 fi
   20734         if test $_pkg_short_errors_supported = yes; then
   20735 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>&1`
   20736         else
   20737 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto xtrans fontsproto >= 2.1.3 fontenc" 2>&1`
   20738         fi
   20739 	# Put the nasty error message in config.log where it belongs
   20740 	echo "$XFONT_PKG_ERRORS" >&5
   20741 
   20742 	as_fn_error $? "Package requirements (xproto xtrans fontsproto >= 2.1.3 fontenc) were not met:
   20743 
   20744 $XFONT_PKG_ERRORS
   20745 
   20746 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20747 installed software in a non-standard prefix.
   20748 
   20749 Alternatively, you may set the environment variables XFONT_CFLAGS
   20750 and XFONT_LIBS to avoid the need to call pkg-config.
   20751 See the pkg-config man page for more details." "$LINENO" 5
   20752 elif test $pkg_failed = untried; then
   20753      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20754 printf "%s\n" "no" >&6; }
   20755 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20756 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20757 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20758 is in your PATH or set the PKG_CONFIG environment variable to the full
   20759 path to pkg-config.
   20760 
   20761 Alternatively, you may set the environment variables XFONT_CFLAGS
   20762 and XFONT_LIBS to avoid the need to call pkg-config.
   20763 See the pkg-config man page for more details.
   20764 
   20765 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20766 See \`config.log' for more details" "$LINENO" 5; }
   20767 else
   20768 	XFONT_CFLAGS=$pkg_cv_XFONT_CFLAGS
   20769 	XFONT_LIBS=$pkg_cv_XFONT_LIBS
   20770         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20771 printf "%s\n" "yes" >&6; }
   20772 
   20773 fi
   20774 
   20775 # Transport selection macro from xtrans.m4
   20776 
   20777 
   20778  case $host_os in
   20779 	mingw*)	unixdef="no"   ;;
   20780 	*)	unixdef="yes"  ;;
   20781  esac
   20782  # Check whether --enable-unix-transport was given.
   20783 if test ${enable_unix_transport+y}
   20784 then :
   20785   enableval=$enable_unix_transport; UNIXCONN=$enableval
   20786 else $as_nop
   20787   UNIXCONN=$unixdef
   20788 fi
   20789 
   20790  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   20791 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   20792  if test "$UNIXCONN" = "yes"; then
   20793 
   20794 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   20795 
   20796  fi
   20797  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   20798 printf "%s\n" "$UNIXCONN" >&6; }
   20799  # Check whether --enable-tcp-transport was given.
   20800 if test ${enable_tcp_transport+y}
   20801 then :
   20802   enableval=$enable_tcp_transport; TCPCONN=$enableval
   20803 else $as_nop
   20804   TCPCONN=yes
   20805 fi
   20806 
   20807  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   20808 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   20809  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   20810 printf "%s\n" "$TCPCONN" >&6; }
   20811  if test "$TCPCONN" = "yes"; then
   20812 
   20813 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   20814 
   20815 
   20816  # SVR4 hides these in libraries other than libc
   20817  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   20818 printf %s "checking for library containing socket... " >&6; }
   20819 if test ${ac_cv_search_socket+y}
   20820 then :
   20821   printf %s "(cached) " >&6
   20822 else $as_nop
   20823   ac_func_search_save_LIBS=$LIBS
   20824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20825 /* end confdefs.h.  */
   20826 
   20827 /* Override any GCC internal prototype to avoid an error.
   20828    Use char because int might match the return type of a GCC
   20829    builtin and then its argument prototype would still apply.  */
   20830 char socket ();
   20831 int
   20832 main (void)
   20833 {
   20834 return socket ();
   20835   ;
   20836   return 0;
   20837 }
   20838 _ACEOF
   20839 for ac_lib in '' socket
   20840 do
   20841   if test -z "$ac_lib"; then
   20842     ac_res="none required"
   20843   else
   20844     ac_res=-l$ac_lib
   20845     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20846   fi
   20847   if ac_fn_c_try_link "$LINENO"
   20848 then :
   20849   ac_cv_search_socket=$ac_res
   20850 fi
   20851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20852     conftest$ac_exeext
   20853   if test ${ac_cv_search_socket+y}
   20854 then :
   20855   break
   20856 fi
   20857 done
   20858 if test ${ac_cv_search_socket+y}
   20859 then :
   20860 
   20861 else $as_nop
   20862   ac_cv_search_socket=no
   20863 fi
   20864 rm conftest.$ac_ext
   20865 LIBS=$ac_func_search_save_LIBS
   20866 fi
   20867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   20868 printf "%s\n" "$ac_cv_search_socket" >&6; }
   20869 ac_res=$ac_cv_search_socket
   20870 if test "$ac_res" != no
   20871 then :
   20872   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20873 
   20874 fi
   20875 
   20876  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   20877 printf %s "checking for library containing gethostbyname... " >&6; }
   20878 if test ${ac_cv_search_gethostbyname+y}
   20879 then :
   20880   printf %s "(cached) " >&6
   20881 else $as_nop
   20882   ac_func_search_save_LIBS=$LIBS
   20883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20884 /* end confdefs.h.  */
   20885 
   20886 /* Override any GCC internal prototype to avoid an error.
   20887    Use char because int might match the return type of a GCC
   20888    builtin and then its argument prototype would still apply.  */
   20889 char gethostbyname ();
   20890 int
   20891 main (void)
   20892 {
   20893 return gethostbyname ();
   20894   ;
   20895   return 0;
   20896 }
   20897 _ACEOF
   20898 for ac_lib in '' nsl
   20899 do
   20900   if test -z "$ac_lib"; then
   20901     ac_res="none required"
   20902   else
   20903     ac_res=-l$ac_lib
   20904     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   20905   fi
   20906   if ac_fn_c_try_link "$LINENO"
   20907 then :
   20908   ac_cv_search_gethostbyname=$ac_res
   20909 fi
   20910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20911     conftest$ac_exeext
   20912   if test ${ac_cv_search_gethostbyname+y}
   20913 then :
   20914   break
   20915 fi
   20916 done
   20917 if test ${ac_cv_search_gethostbyname+y}
   20918 then :
   20919 
   20920 else $as_nop
   20921   ac_cv_search_gethostbyname=no
   20922 fi
   20923 rm conftest.$ac_ext
   20924 LIBS=$ac_func_search_save_LIBS
   20925 fi
   20926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   20927 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   20928 ac_res=$ac_cv_search_gethostbyname
   20929 if test "$ac_res" != no
   20930 then :
   20931   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   20932 
   20933 fi
   20934 
   20935  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   20936    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   20937 printf %s "checking for main in -lws2_32... " >&6; }
   20938 if test ${ac_cv_lib_ws2_32_main+y}
   20939 then :
   20940   printf %s "(cached) " >&6
   20941 else $as_nop
   20942   ac_check_lib_save_LIBS=$LIBS
   20943 LIBS="-lws2_32  $LIBS"
   20944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20945 /* end confdefs.h.  */
   20946 
   20947 
   20948 int
   20949 main (void)
   20950 {
   20951 return main ();
   20952   ;
   20953   return 0;
   20954 }
   20955 _ACEOF
   20956 if ac_fn_c_try_link "$LINENO"
   20957 then :
   20958   ac_cv_lib_ws2_32_main=yes
   20959 else $as_nop
   20960   ac_cv_lib_ws2_32_main=no
   20961 fi
   20962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20963     conftest$ac_exeext conftest.$ac_ext
   20964 LIBS=$ac_check_lib_save_LIBS
   20965 fi
   20966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   20967 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   20968 if test "x$ac_cv_lib_ws2_32_main" = xyes
   20969 then :
   20970   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   20971 
   20972   LIBS="-lws2_32 $LIBS"
   20973 
   20974 fi
   20975 
   20976  fi
   20977 
   20978  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   20979  # Check whether --enable-ipv6 was given.
   20980 if test ${enable_ipv6+y}
   20981 then :
   20982   enableval=$enable_ipv6; IPV6CONN=$enableval
   20983 else $as_nop
   20984   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   20985 if test "x$ac_cv_func_getaddrinfo" = xyes
   20986 then :
   20987   IPV6CONN=yes
   20988 else $as_nop
   20989   IPV6CONN=no
   20990 fi
   20991 
   20992 fi
   20993 
   20994  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   20995 printf %s "checking if IPv6 support should be built... " >&6; }
   20996  if test "$IPV6CONN" = "yes"; then
   20997 
   20998 printf "%s\n" "#define IPv6 1" >>confdefs.h
   20999 
   21000  fi
   21001  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   21002 printf "%s\n" "$IPV6CONN" >&6; }
   21003 
   21004  # 4.3BSD-Reno added a new member to struct sockaddr_in
   21005  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   21006 #include <sys/types.h>
   21007 #include <sys/socket.h>
   21008 #include <netinet/in.h>
   21009 
   21010 "
   21011 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   21012 then :
   21013 
   21014 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   21015 
   21016 fi
   21017 
   21018 
   21019  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   21020  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   21021 $ac_includes_default
   21022 #include <sys/socket.h>
   21023 "
   21024 if test "x$ac_cv_type_socklen_t" = xyes
   21025 then :
   21026 
   21027 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   21028 
   21029 
   21030 fi
   21031 
   21032 
   21033  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   21034  # _XOPEN_SOURCE to get it (such as on Solaris)
   21035  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21036 $ac_includes_default
   21037 #include <sys/socket.h>
   21038 
   21039 "
   21040 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21041 then :
   21042 
   21043 fi
   21044 
   21045  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   21046  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   21047      unset ac_cv_member_struct_msghdr_msg_control
   21048      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   21049 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   21050      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21051 #define _XOPEN_SOURCE 600
   21052 $ac_includes_default
   21053 #include <sys/socket.h>
   21054 
   21055 "
   21056 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21057 then :
   21058 
   21059 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   21060 
   21061 
   21062 fi
   21063 
   21064  fi
   21065  # If that didn't work, fall back to XPG5/UNIX98 with C89
   21066  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   21067      unset ac_cv_member_struct_msghdr_msg_control
   21068      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   21069 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   21070      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21071 #define _XOPEN_SOURCE 500
   21072 $ac_includes_default
   21073 #include <sys/socket.h>
   21074 
   21075 "
   21076 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21077 then :
   21078 
   21079 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   21080 
   21081 
   21082 fi
   21083 
   21084  fi
   21085 
   21086 
   21087 
   21088  fi
   21089  case $host_os in
   21090 	solaris*)		localdef="yes" ;;
   21091 	*)			localdef="no"  ;;
   21092  esac
   21093  # Check whether --enable-local-transport was given.
   21094 if test ${enable_local_transport+y}
   21095 then :
   21096   enableval=$enable_local_transport; LOCALCONN=$enableval
   21097 else $as_nop
   21098   LOCALCONN=$localdef
   21099 fi
   21100 
   21101  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   21102 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   21103  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   21104 printf "%s\n" "$LOCALCONN" >&6; }
   21105  if test "$LOCALCONN" = "yes"; then
   21106 
   21107 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   21108 
   21109  fi
   21110 
   21111  # Other functions Xtrans may need
   21112  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   21113 if test "x$ac_cv_func_strcasecmp" = xyes
   21114 then :
   21115   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   21116 
   21117 fi
   21118 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   21119 if test "x$ac_cv_func_strlcpy" = xyes
   21120 then :
   21121   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   21122 
   21123 fi
   21124 
   21125 
   21126 
   21127 
   21128 case $host_os in
   21129     linux*)
   21130         OS_CFLAGS="-D_XOPEN_SOURCE"
   21131         ;;
   21132     *)
   21133         OS_CFLAGS=
   21134         ;;
   21135 esac
   21136 
   21137 save_CFLAGS="$CFLAGS"
   21138 CFLAGS="$CFLAGS -fvisibility=hidden"
   21139 CFLAGS_VISIBILITY=
   21140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21141 /* end confdefs.h.  */
   21142 
   21143     #if defined(__CYGWIN__) || defined(__MINGW32__)
   21144     #error No visibility support
   21145     #endif
   21146     extern __attribute__((__visibility__("default"))) int x;
   21147 
   21148 _ACEOF
   21149 if ac_fn_c_try_compile "$LINENO"
   21150 then :
   21151   CFLAGS_VISIBILITY=-fvisibility=hidden
   21152 fi
   21153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21154 CFLAGS="$save_CFLAGS"
   21155 OS_CFLAGS="$OS_CFLAGS $CFLAGS_VISIBILITY"
   21156 
   21157 
   21158 
   21159 ac_config_files="$ac_config_files Makefile doc/Makefile xfont2.pc"
   21160 
   21161 cat >confcache <<\_ACEOF
   21162 # This file is a shell script that caches the results of configure
   21163 # tests run on this system so they can be shared between configure
   21164 # scripts and configure runs, see configure's option --config-cache.
   21165 # It is not useful on other systems.  If it contains results you don't
   21166 # want to keep, you may remove or edit it.
   21167 #
   21168 # config.status only pays attention to the cache file if you give it
   21169 # the --recheck option to rerun configure.
   21170 #
   21171 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21172 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21173 # following values.
   21174 
   21175 _ACEOF
   21176 
   21177 # The following way of writing the cache mishandles newlines in values,
   21178 # but we know of no workaround that is simple, portable, and efficient.
   21179 # So, we kill variables containing newlines.
   21180 # Ultrix sh set writes to stderr and can't be redirected directly,
   21181 # and sets the high bit in the cache file unless we assign to the vars.
   21182 (
   21183   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21184     eval ac_val=\$$ac_var
   21185     case $ac_val in #(
   21186     *${as_nl}*)
   21187       case $ac_var in #(
   21188       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   21189 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21190       esac
   21191       case $ac_var in #(
   21192       _ | IFS | as_nl) ;; #(
   21193       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21194       *) { eval $ac_var=; unset $ac_var;} ;;
   21195       esac ;;
   21196     esac
   21197   done
   21198 
   21199   (set) 2>&1 |
   21200     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21201     *${as_nl}ac_space=\ *)
   21202       # `set' does not quote correctly, so add quotes: double-quote
   21203       # substitution turns \\\\ into \\, and sed turns \\ into \.
   21204       sed -n \
   21205 	"s/'/'\\\\''/g;
   21206 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21207       ;; #(
   21208     *)
   21209       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21210       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21211       ;;
   21212     esac |
   21213     sort
   21214 ) |
   21215   sed '
   21216      /^ac_cv_env_/b end
   21217      t clear
   21218      :clear
   21219      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   21220      t end
   21221      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21222      :end' >>confcache
   21223 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21224   if test -w "$cache_file"; then
   21225     if test "x$cache_file" != "x/dev/null"; then
   21226       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   21227 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   21228       if test ! -f "$cache_file" || test -h "$cache_file"; then
   21229 	cat confcache >"$cache_file"
   21230       else
   21231         case $cache_file in #(
   21232         */* | ?:*)
   21233 	  mv -f confcache "$cache_file"$$ &&
   21234 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   21235         *)
   21236 	  mv -f confcache "$cache_file" ;;
   21237 	esac
   21238       fi
   21239     fi
   21240   else
   21241     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21242 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   21243   fi
   21244 fi
   21245 rm -f confcache
   21246 
   21247 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21248 # Let make expand exec_prefix.
   21249 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21250 
   21251 DEFS=-DHAVE_CONFIG_H
   21252 
   21253 ac_libobjs=
   21254 ac_ltlibobjs=
   21255 U=
   21256 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21257   # 1. Remove the extension, and $U if already installed.
   21258   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21259   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   21260   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21261   #    will be set to the directory where LIBOBJS objects are built.
   21262   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21263   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21264 done
   21265 LIBOBJS=$ac_libobjs
   21266 
   21267 LTLIBOBJS=$ac_ltlibobjs
   21268 
   21269 
   21270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21271 printf %s "checking that generated files are newer than configure... " >&6; }
   21272    if test -n "$am_sleep_pid"; then
   21273      # Hide warnings about reused PIDs.
   21274      wait $am_sleep_pid 2>/dev/null
   21275    fi
   21276    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21277 printf "%s\n" "done" >&6; }
   21278  if test -n "$EXEEXT"; then
   21279   am__EXEEXT_TRUE=
   21280   am__EXEEXT_FALSE='#'
   21281 else
   21282   am__EXEEXT_TRUE='#'
   21283   am__EXEEXT_FALSE=
   21284 fi
   21285 
   21286 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21287   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21289 fi
   21290 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21291   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21293 fi
   21294 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   21295   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   21296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21297 fi
   21298 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   21299   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   21300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21301 fi
   21302 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   21303   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   21304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21305 fi
   21306 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   21307   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   21308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21309 fi
   21310 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   21311   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   21312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21313 fi
   21314 if test -z "${XFONT_FREETYPE_TRUE}" && test -z "${XFONT_FREETYPE_FALSE}"; then
   21315   as_fn_error $? "conditional \"XFONT_FREETYPE\" was never defined.
   21316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21317 fi
   21318 if test -z "${X_BZIP2_FONT_COMPRESSION_TRUE}" && test -z "${X_BZIP2_FONT_COMPRESSION_FALSE}"; then
   21319   as_fn_error $? "conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
   21320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21321 fi
   21322 if test -z "${XFONT_BUILTINS_TRUE}" && test -z "${XFONT_BUILTINS_FALSE}"; then
   21323   as_fn_error $? "conditional \"XFONT_BUILTINS\" was never defined.
   21324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21325 fi
   21326 if test -z "${XFONT_PCFFORMAT_TRUE}" && test -z "${XFONT_PCFFORMAT_FALSE}"; then
   21327   as_fn_error $? "conditional \"XFONT_PCFFORMAT\" was never defined.
   21328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21329 fi
   21330 if test -z "${XFONT_PCF_OR_BUILTIN_TRUE}" && test -z "${XFONT_PCF_OR_BUILTIN_FALSE}"; then
   21331   as_fn_error $? "conditional \"XFONT_PCF_OR_BUILTIN\" was never defined.
   21332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21333 fi
   21334 if test -z "${XFONT_BDFFORMAT_TRUE}" && test -z "${XFONT_BDFFORMAT_FALSE}"; then
   21335   as_fn_error $? "conditional \"XFONT_BDFFORMAT\" was never defined.
   21336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21337 fi
   21338 if test -z "${XFONT_SNFFORMAT_TRUE}" && test -z "${XFONT_SNFFORMAT_FALSE}"; then
   21339   as_fn_error $? "conditional \"XFONT_SNFFORMAT\" was never defined.
   21340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21341 fi
   21342 if test -z "${XFONT_BITMAP_TRUE}" && test -z "${XFONT_BITMAP_FALSE}"; then
   21343   as_fn_error $? "conditional \"XFONT_BITMAP\" was never defined.
   21344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21345 fi
   21346 if test -z "${XFONT_FONTFILE_TRUE}" && test -z "${XFONT_FONTFILE_FALSE}"; then
   21347   as_fn_error $? "conditional \"XFONT_FONTFILE\" was never defined.
   21348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21349 fi
   21350 if test -z "${XFONT_FC_TRUE}" && test -z "${XFONT_FC_FALSE}"; then
   21351   as_fn_error $? "conditional \"XFONT_FC\" was never defined.
   21352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21353 fi
   21354 
   21355 : "${CONFIG_STATUS=./config.status}"
   21356 ac_write_fail=0
   21357 ac_clean_files_save=$ac_clean_files
   21358 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21360 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   21361 as_write_fail=0
   21362 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   21363 #! $SHELL
   21364 # Generated by $as_me.
   21365 # Run this file to recreate the current configuration.
   21366 # Compiler output produced by configure, useful for debugging
   21367 # configure, is in config.log if it exists.
   21368 
   21369 debug=false
   21370 ac_cs_recheck=false
   21371 ac_cs_silent=false
   21372 
   21373 SHELL=\${CONFIG_SHELL-$SHELL}
   21374 export SHELL
   21375 _ASEOF
   21376 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   21377 ## -------------------- ##
   21378 ## M4sh Initialization. ##
   21379 ## -------------------- ##
   21380 
   21381 # Be more Bourne compatible
   21382 DUALCASE=1; export DUALCASE # for MKS sh
   21383 as_nop=:
   21384 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   21385 then :
   21386   emulate sh
   21387   NULLCMD=:
   21388   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21389   # is contrary to our usage.  Disable this feature.
   21390   alias -g '${1+"$@"}'='"$@"'
   21391   setopt NO_GLOB_SUBST
   21392 else $as_nop
   21393   case `(set -o) 2>/dev/null` in #(
   21394   *posix*) :
   21395     set -o posix ;; #(
   21396   *) :
   21397      ;;
   21398 esac
   21399 fi
   21400 
   21401 
   21402 
   21403 # Reset variables that may have inherited troublesome values from
   21404 # the environment.
   21405 
   21406 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   21407 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   21408 # side effect of setting IFS to empty, thus disabling word splitting.)
   21409 # Quoting is to prevent editors from complaining about space-tab.
   21410 as_nl='
   21411 '
   21412 export as_nl
   21413 IFS=" ""	$as_nl"
   21414 
   21415 PS1='$ '
   21416 PS2='> '
   21417 PS4='+ '
   21418 
   21419 # Ensure predictable behavior from utilities with locale-dependent output.
   21420 LC_ALL=C
   21421 export LC_ALL
   21422 LANGUAGE=C
   21423 export LANGUAGE
   21424 
   21425 # We cannot yet rely on "unset" to work, but we need these variables
   21426 # to be unset--not just set to an empty or harmless value--now, to
   21427 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   21428 # also avoids known problems related to "unset" and subshell syntax
   21429 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   21430 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   21431 do eval test \${$as_var+y} \
   21432   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21433 done
   21434 
   21435 # Ensure that fds 0, 1, and 2 are open.
   21436 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   21437 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   21438 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   21439 
   21440 # The user is always right.
   21441 if ${PATH_SEPARATOR+false} :; then
   21442   PATH_SEPARATOR=:
   21443   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21444     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21445       PATH_SEPARATOR=';'
   21446   }
   21447 fi
   21448 
   21449 
   21450 # Find who we are.  Look in the path if we contain no directory separator.
   21451 as_myself=
   21452 case $0 in #((
   21453   *[\\/]* ) as_myself=$0 ;;
   21454   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21455 for as_dir in $PATH
   21456 do
   21457   IFS=$as_save_IFS
   21458   case $as_dir in #(((
   21459     '') as_dir=./ ;;
   21460     */) ;;
   21461     *) as_dir=$as_dir/ ;;
   21462   esac
   21463     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   21464   done
   21465 IFS=$as_save_IFS
   21466 
   21467      ;;
   21468 esac
   21469 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21470 # in which case we are not to be found in the path.
   21471 if test "x$as_myself" = x; then
   21472   as_myself=$0
   21473 fi
   21474 if test ! -f "$as_myself"; then
   21475   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21476   exit 1
   21477 fi
   21478 
   21479 
   21480 
   21481 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21482 # ----------------------------------------
   21483 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21484 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21485 # script with STATUS, using 1 if that was 0.
   21486 as_fn_error ()
   21487 {
   21488   as_status=$1; test $as_status -eq 0 && as_status=1
   21489   if test "$4"; then
   21490     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21491     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21492   fi
   21493   printf "%s\n" "$as_me: error: $2" >&2
   21494   as_fn_exit $as_status
   21495 } # as_fn_error
   21496 
   21497 
   21498 
   21499 # as_fn_set_status STATUS
   21500 # -----------------------
   21501 # Set $? to STATUS, without forking.
   21502 as_fn_set_status ()
   21503 {
   21504   return $1
   21505 } # as_fn_set_status
   21506 
   21507 # as_fn_exit STATUS
   21508 # -----------------
   21509 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21510 as_fn_exit ()
   21511 {
   21512   set +e
   21513   as_fn_set_status $1
   21514   exit $1
   21515 } # as_fn_exit
   21516 
   21517 # as_fn_unset VAR
   21518 # ---------------
   21519 # Portably unset VAR.
   21520 as_fn_unset ()
   21521 {
   21522   { eval $1=; unset $1;}
   21523 }
   21524 as_unset=as_fn_unset
   21525 
   21526 # as_fn_append VAR VALUE
   21527 # ----------------------
   21528 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21529 # advantage of any shell optimizations that allow amortized linear growth over
   21530 # repeated appends, instead of the typical quadratic growth present in naive
   21531 # implementations.
   21532 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21533 then :
   21534   eval 'as_fn_append ()
   21535   {
   21536     eval $1+=\$2
   21537   }'
   21538 else $as_nop
   21539   as_fn_append ()
   21540   {
   21541     eval $1=\$$1\$2
   21542   }
   21543 fi # as_fn_append
   21544 
   21545 # as_fn_arith ARG...
   21546 # ------------------
   21547 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21548 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21549 # must be portable across $(()) and expr.
   21550 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21551 then :
   21552   eval 'as_fn_arith ()
   21553   {
   21554     as_val=$(( $* ))
   21555   }'
   21556 else $as_nop
   21557   as_fn_arith ()
   21558   {
   21559     as_val=`expr "$@" || test $? -eq 1`
   21560   }
   21561 fi # as_fn_arith
   21562 
   21563 
   21564 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21565    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21566   as_expr=expr
   21567 else
   21568   as_expr=false
   21569 fi
   21570 
   21571 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21572   as_basename=basename
   21573 else
   21574   as_basename=false
   21575 fi
   21576 
   21577 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21578   as_dirname=dirname
   21579 else
   21580   as_dirname=false
   21581 fi
   21582 
   21583 as_me=`$as_basename -- "$0" ||
   21584 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21585 	 X"$0" : 'X\(//\)$' \| \
   21586 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21587 printf "%s\n" X/"$0" |
   21588     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21589 	    s//\1/
   21590 	    q
   21591 	  }
   21592 	  /^X\/\(\/\/\)$/{
   21593 	    s//\1/
   21594 	    q
   21595 	  }
   21596 	  /^X\/\(\/\).*/{
   21597 	    s//\1/
   21598 	    q
   21599 	  }
   21600 	  s/.*/./; q'`
   21601 
   21602 # Avoid depending upon Character Ranges.
   21603 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21604 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21605 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21606 as_cr_digits='0123456789'
   21607 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21608 
   21609 
   21610 # Determine whether it's possible to make 'echo' print without a newline.
   21611 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21612 # for compatibility with existing Makefiles.
   21613 ECHO_C= ECHO_N= ECHO_T=
   21614 case `echo -n x` in #(((((
   21615 -n*)
   21616   case `echo 'xy\c'` in
   21617   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21618   xy)  ECHO_C='\c';;
   21619   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21620        ECHO_T='	';;
   21621   esac;;
   21622 *)
   21623   ECHO_N='-n';;
   21624 esac
   21625 
   21626 # For backward compatibility with old third-party macros, we provide
   21627 # the shell variables $as_echo and $as_echo_n.  New code should use
   21628 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21629 as_echo='printf %s\n'
   21630 as_echo_n='printf %s'
   21631 
   21632 rm -f conf$$ conf$$.exe conf$$.file
   21633 if test -d conf$$.dir; then
   21634   rm -f conf$$.dir/conf$$.file
   21635 else
   21636   rm -f conf$$.dir
   21637   mkdir conf$$.dir 2>/dev/null
   21638 fi
   21639 if (echo >conf$$.file) 2>/dev/null; then
   21640   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21641     as_ln_s='ln -s'
   21642     # ... but there are two gotchas:
   21643     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21644     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21645     # In both cases, we have to default to `cp -pR'.
   21646     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21647       as_ln_s='cp -pR'
   21648   elif ln conf$$.file conf$$ 2>/dev/null; then
   21649     as_ln_s=ln
   21650   else
   21651     as_ln_s='cp -pR'
   21652   fi
   21653 else
   21654   as_ln_s='cp -pR'
   21655 fi
   21656 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21657 rmdir conf$$.dir 2>/dev/null
   21658 
   21659 
   21660 # as_fn_mkdir_p
   21661 # -------------
   21662 # Create "$as_dir" as a directory, including parents if necessary.
   21663 as_fn_mkdir_p ()
   21664 {
   21665 
   21666   case $as_dir in #(
   21667   -*) as_dir=./$as_dir;;
   21668   esac
   21669   test -d "$as_dir" || eval $as_mkdir_p || {
   21670     as_dirs=
   21671     while :; do
   21672       case $as_dir in #(
   21673       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21674       *) as_qdir=$as_dir;;
   21675       esac
   21676       as_dirs="'$as_qdir' $as_dirs"
   21677       as_dir=`$as_dirname -- "$as_dir" ||
   21678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21679 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21680 	 X"$as_dir" : 'X\(//\)$' \| \
   21681 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21682 printf "%s\n" X"$as_dir" |
   21683     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21684 	    s//\1/
   21685 	    q
   21686 	  }
   21687 	  /^X\(\/\/\)[^/].*/{
   21688 	    s//\1/
   21689 	    q
   21690 	  }
   21691 	  /^X\(\/\/\)$/{
   21692 	    s//\1/
   21693 	    q
   21694 	  }
   21695 	  /^X\(\/\).*/{
   21696 	    s//\1/
   21697 	    q
   21698 	  }
   21699 	  s/.*/./; q'`
   21700       test -d "$as_dir" && break
   21701     done
   21702     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21703   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21704 
   21705 
   21706 } # as_fn_mkdir_p
   21707 if mkdir -p . 2>/dev/null; then
   21708   as_mkdir_p='mkdir -p "$as_dir"'
   21709 else
   21710   test -d ./-p && rmdir ./-p
   21711   as_mkdir_p=false
   21712 fi
   21713 
   21714 
   21715 # as_fn_executable_p FILE
   21716 # -----------------------
   21717 # Test if FILE is an executable regular file.
   21718 as_fn_executable_p ()
   21719 {
   21720   test -f "$1" && test -x "$1"
   21721 } # as_fn_executable_p
   21722 as_test_x='test -x'
   21723 as_executable_p=as_fn_executable_p
   21724 
   21725 # Sed expression to map a string onto a valid CPP name.
   21726 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21727 
   21728 # Sed expression to map a string onto a valid variable name.
   21729 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21730 
   21731 
   21732 exec 6>&1
   21733 ## ----------------------------------- ##
   21734 ## Main body of $CONFIG_STATUS script. ##
   21735 ## ----------------------------------- ##
   21736 _ASEOF
   21737 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21738 
   21739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21740 # Save the log message, to keep $0 and so on meaningful, and to
   21741 # report actual input values of CONFIG_FILES etc. instead of their
   21742 # values after options handling.
   21743 ac_log="
   21744 This file was extended by libXfont2 $as_me 2.0.5, which was
   21745 generated by GNU Autoconf 2.71.  Invocation command line was
   21746 
   21747   CONFIG_FILES    = $CONFIG_FILES
   21748   CONFIG_HEADERS  = $CONFIG_HEADERS
   21749   CONFIG_LINKS    = $CONFIG_LINKS
   21750   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21751   $ $0 $@
   21752 
   21753 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21754 "
   21755 
   21756 _ACEOF
   21757 
   21758 case $ac_config_files in *"
   21759 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21760 esac
   21761 
   21762 case $ac_config_headers in *"
   21763 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21764 esac
   21765 
   21766 
   21767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21768 # Files that config.status was made for.
   21769 config_files="$ac_config_files"
   21770 config_headers="$ac_config_headers"
   21771 config_commands="$ac_config_commands"
   21772 
   21773 _ACEOF
   21774 
   21775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21776 ac_cs_usage="\
   21777 \`$as_me' instantiates files and other configuration actions
   21778 from templates according to the current configuration.  Unless the files
   21779 and actions are specified as TAGs, all are instantiated by default.
   21780 
   21781 Usage: $0 [OPTION]... [TAG]...
   21782 
   21783   -h, --help       print this help, then exit
   21784   -V, --version    print version number and configuration settings, then exit
   21785       --config     print configuration, then exit
   21786   -q, --quiet, --silent
   21787                    do not print progress messages
   21788   -d, --debug      don't remove temporary files
   21789       --recheck    update $as_me by reconfiguring in the same conditions
   21790       --file=FILE[:TEMPLATE]
   21791                    instantiate the configuration file FILE
   21792       --header=FILE[:TEMPLATE]
   21793                    instantiate the configuration header FILE
   21794 
   21795 Configuration files:
   21796 $config_files
   21797 
   21798 Configuration headers:
   21799 $config_headers
   21800 
   21801 Configuration commands:
   21802 $config_commands
   21803 
   21804 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXfont/issues>."
   21805 
   21806 _ACEOF
   21807 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21808 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21810 ac_cs_config='$ac_cs_config_escaped'
   21811 ac_cs_version="\\
   21812 libXfont2 config.status 2.0.5
   21813 configured by $0, generated by GNU Autoconf 2.71,
   21814   with options \\"\$ac_cs_config\\"
   21815 
   21816 Copyright (C) 2021 Free Software Foundation, Inc.
   21817 This config.status script is free software; the Free Software Foundation
   21818 gives unlimited permission to copy, distribute and modify it."
   21819 
   21820 ac_pwd='$ac_pwd'
   21821 srcdir='$srcdir'
   21822 INSTALL='$INSTALL'
   21823 MKDIR_P='$MKDIR_P'
   21824 AWK='$AWK'
   21825 test -n "\$AWK" || AWK=awk
   21826 _ACEOF
   21827 
   21828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21829 # The default lists apply if the user does not specify any file.
   21830 ac_need_defaults=:
   21831 while test $# != 0
   21832 do
   21833   case $1 in
   21834   --*=?*)
   21835     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21836     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21837     ac_shift=:
   21838     ;;
   21839   --*=)
   21840     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21841     ac_optarg=
   21842     ac_shift=:
   21843     ;;
   21844   *)
   21845     ac_option=$1
   21846     ac_optarg=$2
   21847     ac_shift=shift
   21848     ;;
   21849   esac
   21850 
   21851   case $ac_option in
   21852   # Handling of the options.
   21853   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21854     ac_cs_recheck=: ;;
   21855   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21856     printf "%s\n" "$ac_cs_version"; exit ;;
   21857   --config | --confi | --conf | --con | --co | --c )
   21858     printf "%s\n" "$ac_cs_config"; exit ;;
   21859   --debug | --debu | --deb | --de | --d | -d )
   21860     debug=: ;;
   21861   --file | --fil | --fi | --f )
   21862     $ac_shift
   21863     case $ac_optarg in
   21864     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21865     '') as_fn_error $? "missing file argument" ;;
   21866     esac
   21867     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21868     ac_need_defaults=false;;
   21869   --header | --heade | --head | --hea )
   21870     $ac_shift
   21871     case $ac_optarg in
   21872     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21873     esac
   21874     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21875     ac_need_defaults=false;;
   21876   --he | --h)
   21877     # Conflict between --help and --header
   21878     as_fn_error $? "ambiguous option: \`$1'
   21879 Try \`$0 --help' for more information.";;
   21880   --help | --hel | -h )
   21881     printf "%s\n" "$ac_cs_usage"; exit ;;
   21882   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21883   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21884     ac_cs_silent=: ;;
   21885 
   21886   # This is an error.
   21887   -*) as_fn_error $? "unrecognized option: \`$1'
   21888 Try \`$0 --help' for more information." ;;
   21889 
   21890   *) as_fn_append ac_config_targets " $1"
   21891      ac_need_defaults=false ;;
   21892 
   21893   esac
   21894   shift
   21895 done
   21896 
   21897 ac_configure_extra_args=
   21898 
   21899 if $ac_cs_silent; then
   21900   exec 6>/dev/null
   21901   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21902 fi
   21903 
   21904 _ACEOF
   21905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21906 if \$ac_cs_recheck; then
   21907   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21908   shift
   21909   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21910   CONFIG_SHELL='$SHELL'
   21911   export CONFIG_SHELL
   21912   exec "\$@"
   21913 fi
   21914 
   21915 _ACEOF
   21916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21917 exec 5>>config.log
   21918 {
   21919   echo
   21920   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21921 ## Running $as_me. ##
   21922 _ASBOX
   21923   printf "%s\n" "$ac_log"
   21924 } >&5
   21925 
   21926 _ACEOF
   21927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21928 #
   21929 # INIT-COMMANDS
   21930 #
   21931 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21932 
   21933 
   21934 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21935 # if CDPATH is set.
   21936 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21937 
   21938 sed_quote_subst='$sed_quote_subst'
   21939 double_quote_subst='$double_quote_subst'
   21940 delay_variable_subst='$delay_variable_subst'
   21941 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21942 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21943 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21944 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21945 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21946 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21947 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21948 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21949 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21950 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21951 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21952 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21953 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21954 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21955 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21956 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21957 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21958 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21959 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21960 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21961 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21962 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21963 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21964 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21965 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21966 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21967 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21968 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21969 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21970 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21971 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21972 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21973 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21974 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21975 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21976 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21977 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21978 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21979 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21980 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21981 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21982 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21983 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21984 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21985 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21986 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21987 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21988 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21989 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21990 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21991 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21992 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21993 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21994 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21995 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21996 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21997 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21998 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21999 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"`'
   22000 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   22001 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   22002 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   22003 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   22004 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   22005 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   22006 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   22007 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   22008 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   22009 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   22010 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   22011 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   22012 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   22013 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   22014 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   22015 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   22016 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   22017 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   22018 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   22019 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   22020 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22021 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   22022 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   22023 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   22024 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   22025 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   22026 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   22027 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   22028 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   22029 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22030 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   22031 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   22032 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   22033 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22034 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   22035 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   22036 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   22037 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   22038 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   22039 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   22040 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22041 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   22042 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   22043 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   22044 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   22045 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   22046 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   22047 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   22048 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   22049 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   22050 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   22051 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   22052 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   22053 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   22054 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   22055 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   22056 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   22057 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   22058 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   22059 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   22060 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   22061 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   22062 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   22063 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   22064 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   22065 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   22066 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   22067 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   22068 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   22069 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   22070 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   22071 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   22072 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   22073 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   22074 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   22075 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   22076 
   22077 LTCC='$LTCC'
   22078 LTCFLAGS='$LTCFLAGS'
   22079 compiler='$compiler_DEFAULT'
   22080 
   22081 # A function that is used when there is no print builtin or printf.
   22082 func_fallback_echo ()
   22083 {
   22084   eval 'cat <<_LTECHO_EOF
   22085 \$1
   22086 _LTECHO_EOF'
   22087 }
   22088 
   22089 # Quote evaled strings.
   22090 for var in SHELL \
   22091 ECHO \
   22092 PATH_SEPARATOR \
   22093 SED \
   22094 GREP \
   22095 EGREP \
   22096 FGREP \
   22097 LD \
   22098 NM \
   22099 LN_S \
   22100 lt_SP2NL \
   22101 lt_NL2SP \
   22102 reload_flag \
   22103 OBJDUMP \
   22104 deplibs_check_method \
   22105 file_magic_cmd \
   22106 file_magic_glob \
   22107 want_nocaseglob \
   22108 DLLTOOL \
   22109 sharedlib_from_linklib_cmd \
   22110 AR \
   22111 AR_FLAGS \
   22112 archiver_list_spec \
   22113 STRIP \
   22114 RANLIB \
   22115 CC \
   22116 CFLAGS \
   22117 compiler \
   22118 lt_cv_sys_global_symbol_pipe \
   22119 lt_cv_sys_global_symbol_to_cdecl \
   22120 lt_cv_sys_global_symbol_to_import \
   22121 lt_cv_sys_global_symbol_to_c_name_address \
   22122 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   22123 lt_cv_nm_interface \
   22124 nm_file_list_spec \
   22125 lt_cv_truncate_bin \
   22126 lt_prog_compiler_no_builtin_flag \
   22127 lt_prog_compiler_pic \
   22128 lt_prog_compiler_wl \
   22129 lt_prog_compiler_static \
   22130 lt_cv_prog_compiler_c_o \
   22131 need_locks \
   22132 MANIFEST_TOOL \
   22133 DSYMUTIL \
   22134 NMEDIT \
   22135 LIPO \
   22136 OTOOL \
   22137 OTOOL64 \
   22138 shrext_cmds \
   22139 export_dynamic_flag_spec \
   22140 whole_archive_flag_spec \
   22141 compiler_needs_object \
   22142 with_gnu_ld \
   22143 allow_undefined_flag \
   22144 no_undefined_flag \
   22145 hardcode_libdir_flag_spec \
   22146 hardcode_libdir_separator \
   22147 exclude_expsyms \
   22148 include_expsyms \
   22149 file_list_spec \
   22150 variables_saved_for_relink \
   22151 libname_spec \
   22152 library_names_spec \
   22153 soname_spec \
   22154 install_override_mode \
   22155 finish_eval \
   22156 old_striplib \
   22157 striplib; do
   22158     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22159     *[\\\\\\\`\\"\\\$]*)
   22160       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22161       ;;
   22162     *)
   22163       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22164       ;;
   22165     esac
   22166 done
   22167 
   22168 # Double-quote double-evaled strings.
   22169 for var in reload_cmds \
   22170 old_postinstall_cmds \
   22171 old_postuninstall_cmds \
   22172 old_archive_cmds \
   22173 extract_expsyms_cmds \
   22174 old_archive_from_new_cmds \
   22175 old_archive_from_expsyms_cmds \
   22176 archive_cmds \
   22177 archive_expsym_cmds \
   22178 module_cmds \
   22179 module_expsym_cmds \
   22180 export_symbols_cmds \
   22181 prelink_cmds \
   22182 postlink_cmds \
   22183 postinstall_cmds \
   22184 postuninstall_cmds \
   22185 finish_cmds \
   22186 sys_lib_search_path_spec \
   22187 configure_time_dlsearch_path \
   22188 configure_time_lt_sys_library_path; do
   22189     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   22190     *[\\\\\\\`\\"\\\$]*)
   22191       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   22192       ;;
   22193     *)
   22194       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   22195       ;;
   22196     esac
   22197 done
   22198 
   22199 ac_aux_dir='$ac_aux_dir'
   22200 
   22201 # See if we are running on zsh, and set the options that allow our
   22202 # commands through without removal of \ escapes INIT.
   22203 if test -n "\${ZSH_VERSION+set}"; then
   22204    setopt NO_GLOB_SUBST
   22205 fi
   22206 
   22207 
   22208     PACKAGE='$PACKAGE'
   22209     VERSION='$VERSION'
   22210     RM='$RM'
   22211     ofile='$ofile'
   22212 
   22213 
   22214 
   22215 
   22216 _ACEOF
   22217 
   22218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22219 
   22220 # Handling of arguments.
   22221 for ac_config_target in $ac_config_targets
   22222 do
   22223   case $ac_config_target in
   22224     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22225     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22226     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   22227     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22228     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   22229     "xfont2.pc") CONFIG_FILES="$CONFIG_FILES xfont2.pc" ;;
   22230 
   22231   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   22232   esac
   22233 done
   22234 
   22235 
   22236 # If the user did not use the arguments to specify the items to instantiate,
   22237 # then the envvar interface is used.  Set only those that are not.
   22238 # We use the long form for the default assignment because of an extremely
   22239 # bizarre bug on SunOS 4.1.3.
   22240 if $ac_need_defaults; then
   22241   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   22242   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   22243   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   22244 fi
   22245 
   22246 # Have a temporary directory for convenience.  Make it in the build tree
   22247 # simply because there is no reason against having it here, and in addition,
   22248 # creating and moving files from /tmp can sometimes cause problems.
   22249 # Hook for its removal unless debugging.
   22250 # Note that there is a small window in which the directory will not be cleaned:
   22251 # after its creation but before its name has been assigned to `$tmp'.
   22252 $debug ||
   22253 {
   22254   tmp= ac_tmp=
   22255   trap 'exit_status=$?
   22256   : "${ac_tmp:=$tmp}"
   22257   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   22258 ' 0
   22259   trap 'as_fn_exit 1' 1 2 13 15
   22260 }
   22261 # Create a (secure) tmp directory for tmp files.
   22262 
   22263 {
   22264   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22265   test -d "$tmp"
   22266 }  ||
   22267 {
   22268   tmp=./conf$$-$RANDOM
   22269   (umask 077 && mkdir "$tmp")
   22270 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   22271 ac_tmp=$tmp
   22272 
   22273 # Set up the scripts for CONFIG_FILES section.
   22274 # No need to generate them if there are no CONFIG_FILES.
   22275 # This happens for instance with `./config.status config.h'.
   22276 if test -n "$CONFIG_FILES"; then
   22277 
   22278 
   22279 ac_cr=`echo X | tr X '\015'`
   22280 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   22281 # But we know of no other shell where ac_cr would be empty at this
   22282 # point, so we can use a bashism as a fallback.
   22283 if test "x$ac_cr" = x; then
   22284   eval ac_cr=\$\'\\r\'
   22285 fi
   22286 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22287 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22288   ac_cs_awk_cr='\\r'
   22289 else
   22290   ac_cs_awk_cr=$ac_cr
   22291 fi
   22292 
   22293 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22294 _ACEOF
   22295 
   22296 
   22297 {
   22298   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22299   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22300   echo "_ACEOF"
   22301 } >conf$$subs.sh ||
   22302   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22303 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   22304 ac_delim='%!_!# '
   22305 for ac_last_try in false false false false false :; do
   22306   . ./conf$$subs.sh ||
   22307     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22308 
   22309   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22310   if test $ac_delim_n = $ac_delim_num; then
   22311     break
   22312   elif $ac_last_try; then
   22313     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22314   else
   22315     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22316   fi
   22317 done
   22318 rm -f conf$$subs.sh
   22319 
   22320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22321 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22322 _ACEOF
   22323 sed -n '
   22324 h
   22325 s/^/S["/; s/!.*/"]=/
   22326 p
   22327 g
   22328 s/^[^!]*!//
   22329 :repl
   22330 t repl
   22331 s/'"$ac_delim"'$//
   22332 t delim
   22333 :nl
   22334 h
   22335 s/\(.\{148\}\)..*/\1/
   22336 t more1
   22337 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22338 p
   22339 n
   22340 b repl
   22341 :more1
   22342 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22343 p
   22344 g
   22345 s/.\{148\}//
   22346 t nl
   22347 :delim
   22348 h
   22349 s/\(.\{148\}\)..*/\1/
   22350 t more2
   22351 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22352 p
   22353 b
   22354 :more2
   22355 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22356 p
   22357 g
   22358 s/.\{148\}//
   22359 t delim
   22360 ' <conf$$subs.awk | sed '
   22361 /^[^""]/{
   22362   N
   22363   s/\n//
   22364 }
   22365 ' >>$CONFIG_STATUS || ac_write_fail=1
   22366 rm -f conf$$subs.awk
   22367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22368 _ACAWK
   22369 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22370   for (key in S) S_is_set[key] = 1
   22371   FS = ""
   22372 
   22373 }
   22374 {
   22375   line = $ 0
   22376   nfields = split(line, field, "@")
   22377   substed = 0
   22378   len = length(field[1])
   22379   for (i = 2; i < nfields; i++) {
   22380     key = field[i]
   22381     keylen = length(key)
   22382     if (S_is_set[key]) {
   22383       value = S[key]
   22384       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22385       len += length(value) + length(field[++i])
   22386       substed = 1
   22387     } else
   22388       len += 1 + keylen
   22389   }
   22390 
   22391   print line
   22392 }
   22393 
   22394 _ACAWK
   22395 _ACEOF
   22396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22397 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22398   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22399 else
   22400   cat
   22401 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22402   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22403 _ACEOF
   22404 
   22405 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22406 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22407 # trailing colons and then remove the whole line if VPATH becomes empty
   22408 # (actually we leave an empty line to preserve line numbers).
   22409 if test "x$srcdir" = x.; then
   22410   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22411 h
   22412 s///
   22413 s/^/:/
   22414 s/[	 ]*$/:/
   22415 s/:\$(srcdir):/:/g
   22416 s/:\${srcdir}:/:/g
   22417 s/:@srcdir@:/:/g
   22418 s/^:*//
   22419 s/:*$//
   22420 x
   22421 s/\(=[	 ]*\).*/\1/
   22422 G
   22423 s/\n//
   22424 s/^[^=]*=[	 ]*$//
   22425 }'
   22426 fi
   22427 
   22428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22429 fi # test -n "$CONFIG_FILES"
   22430 
   22431 # Set up the scripts for CONFIG_HEADERS section.
   22432 # No need to generate them if there are no CONFIG_HEADERS.
   22433 # This happens for instance with `./config.status Makefile'.
   22434 if test -n "$CONFIG_HEADERS"; then
   22435 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22436 BEGIN {
   22437 _ACEOF
   22438 
   22439 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22440 # here-document in config.status, that substitutes the proper values into
   22441 # config.h.in to produce config.h.
   22442 
   22443 # Create a delimiter string that does not exist in confdefs.h, to ease
   22444 # handling of long lines.
   22445 ac_delim='%!_!# '
   22446 for ac_last_try in false false :; do
   22447   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22448   if test -z "$ac_tt"; then
   22449     break
   22450   elif $ac_last_try; then
   22451     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22452   else
   22453     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22454   fi
   22455 done
   22456 
   22457 # For the awk script, D is an array of macro values keyed by name,
   22458 # likewise P contains macro parameters if any.  Preserve backslash
   22459 # newline sequences.
   22460 
   22461 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22462 sed -n '
   22463 s/.\{148\}/&'"$ac_delim"'/g
   22464 t rset
   22465 :rset
   22466 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22467 t def
   22468 d
   22469 :def
   22470 s/\\$//
   22471 t bsnl
   22472 s/["\\]/\\&/g
   22473 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22474 D["\1"]=" \3"/p
   22475 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22476 d
   22477 :bsnl
   22478 s/["\\]/\\&/g
   22479 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22480 D["\1"]=" \3\\\\\\n"\\/p
   22481 t cont
   22482 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22483 t cont
   22484 d
   22485 :cont
   22486 n
   22487 s/.\{148\}/&'"$ac_delim"'/g
   22488 t clear
   22489 :clear
   22490 s/\\$//
   22491 t bsnlc
   22492 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22493 d
   22494 :bsnlc
   22495 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22496 b cont
   22497 ' <confdefs.h | sed '
   22498 s/'"$ac_delim"'/"\\\
   22499 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22500 
   22501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22502   for (key in D) D_is_set[key] = 1
   22503   FS = ""
   22504 }
   22505 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22506   line = \$ 0
   22507   split(line, arg, " ")
   22508   if (arg[1] == "#") {
   22509     defundef = arg[2]
   22510     mac1 = arg[3]
   22511   } else {
   22512     defundef = substr(arg[1], 2)
   22513     mac1 = arg[2]
   22514   }
   22515   split(mac1, mac2, "(") #)
   22516   macro = mac2[1]
   22517   prefix = substr(line, 1, index(line, defundef) - 1)
   22518   if (D_is_set[macro]) {
   22519     # Preserve the white space surrounding the "#".
   22520     print prefix "define", macro P[macro] D[macro]
   22521     next
   22522   } else {
   22523     # Replace #undef with comments.  This is necessary, for example,
   22524     # in the case of _POSIX_SOURCE, which is predefined and required
   22525     # on some systems where configure will not decide to define it.
   22526     if (defundef == "undef") {
   22527       print "/*", prefix defundef, macro, "*/"
   22528       next
   22529     }
   22530   }
   22531 }
   22532 { print }
   22533 _ACAWK
   22534 _ACEOF
   22535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22536   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22537 fi # test -n "$CONFIG_HEADERS"
   22538 
   22539 
   22540 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22541 shift
   22542 for ac_tag
   22543 do
   22544   case $ac_tag in
   22545   :[FHLC]) ac_mode=$ac_tag; continue;;
   22546   esac
   22547   case $ac_mode$ac_tag in
   22548   :[FHL]*:*);;
   22549   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   22550   :[FH]-) ac_tag=-:-;;
   22551   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22552   esac
   22553   ac_save_IFS=$IFS
   22554   IFS=:
   22555   set x $ac_tag
   22556   IFS=$ac_save_IFS
   22557   shift
   22558   ac_file=$1
   22559   shift
   22560 
   22561   case $ac_mode in
   22562   :L) ac_source=$1;;
   22563   :[FH])
   22564     ac_file_inputs=
   22565     for ac_f
   22566     do
   22567       case $ac_f in
   22568       -) ac_f="$ac_tmp/stdin";;
   22569       *) # Look for the file first in the build tree, then in the source tree
   22570 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22571 	 # because $ac_f cannot contain `:'.
   22572 	 test -f "$ac_f" ||
   22573 	   case $ac_f in
   22574 	   [\\/$]*) false;;
   22575 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22576 	   esac ||
   22577 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22578       esac
   22579       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22580       as_fn_append ac_file_inputs " '$ac_f'"
   22581     done
   22582 
   22583     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22584     # use $as_me), people would be surprised to read:
   22585     #    /* config.h.  Generated by config.status.  */
   22586     configure_input='Generated from '`
   22587 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22588 	`' by configure.'
   22589     if test x"$ac_file" != x-; then
   22590       configure_input="$ac_file.  $configure_input"
   22591       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22592 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   22593     fi
   22594     # Neutralize special characters interpreted by sed in replacement strings.
   22595     case $configure_input in #(
   22596     *\&* | *\|* | *\\* )
   22597        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22598        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22599     *) ac_sed_conf_input=$configure_input;;
   22600     esac
   22601 
   22602     case $ac_tag in
   22603     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22604       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22605     esac
   22606     ;;
   22607   esac
   22608 
   22609   ac_dir=`$as_dirname -- "$ac_file" ||
   22610 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22611 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22612 	 X"$ac_file" : 'X\(//\)$' \| \
   22613 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22614 printf "%s\n" X"$ac_file" |
   22615     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22616 	    s//\1/
   22617 	    q
   22618 	  }
   22619 	  /^X\(\/\/\)[^/].*/{
   22620 	    s//\1/
   22621 	    q
   22622 	  }
   22623 	  /^X\(\/\/\)$/{
   22624 	    s//\1/
   22625 	    q
   22626 	  }
   22627 	  /^X\(\/\).*/{
   22628 	    s//\1/
   22629 	    q
   22630 	  }
   22631 	  s/.*/./; q'`
   22632   as_dir="$ac_dir"; as_fn_mkdir_p
   22633   ac_builddir=.
   22634 
   22635 case "$ac_dir" in
   22636 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22637 *)
   22638   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22639   # A ".." for each directory in $ac_dir_suffix.
   22640   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22641   case $ac_top_builddir_sub in
   22642   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22643   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22644   esac ;;
   22645 esac
   22646 ac_abs_top_builddir=$ac_pwd
   22647 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22648 # for backward compatibility:
   22649 ac_top_builddir=$ac_top_build_prefix
   22650 
   22651 case $srcdir in
   22652   .)  # We are building in place.
   22653     ac_srcdir=.
   22654     ac_top_srcdir=$ac_top_builddir_sub
   22655     ac_abs_top_srcdir=$ac_pwd ;;
   22656   [\\/]* | ?:[\\/]* )  # Absolute name.
   22657     ac_srcdir=$srcdir$ac_dir_suffix;
   22658     ac_top_srcdir=$srcdir
   22659     ac_abs_top_srcdir=$srcdir ;;
   22660   *) # Relative name.
   22661     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22662     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22663     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22664 esac
   22665 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22666 
   22667 
   22668   case $ac_mode in
   22669   :F)
   22670   #
   22671   # CONFIG_FILE
   22672   #
   22673 
   22674   case $INSTALL in
   22675   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22676   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22677   esac
   22678   ac_MKDIR_P=$MKDIR_P
   22679   case $MKDIR_P in
   22680   [\\/$]* | ?:[\\/]* ) ;;
   22681   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22682   esac
   22683 _ACEOF
   22684 
   22685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22686 # If the template does not know about datarootdir, expand it.
   22687 # FIXME: This hack should be removed a few years after 2.60.
   22688 ac_datarootdir_hack=; ac_datarootdir_seen=
   22689 ac_sed_dataroot='
   22690 /datarootdir/ {
   22691   p
   22692   q
   22693 }
   22694 /@datadir@/p
   22695 /@docdir@/p
   22696 /@infodir@/p
   22697 /@localedir@/p
   22698 /@mandir@/p'
   22699 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22700 *datarootdir*) ac_datarootdir_seen=yes;;
   22701 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22702   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22703 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22704 _ACEOF
   22705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22706   ac_datarootdir_hack='
   22707   s&@datadir@&$datadir&g
   22708   s&@docdir@&$docdir&g
   22709   s&@infodir@&$infodir&g
   22710   s&@localedir@&$localedir&g
   22711   s&@mandir@&$mandir&g
   22712   s&\\\${datarootdir}&$datarootdir&g' ;;
   22713 esac
   22714 _ACEOF
   22715 
   22716 # Neutralize VPATH when `$srcdir' = `.'.
   22717 # Shell code in configure.ac might set extrasub.
   22718 # FIXME: do we really want to maintain this feature?
   22719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22720 ac_sed_extra="$ac_vpsub
   22721 $extrasub
   22722 _ACEOF
   22723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22724 :t
   22725 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22726 s|@configure_input@|$ac_sed_conf_input|;t t
   22727 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22728 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22729 s&@srcdir@&$ac_srcdir&;t t
   22730 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22731 s&@top_srcdir@&$ac_top_srcdir&;t t
   22732 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22733 s&@builddir@&$ac_builddir&;t t
   22734 s&@abs_builddir@&$ac_abs_builddir&;t t
   22735 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22736 s&@INSTALL@&$ac_INSTALL&;t t
   22737 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22738 $ac_datarootdir_hack
   22739 "
   22740 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22741   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22742 
   22743 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22744   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22745   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22746       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22748 which seems to be undefined.  Please make sure it is defined" >&5
   22749 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22750 which seems to be undefined.  Please make sure it is defined" >&2;}
   22751 
   22752   rm -f "$ac_tmp/stdin"
   22753   case $ac_file in
   22754   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22755   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22756   esac \
   22757   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22758  ;;
   22759   :H)
   22760   #
   22761   # CONFIG_HEADER
   22762   #
   22763   if test x"$ac_file" != x-; then
   22764     {
   22765       printf "%s\n" "/* $configure_input  */" >&1 \
   22766       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22767     } >"$ac_tmp/config.h" \
   22768       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22769     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22770       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22771 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22772     else
   22773       rm -f "$ac_file"
   22774       mv "$ac_tmp/config.h" "$ac_file" \
   22775 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22776     fi
   22777   else
   22778     printf "%s\n" "/* $configure_input  */" >&1 \
   22779       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22780       || as_fn_error $? "could not create -" "$LINENO" 5
   22781   fi
   22782 # Compute "$ac_file"'s index in $config_headers.
   22783 _am_arg="$ac_file"
   22784 _am_stamp_count=1
   22785 for _am_header in $config_headers :; do
   22786   case $_am_header in
   22787     $_am_arg | $_am_arg:* )
   22788       break ;;
   22789     * )
   22790       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22791   esac
   22792 done
   22793 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22794 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22795 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22796 	 X"$_am_arg" : 'X\(//\)$' \| \
   22797 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22798 printf "%s\n" X"$_am_arg" |
   22799     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22800 	    s//\1/
   22801 	    q
   22802 	  }
   22803 	  /^X\(\/\/\)[^/].*/{
   22804 	    s//\1/
   22805 	    q
   22806 	  }
   22807 	  /^X\(\/\/\)$/{
   22808 	    s//\1/
   22809 	    q
   22810 	  }
   22811 	  /^X\(\/\).*/{
   22812 	    s//\1/
   22813 	    q
   22814 	  }
   22815 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22816  ;;
   22817 
   22818   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22819 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22820  ;;
   22821   esac
   22822 
   22823 
   22824   case $ac_file$ac_mode in
   22825     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22826   # Older Autoconf quotes --file arguments for eval, but not when files
   22827   # are listed without --file.  Let's play safe and only enable the eval
   22828   # if we detect the quoting.
   22829   # TODO: see whether this extra hack can be removed once we start
   22830   # requiring Autoconf 2.70 or later.
   22831   case $CONFIG_FILES in #(
   22832   *\'*) :
   22833     eval set x "$CONFIG_FILES" ;; #(
   22834   *) :
   22835     set x $CONFIG_FILES ;; #(
   22836   *) :
   22837      ;;
   22838 esac
   22839   shift
   22840   # Used to flag and report bootstrapping failures.
   22841   am_rc=0
   22842   for am_mf
   22843   do
   22844     # Strip MF so we end up with the name of the file.
   22845     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22846     # Check whether this is an Automake generated Makefile which includes
   22847     # dependency-tracking related rules and includes.
   22848     # Grep'ing the whole file directly is not great: AIX grep has a line
   22849     # limit of 2048, but all sed's we know have understand at least 4000.
   22850     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22851       || continue
   22852     am_dirpart=`$as_dirname -- "$am_mf" ||
   22853 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22854 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22855 	 X"$am_mf" : 'X\(//\)$' \| \
   22856 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22857 printf "%s\n" X"$am_mf" |
   22858     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22859 	    s//\1/
   22860 	    q
   22861 	  }
   22862 	  /^X\(\/\/\)[^/].*/{
   22863 	    s//\1/
   22864 	    q
   22865 	  }
   22866 	  /^X\(\/\/\)$/{
   22867 	    s//\1/
   22868 	    q
   22869 	  }
   22870 	  /^X\(\/\).*/{
   22871 	    s//\1/
   22872 	    q
   22873 	  }
   22874 	  s/.*/./; q'`
   22875     am_filepart=`$as_basename -- "$am_mf" ||
   22876 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22877 	 X"$am_mf" : 'X\(//\)$' \| \
   22878 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22879 printf "%s\n" X/"$am_mf" |
   22880     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22881 	    s//\1/
   22882 	    q
   22883 	  }
   22884 	  /^X\/\(\/\/\)$/{
   22885 	    s//\1/
   22886 	    q
   22887 	  }
   22888 	  /^X\/\(\/\).*/{
   22889 	    s//\1/
   22890 	    q
   22891 	  }
   22892 	  s/.*/./; q'`
   22893     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22894       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22895         | $MAKE -f - am--depfiles" >&5
   22896    (cd "$am_dirpart" \
   22897       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22898         | $MAKE -f - am--depfiles) >&5 2>&5
   22899    ac_status=$?
   22900    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22901    (exit $ac_status); } || am_rc=$?
   22902   done
   22903   if test $am_rc -ne 0; then
   22904     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22905 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   22906 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22907     for automatic dependency tracking.  If GNU make was not used, consider
   22908     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22909     necessary).  You can also try re-running configure with the
   22910     '--disable-dependency-tracking' option to at least be able to build
   22911     the package (albeit without support for automatic dependency tracking).
   22912 See \`config.log' for more details" "$LINENO" 5; }
   22913   fi
   22914   { am_dirpart=; unset am_dirpart;}
   22915   { am_filepart=; unset am_filepart;}
   22916   { am_mf=; unset am_mf;}
   22917   { am_rc=; unset am_rc;}
   22918   rm -f conftest-deps.mk
   22919 }
   22920  ;;
   22921     "libtool":C)
   22922 
   22923     # See if we are running on zsh, and set the options that allow our
   22924     # commands through without removal of \ escapes.
   22925     if test -n "${ZSH_VERSION+set}"; then
   22926       setopt NO_GLOB_SUBST
   22927     fi
   22928 
   22929     cfgfile=${ofile}T
   22930     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22931     $RM "$cfgfile"
   22932 
   22933     cat <<_LT_EOF >> "$cfgfile"
   22934 #! $SHELL
   22935 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22936 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22937 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22938 
   22939 # Provide generalized library-building support services.
   22940 # Written by Gordon Matzigkeit, 1996
   22941 
   22942 # Copyright (C) 2014 Free Software Foundation, Inc.
   22943 # This is free software; see the source for copying conditions.  There is NO
   22944 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22945 
   22946 # GNU Libtool is free software; you can redistribute it and/or modify
   22947 # it under the terms of the GNU General Public License as published by
   22948 # the Free Software Foundation; either version 2 of of the License, or
   22949 # (at your option) any later version.
   22950 #
   22951 # As a special exception to the GNU General Public License, if you
   22952 # distribute this file as part of a program or library that is built
   22953 # using GNU Libtool, you may include this file under the  same
   22954 # distribution terms that you use for the rest of that program.
   22955 #
   22956 # GNU Libtool is distributed in the hope that it will be useful, but
   22957 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22958 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22959 # GNU General Public License for more details.
   22960 #
   22961 # You should have received a copy of the GNU General Public License
   22962 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22963 
   22964 
   22965 # The names of the tagged configurations supported by this script.
   22966 available_tags=''
   22967 
   22968 # Configured defaults for sys_lib_dlsearch_path munging.
   22969 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22970 
   22971 # ### BEGIN LIBTOOL CONFIG
   22972 
   22973 # Which release of libtool.m4 was used?
   22974 macro_version=$macro_version
   22975 macro_revision=$macro_revision
   22976 
   22977 # Whether or not to build shared libraries.
   22978 build_libtool_libs=$enable_shared
   22979 
   22980 # Whether or not to build static libraries.
   22981 build_old_libs=$enable_static
   22982 
   22983 # What type of objects to build.
   22984 pic_mode=$pic_mode
   22985 
   22986 # Whether or not to optimize for fast installation.
   22987 fast_install=$enable_fast_install
   22988 
   22989 # Shared archive member basename,for filename based shared library versioning on AIX.
   22990 shared_archive_member_spec=$shared_archive_member_spec
   22991 
   22992 # Shell to use when invoking shell scripts.
   22993 SHELL=$lt_SHELL
   22994 
   22995 # An echo program that protects backslashes.
   22996 ECHO=$lt_ECHO
   22997 
   22998 # The PATH separator for the build system.
   22999 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   23000 
   23001 # The host system.
   23002 host_alias=$host_alias
   23003 host=$host
   23004 host_os=$host_os
   23005 
   23006 # The build system.
   23007 build_alias=$build_alias
   23008 build=$build
   23009 build_os=$build_os
   23010 
   23011 # A sed program that does not truncate output.
   23012 SED=$lt_SED
   23013 
   23014 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   23015 Xsed="\$SED -e 1s/^X//"
   23016 
   23017 # A grep program that handles long lines.
   23018 GREP=$lt_GREP
   23019 
   23020 # An ERE matcher.
   23021 EGREP=$lt_EGREP
   23022 
   23023 # A literal string matcher.
   23024 FGREP=$lt_FGREP
   23025 
   23026 # A BSD- or MS-compatible name lister.
   23027 NM=$lt_NM
   23028 
   23029 # Whether we need soft or hard links.
   23030 LN_S=$lt_LN_S
   23031 
   23032 # What is the maximum length of a command?
   23033 max_cmd_len=$max_cmd_len
   23034 
   23035 # Object file suffix (normally "o").
   23036 objext=$ac_objext
   23037 
   23038 # Executable file suffix (normally "").
   23039 exeext=$exeext
   23040 
   23041 # whether the shell understands "unset".
   23042 lt_unset=$lt_unset
   23043 
   23044 # turn spaces into newlines.
   23045 SP2NL=$lt_lt_SP2NL
   23046 
   23047 # turn newlines into spaces.
   23048 NL2SP=$lt_lt_NL2SP
   23049 
   23050 # convert \$build file names to \$host format.
   23051 to_host_file_cmd=$lt_cv_to_host_file_cmd
   23052 
   23053 # convert \$build files to toolchain format.
   23054 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   23055 
   23056 # An object symbol dumper.
   23057 OBJDUMP=$lt_OBJDUMP
   23058 
   23059 # Method to check whether dependent libraries are shared objects.
   23060 deplibs_check_method=$lt_deplibs_check_method
   23061 
   23062 # Command to use when deplibs_check_method = "file_magic".
   23063 file_magic_cmd=$lt_file_magic_cmd
   23064 
   23065 # How to find potential files when deplibs_check_method = "file_magic".
   23066 file_magic_glob=$lt_file_magic_glob
   23067 
   23068 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   23069 want_nocaseglob=$lt_want_nocaseglob
   23070 
   23071 # DLL creation program.
   23072 DLLTOOL=$lt_DLLTOOL
   23073 
   23074 # Command to associate shared and link libraries.
   23075 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   23076 
   23077 # The archiver.
   23078 AR=$lt_AR
   23079 
   23080 # Flags to create an archive.
   23081 AR_FLAGS=$lt_AR_FLAGS
   23082 
   23083 # How to feed a file listing to the archiver.
   23084 archiver_list_spec=$lt_archiver_list_spec
   23085 
   23086 # A symbol stripping program.
   23087 STRIP=$lt_STRIP
   23088 
   23089 # Commands used to install an old-style archive.
   23090 RANLIB=$lt_RANLIB
   23091 old_postinstall_cmds=$lt_old_postinstall_cmds
   23092 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   23093 
   23094 # Whether to use a lock for old archive extraction.
   23095 lock_old_archive_extraction=$lock_old_archive_extraction
   23096 
   23097 # A C compiler.
   23098 LTCC=$lt_CC
   23099 
   23100 # LTCC compiler flags.
   23101 LTCFLAGS=$lt_CFLAGS
   23102 
   23103 # Take the output of nm and produce a listing of raw symbols and C names.
   23104 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   23105 
   23106 # Transform the output of nm in a proper C declaration.
   23107 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   23108 
   23109 # Transform the output of nm into a list of symbols to manually relocate.
   23110 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   23111 
   23112 # Transform the output of nm in a C name address pair.
   23113 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   23114 
   23115 # Transform the output of nm in a C name address pair when lib prefix is needed.
   23116 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   23117 
   23118 # The name lister interface.
   23119 nm_interface=$lt_lt_cv_nm_interface
   23120 
   23121 # Specify filename containing input files for \$NM.
   23122 nm_file_list_spec=$lt_nm_file_list_spec
   23123 
   23124 # The root where to search for dependent libraries,and where our libraries should be installed.
   23125 lt_sysroot=$lt_sysroot
   23126 
   23127 # Command to truncate a binary pipe.
   23128 lt_truncate_bin=$lt_lt_cv_truncate_bin
   23129 
   23130 # The name of the directory that contains temporary libtool files.
   23131 objdir=$objdir
   23132 
   23133 # Used to examine libraries when file_magic_cmd begins with "file".
   23134 MAGIC_CMD=$MAGIC_CMD
   23135 
   23136 # Must we lock files when doing compilation?
   23137 need_locks=$lt_need_locks
   23138 
   23139 # Manifest tool.
   23140 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   23141 
   23142 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   23143 DSYMUTIL=$lt_DSYMUTIL
   23144 
   23145 # Tool to change global to local symbols on Mac OS X.
   23146 NMEDIT=$lt_NMEDIT
   23147 
   23148 # Tool to manipulate fat objects and archives on Mac OS X.
   23149 LIPO=$lt_LIPO
   23150 
   23151 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   23152 OTOOL=$lt_OTOOL
   23153 
   23154 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   23155 OTOOL64=$lt_OTOOL64
   23156 
   23157 # Old archive suffix (normally "a").
   23158 libext=$libext
   23159 
   23160 # Shared library suffix (normally ".so").
   23161 shrext_cmds=$lt_shrext_cmds
   23162 
   23163 # The commands to extract the exported symbol list from a shared archive.
   23164 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   23165 
   23166 # Variables whose values should be saved in libtool wrapper scripts and
   23167 # restored at link time.
   23168 variables_saved_for_relink=$lt_variables_saved_for_relink
   23169 
   23170 # Do we need the "lib" prefix for modules?
   23171 need_lib_prefix=$need_lib_prefix
   23172 
   23173 # Do we need a version for libraries?
   23174 need_version=$need_version
   23175 
   23176 # Library versioning type.
   23177 version_type=$version_type
   23178 
   23179 # Shared library runtime path variable.
   23180 runpath_var=$runpath_var
   23181 
   23182 # Shared library path variable.
   23183 shlibpath_var=$shlibpath_var
   23184 
   23185 # Is shlibpath searched before the hard-coded library search path?
   23186 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   23187 
   23188 # Format of library name prefix.
   23189 libname_spec=$lt_libname_spec
   23190 
   23191 # List of archive names.  First name is the real one, the rest are links.
   23192 # The last name is the one that the linker finds with -lNAME
   23193 library_names_spec=$lt_library_names_spec
   23194 
   23195 # The coded name of the library, if different from the real name.
   23196 soname_spec=$lt_soname_spec
   23197 
   23198 # Permission mode override for installation of shared libraries.
   23199 install_override_mode=$lt_install_override_mode
   23200 
   23201 # Command to use after installation of a shared archive.
   23202 postinstall_cmds=$lt_postinstall_cmds
   23203 
   23204 # Command to use after uninstallation of a shared archive.
   23205 postuninstall_cmds=$lt_postuninstall_cmds
   23206 
   23207 # Commands used to finish a libtool library installation in a directory.
   23208 finish_cmds=$lt_finish_cmds
   23209 
   23210 # As "finish_cmds", except a single script fragment to be evaled but
   23211 # not shown.
   23212 finish_eval=$lt_finish_eval
   23213 
   23214 # Whether we should hardcode library paths into libraries.
   23215 hardcode_into_libs=$hardcode_into_libs
   23216 
   23217 # Compile-time system search path for libraries.
   23218 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   23219 
   23220 # Detected run-time system search path for libraries.
   23221 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   23222 
   23223 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   23224 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   23225 
   23226 # Whether dlopen is supported.
   23227 dlopen_support=$enable_dlopen
   23228 
   23229 # Whether dlopen of programs is supported.
   23230 dlopen_self=$enable_dlopen_self
   23231 
   23232 # Whether dlopen of statically linked programs is supported.
   23233 dlopen_self_static=$enable_dlopen_self_static
   23234 
   23235 # Commands to strip libraries.
   23236 old_striplib=$lt_old_striplib
   23237 striplib=$lt_striplib
   23238 
   23239 
   23240 # The linker used to build libraries.
   23241 LD=$lt_LD
   23242 
   23243 # How to create reloadable object files.
   23244 reload_flag=$lt_reload_flag
   23245 reload_cmds=$lt_reload_cmds
   23246 
   23247 # Commands used to build an old-style archive.
   23248 old_archive_cmds=$lt_old_archive_cmds
   23249 
   23250 # A language specific compiler.
   23251 CC=$lt_compiler
   23252 
   23253 # Is the compiler the GNU compiler?
   23254 with_gcc=$GCC
   23255 
   23256 # Compiler flag to turn off builtin functions.
   23257 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   23258 
   23259 # Additional compiler flags for building library objects.
   23260 pic_flag=$lt_lt_prog_compiler_pic
   23261 
   23262 # How to pass a linker flag through the compiler.
   23263 wl=$lt_lt_prog_compiler_wl
   23264 
   23265 # Compiler flag to prevent dynamic linking.
   23266 link_static_flag=$lt_lt_prog_compiler_static
   23267 
   23268 # Does compiler simultaneously support -c and -o options?
   23269 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   23270 
   23271 # Whether or not to add -lc for building shared libraries.
   23272 build_libtool_need_lc=$archive_cmds_need_lc
   23273 
   23274 # Whether or not to disallow shared libs when runtime libs are static.
   23275 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23276 
   23277 # Compiler flag to allow reflexive dlopens.
   23278 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23279 
   23280 # Compiler flag to generate shared objects directly from archives.
   23281 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23282 
   23283 # Whether the compiler copes with passing no objects directly.
   23284 compiler_needs_object=$lt_compiler_needs_object
   23285 
   23286 # Create an old-style archive from a shared archive.
   23287 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23288 
   23289 # Create a temporary old-style archive to link instead of a shared archive.
   23290 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23291 
   23292 # Commands used to build a shared archive.
   23293 archive_cmds=$lt_archive_cmds
   23294 archive_expsym_cmds=$lt_archive_expsym_cmds
   23295 
   23296 # Commands used to build a loadable module if different from building
   23297 # a shared archive.
   23298 module_cmds=$lt_module_cmds
   23299 module_expsym_cmds=$lt_module_expsym_cmds
   23300 
   23301 # Whether we are building with GNU ld or not.
   23302 with_gnu_ld=$lt_with_gnu_ld
   23303 
   23304 # Flag that allows shared libraries with undefined symbols to be built.
   23305 allow_undefined_flag=$lt_allow_undefined_flag
   23306 
   23307 # Flag that enforces no undefined symbols.
   23308 no_undefined_flag=$lt_no_undefined_flag
   23309 
   23310 # Flag to hardcode \$libdir into a binary during linking.
   23311 # This must work even if \$libdir does not exist
   23312 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23313 
   23314 # Whether we need a single "-rpath" flag with a separated argument.
   23315 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23316 
   23317 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23318 # DIR into the resulting binary.
   23319 hardcode_direct=$hardcode_direct
   23320 
   23321 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23322 # DIR into the resulting binary and the resulting library dependency is
   23323 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   23324 # library is relocated.
   23325 hardcode_direct_absolute=$hardcode_direct_absolute
   23326 
   23327 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23328 # into the resulting binary.
   23329 hardcode_minus_L=$hardcode_minus_L
   23330 
   23331 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23332 # into the resulting binary.
   23333 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23334 
   23335 # Set to "yes" if building a shared library automatically hardcodes DIR
   23336 # into the library and all subsequent libraries and executables linked
   23337 # against it.
   23338 hardcode_automatic=$hardcode_automatic
   23339 
   23340 # Set to yes if linker adds runtime paths of dependent libraries
   23341 # to runtime path list.
   23342 inherit_rpath=$inherit_rpath
   23343 
   23344 # Whether libtool must link a program against all its dependency libraries.
   23345 link_all_deplibs=$link_all_deplibs
   23346 
   23347 # Set to "yes" if exported symbols are required.
   23348 always_export_symbols=$always_export_symbols
   23349 
   23350 # The commands to list exported symbols.
   23351 export_symbols_cmds=$lt_export_symbols_cmds
   23352 
   23353 # Symbols that should not be listed in the preloaded symbols.
   23354 exclude_expsyms=$lt_exclude_expsyms
   23355 
   23356 # Symbols that must always be exported.
   23357 include_expsyms=$lt_include_expsyms
   23358 
   23359 # Commands necessary for linking programs (against libraries) with templates.
   23360 prelink_cmds=$lt_prelink_cmds
   23361 
   23362 # Commands necessary for finishing linking programs.
   23363 postlink_cmds=$lt_postlink_cmds
   23364 
   23365 # Specify filename containing input files.
   23366 file_list_spec=$lt_file_list_spec
   23367 
   23368 # How to hardcode a shared library path into an executable.
   23369 hardcode_action=$hardcode_action
   23370 
   23371 # ### END LIBTOOL CONFIG
   23372 
   23373 _LT_EOF
   23374 
   23375     cat <<'_LT_EOF' >> "$cfgfile"
   23376 
   23377 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23378 
   23379 # func_munge_path_list VARIABLE PATH
   23380 # -----------------------------------
   23381 # VARIABLE is name of variable containing _space_ separated list of
   23382 # directories to be munged by the contents of PATH, which is string
   23383 # having a format:
   23384 # "DIR[:DIR]:"
   23385 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23386 # ":DIR[:DIR]"
   23387 #       string "DIR[ DIR]" will be appended to VARIABLE
   23388 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23389 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23390 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23391 # "DIR[:DIR]"
   23392 #       VARIABLE will be replaced by "DIR[ DIR]"
   23393 func_munge_path_list ()
   23394 {
   23395     case x$2 in
   23396     x)
   23397         ;;
   23398     *:)
   23399         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23400         ;;
   23401     x:*)
   23402         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23403         ;;
   23404     *::*)
   23405         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23406         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23407         ;;
   23408     *)
   23409         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23410         ;;
   23411     esac
   23412 }
   23413 
   23414 
   23415 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23416 func_cc_basename ()
   23417 {
   23418     for cc_temp in $*""; do
   23419       case $cc_temp in
   23420         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23421         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23422         \-*) ;;
   23423         *) break;;
   23424       esac
   23425     done
   23426     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23427 }
   23428 
   23429 
   23430 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23431 
   23432 _LT_EOF
   23433 
   23434   case $host_os in
   23435   aix3*)
   23436     cat <<\_LT_EOF >> "$cfgfile"
   23437 # AIX sometimes has problems with the GCC collect2 program.  For some
   23438 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23439 # vanish in a puff of smoke.
   23440 if test set != "${COLLECT_NAMES+set}"; then
   23441   COLLECT_NAMES=
   23442   export COLLECT_NAMES
   23443 fi
   23444 _LT_EOF
   23445     ;;
   23446   esac
   23447 
   23448 
   23449 
   23450 ltmain=$ac_aux_dir/ltmain.sh
   23451 
   23452 
   23453   # We use sed instead of cat because bash on DJGPP gets confused if
   23454   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23455   # text mode, it properly converts lines to CR/LF.  This bash problem
   23456   # is reportedly fixed, but why not run on old versions too?
   23457   sed '$q' "$ltmain" >> "$cfgfile" \
   23458      || (rm -f "$cfgfile"; exit 1)
   23459 
   23460    mv -f "$cfgfile" "$ofile" ||
   23461     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23462   chmod +x "$ofile"
   23463 
   23464  ;;
   23465 
   23466   esac
   23467 done # for ac_tag
   23468 
   23469 
   23470 as_fn_exit 0
   23471 _ACEOF
   23472 ac_clean_files=$ac_clean_files_save
   23473 
   23474 test $ac_write_fail = 0 ||
   23475   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23476 
   23477 
   23478 # configure is writing to config.log, and then calls config.status.
   23479 # config.status does its own redirection, appending to config.log.
   23480 # Unfortunately, on DOS this fails, as config.log is still kept open
   23481 # by configure, so config.status won't be able to write to it; its
   23482 # output is simply discarded.  So we exec the FD to /dev/null,
   23483 # effectively closing config.log, so it can be properly (re)opened and
   23484 # appended to by config.status.  When coming back to configure, we
   23485 # need to make the FD available again.
   23486 if test "$no_create" != yes; then
   23487   ac_cs_success=:
   23488   ac_config_status_args=
   23489   test "$silent" = yes &&
   23490     ac_config_status_args="$ac_config_status_args --quiet"
   23491   exec 5>/dev/null
   23492   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23493   exec 5>>config.log
   23494   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23495   # would make configure fail if this is the last instruction.
   23496   $ac_cs_success || as_fn_exit 1
   23497 fi
   23498 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23499   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23500 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23501 fi
   23502 
   23503 
   23504