Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xdm 1.1.17.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xdm/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    195 test \$(( 1 + 1 )) = 2 || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://gitlab.freedesktop.org/xorg/app/xdm/-/issues
    283 $0: about your system, including any error possibly output
    284 $0: before this message. Then install a modern shell, or
    285 $0: manually run the script under such a shell if you do
    286 $0: have one."
    287   fi
    288   exit 1
    289 fi ;;
    290 esac
    291 fi
    292 fi
    293 SHELL=${CONFIG_SHELL-/bin/sh}
    294 export SHELL
    295 # Unset more variables known to interfere with behavior of common tools.
    296 CLICOLOR_FORCE= GREP_OPTIONS=
    297 unset CLICOLOR_FORCE GREP_OPTIONS
    298 
    299 ## --------------------- ##
    300 ## M4sh Shell Functions. ##
    301 ## --------------------- ##
    302 # as_fn_unset VAR
    303 # ---------------
    304 # Portably unset VAR.
    305 as_fn_unset ()
    306 {
    307   { eval $1=; unset $1;}
    308 }
    309 as_unset=as_fn_unset
    310 
    311 
    312 # as_fn_set_status STATUS
    313 # -----------------------
    314 # Set $? to STATUS, without forking.
    315 as_fn_set_status ()
    316 {
    317   return $1
    318 } # as_fn_set_status
    319 
    320 # as_fn_exit STATUS
    321 # -----------------
    322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    323 as_fn_exit ()
    324 {
    325   set +e
    326   as_fn_set_status $1
    327   exit $1
    328 } # as_fn_exit
    329 
    330 # as_fn_mkdir_p
    331 # -------------
    332 # Create "$as_dir" as a directory, including parents if necessary.
    333 as_fn_mkdir_p ()
    334 {
    335 
    336   case $as_dir in #(
    337   -*) as_dir=./$as_dir;;
    338   esac
    339   test -d "$as_dir" || eval $as_mkdir_p || {
    340     as_dirs=
    341     while :; do
    342       case $as_dir in #(
    343       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344       *) as_qdir=$as_dir;;
    345       esac
    346       as_dirs="'$as_qdir' $as_dirs"
    347       as_dir=`$as_dirname -- "$as_dir" ||
    348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350 	 X"$as_dir" : 'X\(//\)$' \| \
    351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352 printf "%s\n" X"$as_dir" |
    353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)[^/].*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)$/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\).*/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  s/.*/./; q'`
    370       test -d "$as_dir" && break
    371     done
    372     test -z "$as_dirs" || eval "mkdir $as_dirs"
    373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374 
    375 
    376 } # as_fn_mkdir_p
    377 
    378 # as_fn_executable_p FILE
    379 # -----------------------
    380 # Test if FILE is an executable regular file.
    381 as_fn_executable_p ()
    382 {
    383   test -f "$1" && test -x "$1"
    384 } # as_fn_executable_p
    385 # as_fn_append VAR VALUE
    386 # ----------------------
    387 # Append the text in VALUE to the end of the definition contained in VAR. Take
    388 # advantage of any shell optimizations that allow amortized linear growth over
    389 # repeated appends, instead of the typical quadratic growth present in naive
    390 # implementations.
    391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392 then :
    393   eval 'as_fn_append ()
    394   {
    395     eval $1+=\$2
    396   }'
    397 else case e in #(
    398   e) as_fn_append ()
    399   {
    400     eval $1=\$$1\$2
    401   } ;;
    402 esac
    403 fi # as_fn_append
    404 
    405 # as_fn_arith ARG...
    406 # ------------------
    407 # Perform arithmetic evaluation on the ARGs, and store the result in the
    408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    409 # must be portable across $(()) and expr.
    410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    411 then :
    412   eval 'as_fn_arith ()
    413   {
    414     as_val=$(( $* ))
    415   }'
    416 else case e in #(
    417   e) as_fn_arith ()
    418   {
    419     as_val=`expr "$@" || test $? -eq 1`
    420   } ;;
    421 esac
    422 fi # as_fn_arith
    423 
    424 
    425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    426 # ----------------------------------------
    427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    429 # script with STATUS, using 1 if that was 0.
    430 as_fn_error ()
    431 {
    432   as_status=$1; test $as_status -eq 0 && as_status=1
    433   if test "$4"; then
    434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    436   fi
    437   printf "%s\n" "$as_me: error: $2" >&2
    438   as_fn_exit $as_status
    439 } # as_fn_error
    440 
    441 if expr a : '\(a\)' >/dev/null 2>&1 &&
    442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    443   as_expr=expr
    444 else
    445   as_expr=false
    446 fi
    447 
    448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    449   as_basename=basename
    450 else
    451   as_basename=false
    452 fi
    453 
    454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    455   as_dirname=dirname
    456 else
    457   as_dirname=false
    458 fi
    459 
    460 as_me=`$as_basename -- "$0" ||
    461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    462 	 X"$0" : 'X\(//\)$' \| \
    463 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    464 printf "%s\n" X/"$0" |
    465     sed '/^.*\/\([^/][^/]*\)\/*$/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  /^X\/\(\/\/\)$/{
    470 	    s//\1/
    471 	    q
    472 	  }
    473 	  /^X\/\(\/\).*/{
    474 	    s//\1/
    475 	    q
    476 	  }
    477 	  s/.*/./; q'`
    478 
    479 # Avoid depending upon Character Ranges.
    480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    483 as_cr_digits='0123456789'
    484 as_cr_alnum=$as_cr_Letters$as_cr_digits
    485 
    486 
    487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    492   sed -n '
    493     p
    494     /[$]LINENO/=
    495   ' <$as_myself |
    496     sed '
    497       t clear
    498       :clear
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 rm -f conf$$ conf$$.exe conf$$.file
    548 if test -d conf$$.dir; then
    549   rm -f conf$$.dir/conf$$.file
    550 else
    551   rm -f conf$$.dir
    552   mkdir conf$$.dir 2>/dev/null
    553 fi
    554 if (echo >conf$$.file) 2>/dev/null; then
    555   if ln -s conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s='ln -s'
    557     # ... but there are two gotchas:
    558     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    559     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    560     # In both cases, we have to default to 'cp -pR'.
    561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    562       as_ln_s='cp -pR'
    563   elif ln conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s=ln
    565   else
    566     as_ln_s='cp -pR'
    567   fi
    568 else
    569   as_ln_s='cp -pR'
    570 fi
    571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    572 rmdir conf$$.dir 2>/dev/null
    573 
    574 if mkdir -p . 2>/dev/null; then
    575   as_mkdir_p='mkdir -p "$as_dir"'
    576 else
    577   test -d ./-p && rmdir ./-p
    578   as_mkdir_p=false
    579 fi
    580 
    581 as_test_x='test -x'
    582 as_executable_p=as_fn_executable_p
    583 
    584 # Sed expression to map a string onto a valid CPP name.
    585 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    586 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    590 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    591 
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593 
    594 
    595 test -n "$DJDIR" || exec 7<&0 </dev/null
    596 exec 6>&1
    597 
    598 # Name of the host.
    599 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    600 # so uname gets run too.
    601 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    602 
    603 #
    604 # Initializations.
    605 #
    606 ac_default_prefix=/usr/local
    607 ac_clean_files=
    608 ac_config_libobj_dir=.
    609 LIBOBJS=
    610 cross_compiling=no
    611 subdirs=
    612 MFLAGS=
    613 MAKEFLAGS=
    614 
    615 # Identity of this package.
    616 PACKAGE_NAME='xdm'
    617 PACKAGE_TARNAME='xdm'
    618 PACKAGE_VERSION='1.1.17'
    619 PACKAGE_STRING='xdm 1.1.17'
    620 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xdm/-/issues'
    621 PACKAGE_URL=''
    622 
    623 # Factoring default headers for most tests.
    624 ac_includes_default="\
    625 #include <stddef.h>
    626 #ifdef HAVE_STDIO_H
    627 # include <stdio.h>
    628 #endif
    629 #ifdef HAVE_STDLIB_H
    630 # include <stdlib.h>
    631 #endif
    632 #ifdef HAVE_STRING_H
    633 # include <string.h>
    634 #endif
    635 #ifdef HAVE_INTTYPES_H
    636 # include <inttypes.h>
    637 #endif
    638 #ifdef HAVE_STDINT_H
    639 # include <stdint.h>
    640 #endif
    641 #ifdef HAVE_STRINGS_H
    642 # include <strings.h>
    643 #endif
    644 #ifdef HAVE_SYS_TYPES_H
    645 # include <sys/types.h>
    646 #endif
    647 #ifdef HAVE_SYS_STAT_H
    648 # include <sys/stat.h>
    649 #endif
    650 #ifdef HAVE_UNISTD_H
    651 # include <unistd.h>
    652 #endif"
    653 
    654 ac_header_c_list=
    655 ac_unique_file="Makefile.am"
    656 ac_func_c_list=
    657 ac_subst_vars='am__EXEEXT_FALSE
    658 am__EXEEXT_TRUE
    659 LTLIBOBJS
    660 LIBOBJS
    661 appdefaultdir
    662 APPDEFS_LIBS
    663 APPDEFS_CFLAGS
    664 DEF_AUTH_DIR
    665 XDMXAUTHDIR
    666 DEF_CHOOSER
    667 DEF_XDM_CONFIG
    668 DEF_FAILSAFE_CLIENT
    669 DEF_SYSTEM_SHELL
    670 DEF_SYSTEM_PATH
    671 DEF_USER_PATH
    672 DEF_SESSION
    673 XRDB_PROGRAM
    674 DEF_SERVER_LINE
    675 CHOOSER_LIBS
    676 CHOOSER_CFLAGS
    677 XDMSHELL_LIBS
    678 XDMSHELL_CFLAGS
    679 XT_LIBS
    680 XT_CFLAGS
    681 INSTALL_XDMSHELL_FALSE
    682 INSTALL_XDMSHELL_TRUE
    683 HAS_XDM_AUTH_FALSE
    684 HAS_XDM_AUTH_TRUE
    685 DEF_GREETER_LIB
    686 XDMGREET_LIBS
    687 XDMGREET_CFLAGS
    688 AUTH_LIBS
    689 AUTH_CFLAGS
    690 XLIB_LIBS
    691 XLIB_CFLAGS
    692 DMCP_LIBS
    693 DMCP_CFLAGS
    694 XDM_TOOLKIT_LIBS
    695 XDM_TOOLKIT_CFLAGS
    696 XDM_PIXMAPDIR
    697 XDM_BWPIXMAP
    698 XDM_PIXMAP
    699 USE_XPM_FALSE
    700 USE_XPM_TRUE
    701 XPM_LIBS
    702 XPM_CFLAGS
    703 XFT_LIBS
    704 XFT_CFLAGS
    705 XINERAMA_LIBS
    706 XINERAMA_CFLAGS
    707 SHELL_CMD
    708 WTMP_FILE
    709 SET_WTMP_FILE_FALSE
    710 SET_WTMP_FILE_TRUE
    711 UTMP_FILE
    712 SET_UTMP_FILE_FALSE
    713 SET_UTMP_FILE_TRUE
    714 SERVERSTYPE
    715 DEFAULTVT
    716 XDMPIDDIR
    717 XDMLOGDIR
    718 XDMSCRIPTDIR
    719 XDMCONFIGDIR
    720 XDMLIBDIR
    721 HAS_KERBEROS_FIVE_FALSE
    722 HAS_KERBEROS_FIVE_TRUE
    723 DEV_RANDOM
    724 SU
    725 USE_SYSTEMD_DAEMON_FALSE
    726 USE_SYSTEMD_DAEMON_TRUE
    727 SYSTEMD_DAEMON_LIBS
    728 SYSTEMD_DAEMON_CFLAGS
    729 HAVE_SYSTEMD_FALSE
    730 HAVE_SYSTEMD_TRUE
    731 systemdsystemunitdir
    732 HAS_SECURE_RPC_FALSE
    733 HAS_SECURE_RPC_TRUE
    734 HAVE_ARC4RANDOM_FALSE
    735 HAVE_ARC4RANDOM_TRUE
    736 HAVE_ARC4RANDOM
    737 LIBBSD_LIBS
    738 LIBBSD_CFLAGS
    739 XDM_LIBS
    740 XDM_CFLAGS
    741 HAVE_MKTEMP_COMMAND_FALSE
    742 HAVE_MKTEMP_COMMAND_TRUE
    743 MKTEMP_COMMAND
    744 LINT_FALSE
    745 LINT_TRUE
    746 LINT_FLAGS
    747 LINT
    748 TRADITIONALCPPFLAGS
    749 RAWCPPFLAGS
    750 RAWCPP
    751 CPP
    752 MAN_SUBSTS
    753 XORG_MAN_PAGE
    754 ADMIN_MAN_DIR
    755 DRIVER_MAN_DIR
    756 MISC_MAN_DIR
    757 FILE_MAN_DIR
    758 LIB_MAN_DIR
    759 APP_MAN_DIR
    760 ADMIN_MAN_SUFFIX
    761 DRIVER_MAN_SUFFIX
    762 MISC_MAN_SUFFIX
    763 FILE_MAN_SUFFIX
    764 LIB_MAN_SUFFIX
    765 APP_MAN_SUFFIX
    766 INSTALL_CMD
    767 PKG_CONFIG_LIBDIR
    768 PKG_CONFIG_PATH
    769 PKG_CONFIG
    770 CHANGELOG_CMD
    771 STRICT_CFLAGS
    772 CWARNFLAGS
    773 BASE_CFLAGS
    774 LT_SYS_LIBRARY_PATH
    775 OTOOL64
    776 OTOOL
    777 LIPO
    778 NMEDIT
    779 DSYMUTIL
    780 MANIFEST_TOOL
    781 RANLIB
    782 ac_ct_AR
    783 AR
    784 DLLTOOL
    785 OBJDUMP
    786 FILECMD
    787 LN_S
    788 NM
    789 ac_ct_DUMPBIN
    790 DUMPBIN
    791 LD
    792 FGREP
    793 EGREP
    794 GREP
    795 SED
    796 host_os
    797 host_vendor
    798 host_cpu
    799 host
    800 build_os
    801 build_vendor
    802 build_cpu
    803 build
    804 LIBTOOL
    805 am__xargs_n
    806 am__rm_f_notfound
    807 AM_BACKSLASH
    808 AM_DEFAULT_VERBOSITY
    809 AM_DEFAULT_V
    810 AM_V
    811 CSCOPE
    812 ETAGS
    813 CTAGS
    814 am__fastdepCC_FALSE
    815 am__fastdepCC_TRUE
    816 CCDEPMODE
    817 am__nodep
    818 AMDEPBACKSLASH
    819 AMDEP_FALSE
    820 AMDEP_TRUE
    821 am__include
    822 DEPDIR
    823 am__untar
    824 am__tar
    825 AMTAR
    826 am__leading_dot
    827 SET_MAKE
    828 AWK
    829 mkdir_p
    830 MKDIR_P
    831 INSTALL_STRIP_PROGRAM
    832 STRIP
    833 install_sh
    834 MAKEINFO
    835 AUTOHEADER
    836 AUTOMAKE
    837 AUTOCONF
    838 ACLOCAL
    839 VERSION
    840 PACKAGE
    841 CYGPATH_W
    842 am__isrc
    843 INSTALL_DATA
    844 INSTALL_SCRIPT
    845 INSTALL_PROGRAM
    846 OBJEXT
    847 EXEEXT
    848 ac_ct_CC
    849 CPPFLAGS
    850 LDFLAGS
    851 CFLAGS
    852 CC
    853 target_alias
    854 host_alias
    855 build_alias
    856 LIBS
    857 ECHO_T
    858 ECHO_N
    859 ECHO_C
    860 DEFS
    861 mandir
    862 localedir
    863 libdir
    864 psdir
    865 pdfdir
    866 dvidir
    867 htmldir
    868 infodir
    869 docdir
    870 oldincludedir
    871 includedir
    872 runstatedir
    873 localstatedir
    874 sharedstatedir
    875 sysconfdir
    876 datadir
    877 datarootdir
    878 libexecdir
    879 sbindir
    880 bindir
    881 program_transform_name
    882 prefix
    883 exec_prefix
    884 PACKAGE_URL
    885 PACKAGE_BUGREPORT
    886 PACKAGE_STRING
    887 PACKAGE_VERSION
    888 PACKAGE_TARNAME
    889 PACKAGE_NAME
    890 PATH_SEPARATOR
    891 SHELL
    892 am__quote'
    893 ac_subst_files=''
    894 ac_user_opts='
    895 enable_option_checking
    896 enable_dependency_tracking
    897 enable_silent_rules
    898 enable_static
    899 enable_shared
    900 enable_pic
    901 with_pic
    902 enable_fast_install
    903 enable_aix_soname
    904 with_aix_soname
    905 with_gnu_ld
    906 with_sysroot
    907 enable_libtool_lock
    908 enable_selective_werror
    909 enable_strict_compilation
    910 with_lint
    911 enable_unix_transport
    912 enable_tcp_transport
    913 enable_ipv6
    914 enable_local_transport
    915 enable_secure_rpc
    916 with_pam
    917 with_selinux
    918 with_systemdsystemunitdir
    919 with_systemd_daemon
    920 with_random_device
    921 with_xdmlibdir
    922 with_xdmconfigdir
    923 with_xdmscriptdir
    924 with_logdir
    925 with_piddir
    926 with_default_vt
    927 with_config_type
    928 with_utmp_file
    929 with_wtmp_file
    930 with_xinerama
    931 with_xft
    932 enable_xpm_logos
    933 with_color_pixmap
    934 with_bw_pixmap
    935 with_pixmapdir
    936 enable_xdm_auth
    937 enable_xdmshell
    938 with_xrdb
    939 with_default_session
    940 with_authdir
    941 with_appdefaultdir
    942 '
    943       ac_precious_vars='build_alias
    944 host_alias
    945 target_alias
    946 CC
    947 CFLAGS
    948 LDFLAGS
    949 LIBS
    950 CPPFLAGS
    951 LT_SYS_LIBRARY_PATH
    952 PKG_CONFIG
    953 PKG_CONFIG_PATH
    954 PKG_CONFIG_LIBDIR
    955 CPP
    956 LINT
    957 LINT_FLAGS
    958 XDM_CFLAGS
    959 XDM_LIBS
    960 LIBBSD_CFLAGS
    961 LIBBSD_LIBS
    962 SYSTEMD_DAEMON_CFLAGS
    963 SYSTEMD_DAEMON_LIBS
    964 XINERAMA_CFLAGS
    965 XINERAMA_LIBS
    966 XFT_CFLAGS
    967 XFT_LIBS
    968 XPM_CFLAGS
    969 XPM_LIBS
    970 XDM_TOOLKIT_CFLAGS
    971 XDM_TOOLKIT_LIBS
    972 DMCP_CFLAGS
    973 DMCP_LIBS
    974 XLIB_CFLAGS
    975 XLIB_LIBS
    976 AUTH_CFLAGS
    977 AUTH_LIBS
    978 XDMGREET_CFLAGS
    979 XDMGREET_LIBS
    980 XT_CFLAGS
    981 XT_LIBS
    982 APPDEFS_CFLAGS
    983 APPDEFS_LIBS'
    984 
    985 
    986 # Initialize some variables set by options.
    987 ac_init_help=
    988 ac_init_version=false
    989 ac_unrecognized_opts=
    990 ac_unrecognized_sep=
    991 # The variables have the same names as the options, with
    992 # dashes changed to underlines.
    993 cache_file=/dev/null
    994 exec_prefix=NONE
    995 no_create=
    996 no_recursion=
    997 prefix=NONE
    998 program_prefix=NONE
    999 program_suffix=NONE
   1000 program_transform_name=s,x,x,
   1001 silent=
   1002 site=
   1003 srcdir=
   1004 verbose=
   1005 x_includes=NONE
   1006 x_libraries=NONE
   1007 
   1008 # Installation directory options.
   1009 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1010 # and all the variables that are supposed to be based on exec_prefix
   1011 # by default will actually change.
   1012 # Use braces instead of parens because sh, perl, etc. also accept them.
   1013 # (The list follows the same order as the GNU Coding Standards.)
   1014 bindir='${exec_prefix}/bin'
   1015 sbindir='${exec_prefix}/sbin'
   1016 libexecdir='${exec_prefix}/libexec'
   1017 datarootdir='${prefix}/share'
   1018 datadir='${datarootdir}'
   1019 sysconfdir='${prefix}/etc'
   1020 sharedstatedir='${prefix}/com'
   1021 localstatedir='${prefix}/var'
   1022 runstatedir='${localstatedir}/run'
   1023 includedir='${prefix}/include'
   1024 oldincludedir='/usr/include'
   1025 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1026 infodir='${datarootdir}/info'
   1027 htmldir='${docdir}'
   1028 dvidir='${docdir}'
   1029 pdfdir='${docdir}'
   1030 psdir='${docdir}'
   1031 libdir='${exec_prefix}/lib'
   1032 localedir='${datarootdir}/locale'
   1033 mandir='${datarootdir}/man'
   1034 
   1035 ac_prev=
   1036 ac_dashdash=
   1037 for ac_option
   1038 do
   1039   # If the previous option needs an argument, assign it.
   1040   if test -n "$ac_prev"; then
   1041     eval $ac_prev=\$ac_option
   1042     ac_prev=
   1043     continue
   1044   fi
   1045 
   1046   case $ac_option in
   1047   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1048   *=)   ac_optarg= ;;
   1049   *)    ac_optarg=yes ;;
   1050   esac
   1051 
   1052   case $ac_dashdash$ac_option in
   1053   --)
   1054     ac_dashdash=yes ;;
   1055 
   1056   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1057     ac_prev=bindir ;;
   1058   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1059     bindir=$ac_optarg ;;
   1060 
   1061   -build | --build | --buil | --bui | --bu)
   1062     ac_prev=build_alias ;;
   1063   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1064     build_alias=$ac_optarg ;;
   1065 
   1066   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1067   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1068     ac_prev=cache_file ;;
   1069   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1070   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1071     cache_file=$ac_optarg ;;
   1072 
   1073   --config-cache | -C)
   1074     cache_file=config.cache ;;
   1075 
   1076   -datadir | --datadir | --datadi | --datad)
   1077     ac_prev=datadir ;;
   1078   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1079     datadir=$ac_optarg ;;
   1080 
   1081   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1082   | --dataroo | --dataro | --datar)
   1083     ac_prev=datarootdir ;;
   1084   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1085   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1086     datarootdir=$ac_optarg ;;
   1087 
   1088   -disable-* | --disable-*)
   1089     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1090     # Reject names that are not valid shell variable names.
   1091     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1092       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1093     ac_useropt_orig=$ac_useropt
   1094     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1095     case $ac_user_opts in
   1096       *"
   1097 "enable_$ac_useropt"
   1098 "*) ;;
   1099       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1100 	 ac_unrecognized_sep=', ';;
   1101     esac
   1102     eval enable_$ac_useropt=no ;;
   1103 
   1104   -docdir | --docdir | --docdi | --doc | --do)
   1105     ac_prev=docdir ;;
   1106   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1107     docdir=$ac_optarg ;;
   1108 
   1109   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1110     ac_prev=dvidir ;;
   1111   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1112     dvidir=$ac_optarg ;;
   1113 
   1114   -enable-* | --enable-*)
   1115     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1116     # Reject names that are not valid shell variable names.
   1117     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1118       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1119     ac_useropt_orig=$ac_useropt
   1120     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1121     case $ac_user_opts in
   1122       *"
   1123 "enable_$ac_useropt"
   1124 "*) ;;
   1125       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1126 	 ac_unrecognized_sep=', ';;
   1127     esac
   1128     eval enable_$ac_useropt=\$ac_optarg ;;
   1129 
   1130   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1131   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1132   | --exec | --exe | --ex)
   1133     ac_prev=exec_prefix ;;
   1134   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1135   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1136   | --exec=* | --exe=* | --ex=*)
   1137     exec_prefix=$ac_optarg ;;
   1138 
   1139   -gas | --gas | --ga | --g)
   1140     # Obsolete; use --with-gas.
   1141     with_gas=yes ;;
   1142 
   1143   -help | --help | --hel | --he | -h)
   1144     ac_init_help=long ;;
   1145   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1146     ac_init_help=recursive ;;
   1147   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1148     ac_init_help=short ;;
   1149 
   1150   -host | --host | --hos | --ho)
   1151     ac_prev=host_alias ;;
   1152   -host=* | --host=* | --hos=* | --ho=*)
   1153     host_alias=$ac_optarg ;;
   1154 
   1155   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1156     ac_prev=htmldir ;;
   1157   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1158   | --ht=*)
   1159     htmldir=$ac_optarg ;;
   1160 
   1161   -includedir | --includedir | --includedi | --included | --include \
   1162   | --includ | --inclu | --incl | --inc)
   1163     ac_prev=includedir ;;
   1164   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1165   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1166     includedir=$ac_optarg ;;
   1167 
   1168   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1169     ac_prev=infodir ;;
   1170   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1171     infodir=$ac_optarg ;;
   1172 
   1173   -libdir | --libdir | --libdi | --libd)
   1174     ac_prev=libdir ;;
   1175   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1176     libdir=$ac_optarg ;;
   1177 
   1178   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1179   | --libexe | --libex | --libe)
   1180     ac_prev=libexecdir ;;
   1181   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1182   | --libexe=* | --libex=* | --libe=*)
   1183     libexecdir=$ac_optarg ;;
   1184 
   1185   -localedir | --localedir | --localedi | --localed | --locale)
   1186     ac_prev=localedir ;;
   1187   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1188     localedir=$ac_optarg ;;
   1189 
   1190   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1191   | --localstate | --localstat | --localsta | --localst | --locals)
   1192     ac_prev=localstatedir ;;
   1193   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1194   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1195     localstatedir=$ac_optarg ;;
   1196 
   1197   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1198     ac_prev=mandir ;;
   1199   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1200     mandir=$ac_optarg ;;
   1201 
   1202   -nfp | --nfp | --nf)
   1203     # Obsolete; use --without-fp.
   1204     with_fp=no ;;
   1205 
   1206   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1207   | --no-cr | --no-c | -n)
   1208     no_create=yes ;;
   1209 
   1210   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1211   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1212     no_recursion=yes ;;
   1213 
   1214   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1215   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1216   | --oldin | --oldi | --old | --ol | --o)
   1217     ac_prev=oldincludedir ;;
   1218   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1219   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1220   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1221     oldincludedir=$ac_optarg ;;
   1222 
   1223   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1224     ac_prev=prefix ;;
   1225   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1226     prefix=$ac_optarg ;;
   1227 
   1228   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1229   | --program-pre | --program-pr | --program-p)
   1230     ac_prev=program_prefix ;;
   1231   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1232   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1233     program_prefix=$ac_optarg ;;
   1234 
   1235   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1236   | --program-suf | --program-su | --program-s)
   1237     ac_prev=program_suffix ;;
   1238   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1239   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1240     program_suffix=$ac_optarg ;;
   1241 
   1242   -program-transform-name | --program-transform-name \
   1243   | --program-transform-nam | --program-transform-na \
   1244   | --program-transform-n | --program-transform- \
   1245   | --program-transform | --program-transfor \
   1246   | --program-transfo | --program-transf \
   1247   | --program-trans | --program-tran \
   1248   | --progr-tra | --program-tr | --program-t)
   1249     ac_prev=program_transform_name ;;
   1250   -program-transform-name=* | --program-transform-name=* \
   1251   | --program-transform-nam=* | --program-transform-na=* \
   1252   | --program-transform-n=* | --program-transform-=* \
   1253   | --program-transform=* | --program-transfor=* \
   1254   | --program-transfo=* | --program-transf=* \
   1255   | --program-trans=* | --program-tran=* \
   1256   | --progr-tra=* | --program-tr=* | --program-t=*)
   1257     program_transform_name=$ac_optarg ;;
   1258 
   1259   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1260     ac_prev=pdfdir ;;
   1261   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1262     pdfdir=$ac_optarg ;;
   1263 
   1264   -psdir | --psdir | --psdi | --psd | --ps)
   1265     ac_prev=psdir ;;
   1266   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1267     psdir=$ac_optarg ;;
   1268 
   1269   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1270   | -silent | --silent | --silen | --sile | --sil)
   1271     silent=yes ;;
   1272 
   1273   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1274   | --runstate | --runstat | --runsta | --runst | --runs \
   1275   | --run | --ru | --r)
   1276     ac_prev=runstatedir ;;
   1277   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1278   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1279   | --run=* | --ru=* | --r=*)
   1280     runstatedir=$ac_optarg ;;
   1281 
   1282   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1283     ac_prev=sbindir ;;
   1284   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1285   | --sbi=* | --sb=*)
   1286     sbindir=$ac_optarg ;;
   1287 
   1288   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1289   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1290   | --sharedst | --shareds | --shared | --share | --shar \
   1291   | --sha | --sh)
   1292     ac_prev=sharedstatedir ;;
   1293   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1294   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1295   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1296   | --sha=* | --sh=*)
   1297     sharedstatedir=$ac_optarg ;;
   1298 
   1299   -site | --site | --sit)
   1300     ac_prev=site ;;
   1301   -site=* | --site=* | --sit=*)
   1302     site=$ac_optarg ;;
   1303 
   1304   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1305     ac_prev=srcdir ;;
   1306   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1307     srcdir=$ac_optarg ;;
   1308 
   1309   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1310   | --syscon | --sysco | --sysc | --sys | --sy)
   1311     ac_prev=sysconfdir ;;
   1312   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1313   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1314     sysconfdir=$ac_optarg ;;
   1315 
   1316   -target | --target | --targe | --targ | --tar | --ta | --t)
   1317     ac_prev=target_alias ;;
   1318   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1319     target_alias=$ac_optarg ;;
   1320 
   1321   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1322     verbose=yes ;;
   1323 
   1324   -version | --version | --versio | --versi | --vers | -V)
   1325     ac_init_version=: ;;
   1326 
   1327   -with-* | --with-*)
   1328     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1329     # Reject names that are not valid shell variable names.
   1330     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1331       as_fn_error $? "invalid package name: '$ac_useropt'"
   1332     ac_useropt_orig=$ac_useropt
   1333     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1334     case $ac_user_opts in
   1335       *"
   1336 "with_$ac_useropt"
   1337 "*) ;;
   1338       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1339 	 ac_unrecognized_sep=', ';;
   1340     esac
   1341     eval with_$ac_useropt=\$ac_optarg ;;
   1342 
   1343   -without-* | --without-*)
   1344     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1345     # Reject names that are not valid shell variable names.
   1346     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1347       as_fn_error $? "invalid package name: '$ac_useropt'"
   1348     ac_useropt_orig=$ac_useropt
   1349     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1350     case $ac_user_opts in
   1351       *"
   1352 "with_$ac_useropt"
   1353 "*) ;;
   1354       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1355 	 ac_unrecognized_sep=', ';;
   1356     esac
   1357     eval with_$ac_useropt=no ;;
   1358 
   1359   --x)
   1360     # Obsolete; use --with-x.
   1361     with_x=yes ;;
   1362 
   1363   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1364   | --x-incl | --x-inc | --x-in | --x-i)
   1365     ac_prev=x_includes ;;
   1366   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1367   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1368     x_includes=$ac_optarg ;;
   1369 
   1370   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1371   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1372     ac_prev=x_libraries ;;
   1373   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1374   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1375     x_libraries=$ac_optarg ;;
   1376 
   1377   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1378 Try '$0 --help' for more information"
   1379     ;;
   1380 
   1381   *=*)
   1382     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1383     # Reject names that are not valid shell variable names.
   1384     case $ac_envvar in #(
   1385       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1386       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1387     esac
   1388     eval $ac_envvar=\$ac_optarg
   1389     export $ac_envvar ;;
   1390 
   1391   *)
   1392     # FIXME: should be removed in autoconf 3.0.
   1393     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1394     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1395       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1396     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1397     ;;
   1398 
   1399   esac
   1400 done
   1401 
   1402 if test -n "$ac_prev"; then
   1403   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1404   as_fn_error $? "missing argument to $ac_option"
   1405 fi
   1406 
   1407 if test -n "$ac_unrecognized_opts"; then
   1408   case $enable_option_checking in
   1409     no) ;;
   1410     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1411     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1412   esac
   1413 fi
   1414 
   1415 # Check all directory arguments for consistency.
   1416 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1417 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1418 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1419 		libdir localedir mandir runstatedir
   1420 do
   1421   eval ac_val=\$$ac_var
   1422   # Remove trailing slashes.
   1423   case $ac_val in
   1424     */ )
   1425       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1426       eval $ac_var=\$ac_val;;
   1427   esac
   1428   # Be sure to have absolute directory names.
   1429   case $ac_val in
   1430     [\\/$]* | ?:[\\/]* )  continue;;
   1431     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1432   esac
   1433   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1434 done
   1435 
   1436 # There might be people who depend on the old broken behavior: '$host'
   1437 # used to hold the argument of --host etc.
   1438 # FIXME: To remove some day.
   1439 build=$build_alias
   1440 host=$host_alias
   1441 target=$target_alias
   1442 
   1443 # FIXME: To remove some day.
   1444 if test "x$host_alias" != x; then
   1445   if test "x$build_alias" = x; then
   1446     cross_compiling=maybe
   1447   elif test "x$build_alias" != "x$host_alias"; then
   1448     cross_compiling=yes
   1449   fi
   1450 fi
   1451 
   1452 ac_tool_prefix=
   1453 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1454 
   1455 test "$silent" = yes && exec 6>/dev/null
   1456 
   1457 
   1458 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1459 ac_ls_di=`ls -di .` &&
   1460 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1461   as_fn_error $? "working directory cannot be determined"
   1462 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1463   as_fn_error $? "pwd does not report name of working directory"
   1464 
   1465 
   1466 # Find the source files, if location was not specified.
   1467 if test -z "$srcdir"; then
   1468   ac_srcdir_defaulted=yes
   1469   # Try the directory containing this script, then the parent directory.
   1470   ac_confdir=`$as_dirname -- "$as_myself" ||
   1471 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1472 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1473 	 X"$as_myself" : 'X\(//\)$' \| \
   1474 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1475 printf "%s\n" X"$as_myself" |
   1476     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1477 	    s//\1/
   1478 	    q
   1479 	  }
   1480 	  /^X\(\/\/\)[^/].*/{
   1481 	    s//\1/
   1482 	    q
   1483 	  }
   1484 	  /^X\(\/\/\)$/{
   1485 	    s//\1/
   1486 	    q
   1487 	  }
   1488 	  /^X\(\/\).*/{
   1489 	    s//\1/
   1490 	    q
   1491 	  }
   1492 	  s/.*/./; q'`
   1493   srcdir=$ac_confdir
   1494   if test ! -r "$srcdir/$ac_unique_file"; then
   1495     srcdir=..
   1496   fi
   1497 else
   1498   ac_srcdir_defaulted=no
   1499 fi
   1500 if test ! -r "$srcdir/$ac_unique_file"; then
   1501   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1502   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1503 fi
   1504 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1505 ac_abs_confdir=`(
   1506 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1507 	pwd)`
   1508 # When building in place, set srcdir=.
   1509 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1510   srcdir=.
   1511 fi
   1512 # Remove unnecessary trailing slashes from srcdir.
   1513 # Double slashes in file names in object file debugging info
   1514 # mess up M-x gdb in Emacs.
   1515 case $srcdir in
   1516 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1517 esac
   1518 for ac_var in $ac_precious_vars; do
   1519   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1520   eval ac_env_${ac_var}_value=\$${ac_var}
   1521   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1522   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1523 done
   1524 
   1525 #
   1526 # Report the --help message.
   1527 #
   1528 if test "$ac_init_help" = "long"; then
   1529   # Omit some internal or obsolete options to make the list less imposing.
   1530   # This message is too long to be a string in the A/UX 3.1 sh.
   1531   cat <<_ACEOF
   1532 'configure' configures xdm 1.1.17 to adapt to many kinds of systems.
   1533 
   1534 Usage: $0 [OPTION]... [VAR=VALUE]...
   1535 
   1536 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1537 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1538 
   1539 Defaults for the options are specified in brackets.
   1540 
   1541 Configuration:
   1542   -h, --help              display this help and exit
   1543       --help=short        display options specific to this package
   1544       --help=recursive    display the short help of all the included packages
   1545   -V, --version           display version information and exit
   1546   -q, --quiet, --silent   do not print 'checking ...' messages
   1547       --cache-file=FILE   cache test results in FILE [disabled]
   1548   -C, --config-cache      alias for '--cache-file=config.cache'
   1549   -n, --no-create         do not create output files
   1550       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1551 
   1552 Installation directories:
   1553   --prefix=PREFIX         install architecture-independent files in PREFIX
   1554                           [$ac_default_prefix]
   1555   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1556                           [PREFIX]
   1557 
   1558 By default, 'make install' will install all the files in
   1559 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1560 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1561 for instance '--prefix=\$HOME'.
   1562 
   1563 For better control, use the options below.
   1564 
   1565 Fine tuning of the installation directories:
   1566   --bindir=DIR            user executables [EPREFIX/bin]
   1567   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1568   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1569   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1570   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1571   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1572   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1573   --libdir=DIR            object code libraries [EPREFIX/lib]
   1574   --includedir=DIR        C header files [PREFIX/include]
   1575   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1576   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1577   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1578   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1579   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1580   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1581   --docdir=DIR            documentation root [DATAROOTDIR/doc/xdm]
   1582   --htmldir=DIR           html documentation [DOCDIR]
   1583   --dvidir=DIR            dvi documentation [DOCDIR]
   1584   --pdfdir=DIR            pdf documentation [DOCDIR]
   1585   --psdir=DIR             ps documentation [DOCDIR]
   1586 _ACEOF
   1587 
   1588   cat <<\_ACEOF
   1589 
   1590 Program names:
   1591   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1592   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1593   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1594 
   1595 System types:
   1596   --build=BUILD     configure for building on BUILD [guessed]
   1597   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1598 _ACEOF
   1599 fi
   1600 
   1601 if test -n "$ac_init_help"; then
   1602   case $ac_init_help in
   1603      short | recursive ) echo "Configuration of xdm 1.1.17:";;
   1604    esac
   1605   cat <<\_ACEOF
   1606 
   1607 Optional Features:
   1608   --disable-option-checking  ignore unrecognized --enable/--with options
   1609   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1610   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1611   --enable-dependency-tracking
   1612                           do not reject slow dependency extractors
   1613   --disable-dependency-tracking
   1614                           speeds up one-time build
   1615   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1616   --disable-silent-rules  verbose build output (undo: "make V=0")
   1617   --enable-static[=PKGS]  build static libraries [default=no]
   1618   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1619   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1620                           both]
   1621   --enable-fast-install[=PKGS]
   1622                           optimize for fast installation [default=yes]
   1623   --enable-aix-soname=aix|svr4|both
   1624                           shared library versioning (aka "SONAME") variant to
   1625                           provide on AIX, [default=aix].
   1626   --disable-libtool-lock  avoid locking (might break parallel builds)
   1627   --disable-selective-werror
   1628                           Turn off selective compiler errors. (default:
   1629                           enabled)
   1630   --enable-strict-compilation
   1631                           Enable all warnings from compiler and make them
   1632                           errors (default: disabled)
   1633   --enable-unix-transport Enable UNIX domain socket transport
   1634   --enable-tcp-transport  Enable TCP socket transport
   1635   --enable-ipv6           Enable IPv6 support
   1636   --enable-local-transport
   1637                           Enable os-specific local transport
   1638   --enable-secure-rpc     Enable Secure RPC
   1639   --enable-xpm-logos      Display xpm logos in greeter (default is YES)
   1640   --enable-xdm-auth       Support XDM-AUTHENTICATION-1 and XDM-AUTHORIZATION-1
   1641                           (default: auto)
   1642   --enable-xdmshell       Install xdmshell (default: disabled)
   1643 
   1644 Optional Packages:
   1645   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1646   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1647   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1648   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1649                           compiler's sysroot if not specified).
   1650   --with-lint             Use a lint-style source code checker (default:
   1651                           disabled)
   1652   --with-pam              Use PAM for authentication (default is autodetected)
   1653   --with-selinux          Add support for SELinux (default is no support)
   1654   --with-systemdsystemunitdir=DIR
   1655                           Directory for systemd service files (default from
   1656                           the System and Service Manager)
   1657   --with-systemd-daemon   Add support for systemd startup notification
   1658                           (default is autodetected)
   1659   --with-random-device\=<pathname>\
   1660                           Use <pathname> as a source of randomness (default is
   1661                           auto-detected)
   1662   --with-xdmlibdir=<pathname>
   1663                           specify directory for xdm scripts and modules
   1664                           (default=${libdir}/X11/xdm)
   1665   --with-xdmconfigdir=<pathname>
   1666                           specify directory for xdm config files (default is
   1667                           same as xdmlibdir)
   1668   --with-xdmscriptdir=<pathname>
   1669                           specify directory for xdm scripts (default is same
   1670                           as xdmlibdir)
   1671   --with-logdir=<pathname>
   1672                           specify directory for xdm log files
   1673                           (default=/var/log)
   1674   --with-piddir=<pathname>
   1675                           specify directory for xdm pid files
   1676                           (default=/var/run)
   1677   --with-default-vt=<vtname>
   1678                           specify default vt to start xdm on (default=none)
   1679   --with-config-type={ws|fs}
   1680                           default config file type to use - workstation (ws)
   1681                           or fileserver (fs) (default=ws)
   1682   --with-utmp-file=<pathname>
   1683                           specify file to pass to sessreg -u for current
   1684                           logins
   1685   --without-utmp-file     specify passing "none" to sessreg -u to not record
   1686                           logins in utmp
   1687   --with-wtmp-file=<pathname>
   1688                           specify file to pass to sessreg -w for login history
   1689   --without-wtmp-file     specify passing "none" to sessreg -w to not record
   1690                           logins in wtmp
   1691   --with-xinerama         Use Xinerama (default is YES if installed)
   1692   --with-xft              Use Xft to draw text (default is YES if installed)
   1693   --with-color-pixmap=<filename>
   1694                           specify xpm file to use as color logo
   1695                           (default=xorg.xpm)
   1696   --with-bw-pixmap=<filename>
   1697                           specify xpm file to use as black-and-white logo
   1698                           (default=xorg-bw.xpm)
   1699   --with-pixmapdir=<pathname>
   1700                           specify directory for xpm files
   1701                           (default=xdmlibdir/pixmaps)
   1702   --with-xrdb=path        Use path for xrdb (default: bindir/xrdb)
   1703   --with-default-session=command
   1704                           Use command for default session (default:
   1705                           bindir/xterm -ls)
   1706   --with-authdir=<pathname>
   1707                           specify directory for X auth files
   1708                           (default=/var/lib/xdm)
   1709   --with-appdefaultdir=<pathname>
   1710                           specify directory for app-defaults files (default is
   1711                           autodetected)
   1712 
   1713 Some influential environment variables:
   1714   CC          C compiler command
   1715   CFLAGS      C compiler flags
   1716   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1717               nonstandard directory <lib dir>
   1718   LIBS        libraries to pass to the linker, e.g. -l<library>
   1719   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1720               you have headers in a nonstandard directory <include dir>
   1721   LT_SYS_LIBRARY_PATH
   1722               User-defined run-time library search path.
   1723   PKG_CONFIG  path to pkg-config utility
   1724   PKG_CONFIG_PATH
   1725               directories to add to pkg-config's search path
   1726   PKG_CONFIG_LIBDIR
   1727               path overriding pkg-config's built-in search path
   1728   CPP         C preprocessor
   1729   LINT        Path to a lint-style command
   1730   LINT_FLAGS  Flags for the lint-style command
   1731   XDM_CFLAGS  C compiler flags for XDM, overriding pkg-config
   1732   XDM_LIBS    linker flags for XDM, overriding pkg-config
   1733   LIBBSD_CFLAGS
   1734               C compiler flags for LIBBSD, overriding pkg-config
   1735   LIBBSD_LIBS linker flags for LIBBSD, overriding pkg-config
   1736   SYSTEMD_DAEMON_CFLAGS
   1737               C compiler flags for SYSTEMD_DAEMON, overriding pkg-config
   1738   SYSTEMD_DAEMON_LIBS
   1739               linker flags for SYSTEMD_DAEMON, overriding pkg-config
   1740   XINERAMA_CFLAGS
   1741               C compiler flags for XINERAMA, overriding pkg-config
   1742   XINERAMA_LIBS
   1743               linker flags for XINERAMA, overriding pkg-config
   1744   XFT_CFLAGS  C compiler flags for XFT, overriding pkg-config
   1745   XFT_LIBS    linker flags for XFT, overriding pkg-config
   1746   XPM_CFLAGS  C compiler flags for XPM, overriding pkg-config
   1747   XPM_LIBS    linker flags for XPM, overriding pkg-config
   1748   XDM_TOOLKIT_CFLAGS
   1749               C compiler flags for XDM_TOOLKIT, overriding pkg-config
   1750   XDM_TOOLKIT_LIBS
   1751               linker flags for XDM_TOOLKIT, overriding pkg-config
   1752   DMCP_CFLAGS C compiler flags for DMCP, overriding pkg-config
   1753   DMCP_LIBS   linker flags for DMCP, overriding pkg-config
   1754   XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
   1755   XLIB_LIBS   linker flags for XLIB, overriding pkg-config
   1756   AUTH_CFLAGS C compiler flags for AUTH, overriding pkg-config
   1757   AUTH_LIBS   linker flags for AUTH, overriding pkg-config
   1758   XDMGREET_CFLAGS
   1759               C compiler flags for XDMGREET, overriding pkg-config
   1760   XDMGREET_LIBS
   1761               linker flags for XDMGREET, overriding pkg-config
   1762   XT_CFLAGS   C compiler flags for XT, overriding pkg-config
   1763   XT_LIBS     linker flags for XT, overriding pkg-config
   1764   APPDEFS_CFLAGS
   1765               C compiler flags for APPDEFS, overriding pkg-config
   1766   APPDEFS_LIBS
   1767               linker flags for APPDEFS, overriding pkg-config
   1768 
   1769 Use these variables to override the choices made by 'configure' or to help
   1770 it to find libraries and programs with nonstandard names/locations.
   1771 
   1772 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xdm/-/issues>.
   1773 _ACEOF
   1774 ac_status=$?
   1775 fi
   1776 
   1777 if test "$ac_init_help" = "recursive"; then
   1778   # If there are subdirs, report their specific --help.
   1779   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1780     test -d "$ac_dir" ||
   1781       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1782       continue
   1783     ac_builddir=.
   1784 
   1785 case "$ac_dir" in
   1786 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1787 *)
   1788   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1789   # A ".." for each directory in $ac_dir_suffix.
   1790   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1791   case $ac_top_builddir_sub in
   1792   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1793   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1794   esac ;;
   1795 esac
   1796 ac_abs_top_builddir=$ac_pwd
   1797 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1798 # for backward compatibility:
   1799 ac_top_builddir=$ac_top_build_prefix
   1800 
   1801 case $srcdir in
   1802   .)  # We are building in place.
   1803     ac_srcdir=.
   1804     ac_top_srcdir=$ac_top_builddir_sub
   1805     ac_abs_top_srcdir=$ac_pwd ;;
   1806   [\\/]* | ?:[\\/]* )  # Absolute name.
   1807     ac_srcdir=$srcdir$ac_dir_suffix;
   1808     ac_top_srcdir=$srcdir
   1809     ac_abs_top_srcdir=$srcdir ;;
   1810   *) # Relative name.
   1811     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1812     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1813     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1814 esac
   1815 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1816 
   1817     cd "$ac_dir" || { ac_status=$?; continue; }
   1818     # Check for configure.gnu first; this name is used for a wrapper for
   1819     # Metaconfig's "Configure" on case-insensitive file systems.
   1820     if test -f "$ac_srcdir/configure.gnu"; then
   1821       echo &&
   1822       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1823     elif test -f "$ac_srcdir/configure"; then
   1824       echo &&
   1825       $SHELL "$ac_srcdir/configure" --help=recursive
   1826     else
   1827       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1828     fi || ac_status=$?
   1829     cd "$ac_pwd" || { ac_status=$?; break; }
   1830   done
   1831 fi
   1832 
   1833 test -n "$ac_init_help" && exit $ac_status
   1834 if $ac_init_version; then
   1835   cat <<\_ACEOF
   1836 xdm configure 1.1.17
   1837 generated by GNU Autoconf 2.72
   1838 
   1839 Copyright (C) 2023 Free Software Foundation, Inc.
   1840 This configure script is free software; the Free Software Foundation
   1841 gives unlimited permission to copy, distribute and modify it.
   1842 _ACEOF
   1843   exit
   1844 fi
   1845 
   1846 ## ------------------------ ##
   1847 ## Autoconf initialization. ##
   1848 ## ------------------------ ##
   1849 
   1850 # ac_fn_c_try_compile LINENO
   1851 # --------------------------
   1852 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1853 ac_fn_c_try_compile ()
   1854 {
   1855   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1856   rm -f conftest.$ac_objext conftest.beam
   1857   if { { ac_try="$ac_compile"
   1858 case "(($ac_try" in
   1859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1860   *) ac_try_echo=$ac_try;;
   1861 esac
   1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1863 printf "%s\n" "$ac_try_echo"; } >&5
   1864   (eval "$ac_compile") 2>conftest.err
   1865   ac_status=$?
   1866   if test -s conftest.err; then
   1867     grep -v '^ *+' conftest.err >conftest.er1
   1868     cat conftest.er1 >&5
   1869     mv -f conftest.er1 conftest.err
   1870   fi
   1871   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1872   test $ac_status = 0; } && {
   1873 	 test -z "$ac_c_werror_flag" ||
   1874 	 test ! -s conftest.err
   1875        } && test -s conftest.$ac_objext
   1876 then :
   1877   ac_retval=0
   1878 else case e in #(
   1879   e) printf "%s\n" "$as_me: failed program was:" >&5
   1880 sed 's/^/| /' conftest.$ac_ext >&5
   1881 
   1882 	ac_retval=1 ;;
   1883 esac
   1884 fi
   1885   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1886   as_fn_set_status $ac_retval
   1887 
   1888 } # ac_fn_c_try_compile
   1889 
   1890 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1891 # -------------------------------------------------------
   1892 # Tests whether HEADER exists and can be compiled using the include files in
   1893 # INCLUDES, setting the cache variable VAR accordingly.
   1894 ac_fn_c_check_header_compile ()
   1895 {
   1896   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1898 printf %s "checking for $2... " >&6; }
   1899 if eval test \${$3+y}
   1900 then :
   1901   printf %s "(cached) " >&6
   1902 else case e in #(
   1903   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1904 /* end confdefs.h.  */
   1905 $4
   1906 #include <$2>
   1907 _ACEOF
   1908 if ac_fn_c_try_compile "$LINENO"
   1909 then :
   1910   eval "$3=yes"
   1911 else case e in #(
   1912   e) eval "$3=no" ;;
   1913 esac
   1914 fi
   1915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1916 esac
   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_header_compile
   1924 
   1925 # ac_fn_c_try_link LINENO
   1926 # -----------------------
   1927 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1928 ac_fn_c_try_link ()
   1929 {
   1930   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1931   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1932   if { { ac_try="$ac_link"
   1933 case "(($ac_try" in
   1934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1935   *) ac_try_echo=$ac_try;;
   1936 esac
   1937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1938 printf "%s\n" "$ac_try_echo"; } >&5
   1939   (eval "$ac_link") 2>conftest.err
   1940   ac_status=$?
   1941   if test -s conftest.err; then
   1942     grep -v '^ *+' conftest.err >conftest.er1
   1943     cat conftest.er1 >&5
   1944     mv -f conftest.er1 conftest.err
   1945   fi
   1946   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1947   test $ac_status = 0; } && {
   1948 	 test -z "$ac_c_werror_flag" ||
   1949 	 test ! -s conftest.err
   1950        } && test -s conftest$ac_exeext && {
   1951 	 test "$cross_compiling" = yes ||
   1952 	 test -x conftest$ac_exeext
   1953        }
   1954 then :
   1955   ac_retval=0
   1956 else case e in #(
   1957   e) printf "%s\n" "$as_me: failed program was:" >&5
   1958 sed 's/^/| /' conftest.$ac_ext >&5
   1959 
   1960 	ac_retval=1 ;;
   1961 esac
   1962 fi
   1963   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1964   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1965   # interfere with the next link command; also delete a directory that is
   1966   # left behind by Apple's compiler.  We do this before executing the actions.
   1967   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1968   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1969   as_fn_set_status $ac_retval
   1970 
   1971 } # ac_fn_c_try_link
   1972 
   1973 # ac_fn_c_check_func LINENO FUNC VAR
   1974 # ----------------------------------
   1975 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1976 ac_fn_c_check_func ()
   1977 {
   1978   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1979   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1980 printf %s "checking for $2... " >&6; }
   1981 if eval test \${$3+y}
   1982 then :
   1983   printf %s "(cached) " >&6
   1984 else case e in #(
   1985   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1986 /* end confdefs.h.  */
   1987 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1988    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1989 #define $2 innocuous_$2
   1990 
   1991 /* System header to define __stub macros and hopefully few prototypes,
   1992    which can conflict with char $2 (void); below.  */
   1993 
   1994 #include <limits.h>
   1995 #undef $2
   1996 
   1997 /* Override any GCC internal prototype to avoid an error.
   1998    Use char because int might match the return type of a GCC
   1999    builtin and then its argument prototype would still apply.  */
   2000 #ifdef __cplusplus
   2001 extern "C"
   2002 #endif
   2003 char $2 (void);
   2004 /* The GNU C library defines this for functions which it implements
   2005     to always fail with ENOSYS.  Some functions are actually named
   2006     something starting with __ and the normal name is an alias.  */
   2007 #if defined __stub_$2 || defined __stub___$2
   2008 choke me
   2009 #endif
   2010 
   2011 int
   2012 main (void)
   2013 {
   2014 return $2 ();
   2015   ;
   2016   return 0;
   2017 }
   2018 _ACEOF
   2019 if ac_fn_c_try_link "$LINENO"
   2020 then :
   2021   eval "$3=yes"
   2022 else case e in #(
   2023   e) eval "$3=no" ;;
   2024 esac
   2025 fi
   2026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   2027     conftest$ac_exeext conftest.$ac_ext ;;
   2028 esac
   2029 fi
   2030 eval ac_res=\$$3
   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_func
   2036 
   2037 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   2038 # ------------------------------------------------------------------
   2039 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2040 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   2041 ac_fn_check_decl ()
   2042 {
   2043   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2044   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2045   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2046 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2047 if eval test \${$3+y}
   2048 then :
   2049   printf %s "(cached) " >&6
   2050 else case e in #(
   2051   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2052   eval ac_save_FLAGS=\$$6
   2053   as_fn_append $6 " $5"
   2054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2055 /* end confdefs.h.  */
   2056 $4
   2057 int
   2058 main (void)
   2059 {
   2060 #ifndef $as_decl_name
   2061 #ifdef __cplusplus
   2062   (void) $as_decl_use;
   2063 #else
   2064   (void) $as_decl_name;
   2065 #endif
   2066 #endif
   2067 
   2068   ;
   2069   return 0;
   2070 }
   2071 _ACEOF
   2072 if ac_fn_c_try_compile "$LINENO"
   2073 then :
   2074   eval "$3=yes"
   2075 else case e in #(
   2076   e) eval "$3=no" ;;
   2077 esac
   2078 fi
   2079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2080   eval $6=\$ac_save_FLAGS
   2081  ;;
   2082 esac
   2083 fi
   2084 eval ac_res=\$$3
   2085 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2086 printf "%s\n" "$ac_res" >&6; }
   2087   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2088 
   2089 } # ac_fn_check_decl
   2090 
   2091 # ac_fn_c_try_cpp LINENO
   2092 # ----------------------
   2093 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2094 ac_fn_c_try_cpp ()
   2095 {
   2096   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2097   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2098 case "(($ac_try" in
   2099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2100   *) ac_try_echo=$ac_try;;
   2101 esac
   2102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2103 printf "%s\n" "$ac_try_echo"; } >&5
   2104   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2105   ac_status=$?
   2106   if test -s conftest.err; then
   2107     grep -v '^ *+' conftest.err >conftest.er1
   2108     cat conftest.er1 >&5
   2109     mv -f conftest.er1 conftest.err
   2110   fi
   2111   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2112   test $ac_status = 0; } > conftest.i && {
   2113 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2114 	 test ! -s conftest.err
   2115        }
   2116 then :
   2117   ac_retval=0
   2118 else case e in #(
   2119   e) printf "%s\n" "$as_me: failed program was:" >&5
   2120 sed 's/^/| /' conftest.$ac_ext >&5
   2121 
   2122     ac_retval=1 ;;
   2123 esac
   2124 fi
   2125   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2126   as_fn_set_status $ac_retval
   2127 
   2128 } # ac_fn_c_try_cpp
   2129 
   2130 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2131 # ----------------------------------------------------
   2132 # Tries to find if the field MEMBER exists in type AGGR, after including
   2133 # INCLUDES, setting cache variable VAR accordingly.
   2134 ac_fn_c_check_member ()
   2135 {
   2136   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2138 printf %s "checking for $2.$3... " >&6; }
   2139 if eval test \${$4+y}
   2140 then :
   2141   printf %s "(cached) " >&6
   2142 else case e in #(
   2143   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2144 /* end confdefs.h.  */
   2145 $5
   2146 int
   2147 main (void)
   2148 {
   2149 static $2 ac_aggr;
   2150 if (ac_aggr.$3)
   2151 return 0;
   2152   ;
   2153   return 0;
   2154 }
   2155 _ACEOF
   2156 if ac_fn_c_try_compile "$LINENO"
   2157 then :
   2158   eval "$4=yes"
   2159 else case e in #(
   2160   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2161 /* end confdefs.h.  */
   2162 $5
   2163 int
   2164 main (void)
   2165 {
   2166 static $2 ac_aggr;
   2167 if (sizeof ac_aggr.$3)
   2168 return 0;
   2169   ;
   2170   return 0;
   2171 }
   2172 _ACEOF
   2173 if ac_fn_c_try_compile "$LINENO"
   2174 then :
   2175   eval "$4=yes"
   2176 else case e in #(
   2177   e) eval "$4=no" ;;
   2178 esac
   2179 fi
   2180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2181 esac
   2182 fi
   2183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2184 esac
   2185 fi
   2186 eval ac_res=\$$4
   2187 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2188 printf "%s\n" "$ac_res" >&6; }
   2189   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2190 
   2191 } # ac_fn_c_check_member
   2192 
   2193 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2194 # -------------------------------------------
   2195 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2196 # variable VAR accordingly.
   2197 ac_fn_c_check_type ()
   2198 {
   2199   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2200   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2201 printf %s "checking for $2... " >&6; }
   2202 if eval test \${$3+y}
   2203 then :
   2204   printf %s "(cached) " >&6
   2205 else case e in #(
   2206   e) eval "$3=no"
   2207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2208 /* end confdefs.h.  */
   2209 $4
   2210 int
   2211 main (void)
   2212 {
   2213 if (sizeof ($2))
   2214 	 return 0;
   2215   ;
   2216   return 0;
   2217 }
   2218 _ACEOF
   2219 if ac_fn_c_try_compile "$LINENO"
   2220 then :
   2221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2222 /* end confdefs.h.  */
   2223 $4
   2224 int
   2225 main (void)
   2226 {
   2227 if (sizeof (($2)))
   2228 	    return 0;
   2229   ;
   2230   return 0;
   2231 }
   2232 _ACEOF
   2233 if ac_fn_c_try_compile "$LINENO"
   2234 then :
   2235 
   2236 else case e in #(
   2237   e) eval "$3=yes" ;;
   2238 esac
   2239 fi
   2240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2241 fi
   2242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2243 esac
   2244 fi
   2245 eval ac_res=\$$3
   2246 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2247 printf "%s\n" "$ac_res" >&6; }
   2248   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2249 
   2250 } # ac_fn_c_check_type
   2251 
   2252 # ac_fn_c_try_run LINENO
   2253 # ----------------------
   2254 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   2255 # executables *can* be run.
   2256 ac_fn_c_try_run ()
   2257 {
   2258   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2259   if { { ac_try="$ac_link"
   2260 case "(($ac_try" in
   2261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2262   *) ac_try_echo=$ac_try;;
   2263 esac
   2264 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2265 printf "%s\n" "$ac_try_echo"; } >&5
   2266   (eval "$ac_link") 2>&5
   2267   ac_status=$?
   2268   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2269   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2270   { { case "(($ac_try" in
   2271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2272   *) ac_try_echo=$ac_try;;
   2273 esac
   2274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2275 printf "%s\n" "$ac_try_echo"; } >&5
   2276   (eval "$ac_try") 2>&5
   2277   ac_status=$?
   2278   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2279   test $ac_status = 0; }; }
   2280 then :
   2281   ac_retval=0
   2282 else case e in #(
   2283   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2284        printf "%s\n" "$as_me: failed program was:" >&5
   2285 sed 's/^/| /' conftest.$ac_ext >&5
   2286 
   2287        ac_retval=$ac_status ;;
   2288 esac
   2289 fi
   2290   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2291   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2292   as_fn_set_status $ac_retval
   2293 
   2294 } # ac_fn_c_try_run
   2295 ac_configure_args_raw=
   2296 for ac_arg
   2297 do
   2298   case $ac_arg in
   2299   *\'*)
   2300     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2301   esac
   2302   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2303 done
   2304 
   2305 case $ac_configure_args_raw in
   2306   *$as_nl*)
   2307     ac_safe_unquote= ;;
   2308   *)
   2309     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2310     ac_unsafe_a="$ac_unsafe_z#~"
   2311     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2312     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2313 esac
   2314 
   2315 cat >config.log <<_ACEOF
   2316 This file contains any messages produced by compilers while
   2317 running configure, to aid debugging if configure makes a mistake.
   2318 
   2319 It was created by xdm $as_me 1.1.17, which was
   2320 generated by GNU Autoconf 2.72.  Invocation command line was
   2321 
   2322   $ $0$ac_configure_args_raw
   2323 
   2324 _ACEOF
   2325 exec 5>>config.log
   2326 {
   2327 cat <<_ASUNAME
   2328 ## --------- ##
   2329 ## Platform. ##
   2330 ## --------- ##
   2331 
   2332 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2333 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2334 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2335 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2336 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2337 
   2338 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2339 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2340 
   2341 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2342 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2343 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2344 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2345 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2346 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2347 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2348 
   2349 _ASUNAME
   2350 
   2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2352 for as_dir in $PATH
   2353 do
   2354   IFS=$as_save_IFS
   2355   case $as_dir in #(((
   2356     '') as_dir=./ ;;
   2357     */) ;;
   2358     *) as_dir=$as_dir/ ;;
   2359   esac
   2360     printf "%s\n" "PATH: $as_dir"
   2361   done
   2362 IFS=$as_save_IFS
   2363 
   2364 } >&5
   2365 
   2366 cat >&5 <<_ACEOF
   2367 
   2368 
   2369 ## ----------- ##
   2370 ## Core tests. ##
   2371 ## ----------- ##
   2372 
   2373 _ACEOF
   2374 
   2375 
   2376 # Keep a trace of the command line.
   2377 # Strip out --no-create and --no-recursion so they do not pile up.
   2378 # Strip out --silent because we don't want to record it for future runs.
   2379 # Also quote any args containing shell meta-characters.
   2380 # Make two passes to allow for proper duplicate-argument suppression.
   2381 ac_configure_args=
   2382 ac_configure_args0=
   2383 ac_configure_args1=
   2384 ac_must_keep_next=false
   2385 for ac_pass in 1 2
   2386 do
   2387   for ac_arg
   2388   do
   2389     case $ac_arg in
   2390     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2391     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2392     | -silent | --silent | --silen | --sile | --sil)
   2393       continue ;;
   2394     *\'*)
   2395       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2396     esac
   2397     case $ac_pass in
   2398     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2399     2)
   2400       as_fn_append ac_configure_args1 " '$ac_arg'"
   2401       if test $ac_must_keep_next = true; then
   2402 	ac_must_keep_next=false # Got value, back to normal.
   2403       else
   2404 	case $ac_arg in
   2405 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2406 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2407 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2408 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2409 	    case "$ac_configure_args0 " in
   2410 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2411 	    esac
   2412 	    ;;
   2413 	  -* ) ac_must_keep_next=true ;;
   2414 	esac
   2415       fi
   2416       as_fn_append ac_configure_args " '$ac_arg'"
   2417       ;;
   2418     esac
   2419   done
   2420 done
   2421 { ac_configure_args0=; unset ac_configure_args0;}
   2422 { ac_configure_args1=; unset ac_configure_args1;}
   2423 
   2424 # When interrupted or exit'd, cleanup temporary files, and complete
   2425 # config.log.  We remove comments because anyway the quotes in there
   2426 # would cause problems or look ugly.
   2427 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2428 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2429 trap 'exit_status=$?
   2430   # Sanitize IFS.
   2431   IFS=" ""	$as_nl"
   2432   # Save into config.log some information that might help in debugging.
   2433   {
   2434     echo
   2435 
   2436     printf "%s\n" "## ---------------- ##
   2437 ## Cache variables. ##
   2438 ## ---------------- ##"
   2439     echo
   2440     # The following way of writing the cache mishandles newlines in values,
   2441 (
   2442   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2443     eval ac_val=\$$ac_var
   2444     case $ac_val in #(
   2445     *${as_nl}*)
   2446       case $ac_var in #(
   2447       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2448 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2449       esac
   2450       case $ac_var in #(
   2451       _ | IFS | as_nl) ;; #(
   2452       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2453       *) { eval $ac_var=; unset $ac_var;} ;;
   2454       esac ;;
   2455     esac
   2456   done
   2457   (set) 2>&1 |
   2458     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2459     *${as_nl}ac_space=\ *)
   2460       sed -n \
   2461 	"s/'\''/'\''\\\\'\'''\''/g;
   2462 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2463       ;; #(
   2464     *)
   2465       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2466       ;;
   2467     esac |
   2468     sort
   2469 )
   2470     echo
   2471 
   2472     printf "%s\n" "## ----------------- ##
   2473 ## Output variables. ##
   2474 ## ----------------- ##"
   2475     echo
   2476     for ac_var in $ac_subst_vars
   2477     do
   2478       eval ac_val=\$$ac_var
   2479       case $ac_val in
   2480       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2481       esac
   2482       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2483     done | sort
   2484     echo
   2485 
   2486     if test -n "$ac_subst_files"; then
   2487       printf "%s\n" "## ------------------- ##
   2488 ## File substitutions. ##
   2489 ## ------------------- ##"
   2490       echo
   2491       for ac_var in $ac_subst_files
   2492       do
   2493 	eval ac_val=\$$ac_var
   2494 	case $ac_val in
   2495 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2496 	esac
   2497 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2498       done | sort
   2499       echo
   2500     fi
   2501 
   2502     if test -s confdefs.h; then
   2503       printf "%s\n" "## ----------- ##
   2504 ## confdefs.h. ##
   2505 ## ----------- ##"
   2506       echo
   2507       cat confdefs.h
   2508       echo
   2509     fi
   2510     test "$ac_signal" != 0 &&
   2511       printf "%s\n" "$as_me: caught signal $ac_signal"
   2512     printf "%s\n" "$as_me: exit $exit_status"
   2513   } >&5
   2514   rm -f core *.core core.conftest.* &&
   2515     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2516     exit $exit_status
   2517 ' 0
   2518 for ac_signal in 1 2 13 15; do
   2519   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2520 done
   2521 ac_signal=0
   2522 
   2523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2524 rm -f -r conftest* confdefs.h
   2525 
   2526 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2527 
   2528 # Predefined preprocessor variables.
   2529 
   2530 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2531 
   2532 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2533 
   2534 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2535 
   2536 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2537 
   2538 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2539 
   2540 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2541 
   2542 
   2543 # Let the site file select an alternate cache file if it wants to.
   2544 # Prefer an explicitly selected file to automatically selected ones.
   2545 if test -n "$CONFIG_SITE"; then
   2546   ac_site_files="$CONFIG_SITE"
   2547 elif test "x$prefix" != xNONE; then
   2548   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2549 else
   2550   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2551 fi
   2552 
   2553 for ac_site_file in $ac_site_files
   2554 do
   2555   case $ac_site_file in #(
   2556   */*) :
   2557      ;; #(
   2558   *) :
   2559     ac_site_file=./$ac_site_file ;;
   2560 esac
   2561   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2562     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2563 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2564     sed 's/^/| /' "$ac_site_file" >&5
   2565     . "$ac_site_file" \
   2566       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2567 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2568 as_fn_error $? "failed to load site script $ac_site_file
   2569 See 'config.log' for more details" "$LINENO" 5; }
   2570   fi
   2571 done
   2572 
   2573 if test -r "$cache_file"; then
   2574   # Some versions of bash will fail to source /dev/null (special files
   2575   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2576   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2577     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2578 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2579     case $cache_file in
   2580       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2581       *)                      . "./$cache_file";;
   2582     esac
   2583   fi
   2584 else
   2585   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2586 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2587   >$cache_file
   2588 fi
   2589 
   2590 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2591 # Test code for whether the C compiler supports C89 (global declarations)
   2592 ac_c_conftest_c89_globals='
   2593 /* Does the compiler advertise C89 conformance?
   2594    Do not test the value of __STDC__, because some compilers set it to 0
   2595    while being otherwise adequately conformant. */
   2596 #if !defined __STDC__
   2597 # error "Compiler does not advertise C89 conformance"
   2598 #endif
   2599 
   2600 #include <stddef.h>
   2601 #include <stdarg.h>
   2602 struct stat;
   2603 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2604 struct buf { int x; };
   2605 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2606 static char *e (char **p, int i)
   2607 {
   2608   return p[i];
   2609 }
   2610 static char *f (char * (*g) (char **, int), char **p, ...)
   2611 {
   2612   char *s;
   2613   va_list v;
   2614   va_start (v,p);
   2615   s = g (p, va_arg (v,int));
   2616   va_end (v);
   2617   return s;
   2618 }
   2619 
   2620 /* C89 style stringification. */
   2621 #define noexpand_stringify(a) #a
   2622 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2623 
   2624 /* C89 style token pasting.  Exercises some of the corner cases that
   2625    e.g. old MSVC gets wrong, but not very hard. */
   2626 #define noexpand_concat(a,b) a##b
   2627 #define expand_concat(a,b) noexpand_concat(a,b)
   2628 extern int vA;
   2629 extern int vbee;
   2630 #define aye A
   2631 #define bee B
   2632 int *pvA = &expand_concat(v,aye);
   2633 int *pvbee = &noexpand_concat(v,bee);
   2634 
   2635 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2636    function prototypes and stuff, but not \xHH hex character constants.
   2637    These do not provoke an error unfortunately, instead are silently treated
   2638    as an "x".  The following induces an error, until -std is added to get
   2639    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2640    array size at least.  It is necessary to write \x00 == 0 to get something
   2641    that is true only with -std.  */
   2642 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2643 
   2644 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2645    inside strings and character constants.  */
   2646 #define FOO(x) '\''x'\''
   2647 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2648 
   2649 int test (int i, double x);
   2650 struct s1 {int (*f) (int a);};
   2651 struct s2 {int (*f) (double a);};
   2652 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2653                int, int);'
   2654 
   2655 # Test code for whether the C compiler supports C89 (body of main).
   2656 ac_c_conftest_c89_main='
   2657 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2658 '
   2659 
   2660 # Test code for whether the C compiler supports C99 (global declarations)
   2661 ac_c_conftest_c99_globals='
   2662 /* Does the compiler advertise C99 conformance? */
   2663 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2664 # error "Compiler does not advertise C99 conformance"
   2665 #endif
   2666 
   2667 // See if C++-style comments work.
   2668 
   2669 #include <stdbool.h>
   2670 extern int puts (const char *);
   2671 extern int printf (const char *, ...);
   2672 extern int dprintf (int, const char *, ...);
   2673 extern void *malloc (size_t);
   2674 extern void free (void *);
   2675 
   2676 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2677 // dprintf is used instead of fprintf to avoid needing to declare
   2678 // FILE and stderr.
   2679 #define debug(...) dprintf (2, __VA_ARGS__)
   2680 #define showlist(...) puts (#__VA_ARGS__)
   2681 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2682 static void
   2683 test_varargs_macros (void)
   2684 {
   2685   int x = 1234;
   2686   int y = 5678;
   2687   debug ("Flag");
   2688   debug ("X = %d\n", x);
   2689   showlist (The first, second, and third items.);
   2690   report (x>y, "x is %d but y is %d", x, y);
   2691 }
   2692 
   2693 // Check long long types.
   2694 #define BIG64 18446744073709551615ull
   2695 #define BIG32 4294967295ul
   2696 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2697 #if !BIG_OK
   2698   #error "your preprocessor is broken"
   2699 #endif
   2700 #if BIG_OK
   2701 #else
   2702   #error "your preprocessor is broken"
   2703 #endif
   2704 static long long int bignum = -9223372036854775807LL;
   2705 static unsigned long long int ubignum = BIG64;
   2706 
   2707 struct incomplete_array
   2708 {
   2709   int datasize;
   2710   double data[];
   2711 };
   2712 
   2713 struct named_init {
   2714   int number;
   2715   const wchar_t *name;
   2716   double average;
   2717 };
   2718 
   2719 typedef const char *ccp;
   2720 
   2721 static inline int
   2722 test_restrict (ccp restrict text)
   2723 {
   2724   // Iterate through items via the restricted pointer.
   2725   // Also check for declarations in for loops.
   2726   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2727     continue;
   2728   return 0;
   2729 }
   2730 
   2731 // Check varargs and va_copy.
   2732 static bool
   2733 test_varargs (const char *format, ...)
   2734 {
   2735   va_list args;
   2736   va_start (args, format);
   2737   va_list args_copy;
   2738   va_copy (args_copy, args);
   2739 
   2740   const char *str = "";
   2741   int number = 0;
   2742   float fnumber = 0;
   2743 
   2744   while (*format)
   2745     {
   2746       switch (*format++)
   2747 	{
   2748 	case '\''s'\'': // string
   2749 	  str = va_arg (args_copy, const char *);
   2750 	  break;
   2751 	case '\''d'\'': // int
   2752 	  number = va_arg (args_copy, int);
   2753 	  break;
   2754 	case '\''f'\'': // float
   2755 	  fnumber = va_arg (args_copy, double);
   2756 	  break;
   2757 	default:
   2758 	  break;
   2759 	}
   2760     }
   2761   va_end (args_copy);
   2762   va_end (args);
   2763 
   2764   return *str && number && fnumber;
   2765 }
   2766 '
   2767 
   2768 # Test code for whether the C compiler supports C99 (body of main).
   2769 ac_c_conftest_c99_main='
   2770   // Check bool.
   2771   _Bool success = false;
   2772   success |= (argc != 0);
   2773 
   2774   // Check restrict.
   2775   if (test_restrict ("String literal") == 0)
   2776     success = true;
   2777   char *restrict newvar = "Another string";
   2778 
   2779   // Check varargs.
   2780   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2781   test_varargs_macros ();
   2782 
   2783   // Check flexible array members.
   2784   struct incomplete_array *ia =
   2785     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2786   ia->datasize = 10;
   2787   for (int i = 0; i < ia->datasize; ++i)
   2788     ia->data[i] = i * 1.234;
   2789   // Work around memory leak warnings.
   2790   free (ia);
   2791 
   2792   // Check named initializers.
   2793   struct named_init ni = {
   2794     .number = 34,
   2795     .name = L"Test wide string",
   2796     .average = 543.34343,
   2797   };
   2798 
   2799   ni.number = 58;
   2800 
   2801   int dynamic_array[ni.number];
   2802   dynamic_array[0] = argv[0][0];
   2803   dynamic_array[ni.number - 1] = 543;
   2804 
   2805   // work around unused variable warnings
   2806   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2807 	 || dynamic_array[ni.number - 1] != 543);
   2808 '
   2809 
   2810 # Test code for whether the C compiler supports C11 (global declarations)
   2811 ac_c_conftest_c11_globals='
   2812 /* Does the compiler advertise C11 conformance? */
   2813 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2814 # error "Compiler does not advertise C11 conformance"
   2815 #endif
   2816 
   2817 // Check _Alignas.
   2818 char _Alignas (double) aligned_as_double;
   2819 char _Alignas (0) no_special_alignment;
   2820 extern char aligned_as_int;
   2821 char _Alignas (0) _Alignas (int) aligned_as_int;
   2822 
   2823 // Check _Alignof.
   2824 enum
   2825 {
   2826   int_alignment = _Alignof (int),
   2827   int_array_alignment = _Alignof (int[100]),
   2828   char_alignment = _Alignof (char)
   2829 };
   2830 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2831 
   2832 // Check _Noreturn.
   2833 int _Noreturn does_not_return (void) { for (;;) continue; }
   2834 
   2835 // Check _Static_assert.
   2836 struct test_static_assert
   2837 {
   2838   int x;
   2839   _Static_assert (sizeof (int) <= sizeof (long int),
   2840                   "_Static_assert does not work in struct");
   2841   long int y;
   2842 };
   2843 
   2844 // Check UTF-8 literals.
   2845 #define u8 syntax error!
   2846 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2847 
   2848 // Check duplicate typedefs.
   2849 typedef long *long_ptr;
   2850 typedef long int *long_ptr;
   2851 typedef long_ptr long_ptr;
   2852 
   2853 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2854 struct anonymous
   2855 {
   2856   union {
   2857     struct { int i; int j; };
   2858     struct { int k; long int l; } w;
   2859   };
   2860   int m;
   2861 } v1;
   2862 '
   2863 
   2864 # Test code for whether the C compiler supports C11 (body of main).
   2865 ac_c_conftest_c11_main='
   2866   _Static_assert ((offsetof (struct anonymous, i)
   2867 		   == offsetof (struct anonymous, w.k)),
   2868 		  "Anonymous union alignment botch");
   2869   v1.i = 2;
   2870   v1.w.k = 5;
   2871   ok |= v1.i != 5;
   2872 '
   2873 
   2874 # Test code for whether the C compiler supports C11 (complete).
   2875 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2876 ${ac_c_conftest_c99_globals}
   2877 ${ac_c_conftest_c11_globals}
   2878 
   2879 int
   2880 main (int argc, char **argv)
   2881 {
   2882   int ok = 0;
   2883   ${ac_c_conftest_c89_main}
   2884   ${ac_c_conftest_c99_main}
   2885   ${ac_c_conftest_c11_main}
   2886   return ok;
   2887 }
   2888 "
   2889 
   2890 # Test code for whether the C compiler supports C99 (complete).
   2891 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2892 ${ac_c_conftest_c99_globals}
   2893 
   2894 int
   2895 main (int argc, char **argv)
   2896 {
   2897   int ok = 0;
   2898   ${ac_c_conftest_c89_main}
   2899   ${ac_c_conftest_c99_main}
   2900   return ok;
   2901 }
   2902 "
   2903 
   2904 # Test code for whether the C compiler supports C89 (complete).
   2905 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2906 
   2907 int
   2908 main (int argc, char **argv)
   2909 {
   2910   int ok = 0;
   2911   ${ac_c_conftest_c89_main}
   2912   return ok;
   2913 }
   2914 "
   2915 
   2916 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2917 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2918 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2919 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2920 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2921 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2922 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2923 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2924 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2925 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2926 as_fn_append ac_header_c_list " vfork.h vfork_h HAVE_VFORK_H"
   2927 as_fn_append ac_func_c_list " fork HAVE_FORK"
   2928 as_fn_append ac_func_c_list " vfork HAVE_VFORK"
   2929 
   2930 # Auxiliary files required by this configure script.
   2931 ac_aux_files="config.guess config.sub ltmain.sh missing install-sh compile"
   2932 
   2933 # Locations in which to look for auxiliary files.
   2934 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2935 
   2936 # Search for a directory containing all of the required auxiliary files,
   2937 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2938 # If we don't find one directory that contains all the files we need,
   2939 # we report the set of missing files from the *first* directory in
   2940 # $ac_aux_dir_candidates and give up.
   2941 ac_missing_aux_files=""
   2942 ac_first_candidate=:
   2943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2945 as_found=false
   2946 for as_dir in $ac_aux_dir_candidates
   2947 do
   2948   IFS=$as_save_IFS
   2949   case $as_dir in #(((
   2950     '') as_dir=./ ;;
   2951     */) ;;
   2952     *) as_dir=$as_dir/ ;;
   2953   esac
   2954   as_found=:
   2955 
   2956   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2957   ac_aux_dir_found=yes
   2958   ac_install_sh=
   2959   for ac_aux in $ac_aux_files
   2960   do
   2961     # As a special case, if "install-sh" is required, that requirement
   2962     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2963     # and $ac_install_sh is set appropriately for whichever one is found.
   2964     if test x"$ac_aux" = x"install-sh"
   2965     then
   2966       if test -f "${as_dir}install-sh"; then
   2967         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2968         ac_install_sh="${as_dir}install-sh -c"
   2969       elif test -f "${as_dir}install.sh"; then
   2970         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2971         ac_install_sh="${as_dir}install.sh -c"
   2972       elif test -f "${as_dir}shtool"; then
   2973         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2974         ac_install_sh="${as_dir}shtool install -c"
   2975       else
   2976         ac_aux_dir_found=no
   2977         if $ac_first_candidate; then
   2978           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2979         else
   2980           break
   2981         fi
   2982       fi
   2983     else
   2984       if test -f "${as_dir}${ac_aux}"; then
   2985         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2986       else
   2987         ac_aux_dir_found=no
   2988         if $ac_first_candidate; then
   2989           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2990         else
   2991           break
   2992         fi
   2993       fi
   2994     fi
   2995   done
   2996   if test "$ac_aux_dir_found" = yes; then
   2997     ac_aux_dir="$as_dir"
   2998     break
   2999   fi
   3000   ac_first_candidate=false
   3001 
   3002   as_found=false
   3003 done
   3004 IFS=$as_save_IFS
   3005 if $as_found
   3006 then :
   3007 
   3008 else case e in #(
   3009   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   3010 esac
   3011 fi
   3012 
   3013 
   3014 # These three variables are undocumented and unsupported,
   3015 # and are intended to be withdrawn in a future Autoconf release.
   3016 # They can cause serious problems if a builder's source tree is in a directory
   3017 # whose full name contains unusual characters.
   3018 if test -f "${ac_aux_dir}config.guess"; then
   3019   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   3020 fi
   3021 if test -f "${ac_aux_dir}config.sub"; then
   3022   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   3023 fi
   3024 if test -f "$ac_aux_dir/configure"; then
   3025   ac_configure="$SHELL ${ac_aux_dir}configure"
   3026 fi
   3027 
   3028 # Check that the precious variables saved in the cache have kept the same
   3029 # value.
   3030 ac_cache_corrupted=false
   3031 for ac_var in $ac_precious_vars; do
   3032   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3033   eval ac_new_set=\$ac_env_${ac_var}_set
   3034   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3035   eval ac_new_val=\$ac_env_${ac_var}_value
   3036   case $ac_old_set,$ac_new_set in
   3037     set,)
   3038       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   3039 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   3040       ac_cache_corrupted=: ;;
   3041     ,set)
   3042       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   3043 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   3044       ac_cache_corrupted=: ;;
   3045     ,);;
   3046     *)
   3047       if test "x$ac_old_val" != "x$ac_new_val"; then
   3048 	# differences in whitespace do not lead to failure.
   3049 	ac_old_val_w=`echo x $ac_old_val`
   3050 	ac_new_val_w=`echo x $ac_new_val`
   3051 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3052 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   3053 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   3054 	  ac_cache_corrupted=:
   3055 	else
   3056 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   3057 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   3058 	  eval $ac_var=\$ac_old_val
   3059 	fi
   3060 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   3061 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   3062 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   3063 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   3064       fi;;
   3065   esac
   3066   # Pass precious variables to config.status.
   3067   if test "$ac_new_set" = set; then
   3068     case $ac_new_val in
   3069     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3070     *) ac_arg=$ac_var=$ac_new_val ;;
   3071     esac
   3072     case " $ac_configure_args " in
   3073       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3074       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3075     esac
   3076   fi
   3077 done
   3078 if $ac_cache_corrupted; then
   3079   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3080 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3081   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3082 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3083   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   3084 	    and start over" "$LINENO" 5
   3085 fi
   3086 ## -------------------- ##
   3087 ## Main body of script. ##
   3088 ## -------------------- ##
   3089 
   3090 ac_ext=c
   3091 ac_cpp='$CPP $CPPFLAGS'
   3092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3095 
   3096 
   3097 
   3098 
   3099 
   3100 
   3101 
   3102 
   3103 
   3104 
   3105 
   3106 
   3107 
   3108 # Expand $ac_aux_dir to an absolute path.
   3109 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3110 
   3111 ac_ext=c
   3112 ac_cpp='$CPP $CPPFLAGS'
   3113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3116 if test -n "$ac_tool_prefix"; then
   3117   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3118 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3120 printf %s "checking for $ac_word... " >&6; }
   3121 if test ${ac_cv_prog_CC+y}
   3122 then :
   3123   printf %s "(cached) " >&6
   3124 else case e in #(
   3125   e) if test -n "$CC"; then
   3126   ac_cv_prog_CC="$CC" # Let the user override the test.
   3127 else
   3128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3129 for as_dir in $PATH
   3130 do
   3131   IFS=$as_save_IFS
   3132   case $as_dir in #(((
   3133     '') as_dir=./ ;;
   3134     */) ;;
   3135     *) as_dir=$as_dir/ ;;
   3136   esac
   3137     for ac_exec_ext in '' $ac_executable_extensions; do
   3138   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3139     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3140     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3141     break 2
   3142   fi
   3143 done
   3144   done
   3145 IFS=$as_save_IFS
   3146 
   3147 fi ;;
   3148 esac
   3149 fi
   3150 CC=$ac_cv_prog_CC
   3151 if test -n "$CC"; then
   3152   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3153 printf "%s\n" "$CC" >&6; }
   3154 else
   3155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3156 printf "%s\n" "no" >&6; }
   3157 fi
   3158 
   3159 
   3160 fi
   3161 if test -z "$ac_cv_prog_CC"; then
   3162   ac_ct_CC=$CC
   3163   # Extract the first word of "gcc", so it can be a program name with args.
   3164 set dummy gcc; ac_word=$2
   3165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3166 printf %s "checking for $ac_word... " >&6; }
   3167 if test ${ac_cv_prog_ac_ct_CC+y}
   3168 then :
   3169   printf %s "(cached) " >&6
   3170 else case e in #(
   3171   e) if test -n "$ac_ct_CC"; then
   3172   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3173 else
   3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3175 for as_dir in $PATH
   3176 do
   3177   IFS=$as_save_IFS
   3178   case $as_dir in #(((
   3179     '') as_dir=./ ;;
   3180     */) ;;
   3181     *) as_dir=$as_dir/ ;;
   3182   esac
   3183     for ac_exec_ext in '' $ac_executable_extensions; do
   3184   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3185     ac_cv_prog_ac_ct_CC="gcc"
   3186     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3187     break 2
   3188   fi
   3189 done
   3190   done
   3191 IFS=$as_save_IFS
   3192 
   3193 fi ;;
   3194 esac
   3195 fi
   3196 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3197 if test -n "$ac_ct_CC"; then
   3198   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3199 printf "%s\n" "$ac_ct_CC" >&6; }
   3200 else
   3201   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3202 printf "%s\n" "no" >&6; }
   3203 fi
   3204 
   3205   if test "x$ac_ct_CC" = x; then
   3206     CC=""
   3207   else
   3208     case $cross_compiling:$ac_tool_warned in
   3209 yes:)
   3210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3211 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3212 ac_tool_warned=yes ;;
   3213 esac
   3214     CC=$ac_ct_CC
   3215   fi
   3216 else
   3217   CC="$ac_cv_prog_CC"
   3218 fi
   3219 
   3220 if test -z "$CC"; then
   3221           if test -n "$ac_tool_prefix"; then
   3222     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3223 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3225 printf %s "checking for $ac_word... " >&6; }
   3226 if test ${ac_cv_prog_CC+y}
   3227 then :
   3228   printf %s "(cached) " >&6
   3229 else case e in #(
   3230   e) if test -n "$CC"; then
   3231   ac_cv_prog_CC="$CC" # Let the user override the test.
   3232 else
   3233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3234 for as_dir in $PATH
   3235 do
   3236   IFS=$as_save_IFS
   3237   case $as_dir in #(((
   3238     '') as_dir=./ ;;
   3239     */) ;;
   3240     *) as_dir=$as_dir/ ;;
   3241   esac
   3242     for ac_exec_ext in '' $ac_executable_extensions; do
   3243   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3244     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3245     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3246     break 2
   3247   fi
   3248 done
   3249   done
   3250 IFS=$as_save_IFS
   3251 
   3252 fi ;;
   3253 esac
   3254 fi
   3255 CC=$ac_cv_prog_CC
   3256 if test -n "$CC"; then
   3257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3258 printf "%s\n" "$CC" >&6; }
   3259 else
   3260   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3261 printf "%s\n" "no" >&6; }
   3262 fi
   3263 
   3264 
   3265   fi
   3266 fi
   3267 if test -z "$CC"; then
   3268   # Extract the first word of "cc", so it can be a program name with args.
   3269 set dummy cc; ac_word=$2
   3270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3271 printf %s "checking for $ac_word... " >&6; }
   3272 if test ${ac_cv_prog_CC+y}
   3273 then :
   3274   printf %s "(cached) " >&6
   3275 else case e in #(
   3276   e) if test -n "$CC"; then
   3277   ac_cv_prog_CC="$CC" # Let the user override the test.
   3278 else
   3279   ac_prog_rejected=no
   3280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3281 for as_dir in $PATH
   3282 do
   3283   IFS=$as_save_IFS
   3284   case $as_dir in #(((
   3285     '') as_dir=./ ;;
   3286     */) ;;
   3287     *) as_dir=$as_dir/ ;;
   3288   esac
   3289     for ac_exec_ext in '' $ac_executable_extensions; do
   3290   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3291     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3292        ac_prog_rejected=yes
   3293        continue
   3294      fi
   3295     ac_cv_prog_CC="cc"
   3296     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3297     break 2
   3298   fi
   3299 done
   3300   done
   3301 IFS=$as_save_IFS
   3302 
   3303 if test $ac_prog_rejected = yes; then
   3304   # We found a bogon in the path, so make sure we never use it.
   3305   set dummy $ac_cv_prog_CC
   3306   shift
   3307   if test $# != 0; then
   3308     # We chose a different compiler from the bogus one.
   3309     # However, it has the same basename, so the bogon will be chosen
   3310     # first if we set CC to just the basename; use the full file name.
   3311     shift
   3312     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3313   fi
   3314 fi
   3315 fi ;;
   3316 esac
   3317 fi
   3318 CC=$ac_cv_prog_CC
   3319 if test -n "$CC"; then
   3320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3321 printf "%s\n" "$CC" >&6; }
   3322 else
   3323   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3324 printf "%s\n" "no" >&6; }
   3325 fi
   3326 
   3327 
   3328 fi
   3329 if test -z "$CC"; then
   3330   if test -n "$ac_tool_prefix"; then
   3331   for ac_prog in cl.exe
   3332   do
   3333     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3334 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3336 printf %s "checking for $ac_word... " >&6; }
   3337 if test ${ac_cv_prog_CC+y}
   3338 then :
   3339   printf %s "(cached) " >&6
   3340 else case e in #(
   3341   e) if test -n "$CC"; then
   3342   ac_cv_prog_CC="$CC" # Let the user override the test.
   3343 else
   3344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3345 for as_dir in $PATH
   3346 do
   3347   IFS=$as_save_IFS
   3348   case $as_dir in #(((
   3349     '') as_dir=./ ;;
   3350     */) ;;
   3351     *) as_dir=$as_dir/ ;;
   3352   esac
   3353     for ac_exec_ext in '' $ac_executable_extensions; do
   3354   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3355     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3356     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3357     break 2
   3358   fi
   3359 done
   3360   done
   3361 IFS=$as_save_IFS
   3362 
   3363 fi ;;
   3364 esac
   3365 fi
   3366 CC=$ac_cv_prog_CC
   3367 if test -n "$CC"; then
   3368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3369 printf "%s\n" "$CC" >&6; }
   3370 else
   3371   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3372 printf "%s\n" "no" >&6; }
   3373 fi
   3374 
   3375 
   3376     test -n "$CC" && break
   3377   done
   3378 fi
   3379 if test -z "$CC"; then
   3380   ac_ct_CC=$CC
   3381   for ac_prog in cl.exe
   3382 do
   3383   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3384 set dummy $ac_prog; ac_word=$2
   3385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3386 printf %s "checking for $ac_word... " >&6; }
   3387 if test ${ac_cv_prog_ac_ct_CC+y}
   3388 then :
   3389   printf %s "(cached) " >&6
   3390 else case e in #(
   3391   e) if test -n "$ac_ct_CC"; then
   3392   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3393 else
   3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3395 for as_dir in $PATH
   3396 do
   3397   IFS=$as_save_IFS
   3398   case $as_dir in #(((
   3399     '') as_dir=./ ;;
   3400     */) ;;
   3401     *) as_dir=$as_dir/ ;;
   3402   esac
   3403     for ac_exec_ext in '' $ac_executable_extensions; do
   3404   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3405     ac_cv_prog_ac_ct_CC="$ac_prog"
   3406     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3407     break 2
   3408   fi
   3409 done
   3410   done
   3411 IFS=$as_save_IFS
   3412 
   3413 fi ;;
   3414 esac
   3415 fi
   3416 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3417 if test -n "$ac_ct_CC"; then
   3418   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3419 printf "%s\n" "$ac_ct_CC" >&6; }
   3420 else
   3421   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3422 printf "%s\n" "no" >&6; }
   3423 fi
   3424 
   3425 
   3426   test -n "$ac_ct_CC" && break
   3427 done
   3428 
   3429   if test "x$ac_ct_CC" = x; then
   3430     CC=""
   3431   else
   3432     case $cross_compiling:$ac_tool_warned in
   3433 yes:)
   3434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3435 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3436 ac_tool_warned=yes ;;
   3437 esac
   3438     CC=$ac_ct_CC
   3439   fi
   3440 fi
   3441 
   3442 fi
   3443 if test -z "$CC"; then
   3444   if test -n "$ac_tool_prefix"; then
   3445   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3446 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3448 printf %s "checking for $ac_word... " >&6; }
   3449 if test ${ac_cv_prog_CC+y}
   3450 then :
   3451   printf %s "(cached) " >&6
   3452 else case e in #(
   3453   e) if test -n "$CC"; then
   3454   ac_cv_prog_CC="$CC" # Let the user override the test.
   3455 else
   3456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3457 for as_dir in $PATH
   3458 do
   3459   IFS=$as_save_IFS
   3460   case $as_dir in #(((
   3461     '') as_dir=./ ;;
   3462     */) ;;
   3463     *) as_dir=$as_dir/ ;;
   3464   esac
   3465     for ac_exec_ext in '' $ac_executable_extensions; do
   3466   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3467     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3468     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3469     break 2
   3470   fi
   3471 done
   3472   done
   3473 IFS=$as_save_IFS
   3474 
   3475 fi ;;
   3476 esac
   3477 fi
   3478 CC=$ac_cv_prog_CC
   3479 if test -n "$CC"; then
   3480   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3481 printf "%s\n" "$CC" >&6; }
   3482 else
   3483   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3484 printf "%s\n" "no" >&6; }
   3485 fi
   3486 
   3487 
   3488 fi
   3489 if test -z "$ac_cv_prog_CC"; then
   3490   ac_ct_CC=$CC
   3491   # Extract the first word of "clang", so it can be a program name with args.
   3492 set dummy clang; ac_word=$2
   3493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3494 printf %s "checking for $ac_word... " >&6; }
   3495 if test ${ac_cv_prog_ac_ct_CC+y}
   3496 then :
   3497   printf %s "(cached) " >&6
   3498 else case e in #(
   3499   e) if test -n "$ac_ct_CC"; then
   3500   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3501 else
   3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3503 for as_dir in $PATH
   3504 do
   3505   IFS=$as_save_IFS
   3506   case $as_dir in #(((
   3507     '') as_dir=./ ;;
   3508     */) ;;
   3509     *) as_dir=$as_dir/ ;;
   3510   esac
   3511     for ac_exec_ext in '' $ac_executable_extensions; do
   3512   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3513     ac_cv_prog_ac_ct_CC="clang"
   3514     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3515     break 2
   3516   fi
   3517 done
   3518   done
   3519 IFS=$as_save_IFS
   3520 
   3521 fi ;;
   3522 esac
   3523 fi
   3524 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3525 if test -n "$ac_ct_CC"; then
   3526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3527 printf "%s\n" "$ac_ct_CC" >&6; }
   3528 else
   3529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3530 printf "%s\n" "no" >&6; }
   3531 fi
   3532 
   3533   if test "x$ac_ct_CC" = x; then
   3534     CC=""
   3535   else
   3536     case $cross_compiling:$ac_tool_warned in
   3537 yes:)
   3538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3539 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3540 ac_tool_warned=yes ;;
   3541 esac
   3542     CC=$ac_ct_CC
   3543   fi
   3544 else
   3545   CC="$ac_cv_prog_CC"
   3546 fi
   3547 
   3548 fi
   3549 
   3550 
   3551 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3552 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3553 as_fn_error $? "no acceptable C compiler found in \$PATH
   3554 See 'config.log' for more details" "$LINENO" 5; }
   3555 
   3556 # Provide some information about the compiler.
   3557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3558 set X $ac_compile
   3559 ac_compiler=$2
   3560 for ac_option in --version -v -V -qversion -version; do
   3561   { { ac_try="$ac_compiler $ac_option >&5"
   3562 case "(($ac_try" in
   3563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3564   *) ac_try_echo=$ac_try;;
   3565 esac
   3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3567 printf "%s\n" "$ac_try_echo"; } >&5
   3568   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3569   ac_status=$?
   3570   if test -s conftest.err; then
   3571     sed '10a\
   3572 ... rest of stderr output deleted ...
   3573          10q' conftest.err >conftest.er1
   3574     cat conftest.er1 >&5
   3575   fi
   3576   rm -f conftest.er1 conftest.err
   3577   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3578   test $ac_status = 0; }
   3579 done
   3580 
   3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3582 /* end confdefs.h.  */
   3583 
   3584 int
   3585 main (void)
   3586 {
   3587 
   3588   ;
   3589   return 0;
   3590 }
   3591 _ACEOF
   3592 ac_clean_files_save=$ac_clean_files
   3593 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3594 # Try to create an executable without -o first, disregard a.out.
   3595 # It will help us diagnose broken compilers, and finding out an intuition
   3596 # of exeext.
   3597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3598 printf %s "checking whether the C compiler works... " >&6; }
   3599 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3600 
   3601 # The possible output files:
   3602 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3603 
   3604 ac_rmfiles=
   3605 for ac_file in $ac_files
   3606 do
   3607   case $ac_file in
   3608     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3609     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3610   esac
   3611 done
   3612 rm -f $ac_rmfiles
   3613 
   3614 if { { ac_try="$ac_link_default"
   3615 case "(($ac_try" in
   3616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3617   *) ac_try_echo=$ac_try;;
   3618 esac
   3619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3620 printf "%s\n" "$ac_try_echo"; } >&5
   3621   (eval "$ac_link_default") 2>&5
   3622   ac_status=$?
   3623   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3624   test $ac_status = 0; }
   3625 then :
   3626   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3627 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3628 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3629 # so that the user can short-circuit this test for compilers unknown to
   3630 # Autoconf.
   3631 for ac_file in $ac_files ''
   3632 do
   3633   test -f "$ac_file" || continue
   3634   case $ac_file in
   3635     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3636 	;;
   3637     [ab].out )
   3638 	# We found the default executable, but exeext='' is most
   3639 	# certainly right.
   3640 	break;;
   3641     *.* )
   3642 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3643 	then :; else
   3644 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3645 	fi
   3646 	# We set ac_cv_exeext here because the later test for it is not
   3647 	# safe: cross compilers may not add the suffix if given an '-o'
   3648 	# argument, so we may need to know it at that point already.
   3649 	# Even if this section looks crufty: it has the advantage of
   3650 	# actually working.
   3651 	break;;
   3652     * )
   3653 	break;;
   3654   esac
   3655 done
   3656 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3657 
   3658 else case e in #(
   3659   e) ac_file='' ;;
   3660 esac
   3661 fi
   3662 if test -z "$ac_file"
   3663 then :
   3664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3665 printf "%s\n" "no" >&6; }
   3666 printf "%s\n" "$as_me: failed program was:" >&5
   3667 sed 's/^/| /' conftest.$ac_ext >&5
   3668 
   3669 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3670 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3671 as_fn_error 77 "C compiler cannot create executables
   3672 See 'config.log' for more details" "$LINENO" 5; }
   3673 else case e in #(
   3674   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3675 printf "%s\n" "yes" >&6; } ;;
   3676 esac
   3677 fi
   3678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3679 printf %s "checking for C compiler default output file name... " >&6; }
   3680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3681 printf "%s\n" "$ac_file" >&6; }
   3682 ac_exeext=$ac_cv_exeext
   3683 
   3684 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3685 ac_clean_files=$ac_clean_files_save
   3686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3687 printf %s "checking for suffix of executables... " >&6; }
   3688 if { { ac_try="$ac_link"
   3689 case "(($ac_try" in
   3690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3691   *) ac_try_echo=$ac_try;;
   3692 esac
   3693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3694 printf "%s\n" "$ac_try_echo"; } >&5
   3695   (eval "$ac_link") 2>&5
   3696   ac_status=$?
   3697   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3698   test $ac_status = 0; }
   3699 then :
   3700   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3701 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3702 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3703 # 'rm'.
   3704 for ac_file in conftest.exe conftest conftest.*; do
   3705   test -f "$ac_file" || continue
   3706   case $ac_file in
   3707     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3708     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3709 	  break;;
   3710     * ) break;;
   3711   esac
   3712 done
   3713 else case e in #(
   3714   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3715 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3716 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3717 See 'config.log' for more details" "$LINENO" 5; } ;;
   3718 esac
   3719 fi
   3720 rm -f conftest conftest$ac_cv_exeext
   3721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3722 printf "%s\n" "$ac_cv_exeext" >&6; }
   3723 
   3724 rm -f conftest.$ac_ext
   3725 EXEEXT=$ac_cv_exeext
   3726 ac_exeext=$EXEEXT
   3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3728 /* end confdefs.h.  */
   3729 #include <stdio.h>
   3730 int
   3731 main (void)
   3732 {
   3733 FILE *f = fopen ("conftest.out", "w");
   3734  if (!f)
   3735   return 1;
   3736  return ferror (f) || fclose (f) != 0;
   3737 
   3738   ;
   3739   return 0;
   3740 }
   3741 _ACEOF
   3742 ac_clean_files="$ac_clean_files conftest.out"
   3743 # Check that the compiler produces executables we can run.  If not, either
   3744 # the compiler is broken, or we cross compile.
   3745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3746 printf %s "checking whether we are cross compiling... " >&6; }
   3747 if test "$cross_compiling" != yes; then
   3748   { { ac_try="$ac_link"
   3749 case "(($ac_try" in
   3750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3751   *) ac_try_echo=$ac_try;;
   3752 esac
   3753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3754 printf "%s\n" "$ac_try_echo"; } >&5
   3755   (eval "$ac_link") 2>&5
   3756   ac_status=$?
   3757   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3758   test $ac_status = 0; }
   3759   if { ac_try='./conftest$ac_cv_exeext'
   3760   { { case "(($ac_try" in
   3761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3762   *) ac_try_echo=$ac_try;;
   3763 esac
   3764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3765 printf "%s\n" "$ac_try_echo"; } >&5
   3766   (eval "$ac_try") 2>&5
   3767   ac_status=$?
   3768   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3769   test $ac_status = 0; }; }; then
   3770     cross_compiling=no
   3771   else
   3772     if test "$cross_compiling" = maybe; then
   3773 	cross_compiling=yes
   3774     else
   3775 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3776 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3777 as_fn_error 77 "cannot run C compiled programs.
   3778 If you meant to cross compile, use '--host'.
   3779 See 'config.log' for more details" "$LINENO" 5; }
   3780     fi
   3781   fi
   3782 fi
   3783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3784 printf "%s\n" "$cross_compiling" >&6; }
   3785 
   3786 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3787   conftest.o conftest.obj conftest.out
   3788 ac_clean_files=$ac_clean_files_save
   3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3790 printf %s "checking for suffix of object files... " >&6; }
   3791 if test ${ac_cv_objext+y}
   3792 then :
   3793   printf %s "(cached) " >&6
   3794 else case e in #(
   3795   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3796 /* end confdefs.h.  */
   3797 
   3798 int
   3799 main (void)
   3800 {
   3801 
   3802   ;
   3803   return 0;
   3804 }
   3805 _ACEOF
   3806 rm -f conftest.o conftest.obj
   3807 if { { ac_try="$ac_compile"
   3808 case "(($ac_try" in
   3809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3810   *) ac_try_echo=$ac_try;;
   3811 esac
   3812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3813 printf "%s\n" "$ac_try_echo"; } >&5
   3814   (eval "$ac_compile") 2>&5
   3815   ac_status=$?
   3816   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3817   test $ac_status = 0; }
   3818 then :
   3819   for ac_file in conftest.o conftest.obj conftest.*; do
   3820   test -f "$ac_file" || continue;
   3821   case $ac_file in
   3822     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3823     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3824        break;;
   3825   esac
   3826 done
   3827 else case e in #(
   3828   e) printf "%s\n" "$as_me: failed program was:" >&5
   3829 sed 's/^/| /' conftest.$ac_ext >&5
   3830 
   3831 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3832 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3833 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3834 See 'config.log' for more details" "$LINENO" 5; } ;;
   3835 esac
   3836 fi
   3837 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3838 esac
   3839 fi
   3840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3841 printf "%s\n" "$ac_cv_objext" >&6; }
   3842 OBJEXT=$ac_cv_objext
   3843 ac_objext=$OBJEXT
   3844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3845 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3846 if test ${ac_cv_c_compiler_gnu+y}
   3847 then :
   3848   printf %s "(cached) " >&6
   3849 else case e in #(
   3850   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3851 /* end confdefs.h.  */
   3852 
   3853 int
   3854 main (void)
   3855 {
   3856 #ifndef __GNUC__
   3857        choke me
   3858 #endif
   3859 
   3860   ;
   3861   return 0;
   3862 }
   3863 _ACEOF
   3864 if ac_fn_c_try_compile "$LINENO"
   3865 then :
   3866   ac_compiler_gnu=yes
   3867 else case e in #(
   3868   e) ac_compiler_gnu=no ;;
   3869 esac
   3870 fi
   3871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3872 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3873  ;;
   3874 esac
   3875 fi
   3876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3877 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3879 
   3880 if test $ac_compiler_gnu = yes; then
   3881   GCC=yes
   3882 else
   3883   GCC=
   3884 fi
   3885 ac_test_CFLAGS=${CFLAGS+y}
   3886 ac_save_CFLAGS=$CFLAGS
   3887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3888 printf %s "checking whether $CC accepts -g... " >&6; }
   3889 if test ${ac_cv_prog_cc_g+y}
   3890 then :
   3891   printf %s "(cached) " >&6
   3892 else case e in #(
   3893   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3894    ac_c_werror_flag=yes
   3895    ac_cv_prog_cc_g=no
   3896    CFLAGS="-g"
   3897    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3898 /* end confdefs.h.  */
   3899 
   3900 int
   3901 main (void)
   3902 {
   3903 
   3904   ;
   3905   return 0;
   3906 }
   3907 _ACEOF
   3908 if ac_fn_c_try_compile "$LINENO"
   3909 then :
   3910   ac_cv_prog_cc_g=yes
   3911 else case e in #(
   3912   e) CFLAGS=""
   3913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3914 /* end confdefs.h.  */
   3915 
   3916 int
   3917 main (void)
   3918 {
   3919 
   3920   ;
   3921   return 0;
   3922 }
   3923 _ACEOF
   3924 if ac_fn_c_try_compile "$LINENO"
   3925 then :
   3926 
   3927 else case e in #(
   3928   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3929 	 CFLAGS="-g"
   3930 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3931 /* end confdefs.h.  */
   3932 
   3933 int
   3934 main (void)
   3935 {
   3936 
   3937   ;
   3938   return 0;
   3939 }
   3940 _ACEOF
   3941 if ac_fn_c_try_compile "$LINENO"
   3942 then :
   3943   ac_cv_prog_cc_g=yes
   3944 fi
   3945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3946 esac
   3947 fi
   3948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3949 esac
   3950 fi
   3951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3952    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3953 esac
   3954 fi
   3955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3956 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3957 if test $ac_test_CFLAGS; then
   3958   CFLAGS=$ac_save_CFLAGS
   3959 elif test $ac_cv_prog_cc_g = yes; then
   3960   if test "$GCC" = yes; then
   3961     CFLAGS="-g -O2"
   3962   else
   3963     CFLAGS="-g"
   3964   fi
   3965 else
   3966   if test "$GCC" = yes; then
   3967     CFLAGS="-O2"
   3968   else
   3969     CFLAGS=
   3970   fi
   3971 fi
   3972 ac_prog_cc_stdc=no
   3973 if test x$ac_prog_cc_stdc = xno
   3974 then :
   3975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3976 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3977 if test ${ac_cv_prog_cc_c11+y}
   3978 then :
   3979   printf %s "(cached) " >&6
   3980 else case e in #(
   3981   e) ac_cv_prog_cc_c11=no
   3982 ac_save_CC=$CC
   3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3984 /* end confdefs.h.  */
   3985 $ac_c_conftest_c11_program
   3986 _ACEOF
   3987 for ac_arg in '' -std=gnu11
   3988 do
   3989   CC="$ac_save_CC $ac_arg"
   3990   if ac_fn_c_try_compile "$LINENO"
   3991 then :
   3992   ac_cv_prog_cc_c11=$ac_arg
   3993 fi
   3994 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3995   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3996 done
   3997 rm -f conftest.$ac_ext
   3998 CC=$ac_save_CC ;;
   3999 esac
   4000 fi
   4001 
   4002 if test "x$ac_cv_prog_cc_c11" = xno
   4003 then :
   4004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4005 printf "%s\n" "unsupported" >&6; }
   4006 else case e in #(
   4007   e) if test "x$ac_cv_prog_cc_c11" = x
   4008 then :
   4009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4010 printf "%s\n" "none needed" >&6; }
   4011 else case e in #(
   4012   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4013 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4014      CC="$CC $ac_cv_prog_cc_c11" ;;
   4015 esac
   4016 fi
   4017   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4018   ac_prog_cc_stdc=c11 ;;
   4019 esac
   4020 fi
   4021 fi
   4022 if test x$ac_prog_cc_stdc = xno
   4023 then :
   4024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4025 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4026 if test ${ac_cv_prog_cc_c99+y}
   4027 then :
   4028   printf %s "(cached) " >&6
   4029 else case e in #(
   4030   e) ac_cv_prog_cc_c99=no
   4031 ac_save_CC=$CC
   4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4033 /* end confdefs.h.  */
   4034 $ac_c_conftest_c99_program
   4035 _ACEOF
   4036 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4037 do
   4038   CC="$ac_save_CC $ac_arg"
   4039   if ac_fn_c_try_compile "$LINENO"
   4040 then :
   4041   ac_cv_prog_cc_c99=$ac_arg
   4042 fi
   4043 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4044   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4045 done
   4046 rm -f conftest.$ac_ext
   4047 CC=$ac_save_CC ;;
   4048 esac
   4049 fi
   4050 
   4051 if test "x$ac_cv_prog_cc_c99" = xno
   4052 then :
   4053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4054 printf "%s\n" "unsupported" >&6; }
   4055 else case e in #(
   4056   e) if test "x$ac_cv_prog_cc_c99" = x
   4057 then :
   4058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4059 printf "%s\n" "none needed" >&6; }
   4060 else case e in #(
   4061   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4062 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4063      CC="$CC $ac_cv_prog_cc_c99" ;;
   4064 esac
   4065 fi
   4066   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4067   ac_prog_cc_stdc=c99 ;;
   4068 esac
   4069 fi
   4070 fi
   4071 if test x$ac_prog_cc_stdc = xno
   4072 then :
   4073   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4074 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4075 if test ${ac_cv_prog_cc_c89+y}
   4076 then :
   4077   printf %s "(cached) " >&6
   4078 else case e in #(
   4079   e) ac_cv_prog_cc_c89=no
   4080 ac_save_CC=$CC
   4081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4082 /* end confdefs.h.  */
   4083 $ac_c_conftest_c89_program
   4084 _ACEOF
   4085 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4086 do
   4087   CC="$ac_save_CC $ac_arg"
   4088   if ac_fn_c_try_compile "$LINENO"
   4089 then :
   4090   ac_cv_prog_cc_c89=$ac_arg
   4091 fi
   4092 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4093   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4094 done
   4095 rm -f conftest.$ac_ext
   4096 CC=$ac_save_CC ;;
   4097 esac
   4098 fi
   4099 
   4100 if test "x$ac_cv_prog_cc_c89" = xno
   4101 then :
   4102   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4103 printf "%s\n" "unsupported" >&6; }
   4104 else case e in #(
   4105   e) if test "x$ac_cv_prog_cc_c89" = x
   4106 then :
   4107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4108 printf "%s\n" "none needed" >&6; }
   4109 else case e in #(
   4110   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4111 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4112      CC="$CC $ac_cv_prog_cc_c89" ;;
   4113 esac
   4114 fi
   4115   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4116   ac_prog_cc_stdc=c89 ;;
   4117 esac
   4118 fi
   4119 fi
   4120 
   4121 ac_ext=c
   4122 ac_cpp='$CPP $CPPFLAGS'
   4123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4126 
   4127 
   4128   ac_ext=c
   4129 ac_cpp='$CPP $CPPFLAGS'
   4130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4134 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4135 if test ${am_cv_prog_cc_c_o+y}
   4136 then :
   4137   printf %s "(cached) " >&6
   4138 else case e in #(
   4139   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4140 /* end confdefs.h.  */
   4141 
   4142 int
   4143 main (void)
   4144 {
   4145 
   4146   ;
   4147   return 0;
   4148 }
   4149 _ACEOF
   4150   # Make sure it works both with $CC and with simple cc.
   4151   # Following AC_PROG_CC_C_O, we do the test twice because some
   4152   # compilers refuse to overwrite an existing .o file with -o,
   4153   # though they will create one.
   4154   am_cv_prog_cc_c_o=yes
   4155   for am_i in 1 2; do
   4156     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4157    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4158    ac_status=$?
   4159    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4160    (exit $ac_status); } \
   4161          && test -f conftest2.$ac_objext; then
   4162       : OK
   4163     else
   4164       am_cv_prog_cc_c_o=no
   4165       break
   4166     fi
   4167   done
   4168   rm -f core conftest*
   4169   unset am_i ;;
   4170 esac
   4171 fi
   4172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4173 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4174 if test "$am_cv_prog_cc_c_o" != yes; then
   4175    # Losing compiler, so override with the script.
   4176    # FIXME: It is wrong to rewrite CC.
   4177    # But if we don't then we get into trouble of one sort or another.
   4178    # A longer-term fix would be to have automake use am__CC in this case,
   4179    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4180    CC="$am_aux_dir/compile $CC"
   4181 fi
   4182 ac_ext=c
   4183 ac_cpp='$CPP $CPPFLAGS'
   4184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4187 
   4188 
   4189 
   4190 ac_header= ac_cache=
   4191 for ac_item in $ac_header_c_list
   4192 do
   4193   if test $ac_cache; then
   4194     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4195     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4196       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4197     fi
   4198     ac_header= ac_cache=
   4199   elif test $ac_header; then
   4200     ac_cache=$ac_item
   4201   else
   4202     ac_header=$ac_item
   4203   fi
   4204 done
   4205 
   4206 
   4207 
   4208 
   4209 
   4210 
   4211 
   4212 
   4213 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4214 then :
   4215 
   4216 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4217 
   4218 fi
   4219 
   4220 
   4221 
   4222 
   4223 
   4224 
   4225   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4226 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4227 if test ${ac_cv_safe_to_define___extensions__+y}
   4228 then :
   4229   printf %s "(cached) " >&6
   4230 else case e in #(
   4231   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4232 /* end confdefs.h.  */
   4233 
   4234 #         define __EXTENSIONS__ 1
   4235           $ac_includes_default
   4236 int
   4237 main (void)
   4238 {
   4239 
   4240   ;
   4241   return 0;
   4242 }
   4243 _ACEOF
   4244 if ac_fn_c_try_compile "$LINENO"
   4245 then :
   4246   ac_cv_safe_to_define___extensions__=yes
   4247 else case e in #(
   4248   e) ac_cv_safe_to_define___extensions__=no ;;
   4249 esac
   4250 fi
   4251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4252 esac
   4253 fi
   4254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4255 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   4256 
   4257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4258 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4259 if test ${ac_cv_should_define__xopen_source+y}
   4260 then :
   4261   printf %s "(cached) " >&6
   4262 else case e in #(
   4263   e) ac_cv_should_define__xopen_source=no
   4264     if test $ac_cv_header_wchar_h = yes
   4265 then :
   4266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4267 /* end confdefs.h.  */
   4268 
   4269           #include <wchar.h>
   4270           mbstate_t x;
   4271 int
   4272 main (void)
   4273 {
   4274 
   4275   ;
   4276   return 0;
   4277 }
   4278 _ACEOF
   4279 if ac_fn_c_try_compile "$LINENO"
   4280 then :
   4281 
   4282 else case e in #(
   4283   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4284 /* end confdefs.h.  */
   4285 
   4286             #define _XOPEN_SOURCE 500
   4287             #include <wchar.h>
   4288             mbstate_t x;
   4289 int
   4290 main (void)
   4291 {
   4292 
   4293   ;
   4294   return 0;
   4295 }
   4296 _ACEOF
   4297 if ac_fn_c_try_compile "$LINENO"
   4298 then :
   4299   ac_cv_should_define__xopen_source=yes
   4300 fi
   4301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4302 esac
   4303 fi
   4304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4305 fi ;;
   4306 esac
   4307 fi
   4308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4309 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4310 
   4311   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4312 
   4313   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4314 
   4315   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4316 
   4317   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4318 
   4319   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4320 
   4321   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4322 
   4323   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4324 
   4325   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4326 
   4327   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4328 
   4329   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4330 
   4331   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4332 
   4333   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4334 
   4335   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4336 
   4337   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4338 
   4339   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4340 
   4341   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4342 
   4343   if test $ac_cv_header_minix_config_h = yes
   4344 then :
   4345   MINIX=yes
   4346     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4347 
   4348     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4349 
   4350     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4351 
   4352 else case e in #(
   4353   e) MINIX= ;;
   4354 esac
   4355 fi
   4356   if test $ac_cv_safe_to_define___extensions__ = yes
   4357 then :
   4358   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4359 
   4360 fi
   4361   if test $ac_cv_should_define__xopen_source = yes
   4362 then :
   4363   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4364 
   4365 fi
   4366 
   4367 
   4368 
   4369 ac_config_headers="$ac_config_headers config.h"
   4370 
   4371 
   4372 # Initialize Automake
   4373 am__api_version='1.17'
   4374 
   4375 
   4376   # Find a good install program.  We prefer a C program (faster),
   4377 # so one script is as good as another.  But avoid the broken or
   4378 # incompatible versions:
   4379 # SysV /etc/install, /usr/sbin/install
   4380 # SunOS /usr/etc/install
   4381 # IRIX /sbin/install
   4382 # AIX /bin/install
   4383 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4384 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4385 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4386 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4387 # OS/2's system install, which has a completely different semantic
   4388 # ./install, which can be erroneously created by make from ./install.sh.
   4389 # Reject install programs that cannot install multiple files.
   4390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4391 printf %s "checking for a BSD-compatible install... " >&6; }
   4392 if test -z "$INSTALL"; then
   4393 if test ${ac_cv_path_install+y}
   4394 then :
   4395   printf %s "(cached) " >&6
   4396 else case e in #(
   4397   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4398 for as_dir in $PATH
   4399 do
   4400   IFS=$as_save_IFS
   4401   case $as_dir in #(((
   4402     '') as_dir=./ ;;
   4403     */) ;;
   4404     *) as_dir=$as_dir/ ;;
   4405   esac
   4406     # Account for fact that we put trailing slashes in our PATH walk.
   4407 case $as_dir in #((
   4408   ./ | /[cC]/* | \
   4409   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4410   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4411   /usr/ucb/* ) ;;
   4412   *)
   4413     # OSF1 and SCO ODT 3.0 have their own names for install.
   4414     # Don't use installbsd from OSF since it installs stuff as root
   4415     # by default.
   4416     for ac_prog in ginstall scoinst install; do
   4417       for ac_exec_ext in '' $ac_executable_extensions; do
   4418 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4419 	  if test $ac_prog = install &&
   4420 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4421 	    # AIX install.  It has an incompatible calling convention.
   4422 	    :
   4423 	  elif test $ac_prog = install &&
   4424 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4425 	    # program-specific install script used by HP pwplus--don't use.
   4426 	    :
   4427 	  else
   4428 	    rm -rf conftest.one conftest.two conftest.dir
   4429 	    echo one > conftest.one
   4430 	    echo two > conftest.two
   4431 	    mkdir conftest.dir
   4432 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4433 	      test -s conftest.one && test -s conftest.two &&
   4434 	      test -s conftest.dir/conftest.one &&
   4435 	      test -s conftest.dir/conftest.two
   4436 	    then
   4437 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4438 	      break 3
   4439 	    fi
   4440 	  fi
   4441 	fi
   4442       done
   4443     done
   4444     ;;
   4445 esac
   4446 
   4447   done
   4448 IFS=$as_save_IFS
   4449 
   4450 rm -rf conftest.one conftest.two conftest.dir
   4451  ;;
   4452 esac
   4453 fi
   4454   if test ${ac_cv_path_install+y}; then
   4455     INSTALL=$ac_cv_path_install
   4456   else
   4457     # As a last resort, use the slow shell script.  Don't cache a
   4458     # value for INSTALL within a source directory, because that will
   4459     # break other packages using the cache if that directory is
   4460     # removed, or if the value is a relative name.
   4461     INSTALL=$ac_install_sh
   4462   fi
   4463 fi
   4464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4465 printf "%s\n" "$INSTALL" >&6; }
   4466 
   4467 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4468 # It thinks the first close brace ends the variable substitution.
   4469 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4470 
   4471 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4472 
   4473 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4474 
   4475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   4476 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   4477 if test ${am_cv_sleep_fractional_seconds+y}
   4478 then :
   4479   printf %s "(cached) " >&6
   4480 else case e in #(
   4481   e) if sleep 0.001 2>/dev/null
   4482 then :
   4483   am_cv_sleep_fractional_seconds=yes
   4484 else case e in #(
   4485   e) am_cv_sleep_fractional_seconds=no ;;
   4486 esac
   4487 fi
   4488  ;;
   4489 esac
   4490 fi
   4491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   4492 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   4493 
   4494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   4495 printf %s "checking filesystem timestamp resolution... " >&6; }
   4496 if test ${am_cv_filesystem_timestamp_resolution+y}
   4497 then :
   4498   printf %s "(cached) " >&6
   4499 else case e in #(
   4500   e) # Default to the worst case.
   4501 am_cv_filesystem_timestamp_resolution=2
   4502 
   4503 # Only try to go finer than 1 sec if sleep can do it.
   4504 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   4505 # - 1 sec is not much of a win compared to 2 sec, and
   4506 # - it takes 2 seconds to perform the test whether 1 sec works.
   4507 #
   4508 # Instead, just use the default 2s on platforms that have 1s resolution,
   4509 # accept the extra 1s delay when using $sleep in the Automake tests, in
   4510 # exchange for not incurring the 2s delay for running the test for all
   4511 # packages.
   4512 #
   4513 am_try_resolutions=
   4514 if test "$am_cv_sleep_fractional_seconds" = yes; then
   4515   # Even a millisecond often causes a bunch of false positives,
   4516   # so just try a hundredth of a second. The time saved between .001 and
   4517   # .01 is not terribly consequential.
   4518   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   4519 fi
   4520 
   4521 # In order to catch current-generation FAT out, we must *modify* files
   4522 # that already exist; the *creation* timestamp is finer.  Use names
   4523 # that make ls -t sort them differently when they have equal
   4524 # timestamps than when they have distinct timestamps, keeping
   4525 # in mind that ls -t prints the *newest* file first.
   4526 rm -f conftest.ts?
   4527 : > conftest.ts1
   4528 : > conftest.ts2
   4529 : > conftest.ts3
   4530 
   4531 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   4532 # clobber the current shell's arguments. (Outer-level square brackets
   4533 # are removed by m4; they're present so that m4 does not expand
   4534 # <dollar><star>; be careful, easy to get confused.)
   4535 if (
   4536      set X `ls -t conftest.ts[12]` &&
   4537      {
   4538        test "$*" != "X conftest.ts1 conftest.ts2" ||
   4539        test "$*" != "X conftest.ts2 conftest.ts1";
   4540      }
   4541 ); then :; else
   4542   # If neither matched, then we have a broken ls.  This can happen
   4543   # if, for instance, CONFIG_SHELL is bash and it inherits a
   4544   # broken ls alias from the environment.  This has actually
   4545   # happened.  Such a system could not be considered "sane".
   4546   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   4547   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4548 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4549 as_fn_error $? "ls -t produces unexpected output.
   4550 Make sure there is not a broken ls alias in your environment.
   4551 See 'config.log' for more details" "$LINENO" 5; }
   4552 fi
   4553 
   4554 for am_try_res in $am_try_resolutions; do
   4555   # Any one fine-grained sleep might happen to cross the boundary
   4556   # between two values of a coarser actual resolution, but if we do
   4557   # two fine-grained sleeps in a row, at least one of them will fall
   4558   # entirely within a coarse interval.
   4559   echo alpha > conftest.ts1
   4560   sleep $am_try_res
   4561   echo beta > conftest.ts2
   4562   sleep $am_try_res
   4563   echo gamma > conftest.ts3
   4564 
   4565   # We assume that 'ls -t' will make use of high-resolution
   4566   # timestamps if the operating system supports them at all.
   4567   if (set X `ls -t conftest.ts?` &&
   4568       test "$2" = conftest.ts3 &&
   4569       test "$3" = conftest.ts2 &&
   4570       test "$4" = conftest.ts1); then
   4571     #
   4572     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   4573     # because we don't need to test make.
   4574     make_ok=true
   4575     if test $am_try_res != 1; then
   4576       # But if we've succeeded so far with a subsecond resolution, we
   4577       # have one more thing to check: make. It can happen that
   4578       # everything else supports the subsecond mtimes, but make doesn't;
   4579       # notably on macOS, which ships make 3.81 from 2006 (the last one
   4580       # released under GPLv2). https://bugs.gnu.org/68808
   4581       #
   4582       # We test $MAKE if it is defined in the environment, else "make".
   4583       # It might get overridden later, but our hope is that in practice
   4584       # it does not matter: it is the system "make" which is (by far)
   4585       # the most likely to be broken, whereas if the user overrides it,
   4586       # probably they did so with a better, or at least not worse, make.
   4587       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   4588       #
   4589       # Create a Makefile (real tab character here):
   4590       rm -f conftest.mk
   4591       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   4592       echo '	touch conftest.ts2' >>conftest.mk
   4593       #
   4594       # Now, running
   4595       #   touch conftest.ts1; touch conftest.ts2; make
   4596       # should touch ts1 because ts2 is newer. This could happen by luck,
   4597       # but most often, it will fail if make's support is insufficient. So
   4598       # test for several consecutive successes.
   4599       #
   4600       # (We reuse conftest.ts[12] because we still want to modify existing
   4601       # files, not create new ones, per above.)
   4602       n=0
   4603       make=${MAKE-make}
   4604       until test $n -eq 3; do
   4605         echo one > conftest.ts1
   4606         sleep $am_try_res
   4607         echo two > conftest.ts2 # ts2 should now be newer than ts1
   4608         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   4609           make_ok=false
   4610           break # out of $n loop
   4611         fi
   4612         n=`expr $n + 1`
   4613       done
   4614     fi
   4615     #
   4616     if $make_ok; then
   4617       # Everything we know to check worked out, so call this resolution good.
   4618       am_cv_filesystem_timestamp_resolution=$am_try_res
   4619       break # out of $am_try_res loop
   4620     fi
   4621     # Otherwise, we'll go on to check the next resolution.
   4622   fi
   4623 done
   4624 rm -f conftest.ts?
   4625 # (end _am_filesystem_timestamp_resolution)
   4626  ;;
   4627 esac
   4628 fi
   4629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   4630 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   4631 
   4632 # This check should not be cached, as it may vary across builds of
   4633 # different projects.
   4634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4635 printf %s "checking whether build environment is sane... " >&6; }
   4636 # Reject unsafe characters in $srcdir or the absolute working directory
   4637 # name.  Accept space and tab only in the latter.
   4638 am_lf='
   4639 '
   4640 case `pwd` in
   4641   *[\\\"\#\$\&\'\`$am_lf]*)
   4642     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4643 esac
   4644 case $srcdir in
   4645   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4646     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4647 esac
   4648 
   4649 # Do 'set' in a subshell so we don't clobber the current shell's
   4650 # arguments.  Must try -L first in case configure is actually a
   4651 # symlink; some systems play weird games with the mod time of symlinks
   4652 # (eg FreeBSD returns the mod time of the symlink's containing
   4653 # directory).
   4654 am_build_env_is_sane=no
   4655 am_has_slept=no
   4656 rm -f conftest.file
   4657 for am_try in 1 2; do
   4658   echo "timestamp, slept: $am_has_slept" > conftest.file
   4659   if (
   4660     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4661     if test "$*" = "X"; then
   4662       # -L didn't work.
   4663       set X `ls -t "$srcdir/configure" conftest.file`
   4664     fi
   4665     test "$2" = conftest.file
   4666   ); then
   4667     am_build_env_is_sane=yes
   4668     break
   4669   fi
   4670   # Just in case.
   4671   sleep "$am_cv_filesystem_timestamp_resolution"
   4672   am_has_slept=yes
   4673 done
   4674 
   4675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   4676 printf "%s\n" "$am_build_env_is_sane" >&6; }
   4677 if test "$am_build_env_is_sane" = no; then
   4678   as_fn_error $? "newly created file is older than distributed files!
   4679 Check your system clock" "$LINENO" 5
   4680 fi
   4681 
   4682 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4683 # generated files are strictly newer.
   4684 am_sleep_pid=
   4685 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   4686 then :
   4687 
   4688 else case e in #(
   4689   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   4690   am_sleep_pid=$!
   4691  ;;
   4692 esac
   4693 fi
   4694 
   4695 rm -f conftest.file
   4696 
   4697 test "$program_prefix" != NONE &&
   4698   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4699 # Use a double $ so make ignores it.
   4700 test "$program_suffix" != NONE &&
   4701   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4702 # Double any \ or $.
   4703 # By default was 's,x,x', remove it if useless.
   4704 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4705 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4706 
   4707 
   4708   if test x"${MISSING+set}" != xset; then
   4709   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4710 fi
   4711 # Use eval to expand $SHELL
   4712 if eval "$MISSING --is-lightweight"; then
   4713   am_missing_run="$MISSING "
   4714 else
   4715   am_missing_run=
   4716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4717 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4718 fi
   4719 
   4720 if test x"${install_sh+set}" != xset; then
   4721   case $am_aux_dir in
   4722   *\ * | *\	*)
   4723     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4724   *)
   4725     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4726   esac
   4727 fi
   4728 
   4729 # Installed binaries are usually stripped using 'strip' when the user
   4730 # run "make install-strip".  However 'strip' might not be the right
   4731 # tool to use in cross-compilation environments, therefore Automake
   4732 # will honor the 'STRIP' environment variable to overrule this program.
   4733 if test "$cross_compiling" != no; then
   4734   if test -n "$ac_tool_prefix"; then
   4735   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4736 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4738 printf %s "checking for $ac_word... " >&6; }
   4739 if test ${ac_cv_prog_STRIP+y}
   4740 then :
   4741   printf %s "(cached) " >&6
   4742 else case e in #(
   4743   e) if test -n "$STRIP"; then
   4744   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4745 else
   4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4747 for as_dir in $PATH
   4748 do
   4749   IFS=$as_save_IFS
   4750   case $as_dir in #(((
   4751     '') as_dir=./ ;;
   4752     */) ;;
   4753     *) as_dir=$as_dir/ ;;
   4754   esac
   4755     for ac_exec_ext in '' $ac_executable_extensions; do
   4756   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4757     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4758     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4759     break 2
   4760   fi
   4761 done
   4762   done
   4763 IFS=$as_save_IFS
   4764 
   4765 fi ;;
   4766 esac
   4767 fi
   4768 STRIP=$ac_cv_prog_STRIP
   4769 if test -n "$STRIP"; then
   4770   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4771 printf "%s\n" "$STRIP" >&6; }
   4772 else
   4773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4774 printf "%s\n" "no" >&6; }
   4775 fi
   4776 
   4777 
   4778 fi
   4779 if test -z "$ac_cv_prog_STRIP"; then
   4780   ac_ct_STRIP=$STRIP
   4781   # Extract the first word of "strip", so it can be a program name with args.
   4782 set dummy strip; ac_word=$2
   4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4784 printf %s "checking for $ac_word... " >&6; }
   4785 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4786 then :
   4787   printf %s "(cached) " >&6
   4788 else case e in #(
   4789   e) if test -n "$ac_ct_STRIP"; then
   4790   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4791 else
   4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4793 for as_dir in $PATH
   4794 do
   4795   IFS=$as_save_IFS
   4796   case $as_dir in #(((
   4797     '') as_dir=./ ;;
   4798     */) ;;
   4799     *) as_dir=$as_dir/ ;;
   4800   esac
   4801     for ac_exec_ext in '' $ac_executable_extensions; do
   4802   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4803     ac_cv_prog_ac_ct_STRIP="strip"
   4804     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4805     break 2
   4806   fi
   4807 done
   4808   done
   4809 IFS=$as_save_IFS
   4810 
   4811 fi ;;
   4812 esac
   4813 fi
   4814 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4815 if test -n "$ac_ct_STRIP"; then
   4816   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4817 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4818 else
   4819   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4820 printf "%s\n" "no" >&6; }
   4821 fi
   4822 
   4823   if test "x$ac_ct_STRIP" = x; then
   4824     STRIP=":"
   4825   else
   4826     case $cross_compiling:$ac_tool_warned in
   4827 yes:)
   4828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4829 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4830 ac_tool_warned=yes ;;
   4831 esac
   4832     STRIP=$ac_ct_STRIP
   4833   fi
   4834 else
   4835   STRIP="$ac_cv_prog_STRIP"
   4836 fi
   4837 
   4838 fi
   4839 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4840 
   4841 
   4842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4843 printf %s "checking for a race-free mkdir -p... " >&6; }
   4844 if test -z "$MKDIR_P"; then
   4845   if test ${ac_cv_path_mkdir+y}
   4846 then :
   4847   printf %s "(cached) " >&6
   4848 else case e in #(
   4849   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4850 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4851 do
   4852   IFS=$as_save_IFS
   4853   case $as_dir in #(((
   4854     '') as_dir=./ ;;
   4855     */) ;;
   4856     *) as_dir=$as_dir/ ;;
   4857   esac
   4858     for ac_prog in mkdir gmkdir; do
   4859 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4860 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4861 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4862 	     'mkdir ('*'coreutils) '* | \
   4863 	     *'BusyBox '* | \
   4864 	     'mkdir (fileutils) '4.1*)
   4865 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4866 	       break 3;;
   4867 	   esac
   4868 	 done
   4869        done
   4870   done
   4871 IFS=$as_save_IFS
   4872  ;;
   4873 esac
   4874 fi
   4875 
   4876   test -d ./--version && rmdir ./--version
   4877   if test ${ac_cv_path_mkdir+y}; then
   4878     MKDIR_P="$ac_cv_path_mkdir -p"
   4879   else
   4880     # As a last resort, use plain mkdir -p,
   4881     # in the hope it doesn't have the bugs of ancient mkdir.
   4882     MKDIR_P='mkdir -p'
   4883   fi
   4884 fi
   4885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4886 printf "%s\n" "$MKDIR_P" >&6; }
   4887 
   4888 for ac_prog in gawk mawk nawk awk
   4889 do
   4890   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4891 set dummy $ac_prog; ac_word=$2
   4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4893 printf %s "checking for $ac_word... " >&6; }
   4894 if test ${ac_cv_prog_AWK+y}
   4895 then :
   4896   printf %s "(cached) " >&6
   4897 else case e in #(
   4898   e) if test -n "$AWK"; then
   4899   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4900 else
   4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4902 for as_dir in $PATH
   4903 do
   4904   IFS=$as_save_IFS
   4905   case $as_dir in #(((
   4906     '') as_dir=./ ;;
   4907     */) ;;
   4908     *) as_dir=$as_dir/ ;;
   4909   esac
   4910     for ac_exec_ext in '' $ac_executable_extensions; do
   4911   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4912     ac_cv_prog_AWK="$ac_prog"
   4913     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4914     break 2
   4915   fi
   4916 done
   4917   done
   4918 IFS=$as_save_IFS
   4919 
   4920 fi ;;
   4921 esac
   4922 fi
   4923 AWK=$ac_cv_prog_AWK
   4924 if test -n "$AWK"; then
   4925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4926 printf "%s\n" "$AWK" >&6; }
   4927 else
   4928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4929 printf "%s\n" "no" >&6; }
   4930 fi
   4931 
   4932 
   4933   test -n "$AWK" && break
   4934 done
   4935 
   4936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4937 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4938 set x ${MAKE-make}
   4939 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4940 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4941 then :
   4942   printf %s "(cached) " >&6
   4943 else case e in #(
   4944   e) cat >conftest.make <<\_ACEOF
   4945 SHELL = /bin/sh
   4946 all:
   4947 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4948 _ACEOF
   4949 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4950 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4951   *@@@%%%=?*=@@@%%%*)
   4952     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4953   *)
   4954     eval ac_cv_prog_make_${ac_make}_set=no;;
   4955 esac
   4956 rm -f conftest.make ;;
   4957 esac
   4958 fi
   4959 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4961 printf "%s\n" "yes" >&6; }
   4962   SET_MAKE=
   4963 else
   4964   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4965 printf "%s\n" "no" >&6; }
   4966   SET_MAKE="MAKE=${MAKE-make}"
   4967 fi
   4968 
   4969 rm -rf .tst 2>/dev/null
   4970 mkdir .tst 2>/dev/null
   4971 if test -d .tst; then
   4972   am__leading_dot=.
   4973 else
   4974   am__leading_dot=_
   4975 fi
   4976 rmdir .tst 2>/dev/null
   4977 
   4978 DEPDIR="${am__leading_dot}deps"
   4979 
   4980 ac_config_commands="$ac_config_commands depfiles"
   4981 
   4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4983 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4984 cat > confinc.mk << 'END'
   4985 am__doit:
   4986 	@echo this is the am__doit target >confinc.out
   4987 .PHONY: am__doit
   4988 END
   4989 am__include="#"
   4990 am__quote=
   4991 # BSD make does it like this.
   4992 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4993 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4994 echo 'include confinc.mk # ignored' > confmf.GNU
   4995 _am_result=no
   4996 for s in GNU BSD; do
   4997   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4998    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4999    ac_status=$?
   5000    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5001    (exit $ac_status); }
   5002   case $?:`cat confinc.out 2>/dev/null` in #(
   5003   '0:this is the am__doit target') :
   5004     case $s in #(
   5005   BSD) :
   5006     am__include='.include' am__quote='"' ;; #(
   5007   *) :
   5008     am__include='include' am__quote='' ;;
   5009 esac ;; #(
   5010   *) :
   5011      ;;
   5012 esac
   5013   if test "$am__include" != "#"; then
   5014     _am_result="yes ($s style)"
   5015     break
   5016   fi
   5017 done
   5018 rm -f confinc.* confmf.*
   5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   5020 printf "%s\n" "${_am_result}" >&6; }
   5021 
   5022 # Check whether --enable-dependency-tracking was given.
   5023 if test ${enable_dependency_tracking+y}
   5024 then :
   5025   enableval=$enable_dependency_tracking;
   5026 fi
   5027 
   5028 if test "x$enable_dependency_tracking" != xno; then
   5029   am_depcomp="$ac_aux_dir/depcomp"
   5030   AMDEPBACKSLASH='\'
   5031   am__nodep='_no'
   5032 fi
   5033  if test "x$enable_dependency_tracking" != xno; then
   5034   AMDEP_TRUE=
   5035   AMDEP_FALSE='#'
   5036 else
   5037   AMDEP_TRUE='#'
   5038   AMDEP_FALSE=
   5039 fi
   5040 
   5041 
   5042 AM_DEFAULT_VERBOSITY=1
   5043 # Check whether --enable-silent-rules was given.
   5044 if test ${enable_silent_rules+y}
   5045 then :
   5046   enableval=$enable_silent_rules;
   5047 fi
   5048 
   5049 am_make=${MAKE-make}
   5050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   5051 printf %s "checking whether $am_make supports nested variables... " >&6; }
   5052 if test ${am_cv_make_support_nested_variables+y}
   5053 then :
   5054   printf %s "(cached) " >&6
   5055 else case e in #(
   5056   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   5057 BAR0=false
   5058 BAR1=true
   5059 V=1
   5060 am__doit:
   5061 	@$(TRUE)
   5062 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   5063   am_cv_make_support_nested_variables=yes
   5064 else
   5065   am_cv_make_support_nested_variables=no
   5066 fi ;;
   5067 esac
   5068 fi
   5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   5070 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   5071 AM_BACKSLASH='\'
   5072 
   5073 am__rm_f_notfound=
   5074 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   5075 then :
   5076 
   5077 else case e in #(
   5078   e) am__rm_f_notfound='""' ;;
   5079 esac
   5080 fi
   5081 
   5082 
   5083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   5084 printf %s "checking xargs -n works... " >&6; }
   5085 if test ${am_cv_xargs_n_works+y}
   5086 then :
   5087   printf %s "(cached) " >&6
   5088 else case e in #(
   5089   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   5090 3"
   5091 then :
   5092   am_cv_xargs_n_works=yes
   5093 else case e in #(
   5094   e) am_cv_xargs_n_works=no ;;
   5095 esac
   5096 fi ;;
   5097 esac
   5098 fi
   5099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   5100 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   5101 if test "$am_cv_xargs_n_works" = yes
   5102 then :
   5103   am__xargs_n='xargs -n'
   5104 else case e in #(
   5105   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   5106  ;;
   5107 esac
   5108 fi
   5109 
   5110 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   5111   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   5112   # is not polluted with repeated "-I."
   5113   am__isrc=' -I$(srcdir)'
   5114   # test to see if srcdir already configured
   5115   if test -f $srcdir/config.status; then
   5116     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   5117   fi
   5118 fi
   5119 
   5120 # test whether we have cygpath
   5121 if test -z "$CYGPATH_W"; then
   5122   if (cygpath --version) >/dev/null 2>/dev/null; then
   5123     CYGPATH_W='cygpath -w'
   5124   else
   5125     CYGPATH_W=echo
   5126   fi
   5127 fi
   5128 
   5129 
   5130 # Define the identity of the package.
   5131  PACKAGE='xdm'
   5132  VERSION='1.1.17'
   5133 
   5134 
   5135 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   5136 
   5137 
   5138 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   5139 
   5140 # Some tools Automake needs.
   5141 
   5142 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   5143 
   5144 
   5145 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   5146 
   5147 
   5148 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   5149 
   5150 
   5151 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   5152 
   5153 
   5154 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   5155 
   5156 # For better backward compatibility.  To be removed once Automake 1.9.x
   5157 # dies out for good.  For more background, see:
   5158 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   5159 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   5160 mkdir_p='$(MKDIR_P)'
   5161 
   5162 # We need awk for the "check" target (and possibly the TAP driver).  The
   5163 # system "awk" is bad on some platforms.
   5164 # Always define AMTAR for backward compatibility.  Yes, it's still used
   5165 # in the wild :-(  We should find a proper way to deprecate it ...
   5166 AMTAR='$${TAR-tar}'
   5167 
   5168 
   5169 # We'll loop over all known methods to create a tar archive until one works.
   5170 _am_tools='gnutar  pax cpio none'
   5171 
   5172 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 depcc="$CC"   am_compiler_list=
   5179 
   5180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5181 printf %s "checking dependency style of $depcc... " >&6; }
   5182 if test ${am_cv_CC_dependencies_compiler_type+y}
   5183 then :
   5184   printf %s "(cached) " >&6
   5185 else case e in #(
   5186   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5187   # We make a subdir and do the tests there.  Otherwise we can end up
   5188   # making bogus files that we don't know about and never remove.  For
   5189   # instance it was reported that on HP-UX the gcc test will end up
   5190   # making a dummy file named 'D' -- because '-MD' means "put the output
   5191   # in D".
   5192   rm -rf conftest.dir
   5193   mkdir conftest.dir
   5194   # Copy depcomp to subdir because otherwise we won't find it if we're
   5195   # using a relative directory.
   5196   cp "$am_depcomp" conftest.dir
   5197   cd conftest.dir
   5198   # We will build objects and dependencies in a subdirectory because
   5199   # it helps to detect inapplicable dependency modes.  For instance
   5200   # both Tru64's cc and ICC support -MD to output dependencies as a
   5201   # side effect of compilation, but ICC will put the dependencies in
   5202   # the current directory while Tru64 will put them in the object
   5203   # directory.
   5204   mkdir sub
   5205 
   5206   am_cv_CC_dependencies_compiler_type=none
   5207   if test "$am_compiler_list" = ""; then
   5208      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5209   fi
   5210   am__universal=false
   5211   case " $depcc " in #(
   5212      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5213      esac
   5214 
   5215   for depmode in $am_compiler_list; do
   5216     # Setup a source with many dependencies, because some compilers
   5217     # like to wrap large dependency lists on column 80 (with \), and
   5218     # we should not choose a depcomp mode which is confused by this.
   5219     #
   5220     # We need to recreate these files for each test, as the compiler may
   5221     # overwrite some of them when testing with obscure command lines.
   5222     # This happens at least with the AIX C compiler.
   5223     : > sub/conftest.c
   5224     for i in 1 2 3 4 5 6; do
   5225       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5226       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5227       # Solaris 10 /bin/sh.
   5228       echo '/* dummy */' > sub/conftst$i.h
   5229     done
   5230     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5231 
   5232     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5233     # mode.  It turns out that the SunPro C++ compiler does not properly
   5234     # handle '-M -o', and we need to detect this.  Also, some Intel
   5235     # versions had trouble with output in subdirs.
   5236     am__obj=sub/conftest.${OBJEXT-o}
   5237     am__minus_obj="-o $am__obj"
   5238     case $depmode in
   5239     gcc)
   5240       # This depmode causes a compiler race in universal mode.
   5241       test "$am__universal" = false || continue
   5242       ;;
   5243     nosideeffect)
   5244       # After this tag, mechanisms are not by side-effect, so they'll
   5245       # only be used when explicitly requested.
   5246       if test "x$enable_dependency_tracking" = xyes; then
   5247 	continue
   5248       else
   5249 	break
   5250       fi
   5251       ;;
   5252     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5253       # This compiler won't grok '-c -o', but also, the minuso test has
   5254       # not run yet.  These depmodes are late enough in the game, and
   5255       # so weak that their functioning should not be impacted.
   5256       am__obj=conftest.${OBJEXT-o}
   5257       am__minus_obj=
   5258       ;;
   5259     none) break ;;
   5260     esac
   5261     if depmode=$depmode \
   5262        source=sub/conftest.c object=$am__obj \
   5263        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5264        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5265          >/dev/null 2>conftest.err &&
   5266        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5267        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5268        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5269        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5270       # icc doesn't choke on unknown options, it will just issue warnings
   5271       # or remarks (even with -Werror).  So we grep stderr for any message
   5272       # that says an option was ignored or not supported.
   5273       # When given -MP, icc 7.0 and 7.1 complain thus:
   5274       #   icc: Command line warning: ignoring option '-M'; no argument required
   5275       # The diagnosis changed in icc 8.0:
   5276       #   icc: Command line remark: option '-MP' not supported
   5277       if (grep 'ignoring option' conftest.err ||
   5278           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5279         am_cv_CC_dependencies_compiler_type=$depmode
   5280         break
   5281       fi
   5282     fi
   5283   done
   5284 
   5285   cd ..
   5286   rm -rf conftest.dir
   5287 else
   5288   am_cv_CC_dependencies_compiler_type=none
   5289 fi
   5290  ;;
   5291 esac
   5292 fi
   5293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5294 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5295 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5296 
   5297  if
   5298   test "x$enable_dependency_tracking" != xno \
   5299   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5300   am__fastdepCC_TRUE=
   5301   am__fastdepCC_FALSE='#'
   5302 else
   5303   am__fastdepCC_TRUE='#'
   5304   am__fastdepCC_FALSE=
   5305 fi
   5306 
   5307 
   5308 # Variables for tags utilities; see am/tags.am
   5309 if test -z "$CTAGS"; then
   5310   CTAGS=ctags
   5311 fi
   5312 
   5313 if test -z "$ETAGS"; then
   5314   ETAGS=etags
   5315 fi
   5316 
   5317 if test -z "$CSCOPE"; then
   5318   CSCOPE=cscope
   5319 fi
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 # Initialize libtool
   5329 case `pwd` in
   5330   *\ * | *\	*)
   5331     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5332 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5333 esac
   5334 
   5335 
   5336 
   5337 macro_version='2.5.4'
   5338 macro_revision='2.5.4'
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 ltmain=$ac_aux_dir/ltmain.sh
   5354 
   5355 
   5356 
   5357   # Make sure we can run config.sub.
   5358 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5359   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5360 
   5361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5362 printf %s "checking build system type... " >&6; }
   5363 if test ${ac_cv_build+y}
   5364 then :
   5365   printf %s "(cached) " >&6
   5366 else case e in #(
   5367   e) ac_build_alias=$build_alias
   5368 test "x$ac_build_alias" = x &&
   5369   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5370 test "x$ac_build_alias" = x &&
   5371   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5372 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5373   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5374  ;;
   5375 esac
   5376 fi
   5377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5378 printf "%s\n" "$ac_cv_build" >&6; }
   5379 case $ac_cv_build in
   5380 *-*-*) ;;
   5381 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5382 esac
   5383 build=$ac_cv_build
   5384 ac_save_IFS=$IFS; IFS='-'
   5385 set x $ac_cv_build
   5386 shift
   5387 build_cpu=$1
   5388 build_vendor=$2
   5389 shift; shift
   5390 # Remember, the first character of IFS is used to create $*,
   5391 # except with old shells:
   5392 build_os=$*
   5393 IFS=$ac_save_IFS
   5394 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5395 
   5396 
   5397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5398 printf %s "checking host system type... " >&6; }
   5399 if test ${ac_cv_host+y}
   5400 then :
   5401   printf %s "(cached) " >&6
   5402 else case e in #(
   5403   e) if test "x$host_alias" = x; then
   5404   ac_cv_host=$ac_cv_build
   5405 else
   5406   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5407     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5408 fi
   5409  ;;
   5410 esac
   5411 fi
   5412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5413 printf "%s\n" "$ac_cv_host" >&6; }
   5414 case $ac_cv_host in
   5415 *-*-*) ;;
   5416 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5417 esac
   5418 host=$ac_cv_host
   5419 ac_save_IFS=$IFS; IFS='-'
   5420 set x $ac_cv_host
   5421 shift
   5422 host_cpu=$1
   5423 host_vendor=$2
   5424 shift; shift
   5425 # Remember, the first character of IFS is used to create $*,
   5426 # except with old shells:
   5427 host_os=$*
   5428 IFS=$ac_save_IFS
   5429 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5430 
   5431 
   5432 # Backslashify metacharacters that are still active within
   5433 # double-quoted strings.
   5434 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5435 
   5436 # Same as above, but do not quote variable references.
   5437 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5438 
   5439 # Sed substitution to delay expansion of an escaped shell variable in a
   5440 # double_quote_subst'ed string.
   5441 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5442 
   5443 # Sed substitution to delay expansion of an escaped single quote.
   5444 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5445 
   5446 # Sed substitution to avoid accidental globbing in evaled expressions
   5447 no_glob_subst='s/\*/\\\*/g'
   5448 
   5449 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5450 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5451 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5452 
   5453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5454 printf %s "checking how to print strings... " >&6; }
   5455 # Test print first, because it will be a builtin if present.
   5456 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5457    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5458   ECHO='print -r --'
   5459 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5460   ECHO='printf %s\n'
   5461 else
   5462   # Use this function as a fallback that always works.
   5463   func_fallback_echo ()
   5464   {
   5465     eval 'cat <<_LTECHO_EOF
   5466 $1
   5467 _LTECHO_EOF'
   5468   }
   5469   ECHO='func_fallback_echo'
   5470 fi
   5471 
   5472 # func_echo_all arg...
   5473 # Invoke $ECHO with all args, space-separated.
   5474 func_echo_all ()
   5475 {
   5476     $ECHO ""
   5477 }
   5478 
   5479 case $ECHO in
   5480   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5481 printf "%s\n" "printf" >&6; } ;;
   5482   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5483 printf "%s\n" "print -r" >&6; } ;;
   5484   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5485 printf "%s\n" "cat" >&6; } ;;
   5486 esac
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5502 printf %s "checking for a sed that does not truncate output... " >&6; }
   5503 if test ${ac_cv_path_SED+y}
   5504 then :
   5505   printf %s "(cached) " >&6
   5506 else case e in #(
   5507   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5508      for ac_i in 1 2 3 4 5 6 7; do
   5509        ac_script="$ac_script$as_nl$ac_script"
   5510      done
   5511      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5512      { ac_script=; unset ac_script;}
   5513      if test -z "$SED"; then
   5514   ac_path_SED_found=false
   5515   # Loop through the user's path and test for each of PROGNAME-LIST
   5516   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5517 for as_dir in $PATH
   5518 do
   5519   IFS=$as_save_IFS
   5520   case $as_dir in #(((
   5521     '') as_dir=./ ;;
   5522     */) ;;
   5523     *) as_dir=$as_dir/ ;;
   5524   esac
   5525     for ac_prog in sed gsed
   5526    do
   5527     for ac_exec_ext in '' $ac_executable_extensions; do
   5528       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5529       as_fn_executable_p "$ac_path_SED" || continue
   5530 # Check for GNU ac_path_SED and select it if it is found.
   5531   # Check for GNU $ac_path_SED
   5532 case `"$ac_path_SED" --version 2>&1` in #(
   5533 *GNU*)
   5534   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5535 #(
   5536 *)
   5537   ac_count=0
   5538   printf %s 0123456789 >"conftest.in"
   5539   while :
   5540   do
   5541     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5542     mv "conftest.tmp" "conftest.in"
   5543     cp "conftest.in" "conftest.nl"
   5544     printf "%s\n" '' >> "conftest.nl"
   5545     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5546     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5547     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5548     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5549       # Best one so far, save it but keep looking for a better one
   5550       ac_cv_path_SED="$ac_path_SED"
   5551       ac_path_SED_max=$ac_count
   5552     fi
   5553     # 10*(2^10) chars as input seems more than enough
   5554     test $ac_count -gt 10 && break
   5555   done
   5556   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5557 esac
   5558 
   5559       $ac_path_SED_found && break 3
   5560     done
   5561   done
   5562   done
   5563 IFS=$as_save_IFS
   5564   if test -z "$ac_cv_path_SED"; then
   5565     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5566   fi
   5567 else
   5568   ac_cv_path_SED=$SED
   5569 fi
   5570  ;;
   5571 esac
   5572 fi
   5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5574 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5575  SED="$ac_cv_path_SED"
   5576   rm -f conftest.sed
   5577 
   5578 test -z "$SED" && SED=sed
   5579 Xsed="$SED -e 1s/^X//"
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5592 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5593 if test ${ac_cv_path_GREP+y}
   5594 then :
   5595   printf %s "(cached) " >&6
   5596 else case e in #(
   5597   e) if test -z "$GREP"; then
   5598   ac_path_GREP_found=false
   5599   # Loop through the user's path and test for each of PROGNAME-LIST
   5600   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5601 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5602 do
   5603   IFS=$as_save_IFS
   5604   case $as_dir in #(((
   5605     '') as_dir=./ ;;
   5606     */) ;;
   5607     *) as_dir=$as_dir/ ;;
   5608   esac
   5609     for ac_prog in grep ggrep
   5610    do
   5611     for ac_exec_ext in '' $ac_executable_extensions; do
   5612       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5613       as_fn_executable_p "$ac_path_GREP" || continue
   5614 # Check for GNU ac_path_GREP and select it if it is found.
   5615   # Check for GNU $ac_path_GREP
   5616 case `"$ac_path_GREP" --version 2>&1` in #(
   5617 *GNU*)
   5618   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5619 #(
   5620 *)
   5621   ac_count=0
   5622   printf %s 0123456789 >"conftest.in"
   5623   while :
   5624   do
   5625     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5626     mv "conftest.tmp" "conftest.in"
   5627     cp "conftest.in" "conftest.nl"
   5628     printf "%s\n" 'GREP' >> "conftest.nl"
   5629     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5630     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5631     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5632     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5633       # Best one so far, save it but keep looking for a better one
   5634       ac_cv_path_GREP="$ac_path_GREP"
   5635       ac_path_GREP_max=$ac_count
   5636     fi
   5637     # 10*(2^10) chars as input seems more than enough
   5638     test $ac_count -gt 10 && break
   5639   done
   5640   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5641 esac
   5642 
   5643       $ac_path_GREP_found && break 3
   5644     done
   5645   done
   5646   done
   5647 IFS=$as_save_IFS
   5648   if test -z "$ac_cv_path_GREP"; then
   5649     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5650   fi
   5651 else
   5652   ac_cv_path_GREP=$GREP
   5653 fi
   5654  ;;
   5655 esac
   5656 fi
   5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5658 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5659  GREP="$ac_cv_path_GREP"
   5660 
   5661 
   5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5663 printf %s "checking for egrep... " >&6; }
   5664 if test ${ac_cv_path_EGREP+y}
   5665 then :
   5666   printf %s "(cached) " >&6
   5667 else case e in #(
   5668   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5669    then ac_cv_path_EGREP="$GREP -E"
   5670    else
   5671      if test -z "$EGREP"; then
   5672   ac_path_EGREP_found=false
   5673   # Loop through the user's path and test for each of PROGNAME-LIST
   5674   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5675 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5676 do
   5677   IFS=$as_save_IFS
   5678   case $as_dir in #(((
   5679     '') as_dir=./ ;;
   5680     */) ;;
   5681     *) as_dir=$as_dir/ ;;
   5682   esac
   5683     for ac_prog in egrep
   5684    do
   5685     for ac_exec_ext in '' $ac_executable_extensions; do
   5686       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5687       as_fn_executable_p "$ac_path_EGREP" || continue
   5688 # Check for GNU ac_path_EGREP and select it if it is found.
   5689   # Check for GNU $ac_path_EGREP
   5690 case `"$ac_path_EGREP" --version 2>&1` in #(
   5691 *GNU*)
   5692   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5693 #(
   5694 *)
   5695   ac_count=0
   5696   printf %s 0123456789 >"conftest.in"
   5697   while :
   5698   do
   5699     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5700     mv "conftest.tmp" "conftest.in"
   5701     cp "conftest.in" "conftest.nl"
   5702     printf "%s\n" 'EGREP' >> "conftest.nl"
   5703     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5704     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5705     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5706     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5707       # Best one so far, save it but keep looking for a better one
   5708       ac_cv_path_EGREP="$ac_path_EGREP"
   5709       ac_path_EGREP_max=$ac_count
   5710     fi
   5711     # 10*(2^10) chars as input seems more than enough
   5712     test $ac_count -gt 10 && break
   5713   done
   5714   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5715 esac
   5716 
   5717       $ac_path_EGREP_found && break 3
   5718     done
   5719   done
   5720   done
   5721 IFS=$as_save_IFS
   5722   if test -z "$ac_cv_path_EGREP"; then
   5723     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5724   fi
   5725 else
   5726   ac_cv_path_EGREP=$EGREP
   5727 fi
   5728 
   5729    fi ;;
   5730 esac
   5731 fi
   5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5733 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5734  EGREP="$ac_cv_path_EGREP"
   5735 
   5736          EGREP_TRADITIONAL=$EGREP
   5737  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5738 
   5739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5740 printf %s "checking for fgrep... " >&6; }
   5741 if test ${ac_cv_path_FGREP+y}
   5742 then :
   5743   printf %s "(cached) " >&6
   5744 else case e in #(
   5745   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5746    then ac_cv_path_FGREP="$GREP -F"
   5747    else
   5748      if test -z "$FGREP"; then
   5749   ac_path_FGREP_found=false
   5750   # Loop through the user's path and test for each of PROGNAME-LIST
   5751   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5752 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5753 do
   5754   IFS=$as_save_IFS
   5755   case $as_dir in #(((
   5756     '') as_dir=./ ;;
   5757     */) ;;
   5758     *) as_dir=$as_dir/ ;;
   5759   esac
   5760     for ac_prog in fgrep
   5761    do
   5762     for ac_exec_ext in '' $ac_executable_extensions; do
   5763       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5764       as_fn_executable_p "$ac_path_FGREP" || continue
   5765 # Check for GNU ac_path_FGREP and select it if it is found.
   5766   # Check for GNU $ac_path_FGREP
   5767 case `"$ac_path_FGREP" --version 2>&1` in #(
   5768 *GNU*)
   5769   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5770 #(
   5771 *)
   5772   ac_count=0
   5773   printf %s 0123456789 >"conftest.in"
   5774   while :
   5775   do
   5776     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5777     mv "conftest.tmp" "conftest.in"
   5778     cp "conftest.in" "conftest.nl"
   5779     printf "%s\n" 'FGREP' >> "conftest.nl"
   5780     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5781     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5782     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5783     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5784       # Best one so far, save it but keep looking for a better one
   5785       ac_cv_path_FGREP="$ac_path_FGREP"
   5786       ac_path_FGREP_max=$ac_count
   5787     fi
   5788     # 10*(2^10) chars as input seems more than enough
   5789     test $ac_count -gt 10 && break
   5790   done
   5791   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5792 esac
   5793 
   5794       $ac_path_FGREP_found && break 3
   5795     done
   5796   done
   5797   done
   5798 IFS=$as_save_IFS
   5799   if test -z "$ac_cv_path_FGREP"; then
   5800     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5801   fi
   5802 else
   5803   ac_cv_path_FGREP=$FGREP
   5804 fi
   5805 
   5806    fi ;;
   5807 esac
   5808 fi
   5809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5810 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5811  FGREP="$ac_cv_path_FGREP"
   5812 
   5813 
   5814 test -z "$GREP" && GREP=grep
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 # Check whether --with-gnu-ld was given.
   5835 if test ${with_gnu_ld+y}
   5836 then :
   5837   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5838 else case e in #(
   5839   e) with_gnu_ld=no ;;
   5840 esac
   5841 fi
   5842 
   5843 ac_prog=ld
   5844 if test yes = "$GCC"; then
   5845   # Check if gcc -print-prog-name=ld gives a path.
   5846   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5847 printf %s "checking for ld used by $CC... " >&6; }
   5848   case $host in
   5849   *-*-mingw* | *-*-windows*)
   5850     # gcc leaves a trailing carriage return, which upsets mingw
   5851     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5852   *)
   5853     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5854   esac
   5855   case $ac_prog in
   5856     # Accept absolute paths.
   5857     [\\/]* | ?:[\\/]*)
   5858       re_direlt='/[^/][^/]*/\.\./'
   5859       # Canonicalize the pathname of ld
   5860       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5861       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5862 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5863       done
   5864       test -z "$LD" && LD=$ac_prog
   5865       ;;
   5866   "")
   5867     # If it fails, then pretend we aren't using GCC.
   5868     ac_prog=ld
   5869     ;;
   5870   *)
   5871     # If it is relative, then search for the first ld in PATH.
   5872     with_gnu_ld=unknown
   5873     ;;
   5874   esac
   5875 elif test yes = "$with_gnu_ld"; then
   5876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5877 printf %s "checking for GNU ld... " >&6; }
   5878 else
   5879   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5880 printf %s "checking for non-GNU ld... " >&6; }
   5881 fi
   5882 if test ${lt_cv_path_LD+y}
   5883 then :
   5884   printf %s "(cached) " >&6
   5885 else case e in #(
   5886   e) if test -z "$LD"; then
   5887   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5888   for ac_dir in $PATH; do
   5889     IFS=$lt_save_ifs
   5890     test -z "$ac_dir" && ac_dir=.
   5891     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5892       lt_cv_path_LD=$ac_dir/$ac_prog
   5893       # Check to see if the program is GNU ld.  I'd rather use --version,
   5894       # but apparently some variants of GNU ld only accept -v.
   5895       # Break only if it was the GNU/non-GNU ld that we prefer.
   5896       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5897       *GNU* | *'with BFD'*)
   5898 	test no != "$with_gnu_ld" && break
   5899 	;;
   5900       *)
   5901 	test yes != "$with_gnu_ld" && break
   5902 	;;
   5903       esac
   5904     fi
   5905   done
   5906   IFS=$lt_save_ifs
   5907 else
   5908   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5909 fi ;;
   5910 esac
   5911 fi
   5912 
   5913 LD=$lt_cv_path_LD
   5914 if test -n "$LD"; then
   5915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5916 printf "%s\n" "$LD" >&6; }
   5917 else
   5918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5919 printf "%s\n" "no" >&6; }
   5920 fi
   5921 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5923 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5924 if test ${lt_cv_prog_gnu_ld+y}
   5925 then :
   5926   printf %s "(cached) " >&6
   5927 else case e in #(
   5928   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5929 case `$LD -v 2>&1 </dev/null` in
   5930 *GNU* | *'with BFD'*)
   5931   lt_cv_prog_gnu_ld=yes
   5932   ;;
   5933 *)
   5934   lt_cv_prog_gnu_ld=no
   5935   ;;
   5936 esac ;;
   5937 esac
   5938 fi
   5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5940 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5941 with_gnu_ld=$lt_cv_prog_gnu_ld
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5952 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5953 if test ${lt_cv_path_NM+y}
   5954 then :
   5955   printf %s "(cached) " >&6
   5956 else case e in #(
   5957   e) if test -n "$NM"; then
   5958   # Let the user override the test.
   5959   lt_cv_path_NM=$NM
   5960 else
   5961   lt_nm_to_check=${ac_tool_prefix}nm
   5962   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5963     lt_nm_to_check="$lt_nm_to_check nm"
   5964   fi
   5965   for lt_tmp_nm in $lt_nm_to_check; do
   5966     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5967     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5968       IFS=$lt_save_ifs
   5969       test -z "$ac_dir" && ac_dir=.
   5970       tmp_nm=$ac_dir/$lt_tmp_nm
   5971       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5972 	# Check to see if the nm accepts a BSD-compat flag.
   5973 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5974 	#   nm: unknown option "B" ignored
   5975 	# Tru64's nm complains that /dev/null is an invalid object file
   5976 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5977 	case $build_os in
   5978 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5979 	*) lt_bad_file=/dev/null ;;
   5980 	esac
   5981 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5982 	*$lt_bad_file* | *'Invalid file or object type'*)
   5983 	  lt_cv_path_NM="$tmp_nm -B"
   5984 	  break 2
   5985 	  ;;
   5986 	*)
   5987 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5988 	  */dev/null*)
   5989 	    lt_cv_path_NM="$tmp_nm -p"
   5990 	    break 2
   5991 	    ;;
   5992 	  *)
   5993 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5994 	    continue # so that we can try to find one that supports BSD flags
   5995 	    ;;
   5996 	  esac
   5997 	  ;;
   5998 	esac
   5999       fi
   6000     done
   6001     IFS=$lt_save_ifs
   6002   done
   6003   : ${lt_cv_path_NM=no}
   6004 fi ;;
   6005 esac
   6006 fi
   6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6008 printf "%s\n" "$lt_cv_path_NM" >&6; }
   6009 if test no != "$lt_cv_path_NM"; then
   6010   NM=$lt_cv_path_NM
   6011 else
   6012   # Didn't find any BSD compatible name lister, look for dumpbin.
   6013   if test -n "$DUMPBIN"; then :
   6014     # Let the user override the test.
   6015   else
   6016     if test -n "$ac_tool_prefix"; then
   6017   for ac_prog in dumpbin "link -dump"
   6018   do
   6019     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6020 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6022 printf %s "checking for $ac_word... " >&6; }
   6023 if test ${ac_cv_prog_DUMPBIN+y}
   6024 then :
   6025   printf %s "(cached) " >&6
   6026 else case e in #(
   6027   e) if test -n "$DUMPBIN"; then
   6028   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6029 else
   6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6031 for as_dir in $PATH
   6032 do
   6033   IFS=$as_save_IFS
   6034   case $as_dir in #(((
   6035     '') as_dir=./ ;;
   6036     */) ;;
   6037     *) as_dir=$as_dir/ ;;
   6038   esac
   6039     for ac_exec_ext in '' $ac_executable_extensions; do
   6040   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6041     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6042     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6043     break 2
   6044   fi
   6045 done
   6046   done
   6047 IFS=$as_save_IFS
   6048 
   6049 fi ;;
   6050 esac
   6051 fi
   6052 DUMPBIN=$ac_cv_prog_DUMPBIN
   6053 if test -n "$DUMPBIN"; then
   6054   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6055 printf "%s\n" "$DUMPBIN" >&6; }
   6056 else
   6057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6058 printf "%s\n" "no" >&6; }
   6059 fi
   6060 
   6061 
   6062     test -n "$DUMPBIN" && break
   6063   done
   6064 fi
   6065 if test -z "$DUMPBIN"; then
   6066   ac_ct_DUMPBIN=$DUMPBIN
   6067   for ac_prog in dumpbin "link -dump"
   6068 do
   6069   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6070 set dummy $ac_prog; ac_word=$2
   6071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6072 printf %s "checking for $ac_word... " >&6; }
   6073 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   6074 then :
   6075   printf %s "(cached) " >&6
   6076 else case e in #(
   6077   e) if test -n "$ac_ct_DUMPBIN"; then
   6078   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6079 else
   6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6081 for as_dir in $PATH
   6082 do
   6083   IFS=$as_save_IFS
   6084   case $as_dir in #(((
   6085     '') as_dir=./ ;;
   6086     */) ;;
   6087     *) as_dir=$as_dir/ ;;
   6088   esac
   6089     for ac_exec_ext in '' $ac_executable_extensions; do
   6090   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6091     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6092     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6093     break 2
   6094   fi
   6095 done
   6096   done
   6097 IFS=$as_save_IFS
   6098 
   6099 fi ;;
   6100 esac
   6101 fi
   6102 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6103 if test -n "$ac_ct_DUMPBIN"; then
   6104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6105 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   6106 else
   6107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6108 printf "%s\n" "no" >&6; }
   6109 fi
   6110 
   6111 
   6112   test -n "$ac_ct_DUMPBIN" && break
   6113 done
   6114 
   6115   if test "x$ac_ct_DUMPBIN" = x; then
   6116     DUMPBIN=":"
   6117   else
   6118     case $cross_compiling:$ac_tool_warned in
   6119 yes:)
   6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6121 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6122 ac_tool_warned=yes ;;
   6123 esac
   6124     DUMPBIN=$ac_ct_DUMPBIN
   6125   fi
   6126 fi
   6127 
   6128     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   6129     *COFF*)
   6130       DUMPBIN="$DUMPBIN -symbols -headers"
   6131       ;;
   6132     *)
   6133       DUMPBIN=:
   6134       ;;
   6135     esac
   6136   fi
   6137 
   6138   if test : != "$DUMPBIN"; then
   6139     NM=$DUMPBIN
   6140   fi
   6141 fi
   6142 test -z "$NM" && NM=nm
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6150 printf %s "checking the name lister ($NM) interface... " >&6; }
   6151 if test ${lt_cv_nm_interface+y}
   6152 then :
   6153   printf %s "(cached) " >&6
   6154 else case e in #(
   6155   e) lt_cv_nm_interface="BSD nm"
   6156   echo "int some_variable = 0;" > conftest.$ac_ext
   6157   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6158   (eval "$ac_compile" 2>conftest.err)
   6159   cat conftest.err >&5
   6160   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6161   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6162   cat conftest.err >&5
   6163   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6164   cat conftest.out >&5
   6165   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6166     lt_cv_nm_interface="MS dumpbin"
   6167   fi
   6168   rm -f conftest* ;;
   6169 esac
   6170 fi
   6171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6172 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   6173 
   6174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6175 printf %s "checking whether ln -s works... " >&6; }
   6176 LN_S=$as_ln_s
   6177 if test "$LN_S" = "ln -s"; then
   6178   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6179 printf "%s\n" "yes" >&6; }
   6180 else
   6181   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6182 printf "%s\n" "no, using $LN_S" >&6; }
   6183 fi
   6184 
   6185 # find the maximum length of command line arguments
   6186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6187 printf %s "checking the maximum length of command line arguments... " >&6; }
   6188 if test ${lt_cv_sys_max_cmd_len+y}
   6189 then :
   6190   printf %s "(cached) " >&6
   6191 else case e in #(
   6192   e)   i=0
   6193   teststring=ABCD
   6194 
   6195   case $build_os in
   6196   msdosdjgpp*)
   6197     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6198     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6199     # during glob expansion).  Even if it were fixed, the result of this
   6200     # check would be larger than it should be.
   6201     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6202     ;;
   6203 
   6204   gnu* | ironclad*)
   6205     # Under GNU Hurd and Ironclad, this test is not required because there
   6206     # is no limit to the length of command line arguments.
   6207     # Libtool will interpret -1 as no limit whatsoever
   6208     lt_cv_sys_max_cmd_len=-1;
   6209     ;;
   6210 
   6211   cygwin* | mingw* | windows* | cegcc*)
   6212     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6213     # about 5 minutes as the teststring grows exponentially.
   6214     # Worse, since 9x/ME are not pre-emptively multitasking,
   6215     # you end up with a "frozen" computer, even though with patience
   6216     # the test eventually succeeds (with a max line length of 256k).
   6217     # Instead, let's just punt: use the minimum linelength reported by
   6218     # all of the supported platforms: 8192 (on NT/2K/XP).
   6219     lt_cv_sys_max_cmd_len=8192;
   6220     ;;
   6221 
   6222   mint*)
   6223     # On MiNT this can take a long time and run out of memory.
   6224     lt_cv_sys_max_cmd_len=8192;
   6225     ;;
   6226 
   6227   amigaos*)
   6228     # On AmigaOS with pdksh, this test takes hours, literally.
   6229     # So we just punt and use a minimum line length of 8192.
   6230     lt_cv_sys_max_cmd_len=8192;
   6231     ;;
   6232 
   6233   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6234     # This has been around since 386BSD, at least.  Likely further.
   6235     if test -x /sbin/sysctl; then
   6236       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6237     elif test -x /usr/sbin/sysctl; then
   6238       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6239     else
   6240       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6241     fi
   6242     # And add a safety zone
   6243     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6244     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6245     ;;
   6246 
   6247   interix*)
   6248     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6249     lt_cv_sys_max_cmd_len=196608
   6250     ;;
   6251 
   6252   os2*)
   6253     # The test takes a long time on OS/2.
   6254     lt_cv_sys_max_cmd_len=8192
   6255     ;;
   6256 
   6257   osf*)
   6258     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6259     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6260     # nice to cause kernel panics so lets avoid the loop below.
   6261     # First set a reasonable default.
   6262     lt_cv_sys_max_cmd_len=16384
   6263     #
   6264     if test -x /sbin/sysconfig; then
   6265       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6266         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6267       esac
   6268     fi
   6269     ;;
   6270   sco3.2v5*)
   6271     lt_cv_sys_max_cmd_len=102400
   6272     ;;
   6273   sysv5* | sco5v6* | sysv4.2uw2*)
   6274     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6275     if test -n "$kargmax"; then
   6276       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6277     else
   6278       lt_cv_sys_max_cmd_len=32768
   6279     fi
   6280     ;;
   6281   *)
   6282     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6283     if test -n "$lt_cv_sys_max_cmd_len" && \
   6284        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6285       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6286       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6287     else
   6288       # Make teststring a little bigger before we do anything with it.
   6289       # a 1K string should be a reasonable start.
   6290       for i in 1 2 3 4 5 6 7 8; do
   6291         teststring=$teststring$teststring
   6292       done
   6293       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6294       # If test is not a shell built-in, we'll probably end up computing a
   6295       # maximum length that is only half of the actual maximum length, but
   6296       # we can't tell.
   6297       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6298 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6299 	      test 17 != "$i" # 1/2 MB should be enough
   6300       do
   6301         i=`expr $i + 1`
   6302         teststring=$teststring$teststring
   6303       done
   6304       # Only check the string length outside the loop.
   6305       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6306       teststring=
   6307       # Add a significant safety factor because C++ compilers can tack on
   6308       # massive amounts of additional arguments before passing them to the
   6309       # linker.  It appears as though 1/2 is a usable value.
   6310       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6311     fi
   6312     ;;
   6313   esac
   6314  ;;
   6315 esac
   6316 fi
   6317 
   6318 if test -n "$lt_cv_sys_max_cmd_len"; then
   6319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6320 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6321 else
   6322   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6323 printf "%s\n" "none" >&6; }
   6324 fi
   6325 max_cmd_len=$lt_cv_sys_max_cmd_len
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 : ${CP="cp -f"}
   6333 : ${MV="mv -f"}
   6334 : ${RM="rm -f"}
   6335 
   6336 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6337   lt_unset=unset
   6338 else
   6339   lt_unset=false
   6340 fi
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 # test EBCDIC or ASCII
   6347 case `echo X|tr X '\101'` in
   6348  A) # ASCII based system
   6349     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6350   lt_SP2NL='tr \040 \012'
   6351   lt_NL2SP='tr \015\012 \040\040'
   6352   ;;
   6353  *) # EBCDIC based system
   6354   lt_SP2NL='tr \100 \n'
   6355   lt_NL2SP='tr \r\n \100\100'
   6356   ;;
   6357 esac
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6368 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6369 if test ${lt_cv_to_host_file_cmd+y}
   6370 then :
   6371   printf %s "(cached) " >&6
   6372 else case e in #(
   6373   e) case $host in
   6374   *-*-mingw* )
   6375     case $build in
   6376       *-*-mingw* | *-*-windows* ) # actually msys
   6377         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6378         ;;
   6379       *-*-cygwin* )
   6380         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6381         ;;
   6382       * ) # otherwise, assume *nix
   6383         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6384         ;;
   6385     esac
   6386     ;;
   6387   *-*-cygwin* )
   6388     case $build in
   6389       *-*-mingw* | *-*-windows* ) # actually msys
   6390         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6391         ;;
   6392       *-*-cygwin* )
   6393         lt_cv_to_host_file_cmd=func_convert_file_noop
   6394         ;;
   6395       * ) # otherwise, assume *nix
   6396         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6397         ;;
   6398     esac
   6399     ;;
   6400   * ) # unhandled hosts (and "normal" native builds)
   6401     lt_cv_to_host_file_cmd=func_convert_file_noop
   6402     ;;
   6403 esac
   6404  ;;
   6405 esac
   6406 fi
   6407 
   6408 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6410 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6417 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6418 if test ${lt_cv_to_tool_file_cmd+y}
   6419 then :
   6420   printf %s "(cached) " >&6
   6421 else case e in #(
   6422   e) #assume ordinary cross tools, or native build.
   6423 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6424 case $host in
   6425   *-*-mingw* | *-*-windows* )
   6426     case $build in
   6427       *-*-mingw* | *-*-windows* ) # actually msys
   6428         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6429         ;;
   6430     esac
   6431     ;;
   6432 esac
   6433  ;;
   6434 esac
   6435 fi
   6436 
   6437 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6439 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6446 printf %s "checking for $LD option to reload object files... " >&6; }
   6447 if test ${lt_cv_ld_reload_flag+y}
   6448 then :
   6449   printf %s "(cached) " >&6
   6450 else case e in #(
   6451   e) lt_cv_ld_reload_flag='-r' ;;
   6452 esac
   6453 fi
   6454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6455 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6456 reload_flag=$lt_cv_ld_reload_flag
   6457 case $reload_flag in
   6458 "" | " "*) ;;
   6459 *) reload_flag=" $reload_flag" ;;
   6460 esac
   6461 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6462 case $host_os in
   6463   cygwin* | mingw* | windows* | pw32* | cegcc*)
   6464     if test yes != "$GCC"; then
   6465       reload_cmds=false
   6466     fi
   6467     ;;
   6468   darwin*)
   6469     if test yes = "$GCC"; then
   6470       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6471     else
   6472       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6473     fi
   6474     ;;
   6475 esac
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 # Extract the first word of "file", so it can be a program name with args.
   6486 set dummy file; ac_word=$2
   6487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6488 printf %s "checking for $ac_word... " >&6; }
   6489 if test ${ac_cv_prog_FILECMD+y}
   6490 then :
   6491   printf %s "(cached) " >&6
   6492 else case e in #(
   6493   e) if test -n "$FILECMD"; then
   6494   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6495 else
   6496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6497 for as_dir in $PATH
   6498 do
   6499   IFS=$as_save_IFS
   6500   case $as_dir in #(((
   6501     '') as_dir=./ ;;
   6502     */) ;;
   6503     *) as_dir=$as_dir/ ;;
   6504   esac
   6505     for ac_exec_ext in '' $ac_executable_extensions; do
   6506   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6507     ac_cv_prog_FILECMD="file"
   6508     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6509     break 2
   6510   fi
   6511 done
   6512   done
   6513 IFS=$as_save_IFS
   6514 
   6515   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6516 fi ;;
   6517 esac
   6518 fi
   6519 FILECMD=$ac_cv_prog_FILECMD
   6520 if test -n "$FILECMD"; then
   6521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6522 printf "%s\n" "$FILECMD" >&6; }
   6523 else
   6524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6525 printf "%s\n" "no" >&6; }
   6526 fi
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 if test -n "$ac_tool_prefix"; then
   6536   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6537 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6539 printf %s "checking for $ac_word... " >&6; }
   6540 if test ${ac_cv_prog_OBJDUMP+y}
   6541 then :
   6542   printf %s "(cached) " >&6
   6543 else case e in #(
   6544   e) if test -n "$OBJDUMP"; then
   6545   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6546 else
   6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6548 for as_dir in $PATH
   6549 do
   6550   IFS=$as_save_IFS
   6551   case $as_dir in #(((
   6552     '') as_dir=./ ;;
   6553     */) ;;
   6554     *) as_dir=$as_dir/ ;;
   6555   esac
   6556     for ac_exec_ext in '' $ac_executable_extensions; do
   6557   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6558     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6559     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6560     break 2
   6561   fi
   6562 done
   6563   done
   6564 IFS=$as_save_IFS
   6565 
   6566 fi ;;
   6567 esac
   6568 fi
   6569 OBJDUMP=$ac_cv_prog_OBJDUMP
   6570 if test -n "$OBJDUMP"; then
   6571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6572 printf "%s\n" "$OBJDUMP" >&6; }
   6573 else
   6574   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6575 printf "%s\n" "no" >&6; }
   6576 fi
   6577 
   6578 
   6579 fi
   6580 if test -z "$ac_cv_prog_OBJDUMP"; then
   6581   ac_ct_OBJDUMP=$OBJDUMP
   6582   # Extract the first word of "objdump", so it can be a program name with args.
   6583 set dummy objdump; ac_word=$2
   6584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6585 printf %s "checking for $ac_word... " >&6; }
   6586 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6587 then :
   6588   printf %s "(cached) " >&6
   6589 else case e in #(
   6590   e) if test -n "$ac_ct_OBJDUMP"; then
   6591   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6592 else
   6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6594 for as_dir in $PATH
   6595 do
   6596   IFS=$as_save_IFS
   6597   case $as_dir in #(((
   6598     '') as_dir=./ ;;
   6599     */) ;;
   6600     *) as_dir=$as_dir/ ;;
   6601   esac
   6602     for ac_exec_ext in '' $ac_executable_extensions; do
   6603   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6604     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6605     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6606     break 2
   6607   fi
   6608 done
   6609   done
   6610 IFS=$as_save_IFS
   6611 
   6612 fi ;;
   6613 esac
   6614 fi
   6615 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6616 if test -n "$ac_ct_OBJDUMP"; then
   6617   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6618 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6619 else
   6620   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6621 printf "%s\n" "no" >&6; }
   6622 fi
   6623 
   6624   if test "x$ac_ct_OBJDUMP" = x; then
   6625     OBJDUMP="false"
   6626   else
   6627     case $cross_compiling:$ac_tool_warned in
   6628 yes:)
   6629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6630 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6631 ac_tool_warned=yes ;;
   6632 esac
   6633     OBJDUMP=$ac_ct_OBJDUMP
   6634   fi
   6635 else
   6636   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6637 fi
   6638 
   6639 test -z "$OBJDUMP" && OBJDUMP=objdump
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6650 printf %s "checking how to recognize dependent libraries... " >&6; }
   6651 if test ${lt_cv_deplibs_check_method+y}
   6652 then :
   6653   printf %s "(cached) " >&6
   6654 else case e in #(
   6655   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6656 lt_cv_file_magic_test_file=
   6657 lt_cv_deplibs_check_method='unknown'
   6658 # Need to set the preceding variable on all platforms that support
   6659 # interlibrary dependencies.
   6660 # 'none' -- dependencies not supported.
   6661 # 'unknown' -- same as none, but documents that we really don't know.
   6662 # 'pass_all' -- all dependencies passed with no checks.
   6663 # 'file_magic [[regex]]' -- check by looking for files in library path
   6664 # that responds to the $file_magic_cmd with a given extended regex.
   6665 # If you have 'file' or equivalent on your system and you're not sure
   6666 # whether 'pass_all' will *always* work, you probably want this one.
   6667 
   6668 case $host_os in
   6669 aix[4-9]*)
   6670   lt_cv_deplibs_check_method=pass_all
   6671   ;;
   6672 
   6673 beos*)
   6674   lt_cv_deplibs_check_method=pass_all
   6675   ;;
   6676 
   6677 bsdi[45]*)
   6678   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6679   lt_cv_file_magic_cmd='$FILECMD -L'
   6680   lt_cv_file_magic_test_file=/shlib/libc.so
   6681   ;;
   6682 
   6683 cygwin*)
   6684   # func_win32_libid is a shell function defined in ltmain.sh
   6685   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6686   lt_cv_file_magic_cmd='func_win32_libid'
   6687   ;;
   6688 
   6689 mingw* | windows* | pw32*)
   6690   # Base MSYS/MinGW do not provide the 'file' command needed by
   6691   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6692   # unless we find 'file', for example because we are cross-compiling.
   6693   if ( file / ) >/dev/null 2>&1; then
   6694     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6695     lt_cv_file_magic_cmd='func_win32_libid'
   6696   else
   6697     # Keep this pattern in sync with the one in func_win32_libid.
   6698     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6699     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6700   fi
   6701   ;;
   6702 
   6703 cegcc*)
   6704   # use the weaker test based on 'objdump'. See mingw*.
   6705   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6706   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6707   ;;
   6708 
   6709 darwin* | rhapsody*)
   6710   lt_cv_deplibs_check_method=pass_all
   6711   ;;
   6712 
   6713 freebsd* | dragonfly* | midnightbsd*)
   6714   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6715     case $host_cpu in
   6716     i*86 )
   6717       # Not sure whether the presence of OpenBSD here was a mistake.
   6718       # Let's accept both of them until this is cleared up.
   6719       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6720       lt_cv_file_magic_cmd=$FILECMD
   6721       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6722       ;;
   6723     esac
   6724   else
   6725     lt_cv_deplibs_check_method=pass_all
   6726   fi
   6727   ;;
   6728 
   6729 haiku*)
   6730   lt_cv_deplibs_check_method=pass_all
   6731   ;;
   6732 
   6733 hpux10.20* | hpux11*)
   6734   lt_cv_file_magic_cmd=$FILECMD
   6735   case $host_cpu in
   6736   ia64*)
   6737     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6738     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6739     ;;
   6740   hppa*64*)
   6741     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]'
   6742     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6743     ;;
   6744   *)
   6745     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6746     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6747     ;;
   6748   esac
   6749   ;;
   6750 
   6751 interix[3-9]*)
   6752   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6753   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6754   ;;
   6755 
   6756 irix5* | irix6* | nonstopux*)
   6757   case $LD in
   6758   *-32|*"-32 ") libmagic=32-bit;;
   6759   *-n32|*"-n32 ") libmagic=N32;;
   6760   *-64|*"-64 ") libmagic=64-bit;;
   6761   *) libmagic=never-match;;
   6762   esac
   6763   lt_cv_deplibs_check_method=pass_all
   6764   ;;
   6765 
   6766 # This must be glibc/ELF.
   6767 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6768   lt_cv_deplibs_check_method=pass_all
   6769   ;;
   6770 
   6771 *-mlibc)
   6772   lt_cv_deplibs_check_method=pass_all
   6773   ;;
   6774 
   6775 netbsd* | netbsdelf*-gnu)
   6776   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6777     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6778   else
   6779     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6780   fi
   6781   ;;
   6782 
   6783 newos6*)
   6784   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6785   lt_cv_file_magic_cmd=$FILECMD
   6786   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6787   ;;
   6788 
   6789 *nto* | *qnx*)
   6790   lt_cv_deplibs_check_method=pass_all
   6791   ;;
   6792 
   6793 openbsd*)
   6794   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6795     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6796   else
   6797     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6798   fi
   6799   ;;
   6800 
   6801 osf3* | osf4* | osf5*)
   6802   lt_cv_deplibs_check_method=pass_all
   6803   ;;
   6804 
   6805 rdos*)
   6806   lt_cv_deplibs_check_method=pass_all
   6807   ;;
   6808 
   6809 serenity*)
   6810   lt_cv_deplibs_check_method=pass_all
   6811   ;;
   6812 
   6813 solaris*)
   6814   lt_cv_deplibs_check_method=pass_all
   6815   ;;
   6816 
   6817 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6818   lt_cv_deplibs_check_method=pass_all
   6819   ;;
   6820 
   6821 sysv4 | sysv4.3*)
   6822   case $host_vendor in
   6823   motorola)
   6824     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]'
   6825     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6826     ;;
   6827   ncr)
   6828     lt_cv_deplibs_check_method=pass_all
   6829     ;;
   6830   sequent)
   6831     lt_cv_file_magic_cmd='/bin/file'
   6832     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6833     ;;
   6834   sni)
   6835     lt_cv_file_magic_cmd='/bin/file'
   6836     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6837     lt_cv_file_magic_test_file=/lib/libc.so
   6838     ;;
   6839   siemens)
   6840     lt_cv_deplibs_check_method=pass_all
   6841     ;;
   6842   pc)
   6843     lt_cv_deplibs_check_method=pass_all
   6844     ;;
   6845   esac
   6846   ;;
   6847 
   6848 tpf*)
   6849   lt_cv_deplibs_check_method=pass_all
   6850   ;;
   6851 os2*)
   6852   lt_cv_deplibs_check_method=pass_all
   6853   ;;
   6854 esac
   6855  ;;
   6856 esac
   6857 fi
   6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6859 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6860 
   6861 file_magic_glob=
   6862 want_nocaseglob=no
   6863 if test "$build" = "$host"; then
   6864   case $host_os in
   6865   mingw* | windows* | pw32*)
   6866     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6867       want_nocaseglob=yes
   6868     else
   6869       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6870     fi
   6871     ;;
   6872   esac
   6873 fi
   6874 
   6875 file_magic_cmd=$lt_cv_file_magic_cmd
   6876 deplibs_check_method=$lt_cv_deplibs_check_method
   6877 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 if test -n "$ac_tool_prefix"; then
   6901   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6902 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6904 printf %s "checking for $ac_word... " >&6; }
   6905 if test ${ac_cv_prog_DLLTOOL+y}
   6906 then :
   6907   printf %s "(cached) " >&6
   6908 else case e in #(
   6909   e) if test -n "$DLLTOOL"; then
   6910   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6911 else
   6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6913 for as_dir in $PATH
   6914 do
   6915   IFS=$as_save_IFS
   6916   case $as_dir in #(((
   6917     '') as_dir=./ ;;
   6918     */) ;;
   6919     *) as_dir=$as_dir/ ;;
   6920   esac
   6921     for ac_exec_ext in '' $ac_executable_extensions; do
   6922   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6923     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6924     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6925     break 2
   6926   fi
   6927 done
   6928   done
   6929 IFS=$as_save_IFS
   6930 
   6931 fi ;;
   6932 esac
   6933 fi
   6934 DLLTOOL=$ac_cv_prog_DLLTOOL
   6935 if test -n "$DLLTOOL"; then
   6936   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6937 printf "%s\n" "$DLLTOOL" >&6; }
   6938 else
   6939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6940 printf "%s\n" "no" >&6; }
   6941 fi
   6942 
   6943 
   6944 fi
   6945 if test -z "$ac_cv_prog_DLLTOOL"; then
   6946   ac_ct_DLLTOOL=$DLLTOOL
   6947   # Extract the first word of "dlltool", so it can be a program name with args.
   6948 set dummy dlltool; ac_word=$2
   6949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6950 printf %s "checking for $ac_word... " >&6; }
   6951 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6952 then :
   6953   printf %s "(cached) " >&6
   6954 else case e in #(
   6955   e) if test -n "$ac_ct_DLLTOOL"; then
   6956   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6957 else
   6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6959 for as_dir in $PATH
   6960 do
   6961   IFS=$as_save_IFS
   6962   case $as_dir in #(((
   6963     '') as_dir=./ ;;
   6964     */) ;;
   6965     *) as_dir=$as_dir/ ;;
   6966   esac
   6967     for ac_exec_ext in '' $ac_executable_extensions; do
   6968   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6969     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6970     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6971     break 2
   6972   fi
   6973 done
   6974   done
   6975 IFS=$as_save_IFS
   6976 
   6977 fi ;;
   6978 esac
   6979 fi
   6980 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6981 if test -n "$ac_ct_DLLTOOL"; then
   6982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6983 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6984 else
   6985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6986 printf "%s\n" "no" >&6; }
   6987 fi
   6988 
   6989   if test "x$ac_ct_DLLTOOL" = x; then
   6990     DLLTOOL="false"
   6991   else
   6992     case $cross_compiling:$ac_tool_warned in
   6993 yes:)
   6994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6995 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6996 ac_tool_warned=yes ;;
   6997 esac
   6998     DLLTOOL=$ac_ct_DLLTOOL
   6999   fi
   7000 else
   7001   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7002 fi
   7003 
   7004 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7016 printf %s "checking how to associate runtime and link libraries... " >&6; }
   7017 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   7018 then :
   7019   printf %s "(cached) " >&6
   7020 else case e in #(
   7021   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   7022 
   7023 case $host_os in
   7024 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7025   # two different shell functions defined in ltmain.sh;
   7026   # decide which one to use based on capabilities of $DLLTOOL
   7027   case `$DLLTOOL --help 2>&1` in
   7028   *--identify-strict*)
   7029     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7030     ;;
   7031   *)
   7032     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7033     ;;
   7034   esac
   7035   ;;
   7036 *)
   7037   # fallback: assume linklib IS sharedlib
   7038   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7039   ;;
   7040 esac
   7041  ;;
   7042 esac
   7043 fi
   7044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7045 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7046 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7047 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 if test -n "$ac_tool_prefix"; then
   7056   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7057 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7059 printf %s "checking for $ac_word... " >&6; }
   7060 if test ${ac_cv_prog_RANLIB+y}
   7061 then :
   7062   printf %s "(cached) " >&6
   7063 else case e in #(
   7064   e) if test -n "$RANLIB"; then
   7065   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7066 else
   7067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7068 for as_dir in $PATH
   7069 do
   7070   IFS=$as_save_IFS
   7071   case $as_dir in #(((
   7072     '') as_dir=./ ;;
   7073     */) ;;
   7074     *) as_dir=$as_dir/ ;;
   7075   esac
   7076     for ac_exec_ext in '' $ac_executable_extensions; do
   7077   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7078     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7079     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7080     break 2
   7081   fi
   7082 done
   7083   done
   7084 IFS=$as_save_IFS
   7085 
   7086 fi ;;
   7087 esac
   7088 fi
   7089 RANLIB=$ac_cv_prog_RANLIB
   7090 if test -n "$RANLIB"; then
   7091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7092 printf "%s\n" "$RANLIB" >&6; }
   7093 else
   7094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7095 printf "%s\n" "no" >&6; }
   7096 fi
   7097 
   7098 
   7099 fi
   7100 if test -z "$ac_cv_prog_RANLIB"; then
   7101   ac_ct_RANLIB=$RANLIB
   7102   # Extract the first word of "ranlib", so it can be a program name with args.
   7103 set dummy ranlib; ac_word=$2
   7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7105 printf %s "checking for $ac_word... " >&6; }
   7106 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7107 then :
   7108   printf %s "(cached) " >&6
   7109 else case e in #(
   7110   e) if test -n "$ac_ct_RANLIB"; then
   7111   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7112 else
   7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7114 for as_dir in $PATH
   7115 do
   7116   IFS=$as_save_IFS
   7117   case $as_dir in #(((
   7118     '') as_dir=./ ;;
   7119     */) ;;
   7120     *) as_dir=$as_dir/ ;;
   7121   esac
   7122     for ac_exec_ext in '' $ac_executable_extensions; do
   7123   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7124     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7125     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7126     break 2
   7127   fi
   7128 done
   7129   done
   7130 IFS=$as_save_IFS
   7131 
   7132 fi ;;
   7133 esac
   7134 fi
   7135 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7136 if test -n "$ac_ct_RANLIB"; then
   7137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7138 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7139 else
   7140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7141 printf "%s\n" "no" >&6; }
   7142 fi
   7143 
   7144   if test "x$ac_ct_RANLIB" = x; then
   7145     RANLIB=":"
   7146   else
   7147     case $cross_compiling:$ac_tool_warned in
   7148 yes:)
   7149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7150 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7151 ac_tool_warned=yes ;;
   7152 esac
   7153     RANLIB=$ac_ct_RANLIB
   7154   fi
   7155 else
   7156   RANLIB="$ac_cv_prog_RANLIB"
   7157 fi
   7158 
   7159 if test -n "$ac_tool_prefix"; then
   7160   for ac_prog in ar
   7161   do
   7162     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7163 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7165 printf %s "checking for $ac_word... " >&6; }
   7166 if test ${ac_cv_prog_AR+y}
   7167 then :
   7168   printf %s "(cached) " >&6
   7169 else case e in #(
   7170   e) if test -n "$AR"; then
   7171   ac_cv_prog_AR="$AR" # Let the user override the test.
   7172 else
   7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7174 for as_dir in $PATH
   7175 do
   7176   IFS=$as_save_IFS
   7177   case $as_dir in #(((
   7178     '') as_dir=./ ;;
   7179     */) ;;
   7180     *) as_dir=$as_dir/ ;;
   7181   esac
   7182     for ac_exec_ext in '' $ac_executable_extensions; do
   7183   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7184     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7185     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7186     break 2
   7187   fi
   7188 done
   7189   done
   7190 IFS=$as_save_IFS
   7191 
   7192 fi ;;
   7193 esac
   7194 fi
   7195 AR=$ac_cv_prog_AR
   7196 if test -n "$AR"; then
   7197   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7198 printf "%s\n" "$AR" >&6; }
   7199 else
   7200   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7201 printf "%s\n" "no" >&6; }
   7202 fi
   7203 
   7204 
   7205     test -n "$AR" && break
   7206   done
   7207 fi
   7208 if test -z "$AR"; then
   7209   ac_ct_AR=$AR
   7210   for ac_prog in ar
   7211 do
   7212   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7213 set dummy $ac_prog; ac_word=$2
   7214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7215 printf %s "checking for $ac_word... " >&6; }
   7216 if test ${ac_cv_prog_ac_ct_AR+y}
   7217 then :
   7218   printf %s "(cached) " >&6
   7219 else case e in #(
   7220   e) if test -n "$ac_ct_AR"; then
   7221   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7222 else
   7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7224 for as_dir in $PATH
   7225 do
   7226   IFS=$as_save_IFS
   7227   case $as_dir in #(((
   7228     '') as_dir=./ ;;
   7229     */) ;;
   7230     *) as_dir=$as_dir/ ;;
   7231   esac
   7232     for ac_exec_ext in '' $ac_executable_extensions; do
   7233   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7234     ac_cv_prog_ac_ct_AR="$ac_prog"
   7235     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7236     break 2
   7237   fi
   7238 done
   7239   done
   7240 IFS=$as_save_IFS
   7241 
   7242 fi ;;
   7243 esac
   7244 fi
   7245 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7246 if test -n "$ac_ct_AR"; then
   7247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7248 printf "%s\n" "$ac_ct_AR" >&6; }
   7249 else
   7250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7251 printf "%s\n" "no" >&6; }
   7252 fi
   7253 
   7254 
   7255   test -n "$ac_ct_AR" && break
   7256 done
   7257 
   7258   if test "x$ac_ct_AR" = x; then
   7259     AR="false"
   7260   else
   7261     case $cross_compiling:$ac_tool_warned in
   7262 yes:)
   7263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7264 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7265 ac_tool_warned=yes ;;
   7266 esac
   7267     AR=$ac_ct_AR
   7268   fi
   7269 fi
   7270 
   7271 : ${AR=ar}
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7279 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7280 # higher priority because that's what people were doing historically (setting
   7281 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7282 # variable obsoleted/removed.
   7283 
   7284 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7285 lt_ar_flags=$AR_FLAGS
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7293 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7301 printf %s "checking for archiver @FILE support... " >&6; }
   7302 if test ${lt_cv_ar_at_file+y}
   7303 then :
   7304   printf %s "(cached) " >&6
   7305 else case e in #(
   7306   e) lt_cv_ar_at_file=no
   7307    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7308 /* end confdefs.h.  */
   7309 
   7310 int
   7311 main (void)
   7312 {
   7313 
   7314   ;
   7315   return 0;
   7316 }
   7317 _ACEOF
   7318 if ac_fn_c_try_compile "$LINENO"
   7319 then :
   7320   echo conftest.$ac_objext > conftest.lst
   7321       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7322       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7323   (eval $lt_ar_try) 2>&5
   7324   ac_status=$?
   7325   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7326   test $ac_status = 0; }
   7327       if test 0 -eq "$ac_status"; then
   7328 	# Ensure the archiver fails upon bogus file names.
   7329 	rm -f conftest.$ac_objext libconftest.a
   7330 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7331   (eval $lt_ar_try) 2>&5
   7332   ac_status=$?
   7333   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7334   test $ac_status = 0; }
   7335 	if test 0 -ne "$ac_status"; then
   7336           lt_cv_ar_at_file=@
   7337         fi
   7338       fi
   7339       rm -f conftest.* libconftest.a
   7340 
   7341 fi
   7342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7343    ;;
   7344 esac
   7345 fi
   7346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7347 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7348 
   7349 if test no = "$lt_cv_ar_at_file"; then
   7350   archiver_list_spec=
   7351 else
   7352   archiver_list_spec=$lt_cv_ar_at_file
   7353 fi
   7354 
   7355 
   7356 
   7357 
   7358 
   7359 
   7360 
   7361 if test -n "$ac_tool_prefix"; then
   7362   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7363 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7365 printf %s "checking for $ac_word... " >&6; }
   7366 if test ${ac_cv_prog_STRIP+y}
   7367 then :
   7368   printf %s "(cached) " >&6
   7369 else case e in #(
   7370   e) if test -n "$STRIP"; then
   7371   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7372 else
   7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7374 for as_dir in $PATH
   7375 do
   7376   IFS=$as_save_IFS
   7377   case $as_dir in #(((
   7378     '') as_dir=./ ;;
   7379     */) ;;
   7380     *) as_dir=$as_dir/ ;;
   7381   esac
   7382     for ac_exec_ext in '' $ac_executable_extensions; do
   7383   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7384     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7385     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7386     break 2
   7387   fi
   7388 done
   7389   done
   7390 IFS=$as_save_IFS
   7391 
   7392 fi ;;
   7393 esac
   7394 fi
   7395 STRIP=$ac_cv_prog_STRIP
   7396 if test -n "$STRIP"; then
   7397   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7398 printf "%s\n" "$STRIP" >&6; }
   7399 else
   7400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7401 printf "%s\n" "no" >&6; }
   7402 fi
   7403 
   7404 
   7405 fi
   7406 if test -z "$ac_cv_prog_STRIP"; then
   7407   ac_ct_STRIP=$STRIP
   7408   # Extract the first word of "strip", so it can be a program name with args.
   7409 set dummy strip; ac_word=$2
   7410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7411 printf %s "checking for $ac_word... " >&6; }
   7412 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7413 then :
   7414   printf %s "(cached) " >&6
   7415 else case e in #(
   7416   e) if test -n "$ac_ct_STRIP"; then
   7417   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7418 else
   7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7420 for as_dir in $PATH
   7421 do
   7422   IFS=$as_save_IFS
   7423   case $as_dir in #(((
   7424     '') as_dir=./ ;;
   7425     */) ;;
   7426     *) as_dir=$as_dir/ ;;
   7427   esac
   7428     for ac_exec_ext in '' $ac_executable_extensions; do
   7429   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7430     ac_cv_prog_ac_ct_STRIP="strip"
   7431     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7432     break 2
   7433   fi
   7434 done
   7435   done
   7436 IFS=$as_save_IFS
   7437 
   7438 fi ;;
   7439 esac
   7440 fi
   7441 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7442 if test -n "$ac_ct_STRIP"; then
   7443   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7444 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7445 else
   7446   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7447 printf "%s\n" "no" >&6; }
   7448 fi
   7449 
   7450   if test "x$ac_ct_STRIP" = x; then
   7451     STRIP=":"
   7452   else
   7453     case $cross_compiling:$ac_tool_warned in
   7454 yes:)
   7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7456 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7457 ac_tool_warned=yes ;;
   7458 esac
   7459     STRIP=$ac_ct_STRIP
   7460   fi
   7461 else
   7462   STRIP="$ac_cv_prog_STRIP"
   7463 fi
   7464 
   7465 test -z "$STRIP" && STRIP=:
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 test -z "$RANLIB" && RANLIB=:
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 # Determine commands to create old-style static archives.
   7481 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7482 old_postinstall_cmds='chmod 644 $oldlib'
   7483 old_postuninstall_cmds=
   7484 
   7485 if test -n "$RANLIB"; then
   7486   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7487   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7488 fi
   7489 
   7490 case $host_os in
   7491   darwin*)
   7492     lock_old_archive_extraction=yes ;;
   7493   *)
   7494     lock_old_archive_extraction=no ;;
   7495 esac
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 # If no C compiler was specified, use CC.
   7536 LTCC=${LTCC-"$CC"}
   7537 
   7538 # If no C compiler flags were specified, use CFLAGS.
   7539 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7540 
   7541 # Allow CC to be a program name with arguments.
   7542 compiler=$CC
   7543 
   7544 
   7545 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7547 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7548 if test ${lt_cv_sys_global_symbol_pipe+y}
   7549 then :
   7550   printf %s "(cached) " >&6
   7551 else case e in #(
   7552   e)
   7553 # These are sane defaults that work on at least a few old systems.
   7554 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7555 
   7556 # Character class describing NM global symbol codes.
   7557 symcode='[BCDEGRST]'
   7558 
   7559 # Regexp to match symbols that can be accessed directly from C.
   7560 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7561 
   7562 # Define system-specific variables.
   7563 case $host_os in
   7564 aix*)
   7565   symcode='[BCDT]'
   7566   ;;
   7567 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7568   symcode='[ABCDGISTW]'
   7569   ;;
   7570 hpux*)
   7571   if test ia64 = "$host_cpu"; then
   7572     symcode='[ABCDEGRST]'
   7573   fi
   7574   ;;
   7575 irix* | nonstopux*)
   7576   symcode='[BCDEGRST]'
   7577   ;;
   7578 osf*)
   7579   symcode='[BCDEGQRST]'
   7580   ;;
   7581 solaris*)
   7582   symcode='[BCDRT]'
   7583   ;;
   7584 sco3.2v5*)
   7585   symcode='[DT]'
   7586   ;;
   7587 sysv4.2uw2*)
   7588   symcode='[DT]'
   7589   ;;
   7590 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7591   symcode='[ABDT]'
   7592   ;;
   7593 sysv4)
   7594   symcode='[DFNSTU]'
   7595   ;;
   7596 esac
   7597 
   7598 # If we're using GNU nm, then use its standard symbol codes.
   7599 case `$NM -V 2>&1` in
   7600 *GNU* | *'with BFD'*)
   7601   symcode='[ABCDGIRSTW]' ;;
   7602 esac
   7603 
   7604 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7605   # Gets list of data symbols to import.
   7606   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7607   # Adjust the below global symbol transforms to fixup imported variables.
   7608   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7609   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7610   lt_c_name_lib_hook="\
   7611   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7612   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7613 else
   7614   # Disable hooks by default.
   7615   lt_cv_sys_global_symbol_to_import=
   7616   lt_cdecl_hook=
   7617   lt_c_name_hook=
   7618   lt_c_name_lib_hook=
   7619 fi
   7620 
   7621 # Transform an extracted symbol line into a proper C declaration.
   7622 # Some systems (esp. on ia64) link data and code symbols differently,
   7623 # so use this general approach.
   7624 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7625 $lt_cdecl_hook\
   7626 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7627 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7628 
   7629 # Transform an extracted symbol line into symbol name and symbol address
   7630 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7631 $lt_c_name_hook\
   7632 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7633 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7634 
   7635 # Transform an extracted symbol line into symbol name with lib prefix and
   7636 # symbol address.
   7637 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7638 $lt_c_name_lib_hook\
   7639 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7640 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7641 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7642 
   7643 # Handle CRLF in mingw tool chain
   7644 opt_cr=
   7645 case $build_os in
   7646 mingw* | windows*)
   7647   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7648   ;;
   7649 esac
   7650 
   7651 # Try without a prefix underscore, then with it.
   7652 for ac_symprfx in "" "_"; do
   7653 
   7654   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7655   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7656 
   7657   # Write the raw and C identifiers.
   7658   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7659     # Fake it for dumpbin and say T for any non-static function,
   7660     # D for any global variable and I for any imported variable.
   7661     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7662     # which start with @ or ?.
   7663     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7664 "     {last_section=section; section=\$ 3};"\
   7665 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7666 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7667 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7668 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7669 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7670 "     \$ 0!~/External *\|/{next};"\
   7671 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7672 "     {if(hide[section]) next};"\
   7673 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7674 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7675 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7676 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7677 "     ' prfx=^$ac_symprfx"
   7678   else
   7679     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7680   fi
   7681   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7682 
   7683   # Check to see that the pipe works correctly.
   7684   pipe_works=no
   7685 
   7686   rm -f conftest*
   7687   cat > conftest.$ac_ext <<_LT_EOF
   7688 #ifdef __cplusplus
   7689 extern "C" {
   7690 #endif
   7691 char nm_test_var;
   7692 void nm_test_func(void);
   7693 void nm_test_func(void){}
   7694 #ifdef __cplusplus
   7695 }
   7696 #endif
   7697 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7698 _LT_EOF
   7699 
   7700   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7701   (eval $ac_compile) 2>&5
   7702   ac_status=$?
   7703   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7704   test $ac_status = 0; }; then
   7705     # Now try to grab the symbols.
   7706     nlist=conftest.nm
   7707     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7708     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7709       # Try sorting and uniquifying the output.
   7710       if sort "$nlist" | uniq > "$nlist"T; then
   7711 	mv -f "$nlist"T "$nlist"
   7712       else
   7713 	rm -f "$nlist"T
   7714       fi
   7715 
   7716       # Make sure that we snagged all the symbols we need.
   7717       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7718 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7719 	  cat <<_LT_EOF > conftest.$ac_ext
   7720 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7721 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7722 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7723    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7724 # define LT_DLSYM_CONST
   7725 #elif defined __osf__
   7726 /* This system does not cope well with relocations in const data.  */
   7727 # define LT_DLSYM_CONST
   7728 #else
   7729 # define LT_DLSYM_CONST const
   7730 #endif
   7731 
   7732 #ifdef __cplusplus
   7733 extern "C" {
   7734 #endif
   7735 
   7736 _LT_EOF
   7737 	  # Now generate the symbol file.
   7738 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7739 
   7740 	  cat <<_LT_EOF >> conftest.$ac_ext
   7741 
   7742 /* The mapping between symbol names and symbols.  */
   7743 LT_DLSYM_CONST struct {
   7744   const char *name;
   7745   void       *address;
   7746 }
   7747 lt__PROGRAM__LTX_preloaded_symbols[] =
   7748 {
   7749   { "@PROGRAM@", (void *) 0 },
   7750 _LT_EOF
   7751 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7752 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7753   {0, (void *) 0}
   7754 };
   7755 
   7756 /* This works around a problem in FreeBSD linker */
   7757 #ifdef FREEBSD_WORKAROUND
   7758 static const void *lt_preloaded_setup() {
   7759   return lt__PROGRAM__LTX_preloaded_symbols;
   7760 }
   7761 #endif
   7762 
   7763 #ifdef __cplusplus
   7764 }
   7765 #endif
   7766 _LT_EOF
   7767 	  # Now try linking the two files.
   7768 	  mv conftest.$ac_objext conftstm.$ac_objext
   7769 	  lt_globsym_save_LIBS=$LIBS
   7770 	  lt_globsym_save_CFLAGS=$CFLAGS
   7771 	  LIBS=conftstm.$ac_objext
   7772 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7773 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7774   (eval $ac_link) 2>&5
   7775   ac_status=$?
   7776   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7777   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7778 	    pipe_works=yes
   7779 	  fi
   7780 	  LIBS=$lt_globsym_save_LIBS
   7781 	  CFLAGS=$lt_globsym_save_CFLAGS
   7782 	else
   7783 	  echo "cannot find nm_test_func in $nlist" >&5
   7784 	fi
   7785       else
   7786 	echo "cannot find nm_test_var in $nlist" >&5
   7787       fi
   7788     else
   7789       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7790     fi
   7791   else
   7792     echo "$progname: failed program was:" >&5
   7793     cat conftest.$ac_ext >&5
   7794   fi
   7795   rm -rf conftest* conftst*
   7796 
   7797   # Do not use the global_symbol_pipe unless it works.
   7798   if test yes = "$pipe_works"; then
   7799     break
   7800   else
   7801     lt_cv_sys_global_symbol_pipe=
   7802   fi
   7803 done
   7804  ;;
   7805 esac
   7806 fi
   7807 
   7808 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7809   lt_cv_sys_global_symbol_to_cdecl=
   7810 fi
   7811 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7813 printf "%s\n" "failed" >&6; }
   7814 else
   7815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7816 printf "%s\n" "ok" >&6; }
   7817 fi
   7818 
   7819 # Response file support.
   7820 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7821   nm_file_list_spec='@'
   7822 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7823   nm_file_list_spec='@'
   7824 fi
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7863 printf %s "checking for sysroot... " >&6; }
   7864 
   7865 # Check whether --with-sysroot was given.
   7866 if test ${with_sysroot+y}
   7867 then :
   7868   withval=$with_sysroot;
   7869 else case e in #(
   7870   e) with_sysroot=no ;;
   7871 esac
   7872 fi
   7873 
   7874 
   7875 lt_sysroot=
   7876 case $with_sysroot in #(
   7877  yes)
   7878    if test yes = "$GCC"; then
   7879      # Trim trailing / since we'll always append absolute paths and we want
   7880      # to avoid //, if only for less confusing output for the user.
   7881      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7882    fi
   7883    ;; #(
   7884  /*)
   7885    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7886    ;; #(
   7887  no|'')
   7888    ;; #(
   7889  *)
   7890    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7891 printf "%s\n" "$with_sysroot" >&6; }
   7892    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7893    ;;
   7894 esac
   7895 
   7896  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7897 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7904 printf %s "checking for a working dd... " >&6; }
   7905 if test ${ac_cv_path_lt_DD+y}
   7906 then :
   7907   printf %s "(cached) " >&6
   7908 else case e in #(
   7909   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7910 cat conftest.i conftest.i >conftest2.i
   7911 : ${lt_DD:=$DD}
   7912 if test -z "$lt_DD"; then
   7913   ac_path_lt_DD_found=false
   7914   # Loop through the user's path and test for each of PROGNAME-LIST
   7915   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7916 for as_dir in $PATH
   7917 do
   7918   IFS=$as_save_IFS
   7919   case $as_dir in #(((
   7920     '') as_dir=./ ;;
   7921     */) ;;
   7922     *) as_dir=$as_dir/ ;;
   7923   esac
   7924     for ac_prog in dd
   7925    do
   7926     for ac_exec_ext in '' $ac_executable_extensions; do
   7927       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7928       as_fn_executable_p "$ac_path_lt_DD" || continue
   7929 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7930   cmp -s conftest.i conftest.out \
   7931   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7932 fi
   7933       $ac_path_lt_DD_found && break 3
   7934     done
   7935   done
   7936   done
   7937 IFS=$as_save_IFS
   7938   if test -z "$ac_cv_path_lt_DD"; then
   7939     :
   7940   fi
   7941 else
   7942   ac_cv_path_lt_DD=$lt_DD
   7943 fi
   7944 
   7945 rm -f conftest.i conftest2.i conftest.out ;;
   7946 esac
   7947 fi
   7948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7949 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7950 
   7951 
   7952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7953 printf %s "checking how to truncate binary pipes... " >&6; }
   7954 if test ${lt_cv_truncate_bin+y}
   7955 then :
   7956   printf %s "(cached) " >&6
   7957 else case e in #(
   7958   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7959 cat conftest.i conftest.i >conftest2.i
   7960 lt_cv_truncate_bin=
   7961 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7962   cmp -s conftest.i conftest.out \
   7963   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7964 fi
   7965 rm -f conftest.i conftest2.i conftest.out
   7966 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7967 esac
   7968 fi
   7969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7970 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7979 func_cc_basename ()
   7980 {
   7981     for cc_temp in $*""; do
   7982       case $cc_temp in
   7983         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7984         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7985         \-*) ;;
   7986         *) break;;
   7987       esac
   7988     done
   7989     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7990 }
   7991 
   7992 # Check whether --enable-libtool-lock was given.
   7993 if test ${enable_libtool_lock+y}
   7994 then :
   7995   enableval=$enable_libtool_lock;
   7996 fi
   7997 
   7998 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7999 
   8000 # Some flags need to be propagated to the compiler or linker for good
   8001 # libtool support.
   8002 case $host in
   8003 ia64-*-hpux*)
   8004   # Find out what ABI is being produced by ac_compile, and set mode
   8005   # options accordingly.
   8006   echo 'int i;' > conftest.$ac_ext
   8007   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8008   (eval $ac_compile) 2>&5
   8009   ac_status=$?
   8010   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8011   test $ac_status = 0; }; then
   8012     case `$FILECMD conftest.$ac_objext` in
   8013       *ELF-32*)
   8014 	HPUX_IA64_MODE=32
   8015 	;;
   8016       *ELF-64*)
   8017 	HPUX_IA64_MODE=64
   8018 	;;
   8019     esac
   8020   fi
   8021   rm -rf conftest*
   8022   ;;
   8023 *-*-irix6*)
   8024   # Find out what ABI is being produced by ac_compile, and set linker
   8025   # options accordingly.
   8026   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8027   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8028   (eval $ac_compile) 2>&5
   8029   ac_status=$?
   8030   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8031   test $ac_status = 0; }; then
   8032     if test yes = "$lt_cv_prog_gnu_ld"; then
   8033       case `$FILECMD conftest.$ac_objext` in
   8034 	*32-bit*)
   8035 	  LD="${LD-ld} -melf32bsmip"
   8036 	  ;;
   8037 	*N32*)
   8038 	  LD="${LD-ld} -melf32bmipn32"
   8039 	  ;;
   8040 	*64-bit*)
   8041 	  LD="${LD-ld} -melf64bmip"
   8042 	;;
   8043       esac
   8044     else
   8045       case `$FILECMD conftest.$ac_objext` in
   8046 	*32-bit*)
   8047 	  LD="${LD-ld} -32"
   8048 	  ;;
   8049 	*N32*)
   8050 	  LD="${LD-ld} -n32"
   8051 	  ;;
   8052 	*64-bit*)
   8053 	  LD="${LD-ld} -64"
   8054 	  ;;
   8055       esac
   8056     fi
   8057   fi
   8058   rm -rf conftest*
   8059   ;;
   8060 
   8061 mips64*-*linux*)
   8062   # Find out what ABI is being produced by ac_compile, and set linker
   8063   # options accordingly.
   8064   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8065   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8066   (eval $ac_compile) 2>&5
   8067   ac_status=$?
   8068   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8069   test $ac_status = 0; }; then
   8070     emul=elf
   8071     case `$FILECMD conftest.$ac_objext` in
   8072       *32-bit*)
   8073 	emul="${emul}32"
   8074 	;;
   8075       *64-bit*)
   8076 	emul="${emul}64"
   8077 	;;
   8078     esac
   8079     case `$FILECMD conftest.$ac_objext` in
   8080       *MSB*)
   8081 	emul="${emul}btsmip"
   8082 	;;
   8083       *LSB*)
   8084 	emul="${emul}ltsmip"
   8085 	;;
   8086     esac
   8087     case `$FILECMD conftest.$ac_objext` in
   8088       *N32*)
   8089 	emul="${emul}n32"
   8090 	;;
   8091     esac
   8092     LD="${LD-ld} -m $emul"
   8093   fi
   8094   rm -rf conftest*
   8095   ;;
   8096 
   8097 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8098 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   8099   # Find out what ABI is being produced by ac_compile, and set linker
   8100   # options accordingly.  Note that the listed cases only cover the
   8101   # situations where additional linker options are needed (such as when
   8102   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8103   # vice versa); the common cases where no linker options are needed do
   8104   # not appear in the list.
   8105   echo 'int i;' > conftest.$ac_ext
   8106   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8107   (eval $ac_compile) 2>&5
   8108   ac_status=$?
   8109   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8110   test $ac_status = 0; }; then
   8111     case `$FILECMD conftest.o` in
   8112       *32-bit*)
   8113 	case $host in
   8114 	  x86_64-*kfreebsd*-gnu)
   8115 	    LD="${LD-ld} -m elf_i386_fbsd"
   8116 	    ;;
   8117 	  x86_64-*linux*|x86_64-gnu*)
   8118 	    case `$FILECMD conftest.o` in
   8119 	      *x86-64*)
   8120 		LD="${LD-ld} -m elf32_x86_64"
   8121 		;;
   8122 	      *)
   8123 		LD="${LD-ld} -m elf_i386"
   8124 		;;
   8125 	    esac
   8126 	    ;;
   8127 	  powerpc64le-*linux*)
   8128 	    LD="${LD-ld} -m elf32lppclinux"
   8129 	    ;;
   8130 	  powerpc64-*linux*)
   8131 	    LD="${LD-ld} -m elf32ppclinux"
   8132 	    ;;
   8133 	  s390x-*linux*)
   8134 	    LD="${LD-ld} -m elf_s390"
   8135 	    ;;
   8136 	  sparc64-*linux*)
   8137 	    LD="${LD-ld} -m elf32_sparc"
   8138 	    ;;
   8139 	esac
   8140 	;;
   8141       *64-bit*)
   8142 	case $host in
   8143 	  x86_64-*kfreebsd*-gnu)
   8144 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8145 	    ;;
   8146 	  x86_64-*linux*|x86_64-gnu*)
   8147 	    LD="${LD-ld} -m elf_x86_64"
   8148 	    ;;
   8149 	  powerpcle-*linux*)
   8150 	    LD="${LD-ld} -m elf64lppc"
   8151 	    ;;
   8152 	  powerpc-*linux*)
   8153 	    LD="${LD-ld} -m elf64ppc"
   8154 	    ;;
   8155 	  s390*-*linux*|s390*-*tpf*)
   8156 	    LD="${LD-ld} -m elf64_s390"
   8157 	    ;;
   8158 	  sparc*-*linux*)
   8159 	    LD="${LD-ld} -m elf64_sparc"
   8160 	    ;;
   8161 	esac
   8162 	;;
   8163     esac
   8164   fi
   8165   rm -rf conftest*
   8166   ;;
   8167 
   8168 *-*-sco3.2v5*)
   8169   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8170   SAVE_CFLAGS=$CFLAGS
   8171   CFLAGS="$CFLAGS -belf"
   8172   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8173 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8174 if test ${lt_cv_cc_needs_belf+y}
   8175 then :
   8176   printf %s "(cached) " >&6
   8177 else case e in #(
   8178   e) ac_ext=c
   8179 ac_cpp='$CPP $CPPFLAGS'
   8180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8183 
   8184      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8185 /* end confdefs.h.  */
   8186 
   8187 int
   8188 main (void)
   8189 {
   8190 
   8191   ;
   8192   return 0;
   8193 }
   8194 _ACEOF
   8195 if ac_fn_c_try_link "$LINENO"
   8196 then :
   8197   lt_cv_cc_needs_belf=yes
   8198 else case e in #(
   8199   e) lt_cv_cc_needs_belf=no ;;
   8200 esac
   8201 fi
   8202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8203     conftest$ac_exeext conftest.$ac_ext
   8204      ac_ext=c
   8205 ac_cpp='$CPP $CPPFLAGS'
   8206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8209  ;;
   8210 esac
   8211 fi
   8212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8213 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8214   if test yes != "$lt_cv_cc_needs_belf"; then
   8215     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8216     CFLAGS=$SAVE_CFLAGS
   8217   fi
   8218   ;;
   8219 *-*solaris*)
   8220   # Find out what ABI is being produced by ac_compile, and set linker
   8221   # options accordingly.
   8222   echo 'int i;' > conftest.$ac_ext
   8223   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8224   (eval $ac_compile) 2>&5
   8225   ac_status=$?
   8226   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8227   test $ac_status = 0; }; then
   8228     case `$FILECMD conftest.o` in
   8229     *64-bit*)
   8230       case $lt_cv_prog_gnu_ld in
   8231       yes*)
   8232         case $host in
   8233         i?86-*-solaris*|x86_64-*-solaris*)
   8234           LD="${LD-ld} -m elf_x86_64"
   8235           ;;
   8236         sparc*-*-solaris*)
   8237           LD="${LD-ld} -m elf64_sparc"
   8238           ;;
   8239         esac
   8240         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8241         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8242           LD=${LD-ld}_sol2
   8243         fi
   8244         ;;
   8245       *)
   8246 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8247 	  LD="${LD-ld} -64"
   8248 	fi
   8249 	;;
   8250       esac
   8251       ;;
   8252     esac
   8253   fi
   8254   rm -rf conftest*
   8255   ;;
   8256 esac
   8257 
   8258 need_locks=$enable_libtool_lock
   8259 
   8260 if test -n "$ac_tool_prefix"; then
   8261   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8262 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8264 printf %s "checking for $ac_word... " >&6; }
   8265 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8266 then :
   8267   printf %s "(cached) " >&6
   8268 else case e in #(
   8269   e) if test -n "$MANIFEST_TOOL"; then
   8270   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8271 else
   8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8273 for as_dir in $PATH
   8274 do
   8275   IFS=$as_save_IFS
   8276   case $as_dir in #(((
   8277     '') as_dir=./ ;;
   8278     */) ;;
   8279     *) as_dir=$as_dir/ ;;
   8280   esac
   8281     for ac_exec_ext in '' $ac_executable_extensions; do
   8282   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8283     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8284     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8285     break 2
   8286   fi
   8287 done
   8288   done
   8289 IFS=$as_save_IFS
   8290 
   8291 fi ;;
   8292 esac
   8293 fi
   8294 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8295 if test -n "$MANIFEST_TOOL"; then
   8296   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8297 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8298 else
   8299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8300 printf "%s\n" "no" >&6; }
   8301 fi
   8302 
   8303 
   8304 fi
   8305 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8306   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8307   # Extract the first word of "mt", so it can be a program name with args.
   8308 set dummy mt; ac_word=$2
   8309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8310 printf %s "checking for $ac_word... " >&6; }
   8311 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8312 then :
   8313   printf %s "(cached) " >&6
   8314 else case e in #(
   8315   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   8316   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8317 else
   8318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8319 for as_dir in $PATH
   8320 do
   8321   IFS=$as_save_IFS
   8322   case $as_dir in #(((
   8323     '') as_dir=./ ;;
   8324     */) ;;
   8325     *) as_dir=$as_dir/ ;;
   8326   esac
   8327     for ac_exec_ext in '' $ac_executable_extensions; do
   8328   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8329     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8330     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8331     break 2
   8332   fi
   8333 done
   8334   done
   8335 IFS=$as_save_IFS
   8336 
   8337 fi ;;
   8338 esac
   8339 fi
   8340 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8341 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8342   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8343 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8344 else
   8345   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8346 printf "%s\n" "no" >&6; }
   8347 fi
   8348 
   8349   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8350     MANIFEST_TOOL=":"
   8351   else
   8352     case $cross_compiling:$ac_tool_warned in
   8353 yes:)
   8354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8355 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8356 ac_tool_warned=yes ;;
   8357 esac
   8358     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8359   fi
   8360 else
   8361   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8362 fi
   8363 
   8364 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8366 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8367 if test ${lt_cv_path_manifest_tool+y}
   8368 then :
   8369   printf %s "(cached) " >&6
   8370 else case e in #(
   8371   e) lt_cv_path_manifest_tool=no
   8372   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8373   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8374   cat conftest.err >&5
   8375   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8376     lt_cv_path_manifest_tool=yes
   8377   fi
   8378   rm -f conftest* ;;
   8379 esac
   8380 fi
   8381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   8382 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   8383 if test yes != "$lt_cv_path_manifest_tool"; then
   8384   MANIFEST_TOOL=:
   8385 fi
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392   case $host_os in
   8393     rhapsody* | darwin*)
   8394     if test -n "$ac_tool_prefix"; then
   8395   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8396 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8398 printf %s "checking for $ac_word... " >&6; }
   8399 if test ${ac_cv_prog_DSYMUTIL+y}
   8400 then :
   8401   printf %s "(cached) " >&6
   8402 else case e in #(
   8403   e) if test -n "$DSYMUTIL"; then
   8404   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8405 else
   8406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8407 for as_dir in $PATH
   8408 do
   8409   IFS=$as_save_IFS
   8410   case $as_dir in #(((
   8411     '') as_dir=./ ;;
   8412     */) ;;
   8413     *) as_dir=$as_dir/ ;;
   8414   esac
   8415     for ac_exec_ext in '' $ac_executable_extensions; do
   8416   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8417     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8418     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8419     break 2
   8420   fi
   8421 done
   8422   done
   8423 IFS=$as_save_IFS
   8424 
   8425 fi ;;
   8426 esac
   8427 fi
   8428 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8429 if test -n "$DSYMUTIL"; then
   8430   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8431 printf "%s\n" "$DSYMUTIL" >&6; }
   8432 else
   8433   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8434 printf "%s\n" "no" >&6; }
   8435 fi
   8436 
   8437 
   8438 fi
   8439 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8440   ac_ct_DSYMUTIL=$DSYMUTIL
   8441   # Extract the first word of "dsymutil", so it can be a program name with args.
   8442 set dummy dsymutil; ac_word=$2
   8443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8444 printf %s "checking for $ac_word... " >&6; }
   8445 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8446 then :
   8447   printf %s "(cached) " >&6
   8448 else case e in #(
   8449   e) if test -n "$ac_ct_DSYMUTIL"; then
   8450   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8451 else
   8452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8453 for as_dir in $PATH
   8454 do
   8455   IFS=$as_save_IFS
   8456   case $as_dir in #(((
   8457     '') as_dir=./ ;;
   8458     */) ;;
   8459     *) as_dir=$as_dir/ ;;
   8460   esac
   8461     for ac_exec_ext in '' $ac_executable_extensions; do
   8462   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8463     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8464     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8465     break 2
   8466   fi
   8467 done
   8468   done
   8469 IFS=$as_save_IFS
   8470 
   8471 fi ;;
   8472 esac
   8473 fi
   8474 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8475 if test -n "$ac_ct_DSYMUTIL"; then
   8476   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8477 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8478 else
   8479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8480 printf "%s\n" "no" >&6; }
   8481 fi
   8482 
   8483   if test "x$ac_ct_DSYMUTIL" = x; then
   8484     DSYMUTIL=":"
   8485   else
   8486     case $cross_compiling:$ac_tool_warned in
   8487 yes:)
   8488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8489 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8490 ac_tool_warned=yes ;;
   8491 esac
   8492     DSYMUTIL=$ac_ct_DSYMUTIL
   8493   fi
   8494 else
   8495   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8496 fi
   8497 
   8498     if test -n "$ac_tool_prefix"; then
   8499   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8500 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8502 printf %s "checking for $ac_word... " >&6; }
   8503 if test ${ac_cv_prog_NMEDIT+y}
   8504 then :
   8505   printf %s "(cached) " >&6
   8506 else case e in #(
   8507   e) if test -n "$NMEDIT"; then
   8508   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8509 else
   8510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8511 for as_dir in $PATH
   8512 do
   8513   IFS=$as_save_IFS
   8514   case $as_dir in #(((
   8515     '') as_dir=./ ;;
   8516     */) ;;
   8517     *) as_dir=$as_dir/ ;;
   8518   esac
   8519     for ac_exec_ext in '' $ac_executable_extensions; do
   8520   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8521     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8522     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8523     break 2
   8524   fi
   8525 done
   8526   done
   8527 IFS=$as_save_IFS
   8528 
   8529 fi ;;
   8530 esac
   8531 fi
   8532 NMEDIT=$ac_cv_prog_NMEDIT
   8533 if test -n "$NMEDIT"; then
   8534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8535 printf "%s\n" "$NMEDIT" >&6; }
   8536 else
   8537   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8538 printf "%s\n" "no" >&6; }
   8539 fi
   8540 
   8541 
   8542 fi
   8543 if test -z "$ac_cv_prog_NMEDIT"; then
   8544   ac_ct_NMEDIT=$NMEDIT
   8545   # Extract the first word of "nmedit", so it can be a program name with args.
   8546 set dummy nmedit; ac_word=$2
   8547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8548 printf %s "checking for $ac_word... " >&6; }
   8549 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8550 then :
   8551   printf %s "(cached) " >&6
   8552 else case e in #(
   8553   e) if test -n "$ac_ct_NMEDIT"; then
   8554   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8555 else
   8556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8557 for as_dir in $PATH
   8558 do
   8559   IFS=$as_save_IFS
   8560   case $as_dir in #(((
   8561     '') as_dir=./ ;;
   8562     */) ;;
   8563     *) as_dir=$as_dir/ ;;
   8564   esac
   8565     for ac_exec_ext in '' $ac_executable_extensions; do
   8566   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8567     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8568     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8569     break 2
   8570   fi
   8571 done
   8572   done
   8573 IFS=$as_save_IFS
   8574 
   8575 fi ;;
   8576 esac
   8577 fi
   8578 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8579 if test -n "$ac_ct_NMEDIT"; then
   8580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8581 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8582 else
   8583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8584 printf "%s\n" "no" >&6; }
   8585 fi
   8586 
   8587   if test "x$ac_ct_NMEDIT" = x; then
   8588     NMEDIT=":"
   8589   else
   8590     case $cross_compiling:$ac_tool_warned in
   8591 yes:)
   8592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8593 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8594 ac_tool_warned=yes ;;
   8595 esac
   8596     NMEDIT=$ac_ct_NMEDIT
   8597   fi
   8598 else
   8599   NMEDIT="$ac_cv_prog_NMEDIT"
   8600 fi
   8601 
   8602     if test -n "$ac_tool_prefix"; then
   8603   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8604 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8606 printf %s "checking for $ac_word... " >&6; }
   8607 if test ${ac_cv_prog_LIPO+y}
   8608 then :
   8609   printf %s "(cached) " >&6
   8610 else case e in #(
   8611   e) if test -n "$LIPO"; then
   8612   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8613 else
   8614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8615 for as_dir in $PATH
   8616 do
   8617   IFS=$as_save_IFS
   8618   case $as_dir in #(((
   8619     '') as_dir=./ ;;
   8620     */) ;;
   8621     *) as_dir=$as_dir/ ;;
   8622   esac
   8623     for ac_exec_ext in '' $ac_executable_extensions; do
   8624   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8625     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8626     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8627     break 2
   8628   fi
   8629 done
   8630   done
   8631 IFS=$as_save_IFS
   8632 
   8633 fi ;;
   8634 esac
   8635 fi
   8636 LIPO=$ac_cv_prog_LIPO
   8637 if test -n "$LIPO"; then
   8638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8639 printf "%s\n" "$LIPO" >&6; }
   8640 else
   8641   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8642 printf "%s\n" "no" >&6; }
   8643 fi
   8644 
   8645 
   8646 fi
   8647 if test -z "$ac_cv_prog_LIPO"; then
   8648   ac_ct_LIPO=$LIPO
   8649   # Extract the first word of "lipo", so it can be a program name with args.
   8650 set dummy lipo; ac_word=$2
   8651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8652 printf %s "checking for $ac_word... " >&6; }
   8653 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8654 then :
   8655   printf %s "(cached) " >&6
   8656 else case e in #(
   8657   e) if test -n "$ac_ct_LIPO"; then
   8658   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8659 else
   8660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8661 for as_dir in $PATH
   8662 do
   8663   IFS=$as_save_IFS
   8664   case $as_dir in #(((
   8665     '') as_dir=./ ;;
   8666     */) ;;
   8667     *) as_dir=$as_dir/ ;;
   8668   esac
   8669     for ac_exec_ext in '' $ac_executable_extensions; do
   8670   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8671     ac_cv_prog_ac_ct_LIPO="lipo"
   8672     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8673     break 2
   8674   fi
   8675 done
   8676   done
   8677 IFS=$as_save_IFS
   8678 
   8679 fi ;;
   8680 esac
   8681 fi
   8682 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8683 if test -n "$ac_ct_LIPO"; then
   8684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8685 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8686 else
   8687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8688 printf "%s\n" "no" >&6; }
   8689 fi
   8690 
   8691   if test "x$ac_ct_LIPO" = x; then
   8692     LIPO=":"
   8693   else
   8694     case $cross_compiling:$ac_tool_warned in
   8695 yes:)
   8696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8697 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8698 ac_tool_warned=yes ;;
   8699 esac
   8700     LIPO=$ac_ct_LIPO
   8701   fi
   8702 else
   8703   LIPO="$ac_cv_prog_LIPO"
   8704 fi
   8705 
   8706     if test -n "$ac_tool_prefix"; then
   8707   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8708 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8710 printf %s "checking for $ac_word... " >&6; }
   8711 if test ${ac_cv_prog_OTOOL+y}
   8712 then :
   8713   printf %s "(cached) " >&6
   8714 else case e in #(
   8715   e) if test -n "$OTOOL"; then
   8716   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8717 else
   8718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8719 for as_dir in $PATH
   8720 do
   8721   IFS=$as_save_IFS
   8722   case $as_dir in #(((
   8723     '') as_dir=./ ;;
   8724     */) ;;
   8725     *) as_dir=$as_dir/ ;;
   8726   esac
   8727     for ac_exec_ext in '' $ac_executable_extensions; do
   8728   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8729     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8730     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8731     break 2
   8732   fi
   8733 done
   8734   done
   8735 IFS=$as_save_IFS
   8736 
   8737 fi ;;
   8738 esac
   8739 fi
   8740 OTOOL=$ac_cv_prog_OTOOL
   8741 if test -n "$OTOOL"; then
   8742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8743 printf "%s\n" "$OTOOL" >&6; }
   8744 else
   8745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8746 printf "%s\n" "no" >&6; }
   8747 fi
   8748 
   8749 
   8750 fi
   8751 if test -z "$ac_cv_prog_OTOOL"; then
   8752   ac_ct_OTOOL=$OTOOL
   8753   # Extract the first word of "otool", so it can be a program name with args.
   8754 set dummy otool; ac_word=$2
   8755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8756 printf %s "checking for $ac_word... " >&6; }
   8757 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8758 then :
   8759   printf %s "(cached) " >&6
   8760 else case e in #(
   8761   e) if test -n "$ac_ct_OTOOL"; then
   8762   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8763 else
   8764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8765 for as_dir in $PATH
   8766 do
   8767   IFS=$as_save_IFS
   8768   case $as_dir in #(((
   8769     '') as_dir=./ ;;
   8770     */) ;;
   8771     *) as_dir=$as_dir/ ;;
   8772   esac
   8773     for ac_exec_ext in '' $ac_executable_extensions; do
   8774   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8775     ac_cv_prog_ac_ct_OTOOL="otool"
   8776     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8777     break 2
   8778   fi
   8779 done
   8780   done
   8781 IFS=$as_save_IFS
   8782 
   8783 fi ;;
   8784 esac
   8785 fi
   8786 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8787 if test -n "$ac_ct_OTOOL"; then
   8788   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8789 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8790 else
   8791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8792 printf "%s\n" "no" >&6; }
   8793 fi
   8794 
   8795   if test "x$ac_ct_OTOOL" = x; then
   8796     OTOOL=":"
   8797   else
   8798     case $cross_compiling:$ac_tool_warned in
   8799 yes:)
   8800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8801 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8802 ac_tool_warned=yes ;;
   8803 esac
   8804     OTOOL=$ac_ct_OTOOL
   8805   fi
   8806 else
   8807   OTOOL="$ac_cv_prog_OTOOL"
   8808 fi
   8809 
   8810     if test -n "$ac_tool_prefix"; then
   8811   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8812 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8814 printf %s "checking for $ac_word... " >&6; }
   8815 if test ${ac_cv_prog_OTOOL64+y}
   8816 then :
   8817   printf %s "(cached) " >&6
   8818 else case e in #(
   8819   e) if test -n "$OTOOL64"; then
   8820   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8821 else
   8822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8823 for as_dir in $PATH
   8824 do
   8825   IFS=$as_save_IFS
   8826   case $as_dir in #(((
   8827     '') as_dir=./ ;;
   8828     */) ;;
   8829     *) as_dir=$as_dir/ ;;
   8830   esac
   8831     for ac_exec_ext in '' $ac_executable_extensions; do
   8832   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8833     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8834     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8835     break 2
   8836   fi
   8837 done
   8838   done
   8839 IFS=$as_save_IFS
   8840 
   8841 fi ;;
   8842 esac
   8843 fi
   8844 OTOOL64=$ac_cv_prog_OTOOL64
   8845 if test -n "$OTOOL64"; then
   8846   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8847 printf "%s\n" "$OTOOL64" >&6; }
   8848 else
   8849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8850 printf "%s\n" "no" >&6; }
   8851 fi
   8852 
   8853 
   8854 fi
   8855 if test -z "$ac_cv_prog_OTOOL64"; then
   8856   ac_ct_OTOOL64=$OTOOL64
   8857   # Extract the first word of "otool64", so it can be a program name with args.
   8858 set dummy otool64; ac_word=$2
   8859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8860 printf %s "checking for $ac_word... " >&6; }
   8861 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8862 then :
   8863   printf %s "(cached) " >&6
   8864 else case e in #(
   8865   e) if test -n "$ac_ct_OTOOL64"; then
   8866   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8867 else
   8868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8869 for as_dir in $PATH
   8870 do
   8871   IFS=$as_save_IFS
   8872   case $as_dir in #(((
   8873     '') as_dir=./ ;;
   8874     */) ;;
   8875     *) as_dir=$as_dir/ ;;
   8876   esac
   8877     for ac_exec_ext in '' $ac_executable_extensions; do
   8878   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8879     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8880     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8881     break 2
   8882   fi
   8883 done
   8884   done
   8885 IFS=$as_save_IFS
   8886 
   8887 fi ;;
   8888 esac
   8889 fi
   8890 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8891 if test -n "$ac_ct_OTOOL64"; then
   8892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8893 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8894 else
   8895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8896 printf "%s\n" "no" >&6; }
   8897 fi
   8898 
   8899   if test "x$ac_ct_OTOOL64" = x; then
   8900     OTOOL64=":"
   8901   else
   8902     case $cross_compiling:$ac_tool_warned in
   8903 yes:)
   8904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8905 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8906 ac_tool_warned=yes ;;
   8907 esac
   8908     OTOOL64=$ac_ct_OTOOL64
   8909   fi
   8910 else
   8911   OTOOL64="$ac_cv_prog_OTOOL64"
   8912 fi
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8941 printf %s "checking for -single_module linker flag... " >&6; }
   8942 if test ${lt_cv_apple_cc_single_mod+y}
   8943 then :
   8944   printf %s "(cached) " >&6
   8945 else case e in #(
   8946   e) lt_cv_apple_cc_single_mod=no
   8947       if test -z "$LT_MULTI_MODULE"; then
   8948 	# By default we will add the -single_module flag. You can override
   8949 	# by either setting the environment variable LT_MULTI_MODULE
   8950 	# non-empty at configure time, or by adding -multi_module to the
   8951 	# link flags.
   8952 	rm -rf libconftest.dylib*
   8953 	echo "int foo(void){return 1;}" > conftest.c
   8954 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8955 -dynamiclib -Wl,-single_module conftest.c" >&5
   8956 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8957 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8958         _lt_result=$?
   8959 	# If there is a non-empty error log, and "single_module"
   8960 	# appears in it, assume the flag caused a linker warning
   8961         if test -s conftest.err && $GREP single_module conftest.err; then
   8962 	  cat conftest.err >&5
   8963 	# Otherwise, if the output was created with a 0 exit code from
   8964 	# the compiler, it worked.
   8965 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8966 	  lt_cv_apple_cc_single_mod=yes
   8967 	else
   8968 	  cat conftest.err >&5
   8969 	fi
   8970 	rm -rf libconftest.dylib*
   8971 	rm -f conftest.*
   8972       fi ;;
   8973 esac
   8974 fi
   8975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8976 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8977 
   8978     # Feature test to disable chained fixups since it is not
   8979     # compatible with '-undefined dynamic_lookup'
   8980     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8981 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8982 if test ${lt_cv_support_no_fixup_chains+y}
   8983 then :
   8984   printf %s "(cached) " >&6
   8985 else case e in #(
   8986   e)  save_LDFLAGS=$LDFLAGS
   8987         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8988         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8989 /* end confdefs.h.  */
   8990 
   8991 int
   8992 main (void)
   8993 {
   8994 
   8995   ;
   8996   return 0;
   8997 }
   8998 _ACEOF
   8999 if ac_fn_c_try_link "$LINENO"
   9000 then :
   9001   lt_cv_support_no_fixup_chains=yes
   9002 else case e in #(
   9003   e) lt_cv_support_no_fixup_chains=no
   9004          ;;
   9005 esac
   9006 fi
   9007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9008     conftest$ac_exeext conftest.$ac_ext
   9009         LDFLAGS=$save_LDFLAGS
   9010 
   9011      ;;
   9012 esac
   9013 fi
   9014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   9015 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   9016 
   9017     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9018 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   9019 if test ${lt_cv_ld_exported_symbols_list+y}
   9020 then :
   9021   printf %s "(cached) " >&6
   9022 else case e in #(
   9023   e) lt_cv_ld_exported_symbols_list=no
   9024       save_LDFLAGS=$LDFLAGS
   9025       echo "_main" > conftest.sym
   9026       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9028 /* end confdefs.h.  */
   9029 
   9030 int
   9031 main (void)
   9032 {
   9033 
   9034   ;
   9035   return 0;
   9036 }
   9037 _ACEOF
   9038 if ac_fn_c_try_link "$LINENO"
   9039 then :
   9040   lt_cv_ld_exported_symbols_list=yes
   9041 else case e in #(
   9042   e) lt_cv_ld_exported_symbols_list=no ;;
   9043 esac
   9044 fi
   9045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9046     conftest$ac_exeext conftest.$ac_ext
   9047 	LDFLAGS=$save_LDFLAGS
   9048      ;;
   9049 esac
   9050 fi
   9051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9052 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   9053 
   9054     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9055 printf %s "checking for -force_load linker flag... " >&6; }
   9056 if test ${lt_cv_ld_force_load+y}
   9057 then :
   9058   printf %s "(cached) " >&6
   9059 else case e in #(
   9060   e) lt_cv_ld_force_load=no
   9061       cat > conftest.c << _LT_EOF
   9062 int forced_loaded() { return 2;}
   9063 _LT_EOF
   9064       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9065       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9066       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   9067       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   9068       echo "$RANLIB libconftest.a" >&5
   9069       $RANLIB libconftest.a 2>&5
   9070       cat > conftest.c << _LT_EOF
   9071 int main(void) { return 0;}
   9072 _LT_EOF
   9073       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9074       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9075       _lt_result=$?
   9076       if test -s conftest.err && $GREP force_load conftest.err; then
   9077 	cat conftest.err >&5
   9078       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9079 	lt_cv_ld_force_load=yes
   9080       else
   9081 	cat conftest.err >&5
   9082       fi
   9083         rm -f conftest.err libconftest.a conftest conftest.c
   9084         rm -rf conftest.dSYM
   9085      ;;
   9086 esac
   9087 fi
   9088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9089 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   9090     case $host_os in
   9091     rhapsody* | darwin1.[012])
   9092       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9093     darwin1.*)
   9094       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9095     darwin*)
   9096       case $MACOSX_DEPLOYMENT_TARGET,$host in
   9097         10.[012],*|,*powerpc*-darwin[5-8]*)
   9098           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9099         *)
   9100           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   9101           if test yes = "$lt_cv_support_no_fixup_chains"; then
   9102             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   9103           fi
   9104         ;;
   9105       esac
   9106     ;;
   9107   esac
   9108     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9109       _lt_dar_single_mod='$single_module'
   9110     fi
   9111     _lt_dar_needs_single_mod=no
   9112     case $host_os in
   9113     rhapsody* | darwin1.*)
   9114       _lt_dar_needs_single_mod=yes ;;
   9115     darwin*)
   9116       # When targeting Mac OS X 10.4 (darwin 8) or later,
   9117       # -single_module is the default and -multi_module is unsupported.
   9118       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   9119       # target any OS version that needs -single_module.
   9120       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9121       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   9122         _lt_dar_needs_single_mod=yes ;;
   9123       esac
   9124     ;;
   9125     esac
   9126     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9127       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9128     else
   9129       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9130     fi
   9131     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9132       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9133     else
   9134       _lt_dsymutil=
   9135     fi
   9136     ;;
   9137   esac
   9138 
   9139 # func_munge_path_list VARIABLE PATH
   9140 # -----------------------------------
   9141 # VARIABLE is name of variable containing _space_ separated list of
   9142 # directories to be munged by the contents of PATH, which is string
   9143 # having a format:
   9144 # "DIR[:DIR]:"
   9145 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9146 # ":DIR[:DIR]"
   9147 #       string "DIR[ DIR]" will be appended to VARIABLE
   9148 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9149 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9150 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9151 # "DIR[:DIR]"
   9152 #       VARIABLE will be replaced by "DIR[ DIR]"
   9153 func_munge_path_list ()
   9154 {
   9155     case x$2 in
   9156     x)
   9157         ;;
   9158     *:)
   9159         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9160         ;;
   9161     x:*)
   9162         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9163         ;;
   9164     *::*)
   9165         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9166         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9167         ;;
   9168     *)
   9169         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9170         ;;
   9171     esac
   9172 }
   9173 
   9174 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9175 "
   9176 if test "x$ac_cv_header_dlfcn_h" = xyes
   9177 then :
   9178   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   9179 
   9180 fi
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 # Set options
   9187 # Check whether --enable-static was given.
   9188 if test ${enable_static+y}
   9189 then :
   9190   enableval=$enable_static; p=${PACKAGE-default}
   9191     case $enableval in
   9192     yes) enable_static=yes ;;
   9193     no) enable_static=no ;;
   9194     *)
   9195      enable_static=no
   9196       # Look at the argument we got.  We use all the common list separators.
   9197       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9198       for pkg in $enableval; do
   9199 	IFS=$lt_save_ifs
   9200 	if test "X$pkg" = "X$p"; then
   9201 	  enable_static=yes
   9202 	fi
   9203       done
   9204       IFS=$lt_save_ifs
   9205       ;;
   9206     esac
   9207 else case e in #(
   9208   e) enable_static=no ;;
   9209 esac
   9210 fi
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 enable_dlopen=yes
   9219 
   9220 
   9221 
   9222 
   9223   enable_win32_dll=no
   9224 
   9225 
   9226             # Check whether --enable-shared was given.
   9227 if test ${enable_shared+y}
   9228 then :
   9229   enableval=$enable_shared; p=${PACKAGE-default}
   9230     case $enableval in
   9231     yes) enable_shared=yes ;;
   9232     no) enable_shared=no ;;
   9233     *)
   9234       enable_shared=no
   9235       # Look at the argument we got.  We use all the common list separators.
   9236       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9237       for pkg in $enableval; do
   9238 	IFS=$lt_save_ifs
   9239 	if test "X$pkg" = "X$p"; then
   9240 	  enable_shared=yes
   9241 	fi
   9242       done
   9243       IFS=$lt_save_ifs
   9244       ;;
   9245     esac
   9246 else case e in #(
   9247   e) enable_shared=yes ;;
   9248 esac
   9249 fi
   9250 
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260   # Check whether --enable-pic was given.
   9261 if test ${enable_pic+y}
   9262 then :
   9263   enableval=$enable_pic; lt_p=${PACKAGE-default}
   9264      case $enableval in
   9265      yes|no) pic_mode=$enableval ;;
   9266      *)
   9267        pic_mode=default
   9268        # Look at the argument we got.  We use all the common list separators.
   9269        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9270        for lt_pkg in $enableval; do
   9271 	 IFS=$lt_save_ifs
   9272 	 if test "X$lt_pkg" = "X$lt_p"; then
   9273 	   pic_mode=yes
   9274 	 fi
   9275        done
   9276        IFS=$lt_save_ifs
   9277        ;;
   9278      esac
   9279 else case e in #(
   9280   e)           # Check whether --with-pic was given.
   9281 if test ${with_pic+y}
   9282 then :
   9283   withval=$with_pic; lt_p=${PACKAGE-default}
   9284 	 case $withval in
   9285 	 yes|no) pic_mode=$withval ;;
   9286 	 *)
   9287 	   pic_mode=default
   9288 	   # Look at the argument we got.  We use all the common list separators.
   9289 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9290 	   for lt_pkg in $withval; do
   9291 	     IFS=$lt_save_ifs
   9292 	     if test "X$lt_pkg" = "X$lt_p"; then
   9293 	       pic_mode=yes
   9294 	     fi
   9295 	   done
   9296 	   IFS=$lt_save_ifs
   9297 	   ;;
   9298 	 esac
   9299 else case e in #(
   9300   e) pic_mode=default ;;
   9301 esac
   9302 fi
   9303 
   9304      ;;
   9305 esac
   9306 fi
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315   # Check whether --enable-fast-install was given.
   9316 if test ${enable_fast_install+y}
   9317 then :
   9318   enableval=$enable_fast_install; p=${PACKAGE-default}
   9319     case $enableval in
   9320     yes) enable_fast_install=yes ;;
   9321     no) enable_fast_install=no ;;
   9322     *)
   9323       enable_fast_install=no
   9324       # Look at the argument we got.  We use all the common list separators.
   9325       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9326       for pkg in $enableval; do
   9327 	IFS=$lt_save_ifs
   9328 	if test "X$pkg" = "X$p"; then
   9329 	  enable_fast_install=yes
   9330 	fi
   9331       done
   9332       IFS=$lt_save_ifs
   9333       ;;
   9334     esac
   9335 else case e in #(
   9336   e) enable_fast_install=yes ;;
   9337 esac
   9338 fi
   9339 
   9340 
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347   shared_archive_member_spec=
   9348 case $host,$enable_shared in
   9349 power*-*-aix[5-9]*,yes)
   9350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9351 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9352   # Check whether --enable-aix-soname was given.
   9353 if test ${enable_aix_soname+y}
   9354 then :
   9355   enableval=$enable_aix_soname; case $enableval in
   9356      aix|svr4|both)
   9357        ;;
   9358      *)
   9359        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   9360        ;;
   9361      esac
   9362      lt_cv_with_aix_soname=$enable_aix_soname
   9363 else case e in #(
   9364   e) # Check whether --with-aix-soname was given.
   9365 if test ${with_aix_soname+y}
   9366 then :
   9367   withval=$with_aix_soname; case $withval in
   9368          aix|svr4|both)
   9369            ;;
   9370          *)
   9371            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9372            ;;
   9373          esac
   9374          lt_cv_with_aix_soname=$with_aix_soname
   9375 else case e in #(
   9376   e) if test ${lt_cv_with_aix_soname+y}
   9377 then :
   9378   printf %s "(cached) " >&6
   9379 else case e in #(
   9380   e) lt_cv_with_aix_soname=aix ;;
   9381 esac
   9382 fi
   9383  ;;
   9384 esac
   9385 fi
   9386 
   9387      enable_aix_soname=$lt_cv_with_aix_soname ;;
   9388 esac
   9389 fi
   9390 
   9391   with_aix_soname=$enable_aix_soname
   9392   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9393 printf "%s\n" "$with_aix_soname" >&6; }
   9394   if test aix != "$with_aix_soname"; then
   9395     # For the AIX way of multilib, we name the shared archive member
   9396     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9397     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9398     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9399     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9400     if test 64 = "${OBJECT_MODE-32}"; then
   9401       shared_archive_member_spec=shr_64
   9402     else
   9403       shared_archive_member_spec=shr
   9404     fi
   9405   fi
   9406   ;;
   9407 *)
   9408   with_aix_soname=aix
   9409   ;;
   9410 esac
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 # This can be used to rebuild libtool when needed
   9422 LIBTOOL_DEPS=$ltmain
   9423 
   9424 # Always use our own libtool.
   9425 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456 test -z "$LN_S" && LN_S="ln -s"
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468 
   9469 
   9470 
   9471 if test -n "${ZSH_VERSION+set}"; then
   9472    setopt NO_GLOB_SUBST
   9473 fi
   9474 
   9475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9476 printf %s "checking for objdir... " >&6; }
   9477 if test ${lt_cv_objdir+y}
   9478 then :
   9479   printf %s "(cached) " >&6
   9480 else case e in #(
   9481   e) rm -f .libs 2>/dev/null
   9482 mkdir .libs 2>/dev/null
   9483 if test -d .libs; then
   9484   lt_cv_objdir=.libs
   9485 else
   9486   # MS-DOS does not allow filenames that begin with a dot.
   9487   lt_cv_objdir=_libs
   9488 fi
   9489 rmdir .libs 2>/dev/null ;;
   9490 esac
   9491 fi
   9492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9493 printf "%s\n" "$lt_cv_objdir" >&6; }
   9494 objdir=$lt_cv_objdir
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9501 
   9502 
   9503 
   9504 
   9505 case $host_os in
   9506 aix3*)
   9507   # AIX sometimes has problems with the GCC collect2 program.  For some
   9508   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9509   # vanish in a puff of smoke.
   9510   if test set != "${COLLECT_NAMES+set}"; then
   9511     COLLECT_NAMES=
   9512     export COLLECT_NAMES
   9513   fi
   9514   ;;
   9515 esac
   9516 
   9517 # Global variables:
   9518 ofile=libtool
   9519 can_build_shared=yes
   9520 
   9521 # All known linkers require a '.a' archive for static linking (except MSVC and
   9522 # ICC, which need '.lib').
   9523 libext=a
   9524 
   9525 with_gnu_ld=$lt_cv_prog_gnu_ld
   9526 
   9527 old_CC=$CC
   9528 old_CFLAGS=$CFLAGS
   9529 
   9530 # Set sane defaults for various variables
   9531 test -z "$CC" && CC=cc
   9532 test -z "$LTCC" && LTCC=$CC
   9533 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9534 test -z "$LD" && LD=ld
   9535 test -z "$ac_objext" && ac_objext=o
   9536 
   9537 func_cc_basename $compiler
   9538 cc_basename=$func_cc_basename_result
   9539 
   9540 
   9541 # Only perform the check for file, if the check method requires it
   9542 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9543 case $deplibs_check_method in
   9544 file_magic*)
   9545   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9546     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9547 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9548 if test ${lt_cv_path_MAGIC_CMD+y}
   9549 then :
   9550   printf %s "(cached) " >&6
   9551 else case e in #(
   9552   e) case $MAGIC_CMD in
   9553 [\\/*] |  ?:[\\/]*)
   9554   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9555   ;;
   9556 *)
   9557   lt_save_MAGIC_CMD=$MAGIC_CMD
   9558   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9559   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9560   for ac_dir in $ac_dummy; do
   9561     IFS=$lt_save_ifs
   9562     test -z "$ac_dir" && ac_dir=.
   9563     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9564       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9565       if test -n "$file_magic_test_file"; then
   9566 	case $deplibs_check_method in
   9567 	"file_magic "*)
   9568 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9569 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9570 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9571 	    $EGREP "$file_magic_regex" > /dev/null; then
   9572 	    :
   9573 	  else
   9574 	    cat <<_LT_EOF 1>&2
   9575 
   9576 *** Warning: the command libtool uses to detect shared libraries,
   9577 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9578 *** The result is that libtool may fail to recognize shared libraries
   9579 *** as such.  This will affect the creation of libtool libraries that
   9580 *** depend on shared libraries, but programs linked with such libtool
   9581 *** libraries will work regardless of this problem.  Nevertheless, you
   9582 *** may want to report the problem to your system manager and/or to
   9583 *** bug-libtool@gnu.org
   9584 
   9585 _LT_EOF
   9586 	  fi ;;
   9587 	esac
   9588       fi
   9589       break
   9590     fi
   9591   done
   9592   IFS=$lt_save_ifs
   9593   MAGIC_CMD=$lt_save_MAGIC_CMD
   9594   ;;
   9595 esac ;;
   9596 esac
   9597 fi
   9598 
   9599 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9600 if test -n "$MAGIC_CMD"; then
   9601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9602 printf "%s\n" "$MAGIC_CMD" >&6; }
   9603 else
   9604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9605 printf "%s\n" "no" >&6; }
   9606 fi
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9613   if test -n "$ac_tool_prefix"; then
   9614     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9615 printf %s "checking for file... " >&6; }
   9616 if test ${lt_cv_path_MAGIC_CMD+y}
   9617 then :
   9618   printf %s "(cached) " >&6
   9619 else case e in #(
   9620   e) case $MAGIC_CMD in
   9621 [\\/*] |  ?:[\\/]*)
   9622   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9623   ;;
   9624 *)
   9625   lt_save_MAGIC_CMD=$MAGIC_CMD
   9626   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9627   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9628   for ac_dir in $ac_dummy; do
   9629     IFS=$lt_save_ifs
   9630     test -z "$ac_dir" && ac_dir=.
   9631     if test -f "$ac_dir/file"; then
   9632       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9633       if test -n "$file_magic_test_file"; then
   9634 	case $deplibs_check_method in
   9635 	"file_magic "*)
   9636 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9637 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9638 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9639 	    $EGREP "$file_magic_regex" > /dev/null; then
   9640 	    :
   9641 	  else
   9642 	    cat <<_LT_EOF 1>&2
   9643 
   9644 *** Warning: the command libtool uses to detect shared libraries,
   9645 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9646 *** The result is that libtool may fail to recognize shared libraries
   9647 *** as such.  This will affect the creation of libtool libraries that
   9648 *** depend on shared libraries, but programs linked with such libtool
   9649 *** libraries will work regardless of this problem.  Nevertheless, you
   9650 *** may want to report the problem to your system manager and/or to
   9651 *** bug-libtool@gnu.org
   9652 
   9653 _LT_EOF
   9654 	  fi ;;
   9655 	esac
   9656       fi
   9657       break
   9658     fi
   9659   done
   9660   IFS=$lt_save_ifs
   9661   MAGIC_CMD=$lt_save_MAGIC_CMD
   9662   ;;
   9663 esac ;;
   9664 esac
   9665 fi
   9666 
   9667 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9668 if test -n "$MAGIC_CMD"; then
   9669   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9670 printf "%s\n" "$MAGIC_CMD" >&6; }
   9671 else
   9672   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9673 printf "%s\n" "no" >&6; }
   9674 fi
   9675 
   9676 
   9677   else
   9678     MAGIC_CMD=:
   9679   fi
   9680 fi
   9681 
   9682   fi
   9683   ;;
   9684 esac
   9685 
   9686 # Use C for the default configuration in the libtool script
   9687 
   9688 lt_save_CC=$CC
   9689 ac_ext=c
   9690 ac_cpp='$CPP $CPPFLAGS'
   9691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9694 
   9695 
   9696 # Source file extension for C test sources.
   9697 ac_ext=c
   9698 
   9699 # Object file extension for compiled C test sources.
   9700 objext=o
   9701 objext=$objext
   9702 
   9703 # Code to be used in simple compile tests
   9704 lt_simple_compile_test_code="int some_variable = 0;"
   9705 
   9706 # Code to be used in simple link tests
   9707 lt_simple_link_test_code='int main(void){return(0);}'
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 # If no C compiler was specified, use CC.
   9716 LTCC=${LTCC-"$CC"}
   9717 
   9718 # If no C compiler flags were specified, use CFLAGS.
   9719 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9720 
   9721 # Allow CC to be a program name with arguments.
   9722 compiler=$CC
   9723 
   9724 # Save the default compiler, since it gets overwritten when the other
   9725 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9726 compiler_DEFAULT=$CC
   9727 
   9728 # save warnings/boilerplate of simple test code
   9729 ac_outfile=conftest.$ac_objext
   9730 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9731 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9732 _lt_compiler_boilerplate=`cat conftest.err`
   9733 $RM conftest*
   9734 
   9735 ac_outfile=conftest.$ac_objext
   9736 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9737 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9738 _lt_linker_boilerplate=`cat conftest.err`
   9739 $RM -r conftest*
   9740 
   9741 
   9742 ## CAVEAT EMPTOR:
   9743 ## There is no encapsulation within the following macros, do not change
   9744 ## the running order or otherwise move them around unless you know exactly
   9745 ## what you are doing...
   9746 if test -n "$compiler"; then
   9747 
   9748 lt_prog_compiler_no_builtin_flag=
   9749 
   9750 if test yes = "$GCC"; then
   9751   case $cc_basename in
   9752   nvcc*)
   9753     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9754   *)
   9755     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9756   esac
   9757 
   9758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9759 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9760 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9761 then :
   9762   printf %s "(cached) " >&6
   9763 else case e in #(
   9764   e) lt_cv_prog_compiler_rtti_exceptions=no
   9765    ac_outfile=conftest.$ac_objext
   9766    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9767    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9768    # Insert the option either (1) after the last *FLAGS variable, or
   9769    # (2) before a word containing "conftest.", or (3) at the end.
   9770    # Note that $ac_compile itself does not contain backslashes and begins
   9771    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9772    # The option is referenced via a variable to avoid confusing sed.
   9773    lt_compile=`echo "$ac_compile" | $SED \
   9774    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9775    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9776    -e 's:$: $lt_compiler_flag:'`
   9777    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9778    (eval "$lt_compile" 2>conftest.err)
   9779    ac_status=$?
   9780    cat conftest.err >&5
   9781    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9782    if (exit $ac_status) && test -s "$ac_outfile"; then
   9783      # The compiler can only warn and ignore the option if not recognized
   9784      # So say no if there are warnings other than the usual output.
   9785      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9786      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9787      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9788        lt_cv_prog_compiler_rtti_exceptions=yes
   9789      fi
   9790    fi
   9791    $RM conftest*
   9792  ;;
   9793 esac
   9794 fi
   9795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9796 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9797 
   9798 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9799     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9800 else
   9801     :
   9802 fi
   9803 
   9804 fi
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811   lt_prog_compiler_wl=
   9812 lt_prog_compiler_pic=
   9813 lt_prog_compiler_static=
   9814 
   9815 
   9816   if test yes = "$GCC"; then
   9817     lt_prog_compiler_wl='-Wl,'
   9818     lt_prog_compiler_static='-static'
   9819 
   9820     case $host_os in
   9821       aix*)
   9822       # All AIX code is PIC.
   9823       if test ia64 = "$host_cpu"; then
   9824 	# AIX 5 now supports IA64 processor
   9825 	lt_prog_compiler_static='-Bstatic'
   9826       fi
   9827       lt_prog_compiler_pic='-fPIC'
   9828       ;;
   9829 
   9830     amigaos*)
   9831       case $host_cpu in
   9832       powerpc)
   9833             # see comment about AmigaOS4 .so support
   9834             lt_prog_compiler_pic='-fPIC'
   9835         ;;
   9836       m68k)
   9837             # FIXME: we need at least 68020 code to build shared libraries, but
   9838             # adding the '-m68020' flag to GCC prevents building anything better,
   9839             # like '-m68040'.
   9840             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9841         ;;
   9842       esac
   9843       ;;
   9844 
   9845     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9846       # PIC is the default for these OSes.
   9847       ;;
   9848 
   9849     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9850       # This hack is so that the source file can tell whether it is being
   9851       # built for inclusion in a dll (and should export symbols for example).
   9852       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9853       # (--disable-auto-import) libraries
   9854       lt_prog_compiler_pic='-DDLL_EXPORT'
   9855       case $host_os in
   9856       os2*)
   9857 	lt_prog_compiler_static='$wl-static'
   9858 	;;
   9859       esac
   9860       ;;
   9861 
   9862     darwin* | rhapsody*)
   9863       # PIC is the default on this platform
   9864       # Common symbols not allowed in MH_DYLIB files
   9865       lt_prog_compiler_pic='-fno-common'
   9866       ;;
   9867 
   9868     haiku*)
   9869       # PIC is the default for Haiku.
   9870       # The "-static" flag exists, but is broken.
   9871       lt_prog_compiler_static=
   9872       ;;
   9873 
   9874     hpux*)
   9875       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9876       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9877       # sets the default TLS model and affects inlining.
   9878       case $host_cpu in
   9879       hppa*64*)
   9880 	# +Z the default
   9881 	;;
   9882       *)
   9883 	lt_prog_compiler_pic='-fPIC'
   9884 	;;
   9885       esac
   9886       ;;
   9887 
   9888     interix[3-9]*)
   9889       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9890       # Instead, we relocate shared libraries at runtime.
   9891       ;;
   9892 
   9893     msdosdjgpp*)
   9894       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9895       # on systems that don't support them.
   9896       lt_prog_compiler_can_build_shared=no
   9897       enable_shared=no
   9898       ;;
   9899 
   9900     *nto* | *qnx*)
   9901       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9902       # it will coredump.
   9903       lt_prog_compiler_pic='-fPIC -shared'
   9904       ;;
   9905 
   9906     sysv4*MP*)
   9907       if test -d /usr/nec; then
   9908 	lt_prog_compiler_pic=-Kconform_pic
   9909       fi
   9910       ;;
   9911 
   9912     *)
   9913       lt_prog_compiler_pic='-fPIC'
   9914       ;;
   9915     esac
   9916 
   9917     case $cc_basename in
   9918     nvcc*) # Cuda Compiler Driver 2.2
   9919       lt_prog_compiler_wl='-Xlinker '
   9920       if test -n "$lt_prog_compiler_pic"; then
   9921         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9922       fi
   9923       ;;
   9924     esac
   9925   else
   9926     # PORTME Check for flag to pass linker flags through the system compiler.
   9927     case $host_os in
   9928     aix*)
   9929       lt_prog_compiler_wl='-Wl,'
   9930       if test ia64 = "$host_cpu"; then
   9931 	# AIX 5 now supports IA64 processor
   9932 	lt_prog_compiler_static='-Bstatic'
   9933       else
   9934 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9935       fi
   9936       ;;
   9937 
   9938     darwin* | rhapsody*)
   9939       # PIC is the default on this platform
   9940       # Common symbols not allowed in MH_DYLIB files
   9941       lt_prog_compiler_pic='-fno-common'
   9942       case $cc_basename in
   9943       nagfor*)
   9944         # NAG Fortran compiler
   9945         lt_prog_compiler_wl='-Wl,-Wl,,'
   9946         lt_prog_compiler_pic='-PIC'
   9947         lt_prog_compiler_static='-Bstatic'
   9948         ;;
   9949       esac
   9950       ;;
   9951 
   9952     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9953       # This hack is so that the source file can tell whether it is being
   9954       # built for inclusion in a dll (and should export symbols for example).
   9955       lt_prog_compiler_pic='-DDLL_EXPORT'
   9956       case $host_os in
   9957       os2*)
   9958 	lt_prog_compiler_static='$wl-static'
   9959 	;;
   9960       esac
   9961       ;;
   9962 
   9963     hpux9* | hpux10* | hpux11*)
   9964       lt_prog_compiler_wl='-Wl,'
   9965       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9966       # not for PA HP-UX.
   9967       case $host_cpu in
   9968       hppa*64*|ia64*)
   9969 	# +Z the default
   9970 	;;
   9971       *)
   9972 	lt_prog_compiler_pic='+Z'
   9973 	;;
   9974       esac
   9975       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9976       lt_prog_compiler_static='$wl-a ${wl}archive'
   9977       ;;
   9978 
   9979     irix5* | irix6* | nonstopux*)
   9980       lt_prog_compiler_wl='-Wl,'
   9981       # PIC (with -KPIC) is the default.
   9982       lt_prog_compiler_static='-non_shared'
   9983       ;;
   9984 
   9985     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9986       case $cc_basename in
   9987       # old Intel for x86_64, which still supported -KPIC.
   9988       ecc*)
   9989 	lt_prog_compiler_wl='-Wl,'
   9990 	lt_prog_compiler_pic='-KPIC'
   9991 	lt_prog_compiler_static='-static'
   9992         ;;
   9993       *flang* | ftn | f18* | f95*)
   9994         # Flang compiler.
   9995 	lt_prog_compiler_wl='-Wl,'
   9996 	lt_prog_compiler_pic='-fPIC'
   9997 	lt_prog_compiler_static='-static'
   9998         ;;
   9999       # icc used to be incompatible with GCC.
   10000       # ICC 10 doesn't accept -KPIC any more.
   10001       icc* | ifort*)
   10002 	lt_prog_compiler_wl='-Wl,'
   10003 	lt_prog_compiler_pic='-fPIC'
   10004 	lt_prog_compiler_static='-static'
   10005         ;;
   10006       # Lahey Fortran 8.1.
   10007       lf95*)
   10008 	lt_prog_compiler_wl='-Wl,'
   10009 	lt_prog_compiler_pic='--shared'
   10010 	lt_prog_compiler_static='--static'
   10011 	;;
   10012       nagfor*)
   10013 	# NAG Fortran compiler
   10014 	lt_prog_compiler_wl='-Wl,-Wl,,'
   10015 	lt_prog_compiler_pic='-PIC'
   10016 	lt_prog_compiler_static='-Bstatic'
   10017 	;;
   10018       tcc*)
   10019 	# Fabrice Bellard et al's Tiny C Compiler
   10020 	lt_prog_compiler_wl='-Wl,'
   10021 	lt_prog_compiler_pic='-fPIC'
   10022 	lt_prog_compiler_static='-static'
   10023 	;;
   10024       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   10025         # Portland Group compilers (*not* the Pentium gcc compiler,
   10026 	# which looks to be a dead project)
   10027 	lt_prog_compiler_wl='-Wl,'
   10028 	lt_prog_compiler_pic='-fpic'
   10029 	lt_prog_compiler_static='-Bstatic'
   10030         ;;
   10031       ccc*)
   10032         lt_prog_compiler_wl='-Wl,'
   10033         # All Alpha code is PIC.
   10034         lt_prog_compiler_static='-non_shared'
   10035         ;;
   10036       xl* | bgxl* | bgf* | mpixl*)
   10037 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10038 	lt_prog_compiler_wl='-Wl,'
   10039 	lt_prog_compiler_pic='-qpic'
   10040 	lt_prog_compiler_static='-qstaticlink'
   10041 	;;
   10042       *)
   10043 	case `$CC -V 2>&1 | $SED 5q` in
   10044 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   10045 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10046 	  lt_prog_compiler_pic='-KPIC'
   10047 	  lt_prog_compiler_static='-Bstatic'
   10048 	  lt_prog_compiler_wl=''
   10049 	  ;;
   10050 	*Sun\ F* | *Sun*Fortran*)
   10051 	  lt_prog_compiler_pic='-KPIC'
   10052 	  lt_prog_compiler_static='-Bstatic'
   10053 	  lt_prog_compiler_wl='-Qoption ld '
   10054 	  ;;
   10055 	*Sun\ C*)
   10056 	  # Sun C 5.9
   10057 	  lt_prog_compiler_pic='-KPIC'
   10058 	  lt_prog_compiler_static='-Bstatic'
   10059 	  lt_prog_compiler_wl='-Wl,'
   10060 	  ;;
   10061         *Intel*\ [CF]*Compiler*)
   10062 	  lt_prog_compiler_wl='-Wl,'
   10063 	  lt_prog_compiler_pic='-fPIC'
   10064 	  lt_prog_compiler_static='-static'
   10065 	  ;;
   10066 	*Portland\ Group*)
   10067 	  lt_prog_compiler_wl='-Wl,'
   10068 	  lt_prog_compiler_pic='-fpic'
   10069 	  lt_prog_compiler_static='-Bstatic'
   10070 	  ;;
   10071 	esac
   10072 	;;
   10073       esac
   10074       ;;
   10075 
   10076     newsos6)
   10077       lt_prog_compiler_pic='-KPIC'
   10078       lt_prog_compiler_static='-Bstatic'
   10079       ;;
   10080 
   10081     *-mlibc)
   10082       lt_prog_compiler_wl='-Wl,'
   10083       lt_prog_compiler_pic='-fPIC'
   10084       lt_prog_compiler_static='-static'
   10085       ;;
   10086 
   10087     *nto* | *qnx*)
   10088       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10089       # it will coredump.
   10090       lt_prog_compiler_pic='-fPIC -shared'
   10091       ;;
   10092 
   10093     osf3* | osf4* | osf5*)
   10094       lt_prog_compiler_wl='-Wl,'
   10095       # All OSF/1 code is PIC.
   10096       lt_prog_compiler_static='-non_shared'
   10097       ;;
   10098 
   10099     rdos*)
   10100       lt_prog_compiler_static='-non_shared'
   10101       ;;
   10102 
   10103     serenity*)
   10104       ;;
   10105 
   10106     solaris*)
   10107       lt_prog_compiler_pic='-KPIC'
   10108       lt_prog_compiler_static='-Bstatic'
   10109       case $cc_basename in
   10110       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10111 	lt_prog_compiler_wl='-Qoption ld ';;
   10112       *)
   10113 	lt_prog_compiler_wl='-Wl,';;
   10114       esac
   10115       ;;
   10116 
   10117     sunos4*)
   10118       lt_prog_compiler_wl='-Qoption ld '
   10119       lt_prog_compiler_pic='-PIC'
   10120       lt_prog_compiler_static='-Bstatic'
   10121       ;;
   10122 
   10123     sysv4 | sysv4.2uw2* | sysv4.3*)
   10124       lt_prog_compiler_wl='-Wl,'
   10125       lt_prog_compiler_pic='-KPIC'
   10126       lt_prog_compiler_static='-Bstatic'
   10127       ;;
   10128 
   10129     sysv4*MP*)
   10130       if test -d /usr/nec; then
   10131 	lt_prog_compiler_pic='-Kconform_pic'
   10132 	lt_prog_compiler_static='-Bstatic'
   10133       fi
   10134       ;;
   10135 
   10136     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10137       lt_prog_compiler_wl='-Wl,'
   10138       lt_prog_compiler_pic='-KPIC'
   10139       lt_prog_compiler_static='-Bstatic'
   10140       ;;
   10141 
   10142     unicos*)
   10143       lt_prog_compiler_wl='-Wl,'
   10144       lt_prog_compiler_can_build_shared=no
   10145       ;;
   10146 
   10147     uts4*)
   10148       lt_prog_compiler_pic='-pic'
   10149       lt_prog_compiler_static='-Bstatic'
   10150       ;;
   10151 
   10152     *)
   10153       lt_prog_compiler_can_build_shared=no
   10154       ;;
   10155     esac
   10156   fi
   10157 
   10158 case $host_os in
   10159   # For platforms that do not support PIC, -DPIC is meaningless:
   10160   *djgpp*)
   10161     lt_prog_compiler_pic=
   10162     ;;
   10163   *)
   10164     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10165     ;;
   10166 esac
   10167 
   10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10169 printf %s "checking for $compiler option to produce PIC... " >&6; }
   10170 if test ${lt_cv_prog_compiler_pic+y}
   10171 then :
   10172   printf %s "(cached) " >&6
   10173 else case e in #(
   10174   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   10175 esac
   10176 fi
   10177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10178 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   10179 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10180 
   10181 #
   10182 # Check to make sure the PIC flag actually works.
   10183 #
   10184 if test -n "$lt_prog_compiler_pic"; then
   10185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10186 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10187 if test ${lt_cv_prog_compiler_pic_works+y}
   10188 then :
   10189   printf %s "(cached) " >&6
   10190 else case e in #(
   10191   e) lt_cv_prog_compiler_pic_works=no
   10192    ac_outfile=conftest.$ac_objext
   10193    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10194    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10195    # Insert the option either (1) after the last *FLAGS variable, or
   10196    # (2) before a word containing "conftest.", or (3) at the end.
   10197    # Note that $ac_compile itself does not contain backslashes and begins
   10198    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10199    # The option is referenced via a variable to avoid confusing sed.
   10200    lt_compile=`echo "$ac_compile" | $SED \
   10201    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10202    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10203    -e 's:$: $lt_compiler_flag:'`
   10204    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10205    (eval "$lt_compile" 2>conftest.err)
   10206    ac_status=$?
   10207    cat conftest.err >&5
   10208    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10209    if (exit $ac_status) && test -s "$ac_outfile"; then
   10210      # The compiler can only warn and ignore the option if not recognized
   10211      # So say no if there are warnings other than the usual output.
   10212      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10213      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10214      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10215        lt_cv_prog_compiler_pic_works=yes
   10216      fi
   10217    fi
   10218    $RM conftest*
   10219  ;;
   10220 esac
   10221 fi
   10222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10223 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   10224 
   10225 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10226     case $lt_prog_compiler_pic in
   10227      "" | " "*) ;;
   10228      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10229      esac
   10230 else
   10231     lt_prog_compiler_pic=
   10232      lt_prog_compiler_can_build_shared=no
   10233 fi
   10234 
   10235 fi
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 #
   10248 # Check to make sure the static flag actually works.
   10249 #
   10250 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10252 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10253 if test ${lt_cv_prog_compiler_static_works+y}
   10254 then :
   10255   printf %s "(cached) " >&6
   10256 else case e in #(
   10257   e) lt_cv_prog_compiler_static_works=no
   10258    save_LDFLAGS=$LDFLAGS
   10259    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10260    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10261    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10262      # The linker can only warn and ignore the option if not recognized
   10263      # So say no if there are warnings
   10264      if test -s conftest.err; then
   10265        # Append any errors to the config.log.
   10266        cat conftest.err 1>&5
   10267        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10268        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10269        if diff conftest.exp conftest.er2 >/dev/null; then
   10270          lt_cv_prog_compiler_static_works=yes
   10271        fi
   10272      else
   10273        lt_cv_prog_compiler_static_works=yes
   10274      fi
   10275    fi
   10276    $RM -r conftest*
   10277    LDFLAGS=$save_LDFLAGS
   10278  ;;
   10279 esac
   10280 fi
   10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10282 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   10283 
   10284 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10285     :
   10286 else
   10287     lt_prog_compiler_static=
   10288 fi
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10297 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10298 if test ${lt_cv_prog_compiler_c_o+y}
   10299 then :
   10300   printf %s "(cached) " >&6
   10301 else case e in #(
   10302   e) lt_cv_prog_compiler_c_o=no
   10303    $RM -r conftest 2>/dev/null
   10304    mkdir conftest
   10305    cd conftest
   10306    mkdir out
   10307    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10308 
   10309    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10310    # Insert the option either (1) after the last *FLAGS variable, or
   10311    # (2) before a word containing "conftest.", or (3) at the end.
   10312    # Note that $ac_compile itself does not contain backslashes and begins
   10313    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10314    lt_compile=`echo "$ac_compile" | $SED \
   10315    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10316    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10317    -e 's:$: $lt_compiler_flag:'`
   10318    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10319    (eval "$lt_compile" 2>out/conftest.err)
   10320    ac_status=$?
   10321    cat out/conftest.err >&5
   10322    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10323    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10324    then
   10325      # The compiler can only warn and ignore the option if not recognized
   10326      # So say no if there are warnings
   10327      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10328      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10329      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10330        lt_cv_prog_compiler_c_o=yes
   10331      fi
   10332    fi
   10333    chmod u+w . 2>&5
   10334    $RM conftest*
   10335    # SGI C++ compiler will create directory out/ii_files/ for
   10336    # template instantiation
   10337    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10338    $RM out/* && rmdir out
   10339    cd ..
   10340    $RM -r conftest
   10341    $RM conftest*
   10342  ;;
   10343 esac
   10344 fi
   10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10346 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10354 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10355 if test ${lt_cv_prog_compiler_c_o+y}
   10356 then :
   10357   printf %s "(cached) " >&6
   10358 else case e in #(
   10359   e) lt_cv_prog_compiler_c_o=no
   10360    $RM -r conftest 2>/dev/null
   10361    mkdir conftest
   10362    cd conftest
   10363    mkdir out
   10364    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10365 
   10366    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10367    # Insert the option either (1) after the last *FLAGS variable, or
   10368    # (2) before a word containing "conftest.", or (3) at the end.
   10369    # Note that $ac_compile itself does not contain backslashes and begins
   10370    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10371    lt_compile=`echo "$ac_compile" | $SED \
   10372    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10373    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10374    -e 's:$: $lt_compiler_flag:'`
   10375    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10376    (eval "$lt_compile" 2>out/conftest.err)
   10377    ac_status=$?
   10378    cat out/conftest.err >&5
   10379    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10380    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10381    then
   10382      # The compiler can only warn and ignore the option if not recognized
   10383      # So say no if there are warnings
   10384      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10385      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10386      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10387        lt_cv_prog_compiler_c_o=yes
   10388      fi
   10389    fi
   10390    chmod u+w . 2>&5
   10391    $RM conftest*
   10392    # SGI C++ compiler will create directory out/ii_files/ for
   10393    # template instantiation
   10394    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10395    $RM out/* && rmdir out
   10396    cd ..
   10397    $RM -r conftest
   10398    $RM conftest*
   10399  ;;
   10400 esac
   10401 fi
   10402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10403 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10404 
   10405 
   10406 
   10407 
   10408 hard_links=nottested
   10409 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10410   # do not overwrite the value of need_locks provided by the user
   10411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10412 printf %s "checking if we can lock with hard links... " >&6; }
   10413   hard_links=yes
   10414   $RM conftest*
   10415   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10416   touch conftest.a
   10417   ln conftest.a conftest.b 2>&5 || hard_links=no
   10418   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10419   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10420 printf "%s\n" "$hard_links" >&6; }
   10421   if test no = "$hard_links"; then
   10422     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10423 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10424     need_locks=warn
   10425   fi
   10426 else
   10427   need_locks=no
   10428 fi
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10436 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10437 
   10438   runpath_var=
   10439   allow_undefined_flag=
   10440   always_export_symbols=no
   10441   archive_cmds=
   10442   archive_expsym_cmds=
   10443   compiler_needs_object=no
   10444   enable_shared_with_static_runtimes=no
   10445   export_dynamic_flag_spec=
   10446   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10447   hardcode_automatic=no
   10448   hardcode_direct=no
   10449   hardcode_direct_absolute=no
   10450   hardcode_libdir_flag_spec=
   10451   hardcode_libdir_separator=
   10452   hardcode_minus_L=no
   10453   hardcode_shlibpath_var=unsupported
   10454   inherit_rpath=no
   10455   link_all_deplibs=unknown
   10456   module_cmds=
   10457   module_expsym_cmds=
   10458   old_archive_from_new_cmds=
   10459   old_archive_from_expsyms_cmds=
   10460   thread_safe_flag_spec=
   10461   whole_archive_flag_spec=
   10462   # include_expsyms should be a list of space-separated symbols to be *always*
   10463   # included in the symbol list
   10464   include_expsyms=
   10465   # exclude_expsyms can be an extended regexp of symbols to exclude
   10466   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10467   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10468   # as well as any symbol that contains 'd'.
   10469   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10470   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10471   # platforms (ab)use it in PIC code, but their linkers get confused if
   10472   # the symbol is explicitly referenced.  Since portable code cannot
   10473   # rely on this symbol name, it's probably fine to never include it in
   10474   # preloaded symbol tables.
   10475   # Exclude shared library initialization/finalization symbols.
   10476   extract_expsyms_cmds=
   10477 
   10478   case $host_os in
   10479   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10480     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10481     # When not using gcc, we currently assume that we are using
   10482     # Microsoft Visual C++ or Intel C++ Compiler.
   10483     if test yes != "$GCC"; then
   10484       with_gnu_ld=no
   10485     fi
   10486     ;;
   10487   interix*)
   10488     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10489     with_gnu_ld=yes
   10490     ;;
   10491   esac
   10492 
   10493   ld_shlibs=yes
   10494 
   10495   # On some targets, GNU ld is compatible enough with the native linker
   10496   # that we're better off using the native interface for both.
   10497   lt_use_gnu_ld_interface=no
   10498   if test yes = "$with_gnu_ld"; then
   10499     case $host_os in
   10500       aix*)
   10501 	# The AIX port of GNU ld has always aspired to compatibility
   10502 	# with the native linker.  However, as the warning in the GNU ld
   10503 	# block says, versions before 2.19.5* couldn't really create working
   10504 	# shared libraries, regardless of the interface used.
   10505 	case `$LD -v 2>&1` in
   10506 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10507 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10508 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10509 	  *)
   10510 	    lt_use_gnu_ld_interface=yes
   10511 	    ;;
   10512 	esac
   10513 	;;
   10514       *)
   10515 	lt_use_gnu_ld_interface=yes
   10516 	;;
   10517     esac
   10518   fi
   10519 
   10520   if test yes = "$lt_use_gnu_ld_interface"; then
   10521     # If archive_cmds runs LD, not CC, wlarc should be empty
   10522     wlarc='$wl'
   10523 
   10524     # Set some defaults for GNU ld with shared library support. These
   10525     # are reset later if shared libraries are not supported. Putting them
   10526     # here allows them to be overridden if necessary.
   10527     runpath_var=LD_RUN_PATH
   10528     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10529     export_dynamic_flag_spec='$wl--export-dynamic'
   10530     # ancient GNU ld didn't support --whole-archive et. al.
   10531     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10532       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10533     else
   10534       whole_archive_flag_spec=
   10535     fi
   10536     supports_anon_versioning=no
   10537     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10538       *GNU\ gold*) supports_anon_versioning=yes ;;
   10539       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10540       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10541       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10542       *\ 2.11.*) ;; # other 2.11 versions
   10543       *) supports_anon_versioning=yes ;;
   10544     esac
   10545 
   10546     # See if GNU ld supports shared libraries.
   10547     case $host_os in
   10548     aix[3-9]*)
   10549       # On AIX/PPC, the GNU linker is very broken
   10550       if test ia64 != "$host_cpu"; then
   10551 	ld_shlibs=no
   10552 	cat <<_LT_EOF 1>&2
   10553 
   10554 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10555 *** to be unable to reliably create shared libraries on AIX.
   10556 *** Therefore, libtool is disabling shared libraries support.  If you
   10557 *** really care for shared libraries, you may want to install binutils
   10558 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10559 *** You will then need to restart the configuration process.
   10560 
   10561 _LT_EOF
   10562       fi
   10563       ;;
   10564 
   10565     amigaos*)
   10566       case $host_cpu in
   10567       powerpc)
   10568             # see comment about AmigaOS4 .so support
   10569             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10570             archive_expsym_cmds=''
   10571         ;;
   10572       m68k)
   10573             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)'
   10574             hardcode_libdir_flag_spec='-L$libdir'
   10575             hardcode_minus_L=yes
   10576         ;;
   10577       esac
   10578       ;;
   10579 
   10580     beos*)
   10581       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10582 	allow_undefined_flag=unsupported
   10583 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10584 	# support --undefined.  This deserves some investigation.  FIXME
   10585 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10586       else
   10587 	ld_shlibs=no
   10588       fi
   10589       ;;
   10590 
   10591     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10592       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10593       # as there is no search path for DLLs.
   10594       hardcode_libdir_flag_spec='-L$libdir'
   10595       export_dynamic_flag_spec='$wl--export-all-symbols'
   10596       allow_undefined_flag=unsupported
   10597       always_export_symbols=no
   10598       enable_shared_with_static_runtimes=yes
   10599       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'
   10600       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10601       file_list_spec='@'
   10602 
   10603       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10604         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10605 	# If the export-symbols file already is a .def file, use it as
   10606 	# is; otherwise, prepend EXPORTS...
   10607 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10608           cp $export_symbols $output_objdir/$soname.def;
   10609         else
   10610           echo EXPORTS > $output_objdir/$soname.def;
   10611           cat $export_symbols >> $output_objdir/$soname.def;
   10612         fi~
   10613         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10614       else
   10615 	ld_shlibs=no
   10616       fi
   10617       ;;
   10618 
   10619     haiku*)
   10620       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10621       link_all_deplibs=no
   10622       ;;
   10623 
   10624     os2*)
   10625       hardcode_libdir_flag_spec='-L$libdir'
   10626       hardcode_minus_L=yes
   10627       allow_undefined_flag=unsupported
   10628       shrext_cmds=.dll
   10629       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10630 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10631 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10632 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10633 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10634 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10635 	emximp -o $lib $output_objdir/$libname.def'
   10636       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10637 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10638 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10639 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10640 	prefix_cmds="$SED"~
   10641 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10642 	  prefix_cmds="$prefix_cmds -e 1d";
   10643 	fi~
   10644 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10645 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10646 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10647 	emximp -o $lib $output_objdir/$libname.def'
   10648       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10649       enable_shared_with_static_runtimes=yes
   10650       file_list_spec='@'
   10651       ;;
   10652 
   10653     interix[3-9]*)
   10654       hardcode_direct=no
   10655       hardcode_shlibpath_var=no
   10656       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10657       export_dynamic_flag_spec='$wl-E'
   10658       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10659       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10660       # default) and relocated if they conflict, which is a slow very memory
   10661       # consuming and fragmenting process.  To avoid this, we pick a random,
   10662       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10663       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10664       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10665       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'
   10666       ;;
   10667 
   10668     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10669       tmp_diet=no
   10670       if test linux-dietlibc = "$host_os"; then
   10671 	case $cc_basename in
   10672 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10673 	esac
   10674       fi
   10675       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10676 	 && test no = "$tmp_diet"
   10677       then
   10678 	tmp_addflag=' $pic_flag'
   10679 	tmp_sharedflag='-shared'
   10680 	case $cc_basename,$host_cpu in
   10681         pgcc*)				# Portland Group C compiler
   10682 	  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'
   10683 	  tmp_addflag=' $pic_flag'
   10684 	  ;;
   10685 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10686 					# Portland Group f77 and f90 compilers
   10687 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   10688 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10689 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10690 	  tmp_addflag=' -i_dynamic' ;;
   10691 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10692 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10693 	ifc* | ifort*)			# Intel Fortran compiler
   10694 	  tmp_addflag=' -nofor_main' ;;
   10695 	lf95*)				# Lahey Fortran 8.1
   10696 	  whole_archive_flag_spec=
   10697 	  tmp_sharedflag='--shared' ;;
   10698         nagfor*)                        # NAGFOR 5.3
   10699           tmp_sharedflag='-Wl,-shared' ;;
   10700 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10701 	  tmp_sharedflag='-qmkshrobj'
   10702 	  tmp_addflag= ;;
   10703 	nvcc*)	# Cuda Compiler Driver 2.2
   10704 	  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'
   10705 	  compiler_needs_object=yes
   10706 	  ;;
   10707 	esac
   10708 	case `$CC -V 2>&1 | $SED 5q` in
   10709 	*Sun\ C*)			# Sun C 5.9
   10710 	  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'
   10711 	  compiler_needs_object=yes
   10712 	  tmp_sharedflag='-G' ;;
   10713 	*Sun\ F*)			# Sun Fortran 8.3
   10714 	  tmp_sharedflag='-G' ;;
   10715 	esac
   10716 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10717 
   10718         if test yes = "$supports_anon_versioning"; then
   10719           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10720             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10721             echo "local: *; };" >> $output_objdir/$libname.ver~
   10722             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10723         fi
   10724 
   10725 	case $cc_basename in
   10726 	tcc*)
   10727 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10728 	  export_dynamic_flag_spec='-rdynamic'
   10729 	  ;;
   10730 	xlf* | bgf* | bgxlf* | mpixlf*)
   10731 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10732 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10733 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10734 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10735 	  if test yes = "$supports_anon_versioning"; then
   10736 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10737               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10738               echo "local: *; };" >> $output_objdir/$libname.ver~
   10739               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10740 	  fi
   10741 	  ;;
   10742 	esac
   10743       else
   10744         ld_shlibs=no
   10745       fi
   10746       ;;
   10747 
   10748     *-mlibc)
   10749 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10750 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10751       ;;
   10752 
   10753     netbsd* | netbsdelf*-gnu)
   10754       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10755 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10756 	wlarc=
   10757       else
   10758 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10759 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10760       fi
   10761       ;;
   10762 
   10763     solaris*)
   10764       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10765 	ld_shlibs=no
   10766 	cat <<_LT_EOF 1>&2
   10767 
   10768 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10769 *** create shared libraries on Solaris systems.  Therefore, libtool
   10770 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10771 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10772 *** your PATH or compiler configuration so that the native linker is
   10773 *** used, and then restart.
   10774 
   10775 _LT_EOF
   10776       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10777 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10778 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10779       else
   10780 	ld_shlibs=no
   10781       fi
   10782       ;;
   10783 
   10784     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10785       case `$LD -v 2>&1` in
   10786         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10787 	ld_shlibs=no
   10788 	cat <<_LT_EOF 1>&2
   10789 
   10790 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10791 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10792 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10793 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10794 *** your PATH or compiler configuration so that the native linker is
   10795 *** used, and then restart.
   10796 
   10797 _LT_EOF
   10798 	;;
   10799 	*)
   10800 	  # For security reasons, it is highly recommended that you always
   10801 	  # use absolute paths for naming shared libraries, and exclude the
   10802 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10803 	  # requires that you compile everything twice, which is a pain.
   10804 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10805 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10806 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10807 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10808 	  else
   10809 	    ld_shlibs=no
   10810 	  fi
   10811 	;;
   10812       esac
   10813       ;;
   10814 
   10815     sunos4*)
   10816       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10817       wlarc=
   10818       hardcode_direct=yes
   10819       hardcode_shlibpath_var=no
   10820       ;;
   10821 
   10822     *)
   10823       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10824 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10825 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10826       else
   10827 	ld_shlibs=no
   10828       fi
   10829       ;;
   10830     esac
   10831 
   10832     if test no = "$ld_shlibs"; then
   10833       runpath_var=
   10834       hardcode_libdir_flag_spec=
   10835       export_dynamic_flag_spec=
   10836       whole_archive_flag_spec=
   10837     fi
   10838   else
   10839     # PORTME fill in a description of your system's linker (not GNU ld)
   10840     case $host_os in
   10841     aix3*)
   10842       allow_undefined_flag=unsupported
   10843       always_export_symbols=yes
   10844       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'
   10845       # Note: this linker hardcodes the directories in LIBPATH if there
   10846       # are no directories specified by -L.
   10847       hardcode_minus_L=yes
   10848       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10849 	# Neither direct hardcoding nor static linking is supported with a
   10850 	# broken collect2.
   10851 	hardcode_direct=unsupported
   10852       fi
   10853       ;;
   10854 
   10855     aix[4-9]*)
   10856       if test ia64 = "$host_cpu"; then
   10857 	# On IA64, the linker does run time linking by default, so we don't
   10858 	# have to do anything special.
   10859 	aix_use_runtimelinking=no
   10860 	exp_sym_flag='-Bexport'
   10861 	no_entry_flag=
   10862       else
   10863 	# If we're using GNU nm, then we don't want the "-C" option.
   10864 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10865 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10866 	# weak defined symbols like other global defined symbols, whereas
   10867 	# GNU nm marks them as "W".
   10868 	# While the 'weak' keyword is ignored in the Export File, we need
   10869 	# it in the Import File for the 'aix-soname' feature, so we have
   10870 	# to replace the "-B" option with "-P" for AIX nm.
   10871 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10872 	  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'
   10873 	else
   10874 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   10875 	fi
   10876 	aix_use_runtimelinking=no
   10877 
   10878 	# Test if we are trying to use run time linking or normal
   10879 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10880 	# have runtime linking enabled, and use it for executables.
   10881 	# For shared libraries, we enable/disable runtime linking
   10882 	# depending on the kind of the shared library created -
   10883 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10884 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10885 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10886 	#            lib.a           static archive
   10887 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10888 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10889 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10890 	#            lib.a(lib.so.V) shared, rtl:no
   10891 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10892 	#            lib.a           static archive
   10893 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10894 	  for ld_flag in $LDFLAGS; do
   10895 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10896 	    aix_use_runtimelinking=yes
   10897 	    break
   10898 	  fi
   10899 	  done
   10900 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10901 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10902 	    # so we don't have lib.a shared libs to link our executables.
   10903 	    # We have to force runtime linking in this case.
   10904 	    aix_use_runtimelinking=yes
   10905 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10906 	  fi
   10907 	  ;;
   10908 	esac
   10909 
   10910 	exp_sym_flag='-bexport'
   10911 	no_entry_flag='-bnoentry'
   10912       fi
   10913 
   10914       # When large executables or shared objects are built, AIX ld can
   10915       # have problems creating the table of contents.  If linking a library
   10916       # or program results in "error TOC overflow" add -mminimal-toc to
   10917       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10918       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10919 
   10920       archive_cmds=''
   10921       hardcode_direct=yes
   10922       hardcode_direct_absolute=yes
   10923       hardcode_libdir_separator=':'
   10924       link_all_deplibs=yes
   10925       file_list_spec='$wl-f,'
   10926       case $with_aix_soname,$aix_use_runtimelinking in
   10927       aix,*) ;; # traditional, no import file
   10928       svr4,* | *,yes) # use import file
   10929 	# The Import File defines what to hardcode.
   10930 	hardcode_direct=no
   10931 	hardcode_direct_absolute=no
   10932 	;;
   10933       esac
   10934 
   10935       if test yes = "$GCC"; then
   10936 	case $host_os in aix4.[012]|aix4.[012].*)
   10937 	# We only want to do this on AIX 4.2 and lower, the check
   10938 	# below for broken collect2 doesn't work under 4.3+
   10939 	  collect2name=`$CC -print-prog-name=collect2`
   10940 	  if test -f "$collect2name" &&
   10941 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10942 	  then
   10943 	  # We have reworked collect2
   10944 	  :
   10945 	  else
   10946 	  # We have old collect2
   10947 	  hardcode_direct=unsupported
   10948 	  # It fails to find uninstalled libraries when the uninstalled
   10949 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10950 	  # to unsupported forces relinking
   10951 	  hardcode_minus_L=yes
   10952 	  hardcode_libdir_flag_spec='-L$libdir'
   10953 	  hardcode_libdir_separator=
   10954 	  fi
   10955 	  ;;
   10956 	esac
   10957 	shared_flag='-shared'
   10958 	if test yes = "$aix_use_runtimelinking"; then
   10959 	  shared_flag="$shared_flag "'$wl-G'
   10960 	fi
   10961 	# Need to ensure runtime linking is disabled for the traditional
   10962 	# shared library, or the linker may eventually find shared libraries
   10963 	# /with/ Import File - we do not want to mix them.
   10964 	shared_flag_aix='-shared'
   10965 	shared_flag_svr4='-shared $wl-G'
   10966       else
   10967 	# not using gcc
   10968 	if test ia64 = "$host_cpu"; then
   10969 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10970 	# chokes on -Wl,-G. The following line is correct:
   10971 	  shared_flag='-G'
   10972 	else
   10973 	  if test yes = "$aix_use_runtimelinking"; then
   10974 	    shared_flag='$wl-G'
   10975 	  else
   10976 	    shared_flag='$wl-bM:SRE'
   10977 	  fi
   10978 	  shared_flag_aix='$wl-bM:SRE'
   10979 	  shared_flag_svr4='$wl-G'
   10980 	fi
   10981       fi
   10982 
   10983       export_dynamic_flag_spec='$wl-bexpall'
   10984       # It seems that -bexpall does not export symbols beginning with
   10985       # underscore (_), so it is better to generate a list of symbols to export.
   10986       always_export_symbols=yes
   10987       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10988 	# Warning - without using the other runtime loading flags (-brtl),
   10989 	# -berok will link without error, but may produce a broken library.
   10990 	allow_undefined_flag='-berok'
   10991         # Determine the default libpath from the value encoded in an
   10992         # empty executable.
   10993         if test set = "${lt_cv_aix_libpath+set}"; then
   10994   aix_libpath=$lt_cv_aix_libpath
   10995 else
   10996   if test ${lt_cv_aix_libpath_+y}
   10997 then :
   10998   printf %s "(cached) " >&6
   10999 else case e in #(
   11000   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11001 /* end confdefs.h.  */
   11002 
   11003 int
   11004 main (void)
   11005 {
   11006 
   11007   ;
   11008   return 0;
   11009 }
   11010 _ACEOF
   11011 if ac_fn_c_try_link "$LINENO"
   11012 then :
   11013 
   11014   lt_aix_libpath_sed='
   11015       /Import File Strings/,/^$/ {
   11016 	  /^0/ {
   11017 	      s/^0  *\([^ ]*\) *$/\1/
   11018 	      p
   11019 	  }
   11020       }'
   11021   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11022   # Check for a 64-bit object if we didn't find anything.
   11023   if test -z "$lt_cv_aix_libpath_"; then
   11024     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11025   fi
   11026 fi
   11027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11028     conftest$ac_exeext conftest.$ac_ext
   11029   if test -z "$lt_cv_aix_libpath_"; then
   11030     lt_cv_aix_libpath_=/usr/lib:/lib
   11031   fi
   11032    ;;
   11033 esac
   11034 fi
   11035 
   11036   aix_libpath=$lt_cv_aix_libpath_
   11037 fi
   11038 
   11039         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11040         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
   11041       else
   11042 	if test ia64 = "$host_cpu"; then
   11043 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   11044 	  allow_undefined_flag="-z nodefs"
   11045 	  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"
   11046 	else
   11047 	 # Determine the default libpath from the value encoded in an
   11048 	 # empty executable.
   11049 	 if test set = "${lt_cv_aix_libpath+set}"; then
   11050   aix_libpath=$lt_cv_aix_libpath
   11051 else
   11052   if test ${lt_cv_aix_libpath_+y}
   11053 then :
   11054   printf %s "(cached) " >&6
   11055 else case e in #(
   11056   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11057 /* end confdefs.h.  */
   11058 
   11059 int
   11060 main (void)
   11061 {
   11062 
   11063   ;
   11064   return 0;
   11065 }
   11066 _ACEOF
   11067 if ac_fn_c_try_link "$LINENO"
   11068 then :
   11069 
   11070   lt_aix_libpath_sed='
   11071       /Import File Strings/,/^$/ {
   11072 	  /^0/ {
   11073 	      s/^0  *\([^ ]*\) *$/\1/
   11074 	      p
   11075 	  }
   11076       }'
   11077   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11078   # Check for a 64-bit object if we didn't find anything.
   11079   if test -z "$lt_cv_aix_libpath_"; then
   11080     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11081   fi
   11082 fi
   11083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11084     conftest$ac_exeext conftest.$ac_ext
   11085   if test -z "$lt_cv_aix_libpath_"; then
   11086     lt_cv_aix_libpath_=/usr/lib:/lib
   11087   fi
   11088    ;;
   11089 esac
   11090 fi
   11091 
   11092   aix_libpath=$lt_cv_aix_libpath_
   11093 fi
   11094 
   11095 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11096 	  # Warning - without using the other run time loading flags,
   11097 	  # -berok will link without error, but may produce a broken library.
   11098 	  no_undefined_flag=' $wl-bernotok'
   11099 	  allow_undefined_flag=' $wl-berok'
   11100 	  if test yes = "$with_gnu_ld"; then
   11101 	    # We only use this code for GNU lds that support --whole-archive.
   11102 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   11103 	  else
   11104 	    # Exported symbols can be pulled into shared objects from archives
   11105 	    whole_archive_flag_spec='$convenience'
   11106 	  fi
   11107 	  archive_cmds_need_lc=yes
   11108 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   11109 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   11110 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   11111 	  if test svr4 != "$with_aix_soname"; then
   11112 	    # This is similar to how AIX traditionally builds its shared libraries.
   11113 	    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'
   11114 	  fi
   11115 	  if test aix != "$with_aix_soname"; then
   11116 	    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'
   11117 	  else
   11118 	    # used by -dlpreopen to get the symbols
   11119 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   11120 	  fi
   11121 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   11122 	fi
   11123       fi
   11124       ;;
   11125 
   11126     amigaos*)
   11127       case $host_cpu in
   11128       powerpc)
   11129             # see comment about AmigaOS4 .so support
   11130             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11131             archive_expsym_cmds=''
   11132         ;;
   11133       m68k)
   11134             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)'
   11135             hardcode_libdir_flag_spec='-L$libdir'
   11136             hardcode_minus_L=yes
   11137         ;;
   11138       esac
   11139       ;;
   11140 
   11141     bsdi[45]*)
   11142       export_dynamic_flag_spec=-rdynamic
   11143       ;;
   11144 
   11145     cygwin* | mingw* | windows* | pw32* | cegcc*)
   11146       # When not using gcc, we currently assume that we are using
   11147       # Microsoft Visual C++ or Intel C++ Compiler.
   11148       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11149       # no search path for DLLs.
   11150       case $cc_basename in
   11151       cl* | icl*)
   11152 	# Native MSVC or ICC
   11153 	hardcode_libdir_flag_spec=' '
   11154 	allow_undefined_flag=unsupported
   11155 	always_export_symbols=yes
   11156 	file_list_spec='@'
   11157 	# Tell ltmain to make .lib files, not .a files.
   11158 	libext=lib
   11159 	# Tell ltmain to make .dll files, not .so files.
   11160 	shrext_cmds=.dll
   11161 	# FIXME: Setting linknames here is a bad hack.
   11162 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11163 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11164             cp "$export_symbols" "$output_objdir/$soname.def";
   11165             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   11166           else
   11167             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   11168           fi~
   11169           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   11170           linknames='
   11171 	# The linker will not automatically build a static lib if we build a DLL.
   11172 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11173 	enable_shared_with_static_runtimes=yes
   11174 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11175 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11176 	# Don't use ranlib
   11177 	old_postinstall_cmds='chmod 644 $oldlib'
   11178 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11179           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11180           case $lt_outputfile in
   11181             *.exe|*.EXE) ;;
   11182             *)
   11183               lt_outputfile=$lt_outputfile.exe
   11184               lt_tool_outputfile=$lt_tool_outputfile.exe
   11185               ;;
   11186           esac~
   11187           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11188             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11189             $RM "$lt_outputfile.manifest";
   11190           fi'
   11191 	;;
   11192       *)
   11193 	# Assume MSVC and ICC wrapper
   11194 	hardcode_libdir_flag_spec=' '
   11195 	allow_undefined_flag=unsupported
   11196 	# Tell ltmain to make .lib files, not .a files.
   11197 	libext=lib
   11198 	# Tell ltmain to make .dll files, not .so files.
   11199 	shrext_cmds=.dll
   11200 	# FIXME: Setting linknames here is a bad hack.
   11201 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11202 	# The linker will automatically build a .lib file if we build a DLL.
   11203 	old_archive_from_new_cmds='true'
   11204 	# FIXME: Should let the user specify the lib program.
   11205 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11206 	enable_shared_with_static_runtimes=yes
   11207 	;;
   11208       esac
   11209       ;;
   11210 
   11211     darwin* | rhapsody*)
   11212 
   11213 
   11214   archive_cmds_need_lc=no
   11215   hardcode_direct=no
   11216   hardcode_automatic=yes
   11217   hardcode_shlibpath_var=unsupported
   11218   if test yes = "$lt_cv_ld_force_load"; then
   11219     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\"`'
   11220 
   11221   else
   11222     whole_archive_flag_spec=''
   11223   fi
   11224   link_all_deplibs=yes
   11225   allow_undefined_flag=$_lt_dar_allow_undefined
   11226   case $cc_basename in
   11227      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11228      *) _lt_dar_can_shared=$GCC ;;
   11229   esac
   11230   if test yes = "$_lt_dar_can_shared"; then
   11231     output_verbose_link_cmd=func_echo_all
   11232     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11233     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11234     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"
   11235     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"
   11236 
   11237   else
   11238   ld_shlibs=no
   11239   fi
   11240 
   11241       ;;
   11242 
   11243     dgux*)
   11244       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11245       hardcode_libdir_flag_spec='-L$libdir'
   11246       hardcode_shlibpath_var=no
   11247       ;;
   11248 
   11249     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11250     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11251     # does not break anything, and helps significantly (at the cost of a little
   11252     # extra space).
   11253     freebsd2.2*)
   11254       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11255       hardcode_libdir_flag_spec='-R$libdir'
   11256       hardcode_direct=yes
   11257       hardcode_shlibpath_var=no
   11258       ;;
   11259 
   11260     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11261     freebsd2.*)
   11262       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11263       hardcode_direct=yes
   11264       hardcode_minus_L=yes
   11265       hardcode_shlibpath_var=no
   11266       ;;
   11267 
   11268     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11269     freebsd* | dragonfly* | midnightbsd*)
   11270       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11271       hardcode_libdir_flag_spec='-R$libdir'
   11272       hardcode_direct=yes
   11273       hardcode_shlibpath_var=no
   11274       ;;
   11275 
   11276     hpux9*)
   11277       if test yes = "$GCC"; then
   11278 	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'
   11279       else
   11280 	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'
   11281       fi
   11282       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11283       hardcode_libdir_separator=:
   11284       hardcode_direct=yes
   11285 
   11286       # hardcode_minus_L: Not really in the search PATH,
   11287       # but as the default location of the library.
   11288       hardcode_minus_L=yes
   11289       export_dynamic_flag_spec='$wl-E'
   11290       ;;
   11291 
   11292     hpux10*)
   11293       if test yes,no = "$GCC,$with_gnu_ld"; then
   11294 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11295       else
   11296 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11297       fi
   11298       if test no = "$with_gnu_ld"; then
   11299 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11300 	hardcode_libdir_separator=:
   11301 	hardcode_direct=yes
   11302 	hardcode_direct_absolute=yes
   11303 	export_dynamic_flag_spec='$wl-E'
   11304 	# hardcode_minus_L: Not really in the search PATH,
   11305 	# but as the default location of the library.
   11306 	hardcode_minus_L=yes
   11307       fi
   11308       ;;
   11309 
   11310     hpux11*)
   11311       if test yes,no = "$GCC,$with_gnu_ld"; then
   11312 	case $host_cpu in
   11313 	hppa*64*)
   11314 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11315 	  ;;
   11316 	ia64*)
   11317 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11318 	  ;;
   11319 	*)
   11320 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11321 	  ;;
   11322 	esac
   11323       else
   11324 	case $host_cpu in
   11325 	hppa*64*)
   11326 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11327 	  ;;
   11328 	ia64*)
   11329 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11330 	  ;;
   11331 	*)
   11332 
   11333 	  # Older versions of the 11.00 compiler do not understand -b yet
   11334 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11335 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11336 printf %s "checking if $CC understands -b... " >&6; }
   11337 if test ${lt_cv_prog_compiler__b+y}
   11338 then :
   11339   printf %s "(cached) " >&6
   11340 else case e in #(
   11341   e) lt_cv_prog_compiler__b=no
   11342    save_LDFLAGS=$LDFLAGS
   11343    LDFLAGS="$LDFLAGS -b"
   11344    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11345    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11346      # The linker can only warn and ignore the option if not recognized
   11347      # So say no if there are warnings
   11348      if test -s conftest.err; then
   11349        # Append any errors to the config.log.
   11350        cat conftest.err 1>&5
   11351        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11352        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11353        if diff conftest.exp conftest.er2 >/dev/null; then
   11354          lt_cv_prog_compiler__b=yes
   11355        fi
   11356      else
   11357        lt_cv_prog_compiler__b=yes
   11358      fi
   11359    fi
   11360    $RM -r conftest*
   11361    LDFLAGS=$save_LDFLAGS
   11362  ;;
   11363 esac
   11364 fi
   11365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11366 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   11367 
   11368 if test yes = "$lt_cv_prog_compiler__b"; then
   11369     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11370 else
   11371     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11372 fi
   11373 
   11374 	  ;;
   11375 	esac
   11376       fi
   11377       if test no = "$with_gnu_ld"; then
   11378 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11379 	hardcode_libdir_separator=:
   11380 
   11381 	case $host_cpu in
   11382 	hppa*64*|ia64*)
   11383 	  hardcode_direct=no
   11384 	  hardcode_shlibpath_var=no
   11385 	  ;;
   11386 	*)
   11387 	  hardcode_direct=yes
   11388 	  hardcode_direct_absolute=yes
   11389 	  export_dynamic_flag_spec='$wl-E'
   11390 
   11391 	  # hardcode_minus_L: Not really in the search PATH,
   11392 	  # but as the default location of the library.
   11393 	  hardcode_minus_L=yes
   11394 	  ;;
   11395 	esac
   11396       fi
   11397       ;;
   11398 
   11399     irix5* | irix6* | nonstopux*)
   11400       if test yes = "$GCC"; then
   11401 	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'
   11402 	# Try to use the -exported_symbol ld option, if it does not
   11403 	# work, assume that -exports_file does not work either and
   11404 	# implicitly export all symbols.
   11405 	# This should be the same for all languages, so no per-tag cache variable.
   11406 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11407 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11408 if test ${lt_cv_irix_exported_symbol+y}
   11409 then :
   11410   printf %s "(cached) " >&6
   11411 else case e in #(
   11412   e) save_LDFLAGS=$LDFLAGS
   11413 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11414 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11415 /* end confdefs.h.  */
   11416 int foo (void) { return 0; }
   11417 _ACEOF
   11418 if ac_fn_c_try_link "$LINENO"
   11419 then :
   11420   lt_cv_irix_exported_symbol=yes
   11421 else case e in #(
   11422   e) lt_cv_irix_exported_symbol=no ;;
   11423 esac
   11424 fi
   11425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11426     conftest$ac_exeext conftest.$ac_ext
   11427            LDFLAGS=$save_LDFLAGS ;;
   11428 esac
   11429 fi
   11430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11431 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11432 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11433           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'
   11434 	fi
   11435       else
   11436 	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'
   11437 	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'
   11438       fi
   11439       archive_cmds_need_lc='no'
   11440       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11441       hardcode_libdir_separator=:
   11442       inherit_rpath=yes
   11443       link_all_deplibs=yes
   11444       ;;
   11445 
   11446     linux*)
   11447       case $cc_basename in
   11448       tcc*)
   11449 	# Fabrice Bellard et al's Tiny C Compiler
   11450 	ld_shlibs=yes
   11451 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11452 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11453 	;;
   11454       esac
   11455       ;;
   11456 
   11457     *-mlibc)
   11458       ;;
   11459 
   11460     netbsd* | netbsdelf*-gnu)
   11461       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11462 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11463       else
   11464 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11465       fi
   11466       hardcode_libdir_flag_spec='-R$libdir'
   11467       hardcode_direct=yes
   11468       hardcode_shlibpath_var=no
   11469       ;;
   11470 
   11471     newsos6)
   11472       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11473       hardcode_direct=yes
   11474       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11475       hardcode_libdir_separator=:
   11476       hardcode_shlibpath_var=no
   11477       ;;
   11478 
   11479     *nto* | *qnx*)
   11480       ;;
   11481 
   11482     openbsd*)
   11483       if test -f /usr/libexec/ld.so; then
   11484 	hardcode_direct=yes
   11485 	hardcode_shlibpath_var=no
   11486 	hardcode_direct_absolute=yes
   11487 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11488 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11489 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11490 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11491 	  export_dynamic_flag_spec='$wl-E'
   11492 	else
   11493 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11494 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11495 	fi
   11496       else
   11497 	ld_shlibs=no
   11498       fi
   11499       ;;
   11500 
   11501     os2*)
   11502       hardcode_libdir_flag_spec='-L$libdir'
   11503       hardcode_minus_L=yes
   11504       allow_undefined_flag=unsupported
   11505       shrext_cmds=.dll
   11506       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11507 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11508 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11509 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11510 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11511 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11512 	emximp -o $lib $output_objdir/$libname.def'
   11513       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11514 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11515 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11516 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11517 	prefix_cmds="$SED"~
   11518 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11519 	  prefix_cmds="$prefix_cmds -e 1d";
   11520 	fi~
   11521 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11522 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11523 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11524 	emximp -o $lib $output_objdir/$libname.def'
   11525       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11526       enable_shared_with_static_runtimes=yes
   11527       file_list_spec='@'
   11528       ;;
   11529 
   11530     osf3*)
   11531       if test yes = "$GCC"; then
   11532 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11533 	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'
   11534       else
   11535 	allow_undefined_flag=' -expect_unresolved \*'
   11536 	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'
   11537       fi
   11538       archive_cmds_need_lc='no'
   11539       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11540       hardcode_libdir_separator=:
   11541       ;;
   11542 
   11543     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11544       if test yes = "$GCC"; then
   11545 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11546 	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'
   11547 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11548       else
   11549 	allow_undefined_flag=' -expect_unresolved \*'
   11550 	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'
   11551 	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~
   11552           $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'
   11553 
   11554 	# Both c and cxx compiler support -rpath directly
   11555 	hardcode_libdir_flag_spec='-rpath $libdir'
   11556       fi
   11557       archive_cmds_need_lc='no'
   11558       hardcode_libdir_separator=:
   11559       ;;
   11560 
   11561     serenity*)
   11562       ;;
   11563 
   11564     solaris*)
   11565       no_undefined_flag=' -z defs'
   11566       if test yes = "$GCC"; then
   11567 	wlarc='$wl'
   11568 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11569 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11570           $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'
   11571       else
   11572 	case `$CC -V 2>&1` in
   11573 	*"Compilers 5.0"*)
   11574 	  wlarc=''
   11575 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11576 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11577             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11578 	  ;;
   11579 	*)
   11580 	  wlarc='$wl'
   11581 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11582 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11583             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11584 	  ;;
   11585 	esac
   11586       fi
   11587       hardcode_libdir_flag_spec='-R$libdir'
   11588       hardcode_shlibpath_var=no
   11589       case $host_os in
   11590       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11591       *)
   11592 	# The compiler driver will combine and reorder linker options,
   11593 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11594 	# but is careful enough not to reorder.
   11595 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11596 	if test yes = "$GCC"; then
   11597 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11598 	else
   11599 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11600 	fi
   11601 	;;
   11602       esac
   11603       link_all_deplibs=yes
   11604       ;;
   11605 
   11606     sunos4*)
   11607       if test sequent = "$host_vendor"; then
   11608 	# Use $CC to link under sequent, because it throws in some extra .o
   11609 	# files that make .init and .fini sections work.
   11610 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11611       else
   11612 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11613       fi
   11614       hardcode_libdir_flag_spec='-L$libdir'
   11615       hardcode_direct=yes
   11616       hardcode_minus_L=yes
   11617       hardcode_shlibpath_var=no
   11618       ;;
   11619 
   11620     sysv4)
   11621       case $host_vendor in
   11622 	sni)
   11623 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11624 	  hardcode_direct=yes # is this really true???
   11625 	;;
   11626 	siemens)
   11627 	  ## LD is ld it makes a PLAMLIB
   11628 	  ## CC just makes a GrossModule.
   11629 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11630 	  reload_cmds='$CC -r -o $output$reload_objs'
   11631 	  hardcode_direct=no
   11632         ;;
   11633 	motorola)
   11634 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11635 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11636 	;;
   11637       esac
   11638       runpath_var='LD_RUN_PATH'
   11639       hardcode_shlibpath_var=no
   11640       ;;
   11641 
   11642     sysv4.3*)
   11643       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11644       hardcode_shlibpath_var=no
   11645       export_dynamic_flag_spec='-Bexport'
   11646       ;;
   11647 
   11648     sysv4*MP*)
   11649       if test -d /usr/nec; then
   11650 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11651 	hardcode_shlibpath_var=no
   11652 	runpath_var=LD_RUN_PATH
   11653 	hardcode_runpath_var=yes
   11654 	ld_shlibs=yes
   11655       fi
   11656       ;;
   11657 
   11658     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11659       no_undefined_flag='$wl-z,text'
   11660       archive_cmds_need_lc=no
   11661       hardcode_shlibpath_var=no
   11662       runpath_var='LD_RUN_PATH'
   11663 
   11664       if test yes = "$GCC"; then
   11665 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11666 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11667       else
   11668 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11669 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11670       fi
   11671       ;;
   11672 
   11673     sysv5* | sco3.2v5* | sco5v6*)
   11674       # Note: We CANNOT use -z defs as we might desire, because we do not
   11675       # link with -lc, and that would cause any symbols used from libc to
   11676       # always be unresolved, which means just about no library would
   11677       # ever link correctly.  If we're not using GNU ld we use -z text
   11678       # though, which does catch some bad symbols but isn't as heavy-handed
   11679       # as -z defs.
   11680       no_undefined_flag='$wl-z,text'
   11681       allow_undefined_flag='$wl-z,nodefs'
   11682       archive_cmds_need_lc=no
   11683       hardcode_shlibpath_var=no
   11684       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11685       hardcode_libdir_separator=':'
   11686       link_all_deplibs=yes
   11687       export_dynamic_flag_spec='$wl-Bexport'
   11688       runpath_var='LD_RUN_PATH'
   11689 
   11690       if test yes = "$GCC"; then
   11691 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11692 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11693       else
   11694 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11695 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11696       fi
   11697       ;;
   11698 
   11699     uts4*)
   11700       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11701       hardcode_libdir_flag_spec='-L$libdir'
   11702       hardcode_shlibpath_var=no
   11703       ;;
   11704 
   11705     *)
   11706       ld_shlibs=no
   11707       ;;
   11708     esac
   11709 
   11710     if test sni = "$host_vendor"; then
   11711       case $host in
   11712       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11713 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11714 	;;
   11715       esac
   11716     fi
   11717   fi
   11718 
   11719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11720 printf "%s\n" "$ld_shlibs" >&6; }
   11721 test no = "$ld_shlibs" && can_build_shared=no
   11722 
   11723 with_gnu_ld=$with_gnu_ld
   11724 
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 #
   11740 # Do we need to explicitly link libc?
   11741 #
   11742 case "x$archive_cmds_need_lc" in
   11743 x|xyes)
   11744   # Assume -lc should be added
   11745   archive_cmds_need_lc=yes
   11746 
   11747   if test yes,yes = "$GCC,$enable_shared"; then
   11748     case $archive_cmds in
   11749     *'~'*)
   11750       # FIXME: we may have to deal with multi-command sequences.
   11751       ;;
   11752     '$CC '*)
   11753       # Test whether the compiler implicitly links with -lc since on some
   11754       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11755       # to ld, don't add -lc before -lgcc.
   11756       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11757 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11758 if test ${lt_cv_archive_cmds_need_lc+y}
   11759 then :
   11760   printf %s "(cached) " >&6
   11761 else case e in #(
   11762   e) $RM conftest*
   11763 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11764 
   11765 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11766   (eval $ac_compile) 2>&5
   11767   ac_status=$?
   11768   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11769   test $ac_status = 0; } 2>conftest.err; then
   11770 	  soname=conftest
   11771 	  lib=conftest
   11772 	  libobjs=conftest.$ac_objext
   11773 	  deplibs=
   11774 	  wl=$lt_prog_compiler_wl
   11775 	  pic_flag=$lt_prog_compiler_pic
   11776 	  compiler_flags=-v
   11777 	  linker_flags=-v
   11778 	  verstring=
   11779 	  output_objdir=.
   11780 	  libname=conftest
   11781 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11782 	  allow_undefined_flag=
   11783 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11784   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11785   ac_status=$?
   11786   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11787   test $ac_status = 0; }
   11788 	  then
   11789 	    lt_cv_archive_cmds_need_lc=no
   11790 	  else
   11791 	    lt_cv_archive_cmds_need_lc=yes
   11792 	  fi
   11793 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11794 	else
   11795 	  cat conftest.err 1>&5
   11796 	fi
   11797 	$RM conftest*
   11798 	 ;;
   11799 esac
   11800 fi
   11801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11802 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11803       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11804       ;;
   11805     esac
   11806   fi
   11807   ;;
   11808 esac
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11962 printf %s "checking dynamic linker characteristics... " >&6; }
   11963 
   11964 if test yes = "$GCC"; then
   11965   case $host_os in
   11966     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11967     *) lt_awk_arg='/^libraries:/' ;;
   11968   esac
   11969   case $host_os in
   11970     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11971     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11972   esac
   11973   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11974   case $lt_search_path_spec in
   11975   *\;*)
   11976     # if the path contains ";" then we assume it to be the separator
   11977     # otherwise default to the standard path separator (i.e. ":") - it is
   11978     # assumed that no part of a normal pathname contains ";" but that should
   11979     # okay in the real world where ";" in dirpaths is itself problematic.
   11980     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11981     ;;
   11982   *)
   11983     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11984     ;;
   11985   esac
   11986   # Ok, now we have the path, separated by spaces, we can step through it
   11987   # and add multilib dir if necessary...
   11988   lt_tmp_lt_search_path_spec=
   11989   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11990   # ...but if some path component already ends with the multilib dir we assume
   11991   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11992   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11993   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11994     lt_multi_os_dir=
   11995     ;;
   11996   esac
   11997   for lt_sys_path in $lt_search_path_spec; do
   11998     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11999       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   12000     elif test -n "$lt_multi_os_dir"; then
   12001       test -d "$lt_sys_path" && \
   12002 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   12003     fi
   12004   done
   12005   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   12006 BEGIN {RS = " "; FS = "/|\n";} {
   12007   lt_foo = "";
   12008   lt_count = 0;
   12009   for (lt_i = NF; lt_i > 0; lt_i--) {
   12010     if ($lt_i != "" && $lt_i != ".") {
   12011       if ($lt_i == "..") {
   12012         lt_count++;
   12013       } else {
   12014         if (lt_count == 0) {
   12015           lt_foo = "/" $lt_i lt_foo;
   12016         } else {
   12017           lt_count--;
   12018         }
   12019       }
   12020     }
   12021   }
   12022   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12023   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12024 }'`
   12025   # AWK program above erroneously prepends '/' to C:/dos/paths
   12026   # for these hosts.
   12027   case $host_os in
   12028     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   12029       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   12030   esac
   12031   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   12032 else
   12033   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12034 fi
   12035 library_names_spec=
   12036 libname_spec='lib$name'
   12037 soname_spec=
   12038 shrext_cmds=.so
   12039 postinstall_cmds=
   12040 postuninstall_cmds=
   12041 finish_cmds=
   12042 finish_eval=
   12043 shlibpath_var=
   12044 shlibpath_overrides_runpath=unknown
   12045 version_type=none
   12046 dynamic_linker="$host_os ld.so"
   12047 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12048 need_lib_prefix=unknown
   12049 hardcode_into_libs=no
   12050 
   12051 # when you set need_version to no, make sure it does not cause -set_version
   12052 # flags to be left without arguments
   12053 need_version=unknown
   12054 
   12055 
   12056 
   12057 case $host_os in
   12058 aix3*)
   12059   version_type=linux # correct to gnu/linux during the next big refactor
   12060   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   12061   shlibpath_var=LIBPATH
   12062 
   12063   # AIX 3 has no versioning support, so we append a major version to the name.
   12064   soname_spec='$libname$release$shared_ext$major'
   12065   ;;
   12066 
   12067 aix[4-9]*)
   12068   version_type=linux # correct to gnu/linux during the next big refactor
   12069   need_lib_prefix=no
   12070   need_version=no
   12071   hardcode_into_libs=yes
   12072   if test ia64 = "$host_cpu"; then
   12073     # AIX 5 supports IA64
   12074     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   12075     shlibpath_var=LD_LIBRARY_PATH
   12076   else
   12077     # With GCC up to 2.95.x, collect2 would create an import file
   12078     # for dependence libraries.  The import file would start with
   12079     # the line '#! .'.  This would cause the generated library to
   12080     # depend on '.', always an invalid library.  This was fixed in
   12081     # development snapshots of GCC prior to 3.0.
   12082     case $host_os in
   12083       aix4 | aix4.[01] | aix4.[01].*)
   12084       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12085 	   echo ' yes '
   12086 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   12087 	:
   12088       else
   12089 	can_build_shared=no
   12090       fi
   12091       ;;
   12092     esac
   12093     # Using Import Files as archive members, it is possible to support
   12094     # filename-based versioning of shared library archives on AIX. While
   12095     # this would work for both with and without runtime linking, it will
   12096     # prevent static linking of such archives. So we do filename-based
   12097     # shared library versioning with .so extension only, which is used
   12098     # when both runtime linking and shared linking is enabled.
   12099     # Unfortunately, runtime linking may impact performance, so we do
   12100     # not want this to be the default eventually. Also, we use the
   12101     # versioned .so libs for executables only if there is the -brtl
   12102     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   12103     # To allow for filename-based versioning support, we need to create
   12104     # libNAME.so.V as an archive file, containing:
   12105     # *) an Import File, referring to the versioned filename of the
   12106     #    archive as well as the shared archive member, telling the
   12107     #    bitwidth (32 or 64) of that shared object, and providing the
   12108     #    list of exported symbols of that shared object, eventually
   12109     #    decorated with the 'weak' keyword
   12110     # *) the shared object with the F_LOADONLY flag set, to really avoid
   12111     #    it being seen by the linker.
   12112     # At run time we better use the real file rather than another symlink,
   12113     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   12114 
   12115     case $with_aix_soname,$aix_use_runtimelinking in
   12116     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   12117     # soname into executable. Probably we can add versioning support to
   12118     # collect2, so additional links can be useful in future.
   12119     aix,yes) # traditional libtool
   12120       dynamic_linker='AIX unversionable lib.so'
   12121       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12122       # instead of lib<name>.a to let people know that these are not
   12123       # typical AIX shared libraries.
   12124       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12125       ;;
   12126     aix,no) # traditional AIX only
   12127       dynamic_linker='AIX lib.a(lib.so.V)'
   12128       # We preserve .a as extension for shared libraries through AIX4.2
   12129       # and later when we are not doing run time linking.
   12130       library_names_spec='$libname$release.a $libname.a'
   12131       soname_spec='$libname$release$shared_ext$major'
   12132       ;;
   12133     svr4,*) # full svr4 only
   12134       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12135       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12136       # We do not specify a path in Import Files, so LIBPATH fires.
   12137       shlibpath_overrides_runpath=yes
   12138       ;;
   12139     *,yes) # both, prefer svr4
   12140       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12141       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12142       # unpreferred sharedlib libNAME.a needs extra handling
   12143       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"'
   12144       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"'
   12145       # We do not specify a path in Import Files, so LIBPATH fires.
   12146       shlibpath_overrides_runpath=yes
   12147       ;;
   12148     *,no) # both, prefer aix
   12149       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12150       library_names_spec='$libname$release.a $libname.a'
   12151       soname_spec='$libname$release$shared_ext$major'
   12152       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12153       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)'
   12154       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"'
   12155       ;;
   12156     esac
   12157     shlibpath_var=LIBPATH
   12158   fi
   12159   ;;
   12160 
   12161 amigaos*)
   12162   case $host_cpu in
   12163   powerpc)
   12164     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12165     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12166     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12167     ;;
   12168   m68k)
   12169     library_names_spec='$libname.ixlibrary $libname.a'
   12170     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12171     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'
   12172     ;;
   12173   esac
   12174   ;;
   12175 
   12176 beos*)
   12177   library_names_spec='$libname$shared_ext'
   12178   dynamic_linker="$host_os ld.so"
   12179   shlibpath_var=LIBRARY_PATH
   12180   ;;
   12181 
   12182 bsdi[45]*)
   12183   version_type=linux # correct to gnu/linux during the next big refactor
   12184   need_version=no
   12185   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12186   soname_spec='$libname$release$shared_ext$major'
   12187   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12188   shlibpath_var=LD_LIBRARY_PATH
   12189   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12190   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12191   # the default ld.so.conf also contains /usr/contrib/lib and
   12192   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12193   # libtool to hard-code these into programs
   12194   ;;
   12195 
   12196 cygwin* | mingw* | windows* | pw32* | cegcc*)
   12197   version_type=windows
   12198   shrext_cmds=.dll
   12199   need_version=no
   12200   need_lib_prefix=no
   12201 
   12202   case $GCC,$cc_basename in
   12203   yes,*)
   12204     # gcc
   12205     library_names_spec='$libname.dll.a'
   12206     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12207     # If user builds GCC with multilib enabled,
   12208     # it should just install on $(libdir)
   12209     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   12210     if test xyes = x"$multilib"; then
   12211       postinstall_cmds='base_file=`basename \$file`~
   12212         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12213         dldir=$destdir/`dirname \$dlpath`~
   12214         $install_prog $dir/$dlname $destdir/$dlname~
   12215         chmod a+x $destdir/$dlname~
   12216         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12217           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   12218         fi'
   12219     else
   12220       postinstall_cmds='base_file=`basename \$file`~
   12221         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12222         dldir=$destdir/`dirname \$dlpath`~
   12223         test -d \$dldir || mkdir -p \$dldir~
   12224         $install_prog $dir/$dlname \$dldir/$dlname~
   12225         chmod a+x \$dldir/$dlname~
   12226         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12227           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12228         fi'
   12229     fi
   12230     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12231       dlpath=$dir/\$dldll~
   12232        $RM \$dlpath'
   12233     shlibpath_overrides_runpath=yes
   12234 
   12235     case $host_os in
   12236     cygwin*)
   12237       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12238       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12239 
   12240       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12241       ;;
   12242     mingw* | windows* | cegcc*)
   12243       # MinGW DLLs use traditional 'lib' prefix
   12244       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12245       ;;
   12246     pw32*)
   12247       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12248       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12249       ;;
   12250     esac
   12251     dynamic_linker='Win32 ld.exe'
   12252     ;;
   12253 
   12254   *,cl* | *,icl*)
   12255     # Native MSVC or ICC
   12256     libname_spec='$name'
   12257     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12258     library_names_spec='$libname.dll.lib'
   12259 
   12260     case $build_os in
   12261     mingw* | windows*)
   12262       sys_lib_search_path_spec=
   12263       lt_save_ifs=$IFS
   12264       IFS=';'
   12265       for lt_path in $LIB
   12266       do
   12267         IFS=$lt_save_ifs
   12268         # Let DOS variable expansion print the short 8.3 style file name.
   12269         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12270         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12271       done
   12272       IFS=$lt_save_ifs
   12273       # Convert to MSYS style.
   12274       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12275       ;;
   12276     cygwin*)
   12277       # Convert to unix form, then to dos form, then back to unix form
   12278       # but this time dos style (no spaces!) so that the unix form looks
   12279       # like /cygdrive/c/PROGRA~1:/cygdr...
   12280       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12281       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12282       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12283       ;;
   12284     *)
   12285       sys_lib_search_path_spec=$LIB
   12286       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12287         # It is most probably a Windows format PATH.
   12288         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12289       else
   12290         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12291       fi
   12292       # FIXME: find the short name or the path components, as spaces are
   12293       # common. (e.g. "Program Files" -> "PROGRA~1")
   12294       ;;
   12295     esac
   12296 
   12297     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12298     postinstall_cmds='base_file=`basename \$file`~
   12299       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12300       dldir=$destdir/`dirname \$dlpath`~
   12301       test -d \$dldir || mkdir -p \$dldir~
   12302       $install_prog $dir/$dlname \$dldir/$dlname'
   12303     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12304       dlpath=$dir/\$dldll~
   12305        $RM \$dlpath'
   12306     shlibpath_overrides_runpath=yes
   12307     dynamic_linker='Win32 link.exe'
   12308     ;;
   12309 
   12310   *)
   12311     # Assume MSVC and ICC wrapper
   12312     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12313     dynamic_linker='Win32 ld.exe'
   12314     ;;
   12315   esac
   12316   # FIXME: first we should search . and the directory the executable is in
   12317   shlibpath_var=PATH
   12318   ;;
   12319 
   12320 darwin* | rhapsody*)
   12321   dynamic_linker="$host_os dyld"
   12322   version_type=darwin
   12323   need_lib_prefix=no
   12324   need_version=no
   12325   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12326   soname_spec='$libname$release$major$shared_ext'
   12327   shlibpath_overrides_runpath=yes
   12328   shlibpath_var=DYLD_LIBRARY_PATH
   12329   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12330 
   12331   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12332   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12333   ;;
   12334 
   12335 dgux*)
   12336   version_type=linux # correct to gnu/linux during the next big refactor
   12337   need_lib_prefix=no
   12338   need_version=no
   12339   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12340   soname_spec='$libname$release$shared_ext$major'
   12341   shlibpath_var=LD_LIBRARY_PATH
   12342   ;;
   12343 
   12344 freebsd* | dragonfly* | midnightbsd*)
   12345   # DragonFly does not have aout.  When/if they implement a new
   12346   # versioning mechanism, adjust this.
   12347   if test -x /usr/bin/objformat; then
   12348     objformat=`/usr/bin/objformat`
   12349   else
   12350     case $host_os in
   12351     freebsd[23].*) objformat=aout ;;
   12352     *) objformat=elf ;;
   12353     esac
   12354   fi
   12355   version_type=freebsd-$objformat
   12356   case $version_type in
   12357     freebsd-elf*)
   12358       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12359       soname_spec='$libname$release$shared_ext$major'
   12360       need_version=no
   12361       need_lib_prefix=no
   12362       ;;
   12363     freebsd-*)
   12364       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12365       need_version=yes
   12366       ;;
   12367   esac
   12368   case $host_cpu in
   12369     powerpc64)
   12370       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   12371       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   12372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12373 /* end confdefs.h.  */
   12374 int test_pointer_size[sizeof (void *) - 5];
   12375 
   12376 _ACEOF
   12377 if ac_fn_c_try_compile "$LINENO"
   12378 then :
   12379   shlibpath_var=LD_LIBRARY_PATH
   12380 else case e in #(
   12381   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   12382 esac
   12383 fi
   12384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12385       ;;
   12386     *)
   12387       shlibpath_var=LD_LIBRARY_PATH
   12388       ;;
   12389   esac
   12390   case $host_os in
   12391   freebsd2.*)
   12392     shlibpath_overrides_runpath=yes
   12393     ;;
   12394   freebsd3.[01]* | freebsdelf3.[01]*)
   12395     shlibpath_overrides_runpath=yes
   12396     hardcode_into_libs=yes
   12397     ;;
   12398   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12399   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12400     shlibpath_overrides_runpath=no
   12401     hardcode_into_libs=yes
   12402     ;;
   12403   *) # from 4.6 on, and DragonFly
   12404     shlibpath_overrides_runpath=yes
   12405     hardcode_into_libs=yes
   12406     ;;
   12407   esac
   12408   ;;
   12409 
   12410 haiku*)
   12411   version_type=linux # correct to gnu/linux during the next big refactor
   12412   need_lib_prefix=no
   12413   need_version=no
   12414   dynamic_linker="$host_os runtime_loader"
   12415   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12416   soname_spec='$libname$release$shared_ext$major'
   12417   shlibpath_var=LIBRARY_PATH
   12418   shlibpath_overrides_runpath=no
   12419   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   12420   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   12421   hardcode_into_libs=no
   12422   ;;
   12423 
   12424 hpux9* | hpux10* | hpux11*)
   12425   # Give a soname corresponding to the major version so that dld.sl refuses to
   12426   # link against other versions.
   12427   version_type=sunos
   12428   need_lib_prefix=no
   12429   need_version=no
   12430   case $host_cpu in
   12431   ia64*)
   12432     shrext_cmds='.so'
   12433     hardcode_into_libs=yes
   12434     dynamic_linker="$host_os dld.so"
   12435     shlibpath_var=LD_LIBRARY_PATH
   12436     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12437     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12438     soname_spec='$libname$release$shared_ext$major'
   12439     if test 32 = "$HPUX_IA64_MODE"; then
   12440       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12441       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12442     else
   12443       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12444       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12445     fi
   12446     ;;
   12447   hppa*64*)
   12448     shrext_cmds='.sl'
   12449     hardcode_into_libs=yes
   12450     dynamic_linker="$host_os dld.sl"
   12451     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12452     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12453     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12454     soname_spec='$libname$release$shared_ext$major'
   12455     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12456     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12457     ;;
   12458   *)
   12459     shrext_cmds='.sl'
   12460     dynamic_linker="$host_os dld.sl"
   12461     shlibpath_var=SHLIB_PATH
   12462     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12463     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12464     soname_spec='$libname$release$shared_ext$major'
   12465     ;;
   12466   esac
   12467   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12468   postinstall_cmds='chmod 555 $lib'
   12469   # or fails outright, so override atomically:
   12470   install_override_mode=555
   12471   ;;
   12472 
   12473 interix[3-9]*)
   12474   version_type=linux # correct to gnu/linux during the next big refactor
   12475   need_lib_prefix=no
   12476   need_version=no
   12477   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12478   soname_spec='$libname$release$shared_ext$major'
   12479   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12480   shlibpath_var=LD_LIBRARY_PATH
   12481   shlibpath_overrides_runpath=no
   12482   hardcode_into_libs=yes
   12483   ;;
   12484 
   12485 irix5* | irix6* | nonstopux*)
   12486   case $host_os in
   12487     nonstopux*) version_type=nonstopux ;;
   12488     *)
   12489 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12490 		version_type=linux # correct to gnu/linux during the next big refactor
   12491 	else
   12492 		version_type=irix
   12493 	fi ;;
   12494   esac
   12495   need_lib_prefix=no
   12496   need_version=no
   12497   soname_spec='$libname$release$shared_ext$major'
   12498   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12499   case $host_os in
   12500   irix5* | nonstopux*)
   12501     libsuff= shlibsuff=
   12502     ;;
   12503   *)
   12504     case $LD in # libtool.m4 will add one of these switches to LD
   12505     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12506       libsuff= shlibsuff= libmagic=32-bit;;
   12507     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12508       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12509     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12510       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12511     *) libsuff= shlibsuff= libmagic=never-match;;
   12512     esac
   12513     ;;
   12514   esac
   12515   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12516   shlibpath_overrides_runpath=no
   12517   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12518   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12519   hardcode_into_libs=yes
   12520   ;;
   12521 
   12522 # No shared lib support for Linux oldld, aout, or coff.
   12523 linux*oldld* | linux*aout* | linux*coff*)
   12524   dynamic_linker=no
   12525   ;;
   12526 
   12527 linux*android*)
   12528   version_type=none # Android doesn't support versioned libraries.
   12529   need_lib_prefix=no
   12530   need_version=no
   12531   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12532   soname_spec='$libname$release$shared_ext'
   12533   finish_cmds=
   12534   shlibpath_var=LD_LIBRARY_PATH
   12535   shlibpath_overrides_runpath=yes
   12536 
   12537   # This implies no fast_install, which is unacceptable.
   12538   # Some rework will be needed to allow for fast_install
   12539   # before this can be enabled.
   12540   hardcode_into_libs=yes
   12541 
   12542   dynamic_linker='Android linker'
   12543   # -rpath works at least for libraries that are not overridden by
   12544   # libraries installed in system locations.
   12545   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12546   ;;
   12547 
   12548 # This must be glibc/ELF.
   12549 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12550   version_type=linux # correct to gnu/linux during the next big refactor
   12551   need_lib_prefix=no
   12552   need_version=no
   12553   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12554   soname_spec='$libname$release$shared_ext$major'
   12555   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12556   shlibpath_var=LD_LIBRARY_PATH
   12557   shlibpath_overrides_runpath=no
   12558 
   12559   # Some binutils ld are patched to set DT_RUNPATH
   12560   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12561 then :
   12562   printf %s "(cached) " >&6
   12563 else case e in #(
   12564   e) lt_cv_shlibpath_overrides_runpath=no
   12565     save_LDFLAGS=$LDFLAGS
   12566     save_libdir=$libdir
   12567     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12568 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12569     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12570 /* end confdefs.h.  */
   12571 
   12572 int
   12573 main (void)
   12574 {
   12575 
   12576   ;
   12577   return 0;
   12578 }
   12579 _ACEOF
   12580 if ac_fn_c_try_link "$LINENO"
   12581 then :
   12582   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12583 then :
   12584   lt_cv_shlibpath_overrides_runpath=yes
   12585 fi
   12586 fi
   12587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12588     conftest$ac_exeext conftest.$ac_ext
   12589     LDFLAGS=$save_LDFLAGS
   12590     libdir=$save_libdir
   12591      ;;
   12592 esac
   12593 fi
   12594 
   12595   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12596 
   12597   # This implies no fast_install, which is unacceptable.
   12598   # Some rework will be needed to allow for fast_install
   12599   # before this can be enabled.
   12600   hardcode_into_libs=yes
   12601 
   12602   # Ideally, we could use ldconfig to report *all* directories which are
   12603   # searched for libraries, however this is still not possible.  Aside from not
   12604   # being certain /sbin/ldconfig is available, command
   12605   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12606   # even though it is searched at run-time.  Try to do the best guess by
   12607   # appending ld.so.conf contents (and includes) to the search path.
   12608   if test -f /etc/ld.so.conf; then
   12609     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' ' '`
   12610     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12611   fi
   12612 
   12613   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12614   # powerpc, because MkLinux only supported shared libraries with the
   12615   # GNU dynamic linker.  Since this was broken with cross compilers,
   12616   # most powerpc-linux boxes support dynamic linking these days and
   12617   # people can always --disable-shared, the test was removed, and we
   12618   # assume the GNU/Linux dynamic linker is in use.
   12619   dynamic_linker='GNU/Linux ld.so'
   12620   ;;
   12621 
   12622 netbsdelf*-gnu)
   12623   version_type=linux
   12624   need_lib_prefix=no
   12625   need_version=no
   12626   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12627   soname_spec='$libname$release$shared_ext$major'
   12628   shlibpath_var=LD_LIBRARY_PATH
   12629   shlibpath_overrides_runpath=no
   12630   hardcode_into_libs=yes
   12631   dynamic_linker='NetBSD ld.elf_so'
   12632   ;;
   12633 
   12634 netbsd*)
   12635   version_type=sunos
   12636   need_lib_prefix=no
   12637   need_version=no
   12638   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12639     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12640     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12641     dynamic_linker='NetBSD (a.out) ld.so'
   12642   else
   12643     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12644     soname_spec='$libname$release$shared_ext$major'
   12645     dynamic_linker='NetBSD ld.elf_so'
   12646   fi
   12647   shlibpath_var=LD_LIBRARY_PATH
   12648   shlibpath_overrides_runpath=yes
   12649   hardcode_into_libs=yes
   12650   ;;
   12651 
   12652 *-mlibc)
   12653   version_type=linux # correct to gnu/linux during the next big refactor
   12654   need_lib_prefix=no
   12655   need_version=no
   12656   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12657   soname_spec='$libname$release$shared_ext$major'
   12658   dynamic_linker='mlibc ld.so'
   12659   shlibpath_var=LD_LIBRARY_PATH
   12660   shlibpath_overrides_runpath=no
   12661   hardcode_into_libs=yes
   12662   ;;
   12663 
   12664 newsos6)
   12665   version_type=linux # correct to gnu/linux during the next big refactor
   12666   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12667   shlibpath_var=LD_LIBRARY_PATH
   12668   shlibpath_overrides_runpath=yes
   12669   ;;
   12670 
   12671 *nto* | *qnx*)
   12672   version_type=qnx
   12673   need_lib_prefix=no
   12674   need_version=no
   12675   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12676   soname_spec='$libname$release$shared_ext$major'
   12677   shlibpath_var=LD_LIBRARY_PATH
   12678   shlibpath_overrides_runpath=no
   12679   hardcode_into_libs=yes
   12680   dynamic_linker='ldqnx.so'
   12681   ;;
   12682 
   12683 openbsd*)
   12684   version_type=sunos
   12685   sys_lib_dlsearch_path_spec=/usr/lib
   12686   need_lib_prefix=no
   12687   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12688     need_version=no
   12689   else
   12690     need_version=yes
   12691   fi
   12692   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12693   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12694   shlibpath_var=LD_LIBRARY_PATH
   12695   shlibpath_overrides_runpath=yes
   12696   ;;
   12697 
   12698 os2*)
   12699   libname_spec='$name'
   12700   version_type=windows
   12701   shrext_cmds=.dll
   12702   need_version=no
   12703   need_lib_prefix=no
   12704   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12705   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12706     v=$($ECHO $release$versuffix | tr -d .-);
   12707     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12708     $ECHO $n$v`$shared_ext'
   12709   library_names_spec='${libname}_dll.$libext'
   12710   dynamic_linker='OS/2 ld.exe'
   12711   shlibpath_var=BEGINLIBPATH
   12712   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12713   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12714   postinstall_cmds='base_file=`basename \$file`~
   12715     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12716     dldir=$destdir/`dirname \$dlpath`~
   12717     test -d \$dldir || mkdir -p \$dldir~
   12718     $install_prog $dir/$dlname \$dldir/$dlname~
   12719     chmod a+x \$dldir/$dlname~
   12720     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12721       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12722     fi'
   12723   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12724     dlpath=$dir/\$dldll~
   12725     $RM \$dlpath'
   12726   ;;
   12727 
   12728 osf3* | osf4* | osf5*)
   12729   version_type=osf
   12730   need_lib_prefix=no
   12731   need_version=no
   12732   soname_spec='$libname$release$shared_ext$major'
   12733   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12734   shlibpath_var=LD_LIBRARY_PATH
   12735   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12736   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12737   ;;
   12738 
   12739 rdos*)
   12740   dynamic_linker=no
   12741   ;;
   12742 
   12743 serenity*)
   12744   version_type=linux # correct to gnu/linux during the next big refactor
   12745   need_lib_prefix=no
   12746   need_version=no
   12747   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12748   soname_spec='$libname$release$shared_ext$major'
   12749   shlibpath_var=LD_LIBRARY_PATH
   12750   shlibpath_overrides_runpath=no
   12751   dynamic_linker='SerenityOS LibELF'
   12752   ;;
   12753 
   12754 solaris*)
   12755   version_type=linux # correct to gnu/linux during the next big refactor
   12756   need_lib_prefix=no
   12757   need_version=no
   12758   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12759   soname_spec='$libname$release$shared_ext$major'
   12760   shlibpath_var=LD_LIBRARY_PATH
   12761   shlibpath_overrides_runpath=yes
   12762   hardcode_into_libs=yes
   12763   # ldd complains unless libraries are executable
   12764   postinstall_cmds='chmod +x $lib'
   12765   ;;
   12766 
   12767 sunos4*)
   12768   version_type=sunos
   12769   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12770   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12771   shlibpath_var=LD_LIBRARY_PATH
   12772   shlibpath_overrides_runpath=yes
   12773   if test yes = "$with_gnu_ld"; then
   12774     need_lib_prefix=no
   12775   fi
   12776   need_version=yes
   12777   ;;
   12778 
   12779 sysv4 | sysv4.3*)
   12780   version_type=linux # correct to gnu/linux during the next big refactor
   12781   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12782   soname_spec='$libname$release$shared_ext$major'
   12783   shlibpath_var=LD_LIBRARY_PATH
   12784   case $host_vendor in
   12785     sni)
   12786       shlibpath_overrides_runpath=no
   12787       need_lib_prefix=no
   12788       runpath_var=LD_RUN_PATH
   12789       ;;
   12790     siemens)
   12791       need_lib_prefix=no
   12792       ;;
   12793     motorola)
   12794       need_lib_prefix=no
   12795       need_version=no
   12796       shlibpath_overrides_runpath=no
   12797       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12798       ;;
   12799   esac
   12800   ;;
   12801 
   12802 sysv4*MP*)
   12803   if test -d /usr/nec; then
   12804     version_type=linux # correct to gnu/linux during the next big refactor
   12805     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12806     soname_spec='$libname$shared_ext.$major'
   12807     shlibpath_var=LD_LIBRARY_PATH
   12808   fi
   12809   ;;
   12810 
   12811 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12812   version_type=sco
   12813   need_lib_prefix=no
   12814   need_version=no
   12815   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12816   soname_spec='$libname$release$shared_ext$major'
   12817   shlibpath_var=LD_LIBRARY_PATH
   12818   shlibpath_overrides_runpath=yes
   12819   hardcode_into_libs=yes
   12820   if test yes = "$with_gnu_ld"; then
   12821     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12822   else
   12823     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12824     case $host_os in
   12825       sco3.2v5*)
   12826         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12827 	;;
   12828     esac
   12829   fi
   12830   sys_lib_dlsearch_path_spec='/usr/lib'
   12831   ;;
   12832 
   12833 tpf*)
   12834   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12835   version_type=linux # correct to gnu/linux during the next big refactor
   12836   need_lib_prefix=no
   12837   need_version=no
   12838   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12839   shlibpath_var=LD_LIBRARY_PATH
   12840   shlibpath_overrides_runpath=no
   12841   hardcode_into_libs=yes
   12842   ;;
   12843 
   12844 uts4*)
   12845   version_type=linux # correct to gnu/linux during the next big refactor
   12846   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12847   soname_spec='$libname$release$shared_ext$major'
   12848   shlibpath_var=LD_LIBRARY_PATH
   12849   ;;
   12850 
   12851 emscripten*)
   12852   version_type=none
   12853   need_lib_prefix=no
   12854   need_version=no
   12855   library_names_spec='$libname$release$shared_ext'
   12856   soname_spec='$libname$release$shared_ext'
   12857   finish_cmds=
   12858   dynamic_linker="Emscripten linker"
   12859   lt_prog_compiler_wl=
   12860 lt_prog_compiler_pic=
   12861 lt_prog_compiler_static=
   12862 
   12863 
   12864   if test yes = "$GCC"; then
   12865     lt_prog_compiler_wl='-Wl,'
   12866     lt_prog_compiler_static='-static'
   12867 
   12868     case $host_os in
   12869       aix*)
   12870       # All AIX code is PIC.
   12871       if test ia64 = "$host_cpu"; then
   12872 	# AIX 5 now supports IA64 processor
   12873 	lt_prog_compiler_static='-Bstatic'
   12874       fi
   12875       lt_prog_compiler_pic='-fPIC'
   12876       ;;
   12877 
   12878     amigaos*)
   12879       case $host_cpu in
   12880       powerpc)
   12881             # see comment about AmigaOS4 .so support
   12882             lt_prog_compiler_pic='-fPIC'
   12883         ;;
   12884       m68k)
   12885             # FIXME: we need at least 68020 code to build shared libraries, but
   12886             # adding the '-m68020' flag to GCC prevents building anything better,
   12887             # like '-m68040'.
   12888             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12889         ;;
   12890       esac
   12891       ;;
   12892 
   12893     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12894       # PIC is the default for these OSes.
   12895       ;;
   12896 
   12897     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12898       # This hack is so that the source file can tell whether it is being
   12899       # built for inclusion in a dll (and should export symbols for example).
   12900       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12901       # (--disable-auto-import) libraries
   12902       lt_prog_compiler_pic='-DDLL_EXPORT'
   12903       case $host_os in
   12904       os2*)
   12905 	lt_prog_compiler_static='$wl-static'
   12906 	;;
   12907       esac
   12908       ;;
   12909 
   12910     darwin* | rhapsody*)
   12911       # PIC is the default on this platform
   12912       # Common symbols not allowed in MH_DYLIB files
   12913       lt_prog_compiler_pic='-fno-common'
   12914       ;;
   12915 
   12916     haiku*)
   12917       # PIC is the default for Haiku.
   12918       # The "-static" flag exists, but is broken.
   12919       lt_prog_compiler_static=
   12920       ;;
   12921 
   12922     hpux*)
   12923       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12924       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12925       # sets the default TLS model and affects inlining.
   12926       case $host_cpu in
   12927       hppa*64*)
   12928 	# +Z the default
   12929 	;;
   12930       *)
   12931 	lt_prog_compiler_pic='-fPIC'
   12932 	;;
   12933       esac
   12934       ;;
   12935 
   12936     interix[3-9]*)
   12937       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12938       # Instead, we relocate shared libraries at runtime.
   12939       ;;
   12940 
   12941     msdosdjgpp*)
   12942       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12943       # on systems that don't support them.
   12944       lt_prog_compiler_can_build_shared=no
   12945       enable_shared=no
   12946       ;;
   12947 
   12948     *nto* | *qnx*)
   12949       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12950       # it will coredump.
   12951       lt_prog_compiler_pic='-fPIC -shared'
   12952       ;;
   12953 
   12954     sysv4*MP*)
   12955       if test -d /usr/nec; then
   12956 	lt_prog_compiler_pic=-Kconform_pic
   12957       fi
   12958       ;;
   12959 
   12960     *)
   12961       lt_prog_compiler_pic='-fPIC'
   12962       ;;
   12963     esac
   12964 
   12965     case $cc_basename in
   12966     nvcc*) # Cuda Compiler Driver 2.2
   12967       lt_prog_compiler_wl='-Xlinker '
   12968       if test -n "$lt_prog_compiler_pic"; then
   12969         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12970       fi
   12971       ;;
   12972     esac
   12973   else
   12974     # PORTME Check for flag to pass linker flags through the system compiler.
   12975     case $host_os in
   12976     aix*)
   12977       lt_prog_compiler_wl='-Wl,'
   12978       if test ia64 = "$host_cpu"; then
   12979 	# AIX 5 now supports IA64 processor
   12980 	lt_prog_compiler_static='-Bstatic'
   12981       else
   12982 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   12983       fi
   12984       ;;
   12985 
   12986     darwin* | rhapsody*)
   12987       # PIC is the default on this platform
   12988       # Common symbols not allowed in MH_DYLIB files
   12989       lt_prog_compiler_pic='-fno-common'
   12990       case $cc_basename in
   12991       nagfor*)
   12992         # NAG Fortran compiler
   12993         lt_prog_compiler_wl='-Wl,-Wl,,'
   12994         lt_prog_compiler_pic='-PIC'
   12995         lt_prog_compiler_static='-Bstatic'
   12996         ;;
   12997       esac
   12998       ;;
   12999 
   13000     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13001       # This hack is so that the source file can tell whether it is being
   13002       # built for inclusion in a dll (and should export symbols for example).
   13003       lt_prog_compiler_pic='-DDLL_EXPORT'
   13004       case $host_os in
   13005       os2*)
   13006 	lt_prog_compiler_static='$wl-static'
   13007 	;;
   13008       esac
   13009       ;;
   13010 
   13011     hpux9* | hpux10* | hpux11*)
   13012       lt_prog_compiler_wl='-Wl,'
   13013       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13014       # not for PA HP-UX.
   13015       case $host_cpu in
   13016       hppa*64*|ia64*)
   13017 	# +Z the default
   13018 	;;
   13019       *)
   13020 	lt_prog_compiler_pic='+Z'
   13021 	;;
   13022       esac
   13023       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13024       lt_prog_compiler_static='$wl-a ${wl}archive'
   13025       ;;
   13026 
   13027     irix5* | irix6* | nonstopux*)
   13028       lt_prog_compiler_wl='-Wl,'
   13029       # PIC (with -KPIC) is the default.
   13030       lt_prog_compiler_static='-non_shared'
   13031       ;;
   13032 
   13033     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13034       case $cc_basename in
   13035       # old Intel for x86_64, which still supported -KPIC.
   13036       ecc*)
   13037 	lt_prog_compiler_wl='-Wl,'
   13038 	lt_prog_compiler_pic='-KPIC'
   13039 	lt_prog_compiler_static='-static'
   13040         ;;
   13041       *flang* | ftn | f18* | f95*)
   13042         # Flang compiler.
   13043 	lt_prog_compiler_wl='-Wl,'
   13044 	lt_prog_compiler_pic='-fPIC'
   13045 	lt_prog_compiler_static='-static'
   13046         ;;
   13047       # icc used to be incompatible with GCC.
   13048       # ICC 10 doesn't accept -KPIC any more.
   13049       icc* | ifort*)
   13050 	lt_prog_compiler_wl='-Wl,'
   13051 	lt_prog_compiler_pic='-fPIC'
   13052 	lt_prog_compiler_static='-static'
   13053         ;;
   13054       # Lahey Fortran 8.1.
   13055       lf95*)
   13056 	lt_prog_compiler_wl='-Wl,'
   13057 	lt_prog_compiler_pic='--shared'
   13058 	lt_prog_compiler_static='--static'
   13059 	;;
   13060       nagfor*)
   13061 	# NAG Fortran compiler
   13062 	lt_prog_compiler_wl='-Wl,-Wl,,'
   13063 	lt_prog_compiler_pic='-PIC'
   13064 	lt_prog_compiler_static='-Bstatic'
   13065 	;;
   13066       tcc*)
   13067 	# Fabrice Bellard et al's Tiny C Compiler
   13068 	lt_prog_compiler_wl='-Wl,'
   13069 	lt_prog_compiler_pic='-fPIC'
   13070 	lt_prog_compiler_static='-static'
   13071 	;;
   13072       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   13073         # Portland Group compilers (*not* the Pentium gcc compiler,
   13074 	# which looks to be a dead project)
   13075 	lt_prog_compiler_wl='-Wl,'
   13076 	lt_prog_compiler_pic='-fpic'
   13077 	lt_prog_compiler_static='-Bstatic'
   13078         ;;
   13079       ccc*)
   13080         lt_prog_compiler_wl='-Wl,'
   13081         # All Alpha code is PIC.
   13082         lt_prog_compiler_static='-non_shared'
   13083         ;;
   13084       xl* | bgxl* | bgf* | mpixl*)
   13085 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   13086 	lt_prog_compiler_wl='-Wl,'
   13087 	lt_prog_compiler_pic='-qpic'
   13088 	lt_prog_compiler_static='-qstaticlink'
   13089 	;;
   13090       *)
   13091 	case `$CC -V 2>&1 | $SED 5q` in
   13092 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   13093 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13094 	  lt_prog_compiler_pic='-KPIC'
   13095 	  lt_prog_compiler_static='-Bstatic'
   13096 	  lt_prog_compiler_wl=''
   13097 	  ;;
   13098 	*Sun\ F* | *Sun*Fortran*)
   13099 	  lt_prog_compiler_pic='-KPIC'
   13100 	  lt_prog_compiler_static='-Bstatic'
   13101 	  lt_prog_compiler_wl='-Qoption ld '
   13102 	  ;;
   13103 	*Sun\ C*)
   13104 	  # Sun C 5.9
   13105 	  lt_prog_compiler_pic='-KPIC'
   13106 	  lt_prog_compiler_static='-Bstatic'
   13107 	  lt_prog_compiler_wl='-Wl,'
   13108 	  ;;
   13109         *Intel*\ [CF]*Compiler*)
   13110 	  lt_prog_compiler_wl='-Wl,'
   13111 	  lt_prog_compiler_pic='-fPIC'
   13112 	  lt_prog_compiler_static='-static'
   13113 	  ;;
   13114 	*Portland\ Group*)
   13115 	  lt_prog_compiler_wl='-Wl,'
   13116 	  lt_prog_compiler_pic='-fpic'
   13117 	  lt_prog_compiler_static='-Bstatic'
   13118 	  ;;
   13119 	esac
   13120 	;;
   13121       esac
   13122       ;;
   13123 
   13124     newsos6)
   13125       lt_prog_compiler_pic='-KPIC'
   13126       lt_prog_compiler_static='-Bstatic'
   13127       ;;
   13128 
   13129     *-mlibc)
   13130       lt_prog_compiler_wl='-Wl,'
   13131       lt_prog_compiler_pic='-fPIC'
   13132       lt_prog_compiler_static='-static'
   13133       ;;
   13134 
   13135     *nto* | *qnx*)
   13136       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13137       # it will coredump.
   13138       lt_prog_compiler_pic='-fPIC -shared'
   13139       ;;
   13140 
   13141     osf3* | osf4* | osf5*)
   13142       lt_prog_compiler_wl='-Wl,'
   13143       # All OSF/1 code is PIC.
   13144       lt_prog_compiler_static='-non_shared'
   13145       ;;
   13146 
   13147     rdos*)
   13148       lt_prog_compiler_static='-non_shared'
   13149       ;;
   13150 
   13151     serenity*)
   13152       ;;
   13153 
   13154     solaris*)
   13155       lt_prog_compiler_pic='-KPIC'
   13156       lt_prog_compiler_static='-Bstatic'
   13157       case $cc_basename in
   13158       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13159 	lt_prog_compiler_wl='-Qoption ld ';;
   13160       *)
   13161 	lt_prog_compiler_wl='-Wl,';;
   13162       esac
   13163       ;;
   13164 
   13165     sunos4*)
   13166       lt_prog_compiler_wl='-Qoption ld '
   13167       lt_prog_compiler_pic='-PIC'
   13168       lt_prog_compiler_static='-Bstatic'
   13169       ;;
   13170 
   13171     sysv4 | sysv4.2uw2* | sysv4.3*)
   13172       lt_prog_compiler_wl='-Wl,'
   13173       lt_prog_compiler_pic='-KPIC'
   13174       lt_prog_compiler_static='-Bstatic'
   13175       ;;
   13176 
   13177     sysv4*MP*)
   13178       if test -d /usr/nec; then
   13179 	lt_prog_compiler_pic='-Kconform_pic'
   13180 	lt_prog_compiler_static='-Bstatic'
   13181       fi
   13182       ;;
   13183 
   13184     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13185       lt_prog_compiler_wl='-Wl,'
   13186       lt_prog_compiler_pic='-KPIC'
   13187       lt_prog_compiler_static='-Bstatic'
   13188       ;;
   13189 
   13190     unicos*)
   13191       lt_prog_compiler_wl='-Wl,'
   13192       lt_prog_compiler_can_build_shared=no
   13193       ;;
   13194 
   13195     uts4*)
   13196       lt_prog_compiler_pic='-pic'
   13197       lt_prog_compiler_static='-Bstatic'
   13198       ;;
   13199 
   13200     *)
   13201       lt_prog_compiler_can_build_shared=no
   13202       ;;
   13203     esac
   13204   fi
   13205 
   13206 case $host_os in
   13207   # For platforms that do not support PIC, -DPIC is meaningless:
   13208   *djgpp*)
   13209     lt_prog_compiler_pic=
   13210     ;;
   13211   *)
   13212     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13213     ;;
   13214 esac
   13215 
   13216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13217 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13218 if test ${lt_cv_prog_compiler_pic+y}
   13219 then :
   13220   printf %s "(cached) " >&6
   13221 else case e in #(
   13222   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   13223 esac
   13224 fi
   13225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13226 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   13227 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13228 
   13229 #
   13230 # Check to make sure the PIC flag actually works.
   13231 #
   13232 if test -n "$lt_prog_compiler_pic"; then
   13233   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13234 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13235 if test ${lt_cv_prog_compiler_pic_works+y}
   13236 then :
   13237   printf %s "(cached) " >&6
   13238 else case e in #(
   13239   e) lt_cv_prog_compiler_pic_works=no
   13240    ac_outfile=conftest.$ac_objext
   13241    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13242    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13243    # Insert the option either (1) after the last *FLAGS variable, or
   13244    # (2) before a word containing "conftest.", or (3) at the end.
   13245    # Note that $ac_compile itself does not contain backslashes and begins
   13246    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13247    # The option is referenced via a variable to avoid confusing sed.
   13248    lt_compile=`echo "$ac_compile" | $SED \
   13249    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13250    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13251    -e 's:$: $lt_compiler_flag:'`
   13252    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13253    (eval "$lt_compile" 2>conftest.err)
   13254    ac_status=$?
   13255    cat conftest.err >&5
   13256    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13257    if (exit $ac_status) && test -s "$ac_outfile"; then
   13258      # The compiler can only warn and ignore the option if not recognized
   13259      # So say no if there are warnings other than the usual output.
   13260      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13261      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13262      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13263        lt_cv_prog_compiler_pic_works=yes
   13264      fi
   13265    fi
   13266    $RM conftest*
   13267  ;;
   13268 esac
   13269 fi
   13270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13271 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   13272 
   13273 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13274     case $lt_prog_compiler_pic in
   13275      "" | " "*) ;;
   13276      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13277      esac
   13278 else
   13279     lt_prog_compiler_pic=
   13280      lt_prog_compiler_can_build_shared=no
   13281 fi
   13282 
   13283 fi
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 #
   13290 # Check to make sure the static flag actually works.
   13291 #
   13292 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13294 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13295 if test ${lt_cv_prog_compiler_static_works+y}
   13296 then :
   13297   printf %s "(cached) " >&6
   13298 else case e in #(
   13299   e) lt_cv_prog_compiler_static_works=no
   13300    save_LDFLAGS=$LDFLAGS
   13301    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13302    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13303    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13304      # The linker can only warn and ignore the option if not recognized
   13305      # So say no if there are warnings
   13306      if test -s conftest.err; then
   13307        # Append any errors to the config.log.
   13308        cat conftest.err 1>&5
   13309        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13310        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13311        if diff conftest.exp conftest.er2 >/dev/null; then
   13312          lt_cv_prog_compiler_static_works=yes
   13313        fi
   13314      else
   13315        lt_cv_prog_compiler_static_works=yes
   13316      fi
   13317    fi
   13318    $RM -r conftest*
   13319    LDFLAGS=$save_LDFLAGS
   13320  ;;
   13321 esac
   13322 fi
   13323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13324 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   13325 
   13326 if test yes = "$lt_cv_prog_compiler_static_works"; then
   13327     :
   13328 else
   13329     lt_prog_compiler_static=
   13330 fi
   13331 
   13332 
   13333 
   13334 ='-fPIC'
   13335   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   13336   archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
   13337   archive_cmds_need_lc=no
   13338   no_undefined_flag=
   13339   ;;
   13340 
   13341 *)
   13342   dynamic_linker=no
   13343   ;;
   13344 esac
   13345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13346 printf "%s\n" "$dynamic_linker" >&6; }
   13347 test no = "$dynamic_linker" && can_build_shared=no
   13348 
   13349 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13350 if test yes = "$GCC"; then
   13351   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13352 fi
   13353 
   13354 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13355   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13356 fi
   13357 
   13358 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13359   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13360 fi
   13361 
   13362 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13363 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13364 
   13365 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13366 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13367 
   13368 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13369 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13370 
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 
   13437 
   13438 
   13439 
   13440 
   13441 
   13442 
   13443 
   13444 
   13445 
   13446 
   13447 
   13448 
   13449 
   13450 
   13451 
   13452 
   13453 
   13454 
   13455 
   13456 
   13457 
   13458 
   13459 
   13460 
   13461 
   13462 
   13463 
   13464 
   13465 
   13466 
   13467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13468 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13469 hardcode_action=
   13470 if test -n "$hardcode_libdir_flag_spec" ||
   13471    test -n "$runpath_var" ||
   13472    test yes = "$hardcode_automatic"; then
   13473 
   13474   # We can hardcode non-existent directories.
   13475   if test no != "$hardcode_direct" &&
   13476      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13477      # have to relink, otherwise we might link with an installed library
   13478      # when we should be linking with a yet-to-be-installed one
   13479      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13480      test no != "$hardcode_minus_L"; then
   13481     # Linking always hardcodes the temporary library directory.
   13482     hardcode_action=relink
   13483   else
   13484     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13485     hardcode_action=immediate
   13486   fi
   13487 else
   13488   # We cannot hardcode anything, or else we can only hardcode existing
   13489   # directories.
   13490   hardcode_action=unsupported
   13491 fi
   13492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13493 printf "%s\n" "$hardcode_action" >&6; }
   13494 
   13495 if test relink = "$hardcode_action" ||
   13496    test yes = "$inherit_rpath"; then
   13497   # Fast installation is not supported
   13498   enable_fast_install=no
   13499 elif test yes = "$shlibpath_overrides_runpath" ||
   13500      test no = "$enable_shared"; then
   13501   # Fast installation is not necessary
   13502   enable_fast_install=needless
   13503 fi
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510   if test yes != "$enable_dlopen"; then
   13511   enable_dlopen=unknown
   13512   enable_dlopen_self=unknown
   13513   enable_dlopen_self_static=unknown
   13514 else
   13515   lt_cv_dlopen=no
   13516   lt_cv_dlopen_libs=
   13517 
   13518   case $host_os in
   13519   beos*)
   13520     lt_cv_dlopen=load_add_on
   13521     lt_cv_dlopen_libs=
   13522     lt_cv_dlopen_self=yes
   13523     ;;
   13524 
   13525   mingw* | windows* | pw32* | cegcc*)
   13526     lt_cv_dlopen=LoadLibrary
   13527     lt_cv_dlopen_libs=
   13528     ;;
   13529 
   13530   cygwin*)
   13531     lt_cv_dlopen=dlopen
   13532     lt_cv_dlopen_libs=
   13533     ;;
   13534 
   13535   darwin*)
   13536     # if libdl is installed we need to link against it
   13537     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13538 printf %s "checking for dlopen in -ldl... " >&6; }
   13539 if test ${ac_cv_lib_dl_dlopen+y}
   13540 then :
   13541   printf %s "(cached) " >&6
   13542 else case e in #(
   13543   e) ac_check_lib_save_LIBS=$LIBS
   13544 LIBS="-ldl  $LIBS"
   13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13546 /* end confdefs.h.  */
   13547 
   13548 /* Override any GCC internal prototype to avoid an error.
   13549    Use char because int might match the return type of a GCC
   13550    builtin and then its argument prototype would still apply.
   13551    The 'extern "C"' is for builds by C++ compilers;
   13552    although this is not generally supported in C code supporting it here
   13553    has little cost and some practical benefit (sr 110532).  */
   13554 #ifdef __cplusplus
   13555 extern "C"
   13556 #endif
   13557 char dlopen (void);
   13558 int
   13559 main (void)
   13560 {
   13561 return dlopen ();
   13562   ;
   13563   return 0;
   13564 }
   13565 _ACEOF
   13566 if ac_fn_c_try_link "$LINENO"
   13567 then :
   13568   ac_cv_lib_dl_dlopen=yes
   13569 else case e in #(
   13570   e) ac_cv_lib_dl_dlopen=no ;;
   13571 esac
   13572 fi
   13573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13574     conftest$ac_exeext conftest.$ac_ext
   13575 LIBS=$ac_check_lib_save_LIBS ;;
   13576 esac
   13577 fi
   13578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13579 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13580 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13581 then :
   13582   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13583 else case e in #(
   13584   e)
   13585     lt_cv_dlopen=dyld
   13586     lt_cv_dlopen_libs=
   13587     lt_cv_dlopen_self=yes
   13588      ;;
   13589 esac
   13590 fi
   13591 
   13592     ;;
   13593 
   13594   tpf*)
   13595     # Don't try to run any link tests for TPF.  We know it's impossible
   13596     # because TPF is a cross-compiler, and we know how we open DSOs.
   13597     lt_cv_dlopen=dlopen
   13598     lt_cv_dlopen_libs=
   13599     lt_cv_dlopen_self=no
   13600     ;;
   13601 
   13602   *)
   13603     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13604 if test "x$ac_cv_func_shl_load" = xyes
   13605 then :
   13606   lt_cv_dlopen=shl_load
   13607 else case e in #(
   13608   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13609 printf %s "checking for shl_load in -ldld... " >&6; }
   13610 if test ${ac_cv_lib_dld_shl_load+y}
   13611 then :
   13612   printf %s "(cached) " >&6
   13613 else case e in #(
   13614   e) ac_check_lib_save_LIBS=$LIBS
   13615 LIBS="-ldld  $LIBS"
   13616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13617 /* end confdefs.h.  */
   13618 
   13619 /* Override any GCC internal prototype to avoid an error.
   13620    Use char because int might match the return type of a GCC
   13621    builtin and then its argument prototype would still apply.
   13622    The 'extern "C"' is for builds by C++ compilers;
   13623    although this is not generally supported in C code supporting it here
   13624    has little cost and some practical benefit (sr 110532).  */
   13625 #ifdef __cplusplus
   13626 extern "C"
   13627 #endif
   13628 char shl_load (void);
   13629 int
   13630 main (void)
   13631 {
   13632 return shl_load ();
   13633   ;
   13634   return 0;
   13635 }
   13636 _ACEOF
   13637 if ac_fn_c_try_link "$LINENO"
   13638 then :
   13639   ac_cv_lib_dld_shl_load=yes
   13640 else case e in #(
   13641   e) ac_cv_lib_dld_shl_load=no ;;
   13642 esac
   13643 fi
   13644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13645     conftest$ac_exeext conftest.$ac_ext
   13646 LIBS=$ac_check_lib_save_LIBS ;;
   13647 esac
   13648 fi
   13649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13650 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13651 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13652 then :
   13653   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13654 else case e in #(
   13655   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13656 if test "x$ac_cv_func_dlopen" = xyes
   13657 then :
   13658   lt_cv_dlopen=dlopen
   13659 else case e in #(
   13660   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13661 printf %s "checking for dlopen in -ldl... " >&6; }
   13662 if test ${ac_cv_lib_dl_dlopen+y}
   13663 then :
   13664   printf %s "(cached) " >&6
   13665 else case e in #(
   13666   e) ac_check_lib_save_LIBS=$LIBS
   13667 LIBS="-ldl  $LIBS"
   13668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13669 /* end confdefs.h.  */
   13670 
   13671 /* Override any GCC internal prototype to avoid an error.
   13672    Use char because int might match the return type of a GCC
   13673    builtin and then its argument prototype would still apply.
   13674    The 'extern "C"' is for builds by C++ compilers;
   13675    although this is not generally supported in C code supporting it here
   13676    has little cost and some practical benefit (sr 110532).  */
   13677 #ifdef __cplusplus
   13678 extern "C"
   13679 #endif
   13680 char dlopen (void);
   13681 int
   13682 main (void)
   13683 {
   13684 return dlopen ();
   13685   ;
   13686   return 0;
   13687 }
   13688 _ACEOF
   13689 if ac_fn_c_try_link "$LINENO"
   13690 then :
   13691   ac_cv_lib_dl_dlopen=yes
   13692 else case e in #(
   13693   e) ac_cv_lib_dl_dlopen=no ;;
   13694 esac
   13695 fi
   13696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13697     conftest$ac_exeext conftest.$ac_ext
   13698 LIBS=$ac_check_lib_save_LIBS ;;
   13699 esac
   13700 fi
   13701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13702 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13703 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13704 then :
   13705   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13706 else case e in #(
   13707   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13708 printf %s "checking for dlopen in -lsvld... " >&6; }
   13709 if test ${ac_cv_lib_svld_dlopen+y}
   13710 then :
   13711   printf %s "(cached) " >&6
   13712 else case e in #(
   13713   e) ac_check_lib_save_LIBS=$LIBS
   13714 LIBS="-lsvld  $LIBS"
   13715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13716 /* end confdefs.h.  */
   13717 
   13718 /* Override any GCC internal prototype to avoid an error.
   13719    Use char because int might match the return type of a GCC
   13720    builtin and then its argument prototype would still apply.
   13721    The 'extern "C"' is for builds by C++ compilers;
   13722    although this is not generally supported in C code supporting it here
   13723    has little cost and some practical benefit (sr 110532).  */
   13724 #ifdef __cplusplus
   13725 extern "C"
   13726 #endif
   13727 char dlopen (void);
   13728 int
   13729 main (void)
   13730 {
   13731 return dlopen ();
   13732   ;
   13733   return 0;
   13734 }
   13735 _ACEOF
   13736 if ac_fn_c_try_link "$LINENO"
   13737 then :
   13738   ac_cv_lib_svld_dlopen=yes
   13739 else case e in #(
   13740   e) ac_cv_lib_svld_dlopen=no ;;
   13741 esac
   13742 fi
   13743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13744     conftest$ac_exeext conftest.$ac_ext
   13745 LIBS=$ac_check_lib_save_LIBS ;;
   13746 esac
   13747 fi
   13748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13749 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13750 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13751 then :
   13752   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13753 else case e in #(
   13754   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13755 printf %s "checking for dld_link in -ldld... " >&6; }
   13756 if test ${ac_cv_lib_dld_dld_link+y}
   13757 then :
   13758   printf %s "(cached) " >&6
   13759 else case e in #(
   13760   e) ac_check_lib_save_LIBS=$LIBS
   13761 LIBS="-ldld  $LIBS"
   13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13763 /* end confdefs.h.  */
   13764 
   13765 /* Override any GCC internal prototype to avoid an error.
   13766    Use char because int might match the return type of a GCC
   13767    builtin and then its argument prototype would still apply.
   13768    The 'extern "C"' is for builds by C++ compilers;
   13769    although this is not generally supported in C code supporting it here
   13770    has little cost and some practical benefit (sr 110532).  */
   13771 #ifdef __cplusplus
   13772 extern "C"
   13773 #endif
   13774 char dld_link (void);
   13775 int
   13776 main (void)
   13777 {
   13778 return dld_link ();
   13779   ;
   13780   return 0;
   13781 }
   13782 _ACEOF
   13783 if ac_fn_c_try_link "$LINENO"
   13784 then :
   13785   ac_cv_lib_dld_dld_link=yes
   13786 else case e in #(
   13787   e) ac_cv_lib_dld_dld_link=no ;;
   13788 esac
   13789 fi
   13790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13791     conftest$ac_exeext conftest.$ac_ext
   13792 LIBS=$ac_check_lib_save_LIBS ;;
   13793 esac
   13794 fi
   13795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13796 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13797 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13798 then :
   13799   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13800 fi
   13801 
   13802 	       ;;
   13803 esac
   13804 fi
   13805 
   13806 	     ;;
   13807 esac
   13808 fi
   13809 
   13810 	   ;;
   13811 esac
   13812 fi
   13813 
   13814 	 ;;
   13815 esac
   13816 fi
   13817 
   13818        ;;
   13819 esac
   13820 fi
   13821 
   13822     ;;
   13823   esac
   13824 
   13825   if test no = "$lt_cv_dlopen"; then
   13826     enable_dlopen=no
   13827   else
   13828     enable_dlopen=yes
   13829   fi
   13830 
   13831   case $lt_cv_dlopen in
   13832   dlopen)
   13833     save_CPPFLAGS=$CPPFLAGS
   13834     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13835 
   13836     save_LDFLAGS=$LDFLAGS
   13837     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13838 
   13839     save_LIBS=$LIBS
   13840     LIBS="$lt_cv_dlopen_libs $LIBS"
   13841 
   13842     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13843 printf %s "checking whether a program can dlopen itself... " >&6; }
   13844 if test ${lt_cv_dlopen_self+y}
   13845 then :
   13846   printf %s "(cached) " >&6
   13847 else case e in #(
   13848   e) 	  if test yes = "$cross_compiling"; then :
   13849   lt_cv_dlopen_self=cross
   13850 else
   13851   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13852   lt_status=$lt_dlunknown
   13853   cat > conftest.$ac_ext <<_LT_EOF
   13854 #line $LINENO "configure"
   13855 #include "confdefs.h"
   13856 
   13857 #if HAVE_DLFCN_H
   13858 #include <dlfcn.h>
   13859 #endif
   13860 
   13861 #include <stdio.h>
   13862 
   13863 #ifdef RTLD_GLOBAL
   13864 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13865 #else
   13866 #  ifdef DL_GLOBAL
   13867 #    define LT_DLGLOBAL		DL_GLOBAL
   13868 #  else
   13869 #    define LT_DLGLOBAL		0
   13870 #  endif
   13871 #endif
   13872 
   13873 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13874    find out it does not work in some platform. */
   13875 #ifndef LT_DLLAZY_OR_NOW
   13876 #  ifdef RTLD_LAZY
   13877 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13878 #  else
   13879 #    ifdef DL_LAZY
   13880 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13881 #    else
   13882 #      ifdef RTLD_NOW
   13883 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13884 #      else
   13885 #        ifdef DL_NOW
   13886 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13887 #        else
   13888 #          define LT_DLLAZY_OR_NOW	0
   13889 #        endif
   13890 #      endif
   13891 #    endif
   13892 #  endif
   13893 #endif
   13894 
   13895 /* When -fvisibility=hidden is used, assume the code has been annotated
   13896    correspondingly for the symbols needed.  */
   13897 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13898 int fnord (void) __attribute__((visibility("default")));
   13899 #endif
   13900 
   13901 int fnord (void) { return 42; }
   13902 int main (void)
   13903 {
   13904   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13905   int status = $lt_dlunknown;
   13906 
   13907   if (self)
   13908     {
   13909       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13910       else
   13911         {
   13912 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13913           else puts (dlerror ());
   13914 	}
   13915       /* dlclose (self); */
   13916     }
   13917   else
   13918     puts (dlerror ());
   13919 
   13920   return status;
   13921 }
   13922 _LT_EOF
   13923   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13924   (eval $ac_link) 2>&5
   13925   ac_status=$?
   13926   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13927   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13928     (./conftest; exit; ) >&5 2>/dev/null
   13929     lt_status=$?
   13930     case x$lt_status in
   13931       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13932       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13933       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13934     esac
   13935   else :
   13936     # compilation failed
   13937     lt_cv_dlopen_self=no
   13938   fi
   13939 fi
   13940 rm -fr conftest*
   13941 
   13942      ;;
   13943 esac
   13944 fi
   13945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13946 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13947 
   13948     if test yes = "$lt_cv_dlopen_self"; then
   13949       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13950       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13951 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13952 if test ${lt_cv_dlopen_self_static+y}
   13953 then :
   13954   printf %s "(cached) " >&6
   13955 else case e in #(
   13956   e) 	  if test yes = "$cross_compiling"; then :
   13957   lt_cv_dlopen_self_static=cross
   13958 else
   13959   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13960   lt_status=$lt_dlunknown
   13961   cat > conftest.$ac_ext <<_LT_EOF
   13962 #line $LINENO "configure"
   13963 #include "confdefs.h"
   13964 
   13965 #if HAVE_DLFCN_H
   13966 #include <dlfcn.h>
   13967 #endif
   13968 
   13969 #include <stdio.h>
   13970 
   13971 #ifdef RTLD_GLOBAL
   13972 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13973 #else
   13974 #  ifdef DL_GLOBAL
   13975 #    define LT_DLGLOBAL		DL_GLOBAL
   13976 #  else
   13977 #    define LT_DLGLOBAL		0
   13978 #  endif
   13979 #endif
   13980 
   13981 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13982    find out it does not work in some platform. */
   13983 #ifndef LT_DLLAZY_OR_NOW
   13984 #  ifdef RTLD_LAZY
   13985 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13986 #  else
   13987 #    ifdef DL_LAZY
   13988 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13989 #    else
   13990 #      ifdef RTLD_NOW
   13991 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13992 #      else
   13993 #        ifdef DL_NOW
   13994 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13995 #        else
   13996 #          define LT_DLLAZY_OR_NOW	0
   13997 #        endif
   13998 #      endif
   13999 #    endif
   14000 #  endif
   14001 #endif
   14002 
   14003 /* When -fvisibility=hidden is used, assume the code has been annotated
   14004    correspondingly for the symbols needed.  */
   14005 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14006 int fnord (void) __attribute__((visibility("default")));
   14007 #endif
   14008 
   14009 int fnord (void) { return 42; }
   14010 int main (void)
   14011 {
   14012   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14013   int status = $lt_dlunknown;
   14014 
   14015   if (self)
   14016     {
   14017       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14018       else
   14019         {
   14020 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14021           else puts (dlerror ());
   14022 	}
   14023       /* dlclose (self); */
   14024     }
   14025   else
   14026     puts (dlerror ());
   14027 
   14028   return status;
   14029 }
   14030 _LT_EOF
   14031   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14032   (eval $ac_link) 2>&5
   14033   ac_status=$?
   14034   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14035   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14036     (./conftest; exit; ) >&5 2>/dev/null
   14037     lt_status=$?
   14038     case x$lt_status in
   14039       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   14040       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   14041       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   14042     esac
   14043   else :
   14044     # compilation failed
   14045     lt_cv_dlopen_self_static=no
   14046   fi
   14047 fi
   14048 rm -fr conftest*
   14049 
   14050        ;;
   14051 esac
   14052 fi
   14053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   14054 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   14055     fi
   14056 
   14057     CPPFLAGS=$save_CPPFLAGS
   14058     LDFLAGS=$save_LDFLAGS
   14059     LIBS=$save_LIBS
   14060     ;;
   14061   esac
   14062 
   14063   case $lt_cv_dlopen_self in
   14064   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   14065   *) enable_dlopen_self=unknown ;;
   14066   esac
   14067 
   14068   case $lt_cv_dlopen_self_static in
   14069   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   14070   *) enable_dlopen_self_static=unknown ;;
   14071   esac
   14072 fi
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 
   14090 striplib=
   14091 old_striplib=
   14092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   14093 printf %s "checking whether stripping libraries is possible... " >&6; }
   14094 if test -z "$STRIP"; then
   14095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14096 printf "%s\n" "no" >&6; }
   14097 else
   14098   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   14099     old_striplib="$STRIP --strip-debug"
   14100     striplib="$STRIP --strip-unneeded"
   14101     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14102 printf "%s\n" "yes" >&6; }
   14103   else
   14104     case $host_os in
   14105     darwin*)
   14106       # FIXME - insert some real tests, host_os isn't really good enough
   14107       striplib="$STRIP -x"
   14108       old_striplib="$STRIP -S"
   14109       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14110 printf "%s\n" "yes" >&6; }
   14111       ;;
   14112     freebsd*)
   14113       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   14114         old_striplib="$STRIP --strip-debug"
   14115         striplib="$STRIP --strip-unneeded"
   14116         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14117 printf "%s\n" "yes" >&6; }
   14118       else
   14119         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14120 printf "%s\n" "no" >&6; }
   14121       fi
   14122       ;;
   14123     *)
   14124       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14125 printf "%s\n" "no" >&6; }
   14126       ;;
   14127     esac
   14128   fi
   14129 fi
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 
   14136 
   14137 
   14138 
   14139 
   14140 
   14141 
   14142   # Report what library types will actually be built
   14143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   14144 printf %s "checking if libtool supports shared libraries... " >&6; }
   14145   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   14146 printf "%s\n" "$can_build_shared" >&6; }
   14147 
   14148   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   14149 printf %s "checking whether to build shared libraries... " >&6; }
   14150   test no = "$can_build_shared" && enable_shared=no
   14151 
   14152   # On AIX, shared libraries and static libraries use the same namespace, and
   14153   # are all built from PIC.
   14154   case $host_os in
   14155   aix3*)
   14156     test yes = "$enable_shared" && enable_static=no
   14157     if test -n "$RANLIB"; then
   14158       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14159       postinstall_cmds='$RANLIB $lib'
   14160     fi
   14161     ;;
   14162 
   14163   aix[4-9]*)
   14164     if test ia64 != "$host_cpu"; then
   14165       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   14166       yes,aix,yes) ;;			# shared object as lib.so file only
   14167       yes,svr4,*) ;;			# shared object as lib.so archive member only
   14168       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   14169       esac
   14170     fi
   14171     ;;
   14172   esac
   14173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   14174 printf "%s\n" "$enable_shared" >&6; }
   14175 
   14176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   14177 printf %s "checking whether to build static libraries... " >&6; }
   14178   # Make sure either enable_shared or enable_static is yes.
   14179   test yes = "$enable_shared" || enable_static=yes
   14180   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   14181 printf "%s\n" "$enable_static" >&6; }
   14182 
   14183 
   14184 
   14185 
   14186 fi
   14187 ac_ext=c
   14188 ac_cpp='$CPP $CPPFLAGS'
   14189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14192 
   14193 CC=$lt_save_CC
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 
   14207 
   14208 
   14209         ac_config_commands="$ac_config_commands libtool"
   14210 
   14211 
   14212 
   14213 
   14214 # Only expand once:
   14215 
   14216 
   14217 
   14218 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 
   14230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   14231 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   14232 if test ${ac_cv_c_undeclared_builtin_options+y}
   14233 then :
   14234   printf %s "(cached) " >&6
   14235 else case e in #(
   14236   e) ac_save_CFLAGS=$CFLAGS
   14237    ac_cv_c_undeclared_builtin_options='cannot detect'
   14238    for ac_arg in '' -fno-builtin; do
   14239      CFLAGS="$ac_save_CFLAGS $ac_arg"
   14240      # This test program should *not* compile successfully.
   14241      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14242 /* end confdefs.h.  */
   14243 
   14244 int
   14245 main (void)
   14246 {
   14247 (void) strchr;
   14248   ;
   14249   return 0;
   14250 }
   14251 _ACEOF
   14252 if ac_fn_c_try_compile "$LINENO"
   14253 then :
   14254 
   14255 else case e in #(
   14256   e) # This test program should compile successfully.
   14257         # No library function is consistently available on
   14258         # freestanding implementations, so test against a dummy
   14259         # declaration.  Include always-available headers on the
   14260         # off chance that they somehow elicit warnings.
   14261         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14262 /* end confdefs.h.  */
   14263 #include <float.h>
   14264 #include <limits.h>
   14265 #include <stdarg.h>
   14266 #include <stddef.h>
   14267 extern void ac_decl (int, char *);
   14268 
   14269 int
   14270 main (void)
   14271 {
   14272 (void) ac_decl (0, (char *) 0);
   14273   (void) ac_decl;
   14274 
   14275   ;
   14276   return 0;
   14277 }
   14278 _ACEOF
   14279 if ac_fn_c_try_compile "$LINENO"
   14280 then :
   14281   if test x"$ac_arg" = x
   14282 then :
   14283   ac_cv_c_undeclared_builtin_options='none needed'
   14284 else case e in #(
   14285   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   14286 esac
   14287 fi
   14288           break
   14289 fi
   14290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14291 esac
   14292 fi
   14293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14294     done
   14295     CFLAGS=$ac_save_CFLAGS
   14296    ;;
   14297 esac
   14298 fi
   14299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   14300 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   14301   case $ac_cv_c_undeclared_builtin_options in #(
   14302   'cannot detect') :
   14303     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14304 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   14305 as_fn_error $? "cannot make $CC report undeclared builtins
   14306 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   14307   'none needed') :
   14308     ac_c_undeclared_builtin_options='' ;; #(
   14309   *) :
   14310     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   14311 esac
   14312 
   14313 
   14314 
   14315 
   14316 
   14317 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14318 if test "x$ac_cv_have_decl___clang__" = xyes
   14319 then :
   14320   CLANGCC="yes"
   14321 else case e in #(
   14322   e) CLANGCC="no" ;;
   14323 esac
   14324 fi
   14325 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14326 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   14327 then :
   14328   INTELCC="yes"
   14329 else case e in #(
   14330   e) INTELCC="no" ;;
   14331 esac
   14332 fi
   14333 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14334 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   14335 then :
   14336   SUNCC="yes"
   14337 else case e in #(
   14338   e) SUNCC="no" ;;
   14339 esac
   14340 fi
   14341 
   14342 
   14343 
   14344 
   14345 
   14346 
   14347 
   14348 
   14349 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   14350 	if test -n "$ac_tool_prefix"; then
   14351   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   14352 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   14353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14354 printf %s "checking for $ac_word... " >&6; }
   14355 if test ${ac_cv_path_PKG_CONFIG+y}
   14356 then :
   14357   printf %s "(cached) " >&6
   14358 else case e in #(
   14359   e) case $PKG_CONFIG in
   14360   [\\/]* | ?:[\\/]*)
   14361   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   14362   ;;
   14363   *)
   14364   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14365 for as_dir in $PATH
   14366 do
   14367   IFS=$as_save_IFS
   14368   case $as_dir in #(((
   14369     '') as_dir=./ ;;
   14370     */) ;;
   14371     *) as_dir=$as_dir/ ;;
   14372   esac
   14373     for ac_exec_ext in '' $ac_executable_extensions; do
   14374   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14375     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14376     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14377     break 2
   14378   fi
   14379 done
   14380   done
   14381 IFS=$as_save_IFS
   14382 
   14383   ;;
   14384 esac ;;
   14385 esac
   14386 fi
   14387 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   14388 if test -n "$PKG_CONFIG"; then
   14389   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   14390 printf "%s\n" "$PKG_CONFIG" >&6; }
   14391 else
   14392   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14393 printf "%s\n" "no" >&6; }
   14394 fi
   14395 
   14396 
   14397 fi
   14398 if test -z "$ac_cv_path_PKG_CONFIG"; then
   14399   ac_pt_PKG_CONFIG=$PKG_CONFIG
   14400   # Extract the first word of "pkg-config", so it can be a program name with args.
   14401 set dummy pkg-config; ac_word=$2
   14402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14403 printf %s "checking for $ac_word... " >&6; }
   14404 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   14405 then :
   14406   printf %s "(cached) " >&6
   14407 else case e in #(
   14408   e) case $ac_pt_PKG_CONFIG in
   14409   [\\/]* | ?:[\\/]*)
   14410   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   14411   ;;
   14412   *)
   14413   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14414 for as_dir in $PATH
   14415 do
   14416   IFS=$as_save_IFS
   14417   case $as_dir in #(((
   14418     '') as_dir=./ ;;
   14419     */) ;;
   14420     *) as_dir=$as_dir/ ;;
   14421   esac
   14422     for ac_exec_ext in '' $ac_executable_extensions; do
   14423   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14424     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14425     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14426     break 2
   14427   fi
   14428 done
   14429   done
   14430 IFS=$as_save_IFS
   14431 
   14432   ;;
   14433 esac ;;
   14434 esac
   14435 fi
   14436 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   14437 if test -n "$ac_pt_PKG_CONFIG"; then
   14438   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   14439 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   14440 else
   14441   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14442 printf "%s\n" "no" >&6; }
   14443 fi
   14444 
   14445   if test "x$ac_pt_PKG_CONFIG" = x; then
   14446     PKG_CONFIG=""
   14447   else
   14448     case $cross_compiling:$ac_tool_warned in
   14449 yes:)
   14450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14451 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14452 ac_tool_warned=yes ;;
   14453 esac
   14454     PKG_CONFIG=$ac_pt_PKG_CONFIG
   14455   fi
   14456 else
   14457   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   14458 fi
   14459 
   14460 fi
   14461 if test -n "$PKG_CONFIG"; then
   14462 	_pkg_min_version=0.9.0
   14463 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   14464 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   14465 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   14466 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14467 printf "%s\n" "yes" >&6; }
   14468 	else
   14469 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14470 printf "%s\n" "no" >&6; }
   14471 		PKG_CONFIG=""
   14472 	fi
   14473 fi
   14474 
   14475 
   14476 
   14477 
   14478 
   14479 # Check whether --enable-selective-werror was given.
   14480 if test ${enable_selective_werror+y}
   14481 then :
   14482   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14483 else case e in #(
   14484   e) SELECTIVE_WERROR=yes ;;
   14485 esac
   14486 fi
   14487 
   14488 
   14489 
   14490 
   14491 
   14492 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14493 if test "x$SUNCC" = "xyes"; then
   14494     BASE_CFLAGS="-v"
   14495 else
   14496     BASE_CFLAGS=""
   14497 fi
   14498 
   14499 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14500 
   14501 
   14502 
   14503 
   14504 
   14505 
   14506 
   14507 
   14508 
   14509 
   14510 
   14511 
   14512 
   14513 xorg_testset_save_CFLAGS="$CFLAGS"
   14514 
   14515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14517 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14518 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14519 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14520 then :
   14521   printf %s "(cached) " >&6
   14522 else case e in #(
   14523   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14524 /* end confdefs.h.  */
   14525 int i;
   14526 _ACEOF
   14527 if ac_fn_c_try_compile "$LINENO"
   14528 then :
   14529   xorg_cv_cc_flag_unknown_warning_option=yes
   14530 else case e in #(
   14531   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14532 esac
   14533 fi
   14534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14535 esac
   14536 fi
   14537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14538 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14540 	CFLAGS="$xorg_testset_save_CFLAGS"
   14541 fi
   14542 
   14543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14546 	fi
   14547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14549 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14550 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14551 then :
   14552   printf %s "(cached) " >&6
   14553 else case e in #(
   14554   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14555 /* end confdefs.h.  */
   14556 int i;
   14557 _ACEOF
   14558 if ac_fn_c_try_compile "$LINENO"
   14559 then :
   14560   xorg_cv_cc_flag_unused_command_line_argument=yes
   14561 else case e in #(
   14562   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14563 esac
   14564 fi
   14565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14566 esac
   14567 fi
   14568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14569 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14571 	CFLAGS="$xorg_testset_save_CFLAGS"
   14572 fi
   14573 
   14574 found="no"
   14575 
   14576 	if test $found = "no" ; then
   14577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14579 		fi
   14580 
   14581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14583 		fi
   14584 
   14585 		CFLAGS="$CFLAGS -Wall"
   14586 
   14587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14588 printf %s "checking if $CC supports -Wall... " >&6; }
   14589 		cacheid=xorg_cv_cc_flag__Wall
   14590 		if eval test \${$cacheid+y}
   14591 then :
   14592   printf %s "(cached) " >&6
   14593 else case e in #(
   14594   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14595 /* end confdefs.h.  */
   14596 int i;
   14597 int
   14598 main (void)
   14599 {
   14600 
   14601   ;
   14602   return 0;
   14603 }
   14604 _ACEOF
   14605 if ac_fn_c_try_link "$LINENO"
   14606 then :
   14607   eval $cacheid=yes
   14608 else case e in #(
   14609   e) eval $cacheid=no ;;
   14610 esac
   14611 fi
   14612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14613     conftest$ac_exeext conftest.$ac_ext ;;
   14614 esac
   14615 fi
   14616 
   14617 
   14618 		CFLAGS="$xorg_testset_save_CFLAGS"
   14619 
   14620 		eval supported=\$$cacheid
   14621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14622 printf "%s\n" "$supported" >&6; }
   14623 		if test "$supported" = "yes" ; then
   14624 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14625 			found="yes"
   14626 		fi
   14627 	fi
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 
   14639 
   14640 
   14641 
   14642 
   14643 xorg_testset_save_CFLAGS="$CFLAGS"
   14644 
   14645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14648 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14649 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14650 then :
   14651   printf %s "(cached) " >&6
   14652 else case e in #(
   14653   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14654 /* end confdefs.h.  */
   14655 int i;
   14656 _ACEOF
   14657 if ac_fn_c_try_compile "$LINENO"
   14658 then :
   14659   xorg_cv_cc_flag_unknown_warning_option=yes
   14660 else case e in #(
   14661   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14662 esac
   14663 fi
   14664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14665 esac
   14666 fi
   14667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14668 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14670 	CFLAGS="$xorg_testset_save_CFLAGS"
   14671 fi
   14672 
   14673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14676 	fi
   14677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14678 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14679 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14680 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14681 then :
   14682   printf %s "(cached) " >&6
   14683 else case e in #(
   14684   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14685 /* end confdefs.h.  */
   14686 int i;
   14687 _ACEOF
   14688 if ac_fn_c_try_compile "$LINENO"
   14689 then :
   14690   xorg_cv_cc_flag_unused_command_line_argument=yes
   14691 else case e in #(
   14692   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14693 esac
   14694 fi
   14695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14696 esac
   14697 fi
   14698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14699 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14700 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14701 	CFLAGS="$xorg_testset_save_CFLAGS"
   14702 fi
   14703 
   14704 found="no"
   14705 
   14706 	if test $found = "no" ; then
   14707 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14708 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14709 		fi
   14710 
   14711 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14712 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14713 		fi
   14714 
   14715 		CFLAGS="$CFLAGS -Wpointer-arith"
   14716 
   14717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14718 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14719 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14720 		if eval test \${$cacheid+y}
   14721 then :
   14722   printf %s "(cached) " >&6
   14723 else case e in #(
   14724   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14725 /* end confdefs.h.  */
   14726 int i;
   14727 int
   14728 main (void)
   14729 {
   14730 
   14731   ;
   14732   return 0;
   14733 }
   14734 _ACEOF
   14735 if ac_fn_c_try_link "$LINENO"
   14736 then :
   14737   eval $cacheid=yes
   14738 else case e in #(
   14739   e) eval $cacheid=no ;;
   14740 esac
   14741 fi
   14742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14743     conftest$ac_exeext conftest.$ac_ext ;;
   14744 esac
   14745 fi
   14746 
   14747 
   14748 		CFLAGS="$xorg_testset_save_CFLAGS"
   14749 
   14750 		eval supported=\$$cacheid
   14751 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14752 printf "%s\n" "$supported" >&6; }
   14753 		if test "$supported" = "yes" ; then
   14754 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14755 			found="yes"
   14756 		fi
   14757 	fi
   14758 
   14759 
   14760 
   14761 
   14762 
   14763 
   14764 
   14765 
   14766 
   14767 
   14768 
   14769 
   14770 
   14771 
   14772 
   14773 xorg_testset_save_CFLAGS="$CFLAGS"
   14774 
   14775 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14776 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14778 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14779 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14780 then :
   14781   printf %s "(cached) " >&6
   14782 else case e in #(
   14783   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14784 /* end confdefs.h.  */
   14785 int i;
   14786 _ACEOF
   14787 if ac_fn_c_try_compile "$LINENO"
   14788 then :
   14789   xorg_cv_cc_flag_unknown_warning_option=yes
   14790 else case e in #(
   14791   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14792 esac
   14793 fi
   14794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14795 esac
   14796 fi
   14797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14798 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14799 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14800 	CFLAGS="$xorg_testset_save_CFLAGS"
   14801 fi
   14802 
   14803 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14804 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14806 	fi
   14807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14808 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14809 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14810 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14811 then :
   14812   printf %s "(cached) " >&6
   14813 else case e in #(
   14814   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14815 /* end confdefs.h.  */
   14816 int i;
   14817 _ACEOF
   14818 if ac_fn_c_try_compile "$LINENO"
   14819 then :
   14820   xorg_cv_cc_flag_unused_command_line_argument=yes
   14821 else case e in #(
   14822   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14823 esac
   14824 fi
   14825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14826 esac
   14827 fi
   14828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14829 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14830 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14831 	CFLAGS="$xorg_testset_save_CFLAGS"
   14832 fi
   14833 
   14834 found="no"
   14835 
   14836 	if test $found = "no" ; then
   14837 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14838 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14839 		fi
   14840 
   14841 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14842 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14843 		fi
   14844 
   14845 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14846 
   14847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14848 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14849 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14850 		if eval test \${$cacheid+y}
   14851 then :
   14852   printf %s "(cached) " >&6
   14853 else case e in #(
   14854   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14855 /* end confdefs.h.  */
   14856 int i;
   14857 int
   14858 main (void)
   14859 {
   14860 
   14861   ;
   14862   return 0;
   14863 }
   14864 _ACEOF
   14865 if ac_fn_c_try_link "$LINENO"
   14866 then :
   14867   eval $cacheid=yes
   14868 else case e in #(
   14869   e) eval $cacheid=no ;;
   14870 esac
   14871 fi
   14872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14873     conftest$ac_exeext conftest.$ac_ext ;;
   14874 esac
   14875 fi
   14876 
   14877 
   14878 		CFLAGS="$xorg_testset_save_CFLAGS"
   14879 
   14880 		eval supported=\$$cacheid
   14881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14882 printf "%s\n" "$supported" >&6; }
   14883 		if test "$supported" = "yes" ; then
   14884 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14885 			found="yes"
   14886 		fi
   14887 	fi
   14888 
   14889 
   14890 
   14891 
   14892 
   14893 
   14894 
   14895 
   14896 
   14897 
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 xorg_testset_save_CFLAGS="$CFLAGS"
   14904 
   14905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14907 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14908 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14909 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14910 then :
   14911   printf %s "(cached) " >&6
   14912 else case e in #(
   14913   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14914 /* end confdefs.h.  */
   14915 int i;
   14916 _ACEOF
   14917 if ac_fn_c_try_compile "$LINENO"
   14918 then :
   14919   xorg_cv_cc_flag_unknown_warning_option=yes
   14920 else case e in #(
   14921   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14922 esac
   14923 fi
   14924 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14925 esac
   14926 fi
   14927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14928 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14929 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14930 	CFLAGS="$xorg_testset_save_CFLAGS"
   14931 fi
   14932 
   14933 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14934 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14935 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14936 	fi
   14937 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14938 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14939 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14940 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14941 then :
   14942   printf %s "(cached) " >&6
   14943 else case e in #(
   14944   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14945 /* end confdefs.h.  */
   14946 int i;
   14947 _ACEOF
   14948 if ac_fn_c_try_compile "$LINENO"
   14949 then :
   14950   xorg_cv_cc_flag_unused_command_line_argument=yes
   14951 else case e in #(
   14952   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14953 esac
   14954 fi
   14955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14956 esac
   14957 fi
   14958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14959 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14960 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14961 	CFLAGS="$xorg_testset_save_CFLAGS"
   14962 fi
   14963 
   14964 found="no"
   14965 
   14966 	if test $found = "no" ; then
   14967 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14968 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14969 		fi
   14970 
   14971 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14972 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14973 		fi
   14974 
   14975 		CFLAGS="$CFLAGS -Wformat=2"
   14976 
   14977 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14978 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14979 		cacheid=xorg_cv_cc_flag__Wformat_2
   14980 		if eval test \${$cacheid+y}
   14981 then :
   14982   printf %s "(cached) " >&6
   14983 else case e in #(
   14984   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14985 /* end confdefs.h.  */
   14986 int i;
   14987 int
   14988 main (void)
   14989 {
   14990 
   14991   ;
   14992   return 0;
   14993 }
   14994 _ACEOF
   14995 if ac_fn_c_try_link "$LINENO"
   14996 then :
   14997   eval $cacheid=yes
   14998 else case e in #(
   14999   e) eval $cacheid=no ;;
   15000 esac
   15001 fi
   15002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15003     conftest$ac_exeext conftest.$ac_ext ;;
   15004 esac
   15005 fi
   15006 
   15007 
   15008 		CFLAGS="$xorg_testset_save_CFLAGS"
   15009 
   15010 		eval supported=\$$cacheid
   15011 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15012 printf "%s\n" "$supported" >&6; }
   15013 		if test "$supported" = "yes" ; then
   15014 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   15015 			found="yes"
   15016 		fi
   15017 	fi
   15018 
   15019 	if test $found = "no" ; then
   15020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15022 		fi
   15023 
   15024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15026 		fi
   15027 
   15028 		CFLAGS="$CFLAGS -Wformat"
   15029 
   15030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   15031 printf %s "checking if $CC supports -Wformat... " >&6; }
   15032 		cacheid=xorg_cv_cc_flag__Wformat
   15033 		if eval test \${$cacheid+y}
   15034 then :
   15035   printf %s "(cached) " >&6
   15036 else case e in #(
   15037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15038 /* end confdefs.h.  */
   15039 int i;
   15040 int
   15041 main (void)
   15042 {
   15043 
   15044   ;
   15045   return 0;
   15046 }
   15047 _ACEOF
   15048 if ac_fn_c_try_link "$LINENO"
   15049 then :
   15050   eval $cacheid=yes
   15051 else case e in #(
   15052   e) eval $cacheid=no ;;
   15053 esac
   15054 fi
   15055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15056     conftest$ac_exeext conftest.$ac_ext ;;
   15057 esac
   15058 fi
   15059 
   15060 
   15061 		CFLAGS="$xorg_testset_save_CFLAGS"
   15062 
   15063 		eval supported=\$$cacheid
   15064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15065 printf "%s\n" "$supported" >&6; }
   15066 		if test "$supported" = "yes" ; then
   15067 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   15068 			found="yes"
   15069 		fi
   15070 	fi
   15071 
   15072 
   15073 
   15074 
   15075 
   15076 
   15077 
   15078 
   15079 
   15080 
   15081 
   15082 
   15083 
   15084 
   15085 
   15086 
   15087 
   15088 xorg_testset_save_CFLAGS="$CFLAGS"
   15089 
   15090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15092 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15093 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15094 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15095 then :
   15096   printf %s "(cached) " >&6
   15097 else case e in #(
   15098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15099 /* end confdefs.h.  */
   15100 int i;
   15101 _ACEOF
   15102 if ac_fn_c_try_compile "$LINENO"
   15103 then :
   15104   xorg_cv_cc_flag_unknown_warning_option=yes
   15105 else case e in #(
   15106   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15107 esac
   15108 fi
   15109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15110 esac
   15111 fi
   15112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15113 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15115 	CFLAGS="$xorg_testset_save_CFLAGS"
   15116 fi
   15117 
   15118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15121 	fi
   15122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15123 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15124 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15125 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15126 then :
   15127   printf %s "(cached) " >&6
   15128 else case e in #(
   15129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15130 /* end confdefs.h.  */
   15131 int i;
   15132 _ACEOF
   15133 if ac_fn_c_try_compile "$LINENO"
   15134 then :
   15135   xorg_cv_cc_flag_unused_command_line_argument=yes
   15136 else case e in #(
   15137   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15138 esac
   15139 fi
   15140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15141 esac
   15142 fi
   15143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15144 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15146 	CFLAGS="$xorg_testset_save_CFLAGS"
   15147 fi
   15148 
   15149 found="no"
   15150 
   15151 	if test $found = "no" ; then
   15152 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15154 		fi
   15155 
   15156 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15158 		fi
   15159 
   15160 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   15161 
   15162 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   15163 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   15164 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   15165 		if eval test \${$cacheid+y}
   15166 then :
   15167   printf %s "(cached) " >&6
   15168 else case e in #(
   15169   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15170 /* end confdefs.h.  */
   15171 int i;
   15172 int
   15173 main (void)
   15174 {
   15175 
   15176   ;
   15177   return 0;
   15178 }
   15179 _ACEOF
   15180 if ac_fn_c_try_link "$LINENO"
   15181 then :
   15182   eval $cacheid=yes
   15183 else case e in #(
   15184   e) eval $cacheid=no ;;
   15185 esac
   15186 fi
   15187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15188     conftest$ac_exeext conftest.$ac_ext ;;
   15189 esac
   15190 fi
   15191 
   15192 
   15193 		CFLAGS="$xorg_testset_save_CFLAGS"
   15194 
   15195 		eval supported=\$$cacheid
   15196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15197 printf "%s\n" "$supported" >&6; }
   15198 		if test "$supported" = "yes" ; then
   15199 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   15200 			found="yes"
   15201 		fi
   15202 	fi
   15203 
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 xorg_testset_save_CFLAGS="$CFLAGS"
   15219 
   15220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15223 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15224 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15225 then :
   15226   printf %s "(cached) " >&6
   15227 else case e in #(
   15228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15229 /* end confdefs.h.  */
   15230 int i;
   15231 _ACEOF
   15232 if ac_fn_c_try_compile "$LINENO"
   15233 then :
   15234   xorg_cv_cc_flag_unknown_warning_option=yes
   15235 else case e in #(
   15236   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15237 esac
   15238 fi
   15239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15240 esac
   15241 fi
   15242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15243 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15244 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15245 	CFLAGS="$xorg_testset_save_CFLAGS"
   15246 fi
   15247 
   15248 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15249 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15250 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15251 	fi
   15252 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15253 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15254 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15255 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15256 then :
   15257   printf %s "(cached) " >&6
   15258 else case e in #(
   15259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15260 /* end confdefs.h.  */
   15261 int i;
   15262 _ACEOF
   15263 if ac_fn_c_try_compile "$LINENO"
   15264 then :
   15265   xorg_cv_cc_flag_unused_command_line_argument=yes
   15266 else case e in #(
   15267   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15268 esac
   15269 fi
   15270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15271 esac
   15272 fi
   15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15274 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15276 	CFLAGS="$xorg_testset_save_CFLAGS"
   15277 fi
   15278 
   15279 found="no"
   15280 
   15281 	if test $found = "no" ; then
   15282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15284 		fi
   15285 
   15286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15288 		fi
   15289 
   15290 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   15291 
   15292 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   15293 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   15294 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   15295 		if eval test \${$cacheid+y}
   15296 then :
   15297   printf %s "(cached) " >&6
   15298 else case e in #(
   15299   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15300 /* end confdefs.h.  */
   15301 int i;
   15302 int
   15303 main (void)
   15304 {
   15305 
   15306   ;
   15307   return 0;
   15308 }
   15309 _ACEOF
   15310 if ac_fn_c_try_link "$LINENO"
   15311 then :
   15312   eval $cacheid=yes
   15313 else case e in #(
   15314   e) eval $cacheid=no ;;
   15315 esac
   15316 fi
   15317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15318     conftest$ac_exeext conftest.$ac_ext ;;
   15319 esac
   15320 fi
   15321 
   15322 
   15323 		CFLAGS="$xorg_testset_save_CFLAGS"
   15324 
   15325 		eval supported=\$$cacheid
   15326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15327 printf "%s\n" "$supported" >&6; }
   15328 		if test "$supported" = "yes" ; then
   15329 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   15330 			found="yes"
   15331 		fi
   15332 	fi
   15333 
   15334 
   15335 
   15336 
   15337 
   15338 
   15339 
   15340 
   15341 
   15342 
   15343 
   15344 
   15345 
   15346 
   15347 
   15348 xorg_testset_save_CFLAGS="$CFLAGS"
   15349 
   15350 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15352 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15353 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15354 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15355 then :
   15356   printf %s "(cached) " >&6
   15357 else case e in #(
   15358   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15359 /* end confdefs.h.  */
   15360 int i;
   15361 _ACEOF
   15362 if ac_fn_c_try_compile "$LINENO"
   15363 then :
   15364   xorg_cv_cc_flag_unknown_warning_option=yes
   15365 else case e in #(
   15366   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15367 esac
   15368 fi
   15369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15370 esac
   15371 fi
   15372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15373 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15375 	CFLAGS="$xorg_testset_save_CFLAGS"
   15376 fi
   15377 
   15378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15381 	fi
   15382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15383 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15384 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15385 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15386 then :
   15387   printf %s "(cached) " >&6
   15388 else case e in #(
   15389   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15390 /* end confdefs.h.  */
   15391 int i;
   15392 _ACEOF
   15393 if ac_fn_c_try_compile "$LINENO"
   15394 then :
   15395   xorg_cv_cc_flag_unused_command_line_argument=yes
   15396 else case e in #(
   15397   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15398 esac
   15399 fi
   15400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15401 esac
   15402 fi
   15403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15404 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15406 	CFLAGS="$xorg_testset_save_CFLAGS"
   15407 fi
   15408 
   15409 found="no"
   15410 
   15411 	if test $found = "no" ; then
   15412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15414 		fi
   15415 
   15416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15418 		fi
   15419 
   15420 		CFLAGS="$CFLAGS -Wnested-externs"
   15421 
   15422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   15423 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   15424 		cacheid=xorg_cv_cc_flag__Wnested_externs
   15425 		if eval test \${$cacheid+y}
   15426 then :
   15427   printf %s "(cached) " >&6
   15428 else case e in #(
   15429   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15430 /* end confdefs.h.  */
   15431 int i;
   15432 int
   15433 main (void)
   15434 {
   15435 
   15436   ;
   15437   return 0;
   15438 }
   15439 _ACEOF
   15440 if ac_fn_c_try_link "$LINENO"
   15441 then :
   15442   eval $cacheid=yes
   15443 else case e in #(
   15444   e) eval $cacheid=no ;;
   15445 esac
   15446 fi
   15447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15448     conftest$ac_exeext conftest.$ac_ext ;;
   15449 esac
   15450 fi
   15451 
   15452 
   15453 		CFLAGS="$xorg_testset_save_CFLAGS"
   15454 
   15455 		eval supported=\$$cacheid
   15456 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15457 printf "%s\n" "$supported" >&6; }
   15458 		if test "$supported" = "yes" ; then
   15459 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   15460 			found="yes"
   15461 		fi
   15462 	fi
   15463 
   15464 
   15465 
   15466 
   15467 
   15468 
   15469 
   15470 
   15471 
   15472 
   15473 
   15474 
   15475 
   15476 
   15477 
   15478 xorg_testset_save_CFLAGS="$CFLAGS"
   15479 
   15480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15482 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15483 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15484 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15485 then :
   15486   printf %s "(cached) " >&6
   15487 else case e in #(
   15488   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15489 /* end confdefs.h.  */
   15490 int i;
   15491 _ACEOF
   15492 if ac_fn_c_try_compile "$LINENO"
   15493 then :
   15494   xorg_cv_cc_flag_unknown_warning_option=yes
   15495 else case e in #(
   15496   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15497 esac
   15498 fi
   15499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15500 esac
   15501 fi
   15502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15503 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15505 	CFLAGS="$xorg_testset_save_CFLAGS"
   15506 fi
   15507 
   15508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15511 	fi
   15512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15513 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15514 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15515 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15516 then :
   15517   printf %s "(cached) " >&6
   15518 else case e in #(
   15519   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15520 /* end confdefs.h.  */
   15521 int i;
   15522 _ACEOF
   15523 if ac_fn_c_try_compile "$LINENO"
   15524 then :
   15525   xorg_cv_cc_flag_unused_command_line_argument=yes
   15526 else case e in #(
   15527   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15528 esac
   15529 fi
   15530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15531 esac
   15532 fi
   15533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15534 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15535 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15536 	CFLAGS="$xorg_testset_save_CFLAGS"
   15537 fi
   15538 
   15539 found="no"
   15540 
   15541 	if test $found = "no" ; then
   15542 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15543 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15544 		fi
   15545 
   15546 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15547 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15548 		fi
   15549 
   15550 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15551 
   15552 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15553 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15554 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15555 		if eval test \${$cacheid+y}
   15556 then :
   15557   printf %s "(cached) " >&6
   15558 else case e in #(
   15559   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15560 /* end confdefs.h.  */
   15561 int i;
   15562 int
   15563 main (void)
   15564 {
   15565 
   15566   ;
   15567   return 0;
   15568 }
   15569 _ACEOF
   15570 if ac_fn_c_try_link "$LINENO"
   15571 then :
   15572   eval $cacheid=yes
   15573 else case e in #(
   15574   e) eval $cacheid=no ;;
   15575 esac
   15576 fi
   15577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15578     conftest$ac_exeext conftest.$ac_ext ;;
   15579 esac
   15580 fi
   15581 
   15582 
   15583 		CFLAGS="$xorg_testset_save_CFLAGS"
   15584 
   15585 		eval supported=\$$cacheid
   15586 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15587 printf "%s\n" "$supported" >&6; }
   15588 		if test "$supported" = "yes" ; then
   15589 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15590 			found="yes"
   15591 		fi
   15592 	fi
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 
   15603 
   15604 
   15605 
   15606 
   15607 
   15608 xorg_testset_save_CFLAGS="$CFLAGS"
   15609 
   15610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15613 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15614 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15615 then :
   15616   printf %s "(cached) " >&6
   15617 else case e in #(
   15618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15619 /* end confdefs.h.  */
   15620 int i;
   15621 _ACEOF
   15622 if ac_fn_c_try_compile "$LINENO"
   15623 then :
   15624   xorg_cv_cc_flag_unknown_warning_option=yes
   15625 else case e in #(
   15626   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15627 esac
   15628 fi
   15629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15630 esac
   15631 fi
   15632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15633 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15635 	CFLAGS="$xorg_testset_save_CFLAGS"
   15636 fi
   15637 
   15638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15641 	fi
   15642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15643 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15644 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15645 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15646 then :
   15647   printf %s "(cached) " >&6
   15648 else case e in #(
   15649   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15650 /* end confdefs.h.  */
   15651 int i;
   15652 _ACEOF
   15653 if ac_fn_c_try_compile "$LINENO"
   15654 then :
   15655   xorg_cv_cc_flag_unused_command_line_argument=yes
   15656 else case e in #(
   15657   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15658 esac
   15659 fi
   15660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15661 esac
   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 -Wold-style-definition"
   15681 
   15682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15683 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15684 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15685 		if eval test \${$cacheid+y}
   15686 then :
   15687   printf %s "(cached) " >&6
   15688 else case e in #(
   15689   e) 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 case e in #(
   15704   e) eval $cacheid=no ;;
   15705 esac
   15706 fi
   15707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15708     conftest$ac_exeext conftest.$ac_ext ;;
   15709 esac
   15710 fi
   15711 
   15712 
   15713 		CFLAGS="$xorg_testset_save_CFLAGS"
   15714 
   15715 		eval supported=\$$cacheid
   15716 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15717 printf "%s\n" "$supported" >&6; }
   15718 		if test "$supported" = "yes" ; then
   15719 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15720 			found="yes"
   15721 		fi
   15722 	fi
   15723 
   15724 	if test $found = "no" ; then
   15725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15727 		fi
   15728 
   15729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15731 		fi
   15732 
   15733 		CFLAGS="$CFLAGS -fd"
   15734 
   15735 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15736 printf %s "checking if $CC supports -fd... " >&6; }
   15737 		cacheid=xorg_cv_cc_flag__fd
   15738 		if eval test \${$cacheid+y}
   15739 then :
   15740   printf %s "(cached) " >&6
   15741 else case e in #(
   15742   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15743 /* end confdefs.h.  */
   15744 int i;
   15745 int
   15746 main (void)
   15747 {
   15748 
   15749   ;
   15750   return 0;
   15751 }
   15752 _ACEOF
   15753 if ac_fn_c_try_link "$LINENO"
   15754 then :
   15755   eval $cacheid=yes
   15756 else case e in #(
   15757   e) eval $cacheid=no ;;
   15758 esac
   15759 fi
   15760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15761     conftest$ac_exeext conftest.$ac_ext ;;
   15762 esac
   15763 fi
   15764 
   15765 
   15766 		CFLAGS="$xorg_testset_save_CFLAGS"
   15767 
   15768 		eval supported=\$$cacheid
   15769 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15770 printf "%s\n" "$supported" >&6; }
   15771 		if test "$supported" = "yes" ; then
   15772 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15773 			found="yes"
   15774 		fi
   15775 	fi
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 # This chunk adds additional warnings that could catch undesired effects.
   15782 
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 
   15792 
   15793 
   15794 
   15795 xorg_testset_save_CFLAGS="$CFLAGS"
   15796 
   15797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15800 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15801 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15802 then :
   15803   printf %s "(cached) " >&6
   15804 else case e in #(
   15805   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15806 /* end confdefs.h.  */
   15807 int i;
   15808 _ACEOF
   15809 if ac_fn_c_try_compile "$LINENO"
   15810 then :
   15811   xorg_cv_cc_flag_unknown_warning_option=yes
   15812 else case e in #(
   15813   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15814 esac
   15815 fi
   15816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15817 esac
   15818 fi
   15819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15820 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15821 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15822 	CFLAGS="$xorg_testset_save_CFLAGS"
   15823 fi
   15824 
   15825 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15826 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15828 	fi
   15829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15831 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15832 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15833 then :
   15834   printf %s "(cached) " >&6
   15835 else case e in #(
   15836   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15837 /* end confdefs.h.  */
   15838 int i;
   15839 _ACEOF
   15840 if ac_fn_c_try_compile "$LINENO"
   15841 then :
   15842   xorg_cv_cc_flag_unused_command_line_argument=yes
   15843 else case e in #(
   15844   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15845 esac
   15846 fi
   15847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15848 esac
   15849 fi
   15850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15851 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15852 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15853 	CFLAGS="$xorg_testset_save_CFLAGS"
   15854 fi
   15855 
   15856 found="no"
   15857 
   15858 	if test $found = "no" ; then
   15859 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15860 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15861 		fi
   15862 
   15863 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15864 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15865 		fi
   15866 
   15867 		CFLAGS="$CFLAGS -Wunused"
   15868 
   15869 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15870 printf %s "checking if $CC supports -Wunused... " >&6; }
   15871 		cacheid=xorg_cv_cc_flag__Wunused
   15872 		if eval test \${$cacheid+y}
   15873 then :
   15874   printf %s "(cached) " >&6
   15875 else case e in #(
   15876   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15877 /* end confdefs.h.  */
   15878 int i;
   15879 int
   15880 main (void)
   15881 {
   15882 
   15883   ;
   15884   return 0;
   15885 }
   15886 _ACEOF
   15887 if ac_fn_c_try_link "$LINENO"
   15888 then :
   15889   eval $cacheid=yes
   15890 else case e in #(
   15891   e) eval $cacheid=no ;;
   15892 esac
   15893 fi
   15894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15895     conftest$ac_exeext conftest.$ac_ext ;;
   15896 esac
   15897 fi
   15898 
   15899 
   15900 		CFLAGS="$xorg_testset_save_CFLAGS"
   15901 
   15902 		eval supported=\$$cacheid
   15903 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15904 printf "%s\n" "$supported" >&6; }
   15905 		if test "$supported" = "yes" ; then
   15906 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15907 			found="yes"
   15908 		fi
   15909 	fi
   15910 
   15911 
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 
   15923 
   15924 
   15925 xorg_testset_save_CFLAGS="$CFLAGS"
   15926 
   15927 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15928 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15930 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15931 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15932 then :
   15933   printf %s "(cached) " >&6
   15934 else case e in #(
   15935   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15936 /* end confdefs.h.  */
   15937 int i;
   15938 _ACEOF
   15939 if ac_fn_c_try_compile "$LINENO"
   15940 then :
   15941   xorg_cv_cc_flag_unknown_warning_option=yes
   15942 else case e in #(
   15943   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15944 esac
   15945 fi
   15946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15947 esac
   15948 fi
   15949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15950 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15952 	CFLAGS="$xorg_testset_save_CFLAGS"
   15953 fi
   15954 
   15955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15958 	fi
   15959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15961 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15962 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15963 then :
   15964   printf %s "(cached) " >&6
   15965 else case e in #(
   15966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15967 /* end confdefs.h.  */
   15968 int i;
   15969 _ACEOF
   15970 if ac_fn_c_try_compile "$LINENO"
   15971 then :
   15972   xorg_cv_cc_flag_unused_command_line_argument=yes
   15973 else case e in #(
   15974   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15975 esac
   15976 fi
   15977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15978 esac
   15979 fi
   15980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15981 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15982 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15983 	CFLAGS="$xorg_testset_save_CFLAGS"
   15984 fi
   15985 
   15986 found="no"
   15987 
   15988 	if test $found = "no" ; then
   15989 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15990 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15991 		fi
   15992 
   15993 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15994 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15995 		fi
   15996 
   15997 		CFLAGS="$CFLAGS -Wuninitialized"
   15998 
   15999 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   16000 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   16001 		cacheid=xorg_cv_cc_flag__Wuninitialized
   16002 		if eval test \${$cacheid+y}
   16003 then :
   16004   printf %s "(cached) " >&6
   16005 else case e in #(
   16006   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16007 /* end confdefs.h.  */
   16008 int i;
   16009 int
   16010 main (void)
   16011 {
   16012 
   16013   ;
   16014   return 0;
   16015 }
   16016 _ACEOF
   16017 if ac_fn_c_try_link "$LINENO"
   16018 then :
   16019   eval $cacheid=yes
   16020 else case e in #(
   16021   e) eval $cacheid=no ;;
   16022 esac
   16023 fi
   16024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16025     conftest$ac_exeext conftest.$ac_ext ;;
   16026 esac
   16027 fi
   16028 
   16029 
   16030 		CFLAGS="$xorg_testset_save_CFLAGS"
   16031 
   16032 		eval supported=\$$cacheid
   16033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16034 printf "%s\n" "$supported" >&6; }
   16035 		if test "$supported" = "yes" ; then
   16036 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   16037 			found="yes"
   16038 		fi
   16039 	fi
   16040 
   16041 
   16042 
   16043 
   16044 
   16045 
   16046 
   16047 
   16048 
   16049 
   16050 
   16051 
   16052 
   16053 
   16054 
   16055 xorg_testset_save_CFLAGS="$CFLAGS"
   16056 
   16057 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16058 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16059 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16060 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16061 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16062 then :
   16063   printf %s "(cached) " >&6
   16064 else case e in #(
   16065   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16066 /* end confdefs.h.  */
   16067 int i;
   16068 _ACEOF
   16069 if ac_fn_c_try_compile "$LINENO"
   16070 then :
   16071   xorg_cv_cc_flag_unknown_warning_option=yes
   16072 else case e in #(
   16073   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16074 esac
   16075 fi
   16076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16077 esac
   16078 fi
   16079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16080 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16081 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16082 	CFLAGS="$xorg_testset_save_CFLAGS"
   16083 fi
   16084 
   16085 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16086 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16087 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16088 	fi
   16089 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16090 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16091 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16092 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16093 then :
   16094   printf %s "(cached) " >&6
   16095 else case e in #(
   16096   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16097 /* end confdefs.h.  */
   16098 int i;
   16099 _ACEOF
   16100 if ac_fn_c_try_compile "$LINENO"
   16101 then :
   16102   xorg_cv_cc_flag_unused_command_line_argument=yes
   16103 else case e in #(
   16104   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16105 esac
   16106 fi
   16107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16108 esac
   16109 fi
   16110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16111 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16113 	CFLAGS="$xorg_testset_save_CFLAGS"
   16114 fi
   16115 
   16116 found="no"
   16117 
   16118 	if test $found = "no" ; then
   16119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16121 		fi
   16122 
   16123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16125 		fi
   16126 
   16127 		CFLAGS="$CFLAGS -Wshadow"
   16128 
   16129 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   16130 printf %s "checking if $CC supports -Wshadow... " >&6; }
   16131 		cacheid=xorg_cv_cc_flag__Wshadow
   16132 		if eval test \${$cacheid+y}
   16133 then :
   16134   printf %s "(cached) " >&6
   16135 else case e in #(
   16136   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16137 /* end confdefs.h.  */
   16138 int i;
   16139 int
   16140 main (void)
   16141 {
   16142 
   16143   ;
   16144   return 0;
   16145 }
   16146 _ACEOF
   16147 if ac_fn_c_try_link "$LINENO"
   16148 then :
   16149   eval $cacheid=yes
   16150 else case e in #(
   16151   e) eval $cacheid=no ;;
   16152 esac
   16153 fi
   16154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16155     conftest$ac_exeext conftest.$ac_ext ;;
   16156 esac
   16157 fi
   16158 
   16159 
   16160 		CFLAGS="$xorg_testset_save_CFLAGS"
   16161 
   16162 		eval supported=\$$cacheid
   16163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16164 printf "%s\n" "$supported" >&6; }
   16165 		if test "$supported" = "yes" ; then
   16166 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   16167 			found="yes"
   16168 		fi
   16169 	fi
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 xorg_testset_save_CFLAGS="$CFLAGS"
   16186 
   16187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16189 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16190 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16191 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16192 then :
   16193   printf %s "(cached) " >&6
   16194 else case e in #(
   16195   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16196 /* end confdefs.h.  */
   16197 int i;
   16198 _ACEOF
   16199 if ac_fn_c_try_compile "$LINENO"
   16200 then :
   16201   xorg_cv_cc_flag_unknown_warning_option=yes
   16202 else case e in #(
   16203   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16204 esac
   16205 fi
   16206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16207 esac
   16208 fi
   16209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16210 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16212 	CFLAGS="$xorg_testset_save_CFLAGS"
   16213 fi
   16214 
   16215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16218 	fi
   16219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16220 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16221 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16222 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16223 then :
   16224   printf %s "(cached) " >&6
   16225 else case e in #(
   16226   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16227 /* end confdefs.h.  */
   16228 int i;
   16229 _ACEOF
   16230 if ac_fn_c_try_compile "$LINENO"
   16231 then :
   16232   xorg_cv_cc_flag_unused_command_line_argument=yes
   16233 else case e in #(
   16234   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16235 esac
   16236 fi
   16237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16238 esac
   16239 fi
   16240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16241 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16242 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16243 	CFLAGS="$xorg_testset_save_CFLAGS"
   16244 fi
   16245 
   16246 found="no"
   16247 
   16248 	if test $found = "no" ; then
   16249 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16251 		fi
   16252 
   16253 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16255 		fi
   16256 
   16257 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   16258 
   16259 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   16260 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   16261 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   16262 		if eval test \${$cacheid+y}
   16263 then :
   16264   printf %s "(cached) " >&6
   16265 else case e in #(
   16266   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16267 /* end confdefs.h.  */
   16268 int i;
   16269 int
   16270 main (void)
   16271 {
   16272 
   16273   ;
   16274   return 0;
   16275 }
   16276 _ACEOF
   16277 if ac_fn_c_try_link "$LINENO"
   16278 then :
   16279   eval $cacheid=yes
   16280 else case e in #(
   16281   e) eval $cacheid=no ;;
   16282 esac
   16283 fi
   16284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16285     conftest$ac_exeext conftest.$ac_ext ;;
   16286 esac
   16287 fi
   16288 
   16289 
   16290 		CFLAGS="$xorg_testset_save_CFLAGS"
   16291 
   16292 		eval supported=\$$cacheid
   16293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16294 printf "%s\n" "$supported" >&6; }
   16295 		if test "$supported" = "yes" ; then
   16296 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   16297 			found="yes"
   16298 		fi
   16299 	fi
   16300 
   16301 
   16302 
   16303 
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 
   16312 
   16313 
   16314 
   16315 xorg_testset_save_CFLAGS="$CFLAGS"
   16316 
   16317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16319 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16320 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16321 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16322 then :
   16323   printf %s "(cached) " >&6
   16324 else case e in #(
   16325   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16326 /* end confdefs.h.  */
   16327 int i;
   16328 _ACEOF
   16329 if ac_fn_c_try_compile "$LINENO"
   16330 then :
   16331   xorg_cv_cc_flag_unknown_warning_option=yes
   16332 else case e in #(
   16333   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16334 esac
   16335 fi
   16336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16337 esac
   16338 fi
   16339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16340 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16342 	CFLAGS="$xorg_testset_save_CFLAGS"
   16343 fi
   16344 
   16345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16348 	fi
   16349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16351 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16352 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16353 then :
   16354   printf %s "(cached) " >&6
   16355 else case e in #(
   16356   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16357 /* end confdefs.h.  */
   16358 int i;
   16359 _ACEOF
   16360 if ac_fn_c_try_compile "$LINENO"
   16361 then :
   16362   xorg_cv_cc_flag_unused_command_line_argument=yes
   16363 else case e in #(
   16364   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16365 esac
   16366 fi
   16367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16368 esac
   16369 fi
   16370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16371 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16372 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16373 	CFLAGS="$xorg_testset_save_CFLAGS"
   16374 fi
   16375 
   16376 found="no"
   16377 
   16378 	if test $found = "no" ; then
   16379 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16381 		fi
   16382 
   16383 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16385 		fi
   16386 
   16387 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   16388 
   16389 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   16390 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   16391 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   16392 		if eval test \${$cacheid+y}
   16393 then :
   16394   printf %s "(cached) " >&6
   16395 else case e in #(
   16396   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16397 /* end confdefs.h.  */
   16398 int i;
   16399 int
   16400 main (void)
   16401 {
   16402 
   16403   ;
   16404   return 0;
   16405 }
   16406 _ACEOF
   16407 if ac_fn_c_try_link "$LINENO"
   16408 then :
   16409   eval $cacheid=yes
   16410 else case e in #(
   16411   e) eval $cacheid=no ;;
   16412 esac
   16413 fi
   16414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16415     conftest$ac_exeext conftest.$ac_ext ;;
   16416 esac
   16417 fi
   16418 
   16419 
   16420 		CFLAGS="$xorg_testset_save_CFLAGS"
   16421 
   16422 		eval supported=\$$cacheid
   16423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16424 printf "%s\n" "$supported" >&6; }
   16425 		if test "$supported" = "yes" ; then
   16426 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   16427 			found="yes"
   16428 		fi
   16429 	fi
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 
   16441 
   16442 
   16443 
   16444 
   16445 xorg_testset_save_CFLAGS="$CFLAGS"
   16446 
   16447 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16448 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16449 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16450 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16451 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16452 then :
   16453   printf %s "(cached) " >&6
   16454 else case e in #(
   16455   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16456 /* end confdefs.h.  */
   16457 int i;
   16458 _ACEOF
   16459 if ac_fn_c_try_compile "$LINENO"
   16460 then :
   16461   xorg_cv_cc_flag_unknown_warning_option=yes
   16462 else case e in #(
   16463   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16464 esac
   16465 fi
   16466 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16467 esac
   16468 fi
   16469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16470 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16471 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16472 	CFLAGS="$xorg_testset_save_CFLAGS"
   16473 fi
   16474 
   16475 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16476 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16477 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16478 	fi
   16479 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16480 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16481 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16482 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16483 then :
   16484   printf %s "(cached) " >&6
   16485 else case e in #(
   16486   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16487 /* end confdefs.h.  */
   16488 int i;
   16489 _ACEOF
   16490 if ac_fn_c_try_compile "$LINENO"
   16491 then :
   16492   xorg_cv_cc_flag_unused_command_line_argument=yes
   16493 else case e in #(
   16494   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16495 esac
   16496 fi
   16497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16498 esac
   16499 fi
   16500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16501 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16502 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16503 	CFLAGS="$xorg_testset_save_CFLAGS"
   16504 fi
   16505 
   16506 found="no"
   16507 
   16508 	if test $found = "no" ; then
   16509 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16510 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16511 		fi
   16512 
   16513 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16514 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16515 		fi
   16516 
   16517 		CFLAGS="$CFLAGS -Wredundant-decls"
   16518 
   16519 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16520 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16521 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16522 		if eval test \${$cacheid+y}
   16523 then :
   16524   printf %s "(cached) " >&6
   16525 else case e in #(
   16526   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16527 /* end confdefs.h.  */
   16528 int i;
   16529 int
   16530 main (void)
   16531 {
   16532 
   16533   ;
   16534   return 0;
   16535 }
   16536 _ACEOF
   16537 if ac_fn_c_try_link "$LINENO"
   16538 then :
   16539   eval $cacheid=yes
   16540 else case e in #(
   16541   e) eval $cacheid=no ;;
   16542 esac
   16543 fi
   16544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16545     conftest$ac_exeext conftest.$ac_ext ;;
   16546 esac
   16547 fi
   16548 
   16549 
   16550 		CFLAGS="$xorg_testset_save_CFLAGS"
   16551 
   16552 		eval supported=\$$cacheid
   16553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16554 printf "%s\n" "$supported" >&6; }
   16555 		if test "$supported" = "yes" ; then
   16556 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16557 			found="yes"
   16558 		fi
   16559 	fi
   16560 
   16561 
   16562 
   16563 
   16564 
   16565 
   16566 
   16567 
   16568 
   16569 
   16570 
   16571 
   16572 
   16573 
   16574 
   16575 xorg_testset_save_CFLAGS="$CFLAGS"
   16576 
   16577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16579 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16580 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16581 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16582 then :
   16583   printf %s "(cached) " >&6
   16584 else case e in #(
   16585   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16586 /* end confdefs.h.  */
   16587 int i;
   16588 _ACEOF
   16589 if ac_fn_c_try_compile "$LINENO"
   16590 then :
   16591   xorg_cv_cc_flag_unknown_warning_option=yes
   16592 else case e in #(
   16593   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16594 esac
   16595 fi
   16596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16597 esac
   16598 fi
   16599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16600 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16601 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16602 	CFLAGS="$xorg_testset_save_CFLAGS"
   16603 fi
   16604 
   16605 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16606 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16607 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16608 	fi
   16609 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16610 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16611 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16612 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16613 then :
   16614   printf %s "(cached) " >&6
   16615 else case e in #(
   16616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16617 /* end confdefs.h.  */
   16618 int i;
   16619 _ACEOF
   16620 if ac_fn_c_try_compile "$LINENO"
   16621 then :
   16622   xorg_cv_cc_flag_unused_command_line_argument=yes
   16623 else case e in #(
   16624   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16625 esac
   16626 fi
   16627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16628 esac
   16629 fi
   16630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16631 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16632 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16633 	CFLAGS="$xorg_testset_save_CFLAGS"
   16634 fi
   16635 
   16636 found="no"
   16637 
   16638 	if test $found = "no" ; then
   16639 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16641 		fi
   16642 
   16643 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16645 		fi
   16646 
   16647 		CFLAGS="$CFLAGS -Wlogical-op"
   16648 
   16649 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16650 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16651 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16652 		if eval test \${$cacheid+y}
   16653 then :
   16654   printf %s "(cached) " >&6
   16655 else case e in #(
   16656   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16657 /* end confdefs.h.  */
   16658 int i;
   16659 int
   16660 main (void)
   16661 {
   16662 
   16663   ;
   16664   return 0;
   16665 }
   16666 _ACEOF
   16667 if ac_fn_c_try_link "$LINENO"
   16668 then :
   16669   eval $cacheid=yes
   16670 else case e in #(
   16671   e) eval $cacheid=no ;;
   16672 esac
   16673 fi
   16674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16675     conftest$ac_exeext conftest.$ac_ext ;;
   16676 esac
   16677 fi
   16678 
   16679 
   16680 		CFLAGS="$xorg_testset_save_CFLAGS"
   16681 
   16682 		eval supported=\$$cacheid
   16683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16684 printf "%s\n" "$supported" >&6; }
   16685 		if test "$supported" = "yes" ; then
   16686 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16687 			found="yes"
   16688 		fi
   16689 	fi
   16690 
   16691 
   16692 
   16693 # These are currently disabled because they are noisy.  They will be enabled
   16694 # in the future once the codebase is sufficiently modernized to silence
   16695 # them.  For now, I don't want them to drown out the other warnings.
   16696 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16697 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16698 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16699 
   16700 # Turn some warnings into errors, so we don't accidentally get successful builds
   16701 # when there are problems that should be fixed.
   16702 
   16703 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 xorg_testset_save_CFLAGS="$CFLAGS"
   16718 
   16719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16721 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16722 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16723 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16724 then :
   16725   printf %s "(cached) " >&6
   16726 else case e in #(
   16727   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16728 /* end confdefs.h.  */
   16729 int i;
   16730 _ACEOF
   16731 if ac_fn_c_try_compile "$LINENO"
   16732 then :
   16733   xorg_cv_cc_flag_unknown_warning_option=yes
   16734 else case e in #(
   16735   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16736 esac
   16737 fi
   16738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16739 esac
   16740 fi
   16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16742 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16744 	CFLAGS="$xorg_testset_save_CFLAGS"
   16745 fi
   16746 
   16747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16750 	fi
   16751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16752 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16753 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16754 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16755 then :
   16756   printf %s "(cached) " >&6
   16757 else case e in #(
   16758   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16759 /* end confdefs.h.  */
   16760 int i;
   16761 _ACEOF
   16762 if ac_fn_c_try_compile "$LINENO"
   16763 then :
   16764   xorg_cv_cc_flag_unused_command_line_argument=yes
   16765 else case e in #(
   16766   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16767 esac
   16768 fi
   16769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16770 esac
   16771 fi
   16772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16773 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16774 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16775 	CFLAGS="$xorg_testset_save_CFLAGS"
   16776 fi
   16777 
   16778 found="no"
   16779 
   16780 	if test $found = "no" ; then
   16781 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16783 		fi
   16784 
   16785 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16787 		fi
   16788 
   16789 		CFLAGS="$CFLAGS -Werror=implicit"
   16790 
   16791 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16792 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16793 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16794 		if eval test \${$cacheid+y}
   16795 then :
   16796   printf %s "(cached) " >&6
   16797 else case e in #(
   16798   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16799 /* end confdefs.h.  */
   16800 int i;
   16801 int
   16802 main (void)
   16803 {
   16804 
   16805   ;
   16806   return 0;
   16807 }
   16808 _ACEOF
   16809 if ac_fn_c_try_link "$LINENO"
   16810 then :
   16811   eval $cacheid=yes
   16812 else case e in #(
   16813   e) eval $cacheid=no ;;
   16814 esac
   16815 fi
   16816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16817     conftest$ac_exeext conftest.$ac_ext ;;
   16818 esac
   16819 fi
   16820 
   16821 
   16822 		CFLAGS="$xorg_testset_save_CFLAGS"
   16823 
   16824 		eval supported=\$$cacheid
   16825 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16826 printf "%s\n" "$supported" >&6; }
   16827 		if test "$supported" = "yes" ; then
   16828 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16829 			found="yes"
   16830 		fi
   16831 	fi
   16832 
   16833 	if test $found = "no" ; then
   16834 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16835 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16836 		fi
   16837 
   16838 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16839 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16840 		fi
   16841 
   16842 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16843 
   16844 		{ 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
   16845 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16846 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16847 		if eval test \${$cacheid+y}
   16848 then :
   16849   printf %s "(cached) " >&6
   16850 else case e in #(
   16851   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16852 /* end confdefs.h.  */
   16853 int i;
   16854 int
   16855 main (void)
   16856 {
   16857 
   16858   ;
   16859   return 0;
   16860 }
   16861 _ACEOF
   16862 if ac_fn_c_try_link "$LINENO"
   16863 then :
   16864   eval $cacheid=yes
   16865 else case e in #(
   16866   e) eval $cacheid=no ;;
   16867 esac
   16868 fi
   16869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16870     conftest$ac_exeext conftest.$ac_ext ;;
   16871 esac
   16872 fi
   16873 
   16874 
   16875 		CFLAGS="$xorg_testset_save_CFLAGS"
   16876 
   16877 		eval supported=\$$cacheid
   16878 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16879 printf "%s\n" "$supported" >&6; }
   16880 		if test "$supported" = "yes" ; then
   16881 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16882 			found="yes"
   16883 		fi
   16884 	fi
   16885 
   16886 
   16887 
   16888 
   16889 
   16890 
   16891 
   16892 
   16893 
   16894 
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 xorg_testset_save_CFLAGS="$CFLAGS"
   16901 
   16902 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16903 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16905 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16906 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16907 then :
   16908   printf %s "(cached) " >&6
   16909 else case e in #(
   16910   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16911 /* end confdefs.h.  */
   16912 int i;
   16913 _ACEOF
   16914 if ac_fn_c_try_compile "$LINENO"
   16915 then :
   16916   xorg_cv_cc_flag_unknown_warning_option=yes
   16917 else case e in #(
   16918   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16919 esac
   16920 fi
   16921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16922 esac
   16923 fi
   16924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16925 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16926 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16927 	CFLAGS="$xorg_testset_save_CFLAGS"
   16928 fi
   16929 
   16930 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16931 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16932 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16933 	fi
   16934 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16935 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16936 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16937 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16938 then :
   16939   printf %s "(cached) " >&6
   16940 else case e in #(
   16941   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16942 /* end confdefs.h.  */
   16943 int i;
   16944 _ACEOF
   16945 if ac_fn_c_try_compile "$LINENO"
   16946 then :
   16947   xorg_cv_cc_flag_unused_command_line_argument=yes
   16948 else case e in #(
   16949   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16950 esac
   16951 fi
   16952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16953 esac
   16954 fi
   16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16956 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16957 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16958 	CFLAGS="$xorg_testset_save_CFLAGS"
   16959 fi
   16960 
   16961 found="no"
   16962 
   16963 	if test $found = "no" ; then
   16964 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16965 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16966 		fi
   16967 
   16968 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16969 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16970 		fi
   16971 
   16972 		CFLAGS="$CFLAGS -Werror=nonnull"
   16973 
   16974 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16975 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16976 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16977 		if eval test \${$cacheid+y}
   16978 then :
   16979   printf %s "(cached) " >&6
   16980 else case e in #(
   16981   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16982 /* end confdefs.h.  */
   16983 int i;
   16984 int
   16985 main (void)
   16986 {
   16987 
   16988   ;
   16989   return 0;
   16990 }
   16991 _ACEOF
   16992 if ac_fn_c_try_link "$LINENO"
   16993 then :
   16994   eval $cacheid=yes
   16995 else case e in #(
   16996   e) eval $cacheid=no ;;
   16997 esac
   16998 fi
   16999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17000     conftest$ac_exeext conftest.$ac_ext ;;
   17001 esac
   17002 fi
   17003 
   17004 
   17005 		CFLAGS="$xorg_testset_save_CFLAGS"
   17006 
   17007 		eval supported=\$$cacheid
   17008 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17009 printf "%s\n" "$supported" >&6; }
   17010 		if test "$supported" = "yes" ; then
   17011 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   17012 			found="yes"
   17013 		fi
   17014 	fi
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 
   17029 
   17030 xorg_testset_save_CFLAGS="$CFLAGS"
   17031 
   17032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17035 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17036 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17037 then :
   17038   printf %s "(cached) " >&6
   17039 else case e in #(
   17040   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17041 /* end confdefs.h.  */
   17042 int i;
   17043 _ACEOF
   17044 if ac_fn_c_try_compile "$LINENO"
   17045 then :
   17046   xorg_cv_cc_flag_unknown_warning_option=yes
   17047 else case e in #(
   17048   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17049 esac
   17050 fi
   17051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17052 esac
   17053 fi
   17054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17055 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17057 	CFLAGS="$xorg_testset_save_CFLAGS"
   17058 fi
   17059 
   17060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17063 	fi
   17064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17065 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17066 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17067 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17068 then :
   17069   printf %s "(cached) " >&6
   17070 else case e in #(
   17071   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17072 /* end confdefs.h.  */
   17073 int i;
   17074 _ACEOF
   17075 if ac_fn_c_try_compile "$LINENO"
   17076 then :
   17077   xorg_cv_cc_flag_unused_command_line_argument=yes
   17078 else case e in #(
   17079   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17080 esac
   17081 fi
   17082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17083 esac
   17084 fi
   17085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17086 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17088 	CFLAGS="$xorg_testset_save_CFLAGS"
   17089 fi
   17090 
   17091 found="no"
   17092 
   17093 	if test $found = "no" ; then
   17094 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17096 		fi
   17097 
   17098 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17100 		fi
   17101 
   17102 		CFLAGS="$CFLAGS -Werror=init-self"
   17103 
   17104 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   17105 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   17106 		cacheid=xorg_cv_cc_flag__Werror_init_self
   17107 		if eval test \${$cacheid+y}
   17108 then :
   17109   printf %s "(cached) " >&6
   17110 else case e in #(
   17111   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17112 /* end confdefs.h.  */
   17113 int i;
   17114 int
   17115 main (void)
   17116 {
   17117 
   17118   ;
   17119   return 0;
   17120 }
   17121 _ACEOF
   17122 if ac_fn_c_try_link "$LINENO"
   17123 then :
   17124   eval $cacheid=yes
   17125 else case e in #(
   17126   e) eval $cacheid=no ;;
   17127 esac
   17128 fi
   17129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17130     conftest$ac_exeext conftest.$ac_ext ;;
   17131 esac
   17132 fi
   17133 
   17134 
   17135 		CFLAGS="$xorg_testset_save_CFLAGS"
   17136 
   17137 		eval supported=\$$cacheid
   17138 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17139 printf "%s\n" "$supported" >&6; }
   17140 		if test "$supported" = "yes" ; then
   17141 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   17142 			found="yes"
   17143 		fi
   17144 	fi
   17145 
   17146 
   17147 
   17148 
   17149 
   17150 
   17151 
   17152 
   17153 
   17154 
   17155 
   17156 
   17157 
   17158 
   17159 
   17160 xorg_testset_save_CFLAGS="$CFLAGS"
   17161 
   17162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17165 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17166 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17167 then :
   17168   printf %s "(cached) " >&6
   17169 else case e in #(
   17170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17171 /* end confdefs.h.  */
   17172 int i;
   17173 _ACEOF
   17174 if ac_fn_c_try_compile "$LINENO"
   17175 then :
   17176   xorg_cv_cc_flag_unknown_warning_option=yes
   17177 else case e in #(
   17178   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17179 esac
   17180 fi
   17181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17182 esac
   17183 fi
   17184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17185 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17186 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17187 	CFLAGS="$xorg_testset_save_CFLAGS"
   17188 fi
   17189 
   17190 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17191 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17192 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17193 	fi
   17194 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17195 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17196 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17197 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17198 then :
   17199   printf %s "(cached) " >&6
   17200 else case e in #(
   17201   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17202 /* end confdefs.h.  */
   17203 int i;
   17204 _ACEOF
   17205 if ac_fn_c_try_compile "$LINENO"
   17206 then :
   17207   xorg_cv_cc_flag_unused_command_line_argument=yes
   17208 else case e in #(
   17209   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17210 esac
   17211 fi
   17212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17213 esac
   17214 fi
   17215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17216 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17218 	CFLAGS="$xorg_testset_save_CFLAGS"
   17219 fi
   17220 
   17221 found="no"
   17222 
   17223 	if test $found = "no" ; then
   17224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17226 		fi
   17227 
   17228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17230 		fi
   17231 
   17232 		CFLAGS="$CFLAGS -Werror=main"
   17233 
   17234 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   17235 printf %s "checking if $CC supports -Werror=main... " >&6; }
   17236 		cacheid=xorg_cv_cc_flag__Werror_main
   17237 		if eval test \${$cacheid+y}
   17238 then :
   17239   printf %s "(cached) " >&6
   17240 else case e in #(
   17241   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17242 /* end confdefs.h.  */
   17243 int i;
   17244 int
   17245 main (void)
   17246 {
   17247 
   17248   ;
   17249   return 0;
   17250 }
   17251 _ACEOF
   17252 if ac_fn_c_try_link "$LINENO"
   17253 then :
   17254   eval $cacheid=yes
   17255 else case e in #(
   17256   e) eval $cacheid=no ;;
   17257 esac
   17258 fi
   17259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17260     conftest$ac_exeext conftest.$ac_ext ;;
   17261 esac
   17262 fi
   17263 
   17264 
   17265 		CFLAGS="$xorg_testset_save_CFLAGS"
   17266 
   17267 		eval supported=\$$cacheid
   17268 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17269 printf "%s\n" "$supported" >&6; }
   17270 		if test "$supported" = "yes" ; then
   17271 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   17272 			found="yes"
   17273 		fi
   17274 	fi
   17275 
   17276 
   17277 
   17278 
   17279 
   17280 
   17281 
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 xorg_testset_save_CFLAGS="$CFLAGS"
   17291 
   17292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17294 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17295 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17296 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17297 then :
   17298   printf %s "(cached) " >&6
   17299 else case e in #(
   17300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17301 /* end confdefs.h.  */
   17302 int i;
   17303 _ACEOF
   17304 if ac_fn_c_try_compile "$LINENO"
   17305 then :
   17306   xorg_cv_cc_flag_unknown_warning_option=yes
   17307 else case e in #(
   17308   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17309 esac
   17310 fi
   17311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17312 esac
   17313 fi
   17314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17315 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17317 	CFLAGS="$xorg_testset_save_CFLAGS"
   17318 fi
   17319 
   17320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17323 	fi
   17324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17325 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17326 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17327 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17328 then :
   17329   printf %s "(cached) " >&6
   17330 else case e in #(
   17331   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17332 /* end confdefs.h.  */
   17333 int i;
   17334 _ACEOF
   17335 if ac_fn_c_try_compile "$LINENO"
   17336 then :
   17337   xorg_cv_cc_flag_unused_command_line_argument=yes
   17338 else case e in #(
   17339   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17340 esac
   17341 fi
   17342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17343 esac
   17344 fi
   17345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17346 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17347 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17348 	CFLAGS="$xorg_testset_save_CFLAGS"
   17349 fi
   17350 
   17351 found="no"
   17352 
   17353 	if test $found = "no" ; then
   17354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17356 		fi
   17357 
   17358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17360 		fi
   17361 
   17362 		CFLAGS="$CFLAGS -Werror=missing-braces"
   17363 
   17364 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   17365 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   17366 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   17367 		if eval test \${$cacheid+y}
   17368 then :
   17369   printf %s "(cached) " >&6
   17370 else case e in #(
   17371   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17372 /* end confdefs.h.  */
   17373 int i;
   17374 int
   17375 main (void)
   17376 {
   17377 
   17378   ;
   17379   return 0;
   17380 }
   17381 _ACEOF
   17382 if ac_fn_c_try_link "$LINENO"
   17383 then :
   17384   eval $cacheid=yes
   17385 else case e in #(
   17386   e) eval $cacheid=no ;;
   17387 esac
   17388 fi
   17389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17390     conftest$ac_exeext conftest.$ac_ext ;;
   17391 esac
   17392 fi
   17393 
   17394 
   17395 		CFLAGS="$xorg_testset_save_CFLAGS"
   17396 
   17397 		eval supported=\$$cacheid
   17398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17399 printf "%s\n" "$supported" >&6; }
   17400 		if test "$supported" = "yes" ; then
   17401 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   17402 			found="yes"
   17403 		fi
   17404 	fi
   17405 
   17406 
   17407 
   17408 
   17409 
   17410 
   17411 
   17412 
   17413 
   17414 
   17415 
   17416 
   17417 
   17418 
   17419 
   17420 xorg_testset_save_CFLAGS="$CFLAGS"
   17421 
   17422 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17423 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17424 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17425 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17426 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17427 then :
   17428   printf %s "(cached) " >&6
   17429 else case e in #(
   17430   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17431 /* end confdefs.h.  */
   17432 int i;
   17433 _ACEOF
   17434 if ac_fn_c_try_compile "$LINENO"
   17435 then :
   17436   xorg_cv_cc_flag_unknown_warning_option=yes
   17437 else case e in #(
   17438   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17439 esac
   17440 fi
   17441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17442 esac
   17443 fi
   17444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17445 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17446 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17447 	CFLAGS="$xorg_testset_save_CFLAGS"
   17448 fi
   17449 
   17450 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17451 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17452 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17453 	fi
   17454 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17455 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17456 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17457 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17458 then :
   17459   printf %s "(cached) " >&6
   17460 else case e in #(
   17461   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17462 /* end confdefs.h.  */
   17463 int i;
   17464 _ACEOF
   17465 if ac_fn_c_try_compile "$LINENO"
   17466 then :
   17467   xorg_cv_cc_flag_unused_command_line_argument=yes
   17468 else case e in #(
   17469   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17470 esac
   17471 fi
   17472 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17473 esac
   17474 fi
   17475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17476 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17478 	CFLAGS="$xorg_testset_save_CFLAGS"
   17479 fi
   17480 
   17481 found="no"
   17482 
   17483 	if test $found = "no" ; then
   17484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17486 		fi
   17487 
   17488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17490 		fi
   17491 
   17492 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17493 
   17494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17495 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17496 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17497 		if eval test \${$cacheid+y}
   17498 then :
   17499   printf %s "(cached) " >&6
   17500 else case e in #(
   17501   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17502 /* end confdefs.h.  */
   17503 int i;
   17504 int
   17505 main (void)
   17506 {
   17507 
   17508   ;
   17509   return 0;
   17510 }
   17511 _ACEOF
   17512 if ac_fn_c_try_link "$LINENO"
   17513 then :
   17514   eval $cacheid=yes
   17515 else case e in #(
   17516   e) eval $cacheid=no ;;
   17517 esac
   17518 fi
   17519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17520     conftest$ac_exeext conftest.$ac_ext ;;
   17521 esac
   17522 fi
   17523 
   17524 
   17525 		CFLAGS="$xorg_testset_save_CFLAGS"
   17526 
   17527 		eval supported=\$$cacheid
   17528 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17529 printf "%s\n" "$supported" >&6; }
   17530 		if test "$supported" = "yes" ; then
   17531 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17532 			found="yes"
   17533 		fi
   17534 	fi
   17535 
   17536 
   17537 
   17538 
   17539 
   17540 
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 xorg_testset_save_CFLAGS="$CFLAGS"
   17551 
   17552 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17553 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17554 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17555 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17556 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17557 then :
   17558   printf %s "(cached) " >&6
   17559 else case e in #(
   17560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17561 /* end confdefs.h.  */
   17562 int i;
   17563 _ACEOF
   17564 if ac_fn_c_try_compile "$LINENO"
   17565 then :
   17566   xorg_cv_cc_flag_unknown_warning_option=yes
   17567 else case e in #(
   17568   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17569 esac
   17570 fi
   17571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17572 esac
   17573 fi
   17574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17575 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17576 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17577 	CFLAGS="$xorg_testset_save_CFLAGS"
   17578 fi
   17579 
   17580 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17581 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17582 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17583 	fi
   17584 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17585 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17586 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17587 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17588 then :
   17589   printf %s "(cached) " >&6
   17590 else case e in #(
   17591   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17592 /* end confdefs.h.  */
   17593 int i;
   17594 _ACEOF
   17595 if ac_fn_c_try_compile "$LINENO"
   17596 then :
   17597   xorg_cv_cc_flag_unused_command_line_argument=yes
   17598 else case e in #(
   17599   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17600 esac
   17601 fi
   17602 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17603 esac
   17604 fi
   17605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17606 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17608 	CFLAGS="$xorg_testset_save_CFLAGS"
   17609 fi
   17610 
   17611 found="no"
   17612 
   17613 	if test $found = "no" ; then
   17614 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17616 		fi
   17617 
   17618 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17620 		fi
   17621 
   17622 		CFLAGS="$CFLAGS -Werror=return-type"
   17623 
   17624 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17625 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17626 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17627 		if eval test \${$cacheid+y}
   17628 then :
   17629   printf %s "(cached) " >&6
   17630 else case e in #(
   17631   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17632 /* end confdefs.h.  */
   17633 int i;
   17634 int
   17635 main (void)
   17636 {
   17637 
   17638   ;
   17639   return 0;
   17640 }
   17641 _ACEOF
   17642 if ac_fn_c_try_link "$LINENO"
   17643 then :
   17644   eval $cacheid=yes
   17645 else case e in #(
   17646   e) eval $cacheid=no ;;
   17647 esac
   17648 fi
   17649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17650     conftest$ac_exeext conftest.$ac_ext ;;
   17651 esac
   17652 fi
   17653 
   17654 
   17655 		CFLAGS="$xorg_testset_save_CFLAGS"
   17656 
   17657 		eval supported=\$$cacheid
   17658 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17659 printf "%s\n" "$supported" >&6; }
   17660 		if test "$supported" = "yes" ; then
   17661 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17662 			found="yes"
   17663 		fi
   17664 	fi
   17665 
   17666 	if test $found = "no" ; then
   17667 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17668 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17669 		fi
   17670 
   17671 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17672 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17673 		fi
   17674 
   17675 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17676 
   17677 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17678 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17679 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17680 		if eval test \${$cacheid+y}
   17681 then :
   17682   printf %s "(cached) " >&6
   17683 else case e in #(
   17684   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17685 /* end confdefs.h.  */
   17686 int i;
   17687 int
   17688 main (void)
   17689 {
   17690 
   17691   ;
   17692   return 0;
   17693 }
   17694 _ACEOF
   17695 if ac_fn_c_try_link "$LINENO"
   17696 then :
   17697   eval $cacheid=yes
   17698 else case e in #(
   17699   e) eval $cacheid=no ;;
   17700 esac
   17701 fi
   17702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17703     conftest$ac_exeext conftest.$ac_ext ;;
   17704 esac
   17705 fi
   17706 
   17707 
   17708 		CFLAGS="$xorg_testset_save_CFLAGS"
   17709 
   17710 		eval supported=\$$cacheid
   17711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17712 printf "%s\n" "$supported" >&6; }
   17713 		if test "$supported" = "yes" ; then
   17714 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17715 			found="yes"
   17716 		fi
   17717 	fi
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 xorg_testset_save_CFLAGS="$CFLAGS"
   17734 
   17735 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17736 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17737 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17738 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17739 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17740 then :
   17741   printf %s "(cached) " >&6
   17742 else case e in #(
   17743   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17744 /* end confdefs.h.  */
   17745 int i;
   17746 _ACEOF
   17747 if ac_fn_c_try_compile "$LINENO"
   17748 then :
   17749   xorg_cv_cc_flag_unknown_warning_option=yes
   17750 else case e in #(
   17751   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17752 esac
   17753 fi
   17754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17755 esac
   17756 fi
   17757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17758 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17759 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17760 	CFLAGS="$xorg_testset_save_CFLAGS"
   17761 fi
   17762 
   17763 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17764 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17765 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17766 	fi
   17767 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17768 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17769 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17770 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17771 then :
   17772   printf %s "(cached) " >&6
   17773 else case e in #(
   17774   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17775 /* end confdefs.h.  */
   17776 int i;
   17777 _ACEOF
   17778 if ac_fn_c_try_compile "$LINENO"
   17779 then :
   17780   xorg_cv_cc_flag_unused_command_line_argument=yes
   17781 else case e in #(
   17782   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17783 esac
   17784 fi
   17785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17786 esac
   17787 fi
   17788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17789 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17791 	CFLAGS="$xorg_testset_save_CFLAGS"
   17792 fi
   17793 
   17794 found="no"
   17795 
   17796 	if test $found = "no" ; then
   17797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17799 		fi
   17800 
   17801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17803 		fi
   17804 
   17805 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17806 
   17807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17808 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17809 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17810 		if eval test \${$cacheid+y}
   17811 then :
   17812   printf %s "(cached) " >&6
   17813 else case e in #(
   17814   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17815 /* end confdefs.h.  */
   17816 int i;
   17817 int
   17818 main (void)
   17819 {
   17820 
   17821   ;
   17822   return 0;
   17823 }
   17824 _ACEOF
   17825 if ac_fn_c_try_link "$LINENO"
   17826 then :
   17827   eval $cacheid=yes
   17828 else case e in #(
   17829   e) eval $cacheid=no ;;
   17830 esac
   17831 fi
   17832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17833     conftest$ac_exeext conftest.$ac_ext ;;
   17834 esac
   17835 fi
   17836 
   17837 
   17838 		CFLAGS="$xorg_testset_save_CFLAGS"
   17839 
   17840 		eval supported=\$$cacheid
   17841 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17842 printf "%s\n" "$supported" >&6; }
   17843 		if test "$supported" = "yes" ; then
   17844 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17845 			found="yes"
   17846 		fi
   17847 	fi
   17848 
   17849 
   17850 
   17851 
   17852 
   17853 
   17854 
   17855 
   17856 
   17857 
   17858 
   17859 
   17860 
   17861 
   17862 
   17863 xorg_testset_save_CFLAGS="$CFLAGS"
   17864 
   17865 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17866 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17867 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17868 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17869 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17870 then :
   17871   printf %s "(cached) " >&6
   17872 else case e in #(
   17873   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17874 /* end confdefs.h.  */
   17875 int i;
   17876 _ACEOF
   17877 if ac_fn_c_try_compile "$LINENO"
   17878 then :
   17879   xorg_cv_cc_flag_unknown_warning_option=yes
   17880 else case e in #(
   17881   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17882 esac
   17883 fi
   17884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17885 esac
   17886 fi
   17887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17888 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17890 	CFLAGS="$xorg_testset_save_CFLAGS"
   17891 fi
   17892 
   17893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17896 	fi
   17897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17898 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17899 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17900 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17901 then :
   17902   printf %s "(cached) " >&6
   17903 else case e in #(
   17904   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17905 /* end confdefs.h.  */
   17906 int i;
   17907 _ACEOF
   17908 if ac_fn_c_try_compile "$LINENO"
   17909 then :
   17910   xorg_cv_cc_flag_unused_command_line_argument=yes
   17911 else case e in #(
   17912   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17913 esac
   17914 fi
   17915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17916 esac
   17917 fi
   17918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17919 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17921 	CFLAGS="$xorg_testset_save_CFLAGS"
   17922 fi
   17923 
   17924 found="no"
   17925 
   17926 	if test $found = "no" ; then
   17927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17929 		fi
   17930 
   17931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17933 		fi
   17934 
   17935 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17936 
   17937 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17938 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17939 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17940 		if eval test \${$cacheid+y}
   17941 then :
   17942   printf %s "(cached) " >&6
   17943 else case e in #(
   17944   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17945 /* end confdefs.h.  */
   17946 int i;
   17947 int
   17948 main (void)
   17949 {
   17950 
   17951   ;
   17952   return 0;
   17953 }
   17954 _ACEOF
   17955 if ac_fn_c_try_link "$LINENO"
   17956 then :
   17957   eval $cacheid=yes
   17958 else case e in #(
   17959   e) eval $cacheid=no ;;
   17960 esac
   17961 fi
   17962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17963     conftest$ac_exeext conftest.$ac_ext ;;
   17964 esac
   17965 fi
   17966 
   17967 
   17968 		CFLAGS="$xorg_testset_save_CFLAGS"
   17969 
   17970 		eval supported=\$$cacheid
   17971 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17972 printf "%s\n" "$supported" >&6; }
   17973 		if test "$supported" = "yes" ; then
   17974 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17975 			found="yes"
   17976 		fi
   17977 	fi
   17978 
   17979 
   17980 
   17981 
   17982 
   17983 
   17984 
   17985 
   17986 
   17987 
   17988 
   17989 
   17990 
   17991 
   17992 
   17993 xorg_testset_save_CFLAGS="$CFLAGS"
   17994 
   17995 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17996 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17997 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17998 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17999 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18000 then :
   18001   printf %s "(cached) " >&6
   18002 else case e in #(
   18003   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18004 /* end confdefs.h.  */
   18005 int i;
   18006 _ACEOF
   18007 if ac_fn_c_try_compile "$LINENO"
   18008 then :
   18009   xorg_cv_cc_flag_unknown_warning_option=yes
   18010 else case e in #(
   18011   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18012 esac
   18013 fi
   18014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18015 esac
   18016 fi
   18017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18018 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18019 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18020 	CFLAGS="$xorg_testset_save_CFLAGS"
   18021 fi
   18022 
   18023 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18024 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18025 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18026 	fi
   18027 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18028 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18029 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18030 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18031 then :
   18032   printf %s "(cached) " >&6
   18033 else case e in #(
   18034   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18035 /* end confdefs.h.  */
   18036 int i;
   18037 _ACEOF
   18038 if ac_fn_c_try_compile "$LINENO"
   18039 then :
   18040   xorg_cv_cc_flag_unused_command_line_argument=yes
   18041 else case e in #(
   18042   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18043 esac
   18044 fi
   18045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18046 esac
   18047 fi
   18048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18049 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18051 	CFLAGS="$xorg_testset_save_CFLAGS"
   18052 fi
   18053 
   18054 found="no"
   18055 
   18056 	if test $found = "no" ; then
   18057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18059 		fi
   18060 
   18061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18063 		fi
   18064 
   18065 		CFLAGS="$CFLAGS -Werror=write-strings"
   18066 
   18067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   18068 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   18069 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   18070 		if eval test \${$cacheid+y}
   18071 then :
   18072   printf %s "(cached) " >&6
   18073 else case e in #(
   18074   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18075 /* end confdefs.h.  */
   18076 int i;
   18077 int
   18078 main (void)
   18079 {
   18080 
   18081   ;
   18082   return 0;
   18083 }
   18084 _ACEOF
   18085 if ac_fn_c_try_link "$LINENO"
   18086 then :
   18087   eval $cacheid=yes
   18088 else case e in #(
   18089   e) eval $cacheid=no ;;
   18090 esac
   18091 fi
   18092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18093     conftest$ac_exeext conftest.$ac_ext ;;
   18094 esac
   18095 fi
   18096 
   18097 
   18098 		CFLAGS="$xorg_testset_save_CFLAGS"
   18099 
   18100 		eval supported=\$$cacheid
   18101 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18102 printf "%s\n" "$supported" >&6; }
   18103 		if test "$supported" = "yes" ; then
   18104 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   18105 			found="yes"
   18106 		fi
   18107 	fi
   18108 
   18109 
   18110 
   18111 
   18112 
   18113 
   18114 
   18115 
   18116 
   18117 
   18118 
   18119 
   18120 
   18121 
   18122 
   18123 xorg_testset_save_CFLAGS="$CFLAGS"
   18124 
   18125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18126 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18127 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18128 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18129 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18130 then :
   18131   printf %s "(cached) " >&6
   18132 else case e in #(
   18133   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18134 /* end confdefs.h.  */
   18135 int i;
   18136 _ACEOF
   18137 if ac_fn_c_try_compile "$LINENO"
   18138 then :
   18139   xorg_cv_cc_flag_unknown_warning_option=yes
   18140 else case e in #(
   18141   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18142 esac
   18143 fi
   18144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18145 esac
   18146 fi
   18147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18148 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18149 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18150 	CFLAGS="$xorg_testset_save_CFLAGS"
   18151 fi
   18152 
   18153 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18154 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18155 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18156 	fi
   18157 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18158 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18159 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18160 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18161 then :
   18162   printf %s "(cached) " >&6
   18163 else case e in #(
   18164   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18165 /* end confdefs.h.  */
   18166 int i;
   18167 _ACEOF
   18168 if ac_fn_c_try_compile "$LINENO"
   18169 then :
   18170   xorg_cv_cc_flag_unused_command_line_argument=yes
   18171 else case e in #(
   18172   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18173 esac
   18174 fi
   18175 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18176 esac
   18177 fi
   18178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18179 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18180 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18181 	CFLAGS="$xorg_testset_save_CFLAGS"
   18182 fi
   18183 
   18184 found="no"
   18185 
   18186 	if test $found = "no" ; then
   18187 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18189 		fi
   18190 
   18191 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18193 		fi
   18194 
   18195 		CFLAGS="$CFLAGS -Werror=address"
   18196 
   18197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   18198 printf %s "checking if $CC supports -Werror=address... " >&6; }
   18199 		cacheid=xorg_cv_cc_flag__Werror_address
   18200 		if eval test \${$cacheid+y}
   18201 then :
   18202   printf %s "(cached) " >&6
   18203 else case e in #(
   18204   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18205 /* end confdefs.h.  */
   18206 int i;
   18207 int
   18208 main (void)
   18209 {
   18210 
   18211   ;
   18212   return 0;
   18213 }
   18214 _ACEOF
   18215 if ac_fn_c_try_link "$LINENO"
   18216 then :
   18217   eval $cacheid=yes
   18218 else case e in #(
   18219   e) eval $cacheid=no ;;
   18220 esac
   18221 fi
   18222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18223     conftest$ac_exeext conftest.$ac_ext ;;
   18224 esac
   18225 fi
   18226 
   18227 
   18228 		CFLAGS="$xorg_testset_save_CFLAGS"
   18229 
   18230 		eval supported=\$$cacheid
   18231 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18232 printf "%s\n" "$supported" >&6; }
   18233 		if test "$supported" = "yes" ; then
   18234 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   18235 			found="yes"
   18236 		fi
   18237 	fi
   18238 
   18239 
   18240 
   18241 
   18242 
   18243 
   18244 
   18245 
   18246 
   18247 
   18248 
   18249 
   18250 
   18251 
   18252 
   18253 xorg_testset_save_CFLAGS="$CFLAGS"
   18254 
   18255 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18256 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18257 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18258 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18259 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18260 then :
   18261   printf %s "(cached) " >&6
   18262 else case e in #(
   18263   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18264 /* end confdefs.h.  */
   18265 int i;
   18266 _ACEOF
   18267 if ac_fn_c_try_compile "$LINENO"
   18268 then :
   18269   xorg_cv_cc_flag_unknown_warning_option=yes
   18270 else case e in #(
   18271   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18272 esac
   18273 fi
   18274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18275 esac
   18276 fi
   18277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18278 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18279 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18280 	CFLAGS="$xorg_testset_save_CFLAGS"
   18281 fi
   18282 
   18283 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18284 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18285 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18286 	fi
   18287 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18288 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18289 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18290 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18291 then :
   18292   printf %s "(cached) " >&6
   18293 else case e in #(
   18294   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18295 /* end confdefs.h.  */
   18296 int i;
   18297 _ACEOF
   18298 if ac_fn_c_try_compile "$LINENO"
   18299 then :
   18300   xorg_cv_cc_flag_unused_command_line_argument=yes
   18301 else case e in #(
   18302   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18303 esac
   18304 fi
   18305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18306 esac
   18307 fi
   18308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18309 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18310 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18311 	CFLAGS="$xorg_testset_save_CFLAGS"
   18312 fi
   18313 
   18314 found="no"
   18315 
   18316 	if test $found = "no" ; then
   18317 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18319 		fi
   18320 
   18321 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18323 		fi
   18324 
   18325 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   18326 
   18327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   18328 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   18329 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   18330 		if eval test \${$cacheid+y}
   18331 then :
   18332   printf %s "(cached) " >&6
   18333 else case e in #(
   18334   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18335 /* end confdefs.h.  */
   18336 int i;
   18337 int
   18338 main (void)
   18339 {
   18340 
   18341   ;
   18342   return 0;
   18343 }
   18344 _ACEOF
   18345 if ac_fn_c_try_link "$LINENO"
   18346 then :
   18347   eval $cacheid=yes
   18348 else case e in #(
   18349   e) eval $cacheid=no ;;
   18350 esac
   18351 fi
   18352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18353     conftest$ac_exeext conftest.$ac_ext ;;
   18354 esac
   18355 fi
   18356 
   18357 
   18358 		CFLAGS="$xorg_testset_save_CFLAGS"
   18359 
   18360 		eval supported=\$$cacheid
   18361 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18362 printf "%s\n" "$supported" >&6; }
   18363 		if test "$supported" = "yes" ; then
   18364 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   18365 			found="yes"
   18366 		fi
   18367 	fi
   18368 
   18369 	if test $found = "no" ; then
   18370 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18371 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18372 		fi
   18373 
   18374 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18375 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18376 		fi
   18377 
   18378 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18379 
   18380 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   18381 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   18382 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   18383 		if eval test \${$cacheid+y}
   18384 then :
   18385   printf %s "(cached) " >&6
   18386 else case e in #(
   18387   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18388 /* end confdefs.h.  */
   18389 int i;
   18390 int
   18391 main (void)
   18392 {
   18393 
   18394   ;
   18395   return 0;
   18396 }
   18397 _ACEOF
   18398 if ac_fn_c_try_link "$LINENO"
   18399 then :
   18400   eval $cacheid=yes
   18401 else case e in #(
   18402   e) eval $cacheid=no ;;
   18403 esac
   18404 fi
   18405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18406     conftest$ac_exeext conftest.$ac_ext ;;
   18407 esac
   18408 fi
   18409 
   18410 
   18411 		CFLAGS="$xorg_testset_save_CFLAGS"
   18412 
   18413 		eval supported=\$$cacheid
   18414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18415 printf "%s\n" "$supported" >&6; }
   18416 		if test "$supported" = "yes" ; then
   18417 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18418 			found="yes"
   18419 		fi
   18420 	fi
   18421 
   18422 
   18423 
   18424 
   18425 
   18426 
   18427 
   18428 
   18429 
   18430 
   18431 
   18432 
   18433 
   18434 
   18435 
   18436 xorg_testset_save_CFLAGS="$CFLAGS"
   18437 
   18438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18440 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18441 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18442 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18443 then :
   18444   printf %s "(cached) " >&6
   18445 else case e in #(
   18446   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18447 /* end confdefs.h.  */
   18448 int i;
   18449 _ACEOF
   18450 if ac_fn_c_try_compile "$LINENO"
   18451 then :
   18452   xorg_cv_cc_flag_unknown_warning_option=yes
   18453 else case e in #(
   18454   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18455 esac
   18456 fi
   18457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18458 esac
   18459 fi
   18460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18461 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18463 	CFLAGS="$xorg_testset_save_CFLAGS"
   18464 fi
   18465 
   18466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18469 	fi
   18470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18472 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18473 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18474 then :
   18475   printf %s "(cached) " >&6
   18476 else case e in #(
   18477   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18478 /* end confdefs.h.  */
   18479 int i;
   18480 _ACEOF
   18481 if ac_fn_c_try_compile "$LINENO"
   18482 then :
   18483   xorg_cv_cc_flag_unused_command_line_argument=yes
   18484 else case e in #(
   18485   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18486 esac
   18487 fi
   18488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18489 esac
   18490 fi
   18491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18492 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18494 	CFLAGS="$xorg_testset_save_CFLAGS"
   18495 fi
   18496 
   18497 found="no"
   18498 
   18499 	if test $found = "no" ; then
   18500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18502 		fi
   18503 
   18504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18506 		fi
   18507 
   18508 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18509 
   18510 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18511 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18512 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18513 		if eval test \${$cacheid+y}
   18514 then :
   18515   printf %s "(cached) " >&6
   18516 else case e in #(
   18517   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18518 /* end confdefs.h.  */
   18519 int i;
   18520 int
   18521 main (void)
   18522 {
   18523 
   18524   ;
   18525   return 0;
   18526 }
   18527 _ACEOF
   18528 if ac_fn_c_try_link "$LINENO"
   18529 then :
   18530   eval $cacheid=yes
   18531 else case e in #(
   18532   e) eval $cacheid=no ;;
   18533 esac
   18534 fi
   18535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18536     conftest$ac_exeext conftest.$ac_ext ;;
   18537 esac
   18538 fi
   18539 
   18540 
   18541 		CFLAGS="$xorg_testset_save_CFLAGS"
   18542 
   18543 		eval supported=\$$cacheid
   18544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18545 printf "%s\n" "$supported" >&6; }
   18546 		if test "$supported" = "yes" ; then
   18547 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18548 			found="yes"
   18549 		fi
   18550 	fi
   18551 
   18552  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18553 else
   18554 { 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
   18555 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;}
   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 case e in #(
   18579   e) 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 case e in #(
   18587   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18588 esac
   18589 fi
   18590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18591 esac
   18592 fi
   18593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18594 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18595 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18596 	CFLAGS="$xorg_testset_save_CFLAGS"
   18597 fi
   18598 
   18599 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18600 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18601 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18602 	fi
   18603 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18604 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18605 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18606 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18607 then :
   18608   printf %s "(cached) " >&6
   18609 else case e in #(
   18610   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18611 /* end confdefs.h.  */
   18612 int i;
   18613 _ACEOF
   18614 if ac_fn_c_try_compile "$LINENO"
   18615 then :
   18616   xorg_cv_cc_flag_unused_command_line_argument=yes
   18617 else case e in #(
   18618   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18619 esac
   18620 fi
   18621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18622 esac
   18623 fi
   18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18625 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18626 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18627 	CFLAGS="$xorg_testset_save_CFLAGS"
   18628 fi
   18629 
   18630 found="no"
   18631 
   18632 	if test $found = "no" ; then
   18633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18635 		fi
   18636 
   18637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18639 		fi
   18640 
   18641 		CFLAGS="$CFLAGS -Wimplicit"
   18642 
   18643 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18644 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18645 		cacheid=xorg_cv_cc_flag__Wimplicit
   18646 		if eval test \${$cacheid+y}
   18647 then :
   18648   printf %s "(cached) " >&6
   18649 else case e in #(
   18650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18651 /* end confdefs.h.  */
   18652 int i;
   18653 int
   18654 main (void)
   18655 {
   18656 
   18657   ;
   18658   return 0;
   18659 }
   18660 _ACEOF
   18661 if ac_fn_c_try_link "$LINENO"
   18662 then :
   18663   eval $cacheid=yes
   18664 else case e in #(
   18665   e) eval $cacheid=no ;;
   18666 esac
   18667 fi
   18668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18669     conftest$ac_exeext conftest.$ac_ext ;;
   18670 esac
   18671 fi
   18672 
   18673 
   18674 		CFLAGS="$xorg_testset_save_CFLAGS"
   18675 
   18676 		eval supported=\$$cacheid
   18677 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18678 printf "%s\n" "$supported" >&6; }
   18679 		if test "$supported" = "yes" ; then
   18680 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18681 			found="yes"
   18682 		fi
   18683 	fi
   18684 
   18685 
   18686 
   18687 
   18688 
   18689 
   18690 
   18691 
   18692 
   18693 
   18694 
   18695 
   18696 
   18697 
   18698 
   18699 xorg_testset_save_CFLAGS="$CFLAGS"
   18700 
   18701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18703 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18704 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18705 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18706 then :
   18707   printf %s "(cached) " >&6
   18708 else case e in #(
   18709   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18710 /* end confdefs.h.  */
   18711 int i;
   18712 _ACEOF
   18713 if ac_fn_c_try_compile "$LINENO"
   18714 then :
   18715   xorg_cv_cc_flag_unknown_warning_option=yes
   18716 else case e in #(
   18717   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18718 esac
   18719 fi
   18720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18721 esac
   18722 fi
   18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18724 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18726 	CFLAGS="$xorg_testset_save_CFLAGS"
   18727 fi
   18728 
   18729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18732 	fi
   18733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18734 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18735 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18736 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18737 then :
   18738   printf %s "(cached) " >&6
   18739 else case e in #(
   18740   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18741 /* end confdefs.h.  */
   18742 int i;
   18743 _ACEOF
   18744 if ac_fn_c_try_compile "$LINENO"
   18745 then :
   18746   xorg_cv_cc_flag_unused_command_line_argument=yes
   18747 else case e in #(
   18748   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18749 esac
   18750 fi
   18751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18752 esac
   18753 fi
   18754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18755 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18757 	CFLAGS="$xorg_testset_save_CFLAGS"
   18758 fi
   18759 
   18760 found="no"
   18761 
   18762 	if test $found = "no" ; then
   18763 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18765 		fi
   18766 
   18767 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18769 		fi
   18770 
   18771 		CFLAGS="$CFLAGS -Wnonnull"
   18772 
   18773 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18774 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18775 		cacheid=xorg_cv_cc_flag__Wnonnull
   18776 		if eval test \${$cacheid+y}
   18777 then :
   18778   printf %s "(cached) " >&6
   18779 else case e in #(
   18780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18781 /* end confdefs.h.  */
   18782 int i;
   18783 int
   18784 main (void)
   18785 {
   18786 
   18787   ;
   18788   return 0;
   18789 }
   18790 _ACEOF
   18791 if ac_fn_c_try_link "$LINENO"
   18792 then :
   18793   eval $cacheid=yes
   18794 else case e in #(
   18795   e) eval $cacheid=no ;;
   18796 esac
   18797 fi
   18798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18799     conftest$ac_exeext conftest.$ac_ext ;;
   18800 esac
   18801 fi
   18802 
   18803 
   18804 		CFLAGS="$xorg_testset_save_CFLAGS"
   18805 
   18806 		eval supported=\$$cacheid
   18807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18808 printf "%s\n" "$supported" >&6; }
   18809 		if test "$supported" = "yes" ; then
   18810 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18811 			found="yes"
   18812 		fi
   18813 	fi
   18814 
   18815 
   18816 
   18817 
   18818 
   18819 
   18820 
   18821 
   18822 
   18823 
   18824 
   18825 
   18826 
   18827 
   18828 
   18829 xorg_testset_save_CFLAGS="$CFLAGS"
   18830 
   18831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18833 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18834 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18835 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18836 then :
   18837   printf %s "(cached) " >&6
   18838 else case e in #(
   18839   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18840 /* end confdefs.h.  */
   18841 int i;
   18842 _ACEOF
   18843 if ac_fn_c_try_compile "$LINENO"
   18844 then :
   18845   xorg_cv_cc_flag_unknown_warning_option=yes
   18846 else case e in #(
   18847   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18848 esac
   18849 fi
   18850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18851 esac
   18852 fi
   18853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18854 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18855 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18856 	CFLAGS="$xorg_testset_save_CFLAGS"
   18857 fi
   18858 
   18859 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18860 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18861 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18862 	fi
   18863 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18864 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18865 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18866 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18867 then :
   18868   printf %s "(cached) " >&6
   18869 else case e in #(
   18870   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18871 /* end confdefs.h.  */
   18872 int i;
   18873 _ACEOF
   18874 if ac_fn_c_try_compile "$LINENO"
   18875 then :
   18876   xorg_cv_cc_flag_unused_command_line_argument=yes
   18877 else case e in #(
   18878   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18879 esac
   18880 fi
   18881 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18882 esac
   18883 fi
   18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18885 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18886 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18887 	CFLAGS="$xorg_testset_save_CFLAGS"
   18888 fi
   18889 
   18890 found="no"
   18891 
   18892 	if test $found = "no" ; then
   18893 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18894 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18895 		fi
   18896 
   18897 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18898 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18899 		fi
   18900 
   18901 		CFLAGS="$CFLAGS -Winit-self"
   18902 
   18903 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18904 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18905 		cacheid=xorg_cv_cc_flag__Winit_self
   18906 		if eval test \${$cacheid+y}
   18907 then :
   18908   printf %s "(cached) " >&6
   18909 else case e in #(
   18910   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18911 /* end confdefs.h.  */
   18912 int i;
   18913 int
   18914 main (void)
   18915 {
   18916 
   18917   ;
   18918   return 0;
   18919 }
   18920 _ACEOF
   18921 if ac_fn_c_try_link "$LINENO"
   18922 then :
   18923   eval $cacheid=yes
   18924 else case e in #(
   18925   e) eval $cacheid=no ;;
   18926 esac
   18927 fi
   18928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18929     conftest$ac_exeext conftest.$ac_ext ;;
   18930 esac
   18931 fi
   18932 
   18933 
   18934 		CFLAGS="$xorg_testset_save_CFLAGS"
   18935 
   18936 		eval supported=\$$cacheid
   18937 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18938 printf "%s\n" "$supported" >&6; }
   18939 		if test "$supported" = "yes" ; then
   18940 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18941 			found="yes"
   18942 		fi
   18943 	fi
   18944 
   18945 
   18946 
   18947 
   18948 
   18949 
   18950 
   18951 
   18952 
   18953 
   18954 
   18955 
   18956 
   18957 
   18958 
   18959 xorg_testset_save_CFLAGS="$CFLAGS"
   18960 
   18961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18963 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18964 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18965 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18966 then :
   18967   printf %s "(cached) " >&6
   18968 else case e in #(
   18969   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18970 /* end confdefs.h.  */
   18971 int i;
   18972 _ACEOF
   18973 if ac_fn_c_try_compile "$LINENO"
   18974 then :
   18975   xorg_cv_cc_flag_unknown_warning_option=yes
   18976 else case e in #(
   18977   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18978 esac
   18979 fi
   18980 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18981 esac
   18982 fi
   18983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18984 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18986 	CFLAGS="$xorg_testset_save_CFLAGS"
   18987 fi
   18988 
   18989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18992 	fi
   18993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18995 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18996 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18997 then :
   18998   printf %s "(cached) " >&6
   18999 else case e in #(
   19000   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19001 /* end confdefs.h.  */
   19002 int i;
   19003 _ACEOF
   19004 if ac_fn_c_try_compile "$LINENO"
   19005 then :
   19006   xorg_cv_cc_flag_unused_command_line_argument=yes
   19007 else case e in #(
   19008   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19009 esac
   19010 fi
   19011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19012 esac
   19013 fi
   19014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19015 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19017 	CFLAGS="$xorg_testset_save_CFLAGS"
   19018 fi
   19019 
   19020 found="no"
   19021 
   19022 	if test $found = "no" ; then
   19023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19025 		fi
   19026 
   19027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19029 		fi
   19030 
   19031 		CFLAGS="$CFLAGS -Wmain"
   19032 
   19033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   19034 printf %s "checking if $CC supports -Wmain... " >&6; }
   19035 		cacheid=xorg_cv_cc_flag__Wmain
   19036 		if eval test \${$cacheid+y}
   19037 then :
   19038   printf %s "(cached) " >&6
   19039 else case e in #(
   19040   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19041 /* end confdefs.h.  */
   19042 int i;
   19043 int
   19044 main (void)
   19045 {
   19046 
   19047   ;
   19048   return 0;
   19049 }
   19050 _ACEOF
   19051 if ac_fn_c_try_link "$LINENO"
   19052 then :
   19053   eval $cacheid=yes
   19054 else case e in #(
   19055   e) eval $cacheid=no ;;
   19056 esac
   19057 fi
   19058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19059     conftest$ac_exeext conftest.$ac_ext ;;
   19060 esac
   19061 fi
   19062 
   19063 
   19064 		CFLAGS="$xorg_testset_save_CFLAGS"
   19065 
   19066 		eval supported=\$$cacheid
   19067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19068 printf "%s\n" "$supported" >&6; }
   19069 		if test "$supported" = "yes" ; then
   19070 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   19071 			found="yes"
   19072 		fi
   19073 	fi
   19074 
   19075 
   19076 
   19077 
   19078 
   19079 
   19080 
   19081 
   19082 
   19083 
   19084 
   19085 
   19086 
   19087 
   19088 
   19089 xorg_testset_save_CFLAGS="$CFLAGS"
   19090 
   19091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19093 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19094 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19095 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19096 then :
   19097   printf %s "(cached) " >&6
   19098 else case e in #(
   19099   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19100 /* end confdefs.h.  */
   19101 int i;
   19102 _ACEOF
   19103 if ac_fn_c_try_compile "$LINENO"
   19104 then :
   19105   xorg_cv_cc_flag_unknown_warning_option=yes
   19106 else case e in #(
   19107   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19108 esac
   19109 fi
   19110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19111 esac
   19112 fi
   19113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19114 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19115 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19116 	CFLAGS="$xorg_testset_save_CFLAGS"
   19117 fi
   19118 
   19119 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19120 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19121 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19122 	fi
   19123 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19124 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19125 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19126 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19127 then :
   19128   printf %s "(cached) " >&6
   19129 else case e in #(
   19130   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19131 /* end confdefs.h.  */
   19132 int i;
   19133 _ACEOF
   19134 if ac_fn_c_try_compile "$LINENO"
   19135 then :
   19136   xorg_cv_cc_flag_unused_command_line_argument=yes
   19137 else case e in #(
   19138   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19139 esac
   19140 fi
   19141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19142 esac
   19143 fi
   19144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19145 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19147 	CFLAGS="$xorg_testset_save_CFLAGS"
   19148 fi
   19149 
   19150 found="no"
   19151 
   19152 	if test $found = "no" ; then
   19153 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19155 		fi
   19156 
   19157 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19159 		fi
   19160 
   19161 		CFLAGS="$CFLAGS -Wmissing-braces"
   19162 
   19163 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   19164 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   19165 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   19166 		if eval test \${$cacheid+y}
   19167 then :
   19168   printf %s "(cached) " >&6
   19169 else case e in #(
   19170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19171 /* end confdefs.h.  */
   19172 int i;
   19173 int
   19174 main (void)
   19175 {
   19176 
   19177   ;
   19178   return 0;
   19179 }
   19180 _ACEOF
   19181 if ac_fn_c_try_link "$LINENO"
   19182 then :
   19183   eval $cacheid=yes
   19184 else case e in #(
   19185   e) eval $cacheid=no ;;
   19186 esac
   19187 fi
   19188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19189     conftest$ac_exeext conftest.$ac_ext ;;
   19190 esac
   19191 fi
   19192 
   19193 
   19194 		CFLAGS="$xorg_testset_save_CFLAGS"
   19195 
   19196 		eval supported=\$$cacheid
   19197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19198 printf "%s\n" "$supported" >&6; }
   19199 		if test "$supported" = "yes" ; then
   19200 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   19201 			found="yes"
   19202 		fi
   19203 	fi
   19204 
   19205 
   19206 
   19207 
   19208 
   19209 
   19210 
   19211 
   19212 
   19213 
   19214 
   19215 
   19216 
   19217 
   19218 
   19219 xorg_testset_save_CFLAGS="$CFLAGS"
   19220 
   19221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19223 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19224 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19225 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19226 then :
   19227   printf %s "(cached) " >&6
   19228 else case e in #(
   19229   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19230 /* end confdefs.h.  */
   19231 int i;
   19232 _ACEOF
   19233 if ac_fn_c_try_compile "$LINENO"
   19234 then :
   19235   xorg_cv_cc_flag_unknown_warning_option=yes
   19236 else case e in #(
   19237   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19238 esac
   19239 fi
   19240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19241 esac
   19242 fi
   19243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19244 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19246 	CFLAGS="$xorg_testset_save_CFLAGS"
   19247 fi
   19248 
   19249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19252 	fi
   19253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19254 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19255 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19256 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19257 then :
   19258   printf %s "(cached) " >&6
   19259 else case e in #(
   19260   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19261 /* end confdefs.h.  */
   19262 int i;
   19263 _ACEOF
   19264 if ac_fn_c_try_compile "$LINENO"
   19265 then :
   19266   xorg_cv_cc_flag_unused_command_line_argument=yes
   19267 else case e in #(
   19268   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19269 esac
   19270 fi
   19271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19272 esac
   19273 fi
   19274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19275 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19277 	CFLAGS="$xorg_testset_save_CFLAGS"
   19278 fi
   19279 
   19280 found="no"
   19281 
   19282 	if test $found = "no" ; then
   19283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19285 		fi
   19286 
   19287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19289 		fi
   19290 
   19291 		CFLAGS="$CFLAGS -Wsequence-point"
   19292 
   19293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   19294 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   19295 		cacheid=xorg_cv_cc_flag__Wsequence_point
   19296 		if eval test \${$cacheid+y}
   19297 then :
   19298   printf %s "(cached) " >&6
   19299 else case e in #(
   19300   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19301 /* end confdefs.h.  */
   19302 int i;
   19303 int
   19304 main (void)
   19305 {
   19306 
   19307   ;
   19308   return 0;
   19309 }
   19310 _ACEOF
   19311 if ac_fn_c_try_link "$LINENO"
   19312 then :
   19313   eval $cacheid=yes
   19314 else case e in #(
   19315   e) eval $cacheid=no ;;
   19316 esac
   19317 fi
   19318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19319     conftest$ac_exeext conftest.$ac_ext ;;
   19320 esac
   19321 fi
   19322 
   19323 
   19324 		CFLAGS="$xorg_testset_save_CFLAGS"
   19325 
   19326 		eval supported=\$$cacheid
   19327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19328 printf "%s\n" "$supported" >&6; }
   19329 		if test "$supported" = "yes" ; then
   19330 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   19331 			found="yes"
   19332 		fi
   19333 	fi
   19334 
   19335 
   19336 
   19337 
   19338 
   19339 
   19340 
   19341 
   19342 
   19343 
   19344 
   19345 
   19346 
   19347 
   19348 
   19349 xorg_testset_save_CFLAGS="$CFLAGS"
   19350 
   19351 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19352 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19354 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19355 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19356 then :
   19357   printf %s "(cached) " >&6
   19358 else case e in #(
   19359   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19360 /* end confdefs.h.  */
   19361 int i;
   19362 _ACEOF
   19363 if ac_fn_c_try_compile "$LINENO"
   19364 then :
   19365   xorg_cv_cc_flag_unknown_warning_option=yes
   19366 else case e in #(
   19367   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19368 esac
   19369 fi
   19370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19371 esac
   19372 fi
   19373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19374 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19376 	CFLAGS="$xorg_testset_save_CFLAGS"
   19377 fi
   19378 
   19379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19382 	fi
   19383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19384 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19385 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19386 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19387 then :
   19388   printf %s "(cached) " >&6
   19389 else case e in #(
   19390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19391 /* end confdefs.h.  */
   19392 int i;
   19393 _ACEOF
   19394 if ac_fn_c_try_compile "$LINENO"
   19395 then :
   19396   xorg_cv_cc_flag_unused_command_line_argument=yes
   19397 else case e in #(
   19398   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19399 esac
   19400 fi
   19401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19402 esac
   19403 fi
   19404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19405 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19407 	CFLAGS="$xorg_testset_save_CFLAGS"
   19408 fi
   19409 
   19410 found="no"
   19411 
   19412 	if test $found = "no" ; then
   19413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19415 		fi
   19416 
   19417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19419 		fi
   19420 
   19421 		CFLAGS="$CFLAGS -Wreturn-type"
   19422 
   19423 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   19424 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   19425 		cacheid=xorg_cv_cc_flag__Wreturn_type
   19426 		if eval test \${$cacheid+y}
   19427 then :
   19428   printf %s "(cached) " >&6
   19429 else case e in #(
   19430   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19431 /* end confdefs.h.  */
   19432 int i;
   19433 int
   19434 main (void)
   19435 {
   19436 
   19437   ;
   19438   return 0;
   19439 }
   19440 _ACEOF
   19441 if ac_fn_c_try_link "$LINENO"
   19442 then :
   19443   eval $cacheid=yes
   19444 else case e in #(
   19445   e) eval $cacheid=no ;;
   19446 esac
   19447 fi
   19448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19449     conftest$ac_exeext conftest.$ac_ext ;;
   19450 esac
   19451 fi
   19452 
   19453 
   19454 		CFLAGS="$xorg_testset_save_CFLAGS"
   19455 
   19456 		eval supported=\$$cacheid
   19457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19458 printf "%s\n" "$supported" >&6; }
   19459 		if test "$supported" = "yes" ; then
   19460 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   19461 			found="yes"
   19462 		fi
   19463 	fi
   19464 
   19465 
   19466 
   19467 
   19468 
   19469 
   19470 
   19471 
   19472 
   19473 
   19474 
   19475 
   19476 
   19477 
   19478 
   19479 xorg_testset_save_CFLAGS="$CFLAGS"
   19480 
   19481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19484 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19485 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19486 then :
   19487   printf %s "(cached) " >&6
   19488 else case e in #(
   19489   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19490 /* end confdefs.h.  */
   19491 int i;
   19492 _ACEOF
   19493 if ac_fn_c_try_compile "$LINENO"
   19494 then :
   19495   xorg_cv_cc_flag_unknown_warning_option=yes
   19496 else case e in #(
   19497   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19498 esac
   19499 fi
   19500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19501 esac
   19502 fi
   19503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19504 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19506 	CFLAGS="$xorg_testset_save_CFLAGS"
   19507 fi
   19508 
   19509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19512 	fi
   19513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19514 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19515 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19516 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19517 then :
   19518   printf %s "(cached) " >&6
   19519 else case e in #(
   19520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19521 /* end confdefs.h.  */
   19522 int i;
   19523 _ACEOF
   19524 if ac_fn_c_try_compile "$LINENO"
   19525 then :
   19526   xorg_cv_cc_flag_unused_command_line_argument=yes
   19527 else case e in #(
   19528   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19529 esac
   19530 fi
   19531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19532 esac
   19533 fi
   19534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19535 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19537 	CFLAGS="$xorg_testset_save_CFLAGS"
   19538 fi
   19539 
   19540 found="no"
   19541 
   19542 	if test $found = "no" ; then
   19543 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19545 		fi
   19546 
   19547 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19549 		fi
   19550 
   19551 		CFLAGS="$CFLAGS -Wtrigraphs"
   19552 
   19553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19554 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19555 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19556 		if eval test \${$cacheid+y}
   19557 then :
   19558   printf %s "(cached) " >&6
   19559 else case e in #(
   19560   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19561 /* end confdefs.h.  */
   19562 int i;
   19563 int
   19564 main (void)
   19565 {
   19566 
   19567   ;
   19568   return 0;
   19569 }
   19570 _ACEOF
   19571 if ac_fn_c_try_link "$LINENO"
   19572 then :
   19573   eval $cacheid=yes
   19574 else case e in #(
   19575   e) eval $cacheid=no ;;
   19576 esac
   19577 fi
   19578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19579     conftest$ac_exeext conftest.$ac_ext ;;
   19580 esac
   19581 fi
   19582 
   19583 
   19584 		CFLAGS="$xorg_testset_save_CFLAGS"
   19585 
   19586 		eval supported=\$$cacheid
   19587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19588 printf "%s\n" "$supported" >&6; }
   19589 		if test "$supported" = "yes" ; then
   19590 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19591 			found="yes"
   19592 		fi
   19593 	fi
   19594 
   19595 
   19596 
   19597 
   19598 
   19599 
   19600 
   19601 
   19602 
   19603 
   19604 
   19605 
   19606 
   19607 
   19608 
   19609 xorg_testset_save_CFLAGS="$CFLAGS"
   19610 
   19611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19614 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19615 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19616 then :
   19617   printf %s "(cached) " >&6
   19618 else case e in #(
   19619   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19620 /* end confdefs.h.  */
   19621 int i;
   19622 _ACEOF
   19623 if ac_fn_c_try_compile "$LINENO"
   19624 then :
   19625   xorg_cv_cc_flag_unknown_warning_option=yes
   19626 else case e in #(
   19627   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19628 esac
   19629 fi
   19630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19631 esac
   19632 fi
   19633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19634 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19636 	CFLAGS="$xorg_testset_save_CFLAGS"
   19637 fi
   19638 
   19639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19642 	fi
   19643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19644 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19645 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19646 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19647 then :
   19648   printf %s "(cached) " >&6
   19649 else case e in #(
   19650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19651 /* end confdefs.h.  */
   19652 int i;
   19653 _ACEOF
   19654 if ac_fn_c_try_compile "$LINENO"
   19655 then :
   19656   xorg_cv_cc_flag_unused_command_line_argument=yes
   19657 else case e in #(
   19658   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19659 esac
   19660 fi
   19661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19662 esac
   19663 fi
   19664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19665 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19667 	CFLAGS="$xorg_testset_save_CFLAGS"
   19668 fi
   19669 
   19670 found="no"
   19671 
   19672 	if test $found = "no" ; then
   19673 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19675 		fi
   19676 
   19677 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19679 		fi
   19680 
   19681 		CFLAGS="$CFLAGS -Warray-bounds"
   19682 
   19683 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19684 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19685 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19686 		if eval test \${$cacheid+y}
   19687 then :
   19688   printf %s "(cached) " >&6
   19689 else case e in #(
   19690   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19691 /* end confdefs.h.  */
   19692 int i;
   19693 int
   19694 main (void)
   19695 {
   19696 
   19697   ;
   19698   return 0;
   19699 }
   19700 _ACEOF
   19701 if ac_fn_c_try_link "$LINENO"
   19702 then :
   19703   eval $cacheid=yes
   19704 else case e in #(
   19705   e) eval $cacheid=no ;;
   19706 esac
   19707 fi
   19708 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19709     conftest$ac_exeext conftest.$ac_ext ;;
   19710 esac
   19711 fi
   19712 
   19713 
   19714 		CFLAGS="$xorg_testset_save_CFLAGS"
   19715 
   19716 		eval supported=\$$cacheid
   19717 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19718 printf "%s\n" "$supported" >&6; }
   19719 		if test "$supported" = "yes" ; then
   19720 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19721 			found="yes"
   19722 		fi
   19723 	fi
   19724 
   19725 
   19726 
   19727 
   19728 
   19729 
   19730 
   19731 
   19732 
   19733 
   19734 
   19735 
   19736 
   19737 
   19738 
   19739 xorg_testset_save_CFLAGS="$CFLAGS"
   19740 
   19741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19743 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19744 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19745 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19746 then :
   19747   printf %s "(cached) " >&6
   19748 else case e in #(
   19749   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19750 /* end confdefs.h.  */
   19751 int i;
   19752 _ACEOF
   19753 if ac_fn_c_try_compile "$LINENO"
   19754 then :
   19755   xorg_cv_cc_flag_unknown_warning_option=yes
   19756 else case e in #(
   19757   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19758 esac
   19759 fi
   19760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19761 esac
   19762 fi
   19763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19764 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19766 	CFLAGS="$xorg_testset_save_CFLAGS"
   19767 fi
   19768 
   19769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19772 	fi
   19773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19775 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19776 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19777 then :
   19778   printf %s "(cached) " >&6
   19779 else case e in #(
   19780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19781 /* end confdefs.h.  */
   19782 int i;
   19783 _ACEOF
   19784 if ac_fn_c_try_compile "$LINENO"
   19785 then :
   19786   xorg_cv_cc_flag_unused_command_line_argument=yes
   19787 else case e in #(
   19788   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19789 esac
   19790 fi
   19791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19792 esac
   19793 fi
   19794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19795 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19797 	CFLAGS="$xorg_testset_save_CFLAGS"
   19798 fi
   19799 
   19800 found="no"
   19801 
   19802 	if test $found = "no" ; then
   19803 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19805 		fi
   19806 
   19807 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19809 		fi
   19810 
   19811 		CFLAGS="$CFLAGS -Wwrite-strings"
   19812 
   19813 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19814 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19815 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19816 		if eval test \${$cacheid+y}
   19817 then :
   19818   printf %s "(cached) " >&6
   19819 else case e in #(
   19820   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19821 /* end confdefs.h.  */
   19822 int i;
   19823 int
   19824 main (void)
   19825 {
   19826 
   19827   ;
   19828   return 0;
   19829 }
   19830 _ACEOF
   19831 if ac_fn_c_try_link "$LINENO"
   19832 then :
   19833   eval $cacheid=yes
   19834 else case e in #(
   19835   e) eval $cacheid=no ;;
   19836 esac
   19837 fi
   19838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19839     conftest$ac_exeext conftest.$ac_ext ;;
   19840 esac
   19841 fi
   19842 
   19843 
   19844 		CFLAGS="$xorg_testset_save_CFLAGS"
   19845 
   19846 		eval supported=\$$cacheid
   19847 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19848 printf "%s\n" "$supported" >&6; }
   19849 		if test "$supported" = "yes" ; then
   19850 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19851 			found="yes"
   19852 		fi
   19853 	fi
   19854 
   19855 
   19856 
   19857 
   19858 
   19859 
   19860 
   19861 
   19862 
   19863 
   19864 
   19865 
   19866 
   19867 
   19868 
   19869 xorg_testset_save_CFLAGS="$CFLAGS"
   19870 
   19871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19873 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19874 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19875 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19876 then :
   19877   printf %s "(cached) " >&6
   19878 else case e in #(
   19879   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19880 /* end confdefs.h.  */
   19881 int i;
   19882 _ACEOF
   19883 if ac_fn_c_try_compile "$LINENO"
   19884 then :
   19885   xorg_cv_cc_flag_unknown_warning_option=yes
   19886 else case e in #(
   19887   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19888 esac
   19889 fi
   19890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19891 esac
   19892 fi
   19893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19894 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19896 	CFLAGS="$xorg_testset_save_CFLAGS"
   19897 fi
   19898 
   19899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19902 	fi
   19903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19904 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19905 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19906 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19907 then :
   19908   printf %s "(cached) " >&6
   19909 else case e in #(
   19910   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19911 /* end confdefs.h.  */
   19912 int i;
   19913 _ACEOF
   19914 if ac_fn_c_try_compile "$LINENO"
   19915 then :
   19916   xorg_cv_cc_flag_unused_command_line_argument=yes
   19917 else case e in #(
   19918   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19919 esac
   19920 fi
   19921 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19922 esac
   19923 fi
   19924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19925 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19927 	CFLAGS="$xorg_testset_save_CFLAGS"
   19928 fi
   19929 
   19930 found="no"
   19931 
   19932 	if test $found = "no" ; then
   19933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19935 		fi
   19936 
   19937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19939 		fi
   19940 
   19941 		CFLAGS="$CFLAGS -Waddress"
   19942 
   19943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19944 printf %s "checking if $CC supports -Waddress... " >&6; }
   19945 		cacheid=xorg_cv_cc_flag__Waddress
   19946 		if eval test \${$cacheid+y}
   19947 then :
   19948   printf %s "(cached) " >&6
   19949 else case e in #(
   19950   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19951 /* end confdefs.h.  */
   19952 int i;
   19953 int
   19954 main (void)
   19955 {
   19956 
   19957   ;
   19958   return 0;
   19959 }
   19960 _ACEOF
   19961 if ac_fn_c_try_link "$LINENO"
   19962 then :
   19963   eval $cacheid=yes
   19964 else case e in #(
   19965   e) eval $cacheid=no ;;
   19966 esac
   19967 fi
   19968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19969     conftest$ac_exeext conftest.$ac_ext ;;
   19970 esac
   19971 fi
   19972 
   19973 
   19974 		CFLAGS="$xorg_testset_save_CFLAGS"
   19975 
   19976 		eval supported=\$$cacheid
   19977 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19978 printf "%s\n" "$supported" >&6; }
   19979 		if test "$supported" = "yes" ; then
   19980 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19981 			found="yes"
   19982 		fi
   19983 	fi
   19984 
   19985 
   19986 
   19987 
   19988 
   19989 
   19990 
   19991 
   19992 
   19993 
   19994 
   19995 
   19996 
   19997 
   19998 
   19999 xorg_testset_save_CFLAGS="$CFLAGS"
   20000 
   20001 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20002 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20003 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20004 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20005 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20006 then :
   20007   printf %s "(cached) " >&6
   20008 else case e in #(
   20009   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20010 /* end confdefs.h.  */
   20011 int i;
   20012 _ACEOF
   20013 if ac_fn_c_try_compile "$LINENO"
   20014 then :
   20015   xorg_cv_cc_flag_unknown_warning_option=yes
   20016 else case e in #(
   20017   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20018 esac
   20019 fi
   20020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20021 esac
   20022 fi
   20023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20024 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20026 	CFLAGS="$xorg_testset_save_CFLAGS"
   20027 fi
   20028 
   20029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20032 	fi
   20033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20034 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20035 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20036 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20037 then :
   20038   printf %s "(cached) " >&6
   20039 else case e in #(
   20040   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20041 /* end confdefs.h.  */
   20042 int i;
   20043 _ACEOF
   20044 if ac_fn_c_try_compile "$LINENO"
   20045 then :
   20046   xorg_cv_cc_flag_unused_command_line_argument=yes
   20047 else case e in #(
   20048   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20049 esac
   20050 fi
   20051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20052 esac
   20053 fi
   20054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20055 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20057 	CFLAGS="$xorg_testset_save_CFLAGS"
   20058 fi
   20059 
   20060 found="no"
   20061 
   20062 	if test $found = "no" ; then
   20063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20065 		fi
   20066 
   20067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20069 		fi
   20070 
   20071 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   20072 
   20073 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   20074 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   20075 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   20076 		if eval test \${$cacheid+y}
   20077 then :
   20078   printf %s "(cached) " >&6
   20079 else case e in #(
   20080   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20081 /* end confdefs.h.  */
   20082 int i;
   20083 int
   20084 main (void)
   20085 {
   20086 
   20087   ;
   20088   return 0;
   20089 }
   20090 _ACEOF
   20091 if ac_fn_c_try_link "$LINENO"
   20092 then :
   20093   eval $cacheid=yes
   20094 else case e in #(
   20095   e) eval $cacheid=no ;;
   20096 esac
   20097 fi
   20098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20099     conftest$ac_exeext conftest.$ac_ext ;;
   20100 esac
   20101 fi
   20102 
   20103 
   20104 		CFLAGS="$xorg_testset_save_CFLAGS"
   20105 
   20106 		eval supported=\$$cacheid
   20107 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20108 printf "%s\n" "$supported" >&6; }
   20109 		if test "$supported" = "yes" ; then
   20110 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   20111 			found="yes"
   20112 		fi
   20113 	fi
   20114 
   20115 
   20116 
   20117 
   20118 
   20119 
   20120 
   20121 
   20122 
   20123 
   20124 
   20125 
   20126 
   20127 
   20128 
   20129 xorg_testset_save_CFLAGS="$CFLAGS"
   20130 
   20131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20133 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20134 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20135 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20136 then :
   20137   printf %s "(cached) " >&6
   20138 else case e in #(
   20139   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20140 /* end confdefs.h.  */
   20141 int i;
   20142 _ACEOF
   20143 if ac_fn_c_try_compile "$LINENO"
   20144 then :
   20145   xorg_cv_cc_flag_unknown_warning_option=yes
   20146 else case e in #(
   20147   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20148 esac
   20149 fi
   20150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20151 esac
   20152 fi
   20153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20154 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20155 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20156 	CFLAGS="$xorg_testset_save_CFLAGS"
   20157 fi
   20158 
   20159 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20160 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20162 	fi
   20163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20165 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20166 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20167 then :
   20168   printf %s "(cached) " >&6
   20169 else case e in #(
   20170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20171 /* end confdefs.h.  */
   20172 int i;
   20173 _ACEOF
   20174 if ac_fn_c_try_compile "$LINENO"
   20175 then :
   20176   xorg_cv_cc_flag_unused_command_line_argument=yes
   20177 else case e in #(
   20178   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20179 esac
   20180 fi
   20181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20182 esac
   20183 fi
   20184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20185 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20187 	CFLAGS="$xorg_testset_save_CFLAGS"
   20188 fi
   20189 
   20190 found="no"
   20191 
   20192 	if test $found = "no" ; then
   20193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20195 		fi
   20196 
   20197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20199 		fi
   20200 
   20201 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   20202 
   20203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   20204 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   20205 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   20206 		if eval test \${$cacheid+y}
   20207 then :
   20208   printf %s "(cached) " >&6
   20209 else case e in #(
   20210   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20211 /* end confdefs.h.  */
   20212 int i;
   20213 int
   20214 main (void)
   20215 {
   20216 
   20217   ;
   20218   return 0;
   20219 }
   20220 _ACEOF
   20221 if ac_fn_c_try_link "$LINENO"
   20222 then :
   20223   eval $cacheid=yes
   20224 else case e in #(
   20225   e) eval $cacheid=no ;;
   20226 esac
   20227 fi
   20228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20229     conftest$ac_exeext conftest.$ac_ext ;;
   20230 esac
   20231 fi
   20232 
   20233 
   20234 		CFLAGS="$xorg_testset_save_CFLAGS"
   20235 
   20236 		eval supported=\$$cacheid
   20237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20238 printf "%s\n" "$supported" >&6; }
   20239 		if test "$supported" = "yes" ; then
   20240 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   20241 			found="yes"
   20242 		fi
   20243 	fi
   20244 
   20245 
   20246 fi
   20247 
   20248 
   20249 
   20250 
   20251 
   20252 
   20253 
   20254 		CWARNFLAGS="$BASE_CFLAGS"
   20255 		if  test "x$GCC" = xyes ; then
   20256 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   20257 		fi
   20258 
   20259 
   20260 
   20261 
   20262 
   20263 
   20264 
   20265 
   20266 # Check whether --enable-strict-compilation was given.
   20267 if test ${enable_strict_compilation+y}
   20268 then :
   20269   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20270 else case e in #(
   20271   e) STRICT_COMPILE=no ;;
   20272 esac
   20273 fi
   20274 
   20275 
   20276 
   20277 
   20278 
   20279 
   20280 STRICT_CFLAGS=""
   20281 
   20282 
   20283 
   20284 
   20285 
   20286 
   20287 
   20288 
   20289 
   20290 
   20291 
   20292 
   20293 
   20294 xorg_testset_save_CFLAGS="$CFLAGS"
   20295 
   20296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20298 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20299 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20300 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20301 then :
   20302   printf %s "(cached) " >&6
   20303 else case e in #(
   20304   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20305 /* end confdefs.h.  */
   20306 int i;
   20307 _ACEOF
   20308 if ac_fn_c_try_compile "$LINENO"
   20309 then :
   20310   xorg_cv_cc_flag_unknown_warning_option=yes
   20311 else case e in #(
   20312   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20313 esac
   20314 fi
   20315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20316 esac
   20317 fi
   20318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20319 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20320 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20321 	CFLAGS="$xorg_testset_save_CFLAGS"
   20322 fi
   20323 
   20324 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20325 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20326 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20327 	fi
   20328 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20329 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20330 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20331 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20332 then :
   20333   printf %s "(cached) " >&6
   20334 else case e in #(
   20335   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20336 /* end confdefs.h.  */
   20337 int i;
   20338 _ACEOF
   20339 if ac_fn_c_try_compile "$LINENO"
   20340 then :
   20341   xorg_cv_cc_flag_unused_command_line_argument=yes
   20342 else case e in #(
   20343   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20344 esac
   20345 fi
   20346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20347 esac
   20348 fi
   20349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20350 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20351 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20352 	CFLAGS="$xorg_testset_save_CFLAGS"
   20353 fi
   20354 
   20355 found="no"
   20356 
   20357 	if test $found = "no" ; then
   20358 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20359 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20360 		fi
   20361 
   20362 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20363 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20364 		fi
   20365 
   20366 		CFLAGS="$CFLAGS -pedantic"
   20367 
   20368 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   20369 printf %s "checking if $CC supports -pedantic... " >&6; }
   20370 		cacheid=xorg_cv_cc_flag__pedantic
   20371 		if eval test \${$cacheid+y}
   20372 then :
   20373   printf %s "(cached) " >&6
   20374 else case e in #(
   20375   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20376 /* end confdefs.h.  */
   20377 int i;
   20378 int
   20379 main (void)
   20380 {
   20381 
   20382   ;
   20383   return 0;
   20384 }
   20385 _ACEOF
   20386 if ac_fn_c_try_link "$LINENO"
   20387 then :
   20388   eval $cacheid=yes
   20389 else case e in #(
   20390   e) eval $cacheid=no ;;
   20391 esac
   20392 fi
   20393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20394     conftest$ac_exeext conftest.$ac_ext ;;
   20395 esac
   20396 fi
   20397 
   20398 
   20399 		CFLAGS="$xorg_testset_save_CFLAGS"
   20400 
   20401 		eval supported=\$$cacheid
   20402 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20403 printf "%s\n" "$supported" >&6; }
   20404 		if test "$supported" = "yes" ; then
   20405 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   20406 			found="yes"
   20407 		fi
   20408 	fi
   20409 
   20410 
   20411 
   20412 
   20413 
   20414 
   20415 
   20416 
   20417 
   20418 
   20419 
   20420 
   20421 
   20422 
   20423 
   20424 xorg_testset_save_CFLAGS="$CFLAGS"
   20425 
   20426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20429 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20430 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20431 then :
   20432   printf %s "(cached) " >&6
   20433 else case e in #(
   20434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20435 /* end confdefs.h.  */
   20436 int i;
   20437 _ACEOF
   20438 if ac_fn_c_try_compile "$LINENO"
   20439 then :
   20440   xorg_cv_cc_flag_unknown_warning_option=yes
   20441 else case e in #(
   20442   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20443 esac
   20444 fi
   20445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20446 esac
   20447 fi
   20448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20449 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20451 	CFLAGS="$xorg_testset_save_CFLAGS"
   20452 fi
   20453 
   20454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20457 	fi
   20458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20459 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20460 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20461 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20462 then :
   20463   printf %s "(cached) " >&6
   20464 else case e in #(
   20465   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20466 /* end confdefs.h.  */
   20467 int i;
   20468 _ACEOF
   20469 if ac_fn_c_try_compile "$LINENO"
   20470 then :
   20471   xorg_cv_cc_flag_unused_command_line_argument=yes
   20472 else case e in #(
   20473   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20474 esac
   20475 fi
   20476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20477 esac
   20478 fi
   20479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20480 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20481 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20482 	CFLAGS="$xorg_testset_save_CFLAGS"
   20483 fi
   20484 
   20485 found="no"
   20486 
   20487 	if test $found = "no" ; then
   20488 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20489 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20490 		fi
   20491 
   20492 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20493 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20494 		fi
   20495 
   20496 		CFLAGS="$CFLAGS -Werror"
   20497 
   20498 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20499 printf %s "checking if $CC supports -Werror... " >&6; }
   20500 		cacheid=xorg_cv_cc_flag__Werror
   20501 		if eval test \${$cacheid+y}
   20502 then :
   20503   printf %s "(cached) " >&6
   20504 else case e in #(
   20505   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20506 /* end confdefs.h.  */
   20507 int i;
   20508 int
   20509 main (void)
   20510 {
   20511 
   20512   ;
   20513   return 0;
   20514 }
   20515 _ACEOF
   20516 if ac_fn_c_try_link "$LINENO"
   20517 then :
   20518   eval $cacheid=yes
   20519 else case e in #(
   20520   e) eval $cacheid=no ;;
   20521 esac
   20522 fi
   20523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20524     conftest$ac_exeext conftest.$ac_ext ;;
   20525 esac
   20526 fi
   20527 
   20528 
   20529 		CFLAGS="$xorg_testset_save_CFLAGS"
   20530 
   20531 		eval supported=\$$cacheid
   20532 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20533 printf "%s\n" "$supported" >&6; }
   20534 		if test "$supported" = "yes" ; then
   20535 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20536 			found="yes"
   20537 		fi
   20538 	fi
   20539 
   20540 	if test $found = "no" ; then
   20541 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20543 		fi
   20544 
   20545 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20547 		fi
   20548 
   20549 		CFLAGS="$CFLAGS -errwarn"
   20550 
   20551 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20552 printf %s "checking if $CC supports -errwarn... " >&6; }
   20553 		cacheid=xorg_cv_cc_flag__errwarn
   20554 		if eval test \${$cacheid+y}
   20555 then :
   20556   printf %s "(cached) " >&6
   20557 else case e in #(
   20558   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20559 /* end confdefs.h.  */
   20560 int i;
   20561 int
   20562 main (void)
   20563 {
   20564 
   20565   ;
   20566   return 0;
   20567 }
   20568 _ACEOF
   20569 if ac_fn_c_try_link "$LINENO"
   20570 then :
   20571   eval $cacheid=yes
   20572 else case e in #(
   20573   e) eval $cacheid=no ;;
   20574 esac
   20575 fi
   20576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20577     conftest$ac_exeext conftest.$ac_ext ;;
   20578 esac
   20579 fi
   20580 
   20581 
   20582 		CFLAGS="$xorg_testset_save_CFLAGS"
   20583 
   20584 		eval supported=\$$cacheid
   20585 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20586 printf "%s\n" "$supported" >&6; }
   20587 		if test "$supported" = "yes" ; then
   20588 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20589 			found="yes"
   20590 		fi
   20591 	fi
   20592 
   20593 
   20594 
   20595 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20596 # activate it with -Werror, so we add it here explicitly.
   20597 
   20598 
   20599 
   20600 
   20601 
   20602 
   20603 
   20604 
   20605 
   20606 
   20607 
   20608 
   20609 
   20610 xorg_testset_save_CFLAGS="$CFLAGS"
   20611 
   20612 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20613 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20615 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20616 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20617 then :
   20618   printf %s "(cached) " >&6
   20619 else case e in #(
   20620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20621 /* end confdefs.h.  */
   20622 int i;
   20623 _ACEOF
   20624 if ac_fn_c_try_compile "$LINENO"
   20625 then :
   20626   xorg_cv_cc_flag_unknown_warning_option=yes
   20627 else case e in #(
   20628   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20629 esac
   20630 fi
   20631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20632 esac
   20633 fi
   20634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20635 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20637 	CFLAGS="$xorg_testset_save_CFLAGS"
   20638 fi
   20639 
   20640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20643 	fi
   20644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20645 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20646 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20647 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20648 then :
   20649   printf %s "(cached) " >&6
   20650 else case e in #(
   20651   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20652 /* end confdefs.h.  */
   20653 int i;
   20654 _ACEOF
   20655 if ac_fn_c_try_compile "$LINENO"
   20656 then :
   20657   xorg_cv_cc_flag_unused_command_line_argument=yes
   20658 else case e in #(
   20659   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20660 esac
   20661 fi
   20662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20663 esac
   20664 fi
   20665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20666 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20667 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20668 	CFLAGS="$xorg_testset_save_CFLAGS"
   20669 fi
   20670 
   20671 found="no"
   20672 
   20673 	if test $found = "no" ; then
   20674 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20675 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20676 		fi
   20677 
   20678 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20679 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20680 		fi
   20681 
   20682 		CFLAGS="$CFLAGS -Werror=attributes"
   20683 
   20684 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20685 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20686 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20687 		if eval test \${$cacheid+y}
   20688 then :
   20689   printf %s "(cached) " >&6
   20690 else case e in #(
   20691   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20692 /* end confdefs.h.  */
   20693 int i;
   20694 int
   20695 main (void)
   20696 {
   20697 
   20698   ;
   20699   return 0;
   20700 }
   20701 _ACEOF
   20702 if ac_fn_c_try_link "$LINENO"
   20703 then :
   20704   eval $cacheid=yes
   20705 else case e in #(
   20706   e) eval $cacheid=no ;;
   20707 esac
   20708 fi
   20709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20710     conftest$ac_exeext conftest.$ac_ext ;;
   20711 esac
   20712 fi
   20713 
   20714 
   20715 		CFLAGS="$xorg_testset_save_CFLAGS"
   20716 
   20717 		eval supported=\$$cacheid
   20718 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20719 printf "%s\n" "$supported" >&6; }
   20720 		if test "$supported" = "yes" ; then
   20721 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20722 			found="yes"
   20723 		fi
   20724 	fi
   20725 
   20726 
   20727 
   20728 if test "x$STRICT_COMPILE" = "xyes"; then
   20729     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20730     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20731 fi
   20732 
   20733 
   20734 
   20735 
   20736 
   20737 
   20738 
   20739 
   20740 cat >>confdefs.h <<_ACEOF
   20741 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20742 _ACEOF
   20743 
   20744 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20745 	if test "x$PVM" = "x"; then
   20746 		PVM="0"
   20747 	fi
   20748 
   20749 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20750 
   20751 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20752 	if test "x$PVP" = "x"; then
   20753 		PVP="0"
   20754 	fi
   20755 
   20756 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20757 
   20758 
   20759 
   20760 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20761 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20762 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20763 touch \$(top_srcdir)/ChangeLog; \
   20764 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20765 
   20766 
   20767 
   20768 
   20769 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20770 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20771 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20772 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20773 touch \$(top_srcdir)/INSTALL; \
   20774 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20775 
   20776 
   20777 
   20778 
   20779 
   20780 
   20781 case $host_os in
   20782     solaris*)
   20783         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20784         # check for a man page file found in later versions that use
   20785         # traditional section numbers instead
   20786         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20787 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20788 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20789 then :
   20790   printf %s "(cached) " >&6
   20791 else case e in #(
   20792   e) test "$cross_compiling" = yes &&
   20793   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20794 if test -r "/usr/share/man/man7/attributes.7"; then
   20795   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20796 else
   20797   ac_cv_file__usr_share_man_man7_attributes_7=no
   20798 fi ;;
   20799 esac
   20800 fi
   20801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20802 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20803 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20804 then :
   20805   SYSV_MAN_SECTIONS=false
   20806 else case e in #(
   20807   e) SYSV_MAN_SECTIONS=true ;;
   20808 esac
   20809 fi
   20810 
   20811         ;;
   20812     *) SYSV_MAN_SECTIONS=false ;;
   20813 esac
   20814 
   20815 if test x$APP_MAN_SUFFIX = x    ; then
   20816     APP_MAN_SUFFIX=1
   20817 fi
   20818 if test x$APP_MAN_DIR = x    ; then
   20819     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20820 fi
   20821 
   20822 if test x$LIB_MAN_SUFFIX = x    ; then
   20823     LIB_MAN_SUFFIX=3
   20824 fi
   20825 if test x$LIB_MAN_DIR = x    ; then
   20826     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20827 fi
   20828 
   20829 if test x$FILE_MAN_SUFFIX = x    ; then
   20830     case $SYSV_MAN_SECTIONS in
   20831 	true)				FILE_MAN_SUFFIX=4  ;;
   20832 	*)				FILE_MAN_SUFFIX=5  ;;
   20833     esac
   20834 fi
   20835 if test x$FILE_MAN_DIR = x    ; then
   20836     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20837 fi
   20838 
   20839 if test x$MISC_MAN_SUFFIX = x    ; then
   20840     case $SYSV_MAN_SECTIONS in
   20841 	true)				MISC_MAN_SUFFIX=5  ;;
   20842 	*)				MISC_MAN_SUFFIX=7  ;;
   20843     esac
   20844 fi
   20845 if test x$MISC_MAN_DIR = x    ; then
   20846     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20847 fi
   20848 
   20849 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20850     case $SYSV_MAN_SECTIONS in
   20851 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20852 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20853     esac
   20854 fi
   20855 if test x$DRIVER_MAN_DIR = x    ; then
   20856     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20857 fi
   20858 
   20859 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20860     case $SYSV_MAN_SECTIONS in
   20861 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20862 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20863     esac
   20864 fi
   20865 if test x$ADMIN_MAN_DIR = x    ; then
   20866     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20867 fi
   20868 
   20869 
   20870 
   20871 
   20872 
   20873 
   20874 
   20875 
   20876 
   20877 
   20878 
   20879 
   20880 
   20881 
   20882 
   20883 XORG_MAN_PAGE="X Version 11"
   20884 
   20885 MAN_SUBSTS="\
   20886 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20887 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20888 	-e 's|__xservername__|Xorg|g' \
   20889 	-e 's|__xconfigfile__|xorg.conf|g' \
   20890 	-e 's|__projectroot__|\$(prefix)|g' \
   20891 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20892 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20893 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20894 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20895 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20896 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20897 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20898 
   20899 
   20900 
   20901 
   20902 AM_DEFAULT_VERBOSITY=0
   20903 
   20904 
   20905 ac_ext=c
   20906 ac_cpp='$CPP $CPPFLAGS'
   20907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   20911 printf %s "checking how to run the C preprocessor... " >&6; }
   20912 # On Suns, sometimes $CPP names a directory.
   20913 if test -n "$CPP" && test -d "$CPP"; then
   20914   CPP=
   20915 fi
   20916 if test -z "$CPP"; then
   20917   if test ${ac_cv_prog_CPP+y}
   20918 then :
   20919   printf %s "(cached) " >&6
   20920 else case e in #(
   20921   e)     # Double quotes because $CC needs to be expanded
   20922     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   20923     do
   20924       ac_preproc_ok=false
   20925 for ac_c_preproc_warn_flag in '' yes
   20926 do
   20927   # Use a header file that comes with gcc, so configuring glibc
   20928   # with a fresh cross-compiler works.
   20929   # On the NeXT, cc -E runs the code through the compiler's parser,
   20930   # not just through cpp. "Syntax error" is here to catch this case.
   20931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20932 /* end confdefs.h.  */
   20933 #include <limits.h>
   20934 		     Syntax error
   20935 _ACEOF
   20936 if ac_fn_c_try_cpp "$LINENO"
   20937 then :
   20938 
   20939 else case e in #(
   20940   e) # Broken: fails on valid input.
   20941 continue ;;
   20942 esac
   20943 fi
   20944 rm -f conftest.err conftest.i conftest.$ac_ext
   20945 
   20946   # OK, works on sane cases.  Now check whether nonexistent headers
   20947   # can be detected and how.
   20948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20949 /* end confdefs.h.  */
   20950 #include <ac_nonexistent.h>
   20951 _ACEOF
   20952 if ac_fn_c_try_cpp "$LINENO"
   20953 then :
   20954   # Broken: success on invalid input.
   20955 continue
   20956 else case e in #(
   20957   e) # Passes both tests.
   20958 ac_preproc_ok=:
   20959 break ;;
   20960 esac
   20961 fi
   20962 rm -f conftest.err conftest.i conftest.$ac_ext
   20963 
   20964 done
   20965 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   20966 rm -f conftest.i conftest.err conftest.$ac_ext
   20967 if $ac_preproc_ok
   20968 then :
   20969   break
   20970 fi
   20971 
   20972     done
   20973     ac_cv_prog_CPP=$CPP
   20974    ;;
   20975 esac
   20976 fi
   20977   CPP=$ac_cv_prog_CPP
   20978 else
   20979   ac_cv_prog_CPP=$CPP
   20980 fi
   20981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   20982 printf "%s\n" "$CPP" >&6; }
   20983 ac_preproc_ok=false
   20984 for ac_c_preproc_warn_flag in '' yes
   20985 do
   20986   # Use a header file that comes with gcc, so configuring glibc
   20987   # with a fresh cross-compiler works.
   20988   # On the NeXT, cc -E runs the code through the compiler's parser,
   20989   # not just through cpp. "Syntax error" is here to catch this case.
   20990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20991 /* end confdefs.h.  */
   20992 #include <limits.h>
   20993 		     Syntax error
   20994 _ACEOF
   20995 if ac_fn_c_try_cpp "$LINENO"
   20996 then :
   20997 
   20998 else case e in #(
   20999   e) # Broken: fails on valid input.
   21000 continue ;;
   21001 esac
   21002 fi
   21003 rm -f conftest.err conftest.i conftest.$ac_ext
   21004 
   21005   # OK, works on sane cases.  Now check whether nonexistent headers
   21006   # can be detected and how.
   21007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21008 /* end confdefs.h.  */
   21009 #include <ac_nonexistent.h>
   21010 _ACEOF
   21011 if ac_fn_c_try_cpp "$LINENO"
   21012 then :
   21013   # Broken: success on invalid input.
   21014 continue
   21015 else case e in #(
   21016   e) # Passes both tests.
   21017 ac_preproc_ok=:
   21018 break ;;
   21019 esac
   21020 fi
   21021 rm -f conftest.err conftest.i conftest.$ac_ext
   21022 
   21023 done
   21024 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   21025 rm -f conftest.i conftest.err conftest.$ac_ext
   21026 if $ac_preproc_ok
   21027 then :
   21028 
   21029 else case e in #(
   21030   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21031 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   21032 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   21033 See 'config.log' for more details" "$LINENO" 5; } ;;
   21034 esac
   21035 fi
   21036 
   21037 ac_ext=c
   21038 ac_cpp='$CPP $CPPFLAGS'
   21039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21042 
   21043 
   21044 
   21045 if test -n "$ac_tool_prefix"; then
   21046   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
   21047 set dummy ${ac_tool_prefix}cpp; ac_word=$2
   21048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21049 printf %s "checking for $ac_word... " >&6; }
   21050 if test ${ac_cv_path_RAWCPP+y}
   21051 then :
   21052   printf %s "(cached) " >&6
   21053 else case e in #(
   21054   e) case $RAWCPP in
   21055   [\\/]* | ?:[\\/]*)
   21056   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   21057   ;;
   21058   *)
   21059   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21060 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   21061 for as_dir in $as_dummy
   21062 do
   21063   IFS=$as_save_IFS
   21064   case $as_dir in #(((
   21065     '') as_dir=./ ;;
   21066     */) ;;
   21067     *) as_dir=$as_dir/ ;;
   21068   esac
   21069     for ac_exec_ext in '' $ac_executable_extensions; do
   21070   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21071     ac_cv_path_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   21072     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21073     break 2
   21074   fi
   21075 done
   21076   done
   21077 IFS=$as_save_IFS
   21078 
   21079   ;;
   21080 esac ;;
   21081 esac
   21082 fi
   21083 RAWCPP=$ac_cv_path_RAWCPP
   21084 if test -n "$RAWCPP"; then
   21085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   21086 printf "%s\n" "$RAWCPP" >&6; }
   21087 else
   21088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21089 printf "%s\n" "no" >&6; }
   21090 fi
   21091 
   21092 
   21093 fi
   21094 if test -z "$ac_cv_path_RAWCPP"; then
   21095   ac_pt_RAWCPP=$RAWCPP
   21096   # Extract the first word of "cpp", so it can be a program name with args.
   21097 set dummy cpp; ac_word=$2
   21098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21099 printf %s "checking for $ac_word... " >&6; }
   21100 if test ${ac_cv_path_ac_pt_RAWCPP+y}
   21101 then :
   21102   printf %s "(cached) " >&6
   21103 else case e in #(
   21104   e) case $ac_pt_RAWCPP in
   21105   [\\/]* | ?:[\\/]*)
   21106   ac_cv_path_ac_pt_RAWCPP="$ac_pt_RAWCPP" # Let the user override the test with a path.
   21107   ;;
   21108   *)
   21109   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21110 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   21111 for as_dir in $as_dummy
   21112 do
   21113   IFS=$as_save_IFS
   21114   case $as_dir in #(((
   21115     '') as_dir=./ ;;
   21116     */) ;;
   21117     *) as_dir=$as_dir/ ;;
   21118   esac
   21119     for ac_exec_ext in '' $ac_executable_extensions; do
   21120   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21121     ac_cv_path_ac_pt_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   21122     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21123     break 2
   21124   fi
   21125 done
   21126   done
   21127 IFS=$as_save_IFS
   21128 
   21129   ;;
   21130 esac ;;
   21131 esac
   21132 fi
   21133 ac_pt_RAWCPP=$ac_cv_path_ac_pt_RAWCPP
   21134 if test -n "$ac_pt_RAWCPP"; then
   21135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RAWCPP" >&5
   21136 printf "%s\n" "$ac_pt_RAWCPP" >&6; }
   21137 else
   21138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21139 printf "%s\n" "no" >&6; }
   21140 fi
   21141 
   21142   if test "x$ac_pt_RAWCPP" = x; then
   21143     RAWCPP="${CPP}"
   21144   else
   21145     case $cross_compiling:$ac_tool_warned in
   21146 yes:)
   21147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21148 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21149 ac_tool_warned=yes ;;
   21150 esac
   21151     RAWCPP=$ac_pt_RAWCPP
   21152   fi
   21153 else
   21154   RAWCPP="$ac_cv_path_RAWCPP"
   21155 fi
   21156 
   21157 
   21158 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   21159 # which is not the best choice for supporting other OS'es, but covers most
   21160 # of the ones we need for now.
   21161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   21162 printf %s "checking if $RAWCPP requires -undef... " >&6; }
   21163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21164 /* end confdefs.h.  */
   21165 Does cpp redefine unix ?
   21166 _ACEOF
   21167 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21168 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21169 printf "%s\n" "no" >&6; }
   21170 else
   21171 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21172 		RAWCPPFLAGS=-undef
   21173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21174 printf "%s\n" "yes" >&6; }
   21175 	# under Cygwin unix is still defined even with -undef
   21176 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21177 		RAWCPPFLAGS="-undef -ansi"
   21178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   21179 printf "%s\n" "yes, with -ansi" >&6; }
   21180 	else
   21181 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   21182 	fi
   21183 fi
   21184 rm -f conftest.$ac_ext
   21185 
   21186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   21187 printf %s "checking if $RAWCPP requires -traditional... " >&6; }
   21188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21189 /* end confdefs.h.  */
   21190 Does cpp preserve   "whitespace"?
   21191 _ACEOF
   21192 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   21193 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21194 printf "%s\n" "no" >&6; }
   21195 else
   21196 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   21197 		TRADITIONALCPPFLAGS="-traditional"
   21198 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   21199 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21200 printf "%s\n" "yes" >&6; }
   21201 	else
   21202 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   21203 	fi
   21204 fi
   21205 rm -f conftest.$ac_ext
   21206 
   21207 
   21208 
   21209 
   21210 
   21211 
   21212 
   21213 
   21214 # Check whether --with-lint was given.
   21215 if test ${with_lint+y}
   21216 then :
   21217   withval=$with_lint; use_lint=$withval
   21218 else case e in #(
   21219   e) use_lint=no ;;
   21220 esac
   21221 fi
   21222 
   21223 
   21224 # Obtain platform specific info like program name and options
   21225 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   21226 case $host_os in
   21227   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   21228 	lint_name=splint
   21229 	lint_options="-badflag"
   21230 	;;
   21231   *freebsd* | *netbsd*)
   21232 	lint_name=lint
   21233 	lint_options="-u -b"
   21234 	;;
   21235   *solaris*)
   21236 	lint_name=lint
   21237 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   21238 	;;
   21239 esac
   21240 
   21241 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   21242 if test "x$use_lint" = x"yes" ; then
   21243    # Extract the first word of "$lint_name", so it can be a program name with args.
   21244 set dummy $lint_name; ac_word=$2
   21245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21246 printf %s "checking for $ac_word... " >&6; }
   21247 if test ${ac_cv_path_LINT+y}
   21248 then :
   21249   printf %s "(cached) " >&6
   21250 else case e in #(
   21251   e) case $LINT in
   21252   [\\/]* | ?:[\\/]*)
   21253   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   21254   ;;
   21255   *)
   21256   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21257 for as_dir in $PATH
   21258 do
   21259   IFS=$as_save_IFS
   21260   case $as_dir in #(((
   21261     '') as_dir=./ ;;
   21262     */) ;;
   21263     *) as_dir=$as_dir/ ;;
   21264   esac
   21265     for ac_exec_ext in '' $ac_executable_extensions; do
   21266   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21267     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   21268     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21269     break 2
   21270   fi
   21271 done
   21272   done
   21273 IFS=$as_save_IFS
   21274 
   21275   ;;
   21276 esac ;;
   21277 esac
   21278 fi
   21279 LINT=$ac_cv_path_LINT
   21280 if test -n "$LINT"; then
   21281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   21282 printf "%s\n" "$LINT" >&6; }
   21283 else
   21284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21285 printf "%s\n" "no" >&6; }
   21286 fi
   21287 
   21288 
   21289    if test "x$LINT" = "x"; then
   21290         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   21291    fi
   21292 elif test "x$use_lint" = x"no" ; then
   21293    if test "x$LINT" != "x"; then
   21294       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   21295 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   21296    fi
   21297 else
   21298    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   21299 fi
   21300 
   21301 # User supplied flags override default flags
   21302 if test "x$LINT_FLAGS" != "x"; then
   21303    lint_options=$LINT_FLAGS
   21304 fi
   21305 
   21306 LINT_FLAGS=$lint_options
   21307 
   21308  if test "x$LINT" != x; then
   21309   LINT_TRUE=
   21310   LINT_FALSE='#'
   21311 else
   21312   LINT_TRUE='#'
   21313   LINT_FALSE=
   21314 fi
   21315 
   21316 
   21317 
   21318 
   21319 # Checks for programs.
   21320 # Check for mktemp to prevent security issue noted in Xorg bug #5898
   21321 # See https://bugs.freedesktop.org/show_bug.cgi?id=5898 for details.
   21322 # Extract the first word of "mktemp", so it can be a program name with args.
   21323 set dummy mktemp; ac_word=$2
   21324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21325 printf %s "checking for $ac_word... " >&6; }
   21326 if test ${ac_cv_path_MKTEMP_COMMAND+y}
   21327 then :
   21328   printf %s "(cached) " >&6
   21329 else case e in #(
   21330   e) case $MKTEMP_COMMAND in
   21331   [\\/]* | ?:[\\/]*)
   21332   ac_cv_path_MKTEMP_COMMAND="$MKTEMP_COMMAND" # Let the user override the test with a path.
   21333   ;;
   21334   *)
   21335   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21336 for as_dir in $PATH
   21337 do
   21338   IFS=$as_save_IFS
   21339   case $as_dir in #(((
   21340     '') as_dir=./ ;;
   21341     */) ;;
   21342     *) as_dir=$as_dir/ ;;
   21343   esac
   21344     for ac_exec_ext in '' $ac_executable_extensions; do
   21345   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21346     ac_cv_path_MKTEMP_COMMAND="$as_dir$ac_word$ac_exec_ext"
   21347     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21348     break 2
   21349   fi
   21350 done
   21351   done
   21352 IFS=$as_save_IFS
   21353 
   21354   ;;
   21355 esac ;;
   21356 esac
   21357 fi
   21358 MKTEMP_COMMAND=$ac_cv_path_MKTEMP_COMMAND
   21359 if test -n "$MKTEMP_COMMAND"; then
   21360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKTEMP_COMMAND" >&5
   21361 printf "%s\n" "$MKTEMP_COMMAND" >&6; }
   21362 else
   21363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21364 printf "%s\n" "no" >&6; }
   21365 fi
   21366 
   21367 
   21368  if test x$MKTEMP_COMMAND != x; then
   21369   HAVE_MKTEMP_COMMAND_TRUE=
   21370   HAVE_MKTEMP_COMMAND_FALSE='#'
   21371 else
   21372   HAVE_MKTEMP_COMMAND_TRUE='#'
   21373   HAVE_MKTEMP_COMMAND_FALSE=
   21374 fi
   21375 
   21376 
   21377 #------------------------------------------------------------------------------
   21378 #			Check for system libraries
   21379 #
   21380 # AC_SEARCH_LIBS: tests using $LIBS and tests again with each listed library.
   21381 #                 pre-pends the found library to $LIBS.
   21382 #
   21383 #------------------------------------------------------------------------------
   21384 
   21385 
   21386 pkg_failed=no
   21387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XDM" >&5
   21388 printf %s "checking for XDM... " >&6; }
   21389 
   21390 if test -n "$XDM_CFLAGS"; then
   21391     pkg_cv_XDM_CFLAGS="$XDM_CFLAGS"
   21392  elif test -n "$PKG_CONFIG"; then
   21393     if test -n "$PKG_CONFIG" && \
   21394     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmu x11 xau xproto >= 7.0.17\""; } >&5
   21395   ($PKG_CONFIG --exists --print-errors "xmu x11 xau xproto >= 7.0.17") 2>&5
   21396   ac_status=$?
   21397   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21398   test $ac_status = 0; }; then
   21399   pkg_cv_XDM_CFLAGS=`$PKG_CONFIG --cflags "xmu x11 xau xproto >= 7.0.17" 2>/dev/null`
   21400 		      test "x$?" != "x0" && pkg_failed=yes
   21401 else
   21402   pkg_failed=yes
   21403 fi
   21404  else
   21405     pkg_failed=untried
   21406 fi
   21407 if test -n "$XDM_LIBS"; then
   21408     pkg_cv_XDM_LIBS="$XDM_LIBS"
   21409  elif test -n "$PKG_CONFIG"; then
   21410     if test -n "$PKG_CONFIG" && \
   21411     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmu x11 xau xproto >= 7.0.17\""; } >&5
   21412   ($PKG_CONFIG --exists --print-errors "xmu x11 xau xproto >= 7.0.17") 2>&5
   21413   ac_status=$?
   21414   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21415   test $ac_status = 0; }; then
   21416   pkg_cv_XDM_LIBS=`$PKG_CONFIG --libs "xmu x11 xau xproto >= 7.0.17" 2>/dev/null`
   21417 		      test "x$?" != "x0" && pkg_failed=yes
   21418 else
   21419   pkg_failed=yes
   21420 fi
   21421  else
   21422     pkg_failed=untried
   21423 fi
   21424 
   21425 
   21426 
   21427 if test $pkg_failed = yes; then
   21428    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21429 printf "%s\n" "no" >&6; }
   21430 
   21431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21432         _pkg_short_errors_supported=yes
   21433 else
   21434         _pkg_short_errors_supported=no
   21435 fi
   21436         if test $_pkg_short_errors_supported = yes; then
   21437 	        XDM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xmu x11 xau xproto >= 7.0.17" 2>&1`
   21438         else
   21439 	        XDM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xmu x11 xau xproto >= 7.0.17" 2>&1`
   21440         fi
   21441 	# Put the nasty error message in config.log where it belongs
   21442 	echo "$XDM_PKG_ERRORS" >&5
   21443 
   21444 	as_fn_error $? "Package requirements (xmu x11 xau xproto >= 7.0.17) were not met:
   21445 
   21446 $XDM_PKG_ERRORS
   21447 
   21448 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21449 installed software in a non-standard prefix.
   21450 
   21451 Alternatively, you may set the environment variables XDM_CFLAGS
   21452 and XDM_LIBS to avoid the need to call pkg-config.
   21453 See the pkg-config man page for more details." "$LINENO" 5
   21454 elif test $pkg_failed = untried; then
   21455      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21456 printf "%s\n" "no" >&6; }
   21457 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21458 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   21459 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   21460 is in your PATH or set the PKG_CONFIG environment variable to the full
   21461 path to pkg-config.
   21462 
   21463 Alternatively, you may set the environment variables XDM_CFLAGS
   21464 and XDM_LIBS to avoid the need to call pkg-config.
   21465 See the pkg-config man page for more details.
   21466 
   21467 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21468 See 'config.log' for more details" "$LINENO" 5; }
   21469 else
   21470 	XDM_CFLAGS=$pkg_cv_XDM_CFLAGS
   21471 	XDM_LIBS=$pkg_cv_XDM_LIBS
   21472         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21473 printf "%s\n" "yes" >&6; }
   21474 
   21475 fi
   21476 
   21477 pkg_failed=no
   21478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBBSD" >&5
   21479 printf %s "checking for LIBBSD... " >&6; }
   21480 
   21481 if test -n "$LIBBSD_CFLAGS"; then
   21482     pkg_cv_LIBBSD_CFLAGS="$LIBBSD_CFLAGS"
   21483  elif test -n "$PKG_CONFIG"; then
   21484     if test -n "$PKG_CONFIG" && \
   21485     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbsd-overlay\""; } >&5
   21486   ($PKG_CONFIG --exists --print-errors "libbsd-overlay") 2>&5
   21487   ac_status=$?
   21488   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21489   test $ac_status = 0; }; then
   21490   pkg_cv_LIBBSD_CFLAGS=`$PKG_CONFIG --cflags "libbsd-overlay" 2>/dev/null`
   21491 		      test "x$?" != "x0" && pkg_failed=yes
   21492 else
   21493   pkg_failed=yes
   21494 fi
   21495  else
   21496     pkg_failed=untried
   21497 fi
   21498 if test -n "$LIBBSD_LIBS"; then
   21499     pkg_cv_LIBBSD_LIBS="$LIBBSD_LIBS"
   21500  elif test -n "$PKG_CONFIG"; then
   21501     if test -n "$PKG_CONFIG" && \
   21502     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbsd-overlay\""; } >&5
   21503   ($PKG_CONFIG --exists --print-errors "libbsd-overlay") 2>&5
   21504   ac_status=$?
   21505   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21506   test $ac_status = 0; }; then
   21507   pkg_cv_LIBBSD_LIBS=`$PKG_CONFIG --libs "libbsd-overlay" 2>/dev/null`
   21508 		      test "x$?" != "x0" && pkg_failed=yes
   21509 else
   21510   pkg_failed=yes
   21511 fi
   21512  else
   21513     pkg_failed=untried
   21514 fi
   21515 
   21516 
   21517 
   21518 if test $pkg_failed = yes; then
   21519    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21520 printf "%s\n" "no" >&6; }
   21521 
   21522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21523         _pkg_short_errors_supported=yes
   21524 else
   21525         _pkg_short_errors_supported=no
   21526 fi
   21527         if test $_pkg_short_errors_supported = yes; then
   21528 	        LIBBSD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbsd-overlay" 2>&1`
   21529         else
   21530 	        LIBBSD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbsd-overlay" 2>&1`
   21531         fi
   21532 	# Put the nasty error message in config.log where it belongs
   21533 	echo "$LIBBSD_PKG_ERRORS" >&5
   21534 
   21535 	:
   21536 elif test $pkg_failed = untried; then
   21537      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21538 printf "%s\n" "no" >&6; }
   21539 	:
   21540 else
   21541 	LIBBSD_CFLAGS=$pkg_cv_LIBBSD_CFLAGS
   21542 	LIBBSD_LIBS=$pkg_cv_LIBBSD_LIBS
   21543         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21544 printf "%s\n" "yes" >&6; }
   21545 	:
   21546 fi
   21547 
   21548 
   21549 
   21550 # Function getifaddrs() comes from the C library, Solaris 11 -lsocket, or
   21551 # the -lnsl name service library
   21552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getifaddrs" >&5
   21553 printf %s "checking for library containing getifaddrs... " >&6; }
   21554 if test ${ac_cv_search_getifaddrs+y}
   21555 then :
   21556   printf %s "(cached) " >&6
   21557 else case e in #(
   21558   e) ac_func_search_save_LIBS=$LIBS
   21559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21560 /* end confdefs.h.  */
   21561 
   21562 /* Override any GCC internal prototype to avoid an error.
   21563    Use char because int might match the return type of a GCC
   21564    builtin and then its argument prototype would still apply.
   21565    The 'extern "C"' is for builds by C++ compilers;
   21566    although this is not generally supported in C code supporting it here
   21567    has little cost and some practical benefit (sr 110532).  */
   21568 #ifdef __cplusplus
   21569 extern "C"
   21570 #endif
   21571 char getifaddrs (void);
   21572 int
   21573 main (void)
   21574 {
   21575 return getifaddrs ();
   21576   ;
   21577   return 0;
   21578 }
   21579 _ACEOF
   21580 for ac_lib in '' socket nsl
   21581 do
   21582   if test -z "$ac_lib"; then
   21583     ac_res="none required"
   21584   else
   21585     ac_res=-l$ac_lib
   21586     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21587   fi
   21588   if ac_fn_c_try_link "$LINENO"
   21589 then :
   21590   ac_cv_search_getifaddrs=$ac_res
   21591 fi
   21592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21593     conftest$ac_exeext
   21594   if test ${ac_cv_search_getifaddrs+y}
   21595 then :
   21596   break
   21597 fi
   21598 done
   21599 if test ${ac_cv_search_getifaddrs+y}
   21600 then :
   21601 
   21602 else case e in #(
   21603   e) ac_cv_search_getifaddrs=no ;;
   21604 esac
   21605 fi
   21606 rm conftest.$ac_ext
   21607 LIBS=$ac_func_search_save_LIBS ;;
   21608 esac
   21609 fi
   21610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getifaddrs" >&5
   21611 printf "%s\n" "$ac_cv_search_getifaddrs" >&6; }
   21612 ac_res=$ac_cv_search_getifaddrs
   21613 if test "$ac_res" != no
   21614 then :
   21615   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21616 
   21617 fi
   21618 
   21619 
   21620 # Function getspnam() comes from the C library, System V -lsec, UnixWare 7 -lgen
   21621 # or Old Linux versions -lshadow
   21622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getspnam" >&5
   21623 printf %s "checking for library containing getspnam... " >&6; }
   21624 if test ${ac_cv_search_getspnam+y}
   21625 then :
   21626   printf %s "(cached) " >&6
   21627 else case e in #(
   21628   e) ac_func_search_save_LIBS=$LIBS
   21629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21630 /* end confdefs.h.  */
   21631 
   21632 /* Override any GCC internal prototype to avoid an error.
   21633    Use char because int might match the return type of a GCC
   21634    builtin and then its argument prototype would still apply.
   21635    The 'extern "C"' is for builds by C++ compilers;
   21636    although this is not generally supported in C code supporting it here
   21637    has little cost and some practical benefit (sr 110532).  */
   21638 #ifdef __cplusplus
   21639 extern "C"
   21640 #endif
   21641 char getspnam (void);
   21642 int
   21643 main (void)
   21644 {
   21645 return getspnam ();
   21646   ;
   21647   return 0;
   21648 }
   21649 _ACEOF
   21650 for ac_lib in '' sec gen shadow
   21651 do
   21652   if test -z "$ac_lib"; then
   21653     ac_res="none required"
   21654   else
   21655     ac_res=-l$ac_lib
   21656     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21657   fi
   21658   if ac_fn_c_try_link "$LINENO"
   21659 then :
   21660   ac_cv_search_getspnam=$ac_res
   21661 fi
   21662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21663     conftest$ac_exeext
   21664   if test ${ac_cv_search_getspnam+y}
   21665 then :
   21666   break
   21667 fi
   21668 done
   21669 if test ${ac_cv_search_getspnam+y}
   21670 then :
   21671 
   21672 else case e in #(
   21673   e) ac_cv_search_getspnam=no ;;
   21674 esac
   21675 fi
   21676 rm conftest.$ac_ext
   21677 LIBS=$ac_func_search_save_LIBS ;;
   21678 esac
   21679 fi
   21680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getspnam" >&5
   21681 printf "%s\n" "$ac_cv_search_getspnam" >&6; }
   21682 ac_res=$ac_cv_search_getspnam
   21683 if test "$ac_res" != no
   21684 then :
   21685   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21686 
   21687 fi
   21688 
   21689 
   21690 # Function setproctitle() is in BSD -lutil or GNU systems -lbsd but N/A on Solaris
   21691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing setproctitle" >&5
   21692 printf %s "checking for library containing setproctitle... " >&6; }
   21693 if test ${ac_cv_search_setproctitle+y}
   21694 then :
   21695   printf %s "(cached) " >&6
   21696 else case e in #(
   21697   e) ac_func_search_save_LIBS=$LIBS
   21698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21699 /* end confdefs.h.  */
   21700 
   21701 /* Override any GCC internal prototype to avoid an error.
   21702    Use char because int might match the return type of a GCC
   21703    builtin and then its argument prototype would still apply.
   21704    The 'extern "C"' is for builds by C++ compilers;
   21705    although this is not generally supported in C code supporting it here
   21706    has little cost and some practical benefit (sr 110532).  */
   21707 #ifdef __cplusplus
   21708 extern "C"
   21709 #endif
   21710 char setproctitle (void);
   21711 int
   21712 main (void)
   21713 {
   21714 return setproctitle ();
   21715   ;
   21716   return 0;
   21717 }
   21718 _ACEOF
   21719 for ac_lib in '' util
   21720 do
   21721   if test -z "$ac_lib"; then
   21722     ac_res="none required"
   21723   else
   21724     ac_res=-l$ac_lib
   21725     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21726   fi
   21727   if ac_fn_c_try_link "$LINENO"
   21728 then :
   21729   ac_cv_search_setproctitle=$ac_res
   21730 fi
   21731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21732     conftest$ac_exeext
   21733   if test ${ac_cv_search_setproctitle+y}
   21734 then :
   21735   break
   21736 fi
   21737 done
   21738 if test ${ac_cv_search_setproctitle+y}
   21739 then :
   21740 
   21741 else case e in #(
   21742   e) ac_cv_search_setproctitle=no ;;
   21743 esac
   21744 fi
   21745 rm conftest.$ac_ext
   21746 LIBS=$ac_func_search_save_LIBS ;;
   21747 esac
   21748 fi
   21749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setproctitle" >&5
   21750 printf "%s\n" "$ac_cv_search_setproctitle" >&6; }
   21751 ac_res=$ac_cv_search_setproctitle
   21752 if test "$ac_res" != no
   21753 then :
   21754   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21755 
   21756 fi
   21757 
   21758 
   21759 if test "x$ac_cv_search_setproctitle" = "xno"; then
   21760     if test "x$LIBBSD_LIBS" != "x"; then
   21761         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for setproctitle in libbsd" >&5
   21762 printf %s "checking for setproctitle in libbsd... " >&6; }
   21763         xdm_save_LIBS="$LIBS"
   21764         LIBS="$LIBS $XDM_LIBS $LIBBSD_LIBS"
   21765         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21766 /* end confdefs.h.  */
   21767 
   21768 /* Override any GCC internal prototype to avoid an error.
   21769    Use char because int might match the return type of a GCC
   21770    builtin and then its argument prototype would still apply.
   21771    The 'extern "C"' is for builds by C++ compilers;
   21772    although this is not generally supported in C code supporting it here
   21773    has little cost and some practical benefit (sr 110532).  */
   21774 #ifdef __cplusplus
   21775 extern "C"
   21776 #endif
   21777 char setproctitle (void);
   21778 int
   21779 main (void)
   21780 {
   21781 return setproctitle ();
   21782   ;
   21783   return 0;
   21784 }
   21785 _ACEOF
   21786 if ac_fn_c_try_link "$LINENO"
   21787 then :
   21788   xdm_res="yes"
   21789 else case e in #(
   21790   e) xdm_res="no" ;;
   21791 esac
   21792 fi
   21793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21794     conftest$ac_exeext conftest.$ac_ext
   21795         LIBS="$xdm_save_LIBS"
   21796         if test "x$xdm_res" = "xyes"
   21797 then :
   21798 
   21799             XDM_CFLAGS="$XDM_CFLAGS $LIBBSD_CFLAGS"
   21800             XDM_LIBS="$XDM_LIBS $LIBBSD_LIBS"
   21801 
   21802 fi
   21803         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xdm_res" >&5
   21804 printf "%s\n" "$xdm_res" >&6; }
   21805     fi
   21806 fi
   21807 
   21808 # Function setusercontext() is in BSD -lutil but N/A on Solaris or GNU systems
   21809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing setusercontext" >&5
   21810 printf %s "checking for library containing setusercontext... " >&6; }
   21811 if test ${ac_cv_search_setusercontext+y}
   21812 then :
   21813   printf %s "(cached) " >&6
   21814 else case e in #(
   21815   e) ac_func_search_save_LIBS=$LIBS
   21816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21817 /* end confdefs.h.  */
   21818 
   21819 /* Override any GCC internal prototype to avoid an error.
   21820    Use char because int might match the return type of a GCC
   21821    builtin and then its argument prototype would still apply.
   21822    The 'extern "C"' is for builds by C++ compilers;
   21823    although this is not generally supported in C code supporting it here
   21824    has little cost and some practical benefit (sr 110532).  */
   21825 #ifdef __cplusplus
   21826 extern "C"
   21827 #endif
   21828 char setusercontext (void);
   21829 int
   21830 main (void)
   21831 {
   21832 return setusercontext ();
   21833   ;
   21834   return 0;
   21835 }
   21836 _ACEOF
   21837 for ac_lib in '' util
   21838 do
   21839   if test -z "$ac_lib"; then
   21840     ac_res="none required"
   21841   else
   21842     ac_res=-l$ac_lib
   21843     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21844   fi
   21845   if ac_fn_c_try_link "$LINENO"
   21846 then :
   21847   ac_cv_search_setusercontext=$ac_res
   21848 fi
   21849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21850     conftest$ac_exeext
   21851   if test ${ac_cv_search_setusercontext+y}
   21852 then :
   21853   break
   21854 fi
   21855 done
   21856 if test ${ac_cv_search_setusercontext+y}
   21857 then :
   21858 
   21859 else case e in #(
   21860   e) ac_cv_search_setusercontext=no ;;
   21861 esac
   21862 fi
   21863 rm conftest.$ac_ext
   21864 LIBS=$ac_func_search_save_LIBS ;;
   21865 esac
   21866 fi
   21867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setusercontext" >&5
   21868 printf "%s\n" "$ac_cv_search_setusercontext" >&6; }
   21869 ac_res=$ac_cv_search_setusercontext
   21870 if test "$ac_res" != no
   21871 then :
   21872   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21873 
   21874 fi
   21875 
   21876 
   21877 # Function arc4random() is in BSD standard C, glibc 2.36+, or GNU systems -lbsd
   21878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing arc4random" >&5
   21879 printf %s "checking for library containing arc4random... " >&6; }
   21880 if test ${ac_cv_search_arc4random+y}
   21881 then :
   21882   printf %s "(cached) " >&6
   21883 else case e in #(
   21884   e) ac_func_search_save_LIBS=$LIBS
   21885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21886 /* end confdefs.h.  */
   21887 
   21888 /* Override any GCC internal prototype to avoid an error.
   21889    Use char because int might match the return type of a GCC
   21890    builtin and then its argument prototype would still apply.
   21891    The 'extern "C"' is for builds by C++ compilers;
   21892    although this is not generally supported in C code supporting it here
   21893    has little cost and some practical benefit (sr 110532).  */
   21894 #ifdef __cplusplus
   21895 extern "C"
   21896 #endif
   21897 char arc4random (void);
   21898 int
   21899 main (void)
   21900 {
   21901 return arc4random ();
   21902   ;
   21903   return 0;
   21904 }
   21905 _ACEOF
   21906 for ac_lib in ''
   21907 do
   21908   if test -z "$ac_lib"; then
   21909     ac_res="none required"
   21910   else
   21911     ac_res=-l$ac_lib
   21912     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21913   fi
   21914   if ac_fn_c_try_link "$LINENO"
   21915 then :
   21916   ac_cv_search_arc4random=$ac_res
   21917 fi
   21918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21919     conftest$ac_exeext
   21920   if test ${ac_cv_search_arc4random+y}
   21921 then :
   21922   break
   21923 fi
   21924 done
   21925 if test ${ac_cv_search_arc4random+y}
   21926 then :
   21927 
   21928 else case e in #(
   21929   e) ac_cv_search_arc4random=no ;;
   21930 esac
   21931 fi
   21932 rm conftest.$ac_ext
   21933 LIBS=$ac_func_search_save_LIBS ;;
   21934 esac
   21935 fi
   21936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_arc4random" >&5
   21937 printf "%s\n" "$ac_cv_search_arc4random" >&6; }
   21938 ac_res=$ac_cv_search_arc4random
   21939 if test "$ac_res" != no
   21940 then :
   21941   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21942   HAVE_ARC4RANDOM="yes"
   21943 fi
   21944 
   21945 
   21946 if test "x$ac_cv_search_arc4random" = "xno"; then
   21947     if test "x$LIBBSD_LIBS" != "x"; then
   21948         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for arc4random in libbsd" >&5
   21949 printf %s "checking for arc4random in libbsd... " >&6; }
   21950         xdm_save_LIBS="$LIBS"
   21951         LIBS="$LIBS $XDM_LIBS $LIBBSD_LIBS"
   21952         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21953 /* end confdefs.h.  */
   21954 
   21955 /* Override any GCC internal prototype to avoid an error.
   21956    Use char because int might match the return type of a GCC
   21957    builtin and then its argument prototype would still apply.
   21958    The 'extern "C"' is for builds by C++ compilers;
   21959    although this is not generally supported in C code supporting it here
   21960    has little cost and some practical benefit (sr 110532).  */
   21961 #ifdef __cplusplus
   21962 extern "C"
   21963 #endif
   21964 char arc4random (void);
   21965 int
   21966 main (void)
   21967 {
   21968 return arc4random ();
   21969   ;
   21970   return 0;
   21971 }
   21972 _ACEOF
   21973 if ac_fn_c_try_link "$LINENO"
   21974 then :
   21975   xdm_res="yes"
   21976 else case e in #(
   21977   e) xdm_res="no" ;;
   21978 esac
   21979 fi
   21980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21981     conftest$ac_exeext conftest.$ac_ext
   21982         LIBS="$xdm_save_LIBS"
   21983         if test "x$xdm_res" = "xyes"
   21984 then :
   21985 
   21986             XDM_CFLAGS="$XDM_CFLAGS $LIBBSD_CFLAGS"
   21987             XDM_LIBS="$XDM_LIBS $LIBBSD_LIBS"
   21988             HAVE_ARC4RANDOM="yes"
   21989 fi
   21990         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xdm_res" >&5
   21991 printf "%s\n" "$xdm_res" >&6; }
   21992     fi
   21993 fi
   21994 
   21995  if test x$HAVE_ARC4RANDOM = xyes; then
   21996   HAVE_ARC4RANDOM_TRUE=
   21997   HAVE_ARC4RANDOM_FALSE='#'
   21998 else
   21999   HAVE_ARC4RANDOM_TRUE='#'
   22000   HAVE_ARC4RANDOM_FALSE=
   22001 fi
   22002 
   22003 
   22004 # Function crypt() comes from the C library or the -lcrypt data encryption library
   22005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
   22006 printf %s "checking for library containing crypt... " >&6; }
   22007 if test ${ac_cv_search_crypt+y}
   22008 then :
   22009   printf %s "(cached) " >&6
   22010 else case e in #(
   22011   e) ac_func_search_save_LIBS=$LIBS
   22012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22013 /* end confdefs.h.  */
   22014 
   22015 /* Override any GCC internal prototype to avoid an error.
   22016    Use char because int might match the return type of a GCC
   22017    builtin and then its argument prototype would still apply.
   22018    The 'extern "C"' is for builds by C++ compilers;
   22019    although this is not generally supported in C code supporting it here
   22020    has little cost and some practical benefit (sr 110532).  */
   22021 #ifdef __cplusplus
   22022 extern "C"
   22023 #endif
   22024 char crypt (void);
   22025 int
   22026 main (void)
   22027 {
   22028 return crypt ();
   22029   ;
   22030   return 0;
   22031 }
   22032 _ACEOF
   22033 for ac_lib in '' crypt
   22034 do
   22035   if test -z "$ac_lib"; then
   22036     ac_res="none required"
   22037   else
   22038     ac_res=-l$ac_lib
   22039     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22040   fi
   22041   if ac_fn_c_try_link "$LINENO"
   22042 then :
   22043   ac_cv_search_crypt=$ac_res
   22044 fi
   22045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22046     conftest$ac_exeext
   22047   if test ${ac_cv_search_crypt+y}
   22048 then :
   22049   break
   22050 fi
   22051 done
   22052 if test ${ac_cv_search_crypt+y}
   22053 then :
   22054 
   22055 else case e in #(
   22056   e) ac_cv_search_crypt=no ;;
   22057 esac
   22058 fi
   22059 rm conftest.$ac_ext
   22060 LIBS=$ac_func_search_save_LIBS ;;
   22061 esac
   22062 fi
   22063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
   22064 printf "%s\n" "$ac_cv_search_crypt" >&6; }
   22065 ac_res=$ac_cv_search_crypt
   22066 if test "$ac_res" != no
   22067 then :
   22068   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22069 
   22070 fi
   22071 
   22072 
   22073 # Function dl() comes from the C library or -ldl
   22074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   22075 printf %s "checking for library containing dlopen... " >&6; }
   22076 if test ${ac_cv_search_dlopen+y}
   22077 then :
   22078   printf %s "(cached) " >&6
   22079 else case e in #(
   22080   e) ac_func_search_save_LIBS=$LIBS
   22081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22082 /* end confdefs.h.  */
   22083 
   22084 /* Override any GCC internal prototype to avoid an error.
   22085    Use char because int might match the return type of a GCC
   22086    builtin and then its argument prototype would still apply.
   22087    The 'extern "C"' is for builds by C++ compilers;
   22088    although this is not generally supported in C code supporting it here
   22089    has little cost and some practical benefit (sr 110532).  */
   22090 #ifdef __cplusplus
   22091 extern "C"
   22092 #endif
   22093 char dlopen (void);
   22094 int
   22095 main (void)
   22096 {
   22097 return dlopen ();
   22098   ;
   22099   return 0;
   22100 }
   22101 _ACEOF
   22102 for ac_lib in '' dl
   22103 do
   22104   if test -z "$ac_lib"; then
   22105     ac_res="none required"
   22106   else
   22107     ac_res=-l$ac_lib
   22108     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22109   fi
   22110   if ac_fn_c_try_link "$LINENO"
   22111 then :
   22112   ac_cv_search_dlopen=$ac_res
   22113 fi
   22114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22115     conftest$ac_exeext
   22116   if test ${ac_cv_search_dlopen+y}
   22117 then :
   22118   break
   22119 fi
   22120 done
   22121 if test ${ac_cv_search_dlopen+y}
   22122 then :
   22123 
   22124 else case e in #(
   22125   e) ac_cv_search_dlopen=no ;;
   22126 esac
   22127 fi
   22128 rm conftest.$ac_ext
   22129 LIBS=$ac_func_search_save_LIBS ;;
   22130 esac
   22131 fi
   22132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   22133 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
   22134 ac_res=$ac_cv_search_dlopen
   22135 if test "$ac_res" != no
   22136 then :
   22137   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22138 
   22139 fi
   22140 
   22141 
   22142 # Find needed libraries for TCP sockets (pre-pended in $LIBS)
   22143 
   22144 
   22145  case $host_os in
   22146 	mingw*)	unixdef="no"   ;;
   22147 	*)	unixdef="yes"  ;;
   22148  esac
   22149  # Check whether --enable-unix-transport was given.
   22150 if test ${enable_unix_transport+y}
   22151 then :
   22152   enableval=$enable_unix_transport; UNIXCONN=$enableval
   22153 else case e in #(
   22154   e) UNIXCONN=$unixdef ;;
   22155 esac
   22156 fi
   22157 
   22158  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   22159 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   22160  if test "$UNIXCONN" = "yes"; then
   22161 
   22162 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   22163 
   22164  fi
   22165  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   22166 printf "%s\n" "$UNIXCONN" >&6; }
   22167  # Check whether --enable-tcp-transport was given.
   22168 if test ${enable_tcp_transport+y}
   22169 then :
   22170   enableval=$enable_tcp_transport; TCPCONN=$enableval
   22171 else case e in #(
   22172   e) TCPCONN=yes ;;
   22173 esac
   22174 fi
   22175 
   22176  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   22177 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   22178  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   22179 printf "%s\n" "$TCPCONN" >&6; }
   22180  if test "$TCPCONN" = "yes"; then
   22181 
   22182 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   22183 
   22184 
   22185  # SVR4 hides these in libraries other than libc
   22186  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   22187 printf %s "checking for library containing socket... " >&6; }
   22188 if test ${ac_cv_search_socket+y}
   22189 then :
   22190   printf %s "(cached) " >&6
   22191 else case e in #(
   22192   e) ac_func_search_save_LIBS=$LIBS
   22193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22194 /* end confdefs.h.  */
   22195 
   22196 /* Override any GCC internal prototype to avoid an error.
   22197    Use char because int might match the return type of a GCC
   22198    builtin and then its argument prototype would still apply.
   22199    The 'extern "C"' is for builds by C++ compilers;
   22200    although this is not generally supported in C code supporting it here
   22201    has little cost and some practical benefit (sr 110532).  */
   22202 #ifdef __cplusplus
   22203 extern "C"
   22204 #endif
   22205 char socket (void);
   22206 int
   22207 main (void)
   22208 {
   22209 return socket ();
   22210   ;
   22211   return 0;
   22212 }
   22213 _ACEOF
   22214 for ac_lib in '' socket
   22215 do
   22216   if test -z "$ac_lib"; then
   22217     ac_res="none required"
   22218   else
   22219     ac_res=-l$ac_lib
   22220     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22221   fi
   22222   if ac_fn_c_try_link "$LINENO"
   22223 then :
   22224   ac_cv_search_socket=$ac_res
   22225 fi
   22226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22227     conftest$ac_exeext
   22228   if test ${ac_cv_search_socket+y}
   22229 then :
   22230   break
   22231 fi
   22232 done
   22233 if test ${ac_cv_search_socket+y}
   22234 then :
   22235 
   22236 else case e in #(
   22237   e) ac_cv_search_socket=no ;;
   22238 esac
   22239 fi
   22240 rm conftest.$ac_ext
   22241 LIBS=$ac_func_search_save_LIBS ;;
   22242 esac
   22243 fi
   22244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   22245 printf "%s\n" "$ac_cv_search_socket" >&6; }
   22246 ac_res=$ac_cv_search_socket
   22247 if test "$ac_res" != no
   22248 then :
   22249   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22250 
   22251 fi
   22252 
   22253  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   22254 printf %s "checking for library containing gethostbyname... " >&6; }
   22255 if test ${ac_cv_search_gethostbyname+y}
   22256 then :
   22257   printf %s "(cached) " >&6
   22258 else case e in #(
   22259   e) ac_func_search_save_LIBS=$LIBS
   22260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22261 /* end confdefs.h.  */
   22262 
   22263 /* Override any GCC internal prototype to avoid an error.
   22264    Use char because int might match the return type of a GCC
   22265    builtin and then its argument prototype would still apply.
   22266    The 'extern "C"' is for builds by C++ compilers;
   22267    although this is not generally supported in C code supporting it here
   22268    has little cost and some practical benefit (sr 110532).  */
   22269 #ifdef __cplusplus
   22270 extern "C"
   22271 #endif
   22272 char gethostbyname (void);
   22273 int
   22274 main (void)
   22275 {
   22276 return gethostbyname ();
   22277   ;
   22278   return 0;
   22279 }
   22280 _ACEOF
   22281 for ac_lib in '' nsl
   22282 do
   22283   if test -z "$ac_lib"; then
   22284     ac_res="none required"
   22285   else
   22286     ac_res=-l$ac_lib
   22287     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22288   fi
   22289   if ac_fn_c_try_link "$LINENO"
   22290 then :
   22291   ac_cv_search_gethostbyname=$ac_res
   22292 fi
   22293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22294     conftest$ac_exeext
   22295   if test ${ac_cv_search_gethostbyname+y}
   22296 then :
   22297   break
   22298 fi
   22299 done
   22300 if test ${ac_cv_search_gethostbyname+y}
   22301 then :
   22302 
   22303 else case e in #(
   22304   e) ac_cv_search_gethostbyname=no ;;
   22305 esac
   22306 fi
   22307 rm conftest.$ac_ext
   22308 LIBS=$ac_func_search_save_LIBS ;;
   22309 esac
   22310 fi
   22311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   22312 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   22313 ac_res=$ac_cv_search_gethostbyname
   22314 if test "$ac_res" != no
   22315 then :
   22316   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22317 
   22318 fi
   22319 
   22320  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   22321    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   22322 printf %s "checking for main in -lws2_32... " >&6; }
   22323 if test ${ac_cv_lib_ws2_32_main+y}
   22324 then :
   22325   printf %s "(cached) " >&6
   22326 else case e in #(
   22327   e) ac_check_lib_save_LIBS=$LIBS
   22328 LIBS="-lws2_32  $LIBS"
   22329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22330 /* end confdefs.h.  */
   22331 
   22332 
   22333 int
   22334 main (void)
   22335 {
   22336 return main ();
   22337   ;
   22338   return 0;
   22339 }
   22340 _ACEOF
   22341 if ac_fn_c_try_link "$LINENO"
   22342 then :
   22343   ac_cv_lib_ws2_32_main=yes
   22344 else case e in #(
   22345   e) ac_cv_lib_ws2_32_main=no ;;
   22346 esac
   22347 fi
   22348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22349     conftest$ac_exeext conftest.$ac_ext
   22350 LIBS=$ac_check_lib_save_LIBS ;;
   22351 esac
   22352 fi
   22353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   22354 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   22355 if test "x$ac_cv_lib_ws2_32_main" = xyes
   22356 then :
   22357   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   22358 
   22359   LIBS="-lws2_32 $LIBS"
   22360 
   22361 fi
   22362 
   22363  fi
   22364 
   22365  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   22366  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   22367 if test "x$ac_cv_func_getaddrinfo" = xyes
   22368 then :
   22369   printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
   22370 
   22371 fi
   22372 ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
   22373 if test "x$ac_cv_func_inet_ntop" = xyes
   22374 then :
   22375   printf "%s\n" "#define HAVE_INET_NTOP 1" >>confdefs.h
   22376 
   22377 fi
   22378 
   22379 
   22380  # Check whether --enable-ipv6 was given.
   22381 if test ${enable_ipv6+y}
   22382 then :
   22383   enableval=$enable_ipv6; IPV6CONN=$enableval
   22384 else case e in #(
   22385   e) IPV6CONN=$ac_cv_func_getaddrinfo ;;
   22386 esac
   22387 fi
   22388 
   22389  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   22390 printf %s "checking if IPv6 support should be built... " >&6; }
   22391  if test "$IPV6CONN" = "yes"; then
   22392 
   22393 printf "%s\n" "#define IPv6 1" >>confdefs.h
   22394 
   22395  fi
   22396  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   22397 printf "%s\n" "$IPV6CONN" >&6; }
   22398 
   22399  # 4.3BSD-Reno added a new member to struct sockaddr_in
   22400  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   22401 #include <sys/types.h>
   22402 #include <sys/socket.h>
   22403 #include <netinet/in.h>
   22404 
   22405 "
   22406 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   22407 then :
   22408 
   22409 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   22410 
   22411 fi
   22412 
   22413 
   22414  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   22415  # and added a type defined to be large enough to hold any sockaddr format.
   22416  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   22417 $ac_includes_default
   22418 #include <sys/socket.h>
   22419 
   22420 "
   22421 if test "x$ac_cv_type_socklen_t" = xyes
   22422 then :
   22423 
   22424 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   22425 
   22426 
   22427 fi
   22428 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
   22429 $ac_includes_default
   22430 #include <sys/socket.h>
   22431 
   22432 "
   22433 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
   22434 then :
   22435 
   22436 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
   22437 
   22438 
   22439 fi
   22440 
   22441 
   22442  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   22443  # _XOPEN_SOURCE to get it (such as on Solaris)
   22444  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22445 $ac_includes_default
   22446 #include <sys/socket.h>
   22447 
   22448 "
   22449 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22450 then :
   22451 
   22452 fi
   22453 
   22454  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   22455  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   22456      unset ac_cv_member_struct_msghdr_msg_control
   22457      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   22458 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   22459      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22460 #define _XOPEN_SOURCE 600
   22461 $ac_includes_default
   22462 #include <sys/socket.h>
   22463 
   22464 "
   22465 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22466 then :
   22467 
   22468 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   22469 
   22470 
   22471 fi
   22472 
   22473  fi
   22474  # If that didn't work, fall back to XPG5/UNIX98 with C89
   22475  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   22476      unset ac_cv_member_struct_msghdr_msg_control
   22477      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   22478 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   22479      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22480 #define _XOPEN_SOURCE 500
   22481 $ac_includes_default
   22482 #include <sys/socket.h>
   22483 
   22484 "
   22485 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22486 then :
   22487 
   22488 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   22489 
   22490 
   22491 fi
   22492 
   22493  fi
   22494 
   22495 
   22496 
   22497  fi
   22498  case $host_os in
   22499 	solaris*)		localdef="yes" ;;
   22500 	*)			localdef="no"  ;;
   22501  esac
   22502  # Check whether --enable-local-transport was given.
   22503 if test ${enable_local_transport+y}
   22504 then :
   22505   enableval=$enable_local_transport; LOCALCONN=$enableval
   22506 else case e in #(
   22507   e) LOCALCONN=$localdef ;;
   22508 esac
   22509 fi
   22510 
   22511  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   22512 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   22513  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   22514 printf "%s\n" "$LOCALCONN" >&6; }
   22515  if test "$LOCALCONN" = "yes"; then
   22516 
   22517 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   22518 
   22519  fi
   22520 
   22521  # Other functions Xtrans may need
   22522  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   22523 if test "x$ac_cv_func_strcasecmp" = xyes
   22524 then :
   22525   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   22526 
   22527 fi
   22528 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   22529 if test "x$ac_cv_func_strlcpy" = xyes
   22530 then :
   22531   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   22532 
   22533 fi
   22534 
   22535 
   22536 
   22537 
   22538 # Sets $SECURE_RPC to "yes" or "no" using libraries found above from $LIBS
   22539 
   22540  # Check whether --enable-secure-rpc was given.
   22541 if test ${enable_secure_rpc+y}
   22542 then :
   22543   enableval=$enable_secure_rpc; SECURE_RPC=$enableval
   22544 else case e in #(
   22545   e) SECURE_RPC="try" ;;
   22546 esac
   22547 fi
   22548 
   22549 
   22550  if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
   22551 	FOUND_SECURE_RPC="no"
   22552 
   22553   for ac_func in authdes_seccreate authdes_create
   22554 do :
   22555   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
   22556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   22557 if eval test \"x\$"$as_ac_var"\" = x"yes"
   22558 then :
   22559   cat >>confdefs.h <<_ACEOF
   22560 #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
   22561 _ACEOF
   22562  FOUND_SECURE_RPC="yes"
   22563 fi
   22564 
   22565 done
   22566 	if test "x$FOUND_SECURE_RPC" = "xno" ; then
   22567 		if test "x$SECURE_RPC" = "xyes" ; then
   22568 	as_fn_error $? "Secure RPC requested, but required functions not found" "$LINENO" 5
   22569 		fi
   22570 		SECURE_RPC="no"
   22571 	else
   22572 				{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getsecretkey" >&5
   22573 printf %s "checking for library containing getsecretkey... " >&6; }
   22574 if test ${ac_cv_search_getsecretkey+y}
   22575 then :
   22576   printf %s "(cached) " >&6
   22577 else case e in #(
   22578   e) ac_func_search_save_LIBS=$LIBS
   22579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22580 /* end confdefs.h.  */
   22581 
   22582 /* Override any GCC internal prototype to avoid an error.
   22583    Use char because int might match the return type of a GCC
   22584    builtin and then its argument prototype would still apply.
   22585    The 'extern "C"' is for builds by C++ compilers;
   22586    although this is not generally supported in C code supporting it here
   22587    has little cost and some practical benefit (sr 110532).  */
   22588 #ifdef __cplusplus
   22589 extern "C"
   22590 #endif
   22591 char getsecretkey (void);
   22592 int
   22593 main (void)
   22594 {
   22595 return getsecretkey ();
   22596   ;
   22597   return 0;
   22598 }
   22599 _ACEOF
   22600 for ac_lib in '' rpcsvc
   22601 do
   22602   if test -z "$ac_lib"; then
   22603     ac_res="none required"
   22604   else
   22605     ac_res=-l$ac_lib
   22606     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22607   fi
   22608   if ac_fn_c_try_link "$LINENO"
   22609 then :
   22610   ac_cv_search_getsecretkey=$ac_res
   22611 fi
   22612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22613     conftest$ac_exeext
   22614   if test ${ac_cv_search_getsecretkey+y}
   22615 then :
   22616   break
   22617 fi
   22618 done
   22619 if test ${ac_cv_search_getsecretkey+y}
   22620 then :
   22621 
   22622 else case e in #(
   22623   e) ac_cv_search_getsecretkey=no ;;
   22624 esac
   22625 fi
   22626 rm conftest.$ac_ext
   22627 LIBS=$ac_func_search_save_LIBS ;;
   22628 esac
   22629 fi
   22630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getsecretkey" >&5
   22631 printf "%s\n" "$ac_cv_search_getsecretkey" >&6; }
   22632 ac_res=$ac_cv_search_getsecretkey
   22633 if test "$ac_res" != no
   22634 then :
   22635   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22636 
   22637 fi
   22638 
   22639 		SECURE_RPC="yes"
   22640 	fi
   22641  fi
   22642  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5
   22643 printf %s "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... " >&6; }
   22644  if test "x$SECURE_RPC" = "xyes" ; then
   22645 
   22646 printf "%s\n" "#define SECURE_RPC 1" >>confdefs.h
   22647 
   22648  fi
   22649  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SECURE_RPC" >&5
   22650 printf "%s\n" "$SECURE_RPC" >&6; }
   22651 
   22652  if test x$SECURE_RPC = xyes; then
   22653   HAS_SECURE_RPC_TRUE=
   22654   HAS_SECURE_RPC_FALSE='#'
   22655 else
   22656   HAS_SECURE_RPC_TRUE='#'
   22657   HAS_SECURE_RPC_FALSE=
   22658 fi
   22659 
   22660 
   22661 #------------------------------------------------------------------------------
   22662 
   22663 # Checks for header files.
   22664 ac_fn_c_check_header_compile "$LINENO" "grp.h" "ac_cv_header_grp_h" "$ac_includes_default"
   22665 if test "x$ac_cv_header_grp_h" = xyes
   22666 then :
   22667   printf "%s\n" "#define HAVE_GRP_H 1" >>confdefs.h
   22668 
   22669 fi
   22670 ac_fn_c_check_header_compile "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
   22671 if test "x$ac_cv_header_syslog_h" = xyes
   22672 then :
   22673   printf "%s\n" "#define HAVE_SYSLOG_H 1" >>confdefs.h
   22674 
   22675 fi
   22676 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
   22677 if test "x$ac_cv_header_sys_param_h" = xyes
   22678 then :
   22679   printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
   22680 
   22681 fi
   22682 
   22683 ac_fn_check_decl "$LINENO" "key_setnet" "ac_cv_have_decl_key_setnet" "
   22684 #include <rpc/rpc.h>
   22685 #include <rpc/key_prot.h>
   22686 
   22687 " "$ac_c_undeclared_builtin_options" "CFLAGS"
   22688 if test "x$ac_cv_have_decl_key_setnet" = xyes
   22689 then :
   22690 
   22691 printf "%s\n" "#define HAVE_DECL_KEY_SETNET 1" >>confdefs.h
   22692 
   22693 fi
   22694 
   22695 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
   22696 $ac_includes_default
   22697 #include <sys/socket.h>
   22698 
   22699 "
   22700 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
   22701 then :
   22702 
   22703 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
   22704 
   22705 
   22706 fi
   22707 
   22708 
   22709 # Check for system library functions
   22710 # Required system libraries have been searched for and are listed in $LIBS
   22711 
   22712   ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default
   22713 "
   22714 if test "x$ac_cv_type_pid_t" = xyes
   22715 then :
   22716 
   22717 else case e in #(
   22718   e)                                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22719 /* end confdefs.h.  */
   22720 
   22721           #if defined _WIN64 && !defined __CYGWIN__
   22722           LLP64
   22723           #endif
   22724 
   22725 int
   22726 main (void)
   22727 {
   22728 
   22729   ;
   22730   return 0;
   22731 }
   22732 
   22733 _ACEOF
   22734 if ac_fn_c_try_compile "$LINENO"
   22735 then :
   22736   ac_pid_type='int'
   22737 else case e in #(
   22738   e) ac_pid_type='__int64' ;;
   22739 esac
   22740 fi
   22741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   22742 
   22743 printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h
   22744 
   22745      ;;
   22746 esac
   22747 fi
   22748 
   22749 
   22750 
   22751 ac_func=
   22752 for ac_item in $ac_func_c_list
   22753 do
   22754   if test $ac_func; then
   22755     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   22756     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   22757       echo "#define $ac_item 1" >> confdefs.h
   22758     fi
   22759     ac_func=
   22760   else
   22761     ac_func=$ac_item
   22762   fi
   22763 done
   22764 
   22765 
   22766 
   22767 if test "x$ac_cv_func_fork" = xyes; then
   22768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
   22769 printf %s "checking for working fork... " >&6; }
   22770 if test ${ac_cv_func_fork_works+y}
   22771 then :
   22772   printf %s "(cached) " >&6
   22773 else case e in #(
   22774   e) if test "$cross_compiling" = yes
   22775 then :
   22776   ac_cv_func_fork_works=cross
   22777 else case e in #(
   22778   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22779 /* end confdefs.h.  */
   22780 $ac_includes_default
   22781 int
   22782 main (void)
   22783 {
   22784 
   22785 	  /* By R. Kuhlmann. */
   22786 	  return fork () < 0;
   22787 
   22788   ;
   22789   return 0;
   22790 }
   22791 _ACEOF
   22792 if ac_fn_c_try_run "$LINENO"
   22793 then :
   22794   ac_cv_func_fork_works=yes
   22795 else case e in #(
   22796   e) ac_cv_func_fork_works=no ;;
   22797 esac
   22798 fi
   22799 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   22800   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   22801 esac
   22802 fi
   22803  ;;
   22804 esac
   22805 fi
   22806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
   22807 printf "%s\n" "$ac_cv_func_fork_works" >&6; }
   22808 
   22809 else
   22810   ac_cv_func_fork_works=$ac_cv_func_fork
   22811 fi
   22812 if test "x$ac_cv_func_fork_works" = xcross; then
   22813   case $host in
   22814     *-*-amigaos* | *-*-msdosdjgpp*)
   22815       # Override, as these systems have only a dummy fork() stub
   22816       ac_cv_func_fork_works=no
   22817       ;;
   22818     *)
   22819       ac_cv_func_fork_works=yes
   22820       ;;
   22821   esac
   22822   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
   22823 printf "%s\n" "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
   22824 fi
   22825 ac_cv_func_vfork_works=$ac_cv_func_vfork
   22826 if test "x$ac_cv_func_vfork" = xyes; then
   22827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
   22828 printf %s "checking for working vfork... " >&6; }
   22829 if test ${ac_cv_func_vfork_works+y}
   22830 then :
   22831   printf %s "(cached) " >&6
   22832 else case e in #(
   22833   e) if test "$cross_compiling" = yes
   22834 then :
   22835   ac_cv_func_vfork_works=cross
   22836 else case e in #(
   22837   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22838 /* end confdefs.h.  */
   22839 /* Thanks to Paul Eggert for this test.  */
   22840 $ac_includes_default
   22841 #include <signal.h>
   22842 #include <sys/wait.h>
   22843 #ifdef HAVE_VFORK_H
   22844 # include <vfork.h>
   22845 #endif
   22846 
   22847 static void
   22848 do_nothing (int sig)
   22849 {
   22850   (void) sig;
   22851 }
   22852 
   22853 /* On some sparc systems, changes by the child to local and incoming
   22854    argument registers are propagated back to the parent.  The compiler
   22855    is told about this with #include <vfork.h>, but some compilers
   22856    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
   22857    static variable whose address is put into a register that is
   22858    clobbered by the vfork.  */
   22859 static void
   22860 sparc_address_test (int arg)
   22861 {
   22862   static pid_t child;
   22863   if (!child) {
   22864     child = vfork ();
   22865     if (child < 0) {
   22866       perror ("vfork");
   22867       _exit(2);
   22868     }
   22869     if (!child) {
   22870       arg = getpid();
   22871       write(-1, "", 0);
   22872       _exit (arg);
   22873     }
   22874   }
   22875 }
   22876 
   22877 int
   22878 main (void)
   22879 {
   22880   pid_t parent = getpid ();
   22881   pid_t child;
   22882 
   22883   sparc_address_test (0);
   22884 
   22885   /* On Solaris 2.4, changes by the child to the signal handler
   22886      also munge signal handlers in the parent.  To detect this,
   22887      start by putting the parent's handler in a known state.  */
   22888   signal (SIGTERM, SIG_DFL);
   22889 
   22890   child = vfork ();
   22891 
   22892   if (child == 0) {
   22893     /* Here is another test for sparc vfork register problems.  This
   22894        test uses lots of local variables, at least as many local
   22895        variables as main has allocated so far including compiler
   22896        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
   22897        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
   22898        reuse the register of parent for one of the local variables,
   22899        since it will think that parent can't possibly be used any more
   22900        in this routine.  Assigning to the local variable will thus
   22901        munge parent in the parent process.  */
   22902     pid_t
   22903       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
   22904       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
   22905     /* Convince the compiler that p..p7 are live; otherwise, it might
   22906        use the same hardware register for all 8 local variables.  */
   22907     if (p != p1 || p != p2 || p != p3 || p != p4
   22908 	|| p != p5 || p != p6 || p != p7)
   22909       _exit(1);
   22910 
   22911     /* Alter the child's signal handler.  */
   22912     if (signal (SIGTERM, do_nothing) != SIG_DFL)
   22913       _exit(1);
   22914 
   22915     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
   22916        from child file descriptors.  If the child closes a descriptor
   22917        before it execs or exits, this munges the parent's descriptor
   22918        as well.  Test for this by closing stdout in the child.  */
   22919     _exit(close(fileno(stdout)) != 0);
   22920   } else {
   22921     int status;
   22922     struct stat st;
   22923 
   22924     while (wait(&status) != child)
   22925       ;
   22926     return (
   22927 	 /* Was there some problem with vforking?  */
   22928 	 child < 0
   22929 
   22930 	 /* Did the child munge the parent's signal handler?  */
   22931 	 || signal (SIGTERM, SIG_DFL) != SIG_DFL
   22932 
   22933 	 /* Did the child fail?  (This shouldn't happen.)  */
   22934 	 || status
   22935 
   22936 	 /* Did the vfork/compiler bug occur?  */
   22937 	 || parent != getpid()
   22938 
   22939 	 /* Did the file descriptor bug occur?  */
   22940 	 || fstat(fileno(stdout), &st) != 0
   22941 	 );
   22942   }
   22943 }
   22944 _ACEOF
   22945 if ac_fn_c_try_run "$LINENO"
   22946 then :
   22947   ac_cv_func_vfork_works=yes
   22948 else case e in #(
   22949   e) ac_cv_func_vfork_works=no ;;
   22950 esac
   22951 fi
   22952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   22953   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   22954 esac
   22955 fi
   22956  ;;
   22957 esac
   22958 fi
   22959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
   22960 printf "%s\n" "$ac_cv_func_vfork_works" >&6; }
   22961 
   22962 fi;
   22963 if test "x$ac_cv_func_fork_works" = xcross; then
   22964   ac_cv_func_vfork_works=$ac_cv_func_vfork
   22965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
   22966 printf "%s\n" "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
   22967 fi
   22968 
   22969 if test "x$ac_cv_func_vfork_works" = xyes; then
   22970 
   22971 printf "%s\n" "#define HAVE_WORKING_VFORK 1" >>confdefs.h
   22972 
   22973 else
   22974 
   22975 printf "%s\n" "#define vfork fork" >>confdefs.h
   22976 
   22977 fi
   22978 if test "x$ac_cv_func_fork_works" = xyes; then
   22979 
   22980 printf "%s\n" "#define HAVE_WORKING_FORK 1" >>confdefs.h
   22981 
   22982 fi
   22983 
   22984 xdm_save_LIBS="$LIBS"
   22985 LIBS="$LIBS $XDM_LIBS"
   22986 ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
   22987 if test "x$ac_cv_func_daemon" = xyes
   22988 then :
   22989   printf "%s\n" "#define HAVE_DAEMON 1" >>confdefs.h
   22990 
   22991 fi
   22992 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
   22993 if test "x$ac_cv_func_sigaction" = xyes
   22994 then :
   22995   printf "%s\n" "#define HAVE_SIGACTION 1" >>confdefs.h
   22996 
   22997 fi
   22998 ac_fn_c_check_func "$LINENO" "openlog" "ac_cv_func_openlog"
   22999 if test "x$ac_cv_func_openlog" = xyes
   23000 then :
   23001   printf "%s\n" "#define HAVE_OPENLOG 1" >>confdefs.h
   23002 
   23003 fi
   23004 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   23005 if test "x$ac_cv_func_asprintf" = xyes
   23006 then :
   23007   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
   23008 
   23009 fi
   23010 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
   23011 if test "x$ac_cv_func_setproctitle" = xyes
   23012 then :
   23013   printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
   23014 
   23015 fi
   23016 ac_fn_c_check_func "$LINENO" "setusercontext" "ac_cv_func_setusercontext"
   23017 if test "x$ac_cv_func_setusercontext" = xyes
   23018 then :
   23019   printf "%s\n" "#define HAVE_SETUSERCONTEXT 1" >>confdefs.h
   23020 
   23021 fi
   23022 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   23023 if test "x$ac_cv_func_mkstemp" = xyes
   23024 then :
   23025   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
   23026 
   23027 fi
   23028 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
   23029 if test "x$ac_cv_func_getifaddrs" = xyes
   23030 then :
   23031   printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
   23032 
   23033 fi
   23034 ac_fn_c_check_func "$LINENO" "getspnam" "ac_cv_func_getspnam"
   23035 if test "x$ac_cv_func_getspnam" = xyes
   23036 then :
   23037   printf "%s\n" "#define HAVE_GETSPNAM 1" >>confdefs.h
   23038 
   23039 fi
   23040 ac_fn_c_check_func "$LINENO" "arc4random" "ac_cv_func_arc4random"
   23041 if test "x$ac_cv_func_arc4random" = xyes
   23042 then :
   23043   printf "%s\n" "#define HAVE_ARC4RANDOM 1" >>confdefs.h
   23044 
   23045 fi
   23046 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   23047 if test "x$ac_cv_func_getaddrinfo" = xyes
   23048 then :
   23049   printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
   23050 
   23051 fi
   23052 ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
   23053 if test "x$ac_cv_func_inet_ntop" = xyes
   23054 then :
   23055   printf "%s\n" "#define HAVE_INET_NTOP 1" >>confdefs.h
   23056 
   23057 fi
   23058 
   23059 LIBS="$xdm_save_LIBS"
   23060 
   23061 # Check for pluggable authentication modules (PAM) support
   23062 
   23063 # Check whether --with-pam was given.
   23064 if test ${with_pam+y}
   23065 then :
   23066   withval=$with_pam; USE_PAM=$withval
   23067 else case e in #(
   23068   e) USE_PAM=auto ;;
   23069 esac
   23070 fi
   23071 
   23072 if test "x$USE_PAM" != "xno" ; then
   23073            for ac_header in security/pam_appl.h pam/pam_appl.h
   23074 do :
   23075   as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | sed "$as_sed_sh"`
   23076 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   23077 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   23078 then :
   23079   cat >>confdefs.h <<_ACEOF
   23080 #define `printf "%s\n" "HAVE_$ac_header" | sed "$as_sed_cpp"` 1
   23081 _ACEOF
   23082  found=yes ; break ;
   23083 else case e in #(
   23084   e) found=no ;;
   23085 esac
   23086 fi
   23087 
   23088 done
   23089     if test "x$USE_PAM" = "xyes" -a  "x$found" = "xno"
   23090 then :
   23091   as_fn_error $? "PAM support requested, but we could not find the pam headers." "$LINENO" 5
   23092 fi
   23093     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing pam_open_session" >&5
   23094 printf %s "checking for library containing pam_open_session... " >&6; }
   23095 if test ${ac_cv_search_pam_open_session+y}
   23096 then :
   23097   printf %s "(cached) " >&6
   23098 else case e in #(
   23099   e) ac_func_search_save_LIBS=$LIBS
   23100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23101 /* end confdefs.h.  */
   23102 
   23103 /* Override any GCC internal prototype to avoid an error.
   23104    Use char because int might match the return type of a GCC
   23105    builtin and then its argument prototype would still apply.
   23106    The 'extern "C"' is for builds by C++ compilers;
   23107    although this is not generally supported in C code supporting it here
   23108    has little cost and some practical benefit (sr 110532).  */
   23109 #ifdef __cplusplus
   23110 extern "C"
   23111 #endif
   23112 char pam_open_session (void);
   23113 int
   23114 main (void)
   23115 {
   23116 return pam_open_session ();
   23117   ;
   23118   return 0;
   23119 }
   23120 _ACEOF
   23121 for ac_lib in '' pam
   23122 do
   23123   if test -z "$ac_lib"; then
   23124     ac_res="none required"
   23125   else
   23126     ac_res=-l$ac_lib
   23127     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23128   fi
   23129   if ac_fn_c_try_link "$LINENO"
   23130 then :
   23131   ac_cv_search_pam_open_session=$ac_res
   23132 fi
   23133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23134     conftest$ac_exeext
   23135   if test ${ac_cv_search_pam_open_session+y}
   23136 then :
   23137   break
   23138 fi
   23139 done
   23140 if test ${ac_cv_search_pam_open_session+y}
   23141 then :
   23142 
   23143 else case e in #(
   23144   e) ac_cv_search_pam_open_session=no ;;
   23145 esac
   23146 fi
   23147 rm conftest.$ac_ext
   23148 LIBS=$ac_func_search_save_LIBS ;;
   23149 esac
   23150 fi
   23151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_open_session" >&5
   23152 printf "%s\n" "$ac_cv_search_pam_open_session" >&6; }
   23153 ac_res=$ac_cv_search_pam_open_session
   23154 if test "$ac_res" != no
   23155 then :
   23156   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23157   ac_fn_c_check_func "$LINENO" "pam_open_session" "ac_cv_func_pam_open_session"
   23158 if test "x$ac_cv_func_pam_open_session" = xyes
   23159 then :
   23160 
   23161 printf "%s\n" "#define USE_PAM 1" >>confdefs.h
   23162 
   23163 
   23164 fi
   23165 
   23166 else case e in #(
   23167   e) if test "x$USE_PAM" = "xyes"
   23168 then :
   23169   as_fn_error $? "PAM support requested, but pam_open_session not found." "$LINENO" 5
   23170 
   23171 fi
   23172      ;;
   23173 esac
   23174 fi
   23175 
   23176 fi
   23177 
   23178 # Check for Security-Enhanced Linux (SELinux) support
   23179 
   23180 # Check whether --with-selinux was given.
   23181 if test ${with_selinux+y}
   23182 then :
   23183   withval=$with_selinux; USE_SELINUX=$withval
   23184 else case e in #(
   23185   e) USE_SELINUX=no ;;
   23186 esac
   23187 fi
   23188 
   23189 if test "x$USE_SELINUX" != "xno" ; then
   23190     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing is_selinux_enabled" >&5
   23191 printf %s "checking for library containing is_selinux_enabled... " >&6; }
   23192 if test ${ac_cv_search_is_selinux_enabled+y}
   23193 then :
   23194   printf %s "(cached) " >&6
   23195 else case e in #(
   23196   e) ac_func_search_save_LIBS=$LIBS
   23197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23198 /* end confdefs.h.  */
   23199 
   23200 /* Override any GCC internal prototype to avoid an error.
   23201    Use char because int might match the return type of a GCC
   23202    builtin and then its argument prototype would still apply.
   23203    The 'extern "C"' is for builds by C++ compilers;
   23204    although this is not generally supported in C code supporting it here
   23205    has little cost and some practical benefit (sr 110532).  */
   23206 #ifdef __cplusplus
   23207 extern "C"
   23208 #endif
   23209 char is_selinux_enabled (void);
   23210 int
   23211 main (void)
   23212 {
   23213 return is_selinux_enabled ();
   23214   ;
   23215   return 0;
   23216 }
   23217 _ACEOF
   23218 for ac_lib in '' selinux
   23219 do
   23220   if test -z "$ac_lib"; then
   23221     ac_res="none required"
   23222   else
   23223     ac_res=-l$ac_lib
   23224     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   23225   fi
   23226   if ac_fn_c_try_link "$LINENO"
   23227 then :
   23228   ac_cv_search_is_selinux_enabled=$ac_res
   23229 fi
   23230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23231     conftest$ac_exeext
   23232   if test ${ac_cv_search_is_selinux_enabled+y}
   23233 then :
   23234   break
   23235 fi
   23236 done
   23237 if test ${ac_cv_search_is_selinux_enabled+y}
   23238 then :
   23239 
   23240 else case e in #(
   23241   e) ac_cv_search_is_selinux_enabled=no ;;
   23242 esac
   23243 fi
   23244 rm conftest.$ac_ext
   23245 LIBS=$ac_func_search_save_LIBS ;;
   23246 esac
   23247 fi
   23248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_is_selinux_enabled" >&5
   23249 printf "%s\n" "$ac_cv_search_is_selinux_enabled" >&6; }
   23250 ac_res=$ac_cv_search_is_selinux_enabled
   23251 if test "$ac_res" != no
   23252 then :
   23253   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23254   ac_fn_c_check_func "$LINENO" "is_selinux_enabled" "ac_cv_func_is_selinux_enabled"
   23255 if test "x$ac_cv_func_is_selinux_enabled" = xyes
   23256 then :
   23257 
   23258 printf "%s\n" "#define USE_SELINUX 1" >>confdefs.h
   23259 
   23260 
   23261 fi
   23262 
   23263 else case e in #(
   23264   e) if test "x$USE_SELINUX" = "xyes"
   23265 then :
   23266   as_fn_error $? "SELinux support requested, but is_selinux_enabled not found." "$LINENO" 5
   23267 
   23268 fi
   23269      ;;
   23270 esac
   23271 fi
   23272 
   23273 fi
   23274 
   23275 # Check whether to install systemd unit files, as suggested in daemon(7).
   23276 # When a full path is specified, this does not require systemd installed.
   23277 
   23278 # Check whether --with-systemdsystemunitdir was given.
   23279 if test ${with_systemdsystemunitdir+y}
   23280 then :
   23281   withval=$with_systemdsystemunitdir;
   23282 else case e in #(
   23283   e) with_systemdsystemunitdir=auto ;;
   23284 esac
   23285 fi
   23286 
   23287 if test "x$with_systemdsystemunitdir" = "xyes" -o "x$with_systemdsystemunitdir" = "xauto"
   23288 then :
   23289 
   23290     def_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
   23291 
   23292     if test "x$def_systemdsystemunitdir" = "x"
   23293 then :
   23294 
   23295 	if test "x$with_systemdsystemunitdir" = "xyes"
   23296 then :
   23297 
   23298 	    as_fn_error $? "systemd support requested but pkg-config unable to query systemd package" "$LINENO" 5
   23299 
   23300 fi
   23301 	with_systemdsystemunitdir=no
   23302 
   23303 else case e in #(
   23304   e)
   23305 	with_systemdsystemunitdir=$def_systemdsystemunitdir
   23306      ;;
   23307 esac
   23308 fi
   23309 
   23310 fi
   23311 if test "x$with_systemdsystemunitdir" != "xno"
   23312 then :
   23313 
   23314 	systemdsystemunitdir=$with_systemdsystemunitdir
   23315 
   23316 
   23317 fi
   23318  if test "x$with_systemdsystemunitdir" != "xno"; then
   23319   HAVE_SYSTEMD_TRUE=
   23320   HAVE_SYSTEMD_FALSE='#'
   23321 else
   23322   HAVE_SYSTEMD_TRUE='#'
   23323   HAVE_SYSTEMD_FALSE=
   23324 fi
   23325 
   23326 
   23327 # Check whether to enable systemd startup notification.
   23328 # This requires libsystemd.
   23329 
   23330 # Check whether --with-systemd-daemon was given.
   23331 if test ${with_systemd_daemon+y}
   23332 then :
   23333   withval=$with_systemd_daemon; USE_SYSTEMD_DAEMON=$withval
   23334 else case e in #(
   23335   e) if test -n "$PKG_CONFIG" && \
   23336     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
   23337   ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
   23338   ac_status=$?
   23339   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23340   test $ac_status = 0; }; then
   23341   USE_SYSTEMD_DAEMON="yes"
   23342 else
   23343   USE_SYSTEMD_DAEMON="no"
   23344 fi ;;
   23345 esac
   23346 fi
   23347 
   23348 if test "x$USE_SYSTEMD_DAEMON" != "xno"
   23349 then :
   23350 
   23351 
   23352 pkg_failed=no
   23353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_DAEMON" >&5
   23354 printf %s "checking for SYSTEMD_DAEMON... " >&6; }
   23355 
   23356 if test -n "$SYSTEMD_DAEMON_CFLAGS"; then
   23357     pkg_cv_SYSTEMD_DAEMON_CFLAGS="$SYSTEMD_DAEMON_CFLAGS"
   23358  elif test -n "$PKG_CONFIG"; then
   23359     if test -n "$PKG_CONFIG" && \
   23360     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
   23361   ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
   23362   ac_status=$?
   23363   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23364   test $ac_status = 0; }; then
   23365   pkg_cv_SYSTEMD_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null`
   23366 		      test "x$?" != "x0" && pkg_failed=yes
   23367 else
   23368   pkg_failed=yes
   23369 fi
   23370  else
   23371     pkg_failed=untried
   23372 fi
   23373 if test -n "$SYSTEMD_DAEMON_LIBS"; then
   23374     pkg_cv_SYSTEMD_DAEMON_LIBS="$SYSTEMD_DAEMON_LIBS"
   23375  elif test -n "$PKG_CONFIG"; then
   23376     if test -n "$PKG_CONFIG" && \
   23377     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
   23378   ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
   23379   ac_status=$?
   23380   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23381   test $ac_status = 0; }; then
   23382   pkg_cv_SYSTEMD_DAEMON_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null`
   23383 		      test "x$?" != "x0" && pkg_failed=yes
   23384 else
   23385   pkg_failed=yes
   23386 fi
   23387  else
   23388     pkg_failed=untried
   23389 fi
   23390 
   23391 
   23392 
   23393 if test $pkg_failed = yes; then
   23394    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23395 printf "%s\n" "no" >&6; }
   23396 
   23397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23398         _pkg_short_errors_supported=yes
   23399 else
   23400         _pkg_short_errors_supported=no
   23401 fi
   23402         if test $_pkg_short_errors_supported = yes; then
   23403 	        SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1`
   23404         else
   23405 	        SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1`
   23406         fi
   23407 	# Put the nasty error message in config.log where it belongs
   23408 	echo "$SYSTEMD_DAEMON_PKG_ERRORS" >&5
   23409 
   23410 	if test "x$USE_SYSTEMD_DAEMON" = "xyes"
   23411 then :
   23412   as_fn_error $? "systemd startup notification support requested, but libsystemd not found." "$LINENO" 5
   23413 
   23414 fi
   23415 
   23416 elif test $pkg_failed = untried; then
   23417      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23418 printf "%s\n" "no" >&6; }
   23419 	if test "x$USE_SYSTEMD_DAEMON" = "xyes"
   23420 then :
   23421   as_fn_error $? "systemd startup notification support requested, but libsystemd not found." "$LINENO" 5
   23422 
   23423 fi
   23424 
   23425 else
   23426 	SYSTEMD_DAEMON_CFLAGS=$pkg_cv_SYSTEMD_DAEMON_CFLAGS
   23427 	SYSTEMD_DAEMON_LIBS=$pkg_cv_SYSTEMD_DAEMON_LIBS
   23428         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23429 printf "%s\n" "yes" >&6; }
   23430 
   23431 printf "%s\n" "#define USE_SYSTEMD_DAEMON 1 " >>confdefs.h
   23432 
   23433 fi
   23434 
   23435 fi
   23436  if test "x$USE_SYSTEMD_DAEMON" = "xyes"; then
   23437   USE_SYSTEMD_DAEMON_TRUE=
   23438   USE_SYSTEMD_DAEMON_FALSE='#'
   23439 else
   23440   USE_SYSTEMD_DAEMON_TRUE='#'
   23441   USE_SYSTEMD_DAEMON_FALSE=
   23442 fi
   23443 
   23444 
   23445 # FIXME: Find better test for which OS'es use su -m  - for now, just try to
   23446 # mirror the Imakefile setting of:
   23447 # if  defined(OpenBSDArchitecture) || defined(NetBSDArchitecture) || defined(FreeBSDArchitecture) || defined(DarwinArchitecture)
   23448 
   23449 
   23450 case $host_os in
   23451     linux*|gnu*|*-gnu)
   23452 	SU="su"
   23453         ;;
   23454     darwin*)
   23455 	SU="su -m"
   23456         ;;
   23457     *bsd*|dragonfly*)
   23458 	SU="su -m"
   23459         ;;
   23460     solaris*|sysv4*)
   23461 	SU="su"
   23462 	;;
   23463     *)
   23464 	SU="su"
   23465         ;;
   23466 esac
   23467 
   23468 
   23469 # Define a configure option to locate a special file (/dev/random or /dev/urandom)
   23470 # that serves as a random or a pseudorandom number generator
   23471 
   23472 # Check whether --with-random-device was given.
   23473 if test ${with_random_device+y}
   23474 then :
   23475   withval=$with_random_device; USE_DEVICE="$withval"
   23476 else case e in #(
   23477   e) USE_DEVICE="auto" ;;
   23478 esac
   23479 fi
   23480 
   23481 if test x$USE_DEVICE != xno ; then
   23482     if test x$USE_DEVICE = xyes -o x$USE_DEVICE = xauto ; then
   23483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /dev/urandom" >&5
   23484 printf %s "checking for /dev/urandom... " >&6; }
   23485 if test ${ac_cv_file__dev_urandom+y}
   23486 then :
   23487   printf %s "(cached) " >&6
   23488 else case e in #(
   23489   e) test "$cross_compiling" = yes &&
   23490   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   23491 if test -r "/dev/urandom"; then
   23492   ac_cv_file__dev_urandom=yes
   23493 else
   23494   ac_cv_file__dev_urandom=no
   23495 fi ;;
   23496 esac
   23497 fi
   23498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_urandom" >&5
   23499 printf "%s\n" "$ac_cv_file__dev_urandom" >&6; }
   23500 if test "x$ac_cv_file__dev_urandom" = xyes
   23501 then :
   23502   DEV_RANDOM=/dev/urandom
   23503 else case e in #(
   23504   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /dev/random" >&5
   23505 printf %s "checking for /dev/random... " >&6; }
   23506 if test ${ac_cv_file__dev_random+y}
   23507 then :
   23508   printf %s "(cached) " >&6
   23509 else case e in #(
   23510   e) test "$cross_compiling" = yes &&
   23511   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   23512 if test -r "/dev/random"; then
   23513   ac_cv_file__dev_random=yes
   23514 else
   23515   ac_cv_file__dev_random=no
   23516 fi ;;
   23517 esac
   23518 fi
   23519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_random" >&5
   23520 printf "%s\n" "$ac_cv_file__dev_random" >&6; }
   23521 if test "x$ac_cv_file__dev_random" = xyes
   23522 then :
   23523   DEV_RANDOM=/dev/random
   23524 else case e in #(
   23525   e) if test "x$USE_DEVICE" = "xyes"
   23526 then :
   23527   as_fn_error $? "random device support requested, but no random device was found." "$LINENO" 5
   23528 
   23529 fi
   23530 	     ;;
   23531 esac
   23532 fi
   23533 
   23534 	 ;;
   23535 esac
   23536 fi
   23537 
   23538     else
   23539 	# assume the user input is a valid path to a random number generator
   23540 	DEV_RANDOM=$USE_DEVICE
   23541     fi
   23542     if test x$DEV_RANDOM != x ; then
   23543 
   23544 printf "%s\n" "#define DEV_RANDOM \"$DEV_RANDOM\"" >>confdefs.h
   23545 
   23546     fi
   23547 fi
   23548 
   23549 
   23550 # FIXME: find out how to check for these things. Note that Kerberos was
   23551 # turned off everywhere but on OpenBSD.
   23552  if false; then
   23553   HAS_KERBEROS_FIVE_TRUE=
   23554   HAS_KERBEROS_FIVE_FALSE='#'
   23555 else
   23556   HAS_KERBEROS_FIVE_TRUE='#'
   23557   HAS_KERBEROS_FIVE_FALSE=
   23558 fi
   23559 
   23560 
   23561 
   23562 # Figure out where everything goes in the filesystem
   23563 
   23564 
   23565 # Check whether --with-xdmlibdir was given.
   23566 if test ${with_xdmlibdir+y}
   23567 then :
   23568   withval=$with_xdmlibdir; XDMLIBDIR="$withval"
   23569 else case e in #(
   23570   e) XDMLIBDIR="${libdir}/X11/xdm" ;;
   23571 esac
   23572 fi
   23573 
   23574 
   23575 
   23576 
   23577 # Check whether --with-xdmconfigdir was given.
   23578 if test ${with_xdmconfigdir+y}
   23579 then :
   23580   withval=$with_xdmconfigdir; XDMCONFIGDIR="$withval"
   23581 else case e in #(
   23582   e) XDMCONFIGDIR="${XDMLIBDIR}" ;;
   23583 esac
   23584 fi
   23585 
   23586 
   23587 
   23588 
   23589 # Check whether --with-xdmscriptdir was given.
   23590 if test ${with_xdmscriptdir+y}
   23591 then :
   23592   withval=$with_xdmscriptdir; XDMSCRIPTDIR="$withval"
   23593 else case e in #(
   23594   e) XDMSCRIPTDIR="${XDMLIBDIR}" ;;
   23595 esac
   23596 fi
   23597 
   23598 
   23599 
   23600 
   23601 # Check whether --with-logdir was given.
   23602 if test ${with_logdir+y}
   23603 then :
   23604   withval=$with_logdir; XDMLOGDIR="$withval"
   23605 else case e in #(
   23606   e) XDMLOGDIR="/var/log" ;;
   23607 esac
   23608 fi
   23609 
   23610 
   23611 
   23612 
   23613 # Check whether --with-piddir was given.
   23614 if test ${with_piddir+y}
   23615 then :
   23616   withval=$with_piddir; XDMPIDDIR="$withval"
   23617 else case e in #(
   23618   e) XDMPIDDIR="/var/run" ;;
   23619 esac
   23620 fi
   23621 
   23622 
   23623 
   23624 
   23625 # Check whether --with-default-vt was given.
   23626 if test ${with_default_vt+y}
   23627 then :
   23628   withval=$with_default_vt; DEFAULTVT="$withval"
   23629 else case e in #(
   23630   e) DEFAULTVT="" ;;
   23631 esac
   23632 fi
   23633 
   23634 
   23635 
   23636 
   23637 # Check whether --with-config-type was given.
   23638 if test ${with_config_type+y}
   23639 then :
   23640   withval=$with_config_type; SERVERSTYPE="$withval"
   23641 else case e in #(
   23642   e) SERVERSTYPE="ws" ;;
   23643 esac
   23644 fi
   23645 
   23646 
   23647 
   23648 
   23649 # Check whether --with-utmp_file was given.
   23650 if test ${with_utmp_file+y}
   23651 then :
   23652   withval=$with_utmp_file; UTMP_FILE="$withval"
   23653 fi
   23654 
   23655 if test "x$UTMP_FILE" = "xyes" ; then
   23656 	UTMP_FILE=""
   23657 elif test "x$UTMP_FILE" = "xno" ; then
   23658 	UTMP_FILE="none"
   23659 fi
   23660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for path to file listing current logins for sessreg" >&5
   23661 printf %s "checking for path to file listing current logins for sessreg... " >&6; }
   23662 if test "x$UTMP_FILE" = "x" ; then
   23663 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: use sessreg default" >&5
   23664 printf "%s\n" "use sessreg default" >&6; }
   23665 else
   23666 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UTMP_FILE" >&5
   23667 printf "%s\n" "$UTMP_FILE" >&6; }
   23668 fi
   23669  if test x$UTMP_FILE != x; then
   23670   SET_UTMP_FILE_TRUE=
   23671   SET_UTMP_FILE_FALSE='#'
   23672 else
   23673   SET_UTMP_FILE_TRUE='#'
   23674   SET_UTMP_FILE_FALSE=
   23675 fi
   23676 
   23677 
   23678 
   23679 
   23680 # Check whether --with-wtmp_file was given.
   23681 if test ${with_wtmp_file+y}
   23682 then :
   23683   withval=$with_wtmp_file; WTMP_FILE="$withval"
   23684 fi
   23685 
   23686 if test "x$WTMP_FILE" = "xyes" ; then
   23687 	WTMP_FILE=""
   23688 elif test "x$WTMP_FILE" = "xno" ; then
   23689 	WTMP_FILE="none"
   23690 fi
   23691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for path to file listing login history for sessreg" >&5
   23692 printf %s "checking for path to file listing login history for sessreg... " >&6; }
   23693 if test "x$WTMP_FILE" = "x" ; then
   23694 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: use sessreg default" >&5
   23695 printf "%s\n" "use sessreg default" >&6; }
   23696 else
   23697 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WTMP_FILE" >&5
   23698 printf "%s\n" "$WTMP_FILE" >&6; }
   23699 fi
   23700  if test x$WTMP_FILE != x; then
   23701   SET_WTMP_FILE_TRUE=
   23702   SET_WTMP_FILE_FALSE='#'
   23703 else
   23704   SET_WTMP_FILE_TRUE='#'
   23705   SET_WTMP_FILE_FALSE=
   23706 fi
   23707 
   23708 
   23709 
   23710 case $host_os in
   23711     *sco*|*solaris*)
   23712 		SHELL_CMD="/bin/ksh"	;;
   23713     *)		SHELL_CMD="/bin/sh"	;;
   23714 esac
   23715 
   23716 
   23717 # Checks for pkg-config packages
   23718 
   23719 
   23720 # Check whether --with-xinerama was given.
   23721 if test ${with_xinerama+y}
   23722 then :
   23723   withval=$with_xinerama; USE_XINERAMA="$withval"
   23724 else case e in #(
   23725   e) if test -n "$PKG_CONFIG" && \
   23726     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5
   23727   ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
   23728   ac_status=$?
   23729   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23730   test $ac_status = 0; }; then
   23731   USE_XINERAMA="yes"
   23732 else
   23733   USE_XINERAMA="no"
   23734 fi ;;
   23735 esac
   23736 fi
   23737 
   23738 
   23739 if test "x$USE_XINERAMA" = "xyes" ; then
   23740 
   23741 printf "%s\n" "#define USE_XINERAMA 1" >>confdefs.h
   23742 
   23743 
   23744 pkg_failed=no
   23745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XINERAMA" >&5
   23746 printf %s "checking for XINERAMA... " >&6; }
   23747 
   23748 if test -n "$XINERAMA_CFLAGS"; then
   23749     pkg_cv_XINERAMA_CFLAGS="$XINERAMA_CFLAGS"
   23750  elif test -n "$PKG_CONFIG"; then
   23751     if test -n "$PKG_CONFIG" && \
   23752     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5
   23753   ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
   23754   ac_status=$?
   23755   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23756   test $ac_status = 0; }; then
   23757   pkg_cv_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "xinerama" 2>/dev/null`
   23758 		      test "x$?" != "x0" && pkg_failed=yes
   23759 else
   23760   pkg_failed=yes
   23761 fi
   23762  else
   23763     pkg_failed=untried
   23764 fi
   23765 if test -n "$XINERAMA_LIBS"; then
   23766     pkg_cv_XINERAMA_LIBS="$XINERAMA_LIBS"
   23767  elif test -n "$PKG_CONFIG"; then
   23768     if test -n "$PKG_CONFIG" && \
   23769     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xinerama\""; } >&5
   23770   ($PKG_CONFIG --exists --print-errors "xinerama") 2>&5
   23771   ac_status=$?
   23772   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23773   test $ac_status = 0; }; then
   23774   pkg_cv_XINERAMA_LIBS=`$PKG_CONFIG --libs "xinerama" 2>/dev/null`
   23775 		      test "x$?" != "x0" && pkg_failed=yes
   23776 else
   23777   pkg_failed=yes
   23778 fi
   23779  else
   23780     pkg_failed=untried
   23781 fi
   23782 
   23783 
   23784 
   23785 if test $pkg_failed = yes; then
   23786    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23787 printf "%s\n" "no" >&6; }
   23788 
   23789 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23790         _pkg_short_errors_supported=yes
   23791 else
   23792         _pkg_short_errors_supported=no
   23793 fi
   23794         if test $_pkg_short_errors_supported = yes; then
   23795 	        XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xinerama" 2>&1`
   23796         else
   23797 	        XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xinerama" 2>&1`
   23798         fi
   23799 	# Put the nasty error message in config.log where it belongs
   23800 	echo "$XINERAMA_PKG_ERRORS" >&5
   23801 
   23802 	as_fn_error $? "Package requirements (xinerama) were not met:
   23803 
   23804 $XINERAMA_PKG_ERRORS
   23805 
   23806 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23807 installed software in a non-standard prefix.
   23808 
   23809 Alternatively, you may set the environment variables XINERAMA_CFLAGS
   23810 and XINERAMA_LIBS to avoid the need to call pkg-config.
   23811 See the pkg-config man page for more details." "$LINENO" 5
   23812 elif test $pkg_failed = untried; then
   23813      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23814 printf "%s\n" "no" >&6; }
   23815 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23816 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23817 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23818 is in your PATH or set the PKG_CONFIG environment variable to the full
   23819 path to pkg-config.
   23820 
   23821 Alternatively, you may set the environment variables XINERAMA_CFLAGS
   23822 and XINERAMA_LIBS to avoid the need to call pkg-config.
   23823 See the pkg-config man page for more details.
   23824 
   23825 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23826 See 'config.log' for more details" "$LINENO" 5; }
   23827 else
   23828 	XINERAMA_CFLAGS=$pkg_cv_XINERAMA_CFLAGS
   23829 	XINERAMA_LIBS=$pkg_cv_XINERAMA_LIBS
   23830         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23831 printf "%s\n" "yes" >&6; }
   23832 
   23833 fi
   23834 	CHOOSER_CFLAGS="$CHOOSER_CFLAGS $XINERAMA_CFLAGS"
   23835 	CHOOSER_LIBS="$CHOOSER_LIBS $XINERAMA_LIBS"
   23836 	GREETER_CFLAGS="$GREETER_CFLAGS $XINERAMA_CFLAGS"
   23837 	GREETER_LIBS="$GREETER_LIBS $XINERAMA_LIBS"
   23838 fi
   23839 
   23840 # Xft text drawing for the greeter screen
   23841 
   23842 # Check whether --with-xft was given.
   23843 if test ${with_xft+y}
   23844 then :
   23845   withval=$with_xft; USE_XFT="$withval"
   23846 else case e in #(
   23847   e) if test -n "$PKG_CONFIG" && \
   23848     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft xrender\""; } >&5
   23849   ($PKG_CONFIG --exists --print-errors "xft xrender") 2>&5
   23850   ac_status=$?
   23851   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23852   test $ac_status = 0; }; then
   23853   USE_XFT="yes"
   23854 else
   23855   USE_XFT="no"
   23856 fi ;;
   23857 esac
   23858 fi
   23859 
   23860 
   23861 if test "x$USE_XFT" = "xyes" ; then
   23862 
   23863 pkg_failed=no
   23864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XFT" >&5
   23865 printf %s "checking for XFT... " >&6; }
   23866 
   23867 if test -n "$XFT_CFLAGS"; then
   23868     pkg_cv_XFT_CFLAGS="$XFT_CFLAGS"
   23869  elif test -n "$PKG_CONFIG"; then
   23870     if test -n "$PKG_CONFIG" && \
   23871     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft xrender\""; } >&5
   23872   ($PKG_CONFIG --exists --print-errors "xft xrender") 2>&5
   23873   ac_status=$?
   23874   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23875   test $ac_status = 0; }; then
   23876   pkg_cv_XFT_CFLAGS=`$PKG_CONFIG --cflags "xft xrender" 2>/dev/null`
   23877 		      test "x$?" != "x0" && pkg_failed=yes
   23878 else
   23879   pkg_failed=yes
   23880 fi
   23881  else
   23882     pkg_failed=untried
   23883 fi
   23884 if test -n "$XFT_LIBS"; then
   23885     pkg_cv_XFT_LIBS="$XFT_LIBS"
   23886  elif test -n "$PKG_CONFIG"; then
   23887     if test -n "$PKG_CONFIG" && \
   23888     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xft xrender\""; } >&5
   23889   ($PKG_CONFIG --exists --print-errors "xft xrender") 2>&5
   23890   ac_status=$?
   23891   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23892   test $ac_status = 0; }; then
   23893   pkg_cv_XFT_LIBS=`$PKG_CONFIG --libs "xft xrender" 2>/dev/null`
   23894 		      test "x$?" != "x0" && pkg_failed=yes
   23895 else
   23896   pkg_failed=yes
   23897 fi
   23898  else
   23899     pkg_failed=untried
   23900 fi
   23901 
   23902 
   23903 
   23904 if test $pkg_failed = yes; then
   23905    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23906 printf "%s\n" "no" >&6; }
   23907 
   23908 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23909         _pkg_short_errors_supported=yes
   23910 else
   23911         _pkg_short_errors_supported=no
   23912 fi
   23913         if test $_pkg_short_errors_supported = yes; then
   23914 	        XFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xft xrender" 2>&1`
   23915         else
   23916 	        XFT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xft xrender" 2>&1`
   23917         fi
   23918 	# Put the nasty error message in config.log where it belongs
   23919 	echo "$XFT_PKG_ERRORS" >&5
   23920 
   23921 	as_fn_error $? "Package requirements (xft xrender) were not met:
   23922 
   23923 $XFT_PKG_ERRORS
   23924 
   23925 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23926 installed software in a non-standard prefix.
   23927 
   23928 Alternatively, you may set the environment variables XFT_CFLAGS
   23929 and XFT_LIBS to avoid the need to call pkg-config.
   23930 See the pkg-config man page for more details." "$LINENO" 5
   23931 elif test $pkg_failed = untried; then
   23932      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23933 printf "%s\n" "no" >&6; }
   23934 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23935 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23936 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23937 is in your PATH or set the PKG_CONFIG environment variable to the full
   23938 path to pkg-config.
   23939 
   23940 Alternatively, you may set the environment variables XFT_CFLAGS
   23941 and XFT_LIBS to avoid the need to call pkg-config.
   23942 See the pkg-config man page for more details.
   23943 
   23944 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23945 See 'config.log' for more details" "$LINENO" 5; }
   23946 else
   23947 	XFT_CFLAGS=$pkg_cv_XFT_CFLAGS
   23948 	XFT_LIBS=$pkg_cv_XFT_LIBS
   23949         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23950 printf "%s\n" "yes" >&6; }
   23951 
   23952 fi
   23953 	GREETER_CFLAGS="$GREETER_CFLAGS $XFT_CFLAGS"
   23954 	GREETER_LIBS="$GREETER_LIBS $XFT_LIBS"
   23955 
   23956 printf "%s\n" "#define USE_XFT 1" >>confdefs.h
   23957 
   23958 fi
   23959 
   23960 # XPM logos for the greeter screen
   23961 # Check whether --enable-xpm-logos was given.
   23962 if test ${enable_xpm_logos+y}
   23963 then :
   23964   enableval=$enable_xpm_logos; USE_XPM="$enableval"
   23965 else case e in #(
   23966   e) if test -n "$PKG_CONFIG" && \
   23967     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xpm\""; } >&5
   23968   ($PKG_CONFIG --exists --print-errors "xpm") 2>&5
   23969   ac_status=$?
   23970   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23971   test $ac_status = 0; }; then
   23972   USE_XPM="yes"
   23973 else
   23974   USE_XPM="no"
   23975 fi ;;
   23976 esac
   23977 fi
   23978 
   23979 if test "x$USE_XPM" = "xyes" ; then
   23980 
   23981 pkg_failed=no
   23982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XPM" >&5
   23983 printf %s "checking for XPM... " >&6; }
   23984 
   23985 if test -n "$XPM_CFLAGS"; then
   23986     pkg_cv_XPM_CFLAGS="$XPM_CFLAGS"
   23987  elif test -n "$PKG_CONFIG"; then
   23988     if test -n "$PKG_CONFIG" && \
   23989     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xpm\""; } >&5
   23990   ($PKG_CONFIG --exists --print-errors "xpm") 2>&5
   23991   ac_status=$?
   23992   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23993   test $ac_status = 0; }; then
   23994   pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xpm" 2>/dev/null`
   23995 		      test "x$?" != "x0" && pkg_failed=yes
   23996 else
   23997   pkg_failed=yes
   23998 fi
   23999  else
   24000     pkg_failed=untried
   24001 fi
   24002 if test -n "$XPM_LIBS"; then
   24003     pkg_cv_XPM_LIBS="$XPM_LIBS"
   24004  elif test -n "$PKG_CONFIG"; then
   24005     if test -n "$PKG_CONFIG" && \
   24006     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xpm\""; } >&5
   24007   ($PKG_CONFIG --exists --print-errors "xpm") 2>&5
   24008   ac_status=$?
   24009   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24010   test $ac_status = 0; }; then
   24011   pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xpm" 2>/dev/null`
   24012 		      test "x$?" != "x0" && pkg_failed=yes
   24013 else
   24014   pkg_failed=yes
   24015 fi
   24016  else
   24017     pkg_failed=untried
   24018 fi
   24019 
   24020 
   24021 
   24022 if test $pkg_failed = yes; then
   24023    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24024 printf "%s\n" "no" >&6; }
   24025 
   24026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24027         _pkg_short_errors_supported=yes
   24028 else
   24029         _pkg_short_errors_supported=no
   24030 fi
   24031         if test $_pkg_short_errors_supported = yes; then
   24032 	        XPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xpm" 2>&1`
   24033         else
   24034 	        XPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xpm" 2>&1`
   24035         fi
   24036 	# Put the nasty error message in config.log where it belongs
   24037 	echo "$XPM_PKG_ERRORS" >&5
   24038 
   24039 	as_fn_error $? "Package requirements (xpm) were not met:
   24040 
   24041 $XPM_PKG_ERRORS
   24042 
   24043 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24044 installed software in a non-standard prefix.
   24045 
   24046 Alternatively, you may set the environment variables XPM_CFLAGS
   24047 and XPM_LIBS to avoid the need to call pkg-config.
   24048 See the pkg-config man page for more details." "$LINENO" 5
   24049 elif test $pkg_failed = untried; then
   24050      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24051 printf "%s\n" "no" >&6; }
   24052 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   24053 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   24054 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24055 is in your PATH or set the PKG_CONFIG environment variable to the full
   24056 path to pkg-config.
   24057 
   24058 Alternatively, you may set the environment variables XPM_CFLAGS
   24059 and XPM_LIBS to avoid the need to call pkg-config.
   24060 See the pkg-config man page for more details.
   24061 
   24062 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24063 See 'config.log' for more details" "$LINENO" 5; }
   24064 else
   24065 	XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
   24066 	XPM_LIBS=$pkg_cv_XPM_LIBS
   24067         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24068 printf "%s\n" "yes" >&6; }
   24069 
   24070 fi
   24071 	GREETER_CFLAGS="$GREETER_CFLAGS $XPM_CFLAGS"
   24072 	GREETER_LIBS="$GREETER_LIBS $XPM_LIBS"
   24073 
   24074 printf "%s\n" "#define XPM 1" >>confdefs.h
   24075 
   24076 fi
   24077  if test "x$USE_XPM" = "xyes"; then
   24078   USE_XPM_TRUE=
   24079   USE_XPM_FALSE='#'
   24080 else
   24081   USE_XPM_TRUE='#'
   24082   USE_XPM_FALSE=
   24083 fi
   24084 
   24085 
   24086 
   24087 # Check whether --with-color-pixmap was given.
   24088 if test ${with_color_pixmap+y}
   24089 then :
   24090   withval=$with_color_pixmap; XDM_PIXMAP="$withval"
   24091 else case e in #(
   24092   e) XDM_PIXMAP="xorg.xpm" ;;
   24093 esac
   24094 fi
   24095 
   24096 
   24097 # Check whether --with-bw-pixmap was given.
   24098 if test ${with_bw_pixmap+y}
   24099 then :
   24100   withval=$with_bw_pixmap; XDM_BWPIXMAP="$withval"
   24101 else case e in #(
   24102   e) XDM_BWPIXMAP="xorg-bw.xpm" ;;
   24103 esac
   24104 fi
   24105 
   24106 
   24107 # Check whether --with-pixmapdir was given.
   24108 if test ${with_pixmapdir+y}
   24109 then :
   24110   withval=$with_pixmapdir; XDM_PIXMAPDIR="$withval"
   24111 else case e in #(
   24112   e) XDM_PIXMAPDIR='${XDMLIBDIR}/pixmaps' ;;
   24113 esac
   24114 fi
   24115 
   24116 
   24117 
   24118 
   24119 
   24120 
   24121 # Packages used by multiple programs
   24122 
   24123 
   24124 pkg_failed=no
   24125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XDM_TOOLKIT" >&5
   24126 printf %s "checking for XDM_TOOLKIT... " >&6; }
   24127 
   24128 if test -n "$XDM_TOOLKIT_CFLAGS"; then
   24129     pkg_cv_XDM_TOOLKIT_CFLAGS="$XDM_TOOLKIT_CFLAGS"
   24130  elif test -n "$PKG_CONFIG"; then
   24131     if test -n "$PKG_CONFIG" && \
   24132     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
   24133   ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
   24134   ac_status=$?
   24135   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24136   test $ac_status = 0; }; then
   24137   pkg_cv_XDM_TOOLKIT_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
   24138 		      test "x$?" != "x0" && pkg_failed=yes
   24139 else
   24140   pkg_failed=yes
   24141 fi
   24142  else
   24143     pkg_failed=untried
   24144 fi
   24145 if test -n "$XDM_TOOLKIT_LIBS"; then
   24146     pkg_cv_XDM_TOOLKIT_LIBS="$XDM_TOOLKIT_LIBS"
   24147  elif test -n "$PKG_CONFIG"; then
   24148     if test -n "$PKG_CONFIG" && \
   24149     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
   24150   ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
   24151   ac_status=$?
   24152   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24153   test $ac_status = 0; }; then
   24154   pkg_cv_XDM_TOOLKIT_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
   24155 		      test "x$?" != "x0" && pkg_failed=yes
   24156 else
   24157   pkg_failed=yes
   24158 fi
   24159  else
   24160     pkg_failed=untried
   24161 fi
   24162 
   24163 
   24164 
   24165 if test $pkg_failed = yes; then
   24166    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24167 printf "%s\n" "no" >&6; }
   24168 
   24169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24170         _pkg_short_errors_supported=yes
   24171 else
   24172         _pkg_short_errors_supported=no
   24173 fi
   24174         if test $_pkg_short_errors_supported = yes; then
   24175 	        XDM_TOOLKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7" 2>&1`
   24176         else
   24177 	        XDM_TOOLKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7" 2>&1`
   24178         fi
   24179 	# Put the nasty error message in config.log where it belongs
   24180 	echo "$XDM_TOOLKIT_PKG_ERRORS" >&5
   24181 
   24182 	as_fn_error $? "Package requirements (xaw7) were not met:
   24183 
   24184 $XDM_TOOLKIT_PKG_ERRORS
   24185 
   24186 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24187 installed software in a non-standard prefix.
   24188 
   24189 Alternatively, you may set the environment variables XDM_TOOLKIT_CFLAGS
   24190 and XDM_TOOLKIT_LIBS to avoid the need to call pkg-config.
   24191 See the pkg-config man page for more details." "$LINENO" 5
   24192 elif test $pkg_failed = untried; then
   24193      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24194 printf "%s\n" "no" >&6; }
   24195 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   24196 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   24197 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24198 is in your PATH or set the PKG_CONFIG environment variable to the full
   24199 path to pkg-config.
   24200 
   24201 Alternatively, you may set the environment variables XDM_TOOLKIT_CFLAGS
   24202 and XDM_TOOLKIT_LIBS to avoid the need to call pkg-config.
   24203 See the pkg-config man page for more details.
   24204 
   24205 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24206 See 'config.log' for more details" "$LINENO" 5; }
   24207 else
   24208 	XDM_TOOLKIT_CFLAGS=$pkg_cv_XDM_TOOLKIT_CFLAGS
   24209 	XDM_TOOLKIT_LIBS=$pkg_cv_XDM_TOOLKIT_LIBS
   24210         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24211 printf "%s\n" "yes" >&6; }
   24212 
   24213 fi
   24214 XDM_TOOLKIT_CFLAGS="$XDM_TOOLKIT_CFLAGS -D_CONST_X_STRING"
   24215 
   24216 pkg_failed=no
   24217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for DMCP" >&5
   24218 printf %s "checking for DMCP... " >&6; }
   24219 
   24220 if test -n "$DMCP_CFLAGS"; then
   24221     pkg_cv_DMCP_CFLAGS="$DMCP_CFLAGS"
   24222  elif test -n "$PKG_CONFIG"; then
   24223     if test -n "$PKG_CONFIG" && \
   24224     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   24225   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   24226   ac_status=$?
   24227   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24228   test $ac_status = 0; }; then
   24229   pkg_cv_DMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null`
   24230 		      test "x$?" != "x0" && pkg_failed=yes
   24231 else
   24232   pkg_failed=yes
   24233 fi
   24234  else
   24235     pkg_failed=untried
   24236 fi
   24237 if test -n "$DMCP_LIBS"; then
   24238     pkg_cv_DMCP_LIBS="$DMCP_LIBS"
   24239  elif test -n "$PKG_CONFIG"; then
   24240     if test -n "$PKG_CONFIG" && \
   24241     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   24242   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   24243   ac_status=$?
   24244   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24245   test $ac_status = 0; }; then
   24246   pkg_cv_DMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null`
   24247 		      test "x$?" != "x0" && pkg_failed=yes
   24248 else
   24249   pkg_failed=yes
   24250 fi
   24251  else
   24252     pkg_failed=untried
   24253 fi
   24254 
   24255 
   24256 
   24257 if test $pkg_failed = yes; then
   24258    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24259 printf "%s\n" "no" >&6; }
   24260 
   24261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24262         _pkg_short_errors_supported=yes
   24263 else
   24264         _pkg_short_errors_supported=no
   24265 fi
   24266         if test $_pkg_short_errors_supported = yes; then
   24267 	        DMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xdmcp" 2>&1`
   24268         else
   24269 	        DMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xdmcp" 2>&1`
   24270         fi
   24271 	# Put the nasty error message in config.log where it belongs
   24272 	echo "$DMCP_PKG_ERRORS" >&5
   24273 
   24274 	as_fn_error $? "Package requirements (xdmcp) were not met:
   24275 
   24276 $DMCP_PKG_ERRORS
   24277 
   24278 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24279 installed software in a non-standard prefix.
   24280 
   24281 Alternatively, you may set the environment variables DMCP_CFLAGS
   24282 and DMCP_LIBS to avoid the need to call pkg-config.
   24283 See the pkg-config man page for more details." "$LINENO" 5
   24284 elif test $pkg_failed = untried; then
   24285      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24286 printf "%s\n" "no" >&6; }
   24287 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   24288 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   24289 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24290 is in your PATH or set the PKG_CONFIG environment variable to the full
   24291 path to pkg-config.
   24292 
   24293 Alternatively, you may set the environment variables DMCP_CFLAGS
   24294 and DMCP_LIBS to avoid the need to call pkg-config.
   24295 See the pkg-config man page for more details.
   24296 
   24297 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24298 See 'config.log' for more details" "$LINENO" 5; }
   24299 else
   24300 	DMCP_CFLAGS=$pkg_cv_DMCP_CFLAGS
   24301 	DMCP_LIBS=$pkg_cv_DMCP_LIBS
   24302         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24303 printf "%s\n" "yes" >&6; }
   24304 
   24305 fi
   24306 
   24307 pkg_failed=no
   24308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XLIB" >&5
   24309 printf %s "checking for XLIB... " >&6; }
   24310 
   24311 if test -n "$XLIB_CFLAGS"; then
   24312     pkg_cv_XLIB_CFLAGS="$XLIB_CFLAGS"
   24313  elif test -n "$PKG_CONFIG"; then
   24314     if test -n "$PKG_CONFIG" && \
   24315     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   24316   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   24317   ac_status=$?
   24318   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24319   test $ac_status = 0; }; then
   24320   pkg_cv_XLIB_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
   24321 		      test "x$?" != "x0" && pkg_failed=yes
   24322 else
   24323   pkg_failed=yes
   24324 fi
   24325  else
   24326     pkg_failed=untried
   24327 fi
   24328 if test -n "$XLIB_LIBS"; then
   24329     pkg_cv_XLIB_LIBS="$XLIB_LIBS"
   24330  elif test -n "$PKG_CONFIG"; then
   24331     if test -n "$PKG_CONFIG" && \
   24332     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   24333   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   24334   ac_status=$?
   24335   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24336   test $ac_status = 0; }; then
   24337   pkg_cv_XLIB_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
   24338 		      test "x$?" != "x0" && pkg_failed=yes
   24339 else
   24340   pkg_failed=yes
   24341 fi
   24342  else
   24343     pkg_failed=untried
   24344 fi
   24345 
   24346 
   24347 
   24348 if test $pkg_failed = yes; then
   24349    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24350 printf "%s\n" "no" >&6; }
   24351 
   24352 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24353         _pkg_short_errors_supported=yes
   24354 else
   24355         _pkg_short_errors_supported=no
   24356 fi
   24357         if test $_pkg_short_errors_supported = yes; then
   24358 	        XLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
   24359         else
   24360 	        XLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
   24361         fi
   24362 	# Put the nasty error message in config.log where it belongs
   24363 	echo "$XLIB_PKG_ERRORS" >&5
   24364 
   24365 	as_fn_error $? "Package requirements (x11) were not met:
   24366 
   24367 $XLIB_PKG_ERRORS
   24368 
   24369 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24370 installed software in a non-standard prefix.
   24371 
   24372 Alternatively, you may set the environment variables XLIB_CFLAGS
   24373 and XLIB_LIBS to avoid the need to call pkg-config.
   24374 See the pkg-config man page for more details." "$LINENO" 5
   24375 elif test $pkg_failed = untried; then
   24376      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24377 printf "%s\n" "no" >&6; }
   24378 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   24379 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   24380 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24381 is in your PATH or set the PKG_CONFIG environment variable to the full
   24382 path to pkg-config.
   24383 
   24384 Alternatively, you may set the environment variables XLIB_CFLAGS
   24385 and XLIB_LIBS to avoid the need to call pkg-config.
   24386 See the pkg-config man page for more details.
   24387 
   24388 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24389 See 'config.log' for more details" "$LINENO" 5; }
   24390 else
   24391 	XLIB_CFLAGS=$pkg_cv_XLIB_CFLAGS
   24392 	XLIB_LIBS=$pkg_cv_XLIB_LIBS
   24393         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24394 printf "%s\n" "yes" >&6; }
   24395 
   24396 fi
   24397 
   24398 pkg_failed=no
   24399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AUTH" >&5
   24400 printf %s "checking for AUTH... " >&6; }
   24401 
   24402 if test -n "$AUTH_CFLAGS"; then
   24403     pkg_cv_AUTH_CFLAGS="$AUTH_CFLAGS"
   24404  elif test -n "$PKG_CONFIG"; then
   24405     if test -n "$PKG_CONFIG" && \
   24406     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xau\""; } >&5
   24407   ($PKG_CONFIG --exists --print-errors "xau") 2>&5
   24408   ac_status=$?
   24409   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24410   test $ac_status = 0; }; then
   24411   pkg_cv_AUTH_CFLAGS=`$PKG_CONFIG --cflags "xau" 2>/dev/null`
   24412 		      test "x$?" != "x0" && pkg_failed=yes
   24413 else
   24414   pkg_failed=yes
   24415 fi
   24416  else
   24417     pkg_failed=untried
   24418 fi
   24419 if test -n "$AUTH_LIBS"; then
   24420     pkg_cv_AUTH_LIBS="$AUTH_LIBS"
   24421  elif test -n "$PKG_CONFIG"; then
   24422     if test -n "$PKG_CONFIG" && \
   24423     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xau\""; } >&5
   24424   ($PKG_CONFIG --exists --print-errors "xau") 2>&5
   24425   ac_status=$?
   24426   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24427   test $ac_status = 0; }; then
   24428   pkg_cv_AUTH_LIBS=`$PKG_CONFIG --libs "xau" 2>/dev/null`
   24429 		      test "x$?" != "x0" && pkg_failed=yes
   24430 else
   24431   pkg_failed=yes
   24432 fi
   24433  else
   24434     pkg_failed=untried
   24435 fi
   24436 
   24437 
   24438 
   24439 if test $pkg_failed = yes; then
   24440    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24441 printf "%s\n" "no" >&6; }
   24442 
   24443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24444         _pkg_short_errors_supported=yes
   24445 else
   24446         _pkg_short_errors_supported=no
   24447 fi
   24448         if test $_pkg_short_errors_supported = yes; then
   24449 	        AUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xau" 2>&1`
   24450         else
   24451 	        AUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xau" 2>&1`
   24452         fi
   24453 	# Put the nasty error message in config.log where it belongs
   24454 	echo "$AUTH_PKG_ERRORS" >&5
   24455 
   24456 	as_fn_error $? "Package requirements (xau) were not met:
   24457 
   24458 $AUTH_PKG_ERRORS
   24459 
   24460 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24461 installed software in a non-standard prefix.
   24462 
   24463 Alternatively, you may set the environment variables AUTH_CFLAGS
   24464 and AUTH_LIBS to avoid the need to call pkg-config.
   24465 See the pkg-config man page for more details." "$LINENO" 5
   24466 elif test $pkg_failed = untried; then
   24467      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24468 printf "%s\n" "no" >&6; }
   24469 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   24470 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   24471 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24472 is in your PATH or set the PKG_CONFIG environment variable to the full
   24473 path to pkg-config.
   24474 
   24475 Alternatively, you may set the environment variables AUTH_CFLAGS
   24476 and AUTH_LIBS to avoid the need to call pkg-config.
   24477 See the pkg-config man page for more details.
   24478 
   24479 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24480 See 'config.log' for more details" "$LINENO" 5; }
   24481 else
   24482 	AUTH_CFLAGS=$pkg_cv_AUTH_CFLAGS
   24483 	AUTH_LIBS=$pkg_cv_AUTH_LIBS
   24484         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24485 printf "%s\n" "yes" >&6; }
   24486 
   24487 fi
   24488 
   24489 #
   24490 # Greeter
   24491 #
   24492 
   24493 
   24494 pkg_failed=no
   24495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XDMGREET" >&5
   24496 printf %s "checking for XDMGREET... " >&6; }
   24497 
   24498 if test -n "$XDMGREET_CFLAGS"; then
   24499     pkg_cv_XDMGREET_CFLAGS="$XDMGREET_CFLAGS"
   24500  elif test -n "$PKG_CONFIG"; then
   24501     if test -n "$PKG_CONFIG" && \
   24502     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt >= 1.0 x11 xext\""; } >&5
   24503   ($PKG_CONFIG --exists --print-errors "xt >= 1.0 x11 xext") 2>&5
   24504   ac_status=$?
   24505   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24506   test $ac_status = 0; }; then
   24507   pkg_cv_XDMGREET_CFLAGS=`$PKG_CONFIG --cflags "xt >= 1.0 x11 xext" 2>/dev/null`
   24508 		      test "x$?" != "x0" && pkg_failed=yes
   24509 else
   24510   pkg_failed=yes
   24511 fi
   24512  else
   24513     pkg_failed=untried
   24514 fi
   24515 if test -n "$XDMGREET_LIBS"; then
   24516     pkg_cv_XDMGREET_LIBS="$XDMGREET_LIBS"
   24517  elif test -n "$PKG_CONFIG"; then
   24518     if test -n "$PKG_CONFIG" && \
   24519     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt >= 1.0 x11 xext\""; } >&5
   24520   ($PKG_CONFIG --exists --print-errors "xt >= 1.0 x11 xext") 2>&5
   24521   ac_status=$?
   24522   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24523   test $ac_status = 0; }; then
   24524   pkg_cv_XDMGREET_LIBS=`$PKG_CONFIG --libs "xt >= 1.0 x11 xext" 2>/dev/null`
   24525 		      test "x$?" != "x0" && pkg_failed=yes
   24526 else
   24527   pkg_failed=yes
   24528 fi
   24529  else
   24530     pkg_failed=untried
   24531 fi
   24532 
   24533 
   24534 
   24535 if test $pkg_failed = yes; then
   24536    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24537 printf "%s\n" "no" >&6; }
   24538 
   24539 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24540         _pkg_short_errors_supported=yes
   24541 else
   24542         _pkg_short_errors_supported=no
   24543 fi
   24544         if test $_pkg_short_errors_supported = yes; then
   24545 	        XDMGREET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt >= 1.0 x11 xext" 2>&1`
   24546         else
   24547 	        XDMGREET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt >= 1.0 x11 xext" 2>&1`
   24548         fi
   24549 	# Put the nasty error message in config.log where it belongs
   24550 	echo "$XDMGREET_PKG_ERRORS" >&5
   24551 
   24552 	as_fn_error $? "Package requirements (xt >= 1.0 x11 xext) were not met:
   24553 
   24554 $XDMGREET_PKG_ERRORS
   24555 
   24556 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24557 installed software in a non-standard prefix.
   24558 
   24559 Alternatively, you may set the environment variables XDMGREET_CFLAGS
   24560 and XDMGREET_LIBS to avoid the need to call pkg-config.
   24561 See the pkg-config man page for more details." "$LINENO" 5
   24562 elif test $pkg_failed = untried; then
   24563      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24564 printf "%s\n" "no" >&6; }
   24565 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   24566 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   24567 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24568 is in your PATH or set the PKG_CONFIG environment variable to the full
   24569 path to pkg-config.
   24570 
   24571 Alternatively, you may set the environment variables XDMGREET_CFLAGS
   24572 and XDMGREET_LIBS to avoid the need to call pkg-config.
   24573 See the pkg-config man page for more details.
   24574 
   24575 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24576 See 'config.log' for more details" "$LINENO" 5; }
   24577 else
   24578 	XDMGREET_CFLAGS=$pkg_cv_XDMGREET_CFLAGS
   24579 	XDMGREET_LIBS=$pkg_cv_XDMGREET_LIBS
   24580         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24581 printf "%s\n" "yes" >&6; }
   24582 
   24583 fi
   24584 
   24585 GREETERLIB="${XDMLIBDIR}/libXdmGreet.so"
   24586 
   24587   prefix_NONE=
   24588   exec_prefix_NONE=
   24589   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24590   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24591   eval ax_define_dir="\"$GREETERLIB\""
   24592   eval ax_define_dir="\"$ax_define_dir\""
   24593   DEF_GREETER_LIB="$ax_define_dir"
   24594 
   24595 
   24596 printf "%s\n" "#define DEF_GREETER_LIB \"$ax_define_dir\"" >>confdefs.h
   24597 
   24598   test "$prefix_NONE" && prefix=NONE
   24599   test "$exec_prefix_NONE" && exec_prefix=NONE
   24600 
   24601 
   24602 XDMGREET_CFLAGS="$XDMGREET_CFLAGS $XDM_TOOLKIT_CFLAGS $DMCP_CFLAGS $XLIB_CFLAGS $GREETER_CFLAGS $AUTH_CFLAGS"
   24603 XDMGREET_LIBS="$XDMGREET_LIBS $XDM_TOOLKIT_LIBS $DMCP_LIBS $GREETER_LIBS"
   24604 
   24605 #
   24606 #  XDM
   24607 #
   24608 
   24609 XDM_CFLAGS="$XDM_CFLAGS $DMCP_CFLAGS $XLIB_CFLAGS $AUTH_CFLAGS"
   24610 XDM_LIBS="$XDM_LIBS $DMCP_LIBS"
   24611 
   24612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XdmcpWrap in -lXdmcp" >&5
   24613 printf %s "checking for XdmcpWrap in -lXdmcp... " >&6; }
   24614 if test ${ac_cv_lib_Xdmcp_XdmcpWrap+y}
   24615 then :
   24616   printf %s "(cached) " >&6
   24617 else case e in #(
   24618   e) ac_check_lib_save_LIBS=$LIBS
   24619 LIBS="-lXdmcp $DMCP_LIBS $LIBS"
   24620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24621 /* end confdefs.h.  */
   24622 
   24623 /* Override any GCC internal prototype to avoid an error.
   24624    Use char because int might match the return type of a GCC
   24625    builtin and then its argument prototype would still apply.
   24626    The 'extern "C"' is for builds by C++ compilers;
   24627    although this is not generally supported in C code supporting it here
   24628    has little cost and some practical benefit (sr 110532).  */
   24629 #ifdef __cplusplus
   24630 extern "C"
   24631 #endif
   24632 char XdmcpWrap (void);
   24633 int
   24634 main (void)
   24635 {
   24636 return XdmcpWrap ();
   24637   ;
   24638   return 0;
   24639 }
   24640 _ACEOF
   24641 if ac_fn_c_try_link "$LINENO"
   24642 then :
   24643   ac_cv_lib_Xdmcp_XdmcpWrap=yes
   24644 else case e in #(
   24645   e) ac_cv_lib_Xdmcp_XdmcpWrap=no ;;
   24646 esac
   24647 fi
   24648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   24649     conftest$ac_exeext conftest.$ac_ext
   24650 LIBS=$ac_check_lib_save_LIBS ;;
   24651 esac
   24652 fi
   24653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
   24654 printf "%s\n" "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
   24655 if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = xyes
   24656 then :
   24657   xdmauth="yes"
   24658 else case e in #(
   24659   e) xdmauth="no" ;;
   24660 esac
   24661 fi
   24662 
   24663 
   24664 # Check whether --enable-xdm-auth was given.
   24665 if test ${enable_xdm_auth+y}
   24666 then :
   24667   enableval=$enable_xdm_auth; xdmauth_enable="$enableval"
   24668 else case e in #(
   24669   e) xdmauth_enable="auto" ;;
   24670 esac
   24671 fi
   24672 
   24673 if test "x$xdmauth_enable" = "xyes" -a "x$xdmauth" = "xno" ; then
   24674 	as_fn_error $? "XDM-AUTH support requested, but XdmcpWrap not found in libXdmcp." "$LINENO" 5
   24675 fi
   24676 
   24677  if test x$xdmauth = xyes -a x$xdmauth_enable != xno; then
   24678   HAS_XDM_AUTH_TRUE=
   24679   HAS_XDM_AUTH_FALSE='#'
   24680 else
   24681   HAS_XDM_AUTH_TRUE='#'
   24682   HAS_XDM_AUTH_FALSE=
   24683 fi
   24684 
   24685 
   24686 
   24687 
   24688 
   24689 #
   24690 # xdmshell
   24691 #
   24692 
   24693 # Check whether --enable-xdmshell was given.
   24694 if test ${enable_xdmshell+y}
   24695 then :
   24696   enableval=$enable_xdmshell; INSTALL_XDMSHELL="$enableval"
   24697 else case e in #(
   24698   e) INSTALL_XDMSHELL="no" ;;
   24699 esac
   24700 fi
   24701 
   24702  if test x$INSTALL_XDMSHELL = xyes; then
   24703   INSTALL_XDMSHELL_TRUE=
   24704   INSTALL_XDMSHELL_FALSE='#'
   24705 else
   24706   INSTALL_XDMSHELL_TRUE='#'
   24707   INSTALL_XDMSHELL_FALSE=
   24708 fi
   24709 
   24710 
   24711 
   24712 pkg_failed=no
   24713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XT" >&5
   24714 printf %s "checking for XT... " >&6; }
   24715 
   24716 if test -n "$XT_CFLAGS"; then
   24717     pkg_cv_XT_CFLAGS="$XT_CFLAGS"
   24718  elif test -n "$PKG_CONFIG"; then
   24719     if test -n "$PKG_CONFIG" && \
   24720     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   24721   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   24722   ac_status=$?
   24723   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24724   test $ac_status = 0; }; then
   24725   pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   24726 		      test "x$?" != "x0" && pkg_failed=yes
   24727 else
   24728   pkg_failed=yes
   24729 fi
   24730  else
   24731     pkg_failed=untried
   24732 fi
   24733 if test -n "$XT_LIBS"; then
   24734     pkg_cv_XT_LIBS="$XT_LIBS"
   24735  elif test -n "$PKG_CONFIG"; then
   24736     if test -n "$PKG_CONFIG" && \
   24737     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   24738   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   24739   ac_status=$?
   24740   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24741   test $ac_status = 0; }; then
   24742   pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   24743 		      test "x$?" != "x0" && pkg_failed=yes
   24744 else
   24745   pkg_failed=yes
   24746 fi
   24747  else
   24748     pkg_failed=untried
   24749 fi
   24750 
   24751 
   24752 
   24753 if test $pkg_failed = yes; then
   24754    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24755 printf "%s\n" "no" >&6; }
   24756 
   24757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24758         _pkg_short_errors_supported=yes
   24759 else
   24760         _pkg_short_errors_supported=no
   24761 fi
   24762         if test $_pkg_short_errors_supported = yes; then
   24763 	        XT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   24764         else
   24765 	        XT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   24766         fi
   24767 	# Put the nasty error message in config.log where it belongs
   24768 	echo "$XT_PKG_ERRORS" >&5
   24769 
   24770 	as_fn_error $? "Package requirements (xt) were not met:
   24771 
   24772 $XT_PKG_ERRORS
   24773 
   24774 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24775 installed software in a non-standard prefix.
   24776 
   24777 Alternatively, you may set the environment variables XT_CFLAGS
   24778 and XT_LIBS to avoid the need to call pkg-config.
   24779 See the pkg-config man page for more details." "$LINENO" 5
   24780 elif test $pkg_failed = untried; then
   24781      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24782 printf "%s\n" "no" >&6; }
   24783 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   24784 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   24785 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24786 is in your PATH or set the PKG_CONFIG environment variable to the full
   24787 path to pkg-config.
   24788 
   24789 Alternatively, you may set the environment variables XT_CFLAGS
   24790 and XT_LIBS to avoid the need to call pkg-config.
   24791 See the pkg-config man page for more details.
   24792 
   24793 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24794 See 'config.log' for more details" "$LINENO" 5; }
   24795 else
   24796 	XT_CFLAGS=$pkg_cv_XT_CFLAGS
   24797 	XT_LIBS=$pkg_cv_XT_LIBS
   24798         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24799 printf "%s\n" "yes" >&6; }
   24800 
   24801 fi
   24802 XDMSHELL_CFLAGS="$XDM_CFLAGS $XDM_TOOLKIT_CFLAGS $AUTH_CFLAGS $DMCP_CFLAGS $XLIB_CFLAGS $XT_CFLAGS"
   24803 XDMSHELL_LIBS="$XDM_LIBS $XDM_TOOLKIT_LIBS $DMCP_LIBS"
   24804 
   24805 
   24806 
   24807 
   24808 #
   24809 # Chooser
   24810 #
   24811 
   24812 CHOOSER_CFLAGS="$CHOOSER_CFLAGS $XDM_TOOLKIT_CFLAGS $XLIB_CFLAGS $DMCP_CFLAGS $AUTH_CFLAGS"
   24813 CHOOSER_LIBS="$CHOOSER_LIBS $XDM_TOOLKIT_LIBS $DMCP_LIBS"
   24814 
   24815 
   24816 
   24817 
   24818 # Defaults for X session - should probably be configure --with-* flags
   24819 # Currently just trying to mirror what defaults were set in Imake
   24820 
   24821 # -DDEF_SERVER_LINE=":0 local $(DEF_SERVER) :0"
   24822 if test -z "$DEF_SERVER" ; then
   24823 	DEF_SERVER="${bindir}/X"
   24824 fi
   24825 if test -z "$DEF_SERVER_LINE" ; then
   24826 	DEF_SERVER_LINE=":0 local ${DEF_SERVER} :0"
   24827 fi
   24828 
   24829   prefix_NONE=
   24830   exec_prefix_NONE=
   24831   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24832   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24833   eval ax_define_dir="\"$DEF_SERVER_LINE\""
   24834   eval ax_define_dir="\"$ax_define_dir\""
   24835   DEF_SERVER_LINE="$ax_define_dir"
   24836 
   24837 
   24838 printf "%s\n" "#define DEF_SERVER_LINE \"$ax_define_dir\"" >>confdefs.h
   24839 
   24840   test "$prefix_NONE" && prefix=NONE
   24841   test "$exec_prefix_NONE" && exec_prefix=NONE
   24842 
   24843 
   24844 # -DXRDB_PROGRAM="$(BINDIR)/xrdb"
   24845 
   24846 # Check whether --with-xrdb was given.
   24847 if test ${with_xrdb+y}
   24848 then :
   24849   withval=$with_xrdb; XRDB=$withval
   24850 else case e in #(
   24851   e) XRDB=${bindir}/xrdb ;;
   24852 esac
   24853 fi
   24854 
   24855 
   24856   prefix_NONE=
   24857   exec_prefix_NONE=
   24858   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24859   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24860   eval ax_define_dir="\"$XRDB\""
   24861   eval ax_define_dir="\"$ax_define_dir\""
   24862   XRDB_PROGRAM="$ax_define_dir"
   24863 
   24864 
   24865 printf "%s\n" "#define XRDB_PROGRAM \"$ax_define_dir\"" >>confdefs.h
   24866 
   24867   test "$prefix_NONE" && prefix=NONE
   24868   test "$exec_prefix_NONE" && exec_prefix=NONE
   24869 
   24870 
   24871 # -DDEF_SESSION="$(BINDIR)/xterm -ls"
   24872 
   24873 # Check whether --with-default-session was given.
   24874 if test ${with_default_session+y}
   24875 then :
   24876   withval=$with_default_session; DEF_SESSION=$withval
   24877 else case e in #(
   24878   e) DEF_SESSION="${bindir}/xterm -ls" ;;
   24879 esac
   24880 fi
   24881 
   24882 
   24883   prefix_NONE=
   24884   exec_prefix_NONE=
   24885   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24886   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24887   eval ax_define_dir="\"$DEF_SESSION\""
   24888   eval ax_define_dir="\"$ax_define_dir\""
   24889   DEF_SESSION="$ax_define_dir"
   24890 
   24891 
   24892 printf "%s\n" "#define DEF_SESSION \"$ax_define_dir\"" >>confdefs.h
   24893 
   24894   test "$prefix_NONE" && prefix=NONE
   24895   test "$exec_prefix_NONE" && exec_prefix=NONE
   24896 
   24897 
   24898 # -DDEF_USER_PATH="$(DEF_USER_PATH)"
   24899 # Default values taken from DefaultUserPath setting in the
   24900 # old Imake *.cf files for each platform
   24901 if test -z "$DEF_USER_PATH" ; then
   24902 	case $host_os in
   24903 	    dragonfly*)
   24904 		DEF_USER_PATH="/bin:/usr/bin:/sbin:/usr/sbin:${bindir}:/usr/local/bin"
   24905 		;;
   24906 	    freebsd*)
   24907 		DEF_USER_PATH="/bin:/usr/bin:/sbin:/usr/sbin:${bindir}:/usr/gnu/bin:/usr/local/bin"
   24908 		;;
   24909 	    netbsd*)
   24910 		DEF_USER_PATH="/bin:/usr/bin:/usr/pkg/bin:/usr/local/bin:${bindir}"
   24911 		;;
   24912 	    openbsd*|bsdi*)
   24913 		DEF_USER_PATH="/bin:/usr/bin:/usr/local/bin:${bindir}"
   24914 		;;
   24915 	    solaris*)
   24916 		DEF_USER_PATH="/usr/bin:${bindir}"
   24917 		;;
   24918 	    *)
   24919 		DEF_USER_PATH="/bin:/usr/bin:${bindir}:/usr/ucb"
   24920 		;;
   24921 	esac
   24922 fi
   24923 
   24924   prefix_NONE=
   24925   exec_prefix_NONE=
   24926   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24927   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24928   eval ax_define_dir="\"$DEF_USER_PATH\""
   24929   eval ax_define_dir="\"$ax_define_dir\""
   24930   DEF_USER_PATH="$ax_define_dir"
   24931 
   24932 
   24933 printf "%s\n" "#define DEF_USER_PATH \"$ax_define_dir\"" >>confdefs.h
   24934 
   24935   test "$prefix_NONE" && prefix=NONE
   24936   test "$exec_prefix_NONE" && exec_prefix=NONE
   24937 
   24938 
   24939 # -DDEF_SYSTEM_PATH="$(DEF_SYSTEM_PATH)"
   24940 # Default values taken from DefaultSystemPath setting in the
   24941 # old Imake *.cf files for each platform
   24942 if test -z "$DEF_SYSTEM_PATH" ; then
   24943 	case $host_os in
   24944 	    freebsd*|dragonfly*)
   24945 		DEF_SYSTEM_PATH="/bin:/usr/bin:/sbin:/usr/sbin:${bindir}"
   24946 		;;
   24947 	    netbsd*|openbsd*|bsdi*)
   24948 		DEF_SYSTEM_PATH="/sbin:/usr/sbin:/bin:/usr/bin:${bindir}"
   24949 		;;
   24950 	    solaris*)
   24951 		DEF_SYSTEM_PATH="/sbin:/usr/sbin:/usr/bin:${bindir}"
   24952 		;;
   24953 	    *)
   24954 		DEF_SYSTEM_PATH="/etc:/bin:/usr/bin:${bindir}:/usr/ucb"
   24955 		;;
   24956 	esac
   24957 fi
   24958 
   24959   prefix_NONE=
   24960   exec_prefix_NONE=
   24961   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24962   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24963   eval ax_define_dir="\"$DEF_SYSTEM_PATH\""
   24964   eval ax_define_dir="\"$ax_define_dir\""
   24965   DEF_SYSTEM_PATH="$ax_define_dir"
   24966 
   24967 
   24968 printf "%s\n" "#define DEF_SYSTEM_PATH \"$ax_define_dir\"" >>confdefs.h
   24969 
   24970   test "$prefix_NONE" && prefix=NONE
   24971   test "$exec_prefix_NONE" && exec_prefix=NONE
   24972 
   24973 
   24974 # -DDEF_SYSTEM_SHELL="$(BOURNE_SHELL)"
   24975 if test -z "$BOURNE_SHELL" ; then
   24976 	BOURNE_SHELL=/bin/sh
   24977 fi
   24978 
   24979   prefix_NONE=
   24980   exec_prefix_NONE=
   24981   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24982   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24983   eval ax_define_dir="\"$BOURNE_SHELL\""
   24984   eval ax_define_dir="\"$ax_define_dir\""
   24985   DEF_SYSTEM_SHELL="$ax_define_dir"
   24986 
   24987 
   24988 printf "%s\n" "#define DEF_SYSTEM_SHELL \"$ax_define_dir\"" >>confdefs.h
   24989 
   24990   test "$prefix_NONE" && prefix=NONE
   24991   test "$exec_prefix_NONE" && exec_prefix=NONE
   24992 
   24993 
   24994 # -DDEF_FAILSAFE_CLIENT="$(BINDIR)/xterm"
   24995 
   24996 
   24997   prefix_NONE=
   24998   exec_prefix_NONE=
   24999   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   25000   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   25001   eval ax_define_dir="\"$bindir/xterm\""
   25002   eval ax_define_dir="\"$ax_define_dir\""
   25003   DEF_FAILSAFE_CLIENT="$ax_define_dir"
   25004 
   25005 
   25006 printf "%s\n" "#define DEF_FAILSAFE_CLIENT \"$ax_define_dir\"" >>confdefs.h
   25007 
   25008   test "$prefix_NONE" && prefix=NONE
   25009   test "$exec_prefix_NONE" && exec_prefix=NONE
   25010 
   25011 
   25012 # -DDEF_XDM_CONFIG="$(XDMDIR)/xdm-config"
   25013 
   25014 
   25015   prefix_NONE=
   25016   exec_prefix_NONE=
   25017   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   25018   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   25019   eval ax_define_dir="\"$XDMCONFIGDIR/xdm-config\""
   25020   eval ax_define_dir="\"$ax_define_dir\""
   25021   DEF_XDM_CONFIG="$ax_define_dir"
   25022 
   25023 
   25024 printf "%s\n" "#define DEF_XDM_CONFIG \"$ax_define_dir\"" >>confdefs.h
   25025 
   25026   test "$prefix_NONE" && prefix=NONE
   25027   test "$exec_prefix_NONE" && exec_prefix=NONE
   25028 
   25029 
   25030 # -DDEF_CHOOSER="$(CHOOSERPATH)"
   25031 
   25032 
   25033   prefix_NONE=
   25034   exec_prefix_NONE=
   25035   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   25036   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   25037   eval ax_define_dir="\"$XDMLIBDIR/chooser\""
   25038   eval ax_define_dir="\"$ax_define_dir\""
   25039   DEF_CHOOSER="$ax_define_dir"
   25040 
   25041 
   25042 printf "%s\n" "#define DEF_CHOOSER \"$ax_define_dir\"" >>confdefs.h
   25043 
   25044   test "$prefix_NONE" && prefix=NONE
   25045   test "$exec_prefix_NONE" && exec_prefix=NONE
   25046 
   25047 
   25048 # -DDEF_AUTH_DIR="$(XDMDIR)"
   25049 
   25050 
   25051 # Check whether --with-authdir was given.
   25052 if test ${with_authdir+y}
   25053 then :
   25054   withval=$with_authdir; XDMXAUTHDIR="$withval"
   25055 else case e in #(
   25056   e) XDMXAUTHDIR="/var/lib/xdm" ;;
   25057 esac
   25058 fi
   25059 
   25060 
   25061 
   25062 
   25063   prefix_NONE=
   25064   exec_prefix_NONE=
   25065   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   25066   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   25067   eval ax_define_dir="\"$XDMXAUTHDIR\""
   25068   eval ax_define_dir="\"$ax_define_dir\""
   25069   DEF_AUTH_DIR="$ax_define_dir"
   25070 
   25071 
   25072 printf "%s\n" "#define DEF_AUTH_DIR \"$ax_define_dir\"" >>confdefs.h
   25073 
   25074   test "$prefix_NONE" && prefix=NONE
   25075   test "$exec_prefix_NONE" && exec_prefix=NONE
   25076 
   25077 
   25078 # -DDEF_GREETER_LIB="$(XDMDIR)/libXdmGreet.so"
   25079 
   25080 
   25081   prefix_NONE=
   25082   exec_prefix_NONE=
   25083   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   25084   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   25085   eval ax_define_dir="\"$XDMLIBDIR/libXdmGreet.so\""
   25086   eval ax_define_dir="\"$ax_define_dir\""
   25087   DEF_GREETER_LIB="$ax_define_dir"
   25088 
   25089 
   25090 printf "%s\n" "#define DEF_GREETER_LIB \"$ax_define_dir\"" >>confdefs.h
   25091 
   25092   test "$prefix_NONE" && prefix=NONE
   25093   test "$exec_prefix_NONE" && exec_prefix=NONE
   25094 
   25095 
   25096 
   25097 pkg_failed=no
   25098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   25099 printf %s "checking for APPDEFS... " >&6; }
   25100 
   25101 if test -n "$APPDEFS_CFLAGS"; then
   25102     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   25103  elif test -n "$PKG_CONFIG"; then
   25104     if test -n "$PKG_CONFIG" && \
   25105     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   25106   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   25107   ac_status=$?
   25108   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25109   test $ac_status = 0; }; then
   25110   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   25111 		      test "x$?" != "x0" && pkg_failed=yes
   25112 else
   25113   pkg_failed=yes
   25114 fi
   25115  else
   25116     pkg_failed=untried
   25117 fi
   25118 if test -n "$APPDEFS_LIBS"; then
   25119     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   25120  elif test -n "$PKG_CONFIG"; then
   25121     if test -n "$PKG_CONFIG" && \
   25122     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   25123   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   25124   ac_status=$?
   25125   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   25126   test $ac_status = 0; }; then
   25127   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   25128 		      test "x$?" != "x0" && pkg_failed=yes
   25129 else
   25130   pkg_failed=yes
   25131 fi
   25132  else
   25133     pkg_failed=untried
   25134 fi
   25135 
   25136 
   25137 
   25138 if test $pkg_failed = yes; then
   25139    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25140 printf "%s\n" "no" >&6; }
   25141 
   25142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   25143         _pkg_short_errors_supported=yes
   25144 else
   25145         _pkg_short_errors_supported=no
   25146 fi
   25147         if test $_pkg_short_errors_supported = yes; then
   25148 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   25149         else
   25150 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   25151         fi
   25152 	# Put the nasty error message in config.log where it belongs
   25153 	echo "$APPDEFS_PKG_ERRORS" >&5
   25154 
   25155 	as_fn_error $? "Package requirements (xt) were not met:
   25156 
   25157 $APPDEFS_PKG_ERRORS
   25158 
   25159 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   25160 installed software in a non-standard prefix.
   25161 
   25162 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   25163 and APPDEFS_LIBS to avoid the need to call pkg-config.
   25164 See the pkg-config man page for more details." "$LINENO" 5
   25165 elif test $pkg_failed = untried; then
   25166      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   25167 printf "%s\n" "no" >&6; }
   25168 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   25169 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   25170 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   25171 is in your PATH or set the PKG_CONFIG environment variable to the full
   25172 path to pkg-config.
   25173 
   25174 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   25175 and APPDEFS_LIBS to avoid the need to call pkg-config.
   25176 See the pkg-config man page for more details.
   25177 
   25178 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   25179 See 'config.log' for more details" "$LINENO" 5; }
   25180 else
   25181 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   25182 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   25183         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   25184 printf "%s\n" "yes" >&6; }
   25185 
   25186 fi
   25187 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   25188 
   25189 # Check whether --with-appdefaultdir was given.
   25190 if test ${with_appdefaultdir+y}
   25191 then :
   25192   withval=$with_appdefaultdir; appdefaultdir="$withval"
   25193 else case e in #(
   25194   e) appdefaultdir="${xt_appdefaultdir}" ;;
   25195 esac
   25196 fi
   25197 
   25198 
   25199 
   25200 
   25201 
   25202 ac_config_files="$ac_config_files Makefile app-defaults/Makefile chooser/Makefile config/Makefile greeter/Makefile include/Makefile man/Makefile xdm/Makefile xdmshell/Makefile"
   25203 
   25204 cat >confcache <<\_ACEOF
   25205 # This file is a shell script that caches the results of configure
   25206 # tests run on this system so they can be shared between configure
   25207 # scripts and configure runs, see configure's option --config-cache.
   25208 # It is not useful on other systems.  If it contains results you don't
   25209 # want to keep, you may remove or edit it.
   25210 #
   25211 # config.status only pays attention to the cache file if you give it
   25212 # the --recheck option to rerun configure.
   25213 #
   25214 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   25215 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   25216 # following values.
   25217 
   25218 _ACEOF
   25219 
   25220 # The following way of writing the cache mishandles newlines in values,
   25221 # but we know of no workaround that is simple, portable, and efficient.
   25222 # So, we kill variables containing newlines.
   25223 # Ultrix sh set writes to stderr and can't be redirected directly,
   25224 # and sets the high bit in the cache file unless we assign to the vars.
   25225 (
   25226   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   25227     eval ac_val=\$$ac_var
   25228     case $ac_val in #(
   25229     *${as_nl}*)
   25230       case $ac_var in #(
   25231       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   25232 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   25233       esac
   25234       case $ac_var in #(
   25235       _ | IFS | as_nl) ;; #(
   25236       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   25237       *) { eval $ac_var=; unset $ac_var;} ;;
   25238       esac ;;
   25239     esac
   25240   done
   25241 
   25242   (set) 2>&1 |
   25243     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   25244     *${as_nl}ac_space=\ *)
   25245       # 'set' does not quote correctly, so add quotes: double-quote
   25246       # substitution turns \\\\ into \\, and sed turns \\ into \.
   25247       sed -n \
   25248 	"s/'/'\\\\''/g;
   25249 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   25250       ;; #(
   25251     *)
   25252       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   25253       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   25254       ;;
   25255     esac |
   25256     sort
   25257 ) |
   25258   sed '
   25259      /^ac_cv_env_/b end
   25260      t clear
   25261      :clear
   25262      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   25263      t end
   25264      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   25265      :end' >>confcache
   25266 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   25267   if test -w "$cache_file"; then
   25268     if test "x$cache_file" != "x/dev/null"; then
   25269       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   25270 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   25271       if test ! -f "$cache_file" || test -h "$cache_file"; then
   25272 	cat confcache >"$cache_file"
   25273       else
   25274         case $cache_file in #(
   25275         */* | ?:*)
   25276 	  mv -f confcache "$cache_file"$$ &&
   25277 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   25278         *)
   25279 	  mv -f confcache "$cache_file" ;;
   25280 	esac
   25281       fi
   25282     fi
   25283   else
   25284     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   25285 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   25286   fi
   25287 fi
   25288 rm -f confcache
   25289 
   25290 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   25291 # Let make expand exec_prefix.
   25292 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   25293 
   25294 DEFS=-DHAVE_CONFIG_H
   25295 
   25296 ac_libobjs=
   25297 ac_ltlibobjs=
   25298 U=
   25299 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   25300   # 1. Remove the extension, and $U if already installed.
   25301   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   25302   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   25303   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   25304   #    will be set to the directory where LIBOBJS objects are built.
   25305   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   25306   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   25307 done
   25308 LIBOBJS=$ac_libobjs
   25309 
   25310 LTLIBOBJS=$ac_ltlibobjs
   25311 
   25312 
   25313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   25314 printf %s "checking that generated files are newer than configure... " >&6; }
   25315    if test -n "$am_sleep_pid"; then
   25316      # Hide warnings about reused PIDs.
   25317      wait $am_sleep_pid 2>/dev/null
   25318    fi
   25319    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   25320 printf "%s\n" "done" >&6; }
   25321 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   25322   as_fn_error $? "conditional \"AMDEP\" was never defined.
   25323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25324 fi
   25325 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   25326   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   25327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25328 fi
   25329 case $enable_silent_rules in # (((
   25330   yes) AM_DEFAULT_VERBOSITY=0;;
   25331    no) AM_DEFAULT_VERBOSITY=1;;
   25332 esac
   25333 if test $am_cv_make_support_nested_variables = yes; then
   25334     AM_V='$(V)'
   25335   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   25336 else
   25337   AM_V=$AM_DEFAULT_VERBOSITY
   25338   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   25339 fi
   25340 
   25341  if test -n "$EXEEXT"; then
   25342   am__EXEEXT_TRUE=
   25343   am__EXEEXT_FALSE='#'
   25344 else
   25345   am__EXEEXT_TRUE='#'
   25346   am__EXEEXT_FALSE=
   25347 fi
   25348 
   25349 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   25350   as_fn_error $? "conditional \"LINT\" was never defined.
   25351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25352 fi
   25353 if test -z "${HAVE_MKTEMP_COMMAND_TRUE}" && test -z "${HAVE_MKTEMP_COMMAND_FALSE}"; then
   25354   as_fn_error $? "conditional \"HAVE_MKTEMP_COMMAND\" was never defined.
   25355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25356 fi
   25357 if test -z "${HAVE_ARC4RANDOM_TRUE}" && test -z "${HAVE_ARC4RANDOM_FALSE}"; then
   25358   as_fn_error $? "conditional \"HAVE_ARC4RANDOM\" was never defined.
   25359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25360 fi
   25361 if test -z "${HAS_SECURE_RPC_TRUE}" && test -z "${HAS_SECURE_RPC_FALSE}"; then
   25362   as_fn_error $? "conditional \"HAS_SECURE_RPC\" was never defined.
   25363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25364 fi
   25365 if test -z "${HAVE_SYSTEMD_TRUE}" && test -z "${HAVE_SYSTEMD_FALSE}"; then
   25366   as_fn_error $? "conditional \"HAVE_SYSTEMD\" was never defined.
   25367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25368 fi
   25369 if test -z "${USE_SYSTEMD_DAEMON_TRUE}" && test -z "${USE_SYSTEMD_DAEMON_FALSE}"; then
   25370   as_fn_error $? "conditional \"USE_SYSTEMD_DAEMON\" was never defined.
   25371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25372 fi
   25373 if test -z "${HAS_KERBEROS_FIVE_TRUE}" && test -z "${HAS_KERBEROS_FIVE_FALSE}"; then
   25374   as_fn_error $? "conditional \"HAS_KERBEROS_FIVE\" was never defined.
   25375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25376 fi
   25377 if test -z "${SET_UTMP_FILE_TRUE}" && test -z "${SET_UTMP_FILE_FALSE}"; then
   25378   as_fn_error $? "conditional \"SET_UTMP_FILE\" was never defined.
   25379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25380 fi
   25381 if test -z "${SET_WTMP_FILE_TRUE}" && test -z "${SET_WTMP_FILE_FALSE}"; then
   25382   as_fn_error $? "conditional \"SET_WTMP_FILE\" was never defined.
   25383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25384 fi
   25385 if test -z "${USE_XPM_TRUE}" && test -z "${USE_XPM_FALSE}"; then
   25386   as_fn_error $? "conditional \"USE_XPM\" was never defined.
   25387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25388 fi
   25389 if test -z "${HAS_XDM_AUTH_TRUE}" && test -z "${HAS_XDM_AUTH_FALSE}"; then
   25390   as_fn_error $? "conditional \"HAS_XDM_AUTH\" was never defined.
   25391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25392 fi
   25393 if test -z "${INSTALL_XDMSHELL_TRUE}" && test -z "${INSTALL_XDMSHELL_FALSE}"; then
   25394   as_fn_error $? "conditional \"INSTALL_XDMSHELL\" was never defined.
   25395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   25396 fi
   25397 
   25398 : "${CONFIG_STATUS=./config.status}"
   25399 ac_write_fail=0
   25400 ac_clean_files_save=$ac_clean_files
   25401 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   25402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   25403 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   25404 as_write_fail=0
   25405 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   25406 #! $SHELL
   25407 # Generated by $as_me.
   25408 # Run this file to recreate the current configuration.
   25409 # Compiler output produced by configure, useful for debugging
   25410 # configure, is in config.log if it exists.
   25411 
   25412 debug=false
   25413 ac_cs_recheck=false
   25414 ac_cs_silent=false
   25415 
   25416 SHELL=\${CONFIG_SHELL-$SHELL}
   25417 export SHELL
   25418 _ASEOF
   25419 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   25420 ## -------------------- ##
   25421 ## M4sh Initialization. ##
   25422 ## -------------------- ##
   25423 
   25424 # Be more Bourne compatible
   25425 DUALCASE=1; export DUALCASE # for MKS sh
   25426 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   25427 then :
   25428   emulate sh
   25429   NULLCMD=:
   25430   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   25431   # is contrary to our usage.  Disable this feature.
   25432   alias -g '${1+"$@"}'='"$@"'
   25433   setopt NO_GLOB_SUBST
   25434 else case e in #(
   25435   e) case `(set -o) 2>/dev/null` in #(
   25436   *posix*) :
   25437     set -o posix ;; #(
   25438   *) :
   25439      ;;
   25440 esac ;;
   25441 esac
   25442 fi
   25443 
   25444 
   25445 
   25446 # Reset variables that may have inherited troublesome values from
   25447 # the environment.
   25448 
   25449 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   25450 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   25451 # side effect of setting IFS to empty, thus disabling word splitting.)
   25452 # Quoting is to prevent editors from complaining about space-tab.
   25453 as_nl='
   25454 '
   25455 export as_nl
   25456 IFS=" ""	$as_nl"
   25457 
   25458 PS1='$ '
   25459 PS2='> '
   25460 PS4='+ '
   25461 
   25462 # Ensure predictable behavior from utilities with locale-dependent output.
   25463 LC_ALL=C
   25464 export LC_ALL
   25465 LANGUAGE=C
   25466 export LANGUAGE
   25467 
   25468 # We cannot yet rely on "unset" to work, but we need these variables
   25469 # to be unset--not just set to an empty or harmless value--now, to
   25470 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   25471 # also avoids known problems related to "unset" and subshell syntax
   25472 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   25473 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   25474 do eval test \${$as_var+y} \
   25475   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   25476 done
   25477 
   25478 # Ensure that fds 0, 1, and 2 are open.
   25479 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   25480 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   25481 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   25482 
   25483 # The user is always right.
   25484 if ${PATH_SEPARATOR+false} :; then
   25485   PATH_SEPARATOR=:
   25486   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   25487     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   25488       PATH_SEPARATOR=';'
   25489   }
   25490 fi
   25491 
   25492 
   25493 # Find who we are.  Look in the path if we contain no directory separator.
   25494 as_myself=
   25495 case $0 in #((
   25496   *[\\/]* ) as_myself=$0 ;;
   25497   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   25498 for as_dir in $PATH
   25499 do
   25500   IFS=$as_save_IFS
   25501   case $as_dir in #(((
   25502     '') as_dir=./ ;;
   25503     */) ;;
   25504     *) as_dir=$as_dir/ ;;
   25505   esac
   25506     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   25507   done
   25508 IFS=$as_save_IFS
   25509 
   25510      ;;
   25511 esac
   25512 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   25513 # in which case we are not to be found in the path.
   25514 if test "x$as_myself" = x; then
   25515   as_myself=$0
   25516 fi
   25517 if test ! -f "$as_myself"; then
   25518   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   25519   exit 1
   25520 fi
   25521 
   25522 
   25523 
   25524 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   25525 # ----------------------------------------
   25526 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   25527 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   25528 # script with STATUS, using 1 if that was 0.
   25529 as_fn_error ()
   25530 {
   25531   as_status=$1; test $as_status -eq 0 && as_status=1
   25532   if test "$4"; then
   25533     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   25534     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   25535   fi
   25536   printf "%s\n" "$as_me: error: $2" >&2
   25537   as_fn_exit $as_status
   25538 } # as_fn_error
   25539 
   25540 
   25541 # as_fn_set_status STATUS
   25542 # -----------------------
   25543 # Set $? to STATUS, without forking.
   25544 as_fn_set_status ()
   25545 {
   25546   return $1
   25547 } # as_fn_set_status
   25548 
   25549 # as_fn_exit STATUS
   25550 # -----------------
   25551 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   25552 as_fn_exit ()
   25553 {
   25554   set +e
   25555   as_fn_set_status $1
   25556   exit $1
   25557 } # as_fn_exit
   25558 
   25559 # as_fn_unset VAR
   25560 # ---------------
   25561 # Portably unset VAR.
   25562 as_fn_unset ()
   25563 {
   25564   { eval $1=; unset $1;}
   25565 }
   25566 as_unset=as_fn_unset
   25567 
   25568 # as_fn_append VAR VALUE
   25569 # ----------------------
   25570 # Append the text in VALUE to the end of the definition contained in VAR. Take
   25571 # advantage of any shell optimizations that allow amortized linear growth over
   25572 # repeated appends, instead of the typical quadratic growth present in naive
   25573 # implementations.
   25574 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   25575 then :
   25576   eval 'as_fn_append ()
   25577   {
   25578     eval $1+=\$2
   25579   }'
   25580 else case e in #(
   25581   e) as_fn_append ()
   25582   {
   25583     eval $1=\$$1\$2
   25584   } ;;
   25585 esac
   25586 fi # as_fn_append
   25587 
   25588 # as_fn_arith ARG...
   25589 # ------------------
   25590 # Perform arithmetic evaluation on the ARGs, and store the result in the
   25591 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   25592 # must be portable across $(()) and expr.
   25593 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   25594 then :
   25595   eval 'as_fn_arith ()
   25596   {
   25597     as_val=$(( $* ))
   25598   }'
   25599 else case e in #(
   25600   e) as_fn_arith ()
   25601   {
   25602     as_val=`expr "$@" || test $? -eq 1`
   25603   } ;;
   25604 esac
   25605 fi # as_fn_arith
   25606 
   25607 
   25608 if expr a : '\(a\)' >/dev/null 2>&1 &&
   25609    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   25610   as_expr=expr
   25611 else
   25612   as_expr=false
   25613 fi
   25614 
   25615 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   25616   as_basename=basename
   25617 else
   25618   as_basename=false
   25619 fi
   25620 
   25621 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   25622   as_dirname=dirname
   25623 else
   25624   as_dirname=false
   25625 fi
   25626 
   25627 as_me=`$as_basename -- "$0" ||
   25628 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   25629 	 X"$0" : 'X\(//\)$' \| \
   25630 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   25631 printf "%s\n" X/"$0" |
   25632     sed '/^.*\/\([^/][^/]*\)\/*$/{
   25633 	    s//\1/
   25634 	    q
   25635 	  }
   25636 	  /^X\/\(\/\/\)$/{
   25637 	    s//\1/
   25638 	    q
   25639 	  }
   25640 	  /^X\/\(\/\).*/{
   25641 	    s//\1/
   25642 	    q
   25643 	  }
   25644 	  s/.*/./; q'`
   25645 
   25646 # Avoid depending upon Character Ranges.
   25647 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   25648 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   25649 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   25650 as_cr_digits='0123456789'
   25651 as_cr_alnum=$as_cr_Letters$as_cr_digits
   25652 
   25653 
   25654 # Determine whether it's possible to make 'echo' print without a newline.
   25655 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   25656 # for compatibility with existing Makefiles.
   25657 ECHO_C= ECHO_N= ECHO_T=
   25658 case `echo -n x` in #(((((
   25659 -n*)
   25660   case `echo 'xy\c'` in
   25661   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   25662   xy)  ECHO_C='\c';;
   25663   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   25664        ECHO_T='	';;
   25665   esac;;
   25666 *)
   25667   ECHO_N='-n';;
   25668 esac
   25669 
   25670 # For backward compatibility with old third-party macros, we provide
   25671 # the shell variables $as_echo and $as_echo_n.  New code should use
   25672 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   25673 as_echo='printf %s\n'
   25674 as_echo_n='printf %s'
   25675 
   25676 rm -f conf$$ conf$$.exe conf$$.file
   25677 if test -d conf$$.dir; then
   25678   rm -f conf$$.dir/conf$$.file
   25679 else
   25680   rm -f conf$$.dir
   25681   mkdir conf$$.dir 2>/dev/null
   25682 fi
   25683 if (echo >conf$$.file) 2>/dev/null; then
   25684   if ln -s conf$$.file conf$$ 2>/dev/null; then
   25685     as_ln_s='ln -s'
   25686     # ... but there are two gotchas:
   25687     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   25688     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   25689     # In both cases, we have to default to 'cp -pR'.
   25690     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   25691       as_ln_s='cp -pR'
   25692   elif ln conf$$.file conf$$ 2>/dev/null; then
   25693     as_ln_s=ln
   25694   else
   25695     as_ln_s='cp -pR'
   25696   fi
   25697 else
   25698   as_ln_s='cp -pR'
   25699 fi
   25700 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   25701 rmdir conf$$.dir 2>/dev/null
   25702 
   25703 
   25704 # as_fn_mkdir_p
   25705 # -------------
   25706 # Create "$as_dir" as a directory, including parents if necessary.
   25707 as_fn_mkdir_p ()
   25708 {
   25709 
   25710   case $as_dir in #(
   25711   -*) as_dir=./$as_dir;;
   25712   esac
   25713   test -d "$as_dir" || eval $as_mkdir_p || {
   25714     as_dirs=
   25715     while :; do
   25716       case $as_dir in #(
   25717       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   25718       *) as_qdir=$as_dir;;
   25719       esac
   25720       as_dirs="'$as_qdir' $as_dirs"
   25721       as_dir=`$as_dirname -- "$as_dir" ||
   25722 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25723 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   25724 	 X"$as_dir" : 'X\(//\)$' \| \
   25725 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   25726 printf "%s\n" X"$as_dir" |
   25727     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25728 	    s//\1/
   25729 	    q
   25730 	  }
   25731 	  /^X\(\/\/\)[^/].*/{
   25732 	    s//\1/
   25733 	    q
   25734 	  }
   25735 	  /^X\(\/\/\)$/{
   25736 	    s//\1/
   25737 	    q
   25738 	  }
   25739 	  /^X\(\/\).*/{
   25740 	    s//\1/
   25741 	    q
   25742 	  }
   25743 	  s/.*/./; q'`
   25744       test -d "$as_dir" && break
   25745     done
   25746     test -z "$as_dirs" || eval "mkdir $as_dirs"
   25747   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   25748 
   25749 
   25750 } # as_fn_mkdir_p
   25751 if mkdir -p . 2>/dev/null; then
   25752   as_mkdir_p='mkdir -p "$as_dir"'
   25753 else
   25754   test -d ./-p && rmdir ./-p
   25755   as_mkdir_p=false
   25756 fi
   25757 
   25758 
   25759 # as_fn_executable_p FILE
   25760 # -----------------------
   25761 # Test if FILE is an executable regular file.
   25762 as_fn_executable_p ()
   25763 {
   25764   test -f "$1" && test -x "$1"
   25765 } # as_fn_executable_p
   25766 as_test_x='test -x'
   25767 as_executable_p=as_fn_executable_p
   25768 
   25769 # Sed expression to map a string onto a valid CPP name.
   25770 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   25771 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   25772 
   25773 # Sed expression to map a string onto a valid variable name.
   25774 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   25775 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   25776 
   25777 
   25778 exec 6>&1
   25779 ## ----------------------------------- ##
   25780 ## Main body of $CONFIG_STATUS script. ##
   25781 ## ----------------------------------- ##
   25782 _ASEOF
   25783 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   25784 
   25785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25786 # Save the log message, to keep $0 and so on meaningful, and to
   25787 # report actual input values of CONFIG_FILES etc. instead of their
   25788 # values after options handling.
   25789 ac_log="
   25790 This file was extended by xdm $as_me 1.1.17, which was
   25791 generated by GNU Autoconf 2.72.  Invocation command line was
   25792 
   25793   CONFIG_FILES    = $CONFIG_FILES
   25794   CONFIG_HEADERS  = $CONFIG_HEADERS
   25795   CONFIG_LINKS    = $CONFIG_LINKS
   25796   CONFIG_COMMANDS = $CONFIG_COMMANDS
   25797   $ $0 $@
   25798 
   25799 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   25800 "
   25801 
   25802 _ACEOF
   25803 
   25804 case $ac_config_files in *"
   25805 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   25806 esac
   25807 
   25808 case $ac_config_headers in *"
   25809 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   25810 esac
   25811 
   25812 
   25813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25814 # Files that config.status was made for.
   25815 config_files="$ac_config_files"
   25816 config_headers="$ac_config_headers"
   25817 config_commands="$ac_config_commands"
   25818 
   25819 _ACEOF
   25820 
   25821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25822 ac_cs_usage="\
   25823 '$as_me' instantiates files and other configuration actions
   25824 from templates according to the current configuration.  Unless the files
   25825 and actions are specified as TAGs, all are instantiated by default.
   25826 
   25827 Usage: $0 [OPTION]... [TAG]...
   25828 
   25829   -h, --help       print this help, then exit
   25830   -V, --version    print version number and configuration settings, then exit
   25831       --config     print configuration, then exit
   25832   -q, --quiet, --silent
   25833                    do not print progress messages
   25834   -d, --debug      don't remove temporary files
   25835       --recheck    update $as_me by reconfiguring in the same conditions
   25836       --file=FILE[:TEMPLATE]
   25837                    instantiate the configuration file FILE
   25838       --header=FILE[:TEMPLATE]
   25839                    instantiate the configuration header FILE
   25840 
   25841 Configuration files:
   25842 $config_files
   25843 
   25844 Configuration headers:
   25845 $config_headers
   25846 
   25847 Configuration commands:
   25848 $config_commands
   25849 
   25850 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xdm/-/issues>."
   25851 
   25852 _ACEOF
   25853 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   25854 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   25855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25856 ac_cs_config='$ac_cs_config_escaped'
   25857 ac_cs_version="\\
   25858 xdm config.status 1.1.17
   25859 configured by $0, generated by GNU Autoconf 2.72,
   25860   with options \\"\$ac_cs_config\\"
   25861 
   25862 Copyright (C) 2023 Free Software Foundation, Inc.
   25863 This config.status script is free software; the Free Software Foundation
   25864 gives unlimited permission to copy, distribute and modify it."
   25865 
   25866 ac_pwd='$ac_pwd'
   25867 srcdir='$srcdir'
   25868 INSTALL='$INSTALL'
   25869 MKDIR_P='$MKDIR_P'
   25870 AWK='$AWK'
   25871 test -n "\$AWK" || AWK=awk
   25872 _ACEOF
   25873 
   25874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25875 # The default lists apply if the user does not specify any file.
   25876 ac_need_defaults=:
   25877 while test $# != 0
   25878 do
   25879   case $1 in
   25880   --*=?*)
   25881     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   25882     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   25883     ac_shift=:
   25884     ;;
   25885   --*=)
   25886     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   25887     ac_optarg=
   25888     ac_shift=:
   25889     ;;
   25890   *)
   25891     ac_option=$1
   25892     ac_optarg=$2
   25893     ac_shift=shift
   25894     ;;
   25895   esac
   25896 
   25897   case $ac_option in
   25898   # Handling of the options.
   25899   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   25900     ac_cs_recheck=: ;;
   25901   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   25902     printf "%s\n" "$ac_cs_version"; exit ;;
   25903   --config | --confi | --conf | --con | --co | --c )
   25904     printf "%s\n" "$ac_cs_config"; exit ;;
   25905   --debug | --debu | --deb | --de | --d | -d )
   25906     debug=: ;;
   25907   --file | --fil | --fi | --f )
   25908     $ac_shift
   25909     case $ac_optarg in
   25910     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25911     '') as_fn_error $? "missing file argument" ;;
   25912     esac
   25913     as_fn_append CONFIG_FILES " '$ac_optarg'"
   25914     ac_need_defaults=false;;
   25915   --header | --heade | --head | --hea )
   25916     $ac_shift
   25917     case $ac_optarg in
   25918     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25919     esac
   25920     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   25921     ac_need_defaults=false;;
   25922   --he | --h)
   25923     # Conflict between --help and --header
   25924     as_fn_error $? "ambiguous option: '$1'
   25925 Try '$0 --help' for more information.";;
   25926   --help | --hel | -h )
   25927     printf "%s\n" "$ac_cs_usage"; exit ;;
   25928   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   25929   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   25930     ac_cs_silent=: ;;
   25931 
   25932   # This is an error.
   25933   -*) as_fn_error $? "unrecognized option: '$1'
   25934 Try '$0 --help' for more information." ;;
   25935 
   25936   *) as_fn_append ac_config_targets " $1"
   25937      ac_need_defaults=false ;;
   25938 
   25939   esac
   25940   shift
   25941 done
   25942 
   25943 ac_configure_extra_args=
   25944 
   25945 if $ac_cs_silent; then
   25946   exec 6>/dev/null
   25947   ac_configure_extra_args="$ac_configure_extra_args --silent"
   25948 fi
   25949 
   25950 _ACEOF
   25951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25952 if \$ac_cs_recheck; then
   25953   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   25954   shift
   25955   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   25956   CONFIG_SHELL='$SHELL'
   25957   export CONFIG_SHELL
   25958   exec "\$@"
   25959 fi
   25960 
   25961 _ACEOF
   25962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25963 exec 5>>config.log
   25964 {
   25965   echo
   25966   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   25967 ## Running $as_me. ##
   25968 _ASBOX
   25969   printf "%s\n" "$ac_log"
   25970 } >&5
   25971 
   25972 _ACEOF
   25973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25974 #
   25975 # INIT-COMMANDS
   25976 #
   25977 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   25978 
   25979 
   25980 # The HP-UX ksh and POSIX shell print the target directory to stdout
   25981 # if CDPATH is set.
   25982 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   25983 
   25984 sed_quote_subst='$sed_quote_subst'
   25985 double_quote_subst='$double_quote_subst'
   25986 delay_variable_subst='$delay_variable_subst'
   25987 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   25988 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   25989 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   25990 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   25991 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   25992 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   25993 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   25994 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   25995 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   25996 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   25997 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   25998 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   25999 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   26000 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   26001 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   26002 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   26003 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   26004 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   26005 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   26006 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   26007 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   26008 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   26009 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   26010 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   26011 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   26012 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   26013 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   26014 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   26015 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   26016 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   26017 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   26018 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   26019 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   26020 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   26021 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   26022 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   26023 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   26024 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   26025 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   26026 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   26027 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   26028 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   26029 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   26030 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   26031 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   26032 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   26033 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   26034 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   26035 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   26036 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   26037 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   26038 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   26039 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   26040 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   26041 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   26042 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   26043 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   26044 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   26045 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   26046 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   26047 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"`'
   26048 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   26049 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   26050 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   26051 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   26052 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   26053 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   26054 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   26055 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   26056 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   26057 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   26058 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   26059 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   26060 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   26061 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   26062 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   26063 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   26064 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   26065 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   26066 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   26067 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   26068 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   26069 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   26070 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   26071 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   26072 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   26073 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   26074 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   26075 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   26076 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   26077 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   26078 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   26079 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   26080 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   26081 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   26082 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   26083 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   26084 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   26085 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   26086 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   26087 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   26088 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   26089 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   26090 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   26091 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   26092 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   26093 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   26094 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   26095 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   26096 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   26097 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   26098 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   26099 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   26100 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   26101 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   26102 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   26103 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   26104 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   26105 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   26106 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   26107 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   26108 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   26109 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   26110 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   26111 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   26112 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   26113 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   26114 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   26115 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   26116 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   26117 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   26118 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   26119 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   26120 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   26121 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   26122 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   26123 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   26124 
   26125 LTCC='$LTCC'
   26126 LTCFLAGS='$LTCFLAGS'
   26127 compiler='$compiler_DEFAULT'
   26128 
   26129 # A function that is used when there is no print builtin or printf.
   26130 func_fallback_echo ()
   26131 {
   26132   eval 'cat <<_LTECHO_EOF
   26133 \$1
   26134 _LTECHO_EOF'
   26135 }
   26136 
   26137 # Quote evaled strings.
   26138 for var in SHELL \
   26139 ECHO \
   26140 PATH_SEPARATOR \
   26141 SED \
   26142 GREP \
   26143 EGREP \
   26144 FGREP \
   26145 LD \
   26146 NM \
   26147 LN_S \
   26148 lt_SP2NL \
   26149 lt_NL2SP \
   26150 reload_flag \
   26151 FILECMD \
   26152 OBJDUMP \
   26153 deplibs_check_method \
   26154 file_magic_cmd \
   26155 file_magic_glob \
   26156 want_nocaseglob \
   26157 DLLTOOL \
   26158 sharedlib_from_linklib_cmd \
   26159 AR \
   26160 archiver_list_spec \
   26161 STRIP \
   26162 RANLIB \
   26163 CC \
   26164 CFLAGS \
   26165 compiler \
   26166 lt_cv_sys_global_symbol_pipe \
   26167 lt_cv_sys_global_symbol_to_cdecl \
   26168 lt_cv_sys_global_symbol_to_import \
   26169 lt_cv_sys_global_symbol_to_c_name_address \
   26170 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   26171 lt_cv_nm_interface \
   26172 nm_file_list_spec \
   26173 lt_cv_truncate_bin \
   26174 lt_prog_compiler_no_builtin_flag \
   26175 lt_prog_compiler_pic \
   26176 lt_prog_compiler_wl \
   26177 lt_prog_compiler_static \
   26178 lt_cv_prog_compiler_c_o \
   26179 need_locks \
   26180 MANIFEST_TOOL \
   26181 DSYMUTIL \
   26182 NMEDIT \
   26183 LIPO \
   26184 OTOOL \
   26185 OTOOL64 \
   26186 shrext_cmds \
   26187 export_dynamic_flag_spec \
   26188 whole_archive_flag_spec \
   26189 compiler_needs_object \
   26190 with_gnu_ld \
   26191 allow_undefined_flag \
   26192 no_undefined_flag \
   26193 hardcode_libdir_flag_spec \
   26194 hardcode_libdir_separator \
   26195 exclude_expsyms \
   26196 include_expsyms \
   26197 file_list_spec \
   26198 variables_saved_for_relink \
   26199 libname_spec \
   26200 library_names_spec \
   26201 soname_spec \
   26202 install_override_mode \
   26203 finish_eval \
   26204 old_striplib \
   26205 striplib; do
   26206     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   26207     *[\\\\\\\`\\"\\\$]*)
   26208       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   26209       ;;
   26210     *)
   26211       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   26212       ;;
   26213     esac
   26214 done
   26215 
   26216 # Double-quote double-evaled strings.
   26217 for var in reload_cmds \
   26218 old_postinstall_cmds \
   26219 old_postuninstall_cmds \
   26220 old_archive_cmds \
   26221 extract_expsyms_cmds \
   26222 old_archive_from_new_cmds \
   26223 old_archive_from_expsyms_cmds \
   26224 archive_cmds \
   26225 archive_expsym_cmds \
   26226 module_cmds \
   26227 module_expsym_cmds \
   26228 export_symbols_cmds \
   26229 prelink_cmds \
   26230 postlink_cmds \
   26231 postinstall_cmds \
   26232 postuninstall_cmds \
   26233 finish_cmds \
   26234 sys_lib_search_path_spec \
   26235 configure_time_dlsearch_path \
   26236 configure_time_lt_sys_library_path; do
   26237     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   26238     *[\\\\\\\`\\"\\\$]*)
   26239       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   26240       ;;
   26241     *)
   26242       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   26243       ;;
   26244     esac
   26245 done
   26246 
   26247 ac_aux_dir='$ac_aux_dir'
   26248 
   26249 # See if we are running on zsh, and set the options that allow our
   26250 # commands through without removal of \ escapes INIT.
   26251 if test -n "\${ZSH_VERSION+set}"; then
   26252    setopt NO_GLOB_SUBST
   26253 fi
   26254 
   26255 
   26256     PACKAGE='$PACKAGE'
   26257     VERSION='$VERSION'
   26258     RM='$RM'
   26259     ofile='$ofile'
   26260 
   26261 
   26262 
   26263 
   26264 _ACEOF
   26265 
   26266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26267 
   26268 # Handling of arguments.
   26269 for ac_config_target in $ac_config_targets
   26270 do
   26271   case $ac_config_target in
   26272     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   26273     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   26274     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   26275     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   26276     "app-defaults/Makefile") CONFIG_FILES="$CONFIG_FILES app-defaults/Makefile" ;;
   26277     "chooser/Makefile") CONFIG_FILES="$CONFIG_FILES chooser/Makefile" ;;
   26278     "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
   26279     "greeter/Makefile") CONFIG_FILES="$CONFIG_FILES greeter/Makefile" ;;
   26280     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   26281     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   26282     "xdm/Makefile") CONFIG_FILES="$CONFIG_FILES xdm/Makefile" ;;
   26283     "xdmshell/Makefile") CONFIG_FILES="$CONFIG_FILES xdmshell/Makefile" ;;
   26284 
   26285   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   26286   esac
   26287 done
   26288 
   26289 
   26290 # If the user did not use the arguments to specify the items to instantiate,
   26291 # then the envvar interface is used.  Set only those that are not.
   26292 # We use the long form for the default assignment because of an extremely
   26293 # bizarre bug on SunOS 4.1.3.
   26294 if $ac_need_defaults; then
   26295   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   26296   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   26297   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   26298 fi
   26299 
   26300 # Have a temporary directory for convenience.  Make it in the build tree
   26301 # simply because there is no reason against having it here, and in addition,
   26302 # creating and moving files from /tmp can sometimes cause problems.
   26303 # Hook for its removal unless debugging.
   26304 # Note that there is a small window in which the directory will not be cleaned:
   26305 # after its creation but before its name has been assigned to '$tmp'.
   26306 $debug ||
   26307 {
   26308   tmp= ac_tmp=
   26309   trap 'exit_status=$?
   26310   : "${ac_tmp:=$tmp}"
   26311   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   26312 ' 0
   26313   trap 'as_fn_exit 1' 1 2 13 15
   26314 }
   26315 # Create a (secure) tmp directory for tmp files.
   26316 
   26317 {
   26318   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   26319   test -d "$tmp"
   26320 }  ||
   26321 {
   26322   tmp=./conf$$-$RANDOM
   26323   (umask 077 && mkdir "$tmp")
   26324 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   26325 ac_tmp=$tmp
   26326 
   26327 # Set up the scripts for CONFIG_FILES section.
   26328 # No need to generate them if there are no CONFIG_FILES.
   26329 # This happens for instance with './config.status config.h'.
   26330 if test -n "$CONFIG_FILES"; then
   26331 
   26332 
   26333 ac_cr=`echo X | tr X '\015'`
   26334 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   26335 # But we know of no other shell where ac_cr would be empty at this
   26336 # point, so we can use a bashism as a fallback.
   26337 if test "x$ac_cr" = x; then
   26338   eval ac_cr=\$\'\\r\'
   26339 fi
   26340 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   26341 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   26342   ac_cs_awk_cr='\\r'
   26343 else
   26344   ac_cs_awk_cr=$ac_cr
   26345 fi
   26346 
   26347 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   26348 _ACEOF
   26349 
   26350 
   26351 {
   26352   echo "cat >conf$$subs.awk <<_ACEOF" &&
   26353   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   26354   echo "_ACEOF"
   26355 } >conf$$subs.sh ||
   26356   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   26357 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   26358 ac_delim='%!_!# '
   26359 for ac_last_try in false false false false false :; do
   26360   . ./conf$$subs.sh ||
   26361     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   26362 
   26363   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   26364   if test $ac_delim_n = $ac_delim_num; then
   26365     break
   26366   elif $ac_last_try; then
   26367     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   26368   else
   26369     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   26370   fi
   26371 done
   26372 rm -f conf$$subs.sh
   26373 
   26374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26375 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   26376 _ACEOF
   26377 sed -n '
   26378 h
   26379 s/^/S["/; s/!.*/"]=/
   26380 p
   26381 g
   26382 s/^[^!]*!//
   26383 :repl
   26384 t repl
   26385 s/'"$ac_delim"'$//
   26386 t delim
   26387 :nl
   26388 h
   26389 s/\(.\{148\}\)..*/\1/
   26390 t more1
   26391 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   26392 p
   26393 n
   26394 b repl
   26395 :more1
   26396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   26397 p
   26398 g
   26399 s/.\{148\}//
   26400 t nl
   26401 :delim
   26402 h
   26403 s/\(.\{148\}\)..*/\1/
   26404 t more2
   26405 s/["\\]/\\&/g; s/^/"/; s/$/"/
   26406 p
   26407 b
   26408 :more2
   26409 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   26410 p
   26411 g
   26412 s/.\{148\}//
   26413 t delim
   26414 ' <conf$$subs.awk | sed '
   26415 /^[^""]/{
   26416   N
   26417   s/\n//
   26418 }
   26419 ' >>$CONFIG_STATUS || ac_write_fail=1
   26420 rm -f conf$$subs.awk
   26421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26422 _ACAWK
   26423 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   26424   for (key in S) S_is_set[key] = 1
   26425   FS = ""
   26426 
   26427 }
   26428 {
   26429   line = $ 0
   26430   nfields = split(line, field, "@")
   26431   substed = 0
   26432   len = length(field[1])
   26433   for (i = 2; i < nfields; i++) {
   26434     key = field[i]
   26435     keylen = length(key)
   26436     if (S_is_set[key]) {
   26437       value = S[key]
   26438       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   26439       len += length(value) + length(field[++i])
   26440       substed = 1
   26441     } else
   26442       len += 1 + keylen
   26443   }
   26444 
   26445   print line
   26446 }
   26447 
   26448 _ACAWK
   26449 _ACEOF
   26450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26451 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   26452   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   26453 else
   26454   cat
   26455 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   26456   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   26457 _ACEOF
   26458 
   26459 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   26460 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   26461 # trailing colons and then remove the whole line if VPATH becomes empty
   26462 # (actually we leave an empty line to preserve line numbers).
   26463 if test "x$srcdir" = x.; then
   26464   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   26465 h
   26466 s///
   26467 s/^/:/
   26468 s/[	 ]*$/:/
   26469 s/:\$(srcdir):/:/g
   26470 s/:\${srcdir}:/:/g
   26471 s/:@srcdir@:/:/g
   26472 s/^:*//
   26473 s/:*$//
   26474 x
   26475 s/\(=[	 ]*\).*/\1/
   26476 G
   26477 s/\n//
   26478 s/^[^=]*=[	 ]*$//
   26479 }'
   26480 fi
   26481 
   26482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26483 fi # test -n "$CONFIG_FILES"
   26484 
   26485 # Set up the scripts for CONFIG_HEADERS section.
   26486 # No need to generate them if there are no CONFIG_HEADERS.
   26487 # This happens for instance with './config.status Makefile'.
   26488 if test -n "$CONFIG_HEADERS"; then
   26489 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   26490 BEGIN {
   26491 _ACEOF
   26492 
   26493 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   26494 # here-document in config.status, that substitutes the proper values into
   26495 # config.h.in to produce config.h.
   26496 
   26497 # Create a delimiter string that does not exist in confdefs.h, to ease
   26498 # handling of long lines.
   26499 ac_delim='%!_!# '
   26500 for ac_last_try in false false :; do
   26501   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   26502   if test -z "$ac_tt"; then
   26503     break
   26504   elif $ac_last_try; then
   26505     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   26506   else
   26507     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   26508   fi
   26509 done
   26510 
   26511 # For the awk script, D is an array of macro values keyed by name,
   26512 # likewise P contains macro parameters if any.  Preserve backslash
   26513 # newline sequences.
   26514 
   26515 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   26516 sed -n '
   26517 s/.\{148\}/&'"$ac_delim"'/g
   26518 t rset
   26519 :rset
   26520 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   26521 t def
   26522 d
   26523 :def
   26524 s/\\$//
   26525 t bsnl
   26526 s/["\\]/\\&/g
   26527 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   26528 D["\1"]=" \3"/p
   26529 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   26530 d
   26531 :bsnl
   26532 s/["\\]/\\&/g
   26533 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   26534 D["\1"]=" \3\\\\\\n"\\/p
   26535 t cont
   26536 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   26537 t cont
   26538 d
   26539 :cont
   26540 n
   26541 s/.\{148\}/&'"$ac_delim"'/g
   26542 t clear
   26543 :clear
   26544 s/\\$//
   26545 t bsnlc
   26546 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   26547 d
   26548 :bsnlc
   26549 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   26550 b cont
   26551 ' <confdefs.h | sed '
   26552 s/'"$ac_delim"'/"\\\
   26553 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   26554 
   26555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26556   for (key in D) D_is_set[key] = 1
   26557   FS = ""
   26558 }
   26559 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   26560   line = \$ 0
   26561   split(line, arg, " ")
   26562   if (arg[1] == "#") {
   26563     defundef = arg[2]
   26564     mac1 = arg[3]
   26565   } else {
   26566     defundef = substr(arg[1], 2)
   26567     mac1 = arg[2]
   26568   }
   26569   split(mac1, mac2, "(") #)
   26570   macro = mac2[1]
   26571   prefix = substr(line, 1, index(line, defundef) - 1)
   26572   if (D_is_set[macro]) {
   26573     # Preserve the white space surrounding the "#".
   26574     print prefix "define", macro P[macro] D[macro]
   26575     next
   26576   } else {
   26577     # Replace #undef with comments.  This is necessary, for example,
   26578     # in the case of _POSIX_SOURCE, which is predefined and required
   26579     # on some systems where configure will not decide to define it.
   26580     if (defundef == "undef") {
   26581       print "/*", prefix defundef, macro, "*/"
   26582       next
   26583     }
   26584   }
   26585 }
   26586 { print }
   26587 _ACAWK
   26588 _ACEOF
   26589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26590   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   26591 fi # test -n "$CONFIG_HEADERS"
   26592 
   26593 
   26594 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   26595 shift
   26596 for ac_tag
   26597 do
   26598   case $ac_tag in
   26599   :[FHLC]) ac_mode=$ac_tag; continue;;
   26600   esac
   26601   case $ac_mode$ac_tag in
   26602   :[FHL]*:*);;
   26603   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   26604   :[FH]-) ac_tag=-:-;;
   26605   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   26606   esac
   26607   ac_save_IFS=$IFS
   26608   IFS=:
   26609   set x $ac_tag
   26610   IFS=$ac_save_IFS
   26611   shift
   26612   ac_file=$1
   26613   shift
   26614 
   26615   case $ac_mode in
   26616   :L) ac_source=$1;;
   26617   :[FH])
   26618     ac_file_inputs=
   26619     for ac_f
   26620     do
   26621       case $ac_f in
   26622       -) ac_f="$ac_tmp/stdin";;
   26623       *) # Look for the file first in the build tree, then in the source tree
   26624 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   26625 	 # because $ac_f cannot contain ':'.
   26626 	 test -f "$ac_f" ||
   26627 	   case $ac_f in
   26628 	   [\\/$]*) false;;
   26629 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   26630 	   esac ||
   26631 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   26632       esac
   26633       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   26634       as_fn_append ac_file_inputs " '$ac_f'"
   26635     done
   26636 
   26637     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   26638     # use $as_me), people would be surprised to read:
   26639     #    /* config.h.  Generated by config.status.  */
   26640     configure_input='Generated from '`
   26641 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   26642 	`' by configure.'
   26643     if test x"$ac_file" != x-; then
   26644       configure_input="$ac_file.  $configure_input"
   26645       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   26646 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   26647     fi
   26648     # Neutralize special characters interpreted by sed in replacement strings.
   26649     case $configure_input in #(
   26650     *\&* | *\|* | *\\* )
   26651        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   26652        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   26653     *) ac_sed_conf_input=$configure_input;;
   26654     esac
   26655 
   26656     case $ac_tag in
   26657     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   26658       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   26659     esac
   26660     ;;
   26661   esac
   26662 
   26663   ac_dir=`$as_dirname -- "$ac_file" ||
   26664 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26665 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   26666 	 X"$ac_file" : 'X\(//\)$' \| \
   26667 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   26668 printf "%s\n" X"$ac_file" |
   26669     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26670 	    s//\1/
   26671 	    q
   26672 	  }
   26673 	  /^X\(\/\/\)[^/].*/{
   26674 	    s//\1/
   26675 	    q
   26676 	  }
   26677 	  /^X\(\/\/\)$/{
   26678 	    s//\1/
   26679 	    q
   26680 	  }
   26681 	  /^X\(\/\).*/{
   26682 	    s//\1/
   26683 	    q
   26684 	  }
   26685 	  s/.*/./; q'`
   26686   as_dir="$ac_dir"; as_fn_mkdir_p
   26687   ac_builddir=.
   26688 
   26689 case "$ac_dir" in
   26690 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   26691 *)
   26692   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   26693   # A ".." for each directory in $ac_dir_suffix.
   26694   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   26695   case $ac_top_builddir_sub in
   26696   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   26697   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   26698   esac ;;
   26699 esac
   26700 ac_abs_top_builddir=$ac_pwd
   26701 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   26702 # for backward compatibility:
   26703 ac_top_builddir=$ac_top_build_prefix
   26704 
   26705 case $srcdir in
   26706   .)  # We are building in place.
   26707     ac_srcdir=.
   26708     ac_top_srcdir=$ac_top_builddir_sub
   26709     ac_abs_top_srcdir=$ac_pwd ;;
   26710   [\\/]* | ?:[\\/]* )  # Absolute name.
   26711     ac_srcdir=$srcdir$ac_dir_suffix;
   26712     ac_top_srcdir=$srcdir
   26713     ac_abs_top_srcdir=$srcdir ;;
   26714   *) # Relative name.
   26715     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   26716     ac_top_srcdir=$ac_top_build_prefix$srcdir
   26717     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   26718 esac
   26719 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   26720 
   26721 
   26722   case $ac_mode in
   26723   :F)
   26724   #
   26725   # CONFIG_FILE
   26726   #
   26727 
   26728   case $INSTALL in
   26729   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   26730   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   26731   esac
   26732   ac_MKDIR_P=$MKDIR_P
   26733   case $MKDIR_P in
   26734   [\\/$]* | ?:[\\/]* ) ;;
   26735   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   26736   esac
   26737 _ACEOF
   26738 
   26739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26740 # If the template does not know about datarootdir, expand it.
   26741 # FIXME: This hack should be removed a few years after 2.60.
   26742 ac_datarootdir_hack=; ac_datarootdir_seen=
   26743 ac_sed_dataroot='
   26744 /datarootdir/ {
   26745   p
   26746   q
   26747 }
   26748 /@datadir@/p
   26749 /@docdir@/p
   26750 /@infodir@/p
   26751 /@localedir@/p
   26752 /@mandir@/p'
   26753 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   26754 *datarootdir*) ac_datarootdir_seen=yes;;
   26755 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   26756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   26757 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   26758 _ACEOF
   26759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26760   ac_datarootdir_hack='
   26761   s&@datadir@&$datadir&g
   26762   s&@docdir@&$docdir&g
   26763   s&@infodir@&$infodir&g
   26764   s&@localedir@&$localedir&g
   26765   s&@mandir@&$mandir&g
   26766   s&\\\${datarootdir}&$datarootdir&g' ;;
   26767 esac
   26768 _ACEOF
   26769 
   26770 # Neutralize VPATH when '$srcdir' = '.'.
   26771 # Shell code in configure.ac might set extrasub.
   26772 # FIXME: do we really want to maintain this feature?
   26773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26774 ac_sed_extra="$ac_vpsub
   26775 $extrasub
   26776 _ACEOF
   26777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26778 :t
   26779 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   26780 s|@configure_input@|$ac_sed_conf_input|;t t
   26781 s&@top_builddir@&$ac_top_builddir_sub&;t t
   26782 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   26783 s&@srcdir@&$ac_srcdir&;t t
   26784 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   26785 s&@top_srcdir@&$ac_top_srcdir&;t t
   26786 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   26787 s&@builddir@&$ac_builddir&;t t
   26788 s&@abs_builddir@&$ac_abs_builddir&;t t
   26789 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   26790 s&@INSTALL@&$ac_INSTALL&;t t
   26791 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   26792 $ac_datarootdir_hack
   26793 "
   26794 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   26795   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26796 
   26797 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   26798   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   26799   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   26800       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   26801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   26802 which seems to be undefined.  Please make sure it is defined" >&5
   26803 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   26804 which seems to be undefined.  Please make sure it is defined" >&2;}
   26805 
   26806   rm -f "$ac_tmp/stdin"
   26807   case $ac_file in
   26808   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   26809   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   26810   esac \
   26811   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26812  ;;
   26813   :H)
   26814   #
   26815   # CONFIG_HEADER
   26816   #
   26817   if test x"$ac_file" != x-; then
   26818     {
   26819       printf "%s\n" "/* $configure_input  */" >&1 \
   26820       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   26821     } >"$ac_tmp/config.h" \
   26822       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26823     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   26824       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   26825 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   26826     else
   26827       rm -f "$ac_file"
   26828       mv "$ac_tmp/config.h" "$ac_file" \
   26829 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26830     fi
   26831   else
   26832     printf "%s\n" "/* $configure_input  */" >&1 \
   26833       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   26834       || as_fn_error $? "could not create -" "$LINENO" 5
   26835   fi
   26836 # Compute "$ac_file"'s index in $config_headers.
   26837 _am_arg="$ac_file"
   26838 _am_stamp_count=1
   26839 for _am_header in $config_headers :; do
   26840   case $_am_header in
   26841     $_am_arg | $_am_arg:* )
   26842       break ;;
   26843     * )
   26844       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   26845   esac
   26846 done
   26847 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   26848 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26849 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   26850 	 X"$_am_arg" : 'X\(//\)$' \| \
   26851 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   26852 printf "%s\n" X"$_am_arg" |
   26853     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26854 	    s//\1/
   26855 	    q
   26856 	  }
   26857 	  /^X\(\/\/\)[^/].*/{
   26858 	    s//\1/
   26859 	    q
   26860 	  }
   26861 	  /^X\(\/\/\)$/{
   26862 	    s//\1/
   26863 	    q
   26864 	  }
   26865 	  /^X\(\/\).*/{
   26866 	    s//\1/
   26867 	    q
   26868 	  }
   26869 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   26870  ;;
   26871 
   26872   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   26873 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   26874  ;;
   26875   esac
   26876 
   26877 
   26878   case $ac_file$ac_mode in
   26879     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   26880   # Older Autoconf quotes --file arguments for eval, but not when files
   26881   # are listed without --file.  Let's play safe and only enable the eval
   26882   # if we detect the quoting.
   26883   # TODO: see whether this extra hack can be removed once we start
   26884   # requiring Autoconf 2.70 or later.
   26885   case $CONFIG_FILES in #(
   26886   *\'*) :
   26887     eval set x "$CONFIG_FILES" ;; #(
   26888   *) :
   26889     set x $CONFIG_FILES ;; #(
   26890   *) :
   26891      ;;
   26892 esac
   26893   shift
   26894   # Used to flag and report bootstrapping failures.
   26895   am_rc=0
   26896   for am_mf
   26897   do
   26898     # Strip MF so we end up with the name of the file.
   26899     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   26900     # Check whether this is an Automake generated Makefile which includes
   26901     # dependency-tracking related rules and includes.
   26902     # Grep'ing the whole file directly is not great: AIX grep has a line
   26903     # limit of 2048, but all sed's we know have understand at least 4000.
   26904     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   26905       || continue
   26906     am_dirpart=`$as_dirname -- "$am_mf" ||
   26907 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26908 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   26909 	 X"$am_mf" : 'X\(//\)$' \| \
   26910 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   26911 printf "%s\n" X"$am_mf" |
   26912     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26913 	    s//\1/
   26914 	    q
   26915 	  }
   26916 	  /^X\(\/\/\)[^/].*/{
   26917 	    s//\1/
   26918 	    q
   26919 	  }
   26920 	  /^X\(\/\/\)$/{
   26921 	    s//\1/
   26922 	    q
   26923 	  }
   26924 	  /^X\(\/\).*/{
   26925 	    s//\1/
   26926 	    q
   26927 	  }
   26928 	  s/.*/./; q'`
   26929     am_filepart=`$as_basename -- "$am_mf" ||
   26930 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   26931 	 X"$am_mf" : 'X\(//\)$' \| \
   26932 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   26933 printf "%s\n" X/"$am_mf" |
   26934     sed '/^.*\/\([^/][^/]*\)\/*$/{
   26935 	    s//\1/
   26936 	    q
   26937 	  }
   26938 	  /^X\/\(\/\/\)$/{
   26939 	    s//\1/
   26940 	    q
   26941 	  }
   26942 	  /^X\/\(\/\).*/{
   26943 	    s//\1/
   26944 	    q
   26945 	  }
   26946 	  s/.*/./; q'`
   26947     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   26948       && sed -e '/# am--include-marker/d' "$am_filepart" \
   26949         | $MAKE -f - am--depfiles" >&5
   26950    (cd "$am_dirpart" \
   26951       && sed -e '/# am--include-marker/d' "$am_filepart" \
   26952         | $MAKE -f - am--depfiles) >&5 2>&5
   26953    ac_status=$?
   26954    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   26955    (exit $ac_status); } || am_rc=$?
   26956   done
   26957   if test $am_rc -ne 0; then
   26958     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   26959 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   26960 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   26961     for automatic dependency tracking.  If GNU make was not used, consider
   26962     re-running the configure script with MAKE=\"gmake\" (or whatever is
   26963     necessary).  You can also try re-running configure with the
   26964     '--disable-dependency-tracking' option to at least be able to build
   26965     the package (albeit without support for automatic dependency tracking).
   26966 See 'config.log' for more details" "$LINENO" 5; }
   26967   fi
   26968   { am_dirpart=; unset am_dirpart;}
   26969   { am_filepart=; unset am_filepart;}
   26970   { am_mf=; unset am_mf;}
   26971   { am_rc=; unset am_rc;}
   26972   rm -f conftest-deps.mk
   26973 }
   26974  ;;
   26975     "libtool":C)
   26976 
   26977     # See if we are running on zsh, and set the options that allow our
   26978     # commands through without removal of \ escapes.
   26979     if test -n "${ZSH_VERSION+set}"; then
   26980       setopt NO_GLOB_SUBST
   26981     fi
   26982 
   26983     cfgfile=${ofile}T
   26984     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   26985     $RM "$cfgfile"
   26986 
   26987     cat <<_LT_EOF >> "$cfgfile"
   26988 #! $SHELL
   26989 # Generated automatically by $as_me ($PACKAGE) $VERSION
   26990 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   26991 
   26992 # Provide generalized library-building support services.
   26993 # Written by Gordon Matzigkeit, 1996
   26994 
   26995 # Copyright (C) 2024 Free Software Foundation, Inc.
   26996 # This is free software; see the source for copying conditions.  There is NO
   26997 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   26998 
   26999 # GNU Libtool is free software; you can redistribute it and/or modify
   27000 # it under the terms of the GNU General Public License as published by
   27001 # the Free Software Foundation; either version 2 of the License, or
   27002 # (at your option) any later version.
   27003 #
   27004 # As a special exception to the GNU General Public License, if you
   27005 # distribute this file as part of a program or library that is built
   27006 # using GNU Libtool, you may include this file under the  same
   27007 # distribution terms that you use for the rest of that program.
   27008 #
   27009 # GNU Libtool is distributed in the hope that it will be useful, but
   27010 # WITHOUT ANY WARRANTY; without even the implied warranty of
   27011 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   27012 # GNU General Public License for more details.
   27013 #
   27014 # You should have received a copy of the GNU General Public License
   27015 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   27016 
   27017 
   27018 # The names of the tagged configurations supported by this script.
   27019 available_tags=''
   27020 
   27021 # Configured defaults for sys_lib_dlsearch_path munging.
   27022 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   27023 
   27024 # ### BEGIN LIBTOOL CONFIG
   27025 
   27026 # Which release of libtool.m4 was used?
   27027 macro_version=$macro_version
   27028 macro_revision=$macro_revision
   27029 
   27030 # Whether or not to build static libraries.
   27031 build_old_libs=$enable_static
   27032 
   27033 # Whether or not to build shared libraries.
   27034 build_libtool_libs=$enable_shared
   27035 
   27036 # What type of objects to build.
   27037 pic_mode=$pic_mode
   27038 
   27039 # Whether or not to optimize for fast installation.
   27040 fast_install=$enable_fast_install
   27041 
   27042 # Shared archive member basename,for filename based shared library versioning on AIX.
   27043 shared_archive_member_spec=$shared_archive_member_spec
   27044 
   27045 # Shell to use when invoking shell scripts.
   27046 SHELL=$lt_SHELL
   27047 
   27048 # An echo program that protects backslashes.
   27049 ECHO=$lt_ECHO
   27050 
   27051 # The PATH separator for the build system.
   27052 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   27053 
   27054 # The host system.
   27055 host_alias=$host_alias
   27056 host=$host
   27057 host_os=$host_os
   27058 
   27059 # The build system.
   27060 build_alias=$build_alias
   27061 build=$build
   27062 build_os=$build_os
   27063 
   27064 # A sed program that does not truncate output.
   27065 SED=$lt_SED
   27066 
   27067 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   27068 Xsed="\$SED -e 1s/^X//"
   27069 
   27070 # A grep program that handles long lines.
   27071 GREP=$lt_GREP
   27072 
   27073 # An ERE matcher.
   27074 EGREP=$lt_EGREP
   27075 
   27076 # A literal string matcher.
   27077 FGREP=$lt_FGREP
   27078 
   27079 # A BSD- or MS-compatible name lister.
   27080 NM=$lt_NM
   27081 
   27082 # Whether we need soft or hard links.
   27083 LN_S=$lt_LN_S
   27084 
   27085 # What is the maximum length of a command?
   27086 max_cmd_len=$max_cmd_len
   27087 
   27088 # Object file suffix (normally "o").
   27089 objext=$ac_objext
   27090 
   27091 # Executable file suffix (normally "").
   27092 exeext=$exeext
   27093 
   27094 # whether the shell understands "unset".
   27095 lt_unset=$lt_unset
   27096 
   27097 # turn spaces into newlines.
   27098 SP2NL=$lt_lt_SP2NL
   27099 
   27100 # turn newlines into spaces.
   27101 NL2SP=$lt_lt_NL2SP
   27102 
   27103 # convert \$build file names to \$host format.
   27104 to_host_file_cmd=$lt_cv_to_host_file_cmd
   27105 
   27106 # convert \$build files to toolchain format.
   27107 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   27108 
   27109 # A file(cmd) program that detects file types.
   27110 FILECMD=$lt_FILECMD
   27111 
   27112 # An object symbol dumper.
   27113 OBJDUMP=$lt_OBJDUMP
   27114 
   27115 # Method to check whether dependent libraries are shared objects.
   27116 deplibs_check_method=$lt_deplibs_check_method
   27117 
   27118 # Command to use when deplibs_check_method = "file_magic".
   27119 file_magic_cmd=$lt_file_magic_cmd
   27120 
   27121 # How to find potential files when deplibs_check_method = "file_magic".
   27122 file_magic_glob=$lt_file_magic_glob
   27123 
   27124 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   27125 want_nocaseglob=$lt_want_nocaseglob
   27126 
   27127 # DLL creation program.
   27128 DLLTOOL=$lt_DLLTOOL
   27129 
   27130 # Command to associate shared and link libraries.
   27131 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   27132 
   27133 # The archiver.
   27134 AR=$lt_AR
   27135 
   27136 # Flags to create an archive (by configure).
   27137 lt_ar_flags=$lt_ar_flags
   27138 
   27139 # Flags to create an archive.
   27140 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   27141 
   27142 # How to feed a file listing to the archiver.
   27143 archiver_list_spec=$lt_archiver_list_spec
   27144 
   27145 # A symbol stripping program.
   27146 STRIP=$lt_STRIP
   27147 
   27148 # Commands used to install an old-style archive.
   27149 RANLIB=$lt_RANLIB
   27150 old_postinstall_cmds=$lt_old_postinstall_cmds
   27151 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   27152 
   27153 # Whether to use a lock for old archive extraction.
   27154 lock_old_archive_extraction=$lock_old_archive_extraction
   27155 
   27156 # A C compiler.
   27157 LTCC=$lt_CC
   27158 
   27159 # LTCC compiler flags.
   27160 LTCFLAGS=$lt_CFLAGS
   27161 
   27162 # Take the output of nm and produce a listing of raw symbols and C names.
   27163 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   27164 
   27165 # Transform the output of nm in a proper C declaration.
   27166 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   27167 
   27168 # Transform the output of nm into a list of symbols to manually relocate.
   27169 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   27170 
   27171 # Transform the output of nm in a C name address pair.
   27172 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   27173 
   27174 # Transform the output of nm in a C name address pair when lib prefix is needed.
   27175 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   27176 
   27177 # The name lister interface.
   27178 nm_interface=$lt_lt_cv_nm_interface
   27179 
   27180 # Specify filename containing input files for \$NM.
   27181 nm_file_list_spec=$lt_nm_file_list_spec
   27182 
   27183 # The root where to search for dependent libraries,and where our libraries should be installed.
   27184 lt_sysroot=$lt_sysroot
   27185 
   27186 # Command to truncate a binary pipe.
   27187 lt_truncate_bin=$lt_lt_cv_truncate_bin
   27188 
   27189 # The name of the directory that contains temporary libtool files.
   27190 objdir=$objdir
   27191 
   27192 # Used to examine libraries when file_magic_cmd begins with "file".
   27193 MAGIC_CMD=$MAGIC_CMD
   27194 
   27195 # Must we lock files when doing compilation?
   27196 need_locks=$lt_need_locks
   27197 
   27198 # Manifest tool.
   27199 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   27200 
   27201 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   27202 DSYMUTIL=$lt_DSYMUTIL
   27203 
   27204 # Tool to change global to local symbols on Mac OS X.
   27205 NMEDIT=$lt_NMEDIT
   27206 
   27207 # Tool to manipulate fat objects and archives on Mac OS X.
   27208 LIPO=$lt_LIPO
   27209 
   27210 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   27211 OTOOL=$lt_OTOOL
   27212 
   27213 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   27214 OTOOL64=$lt_OTOOL64
   27215 
   27216 # Old archive suffix (normally "a").
   27217 libext=$libext
   27218 
   27219 # Shared library suffix (normally ".so").
   27220 shrext_cmds=$lt_shrext_cmds
   27221 
   27222 # The commands to extract the exported symbol list from a shared archive.
   27223 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   27224 
   27225 # Variables whose values should be saved in libtool wrapper scripts and
   27226 # restored at link time.
   27227 variables_saved_for_relink=$lt_variables_saved_for_relink
   27228 
   27229 # Do we need the "lib" prefix for modules?
   27230 need_lib_prefix=$need_lib_prefix
   27231 
   27232 # Do we need a version for libraries?
   27233 need_version=$need_version
   27234 
   27235 # Library versioning type.
   27236 version_type=$version_type
   27237 
   27238 # Shared library runtime path variable.
   27239 runpath_var=$runpath_var
   27240 
   27241 # Shared library path variable.
   27242 shlibpath_var=$shlibpath_var
   27243 
   27244 # Is shlibpath searched before the hard-coded library search path?
   27245 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   27246 
   27247 # Format of library name prefix.
   27248 libname_spec=$lt_libname_spec
   27249 
   27250 # List of archive names.  First name is the real one, the rest are links.
   27251 # The last name is the one that the linker finds with -lNAME
   27252 library_names_spec=$lt_library_names_spec
   27253 
   27254 # The coded name of the library, if different from the real name.
   27255 soname_spec=$lt_soname_spec
   27256 
   27257 # Permission mode override for installation of shared libraries.
   27258 install_override_mode=$lt_install_override_mode
   27259 
   27260 # Command to use after installation of a shared archive.
   27261 postinstall_cmds=$lt_postinstall_cmds
   27262 
   27263 # Command to use after uninstallation of a shared archive.
   27264 postuninstall_cmds=$lt_postuninstall_cmds
   27265 
   27266 # Commands used to finish a libtool library installation in a directory.
   27267 finish_cmds=$lt_finish_cmds
   27268 
   27269 # As "finish_cmds", except a single script fragment to be evaled but
   27270 # not shown.
   27271 finish_eval=$lt_finish_eval
   27272 
   27273 # Whether we should hardcode library paths into libraries.
   27274 hardcode_into_libs=$hardcode_into_libs
   27275 
   27276 # Compile-time system search path for libraries.
   27277 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   27278 
   27279 # Detected run-time system search path for libraries.
   27280 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   27281 
   27282 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   27283 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   27284 
   27285 # Whether dlopen is supported.
   27286 dlopen_support=$enable_dlopen
   27287 
   27288 # Whether dlopen of programs is supported.
   27289 dlopen_self=$enable_dlopen_self
   27290 
   27291 # Whether dlopen of statically linked programs is supported.
   27292 dlopen_self_static=$enable_dlopen_self_static
   27293 
   27294 # Commands to strip libraries.
   27295 old_striplib=$lt_old_striplib
   27296 striplib=$lt_striplib
   27297 
   27298 
   27299 # The linker used to build libraries.
   27300 LD=$lt_LD
   27301 
   27302 # How to create reloadable object files.
   27303 reload_flag=$lt_reload_flag
   27304 reload_cmds=$lt_reload_cmds
   27305 
   27306 # Commands used to build an old-style archive.
   27307 old_archive_cmds=$lt_old_archive_cmds
   27308 
   27309 # A language specific compiler.
   27310 CC=$lt_compiler
   27311 
   27312 # Is the compiler the GNU compiler?
   27313 with_gcc=$GCC
   27314 
   27315 # Compiler flag to turn off builtin functions.
   27316 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   27317 
   27318 # Additional compiler flags for building library objects.
   27319 pic_flag=$lt_lt_prog_compiler_pic
   27320 
   27321 # How to pass a linker flag through the compiler.
   27322 wl=$lt_lt_prog_compiler_wl
   27323 
   27324 # Compiler flag to prevent dynamic linking.
   27325 link_static_flag=$lt_lt_prog_compiler_static
   27326 
   27327 # Does compiler simultaneously support -c and -o options?
   27328 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   27329 
   27330 # Whether or not to add -lc for building shared libraries.
   27331 build_libtool_need_lc=$archive_cmds_need_lc
   27332 
   27333 # Whether or not to disallow shared libs when runtime libs are static.
   27334 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   27335 
   27336 # Compiler flag to allow reflexive dlopens.
   27337 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   27338 
   27339 # Compiler flag to generate shared objects directly from archives.
   27340 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   27341 
   27342 # Whether the compiler copes with passing no objects directly.
   27343 compiler_needs_object=$lt_compiler_needs_object
   27344 
   27345 # Create an old-style archive from a shared archive.
   27346 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   27347 
   27348 # Create a temporary old-style archive to link instead of a shared archive.
   27349 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   27350 
   27351 # Commands used to build a shared archive.
   27352 archive_cmds=$lt_archive_cmds
   27353 archive_expsym_cmds=$lt_archive_expsym_cmds
   27354 
   27355 # Commands used to build a loadable module if different from building
   27356 # a shared archive.
   27357 module_cmds=$lt_module_cmds
   27358 module_expsym_cmds=$lt_module_expsym_cmds
   27359 
   27360 # Whether we are building with GNU ld or not.
   27361 with_gnu_ld=$lt_with_gnu_ld
   27362 
   27363 # Flag that allows shared libraries with undefined symbols to be built.
   27364 allow_undefined_flag=$lt_allow_undefined_flag
   27365 
   27366 # Flag that enforces no undefined symbols.
   27367 no_undefined_flag=$lt_no_undefined_flag
   27368 
   27369 # Flag to hardcode \$libdir into a binary during linking.
   27370 # This must work even if \$libdir does not exist
   27371 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   27372 
   27373 # Whether we need a single "-rpath" flag with a separated argument.
   27374 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   27375 
   27376 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   27377 # DIR into the resulting binary.
   27378 hardcode_direct=$hardcode_direct
   27379 
   27380 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   27381 # DIR into the resulting binary and the resulting library dependency is
   27382 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   27383 # library is relocated.
   27384 hardcode_direct_absolute=$hardcode_direct_absolute
   27385 
   27386 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   27387 # into the resulting binary.
   27388 hardcode_minus_L=$hardcode_minus_L
   27389 
   27390 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   27391 # into the resulting binary.
   27392 hardcode_shlibpath_var=$hardcode_shlibpath_var
   27393 
   27394 # Set to "yes" if building a shared library automatically hardcodes DIR
   27395 # into the library and all subsequent libraries and executables linked
   27396 # against it.
   27397 hardcode_automatic=$hardcode_automatic
   27398 
   27399 # Set to yes if linker adds runtime paths of dependent libraries
   27400 # to runtime path list.
   27401 inherit_rpath=$inherit_rpath
   27402 
   27403 # Whether libtool must link a program against all its dependency libraries.
   27404 link_all_deplibs=$link_all_deplibs
   27405 
   27406 # Set to "yes" if exported symbols are required.
   27407 always_export_symbols=$always_export_symbols
   27408 
   27409 # The commands to list exported symbols.
   27410 export_symbols_cmds=$lt_export_symbols_cmds
   27411 
   27412 # Symbols that should not be listed in the preloaded symbols.
   27413 exclude_expsyms=$lt_exclude_expsyms
   27414 
   27415 # Symbols that must always be exported.
   27416 include_expsyms=$lt_include_expsyms
   27417 
   27418 # Commands necessary for linking programs (against libraries) with templates.
   27419 prelink_cmds=$lt_prelink_cmds
   27420 
   27421 # Commands necessary for finishing linking programs.
   27422 postlink_cmds=$lt_postlink_cmds
   27423 
   27424 # Specify filename containing input files.
   27425 file_list_spec=$lt_file_list_spec
   27426 
   27427 # How to hardcode a shared library path into an executable.
   27428 hardcode_action=$hardcode_action
   27429 
   27430 # ### END LIBTOOL CONFIG
   27431 
   27432 _LT_EOF
   27433 
   27434     cat <<'_LT_EOF' >> "$cfgfile"
   27435 
   27436 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   27437 
   27438 # func_munge_path_list VARIABLE PATH
   27439 # -----------------------------------
   27440 # VARIABLE is name of variable containing _space_ separated list of
   27441 # directories to be munged by the contents of PATH, which is string
   27442 # having a format:
   27443 # "DIR[:DIR]:"
   27444 #       string "DIR[ DIR]" will be prepended to VARIABLE
   27445 # ":DIR[:DIR]"
   27446 #       string "DIR[ DIR]" will be appended to VARIABLE
   27447 # "DIRP[:DIRP]::[DIRA:]DIRA"
   27448 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   27449 #       "DIRA[ DIRA]" will be appended to VARIABLE
   27450 # "DIR[:DIR]"
   27451 #       VARIABLE will be replaced by "DIR[ DIR]"
   27452 func_munge_path_list ()
   27453 {
   27454     case x$2 in
   27455     x)
   27456         ;;
   27457     *:)
   27458         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   27459         ;;
   27460     x:*)
   27461         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   27462         ;;
   27463     *::*)
   27464         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   27465         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   27466         ;;
   27467     *)
   27468         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   27469         ;;
   27470     esac
   27471 }
   27472 
   27473 
   27474 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   27475 func_cc_basename ()
   27476 {
   27477     for cc_temp in $*""; do
   27478       case $cc_temp in
   27479         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   27480         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   27481         \-*) ;;
   27482         *) break;;
   27483       esac
   27484     done
   27485     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   27486 }
   27487 
   27488 
   27489 # ### END FUNCTIONS SHARED WITH CONFIGURE
   27490 
   27491 _LT_EOF
   27492 
   27493   case $host_os in
   27494   aix3*)
   27495     cat <<\_LT_EOF >> "$cfgfile"
   27496 # AIX sometimes has problems with the GCC collect2 program.  For some
   27497 # reason, if we set the COLLECT_NAMES environment variable, the problems
   27498 # vanish in a puff of smoke.
   27499 if test set != "${COLLECT_NAMES+set}"; then
   27500   COLLECT_NAMES=
   27501   export COLLECT_NAMES
   27502 fi
   27503 _LT_EOF
   27504     ;;
   27505   esac
   27506 
   27507 
   27508 
   27509 ltmain=$ac_aux_dir/ltmain.sh
   27510 
   27511 
   27512   # We use sed instead of cat because bash on DJGPP gets confused if
   27513   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   27514   # text mode, it properly converts lines to CR/LF.  This bash problem
   27515   # is reportedly fixed, but why not run on old versions too?
   27516   $SED '$q' "$ltmain" >> "$cfgfile" \
   27517      || (rm -f "$cfgfile"; exit 1)
   27518 
   27519    mv -f "$cfgfile" "$ofile" ||
   27520     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   27521   chmod +x "$ofile"
   27522 
   27523  ;;
   27524 
   27525   esac
   27526 done # for ac_tag
   27527 
   27528 
   27529 as_fn_exit 0
   27530 _ACEOF
   27531 ac_clean_files=$ac_clean_files_save
   27532 
   27533 test $ac_write_fail = 0 ||
   27534   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   27535 
   27536 
   27537 # configure is writing to config.log, and then calls config.status.
   27538 # config.status does its own redirection, appending to config.log.
   27539 # Unfortunately, on DOS this fails, as config.log is still kept open
   27540 # by configure, so config.status won't be able to write to it; its
   27541 # output is simply discarded.  So we exec the FD to /dev/null,
   27542 # effectively closing config.log, so it can be properly (re)opened and
   27543 # appended to by config.status.  When coming back to configure, we
   27544 # need to make the FD available again.
   27545 if test "$no_create" != yes; then
   27546   ac_cs_success=:
   27547   ac_config_status_args=
   27548   test "$silent" = yes &&
   27549     ac_config_status_args="$ac_config_status_args --quiet"
   27550   exec 5>/dev/null
   27551   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   27552   exec 5>>config.log
   27553   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   27554   # would make configure fail if this is the last instruction.
   27555   $ac_cs_success || as_fn_exit 1
   27556 fi
   27557 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   27558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   27559 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   27560 fi
   27561 
   27562 
   27563